#any way to not use int main() as a redefinition?
19 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
You shouldn’t redefine main in the same project. It’s a special function
should i just use int main() in one cpp file then?
well in one function
i meant sorry if you cant understand trying my best lol
why do you think you need to redefine main?
here is what im talking about
Yea, if you copy paste your code it would give us more context but it should be in one cpp file and then you can include headers