Question: I have some C++ code that is working programmatcially but will not populate the output file when I run it in linux through a script.

I have some C++ code that is working programmatcially but will not populate the output file when I run it in linux through a script. I am getting the following when I Compile the script:

rm: cannot remove '*.o': No such file or directory rm: cannot remove 'Aprog': No such file or directory g++ -O3 -Wall -std=c++11 -c main.cc main.cc: In function int main(): main.cc:129:19: warning: ignoring return value of int system(const char*), declared with attribute warn_unused_result [-Wunused-result] system("pause"); ^ g++ -O3 -Wall -std=c++11 -c ../../Utilities/scanner.cc g++ -O3 -Wall -std=c++11 -c ../../Utilities/scanline.cc g++ -O3 -Wall -std=c++11 -c ../../Utilities/utils.cc g++ -O3 -Wall -std=c++11 -o Aprog main.o scanner.o scanline.o utils.o Return from 'testdirectory' directory COMPILING COMPLETE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!