string-conversion
VB.NET - any string to date conversion
Short question. I am 开发者_JS百科trying to convert a string into Date (to put it later into INSERT command). My problem is that the string I am reading is always different (there is no rule what form[详细]
2023-04-13 05:34 分类:问答Converting tchar[] to LPCWSTR
I am using FindFirstFile to traverse through a directory to search a dll. When I get the dll, I use the WIN32_FIND_DATA structure\'s cfilename to get the name of that dll.[详细]
2023-04-04 06:23 分类:问答wstringstream to LPWSTR
I have built up a string using wstringstream and need to assign it to a member of a struct of type LPWSTR. I try t开发者_StackOverflowo use my_stringstream.str().c_str() but get the following compile[详细]
2023-04-01 13:03 分类:问答C# Should "as string" work like this?
as string caused me a problem when dealing with object arrays. The values after execution are shown in the comments. Should it work this 开发者_开发百科way?[详细]
2023-03-26 08:04 分类:问答mixed programming for a string between C# managed code and c++ unmanaged code
I\'m working on a c++ project which uses a string path to call an XML file. When i compiled the c++ everything works perfectly and i\'m able to use the XML file as my project requires.[详细]
2023-03-24 20:49 分类:问答How to convert array to a string using methods other than JSON?
What is a function in PHP used to convert array to string, other than using JSON? I know there is a function that directly does like J开发者_如何转开发SON. I just don\'t remember.serialize() is the f[详细]
2023-03-23 05:48 分类:问答String to Date; Format of input varies
For the project I\'m working on at the moment I need to convert a String to a Date. Unfortunately the date and time aren\'t formatted the same in all the Strings that need to be converted. In the curr[详细]
2023-03-15 21:59 分类:问答convert a JavaScript string variable to decimal/money
How c开发者_JAVA技巧an we convert a JavaScript string variable to decimal? Is there a function such as:[详细]
2023-03-08 04:35 分类:问答is strtoul not endian safe?
So I am doing a conversion from a string to an unsigned long using strtoul on both a little endian and big endian machine. The little endian machine returns the correct value, while the big endian mac[详细]
2023-02-28 04:40 分类:问答Can you cast a LPTSTR to a BSTR?
Is it legal to cast a LPTSTR directly to a BSTR? Based on my understanding of BSTR,开发者_StackOverflow casting a LPTSTR to a BSTR directly will leave you with a corrupted length prefix. The example[详细]
2023-02-15 20:48 分类:问答