Restructure project directories and update includes

Moved source files to src/, header files to include/, and documentation to docs/. Updated Visual Studio project files (.vcxproj, .vcxproj.filters) to reference new file locations and added include/ to the compiler's include path. Added .gitignore and docs/STRUCTURE.md to document the new repository structure. Removed build artifacts and user-specific files from version control.
This commit is contained in:
xixu-me committed 2025-10-09 19:31:33 +08:00
1 parent 7e72ef5f44
commit 4ba86f109d
34 files changed
+5575 -5427

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
// TParseString.h: interface for the TParseString class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_TPARSESTRING_H__B6B1C1C4_8CBF_11D1_B242_0000C09B5CBE__INCLUDED_)
#define AFX_TPARSESTRING_H__B6B1C1C4_8CBF_11D1_B242_0000C09B5CBE__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class TParseString : public CString {
public:
TParseString() { m_iPosition = 0; };
TParseString(LPCTSTR name) : CString(name) { m_iPosition = 0; };
BOOL ParseBracket(TParseString &str);
BOOL ParseString(CString &str);
int ParseInteger();
double ParseDouble();
void OverreadLeadingSpaces();
BOOL HasErrorOccured() const { return m_bErrorOccured; };
int GetPosition() const { return m_iPosition; };
void SetPosition(int pos);
private:
int m_iPosition;
BOOL m_bErrorOccured;
};
#endif // !defined(AFX_TPARSESTRING_H__B6B1C1C4_8CBF_11D1_B242_0000C09B5CBE__INCLUDED_)