Jump to content
Compatible Support Forums
Sign in to follow this  
miku

How to compile C files and execute in VS

Recommended Posts

Hi Guys

 

Just installed the new VS, and after half an hour can't seem to know how to compile a simple .c file.

 

no compile button, no execute button. Read quite a lot of help dont understand.

 

Help!

 

Thanks

Share this post


Link to post

Guys What I meant by this is

 

I installed Visual Studio.NET

 

now in VC++ 6, there was compile button to compile, but here, it not highlighted and build button are not highlighted.

 

when i type a simple c script.

 

main(void)

{

printf("abc");

}

 

and save it as .c, still nothing happens.

 

How do we compile a simple file like this... It is so irritating. Beside they have merged all VB,VC in one?

 

 

ARC

Share this post


Link to post

Build-->Build solution.

 

Or Ctrl+Shift+B

 

Yes they have the same interface for the different languages, but it changes some depending on what type of project you are running.

Share this post


Link to post

Well I figured out that we have to create a project first and then those button would be highlighed.

 

Otherwise if you open a simple .c file you wont be able to compile it as in VC++6

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×