I'm on the array section of the the tutorial and was playing around with them and was wondering a couple of things.
In what situations are arrays used in programming?
Are there any simple (and I...
Type: Posts; User: blakjakd
I'm on the array section of the the tutorial and was playing around with them and was wondering a couple of things.
In what situations are arrays used in programming?
Are there any simple (and I...
Sweet thank you!
But i don't understand if int x is bellow int main(), why in cprogramming's tutorial it puts void playgame, void loadgame, and void multiplayer above int main()
(that probably...
I tried the second code from the bottom of the website -
switch (x) {
case 1:
cout << "x is 1";
break;
case 2:
cout << "x is 2";
break;
default:
It doesn't work with codeblocks compiler for me
unless I'm doing something wrong
I have gotten stuck on switch cases, I've looked everywhere, the forums and other c++ websites and I can't get a simple switch case to work for me
I tried to find a working switch case example on...
what do you mean by not returning anything?
I've been making lots of progress in C++ in the last couple of days.
But when I got to the part on the tutorial about switch case, it introduced the word "void"
Because there is no explanation, I...
would anyone mind giving me a couple more easy problems like these?
A. !( 1 || 0 ) ANSWER: 0
B. !( 1 || 1 && 0 ) ANSWER: 0 (AND is evaluated before OR)
C. !( ( 1 || 0 ) && 0 ) ...
Thank you guys so much!
I understand it now alot more
I have just started getting into to C++ programming and was reading the tutorial on this website.
When I got to the part about boolean algebra i got stuck
This came straight from Wikipedia....