Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/23/26 21:52
WFO Training with parallel cores Zorro64
by Martin_HH. 02/23/26 15:29
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 5,913 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 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 | 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