Always define main as returning an int, then return one. It's that simple.
Try using Valgrind, see if that gives you any info.
Please read the "Before you make a query" thread. Incidentally, your judgement that you know better how to format your post than Shabbir does...
See Alazar's post, the malloc statement.
Duplicate. Thread closed. Stop doing that.
You might check out file attributes. Aside from that, I'm not going to help you do anything insidious.
This sort of stuff occurs two or three times a day. Let me make a suggestion: when you come to a forum, read the rules, the faqs, the "how to...
Mukul.Mangla, I am not deleting your posts, because I want the owner of the forum to see them and ban you. I am closing this thread, meanwhile....
This means that you have set up your project to be a Windows project, not a console project. It has nothing to do with your code, per se. A...
You should never put actual code in a header file. Header files are designed to make declarations available to a number of source files....
Duplicate thread. Locked. Do not do this anymore.
This is not a free software store. You should either 1) Attempt to write the code and ask here for help with your problems. 2) Put your...
Here's the deal, then. Open a file for output. Set up a while loop. Inside the loop, ask the user to enter two numbers. Validate the input...
Your question is not clear. I don't think you want to write your own programming language. I think you probably want to use C/C++ to accept...
Read the "Before you make a query" thread, particularly with regard to the use of code tags.
Separate names with a comma.