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
RHCSA, RHCE, AWS, Docker, Kubernetes Training
Sanjeewani95
Updated:
Tuesday at 10:28 AM
🛡️ Kaspersky Antivirus – 1 Year / 1 Device | Rs. 2,300 | Only 9 Left
KSPathirana
Updated:
Monday at 2:42 PM
Ad icon
Professional CCTV Installation Service
Techguy231
Updated:
Sep 6, 2026
Ad icon
I'll research & write an article - Rs. 2000 onwards
Blogerwiki
Updated:
Sep 3, 2026
House Plan
lenura
Updated:
Sep 2, 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
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom