Mail Archives: djgpp/2000/05/02/16:14:52
Simple. printf is with the stdio.h header file. Cin or cout are used with
iostream
-----Original Message-----
From: Federici Alberto [mailto:alberto_fed AT hotmail DOT com]
Sent: Tuesday, May 02, 2000 2:30 PM
To: djgpp AT delorie DOT com
Subject: Problems with DJGPP
Dear "Gurus",
J download the djgpp files and unzipped, but J don't be able
to compile anything: with your example in the Faq, Hello, when J compile it,
on screen appear these messages: "'#include expects "FILENAME" or
<FILENAME>; now J complete with <iostream> and on screen appear the
message:"Error: implicit declaration of function 'int printf (...)'.What can
J do?
The files that J downloads are:
-csdpmi4b
-csdpmi4s
-djdev203
-faq211b
-gcc2952b
-gpp2952b
-lgp2952b
-rhide14b
-rhide14s
-txi312b
With the go32 -v32 on screen appear DPMI memory available:80875 kb
DPMI swap space
available:46853 kb
My autoexec.bat is:
SET BLASTER=A220 I7 D1 H7 P330 T6
SET SBPCI=C:\SBPCI
SET CTCM=C:\CTCM
rem - By Windows Setup - C:\WINDOWS\COMMAND\MSCDEX /D:MSCD001 /M:8
SET SOUND=C:\PROGRA~1\CREATIVE\CTSND
SET MIDI=SYNTH:1 MAP:E MODE:0
C:\CTCM\CTCU /S
rem C:\WINDOWS\COMMAND\MSCDEX.EXE /D:SSCD000 /M:10
@ECHO OFF
PROMPT $p$g
PATH
C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS.000;C:\WINDOWS.000\COMMAND;C:\DOS;C
:\PROGRA~2\ULTRAE~1
SET TEMP=C:\DOS
REM Added by the 3Dfx display properties control panel.
REM Please don't modify
call C:\WINDOWS\glideenv.bat
mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850
keyb it,,C:\WINDOWS\COMMAND\keyboard.sys
set PATH=C:\DJGPP\BIN;%PATH%
set DJGPP=C:\DJGPP\DJGPP.ENV
J'm sorry for my eventual english mistakes, but not a champion in languages
(if there's an italian "guru" between You, tell me his adress).
Waiting your answer J say CIAO!
- Raw text -