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 Mike Lewis 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. okaypi

    Text.c_str versus standard string

    Hi i am using borland C++ 6, my question regarding the following code void __fastcall TForm1::Button1Click(TObject *Sender) { char* S = Edit1->Text.c_str(); Edit2->Text = strlen(S); //gives erroneous result AnsiString st = Edit1->Text; Edit3->Text = st.Length(); //gives correct...

Part and Inventory Search

Back
Top