I am developing a program that searches through a .mp3 file and extracts the IDE information and some other stuff after that but that is not my problem, I have managed to search and locate the information and whilst inputting the information into a struct the program is in fact reading the 3 bytes but when I am outputting it is showing 12. had my brother look at it too and he is lost.. any help would be appreciated
I mean you have to manually put in a terminator in the string. When you pass a char* to most C-string operations, they will only stop iterating until they find '\0'. By convention, '\0' marks the end of a C-string.
it is reading and I can display it through iteration.. however when I use cout << ide.header << endl; it is displaying a blank.. could it be a problem in the cout function?