hello i am sort of new to c++ but i know about arrays and all that sort of stuff. I want to creat a program that calculate string like aaaa then aaab but for this I'm thinking i would need 4 arrays and alternate the 4th array to count up? not to sure if it would work like that just an idea. I'm not concerned with the output to the text file just yet that will be easy. do i need multiple arrays or could i use one multiple time and alternate them? thanks
No, there is always a zero at the end of a C style string, which is an array of char with a zero value after the last character that you care about. It's how you indicate that the string has finished. Without it, it's not a C style string - it's just an array of char