www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - Starting Out

↑ ↓ ← Barry <Barry_member pathlink.com> writes:
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
↑ ↓ Arjan Knepper <arjan ask.me> writes:
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.....
 

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
↑ ↓ → Peter Vogel <Peter_member pathlink.com> writes:
In article <bm0d91$2u86$1 digitaldaemon.com>, Arjan Knepper says...
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.....
 

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

But for this you have to buy the CD. Peter
Oct 09 2003