Monday, May 24, 2010

I am new to c,c++ program?

i type c++ program my seeing my text book and i used to save it, when i go to the folder it is in the form of text how do i convert it into program

I am new to c,c++ program?
You need some compiler to convert your text to program (exe). Boreland, or Microsoft VC++ or if u use linux u can use gcc.





Linux


------


1.Type pgm and save as a.c


2. from shell $gcc a.c


3. this will compile %26amp; create a.out


4. ./a.out will show u the result.





Windows


---------


Use any IDE that is best.





Refer "Balagurusamy" books he added topic how to compile the pgm in multiple IDE as an appendix
Reply:You have to compile it using a C++ compiler.

sympathy flowers

No comments:

Post a Comment