Solved

Is it possible to create a  (.)c file compiling in Visual Studio 6.0

Posted on 1999-01-26
4
225 Views
Last Modified: 2013-12-14
I need to get familar with the Visual Studio development tool using Visual C++.  For the time-being, I want to create .c code not .cpp.  How is this done and how can I set the interface/workspace so that there aren't 450 options to click on.  The default interface is entirely too busy in my opinion.

I desire a step by step response to create a new workspace that will compile in C.

Thanks
0
Comment
Question by:John500
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
pellep earned 40 total points
ID: 1258393
Menu->File->New.
Choose the tab 'projects'.
Select Win32 Application or Win32 Console Application.
Fill in desired name and press OK.
Next,
Menu->File->New.
Choose tab 'files'
select c++ source file, BUT when specifying FileName, add extension '.c' (like myfile.c).
Voila. The code in that file will compile using c-compiler.
0
 

Author Comment

by:John500
ID: 1258394
Ok, great.  Can I tack on one or two more simple questions?  That is:

I have compiled code and now have errors.  The errors are listed in the docked window.  How can I get more info on each error?  For example, in Borland, if you hit the F1 key, the help file is launched on the appropriate error subject.

Thanks
0
 

Author Comment

by:John500
ID: 1258395
In addition to the last (unanswered) question.  What menu will enable me to choose that the program be compiled in ANSI?

Thanks
0
 
LVL 4

Expert Comment

by:pellep
ID: 1258396
Errors: select the error you wish to get help on (doubleclick it) place the marker over the errornumber and hit F1

ANSI: If you make sure you only use ANSI-compliant functions and. The standard C/C++ libraries are all ANSI-compliant. To disable all microsoft specifics, in your project do
meny->project->settings
chose c/c++ tab.
choose 'customize' category
select 'Disable language extensions'
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Intellij adding new line in xml 3 76
I could not build boost code, 10 96
Eclipse Neon and jdk 1.8.0 11 267
Fill Null values 5 29
An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question