![]() |
|
FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
![]() |
#1 | |
Full Member
Join Date: 2011-03-10
Posts: 265
![]() |
![]() So, I wanted to randomly post thoughts here. Like spam right? But please no advertising, flaming or arguing here.
Mostly I just wanted to write that Kaichii broke my heart today </3 ![]()
__________________
Blasphemy Quote:
|
|
![]() |
![]() |
![]() |
#2 |
Full Member
Join Date: 2011-03-15
Location: California, USA
Posts: 224
![]() |
![]() Mk. Here's a thought:
I code in C#. I coded this and it confused my friend so much to the use of it. Can anyone tell me if they understand why I use this? Code:
byte Job = 55; byte Job2 = (Job /10) * 10; PS: It's not 55. |
![]() |
![]() |
![]() |
#3 | |
Full Member
Join Date: 2011-03-10
Posts: 265
![]() |
![]() o_o holy sh- thats confusing looking.
I only code in html or BB code so that makes no sense ![]()
__________________
Blasphemy Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Full Member
Join Date: 2011-03-15
Location: California, USA
Posts: 224
![]() |
![]() |
![]() |
![]() |
![]() |
#5 | |
Full Member
Join Date: 2011-03-10
Posts: 265
![]() |
![]() The byte (pronounced /ˈbaɪt/), is a unit of digital information in computing and telecommunications, that most commonly consists of eight bits. Historically, a byte was the number of bits used to encode a single character of text in a computer and it is for this reason the basic addressable element in many computer architectures.
![]()
__________________
Blasphemy Quote:
|
|
![]() |
![]() |
![]() |
#6 | |
Full Member
Join Date: 2011-03-10
Posts: 111
![]() |
![]() Quote:
BTW try doing like its PHP code instead of normal code ![]() It will have the colors looking quite the same as in visual studio ![]()
__________________
http://vipclub.91.com/picture.php?albumid=3&pictureid=4 |
|
![]() |
![]() |
![]() |
#7 |
Full Member
Join Date: 2011-03-15
Location: California, USA
Posts: 224
![]() |
![]() Would you like me to explain it?
It did set me aback the first time I saw it. Took me a few seconds. |
![]() |
![]() |
![]() |
#8 |
All Hell!
Join Date: 2011-03-09
Posts: 1,558
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() |
![]() |
![]() |
![]() |
#9 |
Full Member
Join Date: 2011-03-15
Location: California, USA
Posts: 224
![]() |
![]() mk
Well, a byte is only capable of storing integers between 0 and 255. It doesn't hold decimals. Let's say that TQ is coding an NPC that reads the character's class. Well, Ninjas are 50-55. Instead of making multiple cases, i'd use something like: Code:
if ((Character.Class / 10) * 10 == 50) Code:
byte Test = (Character.Class / 10) * 10; Character.Class divided by 10 is 5.5... but bytes cannot hold decimals nor can they round, so it equals 5. Then, it's multiplied by 10 to give 50. |
![]() |
![]() |
![]() |
#10 |
Full Member
Join Date: 2011-03-10
Location: In pre-med school, WV
Posts: 443
![]() |
![]() Aye, but you found me after I got home lol And random top fire being Labby? lol
__________________
©~Kaiichi 124-130-138 Pure Warrior Currently #1 Warrior on Titan/Unicorn Sup +12 -3 SDG/SDG Headband Sup +7 -3 SDG/SDG Neck Sup +12 -3 SDG/SDG Poleaxe Sup +8 -3 SDG/SDG Armor Sup +9 -3 SDG/SDG Shield Sup +7 -3 SDG/SDG Ring Sup +7 -3 SDG/SDG Boots Sup +7 -1 STG/STG Fan Sup +7 -1 SGG/SGG Tower +7 Steed Thunder Tiger -1 Tae Kwon Do -1 Miraculous Gourd ~Kai~ - 132 Pure Archer ~Kaiichi~ - 134 Monk-War-Tro Ichigo - 130 Pure Ninja |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|