im using dev c++ my problem is

how to create a notepad when i run the program..

ex.
i input a name.. and then
it will create a notepad in my document and the name of the .txt file is the name what i input.

thx in advance.

Recommended Answers

All 2 Replies

You mean you want to call notepad.exe from your *.cpp program? Then use system() or ShellExecute().

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.