Or you can just use "getch()" intead of whatever syntax you use for inputing the w, a, s, or d.
Type: Posts; User: GreenCherry
Or you can just use "getch()" intead of whatever syntax you use for inputing the w, a, s, or d.
Thanks for all your help, but I don't need anymore. Normally I would lock the post, but I am unable to do so, or too ignorant to figure it out. ;)
I did, I just would appreciate it if someone would look it over and make sure its correct. I'm not very good at classes. Also, just so you dont get confused, the struct is in the main cpp file and...
I really dont see where your program is going. Factor will always be two at the end, unless both numbers are evens, then it will be 3.
C'mon people, this isn't just limited to Prelude, andyone with knowledge can point out the simplest of my errors. If you do a run through and find nothing wrong just say so, its not very hard.
Thank you so much prelude! I appreciate it. I changed all those things, i was wondering if you were willing to check my whole program, just a quick runthrough, I would appreciate it.
...
Here is my struct:
struct UserInfo;
{
string name;
int pin;
double balance;
}user[40];
ya thats right so heres some examples:
My Class In the Headerfile:
class ATM_Database
{
int halt;
public:
If I declare "int halt" in my private section of the header file, how can I use it in one of the functions in the source file?
That game is awesome! You should try to randomly generate the mazes though. It would be quite hard though...
how do you make an integer worth nothing? Would you use empty[x]? I haven't tried that yet. And I am assuming you empty an apstring by doing:
x = "";
Quick answers would be appreciated.
Why dont you post this code on the board so I can look through it? I would ather not d/l it.
I am an intermiade programmer with C++ Win32 Console Apps and I was wondering where I should go. What could Allegro do for me? If someone could fill me in on the ways it works I would appereciate it....
I remember that packard bell thing, it thougt it was cool back in the day, although sometimes it was a hassle to use.
ok, Ill try that later, and fill you in. BTW im using MSVS 6.0
Yes, that does work, it turns my entire program red, and it prints 'hej', but how is that supposed to help me?
Ya, I was kinda lost, cuz even if it was a char is would still be one of the three.
YAAY! This is my 50th post!!!
I get this:
U:\Assignments\Ch9\Quiz.cpp(147) : error C2678: binary '<<' : no operator defined which takes a left-hand operand of type 'class ostream_withassign' (or there is no acceptable...
Thanks but no thanks, i figured it out already. If you look at my code the problem was that i put [x+1] when i shouldve put [x] (above the flush lines).
Ya, all the text prints correctly, I will try to make a smaller program. If anyone else has any ideas before i finish making o test program then by all means tell me.
OMG that one is hilarious!
Oh Goodness No! He's going to wreak havoc on all the programming code in the world!!!!!!!! :eek: :eek:
Sorry, it wouldn't let me attach the source.
I have a program that I am trying to get to color the correct answers. For my testing stages I am just trying to get it to color the T green, and the F red.
//Easy Coloring Of Words/Letters...
Thanks It Worked!