Forum    News    Downloads    Saved Games


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

<<

Mailas

Post Sat Feb 04, 2006 8:28 pm

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

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!!!!
<<

PSP_man

User avatar

Mega Brewer
Mega Brewer

Posts: 970

Joined: June 27 2005

Thanks given: 0

Thanks received: 3 times

Post Sat Feb 04, 2006 8:30 pm

okay,
i use a different prgram
but it may be the same.

shouldnt "int main" be one word?

like 'intmain' ?
A recent study shows that 98% of all
teenagers smoke pot, or have tried pot.
If you are one of the 79% of those who
don't give a sh*t, post this in your signature.

Save Sony, Buy A PS3!
<<

Mailas

Post Sat Feb 04, 2006 8:31 pm

nope. Its from a tutorial. PSP Man, do you know C++?
<<

PSP_man

User avatar

Mega Brewer
Mega Brewer

Posts: 970

Joined: June 27 2005

Thanks given: 0

Thanks received: 3 times

Post Sat Feb 04, 2006 8:33 pm

no, i use a different program
A recent study shows that 98% of all
teenagers smoke pot, or have tried pot.
If you are one of the 79% of those who
don't give a sh*t, post this in your signature.

Save Sony, Buy A PS3!
<<

jtwright

User avatar

Brewery Master
Brewery Master

Posts: 1189

Joined: January 06 2006

Location: In the realms of hell <:OD

Thanks given: 0

Thanks received: 0

Post Sat Feb 04, 2006 8:34 pm

he uses cygwin
<<

Mailas

Post Sat Feb 04, 2006 8:34 pm

argh, is there anyone here that can help???????
<<

psicryptor

User avatar

Brewery Master
Brewery Master

Posts: 1169

Joined: January 02 2006

Location: UMD drive!

Thanks given: 0

Thanks received: 0

Post Sun Feb 05, 2006 2:33 am

you really should ask elsewhere man... most of us are into more meaningful stuff like candy and smokes :D
"A dangerous deed, indeed, to contend with the man who sold the world!"
Image
<<

PSP_man

User avatar

Mega Brewer
Mega Brewer

Posts: 970

Joined: June 27 2005

Thanks given: 0

Thanks received: 3 times

Post Sun Feb 05, 2006 6:26 am

HAHAHAHAHAHAHAHAH LMAO

HAHAHAHAHAHAHAH that is soooooooooooooooooooo true hahahahah!!!
A recent study shows that 98% of all
teenagers smoke pot, or have tried pot.
If you are one of the 79% of those who
don't give a sh*t, post this in your signature.

Save Sony, Buy A PS3!
<<

Mailas

Post Sun Feb 05, 2006 11:47 am

i guess this isnt the right place since no one here helped.
<<

PSP_man

User avatar

Mega Brewer
Mega Brewer

Posts: 970

Joined: June 27 2005

Thanks given: 0

Thanks received: 3 times

Post Sun Feb 05, 2006 1:04 pm

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?
A recent study shows that 98% of all
teenagers smoke pot, or have tried pot.
If you are one of the 79% of those who
don't give a sh*t, post this in your signature.

Save Sony, Buy A PS3!
<<

psicryptor

User avatar

Brewery Master
Brewery Master

Posts: 1169

Joined: January 02 2006

Location: UMD drive!

Thanks given: 0

Thanks received: 0

Post Sun Feb 05, 2006 11:58 pm

ha ha... stop man the guy jus needs some help... hey mailas you should just google "C programming forums" an you'lll find thousands..
"A dangerous deed, indeed, to contend with the man who sold the world!"
Image

Return to PlayStation Portable

Who is online

Users browsing this forum: No registered users and 118 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for blacklist.org.