SFML community forums
Help => General => Topic started by: lane on December 28, 2017, 11:46:01 pm
-
Haven't coded in a minute, but I was wondering if I could have a main.cpp that would act as the guide of a program and run other .h & .cpp files with other functions in them.
For example: the main.cpp would say run a function from test.cpp. And test.cpp was building a rectangle shape and building some sprites. Could I draw those shapes and sprites to the main.cpp window?
Thanks :)
I'm Dumb.
-
This has nothing to do with SFML and is basic C++ knowledge.
Please refer to your C++ reference/book and get yourself familiar with C++ first.
SFML requires a good understanding of C++.