Any advices for learning c++?

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
DeadShot
Seçkin Üye
Katılım
25 Ağu 2017
Mesajlar
303
Çözümler
4
Tepki puanı
20
Ödüller
7
Yaş
27
8 HİZMET YILI
u can start learn from udemy or coursera u will know every thing
if u need something competely free u can check out the youtube
btw youtube will be always ur only friend ♥
 
Üye
Katılım
20 Ocak 2021
Mesajlar
5
Tepki puanı
0
Yaş
30
5 HİZMET YILI
if you like Minecraft try learning java to make your own plugins
 
Onaylı Üye
Katılım
28 May 2019
Mesajlar
51
Tepki puanı
6
Ödüller
2
Yaş
24
7 HİZMET YILI
Watch the guides, I am based on the guides and I don't complain
 
Seçkin Üye
Katılım
5 Haz 2020
Mesajlar
297
Çözümler
1
Tepki puanı
23
Yaş
30
6 HİZMET YILI
practice a lot, and try to find some good content for study because there are some horrible tutorials to learn the language, I recommend that you buy a course or if you are going to see some teachings on youtube always try to look for the basic teachings like logic and algorithms before starting the programming
 
Onaylı Üye
Katılım
29 Eki 2020
Mesajlar
67
Çözümler
3
Tepki puanı
8
Ödüller
1
Yaş
35
5 HİZMET YILI
Bjarne Stroustrup literally wrote the C++ language, so his books are an excellent resource. I highly recommend giving his website a thorough look.

Bağlantıları görmek için lütfen Giriş Yap


Additionally, in my experience there seem to be three tenets of C++ that people struggle to understand. If you master these subjects, you should have no trouble with the language at all:

  1. Memory Allocation - C++ typically does not make use of a garbage collector. Unused variables created on the heap are not cleaned up automatically. Therefore, it is best practice to use the stack as often as possible and avoid allocating heap memory. If you do have to allocate heap memory for an object (malloc), make sure that you free that memory when you are finished with it (delete). Otherwise you WILL get memory leaks in your program.
  2. Pointers - Pointers require a developer to slightly change their way of thinking about memory. All data and variables are held in memory, and each piece of data can be referenced by its memory address. That's exactly what a pointer is. A reference to a memory address. You can use pointers to make very efficient and lightweight code by passing around a reference to the location in memory of a large object rather than the object itself. You can then access the object value by dereferencing the pointer, which simply means you are telling your function to look at the value in the memory location defined in the pointer. There are many other things you can do with pointers that make them a powerful tool.
  3. Polymorphism - C++ is an object oriented language that encourages modular design by allowing you to define basic classes and extend them by creating child classes with additional or unique definitions. You can then reference a child class by one of its older generational types. For example, if I have a parent class called Toy, and I create a child class to extend it called Ball, then I can pass a Ball object in wherever a Toy object is asked for, because all Balls are Toys. (But be careful to avoid issues because not all Toys are Balls)
 
Seçkin Üye
Katılım
18 Ocak 2021
Mesajlar
394
Çözümler
1
Tepki puanı
26
5 HİZMET YILI
If you need more help, you can check lynda.com for more teachings
 
Onaylı Üye
Katılım
23 Şub 2021
Mesajlar
51
Çözümler
2
Tepki puanı
3
Yaş
30
5 HİZMET YILI
C is the best basic language I have implemented so far
 
Onaylı Üye
Katılım
9 Nis 2019
Mesajlar
50
Tepki puanı
0
Ödüller
4
Yaş
26
7 HİZMET YILI
Well, there are many programs for self-study. For example, "Sololearn". You can get some theory out of it. But in addition to the theory you need to practice. Look for special collections of tasks and textbooks. I can also recommend a website acmp.ru. Of course it's not in English. However, I think you can find something similar in English. There are many tasks on such sites. You decide and upload your code for review and it passes the tests

 
Onaylı Üye
Katılım
26 Nis 2020
Mesajlar
50
Tepki puanı
4
Yaş
26
6 HİZMET YILI
Organization of your code, its very important
 
Üye
Katılım
31 Mar 2020
Mesajlar
48
Çözümler
1
Tepki puanı
3
Yaş
32
6 HİZMET YILI
I studied C++ at school but I think I need some refreshment
 
Üye
Katılım
15 Ocak 2021
Mesajlar
5
Tepki puanı
0
Yaş
26
5 HİZMET YILI
Start by testing everything in the module on its values and using inputs that you would typically assume. Then try inputs that are possible but less communal. This will flush out any secreted bugs. In fact, there is a skill of testing; you will be regularly build up your abilities with practice.
I have a udemy course of c++ and it's going quite swell, will work on it tomorrow!!
 
Onaylı Üye
Katılım
17 Eki 2019
Mesajlar
53
Tepki puanı
0
Yaş
26
6 HİZMET YILI
watch youtube videos and there are many good c++ courses on the internet
 
Üye
Katılım
14 Mar 2021
Mesajlar
48
Tepki puanı
4
Yaş
24
5 HİZMET YILI
Watch the guides, I am based on the guides and I don't complain
 
Üye
Katılım
18 Ocak 2021
Mesajlar
4
Tepki puanı
0
Ödüller
3
Yaş
27
5 HİZMET YILI
Watch the tutorials until you understand what is it going on
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst