Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Pure VPN - Up to 27 Months
vgp
Updated:
Friday at 8:10 AM
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
May 30, 2026
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Problems and Troubleshooting
C++ Help for Array
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="rokie" data-source="post: 12581801" data-attributes="member: 26014"><p>yeah Dynamic Array initializing is the most safest way to your question</p><p></p><p>but your second condition has a problem</p><p>it is that </p><p>you've told that u don't know which values you've going to input </p><p></p><p>in concept of initializing arrays you must know which types of values that u going to enter to your array that means the type (int ,String ,unint, binary etc)-- i am Not a professional in c++ but I've qualified in J2SE platform very much.</p><p></p><p>I don't think that there are much more variations in java and c++ either.......</p><p>But initializing variables which u don't know where it is situated in the nameSpace won't be a good thing in programing ....</p><p>don't worry u'll learn eventually.......... the types of variables </p><p></p><p>in your case initializing the 'count' variable is must it is a good behavior that you've assigned a very big number to it............</p><p></p><p>imagine that you've entered a length of 1000001 values into the array </p><p>what else can u do ??????????????????</p></blockquote><p></p>
[QUOTE="rokie, post: 12581801, member: 26014"] yeah Dynamic Array initializing is the most safest way to your question but your second condition has a problem it is that you've told that u don't know which values you've going to input in concept of initializing arrays you must know which types of values that u going to enter to your array that means the type (int ,String ,unint, binary etc)-- i am Not a professional in c++ but I've qualified in J2SE platform very much. I don't think that there are much more variations in java and c++ either....... But initializing variables which u don't know where it is situated in the nameSpace won't be a good thing in programing .... don't worry u'll learn eventually.......... the types of variables in your case initializing the 'count' variable is must it is a good behavior that you've assigned a very big number to it............ imagine that you've entered a length of 1000001 values into the array what else can u do ?????????????????? [/QUOTE]
Insert quotes…
Verification
Haya warak paha keeyada? (haya wadi kireema paha)
Post reply
Top
Bottom