c++ - Error: No operator << matches these operands? -


i practicing c++ (trying leave java), , stumbled on annoying error saying:error: no operater << matches these operands. i've searched website clear answer , no luck, did find i'm not one.

this error in .cpp file, there other errors, i'm not paying mind them right now.

void namedstorm::displayoutput(namedstorm storm[]){     for(int = 0; < sizeof(storm); i++){         cout << storm[i] << "\n";     } } 

something "<<" im not sure whats going on.

since trying cout class object need overload <<

std::ostream& operator<<(ostream& out, const namedstorm& namedstorm) 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -