GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: Add Line Numbers


input file error by princess choadstool
//input file  = 
// 3
//101



fin >> b;
vector<int> message(b,7);
fin >> message;



//error:C:\Documents and Settings\Sami\Desktop\hw1\hw1.cpp(26) : error //C2679: binary '>>' : no operator defined which takes a right-hand operand of //type 'class std::vector<int,class std::allocator<int> >' (or there is no //acceptable conversion)