![]() |
[c++] effe een probeempje
ik ben nog steeds bezig en ik zag een opdracht die je kon maken als oefening voor beginner. dus ik maakte dit maar nu krijg ik een aantal errors bij het compilen :confused:
PHP-code:
ow ennuh dit krijg ik als error 9 hello.cpp `count' undeclared (first use this function) 9 hello.cpp (Each undeclared identifier is reported only once 9 hello.cpp for each function it appears in.) 11 hello.cpp initializing non-const `bool &' with `void *' will use a temporary 217 c:\dev-c_~1\include\iostream.h in passing argument 1 of `istream::operator >>(bool &)' ( ik heb niet eens 217 regels :confused: ) 11 hello.cpp parse error before `<' |
is iedereen dood of zo :(
|
Citaat:
|
Citaat:
|
heb het al opgeost
|
Citaat:
|
Citaat:
count << "Voer twee nummers in.\nDe eerste: "; ipv cout << "Voer twee nummers in.\nDe eerste: "; en cin >> firstNumber ipv cin >> firstNumber; :D |
het stond zelfs in je post erbij..
count' undeclared :eek: |
Alle tijden zijn GMT +1. Het is nu 00:20. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.