+ 1
Compilation error
my program: tafels has a compilation error. Why is this happening?
4 Respostas
+ 4
Please link code, when asking questions.
https://code.sololearn.com/cHFmTZbx8hEI/?ref=app
You prompt and read like this:
cout << "prompt";
cin >> n;
+ 4
new line is \n not /n
teller isn't changed in loop so will never stop
+ 4
You still have to change this, like John already said:
cout << "Welke tafel wil je zien? \n";
cin >> tafel;
+ 2
Thank you! Now it works!