Thanks !
But I still need a CString, if I do no want to remake my program. I use my CString in if to compare the lit content to a const Cstring.
I think the problem is in mots and not lit[j];
I do not know how it work Release, but with Debug all work.
I think is a memory problem.
I just need...
Hi all,
I have a little problem using string and array of char.
I have a:
CString lit[10];
char mots[500];
Then I open a first file (txt), and get char per char until the program found a separator (like < and >) and it store the result in mots. If mots it is the good one, I copy the result...
Hi,
It is not very difficult.
You must do a little program who open the file in read mode only, read a character (fgetc) and stop when it reach a separator. This allow to identify every word using appropriate separator (like space, \n, \n, etc.). Just make attention to distinguish when you are...
Hi all,
I have a little problem with GetFolderPath.
First, I create an object f as this:
CFileDialog f(true, "txt", NULL, OFN_EXPLORER, "Texte Files (*.txt)|*.txt|", this);
Then, I want to retrive to open folder path of a file, but if I do this:
m_list.AddString((const...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.