• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1

Using function in class

I have made a function outside of int main() and want to use it inside a class in the src file.

c++functionsclasses
23rd Sep 2017, 7:49 AM
jayrn02
jayrn02 - avatar
1 Answer

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Code coach "camel and snake"
1 Votes
Which is better Rust or C++? [CLOSED]
4 Votes
can someone please tell the error
2 Votes
Object Oriented Programming
0 Votes
Past lua programmer to new languages
0 Votes
What is the best coding language to create a successful game on steam
0 Votes
THERE ARE ACTIVITIES APART FROM THE COURSES THAT SOLOLEARN GENERATES FOR US, TO EARN LIVES BY ANSWERING CERTAIN QUESTIONS, HELP
0 Votes
How to do this
0 Votes
does anyone understand OOP
0 Votes
Courses
1 Votes