A89: Re: Parse Error


[Prev][Next][Index][Thread]

A89: Re: Parse Error




You are using C++ stuff. TI-GCC is only C.

-Kevin

-----Original Message-----
From: Ahmed El-Helw <ahmedre@mindspring.com>
To: assembly-89@lists.ticalc.org <assembly-89@lists.ticalc.org>
Date: Sunday, June 11, 2000 4:25 PM
Subject: A89: Parse Error


>
>Hi,
>I just decided to try to write a program for the 89 using TIGCC.. For some
>reason, I get a parse error when I do this:
>
>int Routine(int& p1, int& p2, int& p3)
>{
> DrawStr(15,75,"Calculator",A_NORMAL);
> ngetchx();
> DrawStr(15,75,"Calculator",A_XOR);
> return 0;
>}
>
>I haven't programmed C/++ for a while, but I tried this using DJGPP [I made
>a simple C++ program to try to do the same thing] and it worked.. so could
>someone please tell me what I am doing wrong?  Thanks.
>
>-Ahmed
>
>