GCC/G++ Quick Question
OK after all day(bored college student) of trying to figure out why my hey buddy program wouldnt compile with gcc, it compiled and executed when i called g++!!
Can anyone tell me why it did that?
I also made sure that the program had the C extension and was written in the C language!
Thanks a bunch in advance
G++ is the GNUC++ Compiler. All C code should compile using a C++ compiler. If gcc does not exist on the machine you're using, then that means you do not have it installed. Go out and install the MINGW C Compiler and add the bin folder to your System path. That should do it!
Welcome to the WiBit.net forums! Check out our terms and features:
Annoy your friends
Is this something you think someone else would enjoy? Is it not for you, but do you know someone who is down with this type of content? Well share away:
This blog is a reminder that cheating in software development can get you into big trouble. Sometimes developers get really really lazy, OR are pressured to write something using overly simplified data structures. Almost every time this happens you are bitten in the butt! Sometimes the problems show up immediately and other times it may take months or years (especially in integrated systems).
- 1 of 78