Hi!
I made a visual c++ application. My problem is how do I run the program in the console. And the program should read the data from sample.txt file
obsy 0 Newbie Poster
Recommended Answers
Jump to PostPress 'F5' to compile and run the program. The console window will open automatically.
Jump to PostYou have lots of choices. niek_e has given the outline of one way. Others would include.
1) Identify the file to read.
This may be as simple as the file name and extension if the file is in the same directory as the exe of the program or it …
All 5 Replies
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
obsy 0 Newbie Poster
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
Lerner 582 Nearly a Posting Maven
obsy 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.