I use OPENFILENAME to get dialog for file browsing and, as a result, I get in char szFileName[MAX_PATH] the filename that user is want to read from. I create ifstream and run open( szFileName) on the ifstream object .unfortunately the ifstream object is null
There could be the problem with "\" in the pathname?and I have to duplicate it?
If yes how?
Thank you
yakovm 36 Light Poster
hag++ 24 Junior 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.