-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdocument.h
More file actions
34 lines (30 loc) · 963 Bytes
/
Adocument.h
File metadata and controls
34 lines (30 loc) · 963 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Adocument.h: interface for the CAdocument class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ADOCUMENT_H__1D080877_7CBF_4982_9971_18009004AD56__INCLUDED_)
#define AFX_ADOCUMENT_H__1D080877_7CBF_4982_9971_18009004AD56__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
///////////////////////////////////Data structure needed for processing ////
struct WordCountStruct
{
char WordValue[15];
int Frequency;
public:
WordCountStruct(int Freq, char* WVlaue);
};
////////////////////////////////////////////////////////////////////////////
class CAdocument
{
public:
CAdocument();
virtual ~CAdocument();
private: // attributes
char m_szLocation[129];
char m_szID[50];
WordCountStruct WordCount;
char m_szType[4];
BOOL m_bIgnored;
};
#endif // !defined(AFX_ADOCUMENT_H__1D080877_7CBF_4982_9971_18009004AD56__INCLUDED_)