You are falling into a deadly trap. Even in C, which is less strongly typed than C++, your compiler should issue a warning. The MS compiler...
The C standards were issued in 1989/90 and 1999. There are lots of compilers that don't completely conform and lots of books and tutorials...
And strcat.
Please read this urgently
Google for "partial specialization".
That's a lot of nonsense for nothing. buf+1 [5] results in pointer arithmetic being performed, therefore it means buf [6]. buf [6] is a...
You guys don't listen well. If you must use a macro, do it right. Also, kaustub, the C standard defines main as returning an int. Please don't...
ffff is shifted left 4 bits, therefore the left-hand f disappears and a 4 bits of zero appear on the right. I mean it now, you are being silly...
Look, the first thing you need to do is read the "Before you make a query" thread. It tells you to use code tags to retain the formatting of your...
64/4*4 64/4 = 16 16*4 = 64 If you're going to use macros, you better learn that you need to parenthesize the hell out of them. You...
! is the logical negation operator. It will produce 0 if the operand is non-zero and 1 if the operand is zero. You could learn this in the most...
Okay, listen up. You can't use that type of assignment at run time, only at compile time. The compiler can do that for you, just once, when you...
Try not to post the same question twice. Imagine how we mentally qualify you when you do that. It isn't pretty.
It should be relatively simple. If you want help, post some code representing your attempt. If you want it done for you, post in the Jobs forum....
Well, in the first place, it isn't smaht to show a line number if you don't show enough code for us to count lines, or at least highlight the line...
bool even (int n) { return !(n & 1); }
Scanf and printf are C functions. One can use them in C++, but writing C as C++ is a fool's mission. Don't bother. Anyone doing woodworking can...
Have you read the documentation? Have you looked at lebenty-zillion tutoriols (some bad) that illustrate the stupid "Hello World" apps? Please,...
The only error you mentioned was from main. That has been explained. You have not asked any other complete question, nor given any information,...
It is also probable that your operating system provides a utility that will sort the file. If you wish to sort the file with a program that...
Separate names with a comma.