I need to parse C/C++ source files and I don't want to do it neither by hand nor by using a parser creator (e.g. bison). Call me lazy but I have other things to work on.\nDoes anyone knows of a library to link my application to or a command line tool that I can use for this purpose?
209653
Obviously, the g++ front end is available, but that\ndoesn't strike me as being particularly easy to integrate\ninto another application.\n\nAt reference #1 (below), there's an extension called\nGCC-XML which parses C++ and produces parse trees in XML\nformat (which would be *much* easier for your application\nto process).  Maybe that's a closer fit.
603863
My favroite site is www.cplusplus.com\n\nPractice is far more important than reading books. Its important to be trying every bit of code you see until you understand it in and out. Books are good when you need a reference and some theory. \n\nAs for software, for an absolute beginer I really recomend Microsoft's Visual C++ because it makes it easy to do lots of trial and error which is really important part of early stages of learning to program. It also has a good detailed reference.\n\nFree version available here: http://msdn.microsoft.com/vstudio/express/visualc/\n\nKeep in mind though there are other compilers and not all are compatable with ANSI Standard C++.  g++ is very popular compiler on LINUX. Borland and Devshed are others for windows. But I have yet to see the user friendliness of Visual Studio in any other software for C++.
195640
If you're looking for an IDE, try KDevelop http://www.kdevelop.org\n\nFor info on GNU Compiler Collection, check http://gcc.gnu.org
412678
cplusplus.com for C++ programming stuff
173077
See the reference below.  The documentation has some examples. \nFailing that MySQL has a C API which you could use from C++.
493094
Try Bloodshed Software's version of C/C++ instead.  It's free just like Turbo C from Borland.\n\nhttp://www.bloodshed.net/devcpp.html
572390
http://community.borland.com/article/0,1410,21751,00.html\nPlease click the above link. It may be helpful to u.
181654
I may not have written many programs in Java, but that sure as hell doesn't look like Java to me.\n\nEdit: It's actually C as you can see from the includes:\n#include<stdio.h>\n#include<conio.h>\n#include<math.h>\n#include<stdlib.h>\n\nC++ doesn't use <something.h> it just uses plain <something>.
556444
The almighty C++ and many more languages have free compilers, articles and links to other good things at the URL below.  Enjoy.
479926
I'm a computer science major at the university of louisiana at lafayette.  Our computer lab that we write our programming assignments all have linux enviornments.  Our introductory level course is taught in C++.\n\nThere are two main compilers that we use.  one is the GNU compiler (g++).  I'll reference the link for the website.\n\n;-)
603068
void main()\n{\ncout<<"no"<<"/t"<<"id.no"<<"/t"<<"name"<<"/t"<<"sex"<<"/t"<<"department";\ncout<<"1 001/98 sarafcomputerscience&#92;n";\ncout<<"your information";\ncout<<"your information";\ncout<<"your information";\ncout<<"your information";\n\n}\nif u want to get input at runtime try to input thr cin>> statement and get that output by cout statement
553275
Here you go\nhttp://www.thefreecountry.com/compilers/cpp.shtml\n///
540079
try this stuff... pls understand the logic...\n\n#include<stdio.h>\n\nint main()\n{\nint no,rem;\nscanf("%d",&no);\nwhile (no)\n{\nrem = no % 10;\nprintf("%d",rem);\nno = no / 10;\n}\n}
388922
they are now giving the compiler away for free :-)\n\nenjoy
14715
Did you want to just look at the header file itself?  If so, their location is dependent on the the operating system and the compiling system that you are working with.\n\nLike with GCC on a *nix system, you can usually find them here.\n\n/usr/local/include\n/usr/lib/gcc-lib/target/version/include\n/usr/target/include\n/usr/include
21626
You need some compiler to convert your text to program (exe). Boreland, or Microsoft VC++ or if u use linux u can use gcc.\n\nLinux\n------\n1.Type pgm and save as a.c\n2. from shell $gcc a.c\n3. this will compile & create a.out\n4. ./a.out will show u the result.\n\nWindows\n---------\nUse any IDE that is best.\n\nRefer "Balagurusamy" books he added topic how to compile the pgm in multiple IDE as an appendix
210262
Do a search for 'C language tutorials' works for me. However if you have a choice go on to C++ even better