#c++ pointers
Explore tagged Tumblr posts
Link
https://techbloggerworld.com/2024/05/25/c-pointers/
0 notes
Note
Hi, I was just wondering how you do all your highlights and shading because ur characters always look so shiny! Obviously you don't have to tell me tho, I adore your art.
Hey there! I've done a few tutorials actually if you check my 'tutorial' tag. Some thorough, some quick. I have already mentioned before that I'll do a more deeper explanation on the process a while back and I'm still working on it!! Got at basic outline done but the writing is separated via notes or other apps, just gotta clean and compile :'D
It's text heavy so I'm going to have to cut a lot of pieces out or shorten it, but hoping it gets the point across! Of course it also has a image to go along with so we can work on it together :) Let me finish my current workload and I'll get back to this, sorry for the delay guys u-u
#asks#this is still in the backburner for a while but I have a solid plan on what to tackle#although I think I added too many pointers in one post so I'll have to removed them to not overwhelm people ;c;#yes there's multiple parts to the process#if you've been to my streams#you know the struggle lmao#tutorial
64 notes
·
View notes
Text
also, which legion do you think are the really fucked up ones. like, pug equivalent. which ones have every disease inbreeding-related genetic problem. is the astartes equivalent to daschunds having spine problems, like, thousand sons turning inside out or something. which space marines are chihuahuas
#one time I made a joke about them and C-moon and no one laughed because stone ocean hadnt been animated yet#laugh now. please. i live and die for your entertainment#i'm basically chained to the radiator and the radiator is that little water bottle stand-up comedians always have#I have a friend who studied veterinary science and I'm not afraid to ask him for pointers for optimal precise comedy
98 notes
·
View notes
Text
Programming? On my Tumblr?
It's more likely than you think >:3
So anyways here's an early tech demo for a lil project I've been working on. I'm making a game in pure C without any external libraries or game engines or whatever, writing everything from the ground up. Why? To see if I could. And also because I hate myself.
This bad boy's got low-latency audio output with a custom audio mixer and WAV file loading, input handling (keyboard + mouse, no controller support yet), and a basic graphics renderer (with BMP file support), as well as some other fun little features. It's built on the Windows API but all the platform code is isolated so that the game can easily ported. And what grand creation shall I make with this? ...Tetris. I'm planning to make a Tetris clone. Lol.
Oh, and the tetris remix you hear in the background? Wrote that myself. Music was never my strongest subject but I am determined to make everything by myself.
That is all.
#Shoutouts to handmade hero for giving me some pointers#get it?#pointers?#like in c programming?#I'll see myself out#c programming#programming#coding#codeblr#casey muratori#tetris#game development
237 notes
·
View notes
Text
hmmmm
if
and
then can i
?
8 notes
·
View notes
Text
just python things. this operation to reverse a number:
rev = int(str(num)[::-1])
is faster than this:
while num >= 1: rev = (rev * 10) + (num % 10) num = int(num/10)
for reversing an integer, because why wouldn't it be lmao
yeah let's just cast to string then chop backwards, and cast back to integer then save as a new variable. i suppose mod is a more expensive operation ??
but yeah it's like roughly 4x faster to use string comprehension.
#daemon.md#progblr#python#like uh thanks ig#i mean it's still a whole order of magnitude slower than C#at least than the C version of mult + mod to reverse a number#i'm implementing a C version of the string comp method#which is basically convert int to an array and iterate comparing two pointer values moving in from each end#it feels like it should be slower#especially as it involves realloc() when the array is too smol#would it be faster to allocate half the digits each to two arrays and then compare arr1[i] != arr2[i] ??
103 notes
·
View notes
Text
spent the afternoon programming an html sanitizer in c++ so that i can take the hideous html outputs scrivener gives me and make them nice and neat and ready for archiving instead. i don't think it's all that close to done, but i can extract a stylesheet from an html file now
#花話#and now i'm trying to grab which classes have actually important styling rules to them so i can just delete the rest#but it is not working quite how i'd like and so instead of practicing pointers (as the prof would like us to do)#i have instead elected to close vscode for the day#this project has nothing to do w/my class btw i think at this point i'm just diseased in some way#normalest hobby coder on the planet finds themselves enjoying both c++ and js for some reason#despite c++ and js being on opposite ends of the coding language strictness spectrum
9 notes
·
View notes
Text
me: how about...natori contracting some kind of youkai illness & matoba finding out about it & showing up to his set & natori dragging him off to his trailer bc it would be bad for his sparkly reputation to make the angry faces he feels coming on in front of his coworkers & matoba offering to help but in that smarmy condescending way that raises natori's hackles so he refuses but unfortunately he doesn't know how to cure it so matoba just keeps showing up every day & natori keeps carting him off to the trailer every time & being suuuuper cagey when people ask him who his visitor is & what if his coworkers get the wrong idea & matoba is fully aware of this & what if one day in the trailer natori reluctantly agrees to let matoba help him & matoba's like okay fine off with your shirt i gotta paint this spell circle on your bare chest & what if he's in the middle of doing that when they hear somebody opening the door to the trailer & obviously they don't want anyone to know what they're actually doing in there bc youkai-exorcist confidentiality so matoba's like no worries i got this & he KISSES NATORI omg classic kiss-as-misdirection trope & the person at the door is like whoops my b carry on gentlemen & after they've left natori is like wtf matoba????? & matoba's like well it's what they all thought we were doing anyway & your mouth was right there & it allowed me to cover the writing on your chest with my body & also you kiss people for a living so i figured it wouldn't be too complex for you & your part-time exorcist training to handle & natori recovers admirably quickly & is like WELL for your information that was a TERRIBLE kiss & no one is gonna buy that i professional makeout artist natori shuuichi would be swapping saliva with somebody on the reg without any of my considerable skill rubbing off on them & matoba's like so what do you propose we do about it & natori's like obviously i have to teach you how to kiss in case they come back -
the bedtime story fairy who thought this was gonna be an easy assignment: please just go to sleep im begging u have mercy ur brain cells are dying
#my other bedtime imagine also features misunderstandings in natori's trailer/dressing room but this time it's established relationship#natori and his costar are in his trailer practicing a kiss & matoba comes in & thinks natori is CHEATING 😲#& packs up & goes back to the matoba estate & natori's calling him daily like i LITRALLY dk what i did wrong...miss u baby...#but also tell me what i did wrong u asshole!! you just left & didn't even tell me if/when you're coming back! wtf!!!#and eventually matoba comes home & they talk & natori's like mkay well first of all kissing that lady is my literal job that pays me#but i understand that it upset you bc we were alone in my trailer & looked startled to be interrupted. hey i know#why don't you come with me to set & you can see just how incredibly unsexy these practice sessions are?#so matoba accompanies him & it's literally just natori & his costar like calculating exact face tilt angles & figuring out#their precise height differential during the scene in question based on the shoes she'll be wearing & testing out ideal#degree of mouth openness & choreographing switching sides of the face to correspond to the movement of the camera#(bc obviously it's one of those epic 360-degree shots with the swelling orchestral score and w/e 🙄)#& figuring out where they should put their hands & whether it makes sense for them to be smiling at this point in their arc &c &c#& matoba starts like observing them from multiple angles & critiquing their technique & giving pointers to the costar#& grabbing natori's chin & bodily arranging his limbs like a mannequin & showing the costar the best ratio of lip give to firmness#by demonstrating with his own lips on natori's lips. & so on & so forth. meanwhile#the sleep i am forgoing in favor of having these thoughts is something i will NEVER get back.#natsume's book of friends#horrible exorcists#f#my posts#i am such a clown to watch one of the sweetest and most poignant shows i have ever seen and for what?#to get fixated on imagining ways to get these chuckleheads to smush their mouths together? unbelievable.#like these scenarios barely (if at all) have anything to do with what makes them so fascinating as characters. i just want them to Kiss#idk though i do feel like their first kiss has to be some sort of dare or 'accident' or w/e like these weirdos can't just KISS each other!#who does that! have you heard of a little thing called pride and invulnerability and plausible deniability!!!!#but i also completely imprinted on this one established relationship fic i read last year so sometimes i just skip ahead#to the kinds of misunderstandings and shenanigans and conflicting priorities they could get up to as a couple#i guess i just want the fact that natori is famous for kissing people to be Matoba Seiji's Problem in some way or another#is that so much to ask#(i also CLEARLY imprinted on a fic in which natori teaches matoba to kiss at a bar?? i should reread that one)
34 notes
·
View notes
Text
(Through gritted teeth) All that matters is earning the degree. You just need to pass.
#blogcat: transmissions#college complaints central#BUT HOW DO YOU ALTER THE INSTRUCTION MEMORY USING POINTERS. HOW DO YOU CONVERT FROM BYTES TO WORDS TO ACHIEVE THIS#w hat am I doing with the second ALU input getter when it comes to sw and lw#taking incremental damage trying to percieve the arcane (basic CPU simulation code in C)
4 notes
·
View notes
Note
Did they hack their 3DS if they have one? It's actually really easy to
#c&c asks#cant help but read this like you were dying to give everyone pointers on how to hack their 3ds#actually the type of handheld is not explicitly stated so. its a 3ds if you want
21 notes
·
View notes
Text
What is the difference between malloc() and calloc()? . . . . for more interview questions https://bit.ly/3EteTnZ check the above link
3 notes
·
View notes
Text
hmm i have like, 500-600 taiwan dollars leftover in a tin from the last time i visited relatives... i wonder what would happen if i just handed it to my little cousins like. "yep. here is gift. have fun."
#i heard them trying to sound out 'eidelweiss' on the piano so i've also been thinking of giving them this little music box i bought#a while back that plays eidelweiss. put it in little box with money and letter that is like. 'hello. cousin cares about you.'#'but cousin is awkward and has bad hearing and speaking skills. anyway here's some money and a music box for you.'#i checked n it's like the equivalent of almost 20 usd so like. that's an appropriate gift for nine-year-olds i think#today at work i was cutting glow sticks in half for our craft and i was not wearing any gloves so i got minor chemical burns <3#like part of the skin on my thumb n pointer finger got bleached so i went around n showed alllll the kids#like. 'hey. check out my chemical burn. this is why we wouldn't let you guys cut open the glow sticks yourselves.'#'because it will do This to you if you touch them too long. this is why we had you wash your hands when you finished.'#n some of them were like 'just wash it off' n i was like. 'it is a chemical burn. it is on my skin.'#at least i Think it was a chemical burn but i mean it was very minor (makes sense bc it's just glow sticks) so the skin's flaked off by now#similar happens when i touch my hair bleach w/o gloves so i'm Pretty Sure it was chemical burns#we had a table of kids who were speaking cn to each other so at some point i pieced together they didn't seem to pay attn. bc low en skills#anyway i broke my own rule abt no phones at work to look up 'chemical burns' in cn for them bc although they know i speak Some cn#(by giving them minor instructions for the glow stick craft) i was like. 'chemical burns... how to say....'#apparently they are mostly from taiwan which is fun i love it when i Don't receive microaggressions for writing in traditional c':#today's my only camp shift for the week tho... one of my coworkers died last week so i told my boss i could pick up his camp shifts#if no one else had but apparently i'd go over hours this week... feelsbad man. it's summer + we're always understaffed#so there's gonna be a point when the front desk worker is gonna be covering the camps for a little bit which is. i feel bad ahaha#the worm speaks
6 notes
·
View notes
Text
27.12.2023: Hans Carl Artmann
#h. c. artmann#wienschrift#letters#fonts#alphabet#typography#breitensee#bradense#ari fink photography#stadtschrift#vienna#wien#aristide#barbara zanotti#ophelia#the daily pointer#27.12.2023
4 notes
·
View notes
Text
Codertober Day 10
I missed writing down the past handful of days because it's been bits and pieces here and there.
But today I finally finished the Javascript roadmap, which took me an embarrassingly long time. Although if I think about it, distilled down it probably took me like 8 hours.
Next im either gonna blast through the Python roadmap or look at the computer science roadmap which goes over algorithms and data structures which is probably the skill I actually need the most work on.
All in all I kinda dislike this learning style so far, which is how I did it in school which was WRITE DOWN EVERYTHING. And then in school I'd use it to pass tests, but my plan was to use it as a reference for actually building some projects.
But I was testing out Javascript modules and there were, like, 3 things I had to stumble my way through because they weren't stated explicitly enough in the material I was reading for me to write them down.
I kinda wanna streamline that stumbling stage and maybe i'll just dive headfirst into a project and google my way to success, which I think would be more fun and make it so I actually learn.
10. What is your programming pet peeve
"One time it took me 2 hours to fix my code, turns out I had just missed a semicolon" read your goddamn motherfucking error messages, if you took two seconds to read past "syntax error" you'd catch it in two seconds.
"Uhn my pointer isn't working???" your compiler told you it's null you never allocated it!
READ YOUR ERROR MESSAGES.
That is all, thank you.
#also “c sucks because pointers are hard and segmentation faults are the devil”#no they arent#and turn on your memory sanitizer#codeblr#codetober#studyblr
4 notes
·
View notes
Text
reblog with the 5 most recent liked songs from your spotify in the tags
#good ass intro by chance the rapper#nocturne 13 in c minor by chopin#neutron dance by the pointer sisters#romance sengen by kaneko ayano#DAVID by the narcissist cookbook
8 notes
·
View notes
Photo
> segmentation fault (core dumped)
42K notes
·
View notes