You need to read how to post a question. You don't even bother to say what you want. Are we to read your mind? As to the answer, I'll fill later.
You can't read less than a byte from a file. If you could, it would still be terribly inefficient because file operations are orders of magnitude...
You've got several code problems and a posting problem. For the posting problem, read the "Before you make a query" thread and learn to put your...
Get the components via mktime, tack them together, and there you go.
You don't give enough definition information. Please read the "Before you post a query" thread and learn to use code tags.
Why do you say it doesn't have a return? What makes you think that? It returns a handle to the allocated memory, or NULL if it fails. You're...
Same reason Merriam-Webster has a lot of the same words as the Oxford English dictionary. Maybe it's a waste, maybe not.
That sounds like an assignment. That means YOU write it, not us. Go over, in your mind, what you have been taught (you did pay attention in...
I specifically told you that it won't work with the EOF test ONLY in the while condiditon. I even explained why that is. You chose to ignore...
You have a couple of issues. One not pertaining to the sort is that you did not test the input open or the input read to see if they succeeded....
#include <iostream> int main () { std::cout << "Hello, World" << std::endl; return 0; }
....if your compiler/system supports that (as mentioned in the first paragraph of my response). Not all do.
Structs usually align their members on natural boundaries. This is often determined by the size of an int. Some systems can address off of...
You're supposed to tell us what you expect to happen and how that's failing to happen. You are also supposed to tell us what things like...
Have a look at general trees.
Read Shabbir's post #2. You're looking at the code and you can't figure it out, but you want someone else to do it in the dark?
You are not assigning an integer. You are assigning a pointer value determined by pointer arithmetic. In your statement, buf is behaving as a...
Karri, please read the "Before you post a query" thread; specifically, learn to use code tags.
You cannot assign to an array using '=', with or without a trailing 0. When you see a statement like: char *myString = "This is the string in...
Standard code is not defined by compilers and tutorials, but the other way around. If one compiles tutorial code and receives errors, then one...
Separate names with a comma.