> Maybe not the best way On the contrary, reversing a string by only looping over the first half, rounded down, is very efficient. Just to make...
Yes, i++ is the same as i=i+1, but it's not the same as i=i++, which is what you had. Try changing the last line to this, see if you can spot...
Same way you did it for A.
Sue her then. For slander. If it's as clear cut as you say then you're guaranteed to win.
You haven't set HD to point to anything. What compiler are you using?
Yes, I know what you need the loop for. Did you try the small test that I suggested? If not, out of interest why not?
> any chance you could alter the code so it matches mine and will run! No, sorry, just giving you the answer doesn't help you in any way. I'll...
Oh hang on...just have another quick look at this line: for ( Y=X; Y>=X; Y--); There are several things wrong with this line. Try it in a small...
Exactly what input do you give and what output do you get? If you run the program and copy and paste from the window directly into the edit box...
> i want to get in another pc without knowing it How would you know if you'd succeeded?
You'll probably get a better response if you reformat the code so that it's readable.
> c[0].cuisinename = "Italian" cuisinename is defined as char[25] so the assignment operator won't work here. Use strcpy(), or define...
Doesn't it already do that? What does it do if you enter 3 at "Enter number of computer sprecifications required?"; after you've entered the...
Reading the stream one byte at a time doesn't mean you can't make a 2 byte char array, just read the whole thing in byte by byte, and you can...
Move the "using" above the #include "Multifile.h" line. It's not a good idea to put function bodies in a header file because if that header file...
UTF-8 isn't a font, it's a characterset.
Maybe a good place to start would be with ASP programming and/or Visual Basic. Or maybe C# although that's not very webby. If you want something...
Not without your own custom memory allocations. For example how would char *str=malloc(100) know which heap division to use? You'd need...
What sort of programming do you want to do - application level, system level, embedded? What operating system do you want to program under? What...
Well, what about what I suggested? Did you display the values of i and (b-1)-i, and did they match what you expected? Of course I could just...
Separate names with a comma.