hello new to c++ !

hey new to c++ programming and would like to be able to create a window and button that when u click on it a msgbox appears just like in vb and says something or are there any tutorials to guide me thru steps
[208 byte] By [ch1p] at [2008-2-19]
# 1
ch1p wrote:
hey new to c++ programming and would like to be able to create a window and button that when u click on it a msgbox appears just like in vb and says something or are there any tutorials to guide me thru steps

See here: http://www.winprog.org/tutorial/

vuki at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C++ 2005 Express Edition...
# 2
i get this error when i try to compile what is this
Build started: Project: WINDOW, Configuration: Debug Win32
Compiling...
stdafx.cpp
Compiling...
WINDOW.cpp
c:\documents and settings\cccp\moje dokumenty\visual studio 2005\projects\window\window\window.cpp(77) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
Build log was saved at "file://c:\Documents and Settings\CCCP\Moje dokumenty\Visual Studio 2005\Projects\WINDOW\WINDOW\Debug\BuildLog.htm"
WINDOW - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

how do i fix this

ch1p at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C++ 2005 Express Edition...
# 3
ch1p wrote:
i get this error when i try to compile what is this
[snip]
how do i fix this

Do as the build log told you ;-) Add #include "stdafx.h" at the top of WINDOW.cpp file.
Alternatively, you can go to project options and disable precompiled headers.

vuki at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C++ 2005 Express Edition...