string output optimized
This commit is contained in:
@@ -99,7 +99,8 @@ main(int argc, char *argv[])
|
||||
|
||||
ostringstream oss("");
|
||||
for (int temp = 0; temp < NumCards; temp++)
|
||||
cout << cardsArray[temp] << ",";
|
||||
if(temp > 0) cout << ","
|
||||
cout << cardsArray[temp];
|
||||
cout << endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user