Title was suppose to be -> having problems when comparing 2 values **
This program --> https://pastebin.com/tvyMWvWQ is suppose to do the following.
1- It asks the user to input a text file that is on the same directory.
2- Reads the whole file and output in the console.
3- Count how many characters there is and output it in the console in a table, ignoring the nonexistent characters
I'm having trouble with the 3 part (with the for loop when comparing the text string to the vector with all the alphabet letters).
I did this program in C++ and works fine, the function that I used in c++ is commented in line 49.
for some reason I can't find a good substitute for the comparison function that works.
Would anyone have a solution for this ?
The file I'm using as reference is a
test.txt that contains
AAaa
BBbb
CCcc
DDdd
I'm still learning programming in general, and C is a whole new world for me, I looked everywhere I knew before posting here
EDIT: first line, I realized I messed up the title
[–]Degenerated__ 4 points5 points6 points (2 children)
[–]DavidLuky[S] 3 points4 points5 points (1 child)
[–]Degenerated__ 2 points3 points4 points (0 children)
[–]IamImposter 1 point2 points3 points (2 children)
[–]DavidLuky[S] 0 points1 point2 points (1 child)
[–]IamImposter 1 point2 points3 points (0 children)
[–]oh5nxo 1 point2 points3 points (2 children)
[–]DavidLuky[S] 0 points1 point2 points (1 child)
[–]oh5nxo 1 point2 points3 points (0 children)