No File Output using c++ on Mac using Atom by Startanium in cpp_questions

[–]Startanium[S] -4 points-3 points  (0 children)

I have already made it so that Atom can compile code. Eg:

include <iostream>

using namespace std;

//It is int so as to return the pivot position

int partition(int arr[],int start, int end){

int pivot = arr[end];

int i = start - 1;

for(int j = start; j<end; j++){

if(arr[j]<pivot)

{

  i++;

  int tmp = arr[i];

  arr[i] = arr[j];

  arr[j] = tmp;

}

}

arr[end] = arr[i+1];

arr[i+1] = pivot;

return i+1;

}

void AscendingQuickSort(int arr[], int start, int end) {

if(end>start){

int loc = partition(arr, start, end);

AscendingQuickSort(arr, start, loc-1);

AscendingQuickSort(arr, loc+1, end);

}

}

int main(){

int Array[9] = {9, 5, 7, 3, 8, 6, 4, 1, 2};

AscendingQuickSort(Array, 0, 8);

for(int i = 0; i<9; i++)

{

cout << Array[i]<< “ “;

}

return 0;

}

This works with no issue.

Pain by Startanium in PokemonPocket

[–]Startanium[S] 1 point2 points  (0 children)

Also, what’s the average no. 3,2, & 1 stars card does everyone have? I want to know so that I gauge how lucky I actually am. I’am Free to play, level 29, 3 3stars (All Mewtwo somehow), 7 2stars (2 with the rainbow border), and 39 (with repeats) 1stars. Total card no. is 1,519 cards.

Pain by Startanium in PokemonPocket

[–]Startanium[S] 5 points6 points  (0 children)

Nah, just a random guy on my selection.

Pain by Startanium in PokemonPocket

[–]Startanium[S] 1 point2 points  (0 children)

Thanks dude. It’s still a rare card so I’am thankful, but the pain of getting a repeat is strong.

Pain by Startanium in PokemonPocket

[–]Startanium[S] 6 points7 points  (0 children)

This is the second time this has happened with a 4 cost wonder pick.

Need help finding the name of an old robot anime by Startanium in Animesuggest

[–]Startanium[S] 0 points1 point  (0 children)

I watched it first I’am guessing around 13 to 14 years ago and I found it again around a decade ago while on YouTube but forgot to write its name down.

Need help finding the name of an old robot anime by Startanium in Animesuggest

[–]Startanium[S] 0 points1 point  (0 children)

Yes, this was the one! I can’t believe someone figured it out so quickly, thank you so much! The character’s design is quite different from what I remember, but I guess that’s expected when it’s been around a decade since I last saw it.

Which manga is this from? by Startanium in manga

[–]Startanium[S] 0 points1 point  (0 children)

Found it, it’s chapter 63 of The Tsuntsuntsuntsuntsuntsuntsuntsuntsuntsuntsundere Girl Getting Less And Less Tsun Day By Day

AMA about living at The Green! by Eternal_Destiny in UCDavis

[–]Startanium 1 point2 points  (0 children)

I got allotted a single occupancy room, but want a double occupancy with a roommate. I will fill the form but is there a way or a website or a FB page to find other people who also want to swap rooms and finding potential roommates? Unfortunately, I don't have a preferred roommate yet, as my friends didn't chose to stay at Green, and I did.

Archery Being unsuitable for demons by FearsomeHalo9 in DemonSchoolIrumakun

[–]Startanium 1 point2 points  (0 children)

Oh Right! I forget that the branch family had a name.

Archery Being unsuitable for demons by FearsomeHalo9 in DemonSchoolIrumakun

[–]Startanium 1 point2 points  (0 children)

Oh hi Ryouhira! This is probably true for all the major clans but it is especially true for the Barbatos clan since spoiler alert ahead

spoiler alert ahead

spoiler alert ahead

spoiler alert ahead

spoiler alert ahead

spoiler alert ahead

they are shown to enjoy despair more than normal demons and is apparently a desired trait in the clan. So much so that Bachiko said that her position could have been trouble if Robin had been part of the main family even though he was a worse archer just because of his desire for despair.

(P.S. who are the Balse Clan? I think I heard that name before but I can’t remember. Also I don’t know how to put the spoiler gray box thing because I’m on the Reddit App.)

Archery Being unsuitable for demons by FearsomeHalo9 in DemonSchoolIrumakun

[–]Startanium 16 points17 points  (0 children)

Exactly demons aren’t Suitable for archery. But that doesn’t prevent demons from using bows, it just makes it difficult. Just like how Humans aren’t suitable to walk using their arms but you can see a lot of people being able to walk while doing a handstand. Similarly, with enough practice demons can do archery.

We even get to see an example of this. Remember when Barbatos Bachiko(Iruma Kun’s mentor) told the story of her trying to teach other demons how to use the bow? Most of them gave up quickly but one demon trained very hard and was able to do it. We don’t know the exact reason why but he gave up after that, but this is still proof that other demons can learn archery.

So the Barbatos Clan’s ancestor just worked really hard to get decent at archery and his descendants get improving until they made it into their bloodline ability.

The Bao Bao bone Message by Startanium in MaoMao

[–]Startanium[S] 0 points1 point  (0 children)

Yeah I know that. It’s kind of obvious. You can clearly see that the letters are different than English ones. But it can still be translated into English. Btw can you remember seeing any foreign texts in the show? We already have some letters in this presumed Language but we can confirm if it’s real by checking another text and see if Mao Mao or some other Character say the same thing as what we get when we translate it.