HomePortalFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 LOL Empty...

Go down 
AuthorMessage
gamerboy

avatar

Posts : 37
Join date : 2010-08-27
Age : 34
Location : Germany

PostSubject: LOL Empty...   Fri Aug 27, 2010 4:52 pm

This forum is empty, so i think ill add something.
im kinda rusty on C++, so if you get an error, my fault.

try this source code, it should give you a console program that says "Hello world!"


#include <iostream>
using namespace std;

int main ();
{
cout >>"Hello World!";
cin "()";
};
Back to top Go down
View user profile http://gamerboy8864hacks.freeforums.org
Excimer Sun Software

avatar

Posts : 152
Join date : 2010-05-07
Age : 26
Location : USA

PostSubject: Re: LOL Empty...   Sat Aug 28, 2010 9:31 am

From what I know of C++ (which isn't much), this looks to be correct. Thanks for putting something useful in this previously empty forum!Smile


Last edited by Excimer Sun Software on Thu Sep 09, 2010 8:39 am; edited 1 time in total
Back to top Go down
View user profile
gamerboy

avatar

Posts : 37
Join date : 2010-08-27
Age : 34
Location : Germany

PostSubject: Re: LOL Empty...   Sun Aug 29, 2010 4:00 pm

welcome. Very Happy i had to translate it from german version of C++ 2010. needless to say, hard. rabbit
Back to top Go down
View user profile http://gamerboy8864hacks.freeforums.org
Excimer Sun Software

avatar

Posts : 152
Join date : 2010-05-07
Age : 26
Location : USA

PostSubject: Re: LOL Empty...   Thu Sep 09, 2010 8:40 am

gamerboy wrote:
i had to translate it from german version of C++ 2010. needless to say, hard. rabbit

Shocked I'd say! Good job!
Back to top Go down
View user profile
gamerboy

avatar

Posts : 37
Join date : 2010-08-27
Age : 34
Location : Germany

PostSubject: Re: LOL Empty...   Tue Sep 28, 2010 12:53 pm

mistake: <iostream> should be <iostream.h>
Back to top Go down
View user profile http://gamerboy8864hacks.freeforums.org
Compu-Teck Inc.



Posts : 80
Join date : 2010-04-29
Age : 26

PostSubject: Re: LOL Empty...   Tue Sep 28, 2010 1:22 pm

I was wandering why I couldn't get this code to work...
Back to top Go down
View user profile
Excimer Sun Software

avatar

Posts : 152
Join date : 2010-05-07
Age : 26
Location : USA

PostSubject: Re: LOL Empty...   Tue Oct 05, 2010 8:54 am

Hmmm....I feel as though I should have seen that mistake...and failed miserably at doing so...
Back to top Go down
View user profile
gamerboy

avatar

Posts : 37
Join date : 2010-08-27
Age : 34
Location : Germany

PostSubject: Re: LOL Empty...   Tue Oct 05, 2010 8:39 pm

you can take out the cin line and it will still run, but you will need high speed camera in order to see the program. Laughing
Back to top Go down
View user profile http://gamerboy8864hacks.freeforums.org
Excimer Sun Software

avatar

Posts : 152
Join date : 2010-05-07
Age : 26
Location : USA

PostSubject: Re: LOL Empty...   Fri Oct 08, 2010 3:55 pm

Yeah, I had that problem when I made my first hello world in C. I double-clicked on the exe and all I saw was a quick flicker on the screen. Took me a few times of that to realize what was happening.
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: LOL Empty...   

Back to top Go down
 
LOL Empty...
Back to top 
Page 1 of 1
 Similar topics
-
» FIXED - Empty Mystery Gifts
» Full to Empty -RP App

Permissions in this forum:You cannot reply to topics in this forum
Compile Crazy :: Programming :: C Family :: C++ :: For Beginners-
Jump to: