[T1 Information] Looking for some stuff...

Pages : 1 [2]

Bizpunk
09-07-2003, 01:28 AM
So. i downloaded Dev C++ and tried Hello World
i kinda remember how the code looked, but i ended up cheating and finding a tutorial. but when i try to run it, the window just flashes on the screen taunting me
<iostream.h>

int main() {

cout <<"Hello, World!"<< endl;

return 0;

}


any ideas

Shinigami
09-07-2003, 01:52 AM
Dunno why that won't run. It's correct.

Bizpunk
09-07-2003, 02:15 AM
Well, it runs..i see the window flash open then close quickly dunno

Shinigami
09-07-2003, 02:16 AM
Oh, it needs a system pause. I'm used to ms visual c++ so I forget.

Bizpunk
09-07-2003, 02:44 AM
it ran in command promt :shrug:

random
09-07-2003, 02:47 AM
it'd be b/c its just a tiny app, it doesn't have any code to create a window

so all it's supposed to do is echo "Hello World!" (it's doing what it's supposed to)

x66
09-07-2003, 03:15 AM
add: system("pause"); before return 0;

DevC++ used to have that in their template...

Brain^Virus
09-07-2003, 03:28 AM
DooM!']http://www.team5150.com/~andrew/project.tribes/formats/vol.html

There's my mega cool .vol file format, if I made any errors in the pseudocode it's not my fault..

I'd have made him figure it out for himself. It's much more rewarding learning that way. :)

[meph]DooM!
09-07-2003, 03:40 AM
Shhh, that's how he is going to have to figure out font files (pba, pbmp, and pft all in one!) :P

random
09-07-2003, 04:38 AM
It's not like anyone will be able to understand that crap on Andrew's webpage..

Azra3l
09-07-2003, 05:05 AM
Andrew, what is it you do for a living?

And why is it everytime I read something official of yours I get dizzy and have to lay down?

Brain^Virus
09-07-2003, 07:25 AM
<Brain^Virus> Andrew is awesome :o
<Woohoo> true that


That, good sir, is why you get dizzy.

Bizpunk
09-07-2003, 10:53 AM
http://dev.swforums.com/Images/Bizpunk/hellotribalwar.jpg
:browsmile

Now, to get started on BizOS