can anybody help me to call notepad in dev c++

system("notepad.exe");

why do you want to call on notepad. if your wanting to creat a txt file and save it then open it later one to look at the info in the text file. then you dont really want to open notepad.

however if tht was what you were wanting to do then Acient Dragon is correct.

but if you want to do what i said here is a link to look at how to do that.

it is called File I/O

http://www.cprogramming.com/tutorial/lesson10.html

good luck with what you are trying to do

thx.. i learn a lot...

np glad to help

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.