Problem getting Visual C++ to work

N

new to VC++

i've been developing code in turbo C++ in a DOS based
environment . Now that i've finally shifted to Visual
C++ , i really can't get my old programs to work . I
realised everything has changed . Even most of the
libraries have changed .
specifically how do i clear a window once the user
provides info and display info in a clear window (a.k.a
clrscr() in turbo C++ ) .
Even multiple windows would be great but how do i do
that ?? .

And how can i format the windows default opening size .
Please help or i'll flunk my course .


And if you can ignore my ignorance.... theres a folder
called MFC ... what does it do ... i assumed it would
help me somehow to produce windows like applications? Am
i anywhere close to the truth ... if yes please lemme
know how to use it .
 
J

Jackson Davis [MSFT]

-----Original Message-----
i've been developing code in turbo C++ in a DOS based
environment . Now that i've finally shifted to Visual
C++ , i really can't get my old programs to work . I
realised everything has changed . Even most of the
libraries have changed .
specifically how do i clear a window once the user
provides info and display info in a clear window (a.k.a
clrscr() in turbo C++ ) .
Even multiple windows would be great but how do i do
that ?? .

And how can i format the windows default opening size .
Please help or i'll flunk my course .


And if you can ignore my ignorance.... theres a folder
called MFC ... what does it do ... i assumed it would
help me somehow to produce windows like applications? Am
i anywhere close to the truth ... if yes please lemme
know how to use it .

.

Take a look at the pss article on clearing the screen:
http://support.microsoft.com/default.aspx?scid=kb;en-
us;99261

Yes, MFC is a collection of classes that wrap the win32
API. You may find it less confusing at first to learn the
basics of the API from scratch. You can find a wealth of
info about the Win32 platform sdk here on MSDN. Another
excellent starting point would be Charles Petzold's book
Programming Windows from Micrsoft Press.

If you're interested in windows programming, and don't
want to spend the time learning the win32 api, check out
the .Net Framework and its associated WinForms technology.
If you use Visual Basic or C#, you can write your
applications much faster with WinForms.

Hope that helps, and best regards

Jackson Davis [MSFT]
--

This posting is provided "AS IS" with no warranties, and
confers no rights.
Use of included script samples are subject to the terms
specified at
http://www.microsoft.com/info/cpyright.htm
 

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