¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuitaSesiones de PyR
arrays
0 Votos
3 RespuestasError Spam In C# Generics
8 Votos
1 RespuestaIncrement question
2 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 Respuestasusing System;
namespace GoodProgrammerTest
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter Yes or No");
Console.Write(
"Do you programme every day? : ") ;
int answer = Console.ReadLine();
if (answer =="Yes")
{
Console.WriteLine(
"You will be a good programmer");
}
else
{
Console.WriteLine(
"You will not be a good programmer");
}
}
}
}
2 Votos
3 RespuestasCreat table for studen
0 Votos
1 RespuestaI want write once program but I can't!, if we write "cout<<"Hello world" ; in a console we can see momental"hello world" and nothing, but now I want see hello world like a gif animation, every letters must be showing step by step, first "H" second "e" and "l" all letters step by step in every sek time, it's possible?, excuse me I am Russian.
0 Votos
2 RespuestasEn 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