Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
FILE *fp; fp = fopen(); ... #112786
02/20/07 09:45
02/20/07 09:45
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
has anyone tried to use the standard c input/output functions already? like fopen, fprintf, fclose,...?

they don't seem to work out of the box and i thought i better ask here first if someone already used them before trying to figure it out myself.

i guess my first problem is that i don't seem to have stdio.h anywhere...

Re: FILE *fp; fp = fopen(); ... [Re: ventilator] #112787
02/20/07 10:40
02/20/07 10:40
Joined: Nov 2003
Posts: 108
Oklahoma, USA
FixxeR Offline
Member
FixxeR  Offline
Member

Joined: Nov 2003
Posts: 108
Oklahoma, USA
I tried, but also couldn't get it to work. But, to be honest, I didn't really look for why it wasn't working. I'll snoop around and see if it's in the pre-existing headers/sourcefiles. If not, I'll see if I can write one.

FixxeR


John Dies at the End - One of the best fictional stories online. Join the fight for Internet Freedom
Re: FILE *fp; fp = fopen(); ... [Re: FixxeR] #112788
02/20/07 11:38
02/20/07 11:38
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline
User
sheefo  Offline
User

Joined: Jul 2006
Posts: 783
London, UK
I noticed these functions didn't work. I use a DLL for that. It would be easier if Lite-C supported this.

Re: FILE *fp; fp = fopen(); ... [Re: sheefo] #112789
02/20/07 15:54
02/20/07 15:54
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
By default, the FILE type and functions are not activated because of lite-C's own file functions. But of course you can add them easily. Lite-C supports all C library and Windows API functions. Here's a description how to add any function you want:

http://manual.conitec.net/litec_c.htm




Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1