[Top][All Lists]

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

Bewildering '.oct' file behaviour

From: Dirk Eddelbuettel
Subject: Bewildering '.oct' file behaviour
Date: Mon, 22 Mar 1999 21:19:11 -0500 (EST)

Did you declare the C function correctly? To link plain C from C++, you need
to a 'extern "C"' declaration as here:

extern "C" {                    // include as C 
  void seedMT(uint32 seed);
  inline uint32 randomMT(void);

If the current stylistic distinctions between  open-source and commercial
software persist,  an open-software  revolution could lead to yet another
divide between haves and have-nots: those with the skills and connections 
to make  use of free  software,  and those  who must pay high  prices for
increasingly dated commercial offerings.           -- Scientific American

reply via email to

[Prev in Thread] Current Thread [Next in Thread]