Starship Corporation

Support Forum
It is currently Sat 27. Apr 2024, 10:33

All times are UTC [ DST ]




Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Hello?
PostPosted: Fri 28. Dec 2012, 12:59 
Offline

Joined: Mon 24. Sep 2012, 20:06
Posts: 60
Yeah, actually I was doing it wrong.
It's meant to be: for (int x = 0; x < x + 1; x++)

And this is Java. :D

_________________
"Sir, we are surrounded!"
"Excellent! Now we can attack in any direction."


Top
 Profile  
 
 Post subject: Re: Hello?
PostPosted: Sat 29. Dec 2012, 03:31 
Offline

Joined: Fri 7. Sep 2012, 20:32
Posts: 243
ah, damn, the line of code looks so small, much more efficient than the way it's done in C++, then again, I've only started learning the basics, so I could probably do something like that too later

it's not the whole thing but I know the line that holds the message goes a little like this: cout << "Hello World!" << endl;

i don't know why everyone i talked to told me not to start with C++, I'm finding it somewhat easy to follow along with X3 guess it's just the book i bought

_________________
"Sleep after toil, port after stormy seas, ease after war, death after life does greatly please."
"We are here and it is now. Further than that all human knowledge is moonshine."


Top
 Profile  
 
 Post subject: Re: Hello?
PostPosted: Sat 29. Dec 2012, 12:44 
Offline

Joined: Mon 24. Sep 2012, 20:06
Posts: 60
Nope, it would be:

Hello World!
Hello World!
Hello World!
Hello World!
Hello World!
Hello World!

etc.

Though it's unnecassary to use the for-loop. Don't know why I didn't use a infinite while-loop. :D

_________________
"Sir, we are surrounded!"
"Excellent! Now we can attack in any direction."


Top
 Profile  
 
 Post subject: Re: Hello?
PostPosted: Sun 30. Dec 2012, 02:27 
Offline

Joined: Fri 7. Sep 2012, 20:32
Posts: 243
uuhhhh... yeah, i have no idea what half the things you said back there ment XP i still dont have a grasp on all the nomenclature, right now i'm just kinda comming up with names for things as i go along until they are otherwise explained to me XD

remember, when i said "basics" i ment the coding equivalent of placing the 2x4 foundations you need to make a house^_^"

_________________
"Sleep after toil, port after stormy seas, ease after war, death after life does greatly please."
"We are here and it is now. Further than that all human knowledge is moonshine."


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group