Gamestudio Links
Zorro Links
Newest Posts
How to buy tomorrow at open?
by frutza. 06/01/23 19:58
Adding Position to Current Trade
by AndrewAMD. 05/30/23 10:34
Unable to change multiplier of contract
by vicknick. 05/30/23 06:56
Wrong Definition of Sharpe Ratio in Zorro?
by vicknick. 05/29/23 06:32
Backtest strategy on bitcoin/crypto
by JamesHH. 05/26/23 04:36
Return type of floor()
by AndrewAMD. 05/25/23 14:17
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (AndrewAMD), 1,065 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
BInnacle, androsa, XquicksnowX, danishinvest, Trail
18942 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
matrix operations in Litec, need help #177276
01/10/08 09:25
01/10/08 09:25
Joined: Dec 2007
Posts: 1
M
mahdi_rezaei Offline OP
Guest
mahdi_rezaei  Offline OP
Guest
M

Joined: Dec 2007
Posts: 1
Hi dear friends
I have a big problem in using 3dgs.
I wrote a simple code to work with Arrays and Matrices:

#include <acknex.h>
#include <default.h>
var m[3];

main()
{

m = {1, 2, 3};

}

but when I run it, an error message appears.
why? this is a very simple code in Litc-c but it dosen't work.

I need help for this to continue programming my flight simulator
with real flight equations of motion.

Regards

arrays in lite-c
single choice
Votes accepted starting: 01/10/08 09:24
Re: matrix operations in Litec, need help [Re: mahdi_rezaei] #177277
01/10/08 10:23
01/10/08 10:23
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
i voted for 1 (edit: hey wtf)

try this:
#include <acknex.h>
#include <default.c>
var m[3] = {1, 2, 3};

void main()
{

}

Last edited by ello; 01/10/08 11:54.

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