Do Doc Examples Need To Repeat The Include Statement?

new topic     » topic index » view thread      » older message » newer message

Since we show the include statement in the function definition, it doesn't seem necessary to put the include statement in the examples.

However, I do understand the need for functioning examples (that is, copy/paste and it works); I'm just not sure people aren't going to understand that you have to include the library that contains the function/procedure you're demoing.

What do y'all think?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu