0
rated 0 times
[
0]
[
0]
/ answers: 1 / hits: 1865
/ 2 Years ago, wed, january 5, 2022, 6:38:26
I have a C++ program that compiles and runs perfectly in Code Blocks. However when I try to compile it from the terminal using:
gcc -g main.cpp -o Main
I get a lot of undefined references:
And this is a screenshot of the program running in Code Blocks:
More From » command-line