《Programming Wizards!》Levels
Advertisement
He was awoken by the sound of laughter. Amare and Oseye were talking. He tried to sit upright but he was covered in blankets. “You’re awake,” he said and they stepped closer.
“Mild hypothermia,” she said. “Like this loser,” she pointed to Amare.
“Hey, I didn’t know!”
“So, you and him talk all the time and all of a sudden he decides to do the same thing you did?”
“I—I didn’t tell him about it.”
“He didn’t ask what was wrong with your face?”
“He did, but I didn’t tell him that it was dangerous to fly so high!”
“So, you conveniently left out that part and he goes on to do the same thing a couple days later.”
“Right,” he said defeatedly. “You’re right, Oseye. I should have told him.”
“I’m just saying. I’ll tell Shuang he’s awake.”
“Andrew, what’s going on here?” he pointed to the screen. “It’s not letting me access the ‘Value’ variable.”
class TestClass { int Value; } void Main() { TestClass x1 = new TestClass(); x1.Value = 1; }
“The ‘x1.Value’ line is throwing an error.”
“Here,” pointed Andrew at the error message. ‘The field TestClass.Value is inaccessible due to its protection level.’
class TestClass { public int Value; }
The error was gone. “Classes’ protection level is ‘private’ by default?”
“Yes, in the language you’re using, it is. You had to mark it as ‘public’ to be able to access the variable from outside of the class.”
“How are you feeling?” asked Amare.
“Amare,” said Vick with a pitiful look. “I saw her.”
He knew without another word who Vick was talking about, and the smile on his face vanished. He took a seat beside the bed. “Did she reach for you, too?”
Advertisement
“She did.”
He covered his face with his hands and began sobbing.
“Amare,” worryingly he said and tried to reach out to him but the blankets were wrapped around his arms. “Amare,” he said again. “Maybe it was a hallucination.”
“I have to—” he said through his tears. “I have to—I have to go up there again.”
“Amare, no. You can’t.”
“But, she’s waiting there.”
“We don’t know if it is her.”
“You said,” he looked at Vick, “it was her.”
“Amare,” he paused, and he wanted to take back his words, he had never seen him in such despair. “I thought it were her because you thought it were her.”
“No, I swear it were her. Didn’t they disappear over the clouds? Lost on the radar, above how many meters?”
He tried to remember, and it didn’t take long. He remembered the incident like it were yesterday. “Fifteen-thousand.”
“Fifteen-thousand meters, Vick. We have to go back.”
“With a heater,” he responded instantly.
“I honestly like this better than class,” said Willard. “We should meet to review occasionally.”
“Mister Vick sucks at teaching,” said Roy. “That’s for sure.”
“Mister Vick looked tired yesterday,” said Gus.
“I’m sure that was the reason for his absence today,” said Andrew. “Everyone’s got to take breaks. He’ll be better equipped to teach us soon.”
“Andrew,” said Roy. “I set it to one here, but when I print it out, it’s two.”
“Oh, that’s because the variable is a reference to the object.”
void Main() { TestClass x1 = new TestClass(); x1.Value = 1; TestClass x2 = x1; x2.Value = 2; Console.WriteLine(“x1: ” + x1.Value); Console.WriteLine(“x2: ” + x2.Value); }
Advertisement
“Object?”
“Yes, an instance of a class is an object.”
“Ah, now I remember Mister Vick teaching us that. The class is like a blueprint and using the ‘new’ keyword makes an object from that blueprint?”
“Exactly. You seem to be catching on quick, Roy.”
“That still doesn’t explain why both of them are—” he paused. “I see, reference type?”
“You figured it out on your own.”
“You helped jog my memory, thank you.”
Advertisement
- In Serial21 Chapters
Outer Sect Disciple
Gongsun Xianyuan, eleven years old, was a genius... or he should have been. Unfortunately when the Cultivator of the Wudang sect came to the village he found out that he had a rare condition that prevented him to cultivate in the arts of the sect. He didn't give up right away but in the end he had to resign himself to the truth. At first he despaired but he soon choose to let his dreams go and begin a new life. This is the tale of an untalented cultivator who had given up in his dreams of glory to live a normal life. How will his future unfold? ------------------------- My native language is neither English nor Chinese, I am writing a Xianxia novel because I like the genre. I have tried to maintain the chinese names and the form of address but I used the measurements of the international system(meters, grams, etc..) and the hour time(no incense stick, or others). It may spoil it for some but I think it would be easier both for me and the readers. Before you read keep in mind that this is a novel with a slow progress. I don't want to give any spoiler but at least a few chapters will be dedicated to his life in the village.
8 228 - In Serial50 Chapters
Dead Eyes Open
Emerra Cole died just short of her twentieth birthday—but that won’t stop Jack Noctis, the embodiment of death, from asking for her help. Not that Jacky raised her from the dead. He says she came back on her own. He only dug her up, pulled her from her casket, and gave her a place to stay. While he hates to impose, he hopes she’ll lend him a hand with a murder that’s been giving him trouble. The anthropology professor, Trevon Wayde, was shot in the chest. The police are looking for his murderer, but Jacky wants to know why his soul is missing. Emerra returned from death with the Eyes of the Sphinx, a legendary ability that allows her to see things others can’t. Jacky thinks her new powers could be useful when it comes to uncovering what happened. When Emerra agrees to look around, she’s dragged into a world of magic and monsters. There isn’t much time for her to adjust. She’ll have to get her bearings while working side by side with a vampire, making friends with a wolfman and a bog-creature, and learning how to deal with an abrasive teenage witch. Thank god the mummy is there to help. Life after death is going to be interesting.
8 637 - In Serial32 Chapters
The Invincible Hero
A super hero’s life is simple. All you have to do is use your superpowers to protect Earth while maintaining a secret identity. The Invincible Hero is Earth’s most powerful superhero but he finally meets a challenge even he cannot defeat. Using bizarre technology such as the Samsara pods, Lorne, the Invincible Hero, climbs through the ranks of heroes and cultivators in a bid to acquire the power to protect those closest to him. The Invincible Hero battles to truly become invincible. However, new conflicts and enemies reveal he is still weak, but he persists stubbornly moving forward towards his destiny. This Novel can also be found on Webnovel.com
8 182 - In Serial55 Chapters
Alteria: The Fall of Gods
The world of Alteria has achieved peace after the millennium eternal war but unbeknownst to the normal people, another nightmare is about to begin. How will the future tyrant, blood emperor changed when someone guided him, someone, who has experienced the world again to try and try to save the world. "So i can't win alone even when I have reincarnated" the blonde youth smiled before succumbing to his wounds as the world slowly crumbled around him as the gods merely gave him a disdained glance. A chapter every 2 days or every day. Depends on how busy i am.
8 134 - In Serial13 Chapters
He's half my soul
Just a collection of stories showing Achilles' and Patroclus' point of view about falling in love before the war :)
8 197 - In Serial19 Chapters
BLOOD CURSE ACADEMIA
Blood is life and life is magic. At the age of six, Kizu was kidnapped and raised by a crone living deep in a tropical basin. Rescued ten years later, he returned to his negligent parents and former childhood life only to discover his older sister both disowned and missing. After his homecoming, his parents quickly signed him up for Wave Edge Academy. Three years behind every other student his age, he was placed as one of the worst students in the academy. To discover the answers about his blood sister, Kizu must climb the rankings. -New chapter every Thursday-
8 126

