My first program was successfully executing "HELLO".
I made a Hackerrank solution in Python and it was too slow, so I rewrote it in C.
I haven't done much more after that, rather use Rust.
as Marco Alka mentioned most of us start with hello world so I would go for the second program. I learned C in school (it's been 17+ year now) it was a calculator where you input numbers.
I guess that any dev, no matter if they are a beginner or a veteran with decades of experience, will start out with a "Hello World". Usually, it's the smallest program to see the most basic and routine thing which can be done by a language, and to make sure that one has a working tool-chain in order to go from code to execution.
So, apart from your typical Hello-World, I guess my first program in C was an employee-list application, which stores employees with personal data in a linked list and can store them in a binary file on disk. Yeah, not your typical step after hello-world, and it was just some homework for University. The thing was, that I already knew C++ and had a few years of experience on my back, so it wasn't a biggy at all^^
Since C++ is just a superset of C, you could of course then go on and argue that my first C++ program might have actually been C and which that was would be the interesting part for this question. As for my first C++ application, it was a toy-thing which just switched around pointers to values and functions. I really needed to get a grip of pointers, so I spent some time understanding them (which is what I really suggest to anyone who wants to dabble with low-level programming in general, though pointers become a lot less of a hassle in more modern languages, like Rust, where you mainly use references instead.
Marco Alka
Software Engineer, Technical Consultant & Mentor
Ali
Software Developer , Java Lover , Front End Enthusiast :)
I printed my name with spaces in between :)