Hi, I've this code and I don't know how fix the Error: Member function must be called or its address taken in function main():
plz.help.meCode:#include <iostream> #include <fstream> #include <ostream> using namespace std; struct box { high; width; diagonal; }; int main() { int i; int j; box make[8][8]; ofstream thing ("sample.xxx", ios::out | ios::binary); thing.write << make[i][j] = 128; // Here is error }




Reply With Quote