Monday, July 27, 2009

C++ Errors. Please help?

I got these errors while compiling one of my c++ programs. Can someone explain what it means or how to fix it?








array.cpp: In member function `double Array::GetData(int)':


array.cpp:33: error: ISO C++ forbids comparison between pointer and integer


array.cpp:34: error: invalid types `double*[int*]' for array subscript


array.cpp: In member function `void Array::Resize(int)':


array.cpp:47: error: `sizePtr' was not declared in this scope


array.cpp:49: error: invalid type argument of `unary *'


array.cpp:53: error: ISO C++ forbids comparison between pointer and integer


array.cpp:54: error: invalid type argument of `unary *'


array.cpp:57: error: invalid conversion from `int' to `int*'


array.cpp: In member function `void Array::Output()':


array.cpp:65: error: ISO C++ forbids comparison between pointer and integer


array.cpp: In member function `void Array::Input()':


array.cpp:72: error: ISO C++ forbids comparison between pointer and integer

C++ Errors. Please help?
Not unless you post the source code.

salary survey

No comments:

Post a Comment