Re: [Dev-C++] undefined reference to flushall
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ho...> - 2003-03-04 22:54:04
|
-------Original Message-------=0D
=0D
From: Andr=E9 Mac=E1rio Barros=0D
Date: =D4=E5=F4=DC=F1=F4=E7, 5 =CC=DC=F1=F4=E9=EF=F2 2003 12:27:42 =F0=EC=
=0D
To: Dev-Cpp-Users=0D
Subject: [Dev-C++] undefined reference to flushall=0D
=0D
I=B4m with the following problem:=0D
=0D
1.consider the following piece of C code:=0D
#include <stdio.h>=0D
=2E..=0D
int main()=0D
{=0D
=2E..=0D
flushall();=0D
}=0D
=0D
2. When I try to compile, the following message box appears to me:=0D
=0D
C:\XXX\XXX\CONFIG~1\Temp\cceubaaa.o(.text+0x338):clinic~3.c: undefined=0D
reference to `flushall'=0D
=0D
3. The same code works fine inside v.2.01 Borland TC=0D
=0D
=0D
=0D
=3D=3D> That's a system extension. On the other hand, fflush(NULL); is St=
andard
C and is portable.=0D
=0D
=0D
Ioannis Vranos=0D
=0D
* Programming pages: http://www.noicys.freeurl.com=0D
* Alternative URL: http://run.to/noicys=20 |