Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Type Name Expected Error 1

Status
Not open for further replies.

jamez05

Programmer
Jul 29, 2005
130
US
I declare an integer named start:

scrn.open("stdout",ios::eek:ut);

int start;

However, I get a type name expected error on the
if statement's beginning line:

if (new[start]) { /*error*/
neww[start] = 0;
bpapa[start] = 0;
curent = start;
qbeg = 0;
etc..

Does anyone see any problems?
 
> if (new[start]) { /*error*/
Yeah, new is a reserved word, it's the one you use to allocate memory.


--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top