![]() |
| | #1 |
| Registered User Join Date: Apr 2008 Location: United Kingdom
Posts: 80
| Working with muliple source files Code: <---- Position (2) - See comment below
#include "example.h"
EXAMPLE1 Example1;
int main(int argc, char *argv[])
{
HANDLE hOut;
Example1.func1(hOut);
return 0;
}
Also, even if I declare it at position (2) in the code, it isn't visible to example1.h, how do you think I should solve these problems? |
| Swarvy is offline | |
| | #2 | |
| C++ Witch Join Date: Oct 2003 Location: Singapore
Posts: 11,338
| Quote:
__________________ C + C++ Compiler: MinGW port of GCC Build + Version Control System: SCons + Bazaar Look up a C/C++ Reference and learn How To Ask Questions The Smart Way | |
| laserlight is online now | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| working with compressed files | tonyjeffs | C Programming | 4 | 10-02-2007 11:59 AM |
| Threads to keep the CPU faster than the disk? | matthew180 | C Programming | 4 | 06-06-2007 03:23 PM |
| Linker errors - Multiple Source files | nkhambal | C Programming | 3 | 04-24-2005 02:41 AM |
| Major glitch losing source files with MSVC++ and WinXP | JasonD | C++ Programming | 10 | 08-14-2003 12:15 PM |
| using a class in multiple source files??? | Crossbow | C++ Programming | 9 | 06-18-2002 07:42 PM |