Page 1 of 1

C++ help(only for people who know C++)

PostPosted: Sat Feb 04, 2006 8:28 pm
by Mailas
alright, I have my compiler and heres what Im trying to do:

  Code:
#include <iostream>

using namespace std;

int main()
{
  cout<<"HEY, you, I'm alive! Oh, and Hello World!\n";
  cin.get();

  return 1;
}


Im trying to run that. Now, when I compile it it is FINALLY compiled, but NOW, when i hit run, nothing happens! I mean wtf! So I guess this must be normal. How do i turn this into a .exe file? Please help!!!!

PostPosted: Sat Feb 04, 2006 8:30 pm
by PSP_man
okay,
i use a different prgram
but it may be the same.

shouldnt "int main" be one word?

like 'intmain' ?

PostPosted: Sat Feb 04, 2006 8:31 pm
by Mailas
nope. Its from a tutorial. PSP Man, do you know C++?

PostPosted: Sat Feb 04, 2006 8:33 pm
by PSP_man
no, i use a different program

PostPosted: Sat Feb 04, 2006 8:34 pm
by jtwright
he uses cygwin

PostPosted: Sat Feb 04, 2006 8:34 pm
by Mailas
argh, is there anyone here that can help???????

PostPosted: Sun Feb 05, 2006 2:33 am
by psicryptor
you really should ask elsewhere man... most of us are into more meaningful stuff like candy and smokes :D

PostPosted: Sun Feb 05, 2006 6:26 am
by PSP_man
HAHAHAHAHAHAHAHAH LMAO

HAHAHAHAHAHAHAH that is soooooooooooooooooooo true hahahahah!!!

PostPosted: Sun Feb 05, 2006 11:47 am
by Mailas
i guess this isnt the right place since no one here helped.

PostPosted: Sun Feb 05, 2006 1:04 pm
by PSP_man
psicryptor wrote:you really should ask elsewhere man... most of us are into more meaningful stuff like candy and smokes :D

.... mailas, i am not trying to be mean to you...
but... did you JUST figure that out?

PostPosted: Sun Feb 05, 2006 11:58 pm
by psicryptor
ha ha... stop man the guy jus needs some help... hey mailas you should just google "C programming forums" an you'lll find thousands..