Hi everyone need urgent help please!
Im simulating a processors cache and memory system in c++, (final year uni c/w)
now i have a 2d vector that represents my physical cache, coloums represent words of cache and rows represent the index from a read in trace value.
Whats happening is, the function reads in a string called data this is an 8 char long hex value.
this string is then put in cache location cachearr[columns][rows];
now if i try and read that back to the win32 console application after just writing it, I get a stupid smiley face and no data.
Please help!!!!
Im simulating a processors cache and memory system in c++, (final year uni c/w)
now i have a 2d vector that represents my physical cache, coloums represent words of cache and rows represent the index from a read in trace value.
Whats happening is, the function reads in a string called data this is an 8 char long hex value.
this string is then put in cache location cachearr[columns][rows];
now if i try and read that back to the win32 console application after just writing it, I get a stupid smiley face and no data.
Please help!!!!
