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
Solved

C++ in VC++

Posted on 1998-07-17
3
229 Views
Last Modified: 2010-04-01
How can I compile and run a C++ program in Visual C++ 5.0,
because I have .dsw file.
0
Comment
Question by:nhcuong
3 Comments
 

Author Comment

by:nhcuong
ID: 1168075
sorry, because I haven't got .dsw file
                        ^^^^^^^^^^^^
0
 
LVL 2

Accepted Solution

by:
rayb earned 0 total points
ID: 1168076
If you have the .dsp file you should be able to compile that.  Otherwise, if you have a .mak or .mk file you can run nmake on that OR import it into devstudio.  Devstudio will create a project out of a .mak file.  If not these two solutions, you may need to create a new project and simply add the neccessary files.
0
 
LVL 1

Expert Comment

by:Rajkumar_R
ID: 1168077
Well ..i don't know whether it is as simple ..but
if you have the source code all you need to do is open it through VC++(through file menu )  and go to build menu and say build ..it will ask do you want to create a workspace ..say yes and rest it will do ...then you can execute it from the build menu itself !

If it is just a small program then you can go to dos prompt and use  " cl " compiler to do the job for you type cl /? to get different options !

If this works for you ...then let me know ..i will repost my comment as answer(After you reject the current one ) ..then you can give me points !


0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

837 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