PLEASE ALWAYS USE CODE TAGS (the <> formatting button), to the right of this box, when posting code. Along with the proper indenting it makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/ http://www.cplusplus.com/articles/z13hAqkS/ Hint: You can edit your post, highlight your code and press the <> formatting button. You can use the preview button at the bottom to see how it looks. I found the second link to be the most help. |
if (argc > = 4)
. This should be written as ">=", "<=" and "!=". With the space the compiler treats each operator separately.int TamFinal
and tamFinal
are considered two different variables.vData.push_back(read data);
I have not found where "read" and "data" are defined and the error says they are not defined. Also it looks like you are trying to put two separate variables into a vector that can only hold one variable per element. You need to explain what you are trying to do here.
|
|