¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuitaSesiones de PyR
Mailto in HTML
1 Voto
1 RespuestaNODEMON ERROR!!
-3 Votos
1 RespuestaMy code doesnt work.
0 Votos
2 RespuestasWhat ever I learned here most of the things are not working in turbo c++ ? i.e . instead of iostrem I have to write iostream. h . why is this so?? also it is not accepting this- using namespace std;
. and also not accepting return 0; . Please help me iam really confused. Thanks :)
0 Votos
5 RespuestasПомогите сделать сайт!!!
0 Votos
1 Respuestacan someone please explain why this code keeps telling me complication error instead of outputting the value of speed.
#include <iostream>
using namespace std;
class myClass {
public:
void setcarspeed (int a){
speed=a;
}
int getcarspeed(){
return speed;
}
private:
int speed;
};
int main() {
myClass obj;
obj.setcarspeed (40);
cout<<obj.getcarspeed ;
return 0;
}
2 Votos
3 RespuestasMoving characters
0 Votos
1 RespuestaEn tendencia hoy
Is the AI course worth the $49?
0 Votes
Notifications
6 Votes
Where to use
0 Votes
Coding path
0 Votes
How to win bits
1 Votes