Code:
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
for(int x=0; x<10; x++)
{
cout << "int hat den wert", x, " ";
}
system("PAUSE");
return EXIT_SUCCESS;
}
Eigentlich will ich das er mir "int hat den wert 1,2,3,4,5,6,usw" ausgibt
aber er gibt mir nur
aus.int hat den wert int hat den wert int hat den wert int hat den wert int hat den wert
hab ich was falsch gemacht?