Mailing List Archive


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

Re: [tlug] Getting back into C programming



On ç, 2006-12-05 at 08:34 +0900, Josh Glover wrote:
> test-thresh.c:28: error: expected ';', ',' or ')' before '&' token
> > test-thresh.c:77: error: expected ';', ',' or ')' before '&' token
> 
> Let me guess, you are invoking gcc on this, right? Try g++.
> 
> References are a C++ thing, and do not compile in C.

Ah, yes! g++ does it. I'm still getting the same random number from each
call instead of a sequence, but that's another problem.

Thanks!
-- 
Stuart Luppescu -=-=- s-luppescu <AT> uchicago <DOT> edu
CCSR at U of C ,.;-*^*-;.,  ccsr.uchicago.edu
     (^_^)/    ææãæåçãç
Thank God I'm an atheist!

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links