Sorry about posting this here, couldn't find anywhere more appropriate.
I'm just getting familiar with .net and c#, but now I want to create, compile and run a simple C program from the .Net IDE.
I have created a Win32 Empty App and have entered the test code:
#include <stdio.h>
int main()
{
printf("Hello World\n");
return 0;
}
... and built it fine, but it does not create the .exe for me to run it.
Can anyone offer some help with this? Or better still, point me to a site that actually shows you have to build a C project from .Net IDE, I'm fumbling my way through it at the minute.
To build a C app (as opposed to C++) go into Project -> Properties -> Configuration Properties -> C/C++ -> Advanced and for "Compile As" choose "Compile as C code (/TC)".
It will build in you /Debug or /Release directories depending on which build configuration is active.
are you sure you're doing that exactly as said? cuz thats what I always do to make C project. Are you sure your file's extension is .C ?
do you want to test the file I attached?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB ) VB.NET to C# conversion tips!!