always main.cpp is running?

+1 Rohit D · November 4, 2015
always main.cpp is running?
how to run a new file?
I created two new files but when I run main.cpp runs rather than that file?
help

Post a Reply

Replies

Oldest  Newest  Rating
0 Scott Walker · November 6, 2015
What do you mean when you said you created more files?

The file will run wherever your main function is, if that is in main.cpp that will run.
  • 1

C++

106,979 followers
About

Used in many types of software including music players, video games, and many large scale applications.

Links
Moderators
Bucky Roberts Administrator