#learn c++
Explore tagged Tumblr posts
Text
CodeBeauty
Switch/case part 2 leap year
#include <iostream> using namespace std; int main(){ //program to determine whether it's a leap year //below is the rule to determine whether the year is leap year or not: year % 4 = = 0 & & year % 100 ! = 0 | | year % = = 0
int year, month; cout << "year, month: " cin >> year >> month;
switch (month) {
case 2: (year%4==0&&year%100!=0||year%==0) ? cout << "21 days month." : cout<< "28 days month."; break;
case 4 : //30 days case 6 : //30 days case 9 : //30 days case 11 : cout << "30 days month."; break;
case 1 : //31 days case 3 : //31 days case 5 : //31 days case 7 : //31 days case 8 : //31 days case 10 : //31 days case 12 : cout << "31 days month.";break;
default : cout << "not valid"; }
}
#CodeBeauty#Code#Beauty#learn c++#study coding#learn to code#coding#codeblr#studyspo#c++#c++ programming#Coding#Programming#Switch#Case#leap year#study motivation#studyblr#learn#studyinspo#cpp#cppprogramming#learn cpp
18 notes
·
View notes
Text

1 note
·
View note
Text

when the duo has bees
#they are singlehandedly making me learn face structures. i need to kill them#dsmp#dream smp#dsmp fanart#dream smp fanart#starting to not lile this style bc its so messy..#but im also messy so perhaps i am living my truth#c!tubbo#c!ranboo#tubbo fanart#ranboo fanart#cbeeduo#beeduo fanart#beeduo#my art#c!beeduo#tubbo underscore#ranboo beloved
2K notes
·
View notes
Text
"boromir taught eomer how to speak the common tongue" I say. I am booed off the stage. the crowd throws tomatoes. suddenly from somewhere in the audience, someone says, "he's right." it's eomer son of eomund, speaking in the same dialect and tone as boromir of gondor
#okay just. just hear me out#when we first meet eomer and his eodred we learn three things:#a) the people of Rohan do not read or write and would therefore not know common tongue without an oral teacher#b) boromir visited Rohan often. he and eomer probably sparred while their fathers made diplomatic visits#c) when eomer speaks in common tongue. he sounds so much like boromir that it's worth mentioning#you know what this has probably already been discussed and talked about I'm sorry i'll go#fredposting#lord of the rings#eomer#boromir#yeah I'm promoting my boromir/eomer agenda#lotr#anyway
470 notes
·
View notes
Text

“When it's your time to go, make sure you're surrounded by others”






#I'm sick#yuuji's learning the meaning of love by losing everyone at this point#and by failing to save everyone who owned his heart#“”“failing”“”“ not his fault :c#what if he can't save megumi as well?#I'm destroyed#what's next gege?#gege when i catch you gege#jujutsu kaisen#@meyers#gojo satoru#megumi fushiguro#itadori yuuji#nobara kugisaki#nanami kento#junpei yoshino#choso#choso kamo#higuruma hiromi#jjk spoilers#jjk#jjk manga spoilers#jjk 259
3K notes
·
View notes
Text

