Gamestudio Links
Zorro Links
Newest Posts
Zorro tutorial ideas?
by AndrewAMD. 06/13/26 15:01
Zorro 3.01 recoded MMI function issue
by 11honza11. 06/13/26 11:40
How to select between IB accounts by script?
by Jack_Zodiac. 06/12/26 23:17
Max Number of Strategies in /Strategy folder
by Martin_HH. 06/12/26 08:50
Stooq now requires an API key
by AndrewAMD. 06/11/26 17:55
Z9 getting Error 058
by k_ivan. 06/10/26 14:38
ZorroGPT
by TipmyPip. 06/10/26 13:07
Z12 live performance
by alx. 06/09/26 20:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 1,912 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 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: 28,101
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,101
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 | 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