Skip to contentSkip to conversation

complex.h

DISCUSSION Ankit Jain 3 participants 3 messages Sep 13, 2004

lore
Share & tools
lore

Ankit Jain

author
#0 lore raw

hi

i am working on complier version gcc 2.96

a simple program gives many error like parse error in line 4 etc.

  1 #include<complex.h>
      2 int main()
      3 {
      4 complex a[3][4];
      5 return 0;
      6 }

on latest compiler it works

so will it matter on portability of the program?

thanks

ankit

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

#2 lore raw
In reply to Ankit Jain

Hi Ankit,

RH/GCC 2.96 came out before the 1999 version the C standard, and the 1998 version of the C++ standard.

Quoted 1 line

so will it matter on portability of the program?

Depends what you want to be portable to. 1989 version of C? Coalescing (pre-1998) version of C++?

--Eljay