Using a c++ program, how can I open another program or file with a given url ??

Well actually I use dev c++ and I would like you to answer with a code or function which would work on that compiler.....If you think it can't be done with dev c++ then perhaps you can suggest me a better compiler....

Thanks in advance :)

Recommended Answers

All 2 Replies

and I would like you to answer with a code or function which would work on that compiler...

Of course you would. That way you get us to do your work for you. Maybe you should read the Member Rules.

You could get started with ShellExecute API function.

Assuming you are working with Windows*

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.