Raised This Month: $ Target: $400
 0% 

[Solved] Sorting Arrays


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 01-09-2016 , 16:33   Re: [Help] Sorting Arrays
Reply With Quote #10

%s means string, %d means integer.
Look to ASCII table , find it on google images.

For example u have an array g_numbers with
g_numbers[0]= 65

Then %d will print 65 but %s will print char value, in ASCII ,65 is 'A'.

So %d - 65
%s - A
siriusmd99 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode