|
I just re-created the code (without any extra)...
inline.h
#pragma once
inline void function01()
{
}
main.h
#pragma once
#include "inline.h"
main.cpp
#include "main.h"
int main()
{
}
function01();
Got two very clear errors:
E0311 cannot overload functions distinguished by return type alone -> inline.h 3
E0260 explicit type is missing ('int' assumed) -> main.cpp 7
The problem is that C++ is not JavaScript... That function01(); is not a function call but a definition (a re-definition)...
Moving it inside main() (or any other method) will fix any problem...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: #include "main.h"
int main()
{
function01(); // line XXX
}
function01();
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
|
But darling, your car was blocking the garage.
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Sorry, I couldn't see it well. Something was on the road blocking my view...
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
A neo-classic drive-in movie theater.
The best way to improve Windows is run it on a Mac.
The best way to bring a Mac to its knees is to run Windows on it.
~ my brother Jeff
|
|
|
|
|
Is that the first British attempt at a Drive Thru window at a fast food joint?
You might want to check out how the rest of the world does it...
Socialism is the Axe Body Spray of political ideologies: It never does what it claims to do, but people too young to know better keep buying it anyway. (Glenn Reynolds)
|
|
|
|
|
Here's a quick one:
One may fail to explore Earth (8)
[EDIT]
The answer is: EXAMINEE (charade)
explore - EXAMINE
EARTH - E
one may fail - EXAMINEE (definition part)
You have just been Sharapova'd.
modified 14-Feb-19 23:41pm.
|
|
|
|
|
Be ready for Tomorrow!!
I have no idea how to start..
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|
|
And the answer is ?
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Well, you are up again tomorrow - And I'm glad to see I wasn't the only one with absolutely no idea what the solution was ... what was it?
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
What was the answer?
This space for rent
|
|
|
|
|
He's very quiet isn't he ?
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Probably still working on it.
If I suggest SKYGAZER can we move on?
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
Is the right answer - you are up today
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Dilbert OTD: Meeting Robot's Son[^]
... that's a normal teenager ...
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Your definition of 'normal' is extremely abnormal...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
Have you met modern teenagers?
We have a Seventeen living next door: he knows everything, communicates in grunts, just passed his driving test (so he is now Michael Schumacher, natch). Other day, I'm clearing ice off the car, for it is -8C and Herself is due at work. He comes out - in shorts and a T-Shirt - to move his car so his mother can get hers out. Does he clear the windows at all? Nope, he drives by sonar from his car music system ... And he's "pretty normal"
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: Have you met modern teenagers?
I have a few in the making living in the rooms on the other side of the house...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
Ah, the memories ...
Quote: When I was seventeen
It was a very good year
It was a very good year for small town girls
And soft summer nights
We'd hide from the lights
On the village green
When I was seventeen
|
|
|
|
|
OriginalGriff wrote: Have you met modern teenagers? What for? I always was my own teenager. I also have that sonar, but heavier and more metaly than what's common today and does the phrase 'Hier fährt der Henker noch selbst' tell you anything? I had that as a bumper sticker on my first car.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
modified 6-Feb-19 5:26am.
|
|
|
|
|
YOLO!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
It's certainly not the one I'm looking for.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
22. Lake accepting wager? (5)
|
|
|
|
|
I said, Sorry, I don't tell jokes.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|