From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: about: aout.exe Date: 24 Nov 2002 19:49:48 GMT Organization: Cornell University Lines: 56 Sender: asu1 AT cornell DOT invalid (on pool-141-149-207-152.syr.east.verizon.net) Message-ID: References: <3DDFA0CA DOT 000009 DOT 03244 AT DELL> <63b211f7 DOT 0211240900 DOT a1f0a57 AT posting DOT google DOT com> NNTP-Posting-Host: pool-141-149-207-152.syr.east.verizon.net X-Trace: news01.cit.cornell.edu 1038167388 11760 141.149.207.152 (24 Nov 2002 19:49:48 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 24 Nov 2002 19:49:48 GMT User-Agent: Xnews/5.04.25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com shayoom AT hotmail DOT com (Jonquil) wrote in news:63b211f7 DOT 0211240900 DOT a1f0a57 AT posting DOT google DOT com: > "A. Sinan Unur" wrote in message > news:... >> "Shaymaa Alterkait" wrote in >> news:3DDFA0CA DOT 000009 DOT 03244 AT DELL: >> >> >> >> > After successfully running my RHIDE and compiling hello.cpp, i ran >> > it by addig to the projects list.. it worked (thanks to Jeff's >> > help).. >> > >> > Then i compiled ,my other programs, and there were no errors once i >> > added using namespace std;" line... >> > >> > but when i run them, i get the "Hello World!!" line again... >> >> you need a separate project for each program. > > yes, i realize that, but since my programs are not that long yet, why > use them? the way i understand it is that projects are used to link > several programs to create a larger complete program. i simply wrote a > HELLO WORLD! program and i had to make it a "project " to run it... > how come? i don't use rhide, but if i remember correctly, at some point robert added some kind of support for compiling single source files, look around, maybe the feature is still there. on the other hand, you can save yourself some time by learning a few command lines: gcc -Wall -O2 hello.c -o hello.exe the purpose of the IDE is to make it easy to deal with programs with multiple source files, linking to various libraries etc. on the other hand, the command line comes in very hand when all you need is a quick compile and run. >> > --------------Boundary-00=_YQC1MY50000000000000 >> > >> > >> >> please do not post html > sorry about that, but i sent that message from my email program.. so? you can disable it in your email program. -- A. Sinan Unur asu1 AT c-o-r-n-e-l-l DOT edu Remove dashes for address Spam bait: mailto:uce AT ftc DOT gov