You can make binary the Windows default by setting a global variable. I believe it's called _fmode. This would not help, of course, if your...
That's certainly your prerogative. You will find that people operate on the premise that if it looks like a duck, walks like a duck, and quacks,...
You are absolutely correct. Even in the situations where the soft EOF doesn't mess you up, there are other factors. In text mode, which is the...
Quite frankly, this looks like the quite common case of some jerk not paying attention in class, expecting that he or she can get their work done,...
Show a couple of your ages worth of tries.
If you press the keys, '2', '5', and '5' on the keyboard, scanf will deal with them according to your format specifier(s). Using that, it will...
Have you tried the manufacturer? If you're a customer, you probably have the file; have you checked your path setup?
In the second example, you're not casting pMem, you're casting pMem->e_lfanew. EDIT: Woops, you found it while I was posting.
Write some code and present it here for help with any difficulties that arise. Please read the "Before you make a query" thread before making...
There's only one question in your post: "what kind of question is this?". I answered it. Yes, I know about lexical analyzers. Do you have any...
Again, what is C##? I never heard of it. One can make a program that evaluates logic (even hardware logic) in any decent language. The language...
Sounds like a question for a budding CS person.
In C++, logical OR is ||, logical AND is &&, logical NOT is !. There are bit-wise equivalents if you want to operate on bits, |, &, and ~,...
Seed the RNG just once, during initialization, or you'll find your 'random' numbers repeating.
You have your LHS and RHS backwards. C##??? *= and += are merely syntactical shortcuts. A += 5 means A = A+5. Similarly for other operators.
Read your documentation and install it correctly. Dev-Cpp provides an IDE for MinGW and MS's VC++ 20005 is also free. Both worked for me out of...
This is not a homework factory. Pay attention in class. If you make a serious stab at it and post troublesome code here, people will be glad to...
Are you calling us a sap?
I would recommend that your version of flush incorporate cout.flush(), otherwise it can be misinterpreted by a user, at it doesn't actually flush...
Possibly I don't understand your question. Are you expecting FindFirstFile/FindNextFile to open the files? They don't. Perhaps, though, you are...
Separate names with a comma.