I have worked a lot with pointers, but still, when I work with them, I feel that it may not work as I expect. My mind is not sure how they will behave.
What are you offering? I want to study pointers better.
The best way is to write programs. Grasp K&R, learn the basics, and start writing some programs.Possible problems may be:1) a separate list of links, a double list of links.2) The main issues of the tree. - insert the value into the tree. - find height, depth, remove tree, etc.
Binky.
" C" .
5 . , , , , , . , .
, - , .. ( ++, "", C). prereq, , . , , , , - ? ? , , ! -).
, , , -, , " " " a node node" , . ( - , ..., , ++ , "" ! -).
- - . , , ( ) , , , , , . , , , , , - .
, , , ( .)
,
Duleb, .
, , , , , , .
, , , .
, , , , . , , , .
- . , , .
, , , , .
, ints 1 int times , - , , - , (?) zen C.
? void. , , , .
In the end, all the smoke and mirrors - find out your hard types - and remember a bit in your memory. Pointers are less falsified than ints or characters, and the void pointer is the cleanest of all.
I think this is something that every programmer knows, but few understand.
Source: https://habr.com/ru/post/1722195/More articles:Model-View-Presenter in ASP.NET with ListView and Repeater - c #Can I use UDK for non-game projects? - editorCodeIgniter PHP Exceptions - phpHow can two C # applications send messages over a Wi-Fi network? - c #Difference in performance of alternative switches in Python - performanceBest F # IDE for Mac - ideiPhone facebook connects FQL query to get user friends - iphone.NET: System.IO.Path - .netDelete an object by key without first extracting it in the application engine (using JDO) - javaHow to think about bitwise operations for simple operations? - cAll Articles