Learn and practice C ++

I'm trying to learn C ++, and I really want to do a lot of coding, but I'm not sure I can code. Tbh, book exercises are not very interesting to me (usually because they are just too short). I like to code OS-related stuff like input / output stuff.

I'm thinking of looking at Linux and trying to imitate some of the tools there .. is this a good idea?

+3
source share
6 answers

Rewriting tools are a good idea - my C ++ professor made us rewrite all the standard functions of string libraries manually before we were allowed to use them in our homework so that would help you too. You can also check out Project Euler .

+6
source

Here, a good I / O-related task has an interesting algorithm, is not too simple, not too complicated, and may even have practical applications:

Write a simple compressor / decompressor.

Simple ideas to get you started: LZW, Huffman codes.

+6
source

, ... , . . , , , QuickSort, Framework. - , .:)

+4

! # Sparc V9 ( .) , , , , , ( , , .. ..) . The Dragon, :)

+4

, . - , , , , - . , .

+4

TopCoder. . , , , , , , .

+1

Source: https://habr.com/ru/post/1709145/


All Articles