Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
What standards document(s) specify the behavior of the C and/or C++ pre-processors?
Wikipedia suggests http://www.open-std.org/JTC1/SC22/WG14/www/standards is valid for C99. Is it? What about C++ flavours?
The C language standard (ISO/IEC 9899) specifies how the preprocessor behaves in C.
The C++ standard (ISO/IEC 14882) specifies how the preprocessor behaves in C++.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 months ago.
Improve this question
I have a simple C++ file, but I do not want to use the C++ standard library, just the C one.
Can this be done using CMake? Basically disabling access to the c++ headers, and only allowing linking to the C standard.
You can use target_compile_options(yourprog PRIVATE -nostdinc++) for clang and GCC based toolchains and /X with the path to its STL headers with msvc
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Do the conventions in a programming language such as in C++ (such as extraction operator >> ) can be changed by a developer? Or is it restricted?
You're asking two questions here.
Who makes the C++ Standard?
The C++ Standards Committee
Can I change the behavior of an operator such as operator>>?
Yes, you can, via a capability defined in the standard. See:
http://en.cppreference.com/w/cpp/language/operators
What are the basic rules and idioms for operator overloading?
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I just want to know who is the owner of C and C++ like Oracle is the owner of Java and they release new versions of Java. So who can provide updates for C and C++.
C++ and C are designed by (different) ISO committee. The languages are public, with only the official specification being copyright protected and the property of ISO. Anybody can implement the language, however.
In fact two of the popular implementations, Clang and GCC, are open source and free software respectively.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I remember a while ago I heard that there were thoughts of including a BigInteger implementation in the c++0x standard(as it was called back then). Apparently this did not happen but I was wondering if this is planned as part of c++1y or not.
The unbounded integer library is being worked on in SG6, the Numerics study group. It will probably go into a Technical Specification (TS, what used to be called a TR) once we sort out a few things about its interface and about interoperability of library numeric types.
The latest official paper on the subject is N3542. It is not slated for inclusion in C++14.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Can C or C++ be used to program a library in python? I know that python can be used to write a library but I am wondering if C or C++ can be used.
Definitely. There are lots of high performance libraries written in C (simplejson being a notable and fairly simple example.)
See http://wiki.python.org/moin/IntegratingPythonWithOtherLanguages