Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mzufferey

    converting type "char" to type "string"

    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...
  2. mzufferey

    converting type "char" to type "string"

    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...
  3. mzufferey

    searching function in C++?

    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...
  4. mzufferey

    CFileDialog::GetFolderPath

    Hi all, I have a little problem with GetFolderPath. First, I create an object f as this: CFileDialog f(true, &quot;txt&quot;, NULL, OFN_EXPLORER, &quot;Texte Files (*.txt)|*.txt|&quot;, this); Then, I want to retrive to open folder path of a file, but if I do this: m_list.AddString((const...

Part and Inventory Search

Back
Top