Horje
compare values within within a vector c++ Code Example
compare values within within a vector c++
for (unsigned int i = 1; i < myVector.size(); i++) 
{
    if (myVector[i].size() == myVector[i-1].size()) // .size() should be used
    {
        cout << "SAME SIZE" << endl;
    }
}




Cpp

Related
cpp template Code Example cpp template Code Example
string to vector char c++ Code Example string to vector char c++ Code Example
c++ write to file in directory Code Example c++ write to file in directory Code Example
how to run cpp using gcc vscode Code Example how to run cpp using gcc vscode Code Example
how to get window size sfml Code Example how to get window size sfml Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9