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 PostIn that case:
- click start
- click run
- type 'cmd'
- go to your project directory with the 'cd' command
(for examplecd c:\program files\blabla\yourproject\release
)
- type in your executables name
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.