Thread C++ Prüfen ob Variable definiert? (9 answers)
Opened by BratHering at 2006-05-25 19:46

esskar
 2006-05-26 15:04
#11375 #11375
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
vorschlag

Code: (dl )
1
2
3
4
5
6
7
8
9
10
#include <iostream>
int main(void)
{
int array[10] = {1,2,3,4,5,6,7,8,9,0};

for(int i = 0; i < sizeof(array) / sizeof(int); i++)
std::cout << array[i] << std::endl;

return 0;
}

View full thread C++ Prüfen ob Variable definiert?