home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NEXT Generation 27
/
NEXT27.iso
/
pc
/
demos
/
emperor
/
dx3.exe
/
SDK
/
SAMPLES
/
IKLOWNS
/
INCLUDE
/
STRREC.H
< prev
Wrap
C/C++ Source or Header
|
1996-08-28
|
867b
|
41 lines
/*===========================================================================*\
|
| File: strrec.h
|
| Description:
| SDF string parsing class
|
|-----------------------------------------------------------------------------
|
| Copyright (C) 1995-1996 Microsoft Corporation. All Rights Reserved.
|
| Written by Moss Bay Engineering, Inc. under contract to Microsoft Corporation
|
\*===========================================================================*/
#ifndef STRREC_H
#define STRREC_H
#define MAX_FIELDS 256
class CStringRecord
{
public:
CStringRecord(char* pString, char* pDelims);
virtual ~CStringRecord();
char* operator[](int field);
int GetNumFields()
{
return mNumFields;
}
private:
char** mpFields;
int mNumFields;
};
#endif // STRREC_H