DEV Community

Mayank Roy
Mayank Roy

Posted on

C++ Journey

Starting today i am gonna share my c++ journey.
Day 1

  • Today i learned how c++ is a platform dependent language allowing code to be executed on various systems after compilation.

  • C++ is object-oriented, providing a clear structure for understanding programming concepts.

  • C++ is statically typed,reducing errors by defining data types upfront.

  • It one of the fastest programming language due to it's close proximity to system level operations.

  • C++ allows manual memory management,giving programmers control over memory allocation.

And of course this the first code i have written:

Image description

Top comments (2)

Collapse
 
dyfet profile image
David Sugar

C++ is also, strangely, a rapidly evolving language at present. In C++23 you could do

#include <print>

int main() {
    auto world = "world";
    std::print("Hello {}\n", world);
}
Enter fullscreen mode Exit fullscreen mode

As to why that took until 2023, that's another story ;).

Collapse
 
datboimayank profile image
Mayank Roy

I am still learning , from YouTube and in the video he suggested to start with older versions,
and later upgrade yourself to new syntax. But nonetheless thanks for the advice : ).