Tiptup Jr. wrote:OH MY F**KING GOSH
That would be a command-line program which writes this to the screen:Cyclone (fixed formatting) wrote:int main()
{
cout << "I'm learning C++!\n";
int numberlist[6] = {67,111,111,108,33};
for(int c=0;numberlist[c];c++)
{
char DKC_Atlas_is = numberlist[c];
cout << DKC_Atlas_is;
}
cout << "\n";
}
I'm learning C++!
Cool!
_
Simion32 wrote:Also, it would be better in my opinion to define the null zero at the end of numberlist[6].
Yeah. I would probably do something like this for displaying a string:Cyclone wrote:You mean like: int numberlist[6] = {67,111,111,108,33, '\0'};
Is that just so you know more easily what is going on in the code?
Jomingo wrote:You are the dude who did remixes or whatever with the psychopath that you're no doubt referring to in that very post.
Simion32 wrote:"Disobedience is the true foundation of liberty. The obedient must be slaves."
~Thoreau
Jomingo wrote:Spoiler!
Jomingo wrote:I will be "forced" to upgrade to blu-ray and then repeat the process of rebuying my entire collection that I don't watch anymore(again).
Jomingo wrote:Eh, is anything we do right? One could say that we commit a great many wrongs and thus that could be considered a hypocritical statement.
CoolStyleE wrote:
Simion32 wrote:
"Disobedience is the true foundation of liberty. The obedient must be slaves."
~Thoreau"
...
"Those who mind, don`t matter, and those who matter, don`t mind."
-I forget who said this...
Users browsing this forum: No registered users and 18 guests