My humble offering to the choccy gods 🫴🙏🙌😉
Clora is hyper-focused on school and Seb is hyper-focused on Clora 😌🫶
I saw a photo of a couple like this and all I could think was how SebClora coded it was LOOOL 😆 and honestly this piece may not be my fav thing but I learned so much while I made it and im just glad I didn't scrap it during any of my frustrating moments 🫶💖
I HOPE YOU LIKE IT @choccy-milky 🫶🫶🫶
(Just ignore all the sloppiness and errors I'll do better next time, I didn't even know what clipping layers WERE when I made majority of this 😅)
#ive given up on making an mc#im too slow ill be over HL before i finish making them LOL#and there are so many fun wonderful creative mcs and creators id like to celebrate with my fanartz#so i think ill stick to that until my HL brainrot expires 😇#the list is so long and im so slow and trying to learn while i create which slows me down even more 😆#massive shoutout to Maddy for dealing with my silly bitxhing over this piece for way too long LMAO 🫶#my choccy suck up moment 😌💖#hogwarts legacy#sebastian sallow#hogwarts legacy fanart#hogwarts legacy mc#sebastian sallow x mc#fanart#hogwarts legacy oc#sebastian sallow fanart#clora clemons#clora#LMAO when i started typing clora my keyboard suggested “clorasexual”#omg all i have to do is type 'c' and my keyboard is like CLORASEXUAL LMAOOOO#calling me out#clorasexual#arent we all#another phone art#my art stuff
518 notes
·
View notes
Note
ANGEEEEEEL DO A LITTLE FUCKER AND ISHA FIC AND MY LIFE IS YOURS 🫵🫵🫵
okay okay okay long awaited but let's do it finally ehheehehe
as always with these fics, don't ask me the logistics of how the pregnancy happened. it's yuri magic. have some fun.
men and minors dni
jinx is twenty when she decides to go to college. after a few years of taking care of herself-- through therapy, moving in with you and sevika, isha's good influence, and vi and ekko's support-- jinx finally felt ready to look to her future.
she got into a good school in piltover; full scholarship, because she's a fucking genius.
you don't worry about the workload overwhelming her, though she's decided to enroll in a dual degree program, studying chemistry and engineering at the same time.
you don't worry that her demons will catch up to her; she'll be living with cait and vi, and she'll be within walking distance of her therapist. plus, she's done a lot of good work for herself.
the only thing you worry about is isha.
though the girl is older now, around eight years old and much more used to you and sevika than she was when you first met, isha's favorite person in the entire world is still jinx. and the feeling is mutual. so, while jinx will spend her weeks with cait and vi up top, on weekends she'll come back to zaun to catch up with isha.
it's still a rough adjustment.
isha's just... lonely. you miss the giggles that used to fill your home-- isha entertained endlessly by her older sister's shenanigans. and despite all you and sevika have done to keep her occupied-- buying her new games and pets and books-- you can tell that isha's bored all alone.
"what if we had a baby?" sevika asks one night after you've turned off the lights and cuddled into her arms.
"another cat?" you mumble. sevika laughs.
"i was thinking a human baby, but we could get another cat if you want."
you sit up in bed, reaching out to flick a light on and stare down at your wife. "where the fuck is this coming from!?" you squeal.
sevika shrugs. "isha's lonely! we should give her a little sibling."
"wh-- like our own baby?! like one of us gets pregnant!?"
"well unless isha drags home a stray kid i don't see how else we'll get one." sevika chuckles.
you gawk at her. sevika smiles up at you. "s-sevika, we already have two to five children, depending on the day." you say.
sevika snorts. "ekko, cait and vi are ours only in spirit, love, they won't ever need us in the way jinx and isha do." she says. you pout. sevika snorts. "and jinx is all grown up, now." she reminds you.
tears well up in your eyes. "no she's not." you say, your pout worsening. sevika giggles and swipes your tears away.
"look; i know we said no kids when we started dating. but we said a lot of shit back then. remember when we thought we'd go hiking every saturday? we were crazy." sevika says. you giggle. "shit happened between then and now baby. life happened. deaths and marriage and adoptions and moves-- that kinda shit changes people. you changed me. and... we bought this big ass house for our family. might as well fill it up."
"well fuck, sevika, how many babies are you planning on giving me!?" you ask through a sob of happy tears. sevika laughs.
"as many as you'll let me." she says with a shrug.
you go to the doctor to talk about pregnancy the next week, only to find out that you're already a month into your first trimester.
"wh-- i'm-- but--" you sputter.
"she's already pregnant!?" sevika squeals.
the doctor laughs. "it would seem so. good timing."
sevika bursts into laughter and scoops you out of the doctor's paper covered seat, spinning you around her office and sobbing into your shoulder as you blink in shock.
"what the fuck?" you ask. sevika cackles.
on your drive home, you look over at your wife with a suspicious glare. "did you plan this?"
sevika laughs. "you think i'm that diabolical?"
"no, i just-- you decide you want a baby and boom, i'm magically already pregnant?!"
"i can probably smell it on you or somethin'-- my instincts could sense it. like how i can smell when you're ovulating."
you giggle. "that's probably how you knocked me up in the first place."
sevika grins. "fuck yeah it is. i did the math. i think it was the weekend we sent isha up to spend with the girls."
at the mention of your girls it hits you. you're about to have a baby. another one. your own-- one that you know from the first shit it takes.
you burst into tears, and sevika laughs. "there you go, i was waiting for that to happen."
"we're having a baby." you cry, scrambling to grab the hand she reaches across the console. "oh, janna, sev-- i don't know how to change diapers! all our other kids came to us potty trained!"
"i'll change all the diapers in the world, for you, love." sevika promises, kissing your knuckles. you laugh.
"you're such a liar."
isha's one smart little shit. you and sevika decide not to tell her until the second trimester, when it's less likely that you'll miscarry.
she figures it out within a week of you and sevika getting the news.
it could be the way sevika keeps touching your stomach, or the giddy kisses the pair of you keep exchanging when you think isha's not looking-- but something tips her off.
she sits you and sevika down one evening with a frown and her arms folded in front of her chest.
is there a baby in your belly? she signs. you sputter. sevika gasps. isha's suspicious glare melts into an excited smile. is there!? she asks with a gasp.
you burst into laughter and sevika shrugs. "we thought you might wanna be a big sister." isha grins, tears welling up in her eyes as she launches herself at you and sevika, laughing and crying.
i do. isha signs. i'm gonna be the best big sister ever. don't tell jinx. or violet.
you spend your pregnancy being waited on hand and foot by all your girls. vi, cait, and jinx all come to visit once or twice a week-- all three of them enchanted with your swollen stomach and always bringing baby supplies in tow.
isha makes a count-down to your due-date, bedazzles it and hangs it on the fridge so she can keep perfect track of how much longer she has to wait before meeting the baby.
isha's also started to call the baby her baby.
how many more doctors visits do you have before you have my baby? isha signs to you one afternoon as you wait in your doctor's office. you burst into laughter.
"your baby, huh?"
isha nods. i'm her sister! she signs, before gently reaching out and rubbing your stomach.
"what makes you think it's a girl?"
isha shrugs. most of your other babies are girls.
you cackle.
isha must be psychic, because your little girl comes into the world kicking and screaming in the middle of a family potluck.
it's horrible. violet passes out. surprisingly, ekko is the most helpful, giving everyone instructions and calling an ambulance for you while you wail on the living room floor.
isha's watching with a disgusted fascination the entire time, her lips curled in horror and shock, her eyes big and sparkling as she witnesses the miracle of birth.
powder and cait help keep you propped up-- both of them toweling up all your... fluids... while sevika holds your hand and kisses your head.
one baby, a ruined rug, and an ambulance ride to the hospital later, and your family finally gets to see you in better condition, and they get to meet your little girl under better circumstances.
"aweee." your four grown kids coo as they shove into the hospital room.
"hey, no shoving around the baby!" sevika whisper scolds.
isha pushes her way through all her older siblings, crawling up in sevika's lap to look down at her little sister.
she gasps in wonder. she looks like big mama. isha signs.
cait chuckles. "she does."
"what a little fucker, comin' out lookin' like the parent that did nothin..." vi teases. sevika scoffs and you giggle in agreement.
"she really is a little fucker. ruined our dinner." jinx huffs. "i was looking forward to that potroast, y'know."
isha giggles, pinching her fingers together, then flipping off the baby and pointing at her. little fucker.
you all burst into laughter. little fucker's silver eyes pop open, and she bursts into tears.
taglist!
@fyeahnix @lavendersgirl @half-of-a-gay @thesevi0lentdelights @sexysapphicshopowner
@kissyslut @chuucanchuucan @badbye666 @femme-historian @lia-winther
@lavenderbabu @emiliabby @sevikasbeloved @hellorai @my-taintedheart
@glass-apothecary @macaroni676 @artinvain @k3n-dyll @sevsdollette
@ellieslob @xayn-xd @keikuahh @maneskinwh0re @raphaellearp
@iamastar @sevikitty @mascdom @nhaaauyen @annesunshiner
@mirconreadzztuff22 @veoomvroom @lushh-s3vik4s @katyawooga @lesbodietcoke
@strawberrykidneystone @sevikasfan @fict1onallyobsessed @dvrkhcld @sweetybuzz25
@sluttysierraaa @snake-in-a-flower-crown @ruiwonderz @littlemisszaunite @biblicalcrybaby
@blackgaladriel @nightlyconfusion @dancingqu33n17 @losernb
#sevika#sevika arcane#sevika imagine#sevika x reader#sevika x you#soft sevika#i would love to do a part 2 to this bc#babies can start using sign language crazy early?? and i'm just imagining little fucker learning so early b/c of isha's influence#and then u've got a 8 year old and a 8 month old baby that can BOTH curse you out fluently in sign language LMAOOO
403 notes
·
View notes
Text
Jason’s protectiveness over his dad comes to bite him in the ass when a rumor chain about Red Hood and Bruce Wayne dating spreads like wildfire.
Everyone is disgusted and amused in equal parts
#jason: yOu fReAkInG fReAkS!! when wIll yOu lEaRn!! that your actions have C O N S E Q U E N C E S#duke’s been throwing up since soon (he started the rumors to fuck with jason)#now jay has to convince jaime — his crush —#that he’s not a two timer. which is so funny#dc#dc comics#batfamily#jason todd#bruce wayne#Bruce is handling it as well as everything else. which is not good at all#batdad#protective jason todd
2K notes
·
View notes
Text
Shots fired by the Spider-man sequels.
Was ruminating on how Miles and Miguel are technically both 'Spider-man 2' in their respective universes. Got me thinking about the other Spider-successors in the cast, and also what if they all got matching T-shirts or something.

