Steam Chats

God and i thought he was normal
User avatar
Supernova
Posts: 1482
Joined: Fri Mar 14, 2008 8:43 pm
What is 3hirty p1us 4orty?: 4

Re: Steam Chats

Post by Supernova » Tue May 13, 2008 3:59 pm

yeh cat reads from stdin if you don't specify a file, and echo would have done the same thing unless I wanted to type more than one line at a time.... but also linux is all about abbreviations and typing as few letters as possible.... length("cat") < length("echo") :P

there is the downside of cat - you have to specify and end of file before it breaks out... maybe echo would have been better :P
Image

User avatar
Jonnywhy
Posts: 2557
Joined: Wed Apr 30, 2008 4:18 pm
What is 3hirty p1us 4orty?: 4
Contact:

Re: Steam Chats

Post by Jonnywhy » Tue May 13, 2008 5:23 pm

zzzzzzzzz....
"Hey actually Jonnywhy is right" - AngryWolf

"I agree with Jonnywhy" - Supernova

"Jonnywhy you're about as useful as a ashtray on a motor bike!" - Fester

Azrael
Posts: 24
Joined: Thu Apr 24, 2008 7:58 am

Re: Steam Chats

Post by Azrael » Tue May 13, 2008 8:55 pm

Jonnywhy: No need to shun us just because we have a superior intelligence compared to you :P.
"Sometimes with Microsoft products, up is left and down is purple."

User avatar
Supernova
Posts: 1482
Joined: Fri Mar 14, 2008 8:43 pm
What is 3hirty p1us 4orty?: 4

Re: Steam Chats

Post by Supernova » Tue May 13, 2008 10:27 pm

s/intelligence/motivation/ :P

sounds less cocky
Image

User avatar
Fester
Posts: 6514
Joined: Thu Mar 13, 2008 6:47 pm
What is 3hirty p1us 4orty?: 4
Location: Right Here!
Contact:

Re: Steam Chats

Post by Fester » Wed May 14, 2008 2:39 pm

Votick wrote:lol guys your going off topic here
sure that dont matter every post goes off topic on this forum if ya ask me lol

oh and ZZZZzzzzzzz! ya try get away from work but yet they bring it here 2 lol

Fester :ugeek:
Image

Azrael
Posts: 24
Joined: Thu Apr 24, 2008 7:58 am

Re: Steam Chats

Post by Azrael » Fri May 16, 2008 8:57 am

Fester wrote:oh and ZZZZzzzzzzz! ya try get away from work but yet they bring it here 2 lol
But coding is FUN!
"Sometimes with Microsoft products, up is left and down is purple."

User avatar
Jonnywhy
Posts: 2557
Joined: Wed Apr 30, 2008 4:18 pm
What is 3hirty p1us 4orty?: 4
Contact:

Re: Steam Chats

Post by Jonnywhy » Fri May 16, 2008 2:46 pm

#include <iostream>
using namespace std;

int main()
{
int x = 1;

if (x == 1)
{
cout << "End of Code talk!" << endl;
}

else
{
cout << "End of Code talk!" << endl;
}

return 0;
}
"Hey actually Jonnywhy is right" - AngryWolf

"I agree with Jonnywhy" - Supernova

"Jonnywhy you're about as useful as a ashtray on a motor bike!" - Fester

User avatar
Supernova
Posts: 1482
Joined: Fri Mar 14, 2008 8:43 pm
What is 3hirty p1us 4orty?: 4

Re: Steam Chats

Post by Supernova » Fri May 16, 2008 3:16 pm

Depending on what you're running it on, I'd stick a getChar(); before your return. Windows has a horrible habbit of closing the terminal when your progrogram finishes :P

Oh and johnny, use the code tags on the forum reply box :P
Image

User avatar
Jonnywhy
Posts: 2557
Joined: Wed Apr 30, 2008 4:18 pm
What is 3hirty p1us 4orty?: 4
Contact:

Re: Steam Chats

Post by Jonnywhy » Fri May 16, 2008 3:21 pm

lol, i only know what I do about programming cause I've done a module on it at Uni...

But if you use Command Prompt rather than Run Solution there should be no problem with that!

And btw...

NO H IN JONNY!
"Hey actually Jonnywhy is right" - AngryWolf

"I agree with Jonnywhy" - Supernova

"Jonnywhy you're about as useful as a ashtray on a motor bike!" - Fester

Azrael
Posts: 24
Joined: Thu Apr 24, 2008 7:58 am

Re: Steam Chats

Post by Azrael » Sat May 17, 2008 9:19 am

Jonny is right - adding getchar(); is a messy solution.

Votick is ignoring me so there probably won't be any more steam chats soon :)
"Sometimes with Microsoft products, up is left and down is purple."

Post Reply