Mail Archives: djgpp/2002/11/24/15:00:13
shayoom AT hotmail DOT com (Jonquil) wrote in
news:63b211f7 DOT 0211240900 DOT a1f0a57 AT posting DOT google DOT com:
> "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu> wrote in message
> news:<Xns92CF728D3F9Aasu1cornelledu AT 132 DOT 236 DOT 56 DOT 8>...
>> "Shaymaa Alterkait" <shayoom AT hotmail DOT com> wrote in
>> news:3DDFA0CA DOT 000009 DOT 03244 AT DELL:
>>
>> <snip>
>>
>> > 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
>> > <meta http-equiv="Content-Type" content="text/html;
>> > charset=iso-8859-1"><html> <head>
>> > <meta name="GENERATOR" content="IncrediMail 1.0">
>>
>> 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
- Raw text -