Solved

Visual C++ question

Posted on 1998-11-23
6
223 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
[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
  • 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
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!

 
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

Industry Leaders: 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
Should CArray be used for a list of pointers in C++? 19 144
Setting nameservers after res_init fails doing res_query 2 139
Safe conversion? 4 87
max float value 3 75
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
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. …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

752 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