hey. i don't know why that when i call my function inside the switch statement nothing happened , I don't know where exactly the error, im talking about the function "insertCard " , because when I prompt the command "I" i get "invalid command" instead of calling the "insertCard" function , can someone help me plz
thank you
You need to pass c into read_command as a pointer if you want to use it in your main.
at the moment it's making a copy.
here is my compiler's massive hint to me when I build:
1 2
(22): error C4700: uninitialized local variable 'c' used
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========