How can I create array of floating point numbers in Objective-C?
Is it possible?
How can I create array of floating point numbers in Objective-C? Is it possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can create a dynamic array (size decided at runtime, not compile time) in different ways, depending on the language you wish to use:
Objective-C
or, if you want to change it after creating it, use an
NSMutableArray:Or using the new-ish Objective-C literals syntax:
C
C++ / Objective-C++