Hello. I just want to know if i have a file on my disk named 'c://blahblah/mypic.bmp' & want to show it via a Turbo c++ program. How to do that?

i have googled it, but no solution.

Recommended Answers

All 3 Replies

>>i have googled it, but no solution.
Not surprised. You are using a 20-year-old compiler (first released in 1991) that knows nothing about windows long file names and paths, can access only about 400K memory even though your PC might have several gigs, could easily corrupt your hard drive if it is larger than 2 gigs, and many other limitations.

Get Codelite or Codeblocks or MS VC Xpress and there you dump your beloved TC in trash can or put it in embacadero museum.

If you want GUI for windows only go and learn W32API but for X-platform my votes goes for excellent wxWidgets

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.