Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Linear Mode
Amount of items in an array.
RajatPawar
High-roller
Posts: 2,187
Threads: 81
Joined: Aug 2011
Reputation:
0
#4
18.06.2015, 11:43
pawn Код:
new
arr
[
]
[
]
=
{
{
1
,
2
,
3
,
4
}
,
{
3
,
4
,
6
,
6
}
}
;
printf
(
"%d %d"
,
sizeof
(
arr
)
,
sizeof
(
arr
[
]
)
)
;
Gave me results as 2 & 4.
Why didn't it work with yours?
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Amount of items in an array.
- by
Jimmy0wns
- 18.06.2015, 08:47
Re: Amount of items in an array.
- by
Darrenr
- 18.06.2015, 10:52
Re: Amount of items in an array.
- by
Jimmy0wns
- 18.06.2015, 11:10
Re: Amount of items in an array.
- by
RajatPawar
- 18.06.2015, 11:43
Re: Amount of items in an array.
- by
Jimmy0wns
- 18.06.2015, 11:45
Re: Amount of items in an array.
- by
Jimmy0wns
- 18.06.2015, 12:06
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 2 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help