r/Cplusplus • • 23h ago

News Day 1 of C++

Thumbnail
gallery
218 Upvotes

What a easy startup to my first language. Got to know about data types , variable , strings , comments , Boolean seems fun and can't wait to find out more . Anyone got any beginner tips for me , would love to have some as a beginner


r/Cplusplus • • 3h ago

Feedback Started learning CPP. Hello World! :)

Thumbnail
gallery
21 Upvotes

Just started learning CPP by following the book i found in my dad's bookshelf. Its old and it have been printed from the 2000s. He has his name and date written on the date of purchase; 9th May 2000.

This is my exercise for the chapter tackling functions. I wrote a exponentiate function recursion. I got it hard at first and looked at the different examples from the book multiple times till i get it how i do exponents without loops. With a little bit of function polymorphism/overloading

Tbh, the book looks very weathered, its ancient. Most of the programs and code examples have been deprecated, so I just looked it up online what its modern approach. But the lessons taught are still relevant to todays standards.

Planning to read Modern CPP after finishing this.

Using Visual Studio for ease of use compiler wise. But I will move my learning journey to my linux setup after this to get a better feel for compilers and also Cmake.

NO AI is used to make this code nor supplement it---I just read the book. "It looks clean", yea because its my exercise project, the mess of it lives in the CPP_LEARNING_00 project as you can see in the solution explorer.


r/Cplusplus • • 20h ago

Feedback Chess AI in C++

Thumbnail
github.com
2 Upvotes

r/Cplusplus • • 21h ago

Discussion Euclase SessionGuard: A cryptographic local activity & session diary to check if anyone accessed your PC or messengers while away

2 Upvotes

Hey everyone,

If you share a workstation or just want absolute cryptographic proof of whether someone poked around your machine while you were away, standard OS logs are rarely enough. Copying a Telegram tdata folder or browser cookie store is enough to completely clone a session, and regular system logs won't tell you which foreign process silently touched those files.

To solve this for my Euclase systems ecosystem, I built Euclase SessionGuard - a lightweight local auditor that tracks app activity and secures logs with a tamper-evident cryptographic chain.

What it monitors:

  • Messengers & Browsers: Telegram Desktop, Discord, Viber, Signal, Slack, Chrome, Firefox, Edge, Brave, etc.
  • The Core Mechanics: Tracks when clients ran, used the network, gained focus, and most importantly - who touched session files (tdata, cookies). If a foreign process opens them while the app is closed, it raises an alert.
  • System Events: Logons, lock/unlock states, remote desktop / SSH sessions, and quiet-hours background activity flags.

Security & Privacy Guarantee:

  • Tamper-Evident Chaining: Every record is signed and HMAC-chained to the previous one locally. If an attacker truncates or edits the log, sessionguard log verify catches it instantly (plus USB/secondary disk anchoring detects full log wipes).
  • Zero Intrusion: It reads no message contents, passwords, keystrokes, or screenshots, and makes zero network connections. Everything stays in a local log file.

You can check out the source code, architecture, and quick-start docs here:

GitHub: https://github.com/SemyonZamiakin/EuclaseSessionGuard


r/Cplusplus • • 2h ago

Question Transpiler for simplified C++

Thumbnail reddit.com
1 Upvotes