Hello,
I'm starting out as a new user to clips and C++, and I'm having trouble get the two languages to mix. I tried compiling the C files as C++ after deleting the main.c
I used:
g++ *.c -o test -lm -x c++
But I got the error:
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
Can you help? Also, is there documentation of step by step compiling and using clips in c++?
Thank you!
Diana