Solved

C++ in VC++

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

Suggested Solutions

Title # Comments Views Activity
Handle Exceptions during instantiation 28 428
Focus not getting shifted out of  editbox 2 69
Grammars for C C++ and java 1 138
I could not build boost code, 10 106
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. …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

763 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