>i don't understand this line typedef basic_string <char> string;
basic_string class is parameterized by character type. There is no need to use the basic_string template directly. The types string and wstring are typedefs for, respectively, basic_string<char> and basic_string<wchar_t>.
That line is basically creating a new variable type for you called string, the basic_string<char> is something you dont need to worry about, I will just guess though that you included <string> into your program. string is just another way of saying char*, but it is less of an array and more of a vector, at least in my opinion ;). With that line, now you can make something like this:
thanks adatapost and WargRider so much
but the question is about basic string<char>
i am not professional in c++
but all my knowledge
was that we can write typedef int integer
something like this
i know basic string is a class but why we didn't write it in this way
and thanks again ur posts were so helpful guys : )
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...