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 run !howto ask.
28 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 run !howto ask.
read
You're supposed to post code as code, not as a screenshot.
It looks like you didn't provide a main function.
Either rename test to main or add ```cpp
int main() {
test();
}
ok sorry but
i am dumb
so could ou tell me where to put it
In the file you screenshotted at the bottom.
Every c++ program needs an entry point
From where it should start
That function is main()
ok
Inside of main you call test()
it says its an read only editor
so ill just rename it to main
Yea
same error
Change the file permissions to allow reading or something.
@gilded bobcat Has your question been resolved? If so, run !solved :)
thanks
!solved
Thank you and let us know if you have any more questions!
@gilded bobcat
Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.
!solved