how can i become pro in c++; i just know the basics
Becoming a pro in C++ requires practice, dedication, and a willingness to learn new things. Here are some steps you can take to improve your C++ skills:
Read C++ books: One of the best ways to improve your C++ skills is to read books written by experts in the field. Some recommended books include "C++ Primer" by Stanley Lippman, Josée Lajoie, and Barbara E. Moo (updated for C++11), and "Programming: Principles and Practice Using C++" by Bjarne Stroustrup (2nd Edition - May 25, 2014, updated for C++11/C++14). These books provide a comprehensive introduction to C++ that covers just about everything in the language in great detail.
Practice coding: The best way to improve your C++ skills is to write code. Start by solving small problems and gradually move to more complex ones. You can practice on online platforms like LeetCode, HackerRank, and Codeforces, which provide a range of problems of varying difficulty. Try to write clean, well-structured code that follows best practices like commenting, naming conventions, and avoiding global variables.
Read documentation: There are many libraries and frameworks available for C++, and reading their documentation can help you gain a deeper understanding of how they work. For example, you can read the C++ standard library documentation or the Boost C++ libraries documentation.
Participate in online communities: Join online forums and communities where C++ programmers gather to share knowledge and ask for help. This will allow you to learn from others and get feedback on your code. For example, you can join the C++ community on Reddit or the C++ Slack community.
Build projects: Try building some projects on your own, such as a game or a utility program. This will give you an opportunity to apply your C++ skills in a practical setting and help you learn new things. Start with a small project, and then gradually move to more complex ones. For example, you can build a text-based adventure game or a calculator app using C++.
Watch C++ conferences: Attend or watch C++ conferences like CppCon, ACCU, and Meeting C++ where experts in the field share their experiences, ideas, and best practices. These conferences provide a great opportunity to learn about new features, techniques, and tools in C++, as well as network with other C++ developers. You can watch the recordings of past conferences on the conference websites or YouTube channels.
Learn from your mistakes: As you write code, you will undoubtedly make mistakes. Don't be discouraged by them; instead, learn from them and try to avoid making the same mistakes in the future. Use debugging tools like gdb, valgrind, or lldb to identify and fix errors in your code. You can also seek feedback from other programmers and learn from their code reviews.