Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a version that supports templates & DOS executables?

Status
Not open for further replies.

stash

Programmer
Mar 28, 2000
2
US
Is there a version of VisualC++ which supports templates, and is able to create a DOS execuable? I would like to use some portions of the STL for an embedded platform running DOS.
 
um all C++ Compilers i know Support Templates, its a major feature of C++ As a whole, just create a template like you would in any compiler, also as far as DOS executable goes, I wouldnt be so sure, I know it can create a console app, but I think thats only 32bit windows, my sugestion is you can use VC++ like a editor, but use a free programlike DJGPP to compile to 32Bit Dos exe<br> <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)
 
I was under the same impression, however after receiving a baffling syntax error, I looked at the help files.&nbsp;&nbsp;With regard to templates, VisualC++ 1.52 says, &quot;This product does not support templates.&quot;&nbsp;&nbsp;I'll try the other compiler.&nbsp;&nbsp;Does anyone know what version stopped supporting DOS executables?
 
I am uncertain, the only VC++ I have ever used were 5 and 6, C++ before that, I've used Borland C++ 4.5, and Borland C++ Builder 3, which both support a command line, dos compilation <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)
 
What karl says seems to be right. Whether you create a console application or any other thru VC++. It will run only on MS - Windows. Because it creates project first. Which is platform dependent. It can run on MSDos by using &quot;cl&quot; command. But for pure DOS . You need to check with GCC compiler.<br><br>Thanx<br>Siddhartha Singh<br><A HREF="mailto:ssingh@aztecsoft.com">ssingh@aztecsoft.com</A>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top