Need help for debugging

I tried to fix it for hours. I can't get why it doesn't work. How to fix it?
One more question, is there any way to divide a picture box into multiple part so that it can display multiple image files instead of using multiple picture boxes?
Thank you in advance!
[280 byte] By [mimi17] at [2007-11-20 11:46:06]
# 1 Re: Need help for debugging
Try to insert#include "Stdafx.h"before the #include "Stack1.h"
VictorN at 2007-11-10 22:22:30 >
# 2 Re: Need help for debugging
Thank you but still the same error message comes out.:(
mimi17 at 2007-11-10 22:23:29 >
# 3 Re: Need help for debugging
From MSDN:Fatal Error C1010
unexpected end of file while looking for precompiled header directive

A precompiled header was specified, but it did not contain a precompiled header directive.

This error can be caused by specifying an incorrect file as a header file, or by specifying an include file with the /Yu (Use Precompiled Header) command line option that is not listed in the source file as an include file.
VictorN at 2007-11-10 22:24:39 >
# 4 Re: Need help for debugging
Thank you so much, VictorN. That error is fixed.
mimi17 at 2007-11-10 22:25:32 >
# 5 Re: Need help for debugging
Couple thinks, stdafx.h should only go in cpp not header file. Second, it seems that you are using Manged C++ code, and then you are using older syntax 1.0/1.1 for it (__gc). By mixing all kind of stuff you are bound to have some problems. Decide on which one you want to do and if you stick with Manged C++, move on to at least 2.0.

There are plenty resources on MSDN to show you 2.0.

Also, before you embark on some complex program, just try to create simple project (just one file with empty main), compile, link and run. If that works, move on to bigger and better thinks. The key is to understand previous stuff and take baby steps, specially in the beginning.
STLDude at 2007-11-10 22:26:42 >
# 6 Re: Need help for debugging
Couple thinks, stdafx.h should only go in cpp not header file. Second, it seems that you are using Manged C++ code, and then you are using older syntax 1.0/1.1 for it (__gc). By mixing all kind of stuff you are bound to have some problems. Decide on which one you want to do and if you stick with Manged C++, move on to at least 2.0.

There are plenty resources on MSDN to show you 2.0.

Also, before you embark on some complex program, just try to create simple project (just one file with empty main), compile, link and run. If that works, move on to bigger and better thinks. The key is to understand previous stuff and take baby steps, specially in the beginning.

Thank you for your detailed explanation. It is fixed. Thank you.
mimi17 at 2007-11-10 22:27:34 >