Is there anyway I can get the entire output log into a text? I am writing CFD codes in codeblocks and I get lots of numbers. So it will be easier to copy those numbers from a .tx file as opposed to copying from the cmd window. So can anyone help me with this??

I need to get the output in .txt file.

Thank You