Woah. Where are you people? Where's your spirit of helping people in need? Why is there no reply? Is it because of my annoying green-colour text formatting? There, I've changed it to default.
Anyway, I've the answer to my problem from another different forum.
But, the thing is, now I've another different problem.
Take a look, here's what I got from the other forum (BOLD) and my reply to it (ITALIC):
If you name your C files using a .c file extension, then, by default, VC++ will compile them in "C mode" and not in "C++ mode."
An alternative is to set a compiler setting inside of your project settings so that it will force ANSI C.
If you really want to know more about the problems that "C" programs can have when being compiled with a C++ compiler, you can use the MSDN to take a look at "__declspec" to see what it says in the help files.
If you just want to avoid those problems, it is probably better to name your files using a .c file extension and check your project settings for ANSI compatibility. In other words, yes, you can use your VC++ compiler.
:davis: Thanks for replying, davis.
But I've another problem.
Does MSVC++ have a bulit-in program of GNUPlot?
I'm trying to make a C program that produces a graph of a projectile motion. And I require a GNUPlot.
As far as I know GNUPlot is another different seperated-portable command-line driven interactive data and function plotting utility.
So:
1) Does MSVC++ have a bulit-in program of GNUPlot?
2) How to integrate GNUPlot with MSVC++?
3) To make a graph of projectile motion, isn't it necessary for me to write codes in MSVC++ and at the same time working with GNUPlot in another window?
4) How does this entire thing work in both different working-environment (MSVC++ and GNUPlot) ?
Please help. Thanks.