🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Ori Dvir Sun, 17 Nov 1996 00:00
Parse error?
#6149
Author: Ori Dvir
Date: Sun, 17 Nov 1996 00:00
25 lines
772 bytes
Hi,

I have a problem of parsing:
when i compile this file :

main(){
int a;
a = 0x2e+0;
}

>gcc t.c

I get :

t.c: In function `main':
t.c:6: garbage at end of number

The expresion should stand for: 0x2e + 0 ( hex + decimal ).

I'm using gcc version 2.7.2 on Sun meachines.

Thanks,
Ori dvir :  orid@taux01.nsc.com.il
 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads