In general I just want to compile a c++ code using the curses library in my macOS Big Sur thats all.
If you could tell me how can I manage that I would be very grateful :)
Thank you !
Post
Replies
Boosts
Views
Activity
I've also tried this tutorial but with some codes it doesn't work. The terminal is normal and nothing seems to happen.
With a simple "Hello World" code, the Build command actually worked.
Although I recently made a "4 in line" game with some friends but I can't build that one (between other codes that I i've tested with user inputs).
Thank you eskimo
Sorry for my late reply. I did the same as you and It actually built successfully. Altough I get another error which is
Error opening terminal: unknown. Program ended with exit code: 1
Ty for everything and again sorry for my late reply.
I miss clicked the solved marker, i'm sorry
I'm trying to compile the simpliest code and I can't.
#include <curses.h>
int main()
{
initscr();
printw("Hello World !!!");
refresh();
getch();
endwin();
return 0;
}
All the curses calls get the ("Undefined symbol" problem) . My question is also, can I compile the progam by pressing the
normal arrow ("Start the active scheme") ?
I really need alot of help here.
Ty for everything.