No announcements
Found 1714781 threads
-
0 Votes
Convert String to int in winRT(c++)
Data() ); } For integer, perhaps use _wtoi http://msdn.microsoft.com/en-us/library/yd5xkb5c.aspxAnswered | 1 Replies | 8779 Views | Created by AKEV - Monday, October 22, 2012 11:55 AM | Last reply by Andrew7Webb - Monday, October 22, 2012 4:09 PM -
2 Votes
help with convert string to int or int to string
int x = 12; string y = 33; int z = Convert.ToInt32(y); string xy = ...Answered | 2 Replies | 982 Views | Created by drybranch - Tuesday, January 28, 2014 2:17 PM | Last reply by IdahoSixString - Tuesday, January 28, 2014 6:04 PM -
0 Votes
convert string to int
Convert.ToInt32(String) calls Int32.Parse(...).Answered | 5 Replies | 3635 Views | Created by --_-- - Monday, July 5, 2010 3:37 PM | Last reply by Nishant Sivakumar - Friday, July 9, 2010 7:26 PM -
0 Votes
C# Beginner; How to convert string to int?
You cannot convert a string to an int.Answered | 11 Replies | 3956 Views | Created by NothingNew1 - Wednesday, March 12, 2014 6:34 PM | Last reply by PaulLinton - Wednesday, March 12, 2014 11:51 PM -
4 Votes
An int to string convertion problem.
To do that, you could uses the following: int i = 3; string s = string.Format("0x{0:x2}", i); MikeAnswered | 5 Replies | 804 Views | Created by ShimonShami - Sunday, May 5, 2013 10:25 AM | Last reply by Family Tree Mike - Sunday, May 5, 2013 12:19 PM -
10 Votes
Convert string to int
string width ="640"; int dimension = Convert.ToInt32(width); There you have it!Answered | 11 Replies | 12295 Views | Created by Leo Liu - Wednesday, February 7, 2007 1:55 AM | Last reply by CoolKile08 - Tuesday, September 11, 2012 9:02 PM -
0 Votes
Convert Int to String and String to Char Array
If you really really want to create the managed intermediate String, you can convert it to a C string though System::Runtime::InteropServices::Marshal, e.g.Answered | 6 Replies | 8174 Views | Created by marked9 - Wednesday, September 23, 2009 1:33 AM | Last reply by Giovanni Dicanio - Wednesday, September 23, 2009 10:50 AM -
0 Votes
How to convert string to int?
(string name, string prefix) { if (string.IsNullOrEmpty(name) || string.IsNullOrEmpty(prefix) || !Answered | 2 Replies | 4646 Views | Created by Mr.Weera PongPruchya - Saturday, April 28, 2012 7:22 AM | Last reply by Sheldon _Xiao - Wednesday, May 2, 2012 7:45 AM -
2 Votes
How to convert string type to int?
Apart from the obvious things that cannot be converted, such as "abcd", be aware that a null or blank value or DBNull cannot be converted into an ...Answered | 2 Replies | 549 Views | Created by Tanzeel23 - Sunday, April 14, 2019 11:23 AM | Last reply by Kareninstructor - Sunday, April 14, 2019 1:06 PM -
2 Votes
converting int to string
string.IsNullOrEmpty(reader[0].ToString())) ?Answered | 20 Replies | 9317 Views | Created by Mitja Bonca - Wednesday, June 10, 2009 5:03 PM | Last reply by Matthew Watson - Thursday, June 11, 2009 7:11 PM -
18 Votes
Convert String to Integer in c#
I share similar information through the article titled [How to Handle Exception to Convert String to Integer (Int32) with ...Answered | 14 Replies | 344937 Views | Created by Antony Romar M G - Friday, June 4, 2010 5:43 AM | Last reply by Rooha Ali - Saturday, September 14, 2013 1:47 PM -
1 Votes
How to convert a string to a nullable int?
int?Answered | 2 Replies | 7510 Views | Created by Gabe Covert - Friday, May 22, 2009 8:57 PM | Last reply by Martin Honnen - Saturday, May 23, 2009 10:08 AM -
0 Votes
Function From a string to an int c#
Thanks, I figured that something else was needed because I read somewhere that you can only convert a single number (ex. 3432, 8879, 129876, so on) Goin ...Answered | 2 Replies | 3287 Views | Created by Visual2010User - Thursday, February 24, 2011 1:09 AM | Last reply by Visual2010User - Thursday, February 24, 2011 1:26 AM -
3 Votes
Convert String to Int in Where/OrderBy - Is it possible?
Same thing if you convert the query to use AsEnumerable; the SQL server won't see the where clause; it will be executed on the client process after all the data is returned.Answered | 7 Replies | 56567 Views | Created by bmains - Monday, August 15, 2011 4:29 PM | Last reply by Alan_chen - Friday, August 26, 2011 3:13 AM -
0 Votes
How to convert string array cell into int?
It is just a very common idom in both C and C++.Answered | 9 Replies | 2847 Views | Created by manWithBallsOfSteel - Wednesday, June 6, 2012 1:31 PM | Last reply by Biggz_Dtechie - Saturday, September 22, 2012 3:01 PM -
0 Votes
Convert BitArray to byte[] in winrt
Can't find standard way to convert BitArray to array of bytes in WinRT.Answered | 1 Replies | 1272 Views | Created by Alexander Tyutik - Friday, June 21, 2013 9:04 AM | Last reply by Alexander Tyutik - Friday, June 21, 2013 9:42 AM -
0 Votes
[W8.1][C++]Testing WinRT Objects inside Main
C:\Program Files (x86)\Windows Kits\8.1\References\CommonConfiguration\Neutral C:\Program Files ...Answered | 2 Replies | 860 Views | Created by Dspfinder - Tuesday, July 7, 2015 11:31 AM | Last reply by Dspfinder - Thursday, July 9, 2015 9:42 AM -
1 Votes
convert int to character
Are you Converting the int to a char for comparison?Answered | 4 Replies | 1298 Views | Created by sanyam142 - Sunday, September 1, 2013 3:30 PM | Last reply by PaulDAndrea - Sunday, September 1, 2013 8:28 PM -
1 Votes
Is it possible to use Value Converters (implements IValueConverter members) in WinRT visual c++?
See http://www.iconstructions.be/blog/using-ivalueconverter-in-winrt-from-cplusplus for more details and sample code on how to use IValueConverter from C++.Answered | 3 Replies | 4248 Views | Created by Boopesh Kumar - Friday, September 30, 2011 3:54 PM | Last reply by Nico Vuyge - Monday, December 26, 2011 2:55 PM -
3 Votes
Convert: int to char array -- Convert string to char array
MessageBoxA(0,myArray,"String Converted to char Array",MB_OK); // it works!Answered | 18 Replies | 8344 Views | Created by Mel_3 - Thursday, June 7, 2012 7:15 PM | Last reply by davewilk - Saturday, June 9, 2012 5:37 PM - Items 1 to 20 of 1714781 Next ›
No announcements