|
From: | Bruce Lilly |
Subject: | Re: Flex 2.5.23 beta and C++ |
Date: | Tue, 22 Oct 2002 10:55:14 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910 |
Hans Aberg wrote:
At 09:29 -0400 2002/10/22, W. L. Estes wrote:Um, I thought that functions like exit() and such worked under c++?No, they do not exist! -- Those that exist are called std::exit, etc. Probably implemented on all C++ compilers by now.
Have you tried using namespace std; which only needs to appear once near the top of the file, (and only for C++) which is aimpler and less ugly than either std:: everywhere or macro hacking.
[Prev in Thread] | Current Thread | [Next in Thread] |