BYTE
- From: "Jung, William" <aopiyy001@xxxxxxxxx>
- Date: Wed, 14 Jan 2009 15:05:38 -0800
why the following gets error
#include <iostream>
#include <map>
#include <list>
#include <string>
using std::cout;
using std::endl;
int main()
{
BYTE m_bReceiveBuffer[1024];
}
1>------ Build started: Project: VC++, Configuration: Debug Win32
------
1>Compiling...
1>array_reset.cpp
1>..\..\myCode\array_reset.cpp(15) : error C2065: 'BYTE' : undeclared
identifier
1>..\..\myCode\array_reset.cpp(15) : error C2146: syntax error :
missing ';' before identifier 'm_bReceiveBuffer'
1>..\..\myCode\array_reset.cpp(15) : error C2065: 'm_bReceiveBuffer' :
undeclared identifier
1>Build log was saved at
"file://i:\C_HTP\VC++\VC++\Debug\BuildLog.htm"
1>VC++ - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
.
- Prev by Date: array reset
- Next by Date: Re: array reset
- Previous by thread: array reset
- Next by thread: Re: BYTE
- Index(es):
Relevant Pages
|