#Bringing back Peter’s ITSV insecurity from his mid-life spider-crisis to document his hard swerve into “dad & mentor” in real time#Miles is wearing a variation of the Hobie watch because I cant see post-ATSV Miles wearing a watch with Miguel's parental controls on it#Miguel is reading the instructions for assembling a couch from IKEA 2099#he has to build a new one for the breakroom b/c the last one died to T-rex butt#Basically I had an idea that involved learning how to draw Ben Reilly and jumped on it. His comic inking look is weirdly nostalgic for me.#my art#miles morales#ben reilly#miguel o'hara#mayday parker#scarlet spider#ultimate spider man#spider man 2099#spider girl#spider man#peter b parker#peter parker#across the spiderverse#atsv#may parker#into the spiderverse#atsv fanart#spider man: across the spider verse#miles morales prowler#prowler miles#miles 42#the cooler spider man#the cooler miles#that's not a bit he's just legitimately the cooler Miles#spider-man
3K notes
·
View notes
Text
CodeBeauty
POINTERS introduction
#include <iostream> using namespace std; int main(){ /* int n = 5; cout << n << endl; output: 5 */
// is for a comment line and /**/ is for multiple line comments //I make it like this so you can paste it immediately into a compiler //variable - &address - *pointers. //START //just like variable, a pointer is a container as well, storing an address (a memory location) //n is a variable meaning that it is a container storing certain value //because it's a container, it has it's address inside the memory, a physical location //in order to check the location / which address :
/* int n = 5; cout << &n << endl; output: 006FFD64 */
//because it's not always fun to remember long address numbers, so we give them names - variables. we create a pointer to name an address and easily access it.
//POINTERS //how to create a pointer holding address of our n variable:
int n = 5; cout << &n << endl;int* ptr = &n; cout << ptr <<endl; //in order to indicate that you're creating a pointer, use * star (int*) //then give it a random name (ptr) //assign it (to ptr) the address of our n variable which is = &n (= assign)(& address)(n variable) cout << *ptr << endl; // a star * before the pointer's name will only reference the pointer and then find the VALUE of the ADDRESS //which is our original variable n //basically we're asking for the value 5, not the address 006FFD64 //CHANGE THE VALUE (5) stored in the pointer ptr address: *ptr = 10 ; //a star * means access the memory location and (=)assign a NEW (10) value //let's check if it's now 10 instead of 5 cout << *ptr <<endl; cout << n ; //both *ptr and n now show 10
//NOTES //pointer has to be of the SAME TYPE as the variable it is pointing to //int pointer to int variable, not int to float //char pointer to char variable, bool pointer to a bool variable, etc //you can't assign a value to a pointer, it has to point to an address //first create a (example) variable to store that variable's & address to the pointer //pointers are problem solvers and not the casual way it's used in these examples system("pause>0"); return 0; }
#I make it like this so you can copy it into a compiler#codebeauty#learn c++#studyblr#studyinspo#studyspo#coding#pointers#cpp#c plus plus#c++#c++ language#c++ programming#computer science#cppprogramming#learn coding#learn cpp#learn to code#study coding#programming#learn#study
1 note
·
View note
Text
Can we say my Harper responsibilities to maintain balance start *tomorrow*? Hm... no.
Bonus:
/cc @astreamofstars and @springagainafter, my fellow Jaheira-lovers. <3
#my gifs#jaheira#jaheira bg3#bg3 jaheira#giffing bg3#bg3#baldur's gate 3#bg3 gifs#hector carlisle#AU where hector joined the harpers with jaheira after the fall of the brain i guess c:#(sadly this would probably be the karlach-died AU#but look at his lil smile looking at his friend jaheira c: )#also the “harper sign” he does is ASL for “HAR” which is kind of cute :P#zero brain for writing tonight so making other jaheira content instead XD#i did this instead of going to bed but i'm pretty proud cos i learned how to set story flags in-game#to get dialogue i wouldn't normally have on a particular save :D#i will be unstoppable now 💪
675 notes
·
View notes
Text
michael: It's so sad y'know... when uncle tommy gonna.... yknow...
puffy who's babysitting michael: what
michael: you know how he keep smoking... cancer...
#my art#cw smoking#dsmp#dream smp#tw dsmp#c!tommy#comic#dsmp season 2#also i think beeduo started learning sign languange for michael#they would teach him n stuff and tommy gr gr bper liat mereka pake bahasa isarat dia ngikut ngikut#ctom isnt as good in sign languange as michael or bee2 but he tries#c!michael#michael underscore beloved#c!wilbur
560 notes
·
View notes
Text

Blorbos (in love)
#exploring ways to draw them#a more classic fanart as i try to learn how to use procreate#good omens#crowley#aziraphale#de bons présages#otp#a/c#fanart#sketch#drawing#procreate
3K notes
·
View notes
Text
a little lovestruck imp and his witch wife doing normal witch things <3
redraw comm for @/sheepingly on bsky!!! based on this image
#helluva boss#blitz buckzo#blitzø#stolas of the ars goetia#stolitz#my art#redraw#commission#i dont usually post comms b/c im still learning the culture and like to let people post it themselves unless they ask me to otherwise#but this was for a friend :)
190 notes
·
View notes
Text
Day 4 : thawing out/beginnings
The first time I met you on that mountain

Rivals Duo prompt week
#my art#i miss them..#winterspringrivalsduoweek#tbh im not that proud with the colors but i learn so much from this i take that as a win#i love this mountain lore#c!dream fanart#dream fanart#c!techno fanart#techno fanart#c!technoblade fanart#technoblade fanart#rivals duo#dream smp#dsmp#dreblr
261 notes
·
View notes