Sunday, July 26, 2009

Begin to learn C?

I brought a "C How to program" 5 ed and installed Visual C++ express edition?


But when i try to type "simple program" and ran it


there is no display as the book told me but a box"Executable For Debug Session" with 2 blanks ("Executable file name")and ("URL.......(ATL server only)?





So please tell me what should i do now?


Thanks

Begin to learn C?
Hey!! as far as C is concern it is DOS based and any visual editor for that fact is windows based. So there may be some options to see the output in the "view" menu or you will find the option of "output window" in the menu.





First of all the program should be compiled and then executed or run to have an output.
Reply:once you write a program you need to compile it (which means to turn it into a language(binary code) your computer can understand)





a compiler turns your C (source code) in to an .exe file





you have to learn how to use the compiler you have,(its easy just look for a "compile" button, or a "compile and run button" [in the menus next to file, edit etc] if you dont have a compiler you can download one from http://www.bloodshed.net/compilers/index... for free
Reply:you should download some easy programs to begin
Reply:try the c tutorial in howstuffworks.com...


No comments:

Post a Comment