Re: ANSII standard?

  • Thread starter Carl Daniel [VC++ MVP]
  • Start date
C

Carl Daniel [VC++ MVP]

Nikhil said:
Hi,
How can I write ANSII standard C++ applications for Windows in
.Net?

Just do it?

Seriously though, what piece of the equation are you missing? Visual C++
..NET 2003 (aka VC7.1) is highly ANSI/ISO C++ compliant - most any example of
standard C++ programming that you'll come across in a C++ textbook will work
unmodified on Windows with VC7.1.

-cd
 
C

Carl Daniel [VC++ MVP]

ANSI/ISO standards compliance isn't really a useful measure of utility for
many applications - what are your constraints? Do you want the code to be
portable to non-Windows system? Which ones? If you're only targeting
Windows, you can use MFC or WTL, neither of which is part of the C++
standard, but they're written in standard C++ - they're simply libraries
that you can use.

You can, of course, write directly to the Windows API, or you can use the
..NET framework Windows Forms classes. Neither of those is a part of the C++
standard either.

In fact, there is no way to write a GUI program using only standard C++ -
there's simply nothing in the standard that covers GUI development.

-cd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top