Solved

C++ in VC++

Posted on 1998-07-17
3
248 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
[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
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

Independent Software Vendors: 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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

615 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