Mail Archives: djgpp/2000/11/27/22:36:35
Hi!
I'm also a newbie, and I also used the "teaching yourself c++ in 24h",
and I also have some headaches to put it to work!
I strongly suggest you to use *rhide* and djgpp. It's much more
convenient to use. Follow these steps:
- Go to http://www.delorie.com/djgpp/zip-picker.html and download the
stuff you need (c, c++, allegro (to make games) and rhide;
- Unzip it all to djgpp dir (you can use winzip for that: when it asks
for the dir for unzipping, you give it c:\djgpp)
- Find your autoexec.bat (it is in the c:), right click it , then edit;
include the following lines:
SET PATH=C:\DJGPP\BIN;%PATH%
set DJGPP=C:\DJGPP\DJGPP.ENV
- Reboot your computer.
It's done! To use it, open a dos box (start/programs/prompt of msdos),
then type
rhide hello
Press "insert" key, then type
hello.cpp
press "enter", then "esc" (to skip the dialog)
Press enter, and you'll have a blue window to write your program.
To compile and run, press "ctrl+f9" (I mean, maintaining "crtl" pressed,
press "f9" key too, then release both)
to see the results (after program exit code), press "alt+f5"
To get sensitive help, ctrl+f1
I made a folder to handle my projects, and a shortcut om my computer, so
I just click it, give a project name, and it brings me rhide with the
project. You can make something like that, if you want.
Good look!
Anderson.
PS: Try "thinking in c++", it's an awesome book! You can get a free
downloadable copy at www.bruceeckel.com
Lesha Richardson wrote:
>
> I am a newbe to computers and computer programs. I know my question will
> seem very silly to you, but I really need help.
>
> I want to learn C++, so I bought SAMS TEACH YOURSELF C++ IN 24 HOURS. The
> JDGPP Compiler programs were on the disk. I downloaded it and my computer
> says its there, but I can't find it. I can find the files using start/find
> files, but none of them seem to open. My computer wants me to choose the
> program to open it with and I don't know which one to choose.
>
> I have downloaded the Borland C++ Compiler and I am having the same problem,
> also the free ClassExplorer Pro.
>
> Am I not loading them right, or is there a trick to it? I guess I'm not
> sure what to look for, but I do have an idea.
>
> I am running W89 on an HP Pavilion laptop with 56mb ram, and also an Everex
> desktop computer with 128mb ram.
>
> I hope someone can help me. Please use simple explanations. I know there
> are a lot of computer geniuses out there, but I am not one of them.
>
> Thank you ahead of time.
>
> Lesha
> _____________________________________________________________________________________
> Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
- Raw text -