Compatible Support Forums: How to compile C files and execute in VS

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to compile C files and execute in VS

#1 User is offline   miku 

  • addict
  • Group: Members
  • Posts: 510
  • Joined: 30-January 00

Posted 16 March 2002 - 07:03 AM

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
0

#2 User is offline   miku 

  • addict
  • Group: Members
  • Posts: 510
  • Joined: 30-January 00

Posted 16 March 2002 - 10:41 AM

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
0

#3 User is offline   Galilee 

  • member
  • Group: Members
  • Posts: 113
  • Joined: 10-February 00

Posted 17 March 2002 - 01:02 AM

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.
0

#4 User is offline   miku 

  • addict
  • Group: Members
  • Posts: 510
  • Joined: 30-January 00

Posted 17 March 2002 - 02:11 AM

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
0

#5 User is offline   Galilee 

  • member
  • Group: Members
  • Posts: 113
  • Joined: 10-February 00

Posted 17 March 2002 - 11:59 PM

I know, you have to have a prosject.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users