Solved

Visual C++ question

Posted on 1998-11-23
6
222 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
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!

 
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
What is the real difference between C++ and Visual C++.NET? 7 132
c++ syntax question 9 58
Android development question 2 78
One named event, multiple event handlers 2 43
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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 clear a vector as well as how to detect empty vectors in C++.

749 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