Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/20/26 15:57
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Grant), 3,476 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
juergenwue, VladMak, Geir, ondrej, mredit
19208 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