Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Visual C++ question

Posted on 1998-11-23
6
Medium Priority
?
226 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 40 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

719 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