Share your repls and programming experiences

← Back to all posts
A useful snippet for C++
h
Whippingdot

Hey, I just wanted to share a cool snippet I made for C++. I have been doing C++ for well over a year and almost 2 years now but I am still very underdeveloped in the knowledge of C++ so please tell me if anything in this code is bad or should not be used.

Also, this code was pretty easy to make but it is one of the first times I used macros and typedef (squidyboi told me to use it) so again tell me if I need to improve anything in the code!

Voters
PixiGem
ch1ck3n
Whippingdot
Comments
hotnewtop
PixiGem

downdoot cuzye hate doges
mai pup is sad after seeing dis

Whippingdot

bro i was kidding pls no ಠ_ಠ @PixiGem

PixiGem

@Whippingdot delete or changeee daa commentttt
fabie is sad!

Whippingdot

i edited lol also i don't care if you updoot or not @PixiGem

PixiGem

@Whippingdot thx me updut

ch1ck3n

downvet becowse yew hete dogs

Whippingdot

lol i was kidding :(

how come you are the only one to see all my posts. I am depressed cause no one sees my posts @ch1ck3n

Whippingdot

A sample project with this snippet: