Reading MP3 information breaks...

This is a discussion on Reading MP3 information breaks... within the C++ Programming forums, part of the General Programming Boards category; This is my hole code:
Code:
#include <iostream>
#include <fstream>
#include <string>
using std::cout;
using std::cin;
using std::endl;
using std::string;
...

It could potentially be 1.1? Edit: that integer thing. It's a byte value that you're printing as a string. Edit: you're assigning a non-null terminated string to a std::string. It doesn't know where to stop. That data you're reading isn't guaranteed to be null-terminated, it just so happens that non-filled in data is zero filled.