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 AnswersThe code shown below in the description runs here when I try it, but when I wrote it on code blocks it gave me 5 errors..
1. expected imitializer before '<' token. (line 19).
2. reference to 'pair' is ambiguous. (line 26).
3. expected primary-expression before double. (line 26).
4. expected ';' before 'double'. (line 26).
5. 'obj' was not declared in this scope. (line 27).
Any help please? 
 0 Votes
 5 AnswersHot today
Beginner question
 0 Votes
I need help to solve this
 0 Votes
Remove
 0 Votes
Project
 0 Votes
Engineer Cloud
 0 Votes
Lua?
 1 Votes