Hey everyone... fairly new at this C++, just started a few days ago. I was wondering how to set the value of a variable, without having a user input it first. I'm sure the answer is simple, but like I said, I just started out. Thanks
Hey everyone... fairly new at this C++, just started a few days ago. I was wondering how to set the value of a variable, without having a user input it first. I'm sure the answer is simple, but like I said, I just started out. Thanks
Like that?Code:char foo; foo = 'a';
Sent from my iPadŽ
ok great, I was trying to add the value at the same time I created it. Thanks
Code:char foo = 'a';
Sent from my iPadŽ