and how can i search subitems in column 1,2 because in column 0 my code works to finditem !?
and previous examples that has been given to me don t work !( in my code ) ( is not good for my code i try to search in column 1 and getitemtext from column 2!
Please help me ! i remind you :
m_name , m_country , m_relatia !( if m_name (is found it in column 0) and m_country (is found it in column 1 ) then getitemtext from column 2 - > in m_relatia)! This is what i want and i don t no how to do it !
Please help me!
I am saving recorded file in a folder, but am hardcoding the name in the code itself.I want the recorded .wav file to get the name as current date and time for e.g. 08/09/0611:55:39.wav.I get the name of the file in a string variable but it does not gets saved coz it does not recognise the slash(/).I want a way in which i can convert the slash(/) in the date string to hyphen(-).
For e.g 08/09/0611:55:39.wav has to be converted to 08-09-0611:55:39.wav.
I am using VC++, please suggest me how can i solve this problem.
I found the log file size is becoming larger and larger. Any ideas to reduce the file size or make log file size managed, for example, keep the log file be fixed size or some other policies? Any reference tutorials or open source samples to recommend?
I'd like to write a function that tells me how many documents I have open of a particular document type. I want to call this function whenever someone tries to open a new document and if that would exceed the predefined number allowed, notify them with a message box.
The secret to creativity is knowing how to hide your sources. (Albert Einstein)
If you are dealing with MDI application in MFC using CMultiDocTemplate class, then I think you should use its members in this manner:
CMutiDocTemplate * t = ...; // the template for given document type
int total_documents = 0;
POSITION pos = t->GetFirstDocPosition();
while(pos != NULL)
pos = t->GetNextDoc(pos);
I am havin problems doing this c++ project.Its in regards to whether i can use one main class (e.g.main.cpp) or have to use a few classes.I am also a bit weak when it comes to c++ as java is my main language so any hints on the code or how to go about doing this would be great.The basic idea is :
Create a class called DataSet that stores a vector of floating-point values. Give this vector an initial size of zero, and use the push_back operation to add new elements.
The DataSet class should have a public member function for each of the operations described above, as well as a member function that adds an element to the vector.
I have to get the MEAN,MEDIAN and Standard Deviation.
I would very much appreciate if you could help me asap as I am desperately stuck.