On a Linux machine, I was compiling programs and mistakenly tried to use CC. It was a C program so I didn't think it would be a huge deal until the compiler didn't understand the "new" operator. So, I quickly wrote a C++ program (thinking it is a stupid C program issue) and I sent that through GCC... and got the same problem with the new operator. Finally, I sent a C program (and C++ program) though G++ and I had no problems...
(frustrating evening...)
So, what is the differences between GCC, CC, and G++? When should you use each variation? Can you tell me any more about them?
(frustrating evening...)
So, what is the differences between GCC, CC, and G++? When should you use each variation? Can you tell me any more about them?