Your code doesn't allocate any space for buffer.
Difficult to say. scanf is a very confusing function, if you don't know *exactly* what's going on (which is common for a learner) and it goes...
req.dataRetHandler is a function pointer, so it sets req.dataRetHandler to the address of the function SetFOO(). So you can call...
Where are you stuck? Do you understand the assignment? Do you know what "a certain order" means (cos I don't)?
Yes....but I'll help you figure it out for yourself. Post what you've got after you've sprinkled some printfs over the code and what ideas you...
Undefined behaviour t=++t; If you want to increment t, use ONE of the following, and DO NOT try to mix them: t++; ++t; t=t+1; By the way,...
>> "asdasdad" is itself my debugging approach Yes I know. My point is that it's not sufficient. >> .i just need some1 to explain y it enters...
What help do you want? Are you hoping we'll just give you the answers so that you won't have to do the legwork yourself and (shock horror)...
Not possible. Directory structures are - if they exist at all - platform specific, so you will have to use platform specific functions to access...
The program only reads two integers, so just use Notepad to create input.txt containing something like: 27 36
printf("asdasdad"); Well, you're on the right lines. But maybe you could print out something a bit more useful, say what it's doing and why, and...
If you just want to initialise the whole lot to zeros the easiest way is to use memset. memset(&appo[0],0,24*sizeof(struct appointments));
Objective C is not the same as either C or C++ so you'd probably better off asking in an iForum. Speaking personally, I have no idea, and no...
Well done! Let's hope you get a good result.
You only have one main() function. The project requires three additional functions: Your program should at least have the following functions:-...
s is a number from 0-9, and 48 is the ASCII character code of the character '0'. So s+48 converts 0-9 to '0'-'9' - this is done 3 times, once for...
// a[1]???? On second thoughts that could be correct. Try using m v n i o a s l - and if you don't have a clue what I'm saying there, that's the...
note tabs don't need to be 8 columns; that's the site's choice. 4 spaces is my preference (either use spaces, or set your editor's tab width to...
Your code would be a lot easier to understand if it was indented correctly. Sure, YOU know what's going on, but nobody else does. So write your...
300 lines is rather a lot of code to look through just to "see if my validRook algorithm is correct". Does it return the correct values in all...
Separate names with a comma.