F&A Diskussionen
if i download the programs for c++ on my pc ( codebuilds and the compiler ) and i want to write a program in my package ( workspace ) i create a new file and write smthing beginning
#include <iostream>
using namespace std;
int main ()
{
...
}
and i want to run it, it always runs this first program : Hello World. and not my written program how can i run just my written program ?
have i maybe to write anything else as
int main () {} ?
0 Stimmen
16 AntwortenSwitch slower than if-else
0 Stimmen
1 AntwortC++ Output question
1 Stimme
1 AntwortIf...elif...else
1 Stimme
1 Antwortusing 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 Antwortenwhy my code is not working?
0 Stimmen
2 AntwortenJavaScript Question
0 Stimmen
2 AntwortenWhich language is need?
0 Stimmen
1 AntwortWhy not working
-4 Stimmen
4 AntwortenHeute heiß
Sticky position
3 Votes
Help please?
3 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
SQL practice
2 Votes