Could someone please explain Enumerated Constants to me?
I dont understand them...thanks.
Type: Posts; User: Eminence
Could someone please explain Enumerated Constants to me?
I dont understand them...thanks.
Thanks guys, that helped alot
EDIT: MadHatter: Does that mean x becomes 2?
So basically this is to mak the function more flexible? I get ya
Could someone please explain to me what the following text in the bold does:
e.g.
exampleFunction(int square, int circle)
Why wouldnt you just use this:
exampleFunction()
{
Grrr:
(from MSVC++ in Win XP Pro)
fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
Is there ANY way possible to do this?
Hmm.... the dots appear much too fast... is there any way to slow em down?
Ok... (If i can remember loops lol) Im definetly not 1337 at C++ lol, little help?
Ok sweet, thanks guys...
Also is there any way to display a "static" Loading thing, such as
Loading...
CLEAR SCREEN
Loading....
CLEAR SCREEN
Loading.....
CLEAR SCREEN
Awesome, thanks man that worked.... appreciate it :)
Also, does every function HAVE to have a "return" in it?
OK, I'm wondering why system("pause") excecutes before everything else, even if it hasent been written first in the coding.... here's an example:
#include <iostream.h>
#include <stdlib.h>
...
How would I loop 1's and 0's into "0001010100111010010"
or something similar to make it look like it does in the matrix, is it possible?
And if so how would you stop the loop?
Ok thanks, ill try that when I get home, if it doesnt work or something ill post again....
And by the way, how do all you programmers find out what every .h program does?
Im just started doing the tutorials at cprogramming.com and in the 1st lesson, with the "Hello World" program, when execute it, the console window opens and displays "Hello World!" then quits...