I know HTML and javascript... besides that ive just started today with tutorials and i have no clue what im doing. How do i just make a simple program that says hello or something???
I know HTML and javascript... besides that ive just started today with tutorials and i have no clue what im doing. How do i just make a simple program that says hello or something???
Make a hello world program???
Code:#include <iostream> int main() { std::cout << "Hello World!" << std::endl; }
Last edited by abrege; 01-27-2003 at 06:49 PM.
I am against the teaching of evolution in schools. I am also against widespread
literacy and the refrigeration of food.
it's std::endl if you don't include the using namespace std;
Oops
I am against the teaching of evolution in schools. I am also against widespread
literacy and the refrigeration of food.
How would i use a compiler to do this, im an idiot please help.
okay, d/l a compiler, there are a bunch of free ones, like mingw and borland bcc55.
www.mingw.org www.borland.com
you could also d/l bloodshed dev-c++ which is the easiest to d/l, it comes with mingw.
www.bloodshed.net
dev-c++ includes an IDE, so it makes it easier this way.
you could also d/l Quincy from:
www.alstevens.com/quincy.html
You could use both mingw and borland with Quincy 2000, but only mingw with Quincy 2002.
once you have an IDE, and compiler, you will be well on your way.
- alpha
P.S. read the installation instructions with both compilers if you decide to d/l Quincy or another IDE. D/Ling bloodshed's, just read their site. The instructions are very helpful.
I have dev-c++ thats what ive been using but i still dont get it and im very very confused.
Edit: the help file was so worthless i almost died.
Last edited by Tempest1; 01-27-2003 at 07:21 PM.
what version of dev-c++?
Tempest1: Read a tutorial.
"He who makes a beast of himself, gets rid of the pain of being a man." Dr. Johnson
I have read tutorials... they dont help. I think its dev-c++ 4.9.7.0
go to bloodshed's website, and read how to use the program. Anyways, just write the code, save the file, and then click Execute, Compile. after compiled, run it.
AHHH This is driving me crazy.. i go tabout 72 errors when i tried that.
When i went from learning html and javascript to c++ and java it was a little tricky too. Problem with programming is you can't make small mistakes. Eventually you will learn what the errors mean and you will be able to fix them. Only way to learn is to stick with it. Good luck, post the errors if that doesn't work.Code:#include <iostream.h> // for input-output int main() { cout << "\nHello World!" << endl; return 0; }
~fin
>>Problem with programming is you can't make small mistakes.
Especially with C++ where there are no small mistakes, just big ones :-) When I started with C++ I was shocked with how much the compiler complained! It's disheartening.
*Cela*
Still doesnt work lol, this sucks.