hay i really need some help here.First i need to know how to have a live chat with someone. Can someone please give me the direction on how to do that?
kendell
0
Newbie Poster
Recommended Answers
Jump to Postdeclare an array (or vector) of strings to hold the original strings and a second array (or vector) to hold the 6 char strings. Use a loop to read the first 6 char of the originalString into sixCharString one at a time accesses each char using the 2 dimensional [][] …
Jump to Posti do not know anything about vectors.
That's okay. Arrays will work.
A brief explanation of vectors is that vectors are arrays that self expand as needed, unlike arrays that need to be hardcoded at compilation. Vectors work well if you like the syntax of arrays but don't know …
Jump to PostIf you put lines 1 and 3 in a loop and use an index variable instead of hardcoding 100 in line 3 it should work as long as everything is declared properly. You are skipping the step of storing the original input into an array as it's read from the …
All 10 Replies
kendell
0
Newbie Poster
Lerner
582
Nearly a Posting Maven
kendell
0
Newbie Poster
kendell
0
Newbie Poster
Lerner
582
Nearly a Posting Maven
kendell
0
Newbie Poster
Lerner
582
Nearly a Posting Maven
mariocatch
0
Junior Poster
kendell
0
Newbie Poster
Lerner
582
Nearly a Posting Maven
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.