for example my array is test[10],
and i want to clear 2 of the 10 memory, how to do that??
tech9x 0 Light Poster
Recommended Answers
Jump to PostUse a loop check to see if a given value in the array matches the data you are looking for (or meets a certain criterion). Then set that value to zero or something appropriate to that particular array (so if it's a string array, set it to space or something.
All 4 Replies
Isaac Remuant 40 Newbie Poster
tech9x 0 Light Poster
jonsca 1,059 Quantitative Phrenologist Team Colleague Featured Poster
tech9x 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.