View Full Version : C++ help please

09-07-2001, 08:56 PM
ok i am totally new to programming and have a few questions to get me started!

1) do u need to have both of these in order to program a program
i have Microsoft visual C++ 6.0 and the dev C++ compiler so do i need both of these to make programs and to start off with is this a ok setup to learn from?

2) The programs i would like to eventually create would be stuff like PS2 utility programs and stuff to give no-cd cracks 4 pc games and also to get into the hard stuff eventually would what i have above be able to do this.

3) Also what i have can this create most basic programs and exe files along with dos programs.

4) Also if anyone thinks they can help me with a little chat i have ICQ and MSN ICQ= 129930393 msn= voven@rchampley.fsnet.co.uk

thanks an awful lot 4 this it will really help me

09-07-2001, 09:19 PM
Well, I have never used Dev-C++, but I have used Visual C++, and so do most professionals out in the field.

Visual C++ is the most popular, so if you want to do Windows apps, it is good.

It cannot do DOS, however. If you want to do DOS, get Borland C++. Borland supports DOS, Win16, and Win32.

I have never used Dev-C++, so I do not know what platforms it supports.

09-07-2001, 09:26 PM
would u be able to tell me which compiler would be good for me to use with

1) visual C++
2) Borland C++

09-07-2001, 09:47 PM
It really doesn't matter what compiler you start out with.
Therefore I'd go with visual c++ 6.0 if you've already payed
for it. You will probably want to start out making "console" or
standard c or c++ programs for windows. This means that your
programs are portable in theory to other OS. You also need to decide if you want to learn c++ or learn c. I would try learning c++ first, but c is also a good language. c++ in visual c++ 6.0
IMHO doesn't adhere to the standard as much as borlands.
code generation probably isn't as good as intel c++ but that cost
like $5000.

You also want to get a book. I own the deitel c++ programming text book (good for beginners), the c++ language special edition (good if you know pascal or something, still probably hard to read), Thinking in c++ (good book and easier to
read than The c++ programming language but expects you to know c before hand or to learn some c that comes with the CD).

09-07-2001, 09:56 PM
Well only like $500 but that's still too
expensive (: Still I think it's cheaper than
visual c++ enterprise but it requires visual c++ pro to run.

09-07-2001, 09:57 PM
could someone let me know one last thing

do u write a program in the visual C++ program and then compile it in something like Dev C++ 4.0

or do u write it in the visual program and compile it there or do u write it in the dev program and comile it there

09-07-2001, 10:28 PM
Visual C++ comes with a compiler of its own.
Play around with VC++ a bit and you will come to know its amazing capabilities.
But beware if you plan to purchase this then i would recommend staying away and using a free compiler like lcc-32.

09-07-2001, 10:32 PM
With visual c++ you first must create a project.
file->new->Win32 Console Project

Also type in the project name such as

and location such as

Do an empty project and finish. Then file->new->c++ Source File
Edit filename to be foo.cpp

and then type in something like

#include <iostream>
using std::cout;
using std::endl;

int main()
cout << "Hello World!" << endl;
return 0;

Then file->save
then add the file to the project
project->Add to project

then build
Then have a struggle with it has the stop build
doesn't work and it's crashed. I can't exit the
freaking thing because it says the build hasn't been
completed! And for some strange reason control-alt-delete
doesn't work.

09-07-2001, 10:50 PM
Still I think it's cheaper than
visual c++ enterprise but it requires visual c++ pro to run.

I've got enterprise, but it isn't that much better than pro.