Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Trading Journey
by howardR. 04/24/24 20:04
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (Quad, M_D, Ayumi, AndrewAMD), 783 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Using standard C libraries with Zorro? #471054
02/17/18 17:20
02/17/18 17:20
Joined: Sep 2017
Posts: 235
H
Hredot Offline OP
Member
Hredot  Offline OP
Member
H

Joined: Sep 2017
Posts: 235
How should I set up Zorro for using standard C libraries?
Just trying
Code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>


in the beginning of a file produces errors about missing dependencies.

Re: Using standard C libraries with Zorro? [Re: Hredot] #471060
02/17/18 20:39
02/17/18 20:39
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
I believe Lite-C isn't 100% compatible with C, so it might not work to try to include standard C libraries.

Instead, you can make your own DLLs with exported cdecl functions and import those functions in Zorro.

Nonetheless, some of the standard C library functions are available/replicated/"imitated". Check the Zorro manual for details.

Also, you can write Strategy DLL's and easily import any standard library you want with ease. There are drawbacks, though... it can be more complicated and time consuming, especially if you don't know what you're doing:
http://zorro-project.com/manual/en/dlls.htm

Re: Using standard C libraries with Zorro? [Re: AndrewAMD] #471062
02/18/18 01:51
02/18/18 01:51
Joined: Sep 2017
Posts: 235
H
Hredot Offline OP
Member
Hredot  Offline OP
Member
H

Joined: Sep 2017
Posts: 235
Thanks for the suggestion! I'll give it a try.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1