Answer the question
In order to leave comments, you need to log in
How to use g++ flags in development environment?
Let's say I have myfile1.cpp and myfile2.cpp, and I enter something like this into the console:
@echo off
g++ -Wall src/myfile1.cpp -o myfile1.exe
g++ -Wall src/myfile2.cpp -o myfile2.exe
myfile1.exe data/file.one data/file.two model_file
myfile2.exe data/file.test model_file file.out
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question