Ask coding questions

← Back to all posts
Download generated file
Andrea_del_Pila

Hi!
My C++ code produces a binary file when I run it, however I'm unable to download that file because it didn't appear in the left panel. How could I get that file?
Thanks!

Answered by CodeLongAndPros [earned 5 cycles]
View Answer
Voters
JakubSiewierski
AtriDey
Andrea_del_Pila
Comments
hotnewtop
CodeLongAndPros

Enter these commands into the shell:

Where [your prog name] is the name of the program
Do note that this binary was compiled for Linux, and so it may not run on Windows.

Andrea_del_Pila

@CodeLongAndPros thanks for the message. However, I'm not interested in downloading the precompiled binary file. The program writes a new binary file with some important information that I need to download, but after the execution of the program, even though the file appears with an ls command in the shell, it didn't appear in the left panel where all project files are.

CodeLongAndPros

@Andrea_del_Pila Oh, I thought you were talking about the program.

You should then make an empty file with the name you want, or use the terminal to push to a remote git repo.

Andrea_del_Pila

@CodeLongAndPros Thanks! I have pushed it in my git repository, and now I'm able to open it.

CodeLongAndPros

@Andrea_del_Pila Glad you got it worked out.