#cpp
Explore tagged Tumblr posts
Text

#Anuradha Ghandy#women's liberation#the philippines#flip#cpp#npa#revolution#revolutionary#marxism leninism maoism#marxism#maoism#communism#communist#maoist#socialism#MLM
579 notes
·
View notes
Text
My program crashed for an hour or so and I tried to fix it
I finally fixed it
Twas a fucking compiler command gone bad
My code was good
FUCKKKKKKKKKKK
#cpp is a FUCKING bastard and I HATE it#programming#frc programming#code#coding#cpp#c++#cppprogramming#c++ language#c++ programming
77 notes
·
View notes
Text
Coding tutorial: Chain-of-responsibility pattern
A peasant, knight and king walk into a software design tutorial, and are here to teach you the chain-of-responsibility pattern. Learn how to create a chain of handlers which can handle different request types.
This tutorial shows you how to code the chain-of-responsibility pattern in the Visual Studio development environment, using a console application and the C++ programming language.
The chain-of-responsibility pattern passes on a request to a chain of handlers one at a time. Each handler can handle different requests. So if the first handler can’t handle the request, then it will pass it on to the next handler. Once a request is handled, the chain ends. Since there is no longer a need to pass on the request.
It is also possible that the request doesn’t get handled by any of the handlers. Since each handler can handle 0, 1 or many requests of different types.
See the full tutorial here.
Console output:
#cpp#coding#programming#gamedev#indiedev#tutorial#visual studio#software#software design#software development#game development#design patterns#cppprogramming
20 notes
·
View notes
Text
・₊✧𝘈 𝘱𝘦𝘢𝘳𝘭𝘴𝘤𝘦𝘯𝘵 𝘵𝘦𝘳𝘮 𝘩𝘢𝘴 𝘣𝘦𝘦𝘯 𝘢𝘥𝘥𝘦𝘥 𝘵𝘰 𝘵𝘩𝘦 𝘴𝘢𝘯𝘤𝘵𝘶𝘢𝘳𝘺。。。 -`♡´-
♡COMPULSED PERSON♡
✧A Compulsed Person (CPP) is a Special Person attachment experienced by those with Obsessive-Compulsive Personality Disorder (OCPD). A CPP is someone who is subjected to the person with OCPD (pwOCPD)’s Compulsory Thoughts. This may potentially look like the pwOCPD believing that their CPP is flawless and must remain flawless, and if their CPP acts outside of the way the pwOCPD believes is outside of that perfection, the pwOCPD may act out. The CPP may also be able to help regulate compulsions by giving the pwOCPD an outlet.✧
For a full list of Special Person terms, I made this doc for a comprehensible list. If you'd like to use my PD flags as emojis, I made this discord server with them as heart emojis! (Originally made to react to my SPs messages)
DISCLAIMER: All of these terms already have existed in the community before I posted them. If you have genuine questions or concerns, feel free to reach out and I will try to work with you! These terms are meant to be inclusive of ALL experiences I have heard of or experienced myself, so I have no issue adding things if necessary. These posts are meant to be short and sweet descriptions, not full deep delves on what each means! Feel free to make your own deep dives posts about your own experiences with these and @ me, I’ll definitely repost as long as they’re done in a respectful manner.
#Compulsed Person#CPP#OCPD#Obsessive Compulsive Personality Disorder#Special Person Terms#Persodivergent Terms#PD terms#Persodivergent#Personality Disorder#Sanctuaryterms
7 notes
·
View notes
Text
I've been working on a little time trial platformer inspired by Sonic, N++ and Hoverburger. Getting back to my roots and writing my own engine in C++ using SFML.
Currently titled The Indomitable Rocket Dog!
Last night I brought it out to Wonderville in Brooklyn for their playtest night. It's the first time the game has been shown publicly.
13 notes
·
View notes
Text
Mastering Linked Lists: Beginner's Guide
Hey Tumblr friends 👋
After learning about Arrays, it's time to level up! Today we’re diving into Linked Lists — another fundamental building block of coding! 🧱���
So... What is a Linked List? 🤔
Imagine a treasure hunt 🗺️:
You find a clue ➡️ it points you to the next clue ➡️ and so on.
That's how a Linked List works!
🔗 Each element (Node) holds data and a pointer to the next Node.
It looks something like this: [data | next] -> [data | next] -> [data | next] -> NULL
Why Use a Linked List? 🌈
✅ Dynamic size (no need to pre-define size like arrays!) ✅ Easy insertions and deletions ✨ ✅ Great for building stacks, queues, and graphs later!
❌ Slower to access elements (you can't jump straight to an item like arrays).
Basic Structure of a Linked List Node 🛠️
data -> stores the actual value
next -> points to the next node
📚 CRUD Operations on Linked Lists
Let’s build simple CRUD functions for a singly linked list in C++! (🚀 CRUD = Create, Read, Update, Delete)
Create (Insert Nodes)
Read (Display the list)
Update (Change a Node’s Value)
Delete (Remove a Node)
🌟 Final Thoughts
🔗 Linked Lists may look tricky at first, but once you master them, you’ll be ready to understand more powerful structures like Stacks, Queues, and even Graphs! 🚀
🌱 Mini Challenge:
Build your own linked list of your favorite songs 🎶
Practice inserting, updating, and deleting songs!
If you loved this explainer, give a follow and let's keep leveling up together! 💬✨ Happy coding, coder fam! 💻🌈 For more resources and help join our discord server
4 notes
·
View notes
Text
learning programming is just learning something first and then learning that that's not actually how it works later like
18y/o me: learning that the code goes through line by line, one after the other.
25 y/o me: reading about memory ordering in C++ and seeing that the compiler can just decide to move your lines in the order it wants and you have to tell it to not do that.
BITCH WHAT THE FUCK IS THIS
#how do I even tag this#is there even a target audience for Cpp on Tumblr#next thing I know there's a programmblr#cppprogramming#cpp#programming#just took tags it proposed#fuck around and find out I guess
10 notes
·
View notes
Text
Employment Minister Randy Boissonnault says while Alberta is legally allowed to withdraw from the Canada Pension Plan, doing so would be a “one way ticket,” with no chance of return. Alberta’s UCP has been mulling the idea of leaving the CPP and forming its own pension plan since 2020, but Premier Danielle Smith recently took the next step by releasing a report about a plan to do so and saying public feedback would determine the need for a referendum. Boissonnault told CTV’s Question Period host Vassy Kapelos in an interview airing Sunday that once a province chooses to withdraw from the CPP, it kicks off a timeline laid out in the 1965 legislation and can’t be undone. “If Albertans decided a referendum to pull out of the CPP, they will be able to do that, but it's a one way ticket,” said Boissonnault, who is also an Alberta MP. “You don't get to come back, that's also very clear in this legislation,” he also said, adding he believes Alberta’s withdrawal would be “destabilizing.”
Continue Reading.
Tagging: @politicsofcanada @abpoli
41 notes
·
View notes
Text


I haven't rly talked about it here but here's some of the art I've made for my animatronic pizza place concept, coyote pizza! it's based on the idea that nolan bushnell went with his original concept for a place called coyote pizza and that creative engineering made the animatronics for it like originally intended. past that they're basically just my ocs lol
#and you should ama abt them. u wanna ask me abt my ocs so bad ooooo#rockafire explosion#showbiz pizza#chuck e cheese#fnaf#coyote pizza#cpp#animatronics#animatronic#tags for visibility heehoo#juno.txt#juno.png#my art
52 notes
·
View notes
Text
Che Guevara
En este día en 1967, Ernesto "Che" Guevara murió este día en 1967, él intento exportar la revolución pero él termino siendo capturado ,y bajo órdenes del gobierno boliviano y con la implicación de la CIA, ejecutado.
Che Guevara fue una parte fundamental de la Revolución cubana y él fue uno y sigue siendo de las figuras más importantes de cualquier movimiento socialista y anti-imperialista.
Por eso, hoy te recordaremos Ernesto Che Guevara.
#socialista#socialism#communism#leftism#marxism#marxism leninism#marxism leninism maoism#cpp#anti capitalism#che guevara#cuba
6 notes
·
View notes
Text
Ladyada tries out ChatGPT Canvas for Arduino library writing: A request- tabs & context, please!
We sat down this morning to try and crank out a library for the VCNL4200 light/proximity sensor
- these sorts of chips always have a trillion twiddly registers and are a bear to write. Phil recommended that Limor try out OpenAI's new ChatGPT Canvas (https://openai.com/index/introducing-canvas/). It's fast! And has very few errors. We like to go through each register one by one, add the typedefs and #defines, then the setter/getter functions, and finally the arduino ino 'sketch' to actually test and verify. However, with three files - header, cpp, and ino - canvas can get really confused about which file we're editing and what it's called. Our request! We would love it if there were tabs for 'fixed' file names, and then clicking on the tab set the context for the code we're collaborating on.
#openai#chatgpt#canvas#adafruit#arduino#vcnl4200#proximitysensor#lightdetector#hardwaredevelopment#embeddedsoftware#librarywriting#openaiinnovation#cpp#ino#chatgptcanvas#limorfried#ladyada#philrecommendation#tabfeatures#codecontext#multiplefiles#arduinosketch#adafruitcommunity#sensorlibrary#fastercoding
6 notes
·
View notes
Text

#free palestine#palestine#Gaza#free gaza#gaza under attack#Palestinian#Israel#resistance#national liberation#CPP#communism#liberation#national liberation movement#maoism#revolution#revolutionary#pw#middle east
108 notes
·
View notes
Text
My biggest argument against god's existence is that cpp exists
#cpp#cppprogramming#c++ language#c++ programming#c++#c++ course#learning cpp#learning c++#what the hell is this language?
7 notes
·
View notes
Text
Coding tutorial: Observer pattern
The observer pattern has an object named the ‘subject’ which maintains a list of ‘observers’. The subject will notify all the observers when an event occurs. The observers can then choose how they wish to respond to the event.
In this tutorial you will code a zookeeper and animals. The zookeeper represents the subject of the observer pattern. Whilst the animals represent the observers.
The zookeeper will notify the animals when he arrives, and the animals will respond in there own unique way.
To follow along to this tutorial, you can either just read it and apply the knowledge to your programming language. Or you can use Visual Studio, by creating a solution, then create a project with a console application. Then run the project to see the output in the console window.
Walkthrough and full code example on the blog:
#cpp#programming#coding#gamedev#indiedev#visual studio#tutorial#software#software design#software development#design patterns
24 notes
·
View notes
Text
The Communist Party of the Philippines (CPP) calls on all revolutionary and democratic organizations in the Philippines and around the world to rally around the Palestinian people as they mount armed resistance to drive away the fascist occupying forces of Israel from their land.
Hamas is one of the leading political organizations which advances the struggle of the Palestinian people. The Izz al-Din al-Qassam Brigades is its military organization. Whoever vilifies the armed resistance of the Palestinian people as “terrorism” is in league with the U.S. imperialists and all its cohorts. To establish its hegemony and control of oil in the Middle East, the U.S. imperialists colluded with the Zionists in Israel to obscure and downplay the just aspiration of the Palestinian people for freedom and self-determination.
#CPP#Philippines#FreePalestine#Al Aqsa Flood#Hamas#armed struggle#imperialism#Israel#apartheid#occupation#solidarity#internationalism#communist#Struggle La Lucha
26 notes
·
View notes
Text
🌟 Understanding Arrays: A Beginner’s Deep Dive! 🌟
Hey Tumblr friends 👋
Today I want to break down something super important if you're getting into coding: Arrays. (Yes, those weird-looking brackets you've probably seen in code snippets? Let’s talk about them.)
So... What Exactly Is an Array? 🤔
Imagine you have a bunch of favorite songs you want to save. Instead of creating a new playlist for each song (chaotic!), you put them all into one single playlist.
That playlist? That’s what an Array is in programming! 🎶✨
An array is basically a container where you can store multiple values together under a single name.
Instead of doing this:
You can just do:
Why Are Arrays Useful? 🌈
✅ You can group related data together. ✅ You can loop through them easily. ✅ You can dynamically access or update data. ✅ You keep your code clean and organized. (No messy variables 👀)
How Do You Create an Array? ✨
Here's a simple array:
Or create an empty array first (you must specify size in C++):
Note: C++ arrays have a fixed size once declared!
How Do You Access Items in an Array? 🔎
Arrays are zero-indexed. That means the first element is at position 0.
Example:
Changing Stuff in an Array 🛠️
You can update an item like this:
Looping Through an Array 🔄
Instead of writing:
Use a loop:
Or a range-based for loop (cleaner!):
Some Cool Things You Can Do With Arrays 🚀
In C++ you don't have built-in methods like push, pop, etc. for raw arrays, but you can use vectors (dynamic arrays)! Example with vector:
Quick Tip: Arrays Can Store Anything 🤯
You can store numbers, booleans, objects (structures/classes), and even arrays inside arrays (multidimensional arrays).
Example:
Real-World Example 🌍
A To-Do list:
Output:
👏 See how clean and readable that is compared to hardcoding every single task?
🌟 Final Thoughts
Arrays are the foundation of so much you'll do in coding — from simple projects to complex apps. Master them early, and you'll thank yourself later!
🌱 Start practicing:
Make a list of your favorite movies
Your favorite foods
Songs you love
...all in an array!
If you liked this C++ explainer, let’s connect! 💬✨ Happy coding, coder fam! 💻🌈
2 notes
·
View notes