C
carmelo
'Hi,I need to use in main.cpp, a method that is defined in
another .cpp file. How can I do it?
another .cpp file. How can I do it?
carmelo said:'Hi,I need to use in main.cpp, a method that is defined in
another .cpp file. How can I do it?
See some docs on how #include directives are used.
'Hi,I need to use in main.cpp, a method that is defined in
another .cpp file. How can I do it?
'Hi,I need to use in main.cpp, a method that is defined in
another .cpp file. How can I do it?
you can put the declaratin of this method to the beginning of
the .cpp file where you call this method.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.