Solved

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

Posted on 1999-01-26
4
217 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them 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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now