Click here to Skip to main content
15,940,430 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends ,
Now i am trying to convert C++ code to I have lot of doubts at the time of develop a programming.So Please Give some useful ideas or any tool for converting C++ to
My Question:
In C++ declare a object in size_t __cdecl strlen(const char *);

In what will i declare?
Updated 3-May-11 19:38pm

Your C++ samples shows is null-terminates string, one of the most idiotic inventions of all times and peoples in human history. There is no such staff in .NET and C#. See the class System.String. It remotely resembles std:string.

Share this answer
Share this answer
naraayanan 4-May-11 2:27am    
Ashishmau 4-May-11 2:29am    
is this solves ur problem...then accept the answer
Olivier Levrey 4-May-11 8:23am    
You will always need to do a few manual conversions, but this link is a good start. Have a 5 Ashishmau.
@naraayanan: you should accept this answer if it solved your problem, or at least vote for it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900