C++ for Beginners: Improving Programming Skills

  • Context: C/C++ 
  • Thread starter Thread starter lonely_nucleus
  • Start date Start date
  • Tags Tags
    C++
Click For Summary
SUMMARY

The discussion centers on improving C++ programming skills for beginners. The participant has completed a C++ course and seeks guidance on advancing their skills, particularly in GUI programming and file handling with ifstream and ofstream. Suggestions include engaging in personal projects, particularly game development, and exploring various applications of C++, including scientific programming. The consensus is that experimenting with existing C++ source code can enhance learning, provided the code is appropriate for the learner's skill level.

PREREQUISITES
  • Basic understanding of C++ syntax and structure
  • Familiarity with command line interfaces
  • Knowledge of object-oriented programming concepts
  • Introductory experience with file handling in C++ using ifstream and ofstream
NEXT STEPS
  • Explore C++ GUI frameworks such as Qt or wxWidgets
  • Practice file handling with ifstream and ofstream in C++
  • Engage in game development projects using C++
  • Investigate scientific computing libraries in C++, such as Eigen or Boost
USEFUL FOR

Beginner C++ programmers, game developers, and individuals interested in applying C++ to scientific applications will benefit from this discussion.

lonely_nucleus
Messages
108
Reaction score
19
I finished a course in C++ about a month ago and I would say I am almost average in programming in it. I am decent at command prompt programs but I do not have too much experience with gui programs.I have gotten to for loops and objects/methods and I did not understand ifstream.ofstream too well. I do not want to forget all I learned but I do not know what to do to make my skills better. Any suggestions will be appreciated.
 
Technology news on Phys.org
Greg Bernhardt said:
Think of projects for yourself. Games are great to make. Here are some ideas
http://www.cppforschool.com/projects.html
Gee wiz you give very concise and straightforward answers. I will try to do some of the projects on that site.
 
Are there any other uses for c++ besides games? I am very interested in the science applications of c++.
 
Can you get good at c++ by downloading other people's simple c++ source code and experimenting with it? is learning c++ learning by examples easy?
 
lonely_nucleus said:
Are there any other uses for c++ besides games?
Of course, C++ is a multipurpose language used everywhere. You can build anything with it.

lonely_nucleus said:
Can you get good at c++ by downloading other people's simple c++ source code and experimenting with it?
It can be a fun and interesting way to learn about alternative techniques

lonely_nucleus said:
is learning c++ learning by examples easy?
Depends on your skill level. If you download some C++ that is extremely advanced, but you are a beginner, it won't help you much.
 
Look inward.

Generally, anything you want to program can be designed and implemented in an OO way. So the question is, what do you want to program?

What sorts of applications "turn you on". What kind of problems are fun to solve.
You said you enjoy science apps. What science applications do you think are missing? What platform do you want to write for?
 
  • Like
Likes   Reactions: Greg Bernhardt

Similar threads

  • · Replies 17 ·
Replies
17
Views
2K
Replies
69
Views
10K
Replies
16
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 49 ·
2
Replies
49
Views
4K
Replies
5
Views
7K
  • · Replies 28 ·
Replies
28
Views
4K
  • · Replies 29 ·
Replies
29
Views
3K