Hey guys i need some help, i started a program which checks in file for letters, digits and special characters but it seems i have some mistake because it only prints 0... Any help would be much appreciated! Here's my code:
Why do you include string if your not going to use it? How about you make char string[max_size] be std::string str; and then use getline to limite the amount of chars read? (std::getline(std::cin,str,100);)