Yeah, I know, I was just messing around attempting to find a way to make it do something I wanted..
1 2 3 4 5 6
|
for (char i = 97; i<=122 ; i++){
int x = 0;
cout<< i<<" = "<<counter[x]<<endl;
x++;
}
|
is supposed to show a-z the lower case characters which in ASCII is 97-122
I have to have those as my required output and yeah the 2nd loops I'm just stuck .
I'm currently looking at your hint so I'll get backto you with an"Edit" soon (: Ty !
Uh I'm pretty sure that loop is messed up too. I'm just so confused about "design" of a specific code
Dang ;-; Seems like I had to Edit sooner than I thought
I tried doing tolower earlier but I didn't know where in my function to put it. and I already stored characters into character[100] array if you look before
char character[100];
and I stored the random characters in there with whatever output x numbers I put
K, I'll check back at this in a bit , I'll just be doodling with my code and try to put your words into sense in my mind at 6 AM ^-^ . Thanks for the help though . I appreciate it :D .
Another edit:
1 2
|
if (character[p] == AZ || character [p] == atoz)
tolower(character[p]);
|
Is this what you meant? I don't know how to check if it changed everything correctly X_O .
OMG. Edit again: I'm sorry! I just noticed you used the for loop let just try that ... I'm slow, sorry, please bear/bare? with me D:!
Also, would it help if I gave you the link of the full requirements and such? o-o