Q&A Discussions
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 Votes
16 AnswersSwitch slower than if-else
0 Votes
1 AnswerC++ Output question
1 Vote
1 AnswerIf...elif...else
1 Vote
1 Answerwhy my code is not working?
0 Votes
2 Answersusing 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 Votes
3 AnswersJavaScript Question
0 Votes
2 AnswersWhich language is need?
0 Votes
1 AnswerWhy not working
-4 Votes
4 AnswersHot today
OOP python questions
1 Votes
What's wrong with my code?
1 Votes
What is a web browser intension?
1 Votes
Python loops
1 Votes
Web page
1 Votes
Percobaan
0 Votes
Mentors
0 Votes
Codding lern
0 Votes