F&A Diskussionen
arrays
0 Stimmen
3 AntwortenError Spam In C# Generics
8 Stimmen
1 AntwortIncrement question
2 Stimmen
1 Antwortcan 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 Stimmen
3 Antwortenusing 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 Stimmen
3 AntwortenCreat table for studen
0 Stimmen
1 AntwortJava programming loop statements
0 Stimmen
2 AntwortenI 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 Stimmen
2 AntwortenHeute heiß
Mentor rank
3 Votes
Why does it disappear?
0 Votes
∞♥
2 Votes
HTML
1 Votes
Code in c++ to do
0 Votes
Web development
1 Votes
Learning
0 Votes
Ayuda
0 Votes