g++
how to make g++ count errors on compilation
I am use to using VC++ and like the feature when you compile the program it tells you how many warnings and errors there are so at a quick glance you can tell if you made a positive change.[详细]
2023-04-03 04:39 分类:问答Does linking switch order matters?
I tried to put up an example using c++ for accessing Cassandra, and so Using Thrift. Copying the example, I had this strange situation:[详细]
2023-04-03 01:45 分类:问答Linking C++ to C in GCC
I have one function extern \"C\" int ping(void) in a C++ \"static-library\" project. Now, I would like to write a simple Hello-World C program that will call this function int x = ping();.[详细]
2023-04-02 17:18 分类:问答USB GCC Development Environment with Libraries
I\'m trying to get something of an environment on a usb stick to develop C++ code in. I plan to use other computers, most of the time linux, to work on this from a comma开发者_StackOverflownd line usi[详细]
2023-04-02 17:03 分类:问答C++ wait problem
I have a code like this if (pid > 0) { // Child } else { // Parent } while (wait() > 0) {} And there are includes[详细]
2023-04-02 16:27 分类:问答Optimizing the number of constructor calls
At work we have a class with an expensive constructor so we would like it to be called as few times as possible. We looked through the uses of it and tried to make the code more RVO friendly so to say[详细]
2023-04-02 14:03 分类:问答Linking FORTRAN and C++ objects files
I am going to call a C++ function from FORTRAN, for which I am using ISO_C_Binding module. After compaction of the FORTRAN main file and C++ function with commands[详细]
2023-04-02 03:44 分类:问答Cannot find -lc and -lm in g++ linux
I am using Ubuntu and gcc and g++ were working fine but today it showed: cannot find -lm cannot find -lc[详细]
2023-04-01 19:57 分类:问答Mingw32 std::isnan with -ffast-math
I am compiling the following code with the -ffast-math option: #include <limits> #include <开发者_如何学Gocmath>[详细]
2023-04-01 19:49 分类:问答char* str="..." vs char str[]="..." strange behaviour [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Program crashes when trying to set a character of a char array[详细]
2023-04-01 15:21 分类:问答