c++ - Starting Out
- Barry (5/5) Oct 07 2003 hi,i have just downladed the c and c++ compiler v8.36. can anyone tell m...
- Arjan Knepper (28/34) Oct 08 2003 1.) Do you know what a command prompt is? (A.K.A dos box)
- Peter Vogel (4/38) Oct 09 2003 It is much easier to use idde, which includes editor etc.
hi,i have just downladed the c and c++ compiler v8.36. can anyone tell me how i start to write m code?i have just started coding in college and i am doing C.how do i get up the dialogue box where i type in the C code??or can i do it like that at all,do i have to do it a different wa?any help here would be greatly appreciated.....
Oct 07 2003
Barry wrote:hi,i have just downladed the c and c++ compiler v8.36. can anyone tell me how i start to write m code?i have just started coding in college and i am doing C.how do i get up the dialogue box where i type in the C code??or can i do it like that at all,do i have to do it a different wa?any help here would be greatly appreciated.....1.) Do you know what a command prompt is? (A.K.A dos box) 2.) Do you know how to run commands and programs from a command prompt? 3.) Do you know what "evironment settings" are and how to add/remove/modify them? 4.) Do you know what files are? (general speaking) 5.) Do you know what a file/text editor is? 6.) Do you know what file extensions are and what they are used for? All yes? 1.) Start the command prompt 2.) Locate the compiler install directory 3.) Add the <compiler install dir>\bin to the front of the path enviroment setting 4.) Change directory to some working directory were you will create your source files 5.) Open an text/file editor 6.) Type your program code 7.) Save the file with the appropriate extension (importand) 8.) run the compiler (dmc.exe) with the appropriate switches for the source file(s) (for win32 single source file applications dmc.exe <source-file> will do) 9.) (eventually) run the compiler with the appropriate switches for the object files (in case of multiple source files) 10.) No errors ? run you program : look up the error change code goto 7 Also use the manuals and faq's on the digitalmars site, use google and search for tutorials on using command promtps and commandline compilers. Good Luck Arjan
Oct 08 2003
In article <bm0d91$2u86$1 digitaldaemon.com>, Arjan Knepper says...Barry wrote:It is much easier to use idde, which includes editor etc. But for this you have to buy the CD. Peterhi,i have just downladed the c and c++ compiler v8.36. can anyone tell me how i start to write m code?i have just started coding in college and i am doing C.how do i get up the dialogue box where i type in the C code??or can i do it like that at all,do i have to do it a different wa?any help here would be greatly appreciated.....1.) Do you know what a command prompt is? (A.K.A dos box) 2.) Do you know how to run commands and programs from a command prompt? 3.) Do you know what "evironment settings" are and how to add/remove/modify them? 4.) Do you know what files are? (general speaking) 5.) Do you know what a file/text editor is? 6.) Do you know what file extensions are and what they are used for? All yes? 1.) Start the command prompt 2.) Locate the compiler install directory 3.) Add the <compiler install dir>\bin to the front of the path enviroment setting 4.) Change directory to some working directory were you will create your source files 5.) Open an text/file editor 6.) Type your program code 7.) Save the file with the appropriate extension (importand) 8.) run the compiler (dmc.exe) with the appropriate switches for the source file(s) (for win32 single source file applications dmc.exe <source-file> will do) 9.) (eventually) run the compiler with the appropriate switches for the object files (in case of multiple source files) 10.) No errors ? run you program : look up the error change code goto 7 Also use the manuals and faq's on the digitalmars site, use google and search for tutorials on using command promtps and commandline compilers. Good Luck Arjan
Oct 09 2003