Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void printInt(int toPrint){
- std::cout << toPrint << std::endl;
- }
- int tablicaIntow[10];
- //i teraz
- for (int i = 0; i != tablicaIntow.size(); i++)
- {
- printInt(tablicaIntow[i]);
- }
- // to to samo co
- foreach (int dowolnyInt in tablicaIntow){
- printInt(dowolnyInt);
- }
Advertisement
Add Comment
Please, Sign In to add comment