IT討論區(160) 1337Coder

1001 回覆
6 Like 2 Dislike
2022-05-31 14:18:03
2022-05-31 14:25:14
the original pointer is not hard to understand
but it is hard to use for beginners
that is why we have smart pointer
2022-05-31 14:27:00
勁垃圾
第一年係contract 表現好先可以轉perm
7日AL,
5.5日
返工要著SUIT
冇medical乜都冇
真係想知有咩人會返
2022-05-31 14:36:20
“hard” to use because we don’t teach resources management properly.
Teach smart pointer before resources management is bad. Smart pointer is just a convenient tool, you need to learn resources management anyway.
I don’t know why closing/returning a resource after use is so hard to understand (I am talking about learning, not convenience). I guess most people don’t know they are retarded. Retarded as in they don’t know they are wasting time, not as in they do not have the ability to understand.

I once taught some undergrads inserting element in linked list. One way linked list. Allowed to use temp variable. Repeated TEN DAYS.
Guys, please stop wasting your own time and others’ time. If you CANT FUCKING REMEMBER, write down on a notebook and revise. If you are NOT WILLING TO REMEMBER, drop out and do something useful. Thanks
2022-05-31 14:45:07
Interview 貼士
2022-05-31 14:46:05
Type is reading frame on array of bytes.

And for application programmer who don’t do pointer tricks, address is just a symbol representing some data while pointer is a type that can store symbol. And in fact this is a more accurate viewpoint considering user space address is translated twice to physical address in x86.

後者都唔撚關low唔low level事 寫過既都知係關buffer size事
2022-05-31 14:46:45
5關interview事...
2022-05-31 14:57:02
開新議題

手巴對daily pointer(唔計ds)既諗法好簡單
你識用array 你識resources management 你就識用pointer
你識前兩者但唔識後者 咁你唔識前兩者
你真係識前兩者但唔識後者 你係弱智
2022-05-31 15:06:42
>>有啲 platform 個 runtime 係唔理你咩 lang 一樣 time limit 的
codeforce
>>translate Python code to c++嚟加快個 program 嘅 runtime 呢
did you try pypy?
2022-05-31 15:07:52
t-con都好過佢
2022-05-31 15:16:30
邊條agent sell真係block得
2022-05-31 15:21:01
2022-05-31 15:51:17
2022-05-31 15:55:03
pypy好食ram
2022-05-31 15:55:29
手巴除左呢d學術性既嘢,仲有無咩忠告比新入IT d後生仔聽下
2022-05-31 15:55:51
2022-05-31 16:02:24
抄notes
唔好覺得自己會記到野 事實係你記唔到任何野
2022-05-31 16:25:10
2022-05-31 16:46:42
static cost, not sth big O, so it is ok in codeforce
2022-05-31 16:47:43
2022-05-31 16:52:41
吹水台自選台熱 門最 新手機台時事台政事台World體育台娛樂台動漫台Apps台遊戲台影視台講故台健康台感情台家庭台潮流台美容台上班台財經台房屋台飲食台旅遊台學術台校園台汽車台音樂台創意台硬件台電器台攝影台玩具台寵物台軟件台活動台電訊台直播台站務台黑 洞