chatGPT: how to learn C++?

  • https://gpt.chatapi.art/

To learn C++, you can follow these steps:

It’s also important to use good learning resources, such as tutorials, books, and online courses, to guide your learning and provide a solid foundation for your C++ skills.

Here are some resources you can use to learn C++:

  • 教程 Tutorials: There are many online tutorials that can help you learn C++, such as those on the websites of C++ organizations and communities, such as cplusplus.com and cppreference.com.

  • 书 Books: There are also many books on C++ that can help you learn the language, such as “Programming: Principles and Practice Using C++” by Bjarne Stroustrup and “Accelerated C++: Practical Programming by Example” by Andrew Koenig and Barbara Moo.

  • 在线课程 Online courses: There are also many online courses on C++ that can help you learn the language, such as those offered by websites like Coursera, Udacity, and edX.

  • 社区 C++ communities: Finally, joining a C++ community, such as a forum or a local user group, can be a great way to learn from other experienced C++ developers, get help with your code, and stay up-to-date with the latest developments in the C++ world.

To read a C++ primer, you can follow these steps:

Overall, the key to reading a C++ primer is to be actively engaged with the material and to practice what you’re learning as you go. This will help you get the most out of the book and become a better C++ programmer.

对话时效,重新开对话。

After reading C++ Primer, you can try applying your knowledge by building small programs or working on personal projects. It is also helpful to practice solving problems on online judges such as HackerRank, LeetCode, and Project Euler.

Additionally, you can try to participate in programming contests, such as those hosted by the International Collegiate Programming Contest (ICPC) and the ACM International Collegiate Programming Contest (ACM-ICPC).

都太简单了…

Write a program that calculates the area of a circle. The user should be able to enter the radius of the circle, and the program should output the area.

Write a program that converts temperatures between Celsius and Fahrenheit. The user should be able to enter a temperature in one scale, and the program should output the equivalent temperature in the other scale.

Write a program that plays a simple game of rock, paper, scissors against the user. The program should randomly choose one of the three options, and the user should be able to enter their choice. The program should then output the result of the game, and keep track of the score.

Write a program that calculates the factorial of a number. The user should be able to enter a number, and the program should output the factorial of that number.

这三个又太大了。
错误: Linux是用C编写的!
If you are looking for some larger programs written in C++, here are a few options:

The Linux operating system is written in C++. You can find the source code for the Linux kernel on GitHub at https://github.com/torvalds/linux.

The LibreOffice office suite is written in C++. You can find the source code for LibreOffice on GitHub at https://github.com/LibreOffice/core.

The Blender 3D modeling and animation software is written in C++. You can find the source code for Blender on GitHub at https://github.com/blender/blender.

These are just a few examples of large programs written in C++. There are many others out there, and you can find many more by searching online for open source C++ projects on sites like GitHub.

这个靠谱点,可以考虑做。

If you have read a C++ primer and are looking for some personal programs to write, here are a few suggestions:

  • 财务记账本。 Write a program that keeps track of your personal finances, such as your income, expenses, and savings. This program can help you practice using classes and objects in C++.

  • Write a program that manages your to-do list. This program can help you keep track of your tasks and deadlines, and it can help you practice using data structures and file input/output in C++.

  • 根据目标制定健身计划。Write a program that generates a personalized workout plan based on your fitness goals and preferences. This program can help you practice using algorithms and data analysis in C++.

These are just a few examples of personal programs you can write after reading a C++ primer. As you continue to learn C++, you can try writing more complex programs that are tailored to your interests and needs.

If you have already completed a book like C++ Primer, you may be ready to try your hand at writing some more advanced programs in C++. Some ideas for programs you can try writing include:

  • A simple game, such as a text-based adventure or a basic puzzle game
  • A basic graphics program that can draw simple shapes on the screen
  • A program that performs calculations and displays the results, such as a basic calculator or a program that solves equations
  • A program that analyzes and processes data, such as a program that sorts a list of numbers or a program that counts the words in a text file

As you continue to learn and improve your programming skills, you can try writing more complex programs and exploring new areas of C++. For example, you could try writing programs that use object-oriented programming techniques, or programs that make use of the standard template library (STL) to work with data structures like vectors and maps. Alternatively, you could try using C++ to develop applications for different platforms, such as desktop applications or mobile apps. The possibilities are endless!

回答有点敷衍。
算了,到此为止吧

Original: https://blog.csdn.net/wangjunliang/article/details/128247478
Author: 生物慕课
Title: chatGPT: how to learn C++?

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/725301/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球