Register
Log In
Forums
Starting with Zorro
Declare an Array
Forums
Calendar
Active Threads
Search
Forum Help
Gamestudio Links
► Features
► Download
► Online Tutorial
► Free Resources
Zorro Links
► Download
► Online Manual
► Online Tutorial
► Blog
► Support
► What's New?
Newest Posts
ZorroGPT
by TipmyPip. 10/13/26 17:08
When Close zorro with (CTRL+ALT+SUP) shares position is lost
by mistery. 10/13/26 14:31
Alternative to Stooq for Zorro S
by cwford. 10/09/26 21:13
Stooq now requires an API key
by cwford. 10/08/26 23:27
♪♫♪ [For hire] VOLKOVSTUDIO - Music, SFX, Voice over, implementa
by Volkovstudio. 10/08/26 13:53
Didn't Receive Subscription Key after Purchasing Zorro
by AndrewAMD. 10/05/26 16:36
Purchase A8 full licence version
by jcl. 10/05/26 12:12
Alice1 (Black Book) – missing weekend-open bars in H1, results c
by jcl. 10/05/26 12:02
AUM Magazine
Latest Screens
Who's Online Now
2 registered members (
TipmyPip
,
VoroneTZ
), 20,188 guests, and 0 spiders.
Key:
Admin
,
Global Mod
,
Mod
Newest Members
JimSimons
,
julienp
,
julienper
,
KelleyAbbey
,
Yopachi
19246 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Re: Declare an Array
[
Re: oligodar
]
#467327
07/26/17
14:42
07/26/17
14:42
Joined:
Jul 2000
Posts: 28,140
Frankfurt
jcl
Chief Engineer
jcl
Chief Engineer
Joined:
Jul 2000
Posts: 28,140
Frankfurt
A static array size cannot be a variable. If you don't know beforehand the size of your array, you must allocate a dynamic array, like this:
int *myArray = (int*)malloc(howManyItems*sizeof(int));.
Entire Thread
Subject
Posted By
Posted
Declare an Array
oligodar
07/26/17
09:22
Re: Declare an Array
jcl
07/26/17
14:42
Re: Declare an Array
Smon
12/20/17
10:04
Re: Declare an Array
Brax
12/20/17
11:18
Re: Declare an Array
Smon
12/20/17
12:27
Re: Declare an Array
jcl
12/20/17
13:45
Re: Declare an Array
Smon
12/20/17
16:44
Re: Declare an Array
Smon
12/20/17
17:00
Re: Declare an Array
jcl
12/21/17
07:21
Moderated by
Petra
Hop To
Gamestudio ------
Starting with Gamestudio
Atari lite-C
Editors & Templates
A8 Engine
Shaders
Third Party Tools
Acknex Users Magazine
The Past
The Future
Zorro ------
Starting with Zorro
Educational
Automated Trading
Zorro Scripts
RangerZ & Z Systems
Zorro and the Brokers
Zorro Future
Feedback ------
Bug Hunt
Blame the Manual
Ask the Developers
Updates & Announcements
Rants
Game Creation ------
Game Design & Business
Jobs Wanted
Jobs Offered
User Resources
Projects
Showcase
Beyond Games & Money ------
Hilbert's Hotel
Morbius' Virtual Answering Machine
Print Thread
Switch to Flat Mode
5
Excellent
4
Good
3
Average
2
Bad
1
Terrible
View Profile
Send Private Message
View Homepage
Follow User
Show Forum Posts
Default Style
gamestudio
UBBT77
UBBT77 - Dark2
Forum Rules
·
Mark All Read
·
Powered by UBB.threads™ PHP Forum Software 7.7.1