Solved

Visual C++ question

Posted on 1998-11-23
6
221 Views
Last Modified: 2010-04-01
Is there anyway i can make Visual C++ 5.0 compile and produce a DOS executable?
0
Comment
Question by:GreatOne
  • 3
  • 2
6 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 1178470
Sorry, no way - all VC++ versions greater than 1.5x only produce 32bit exes ...
0
 
LVL 2

Accepted Solution

by:
trillo earned 20 total points
ID: 1178471
Of course you can
1) Select the "new" command on the file meno (or icon), A dialog will appear.
2) Select the project tab
3) Select Console Application
I have VC++ 5.0, and I've made some DOS apps.

Trillo.
0
 

Author Comment

by:GreatOne
ID: 1178472
Do you mean select win32 console application? WHat i want to do is take some C++ code and create an executable that can be run under DOS. Is this possible?
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

 
LVL 2

Expert Comment

by:trillo
ID: 1178473
It's possible to run console applications in DOS mode under Windows, but not when you are at the "pure" DOS mode.
0
 
LVL 86

Expert Comment

by:jkr
ID: 1178474
That's what i said... 'pure' (i.e. 16bit) programs ___CANNOT___ be created by VC5

trillo:
>>I have VC++ 5.0, and I've made some DOS apps.
THIS IS DEFINITELY WRONG!!!
0
 
LVL 2

Expert Comment

by:trillo
ID: 1178475
OK,OK,.... I misunderstood, I meant that I've made DOS apps to run under the Windows' DOS mode... (it all depends on what you call DOS in these days)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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 viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

792 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