Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 1999-01-26
4
Medium Priority
?
233 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
pellep earned 160 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

715 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