hi
Could someone please tell me how can i open a txt file with a press of a button (MFC)?
not with the infile >>> i mean open "text file"
and another question if i may....
Is there any way i can transform a cpp file to a txt file (keeping the same content) ?and if it can be done .... how can i do it?
any help would be reallly appriciated
thanks in advance

>>Could someone please tell me how can i open a txt file with a press of a button (MFC)?
In the OnClick() event handler for the button.

>>Is there any way i can transform a cpp file to a txt file
No conversion needed -- the *.cpp file is already nothing more than a text file.

for the first question .... i meant to hlp me with a code to open the text file.
when i press the button ... atext would open .
for the second question...
i know but i need the transformation to make it easy for me to work with its content.

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.