How to Redirect Input/Ouput of C/C++ Program to a File without using filestreams

preview_player
Показать описание
*If you are not able to see anything, put the video to Full Screen Mode*

As the title suggests, its a tutorial explaining how to redirect input/output of your C/C++ program to a text file on Windows Platform.
Рекомендации по теме
Комментарии
Автор

THANKS MAN! I WAS HAVING PROBLEMS AND NOW THANKS TO YOU I KNOW HOW TO DO THIS IO REDIRECTION THING. THANKS!!!

JE-prsc
Автор

Thank you for the video.  This helped me get past an issue I was having with my first input file assignment in my first C++ course.  You explained it very well. Thanks again!

AM-hkwl
Автор

Awesome, I want to know one thing. I will put my fixed constant input values in txt file and do what u said for the input. But after getting input from the txt file, how can i give the input for other cin statements which are there in program to take input yet ??

harshith_takkala
Автор

Thanks for the explanation, was very clear and simple!

juanpablojimenezsosa
Автор

Thanks a lot. This saved me from having to install Linux in order to do a redirection.

Crimsonphnx
Автор

What if we want do both things at the same time???

_gauravkumar
Автор

A lesser person would make a joke about the name of the 69.exe file.

noobshere
Автор

Hi, can we do the same to use the output of C++ program to be fed into excel?
The output i get in C++ is of the following format,
12356
134786
19876 and so on where 1 and 6 are the start and the destination cities and in between numbers are the next hop cities.
So i need to use these outputs in excel where excel should read these numbers and select link UP ie 1 condition in the filter .
Thanks in advance

vishalsachania
Автор

thank god for you!!! exactly what i needed help with.

gwenythjpw
Автор

I tried the same but it is not working in powershell

thelookofdisapproval
Автор

Thanx a lot. This is just what I wanted to know. :-)

muhammadibrahimfaruqi
welcome to shbcf.ru