0
Even tho I type the function correctly my compiler doesn't show some of them in output
compiler does not sent any error message tho
5 ответов
+ 2
I commented what needs to be changed for it to run.
#include <iostream>
using namespace std;
void line();//okay
int main(){
//need quotation marks
cout<<"hello world"<<endl;
//don't need return type
line();
return 0;
}
//needs to be void line()
//and needs quotation marks
void line() {
cout<<"——————————"<<endl;
}
+ 4
Hello Zed Mleh , which programming language are you speaking of, and can you please provide your code with this function?
+ 2
Coding language please?
And the function definitions?
Zed Mleh
+ 2
c++ for example:
#include <iostream>
using namespace std;
void line();
int main(){
cout<<hello world<<endl;
void line();
return 0;
}
void(){
cout<<——————————<<endl;
}
+ 1
void line() , message()