By: fatin_ferrari
Hi everyone! I built up my own code, 2 ways but one of them didn’t work The 1st code-run successfully ——————————- //io.cpp #include int ReadNumber() { using namespace std; cout<> j; return j; }...
View ArticleBy: jki394
This is what I got… Would this also be considered correct? #include using namespace std; int readNumber() { cout <> x; cout <> y; } void writeAnswer(int x; int y) { cout << x + y; }...
View ArticleBy: The_Femo
I don’t know whats wrong…I did the quiz…didn’t work……I even copied and pasted the info and got this error >Testing.obj : error LNK2019: unresolved external symbol “void __cdecl WriteAnswer(int)”...
View ArticleBy: John Fiala
Hey Brad. I realize you posted this a year ago, but it’s a pretty high-up comment and I had the same question. Here’s an answer I found on stack overflow:...
View ArticleBy: adeater
What does it mean when “[Error] ld returned 1 exit status” ? I’m stuck at this point. I don’t know how to link these source files to run the program. Even if I copy and paste this exactly the same code...
View ArticleBy: Alam
Hello everyone.i did the quiz as below but it gives an error.let me copy it here and the error it gives #include “stdafx.h” #include int RealNumber() { using namespace std; cout <> x; } void...
View ArticleBy: rameye
Make sure that you have io.cpp included into your IDE project, or it will not be included in the build and compiled. If io.cpp is not compiled there will be no object file containing the io.cpp...
View ArticleBy: rameye
Well you have to realize that other programmers may be including your header file also, and they probably already included iostream and set namespace to std in their .cpp file. So doing it for them in...
View ArticleBy: rameye
A forward declaration is the function definition without the function body. It tells return type, function name, and the number of and type of the function parameters. When you call the function after...
View Article
More Pages to Explore .....