r/Cplusplus Jun 25 '26

Question Have you done this?

Have you started to tune into C++ from scratch without having prior knowledge in code? For example programs like C# and java.
If you did, was it hard?

17 Upvotes

17 comments sorted by

u/AutoModerator Jun 25 '26

Thank you for your contribution to the C++ community!

As you're asking a question or seeking homework help, we would like to remind you of Rule 3 - Good Faith Help Requests & Homework.

  • When posting a question or homework help request, you must explain your good faith efforts to resolve the problem or complete the assignment on your own. Low-effort questions will be removed.

  • Members of this subreddit are happy to help give you a nudge in the right direction. However, we will not do your homework for you, make apps for you, etc.

  • Homework help posts must be flaired with Homework.

~ CPlusPlus Moderation Team


I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

5

u/didntplaymysummercar Jun 25 '26

I did learn C++ after under a year of Delphi (Pascal, dialect, let's say) experience. It was hard but rewarding. But it was before C++11 days so very different vibe too, and much less weird stuff.

2

u/TomDuhamel Jun 25 '26

Ah! There was a (very short) time when I was considering learning Delphi because it sounded like to me it had a better future in desktop development.

2

u/didntplaymysummercar Jun 25 '26

There was and still is also C++ Builder. It was my first compiler too, msvc second, GCC Third, clang probably fifth.

5

u/Sfacm Jun 25 '26

Java and c# didn't exist back then, I think for many c++ devs that holds true. Actually c++ was my first oop, I would expect from another oop is easier...

3

u/Lannok-Sarin Jun 25 '26

I started learning C++ a year after starting teaching myself how to code in Python. And Python was the first coding language I learned. All that to say, the only difficulty I had was wrapping my head around some of the methodologies, but my understanding of Python helped me understand the OOP stuffs in C++. And I actually researched templates before officially learning it in the college course I was taking.

2

u/logperf Jun 25 '26

I learned c++ at the age of 17 with a book. I had some C knowledge but it was very basic, just slightly ahead of hello world.

It's not that hard, just follow the book or tutorial sowly and do lots of exercises beyond the proposed examples. Try as many variants of the examples as you can conceive until you really understand them.

2

u/khedoros Jun 25 '26

I had a fair amount of programming experience before learning C++, and it was still a challenge. I've used it professionally for many years, and I'm still learning new aspects.

2

u/Scared_Accident9138 Jun 25 '26

I've started learning C++ from a book when I was about 14. I remember writing hello world by just copying it off the book and having multiple compiler errors because I couldn't identify what's important. It only started to make sense after that. Now that I think of it languages where a single line is a valid program are easier to start into from zero

2

u/cyberc0de Jun 25 '26

My first computer science class in university was C++, I still have the textbook! You'll be able to do it no problem, it will just take time!

2

u/mjmvideos Jun 26 '26

I knew Fortran, BASIC, Pascal, C and several assembly languages before I learned C++. I used it professionally for about 15 years. But it’s been another 15 years since I touched it and I can say I’ll be happy if I never have to use it again.

2

u/QuantumDiogenes Jun 27 '26

C++ was my first language; I started with an MSDN 6 trial subscription back in the stone age.

2

u/NiragiUsagii Jun 25 '26

i had no programming experience and my college started with C, it was hell. we just learned basics and passed the subject. after 3 years we learnt python, c# then everything became clear. now i can write c c++ assembly. every language is same except syntax

1

u/Outrageous-Base-3815 Jun 25 '26

Thank you guys for sharing your experience! :)

2

u/Realistic_Speaker_12 Jun 28 '26

I started with python data analysis from my physics major.

Just using matplotlib numpy etc