what is the terminal command to run a c++ program and to output whatever is being printed to a .txt file.

Am using in a virtual machine with VMware

Follow

@louiscouture
g++ -o <name-you-want-to-give> source.cpp

Β· Β· 0 Β· 0 Β· 1
Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.