CComponent
files in rust you know the client thingies like hud.cpp/broadcast.cpp/motd.cpp/chat.cpp etc? def foo():
return 8 * 8
@Learath2 leratooooooooooooo!!!
daily python trivia!!!!!!!!!!!!!!!!!!!do you pay for for the 8 * 8 multiplication at runtime? def foo():
print('indentation'); \
print('matters')
print(\
1, \
2, \
22, \
3)
foo()
a = [1,2,3,4,56]
print(*a)
print(1,2,3..)
1 2 3 56
a = {1 : "hello", "world": 2}
print(**a)
print(1=hello, world=2)
num = 10
print(--num)
git push -fvfvfvfvvfvfvf
git arg error or no?a, b = 257, 257
print(a is b)
a = 257
b = 257
print(a is b)
How about this one?cat /dev/urandom
make funi gnome soundsxxd /dev/random
it will hang immediatelychsh -s /dev/random
?a = [1,2,3,4,56]
print(*a)
1 2 3 4 56
, no?a = {1 : "hello", "world": 2}
print(**a)
a = 257
b = 257
print(a is b)
How about this one? True
False
in cpythonTrue
False
in cpython s/257/256/g
s/257/256/g
True True
True
(cpython)>>> a = 20
>>> b = 4 * 5
>>> print(a is b)
True
is
pub fn rgb2gray(&self) -> [f32; 256*256] {
let mut gray_pixels: [f32; 256*256] = [0.0; 256*256];
gray_pixels
}
@Ryozuki I got a question for you. In rust, where is gray_pinxels allocated? And if it's on the stack, how come you can use it outside of this function scope?m_apPlayers
calls by introducing new CObjectPool *PlayerPool() const
or CPlayer *GetPlayer(int ClientID) const
.