Story cover for Inline function: by DarshanH5
Inline function:
  • Reads 1
  • Votes 0
  • Parts 1
  • Time <5 mins
  • Reads 1
  • Votes 0
  • Parts 1
  • Time <5 mins
Ongoing, First published Jun 23, 2019
Inline function:

An inline function is an important feature of c++, this function is commonly used with class, the function is called using a keyword inline.
EXAMPLE FOR INLINE FUNCTION:
#include&lt;iostream&gt;

Using namespace std;

Inline int max(int x, int y)

{

Return a&gt;b?a:b;

}

Int main()

{

Cout&lt;&lt;max(10,10);

Cout&lt;&lt;""&lt;&lt;max(90,30);

Return 0;

}

Remember if a function cannot be inlined, that function is called a normal function.

 Read More
https://www.interesting321.com/2019/06/inline-function-in-c_3.html
All Rights Reserved
Sign up to add Inline function: to your library and receive updates
or
#40function
Content Guidelines
You may also like
Kiss Gone Wrong by devika2901
53 parts Complete
I was pinned to my bed. He left me no option but to stay in place. I tried to control my reactions, but couldn't help but sigh as Matt nipped my earlobe. His lips travelled down my neck, sending jolts of electricity all over my skin. His hands slipped under my t-shirt up and he swirled patterns all over my stomach. My mind was going numb and I was losing control. "Bailey!" My mother called from below and Matt placed his lips over mine so that I couldn't call out for help. I tried to push him away, but he simply held my hands in his. We heard my mother climb the stairs to reach my room and Matt smirked at me. "Let's see you talk your way out of this." Matt said and ran out of the window. The door opened and my mother gasped. "Bailey!" ************************************************************* Meet Bailey Stanford. The girl who everyone knows, but not everyone is friends with. The one who is invited to her share of parties, but prefers movie nights with her friends. The girl who is nice to everyone but will kill if someone insults the people she loves. Headstrong and opinionated, Bailey is not one to follow the crowd. Meet Matt Anderson. The boy who is so popular, that he allocates people to attend parties for him. The type of guy who will crash any party as long booze is available. The boy who has two girlfriends in a day. His attention span is next to nothing. Witness the drama created when these two crash into each other at a party late one night. It's going to be a roller coaster ride for sure.
It just... happened? (boyxboy) by leaa4500
20 parts Complete
Before I knew it my shirt was torn away from my torso and tossed on the floor, Charlie's doing the same. Our kiss intensified and I felt him groan against my lips. I swear to god, this boy is making out with me like his life depends on it! And that's when reality punched me in the gut... the words 'this boy' kept running through my head over and over again until it got through the thick fog of vodlka and whatever else was in those stupid drinks. I, Ace Loughty, was kissing a guy. A fucking guy. A fucking straight guy named Charlie Simmons who of course had to be one of the most popular dickheads in Meadow Ridge High. I am so unbelievably fucked. ----- 17 year old Ace Loughty was never one longing to be in the spotlight. In fact, he craved the exact opposite: being left alone. When Ace was 13, the tragic death of his younger sister Eleanor caused him to rapidly gain popularity and pitiful looks. He hated the attention. All of a sudden everyone wanted to be friends with the dead girls brother, they'd promise Ace he would never be alone that they would always be there for him, which he of course knew was untrue, they're all just hungry for attention. Sometime later the school moved onto other drama and gossip, things started to die down and people finally left Ace alone. He moved on with his life, convincing himself he was over Eleanor's death and as quick as the whole thing started, he returned to being lonely, weird, quiet nobody Ace. Just how he liked it. That is until 4 years later when he found himself sprawled out on a bed. With Charlie Simmons hovering over him. Charlie Simmons who was kissing Ace like he would die if he ever dared to stop. Which was all too true. Without kissing Ace, Charlie was as good as dead. *WARNING*: This story will contain themes of severe depression, suicide, abuse and somewhat graphic depiction of self harm. If any of these things may trigger you please rethink reading this story!! Started: January 21st 2020
Mr. Match (BoyxBoy) ✓ by euwangabrielll
27 parts Complete
I'm Finn Vasco but that's not quite important right now. I'm a pretty sarcastic guy if I'm gonna be honest. I'm closed off and I literally only have one friend. I might hate everybody in my school... but there's this guy there. He's... let's say, dreamy, someone who I thought would never even acknowledge my existence. That guy who was too damn good to be true, who was too good for me, who was too good for... everybody! You get what I'm trying to say. He's that cliché king of the campus and a popular and attractive heartthrob and with just one wink, he can send people on their knees... That sounded so wrong, anyway. So can you blame me for being over the moon when one day, he approached me only to what? ...To ask for my help courting my freaking best friend. I knew it was stupid for me to hope I'd even have any chance with him anyway. So I just agreed to help him. Even if I was hurting myself and potentially my best friend in the process, my best friend who has been there with me through the thick and thins, I still did it... I mean what could go wrong besides literally everything? So my plan was to just set my crush and my best friend up, and then everything would be alright... right? But of course, life doesn't like it when people have it easy. *** Highest Ranking #2 on #lgbtfiction #5 on #boyxboy #6 on #gay #8 on #teenfiction *** ~ WARNING: This story contains strong language and bullying. If you're not a fan of LGBTQ+ stories or BXB stories, then this story is not for you. ~ If you're gonna plagiarize, you might as well just put your clown outfit on.
In the Closet (boy x boy) by lI0I0Il
41 parts Complete Mature
Billy Miller is not gay. He's not even sure he's anything at all because he doesn't like people. But that's alright. His parents, his fish and his clingy neighbor he can't quite get rid of since middle school are enough for him. For now. --- Billy is a Junior in high school and he likes to think he's pretty cool. He enjoys making lists and he adores animals. He doesn't bother people and people don't bother him back, at least that's what he would expect. Until, as he hides in a closet at a party he was forcefully dragged in, he witnesses two boys french-kissing in there. One of them is Tavish McCloud. The other, it doesn't matter. Billy's mind spins and spins. Tavish is a perplexing hot mess that Billy doesn't know much about. His only choice is to make a list. - He knows his name is pronounced as Thomas. - He knows he's tall and handsome. - He knows he's Scottish. - He knows he's a senior with two grade retentions. - He knows he partakes in a crazy amount of lifting competitions. - He knows he has won a crazy amount of lifting competitions as well. - He knows he might enter the Olympics in a few years; everyone has been talking about it at school. - He knows he's hotheaded; everyone talks about it too, but behind closed doors. - He knows he has fucking nice hands. And, what he doesn't know yet but he's about to learn soon, Tavish can be annoying as fuck when he makes pestering you his life mission. --- Somebody's in the closet. Somebody hasn't even had the courage nor the will to step into the closet. That makes for a pretty neat love story.
You may also like
Slide 1 of 10
Kiss Gone Wrong cover
ɢɪʀʟꜰʀɪᴇɴᴅs. ᵐᵃˣ ᵐᵃʸᶠⁱᵉˡᵈ + ᵉˡᵉᵛᵉⁿ ʰᵒᵖᵖᵉʳ cover
Love happened because I'm different x reader cover
It just... happened? (boyxboy) cover
Mr. Match (BoyxBoy) ✓ cover
Loving Miss Love (GxG) cover
abnormal (gallavich) cover
Game Over cover
In the Closet (boy x boy) cover
>°°Forgiveness°°< Taehyung ff < cover

Kiss Gone Wrong

53 parts Complete

I was pinned to my bed. He left me no option but to stay in place. I tried to control my reactions, but couldn't help but sigh as Matt nipped my earlobe. His lips travelled down my neck, sending jolts of electricity all over my skin. His hands slipped under my t-shirt up and he swirled patterns all over my stomach. My mind was going numb and I was losing control. "Bailey!" My mother called from below and Matt placed his lips over mine so that I couldn't call out for help. I tried to push him away, but he simply held my hands in his. We heard my mother climb the stairs to reach my room and Matt smirked at me. "Let's see you talk your way out of this." Matt said and ran out of the window. The door opened and my mother gasped. "Bailey!" ************************************************************* Meet Bailey Stanford. The girl who everyone knows, but not everyone is friends with. The one who is invited to her share of parties, but prefers movie nights with her friends. The girl who is nice to everyone but will kill if someone insults the people she loves. Headstrong and opinionated, Bailey is not one to follow the crowd. Meet Matt Anderson. The boy who is so popular, that he allocates people to attend parties for him. The type of guy who will crash any party as long booze is available. The boy who has two girlfriends in a day. His attention span is next to nothing. Witness the drama created when these two crash into each other at a party late one night. It's going to be a roller coaster ride for sure.