i've done stuff like this in the past.. but for some reason dev-cpp doesn't likey
Code:struct FiberStruct { TCHAR* FiberName; TCHAR* BeginningCount; TCHAR* EndingCount; }; class Fiber { public: Fiber(); void EditBoxFileParser(HWND hwnd, HWND hEdit); void TubeFiller(); private: vector<FiberStruct> vFC; int iCount, iEntries; WORD iLength, iOffset; TCHAR **LinesOfText; TCHAR *Tubes[18]; PAINTSTRUCT ps; RECT rs; HDC hdc; } Splicer;
complete code here
dev-cpp compiler error(s)
99 F:\Dev-Cpp\cablesplicer.cpp ISO C++ forbids declaration of `vector' with no type
99 F:\Dev-Cpp\cablesplicer.cpp expected `;' before '<' token
F:\Dev-Cpp\cablesplicer.cpp In member function `void Fiber::EditBoxFileParser(HWND__*, HWND__*)':
405 F:\Dev-Cpp\cablesplicer.cpp `Lines' undeclared (first use this function)
496 F:\Dev-Cpp\cablesplicer.cpp `vFC' undeclared (first use this function)
496 F:\Dev-Cpp\cablesplicer.cpp At global scope:
519 F:\Dev-Cpp\cablesplicer.cpp expected constructor, destructor, or type conversion at end of input
519 F:\Dev-Cpp\cablesplicer.cpp expected `,' or `;' at end of input
F:\Dev-Cpp\Makefile.win [Build Error] [cablesplicer.o] Error 1