Command line simple question

Feb 22, 2017 at 6:37pm
How do i open a text of integers from a text file using command line. I cant open it thru dev c++ using the F11 key
Do i have to open cmd n type the name of file i do that and nothing works

Feb 22, 2017 at 7:19pm
Go to Execute -> Parameter. Then type it in as you would in cmd, but without the "./"
Feb 22, 2017 at 7:29pm
I had to check, F11 within that IDE means "compile and run".

You can enter any required command-line parameters from the menu: Execute->Parameters
Feb 22, 2017 at 7:33pm
How do i open a text of integers from a text file using command line

why do you need to do it in any case? the std::ifstream object within your program associated with the text file should open that file and read in the integers to your program
dev c++

please change this asap, they're horribly out-of-date with no post C++11 support last checked. a good alternative would be Code::Blocks
Topic archived. No new replies allowed.