How to compile C files and execute in VS

This is a discussion about How to compile C files and execute in VS in the Windows Software category; 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.

Windows Software 5498 This topic was started by ,


data/avatar/default/avatar14.webp

507 Posts
Location -
Joined 2000-01-30
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

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Mar 16
Created
Mar 17
Last Response
0
Likes
1 minute
Read Time
User User
Users

Responses to this topic


data/avatar/default/avatar14.webp

507 Posts
Location -
Joined 2000-01-30
OP
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

data/avatar/default/avatar32.webp

112 Posts
Location -
Joined 2000-02-10
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.

data/avatar/default/avatar14.webp

507 Posts
Location -
Joined 2000-01-30
OP
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

data/avatar/default/avatar32.webp

112 Posts
Location -
Joined 2000-02-10
I know, you have to have a prosject.