Click here to Skip to main content
15,499,571 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Is main() a callback function? Pin
honey the codewitch22-Jan-20 7:23
mvahoney the codewitch22-Jan-20 7:23 
GeneralRe: Is main() a callback function? Pin
TheGreatAndPowerfulOz22-Jan-20 11:18
MemberTheGreatAndPowerfulOz22-Jan-20 11:18 
GeneralRe: Is main() a callback function? Pin
honey the codewitch22-Jan-20 11:53
mvahoney the codewitch22-Jan-20 11:53 
GeneralRe: Is main() a callback function? Pin
TheGreatAndPowerfulOz22-Jan-20 12:12
MemberTheGreatAndPowerfulOz22-Jan-20 12:12 
GeneralRe: Is main() a callback function? Pin
honey the codewitch22-Jan-20 12:35
mvahoney the codewitch22-Jan-20 12:35 
GeneralRe: Is main() a callback function? Pin
TheGreatAndPowerfulOz23-Jan-20 5:29
MemberTheGreatAndPowerfulOz23-Jan-20 5:29 
GeneralRe: Is main() a callback function? Pin
raddevus22-Jan-20 6:14
mvaraddevus22-Jan-20 6:14 
GeneralRe: Is main() a callback function? Pin
Rob Philpott22-Jan-20 6:21
MemberRob Philpott22-Jan-20 6:21 
Just pondering it really. Yes, I meant in effect it was called from the OS. Must admit I didn't know you couldn't call main() yourself - obviously never tried. Or quite possibly forgotten.

Then I started wondering what a callback function actually is (despite using them for years and years and years). It's just a function, and it's the way it's called that makes it a callback in a sense. And that made me think of indirect addressing rather than direct addressing at the low level. But then, are virtual functions callbacks? Not really but they are called indirectly...

I think it's time to go home. Smile | :)
Regards,
Rob Philpott.

GeneralRe: Is main() a callback function? Pin
k505422-Jan-20 8:38
mvek505422-Jan-20 8:38 
GeneralRe: Is main() a callback function? Pin
Rick York22-Jan-20 9:12
mveRick York22-Jan-20 9:12 
GeneralRe: Is main() a callback function? Pin
PIEBALDconsult22-Jan-20 11:23
professionalPIEBALDconsult22-Jan-20 11:23 
GeneralRe: Is main() a callback function? Pin
Richard MacCutchan22-Jan-20 6:24
mveRichard MacCutchan22-Jan-20 6:24 
GeneralRe: Is main() a callback function? Pin
OriginalGriff22-Jan-20 6:25
mveOriginalGriff22-Jan-20 6:25 
GeneralRe: Is main() a callback function? Pin
OriginalGriff22-Jan-20 6:24
mveOriginalGriff22-Jan-20 6:24 
GeneralRe: Is main() a callback function? Pin
Rob Philpott22-Jan-20 6:31
MemberRob Philpott22-Jan-20 6:31 
GeneralRe: Is main() a callback function? Pin
OriginalGriff22-Jan-20 6:42
mveOriginalGriff22-Jan-20 6:42 
GeneralRe: Is main() a callback function? Pin
Rob Philpott22-Jan-20 7:12
MemberRob Philpott22-Jan-20 7:12 
GeneralRe: Is main() a callback function? Pin
Rick York22-Jan-20 15:20
mveRick York22-Jan-20 15:20 
GeneralRe: Is main() a callback function? Pin
DRHuff22-Jan-20 6:39
MemberDRHuff22-Jan-20 6:39 
GeneralRe: Is main() a callback function? Pin
OriginalGriff22-Jan-20 6:43
mveOriginalGriff22-Jan-20 6:43 
GeneralRe: Is main() a callback function? Pin
DRHuff22-Jan-20 7:26
MemberDRHuff22-Jan-20 7:26 
GeneralRe: Is main() a callback function? Pin
OriginalGriff22-Jan-20 9:06
mveOriginalGriff22-Jan-20 9:06 
GeneralRe: Is main() a callback function? Pin
DRHuff22-Jan-20 13:30
MemberDRHuff22-Jan-20 13:30 
GeneralRe: Is main() a callback function? Pin
TheGreatAndPowerfulOz22-Jan-20 12:10
MemberTheGreatAndPowerfulOz22-Jan-20 12:10 
GeneralRe: Is main() a callback function? Pin
PIEBALDconsult22-Jan-20 6:43
professionalPIEBALDconsult22-Jan-20 6:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

When thinking about your job, how important is the option to work from home?
Some bosses are casual about where you work, and some, naming no names, will insist you're in the office, always. What are your thoughts?
  Results   774 votes