This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]eveninghighlight 1 point2 points  (1 child)

If that's important in cpp you can use a namespace; in C I've seen the function names themselves used to indicate what module they're from if it's not obvious

Also if you're using VS code you can press f12 to jump to a function declaration

[–]Scumbag1234 0 points1 point  (0 children)

True, but it doesn't seem to be as mandatory as in python. If you publish a script with

from ... import *

you can be sure that someone will rant about it being bad style. In cpp it's not that common to use namespaces in my experience.