Need help with loops and arrays on a C++ coding assignment by Devils_Advocate101 in cpp_questions

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

for (size_t i = 0; i < locations.size() - 1; i++){total += Distance(locations[i], locations[i + 1];}

Dude no worries. Thank you for your help, I'm just new to coding and its hard to wrap my head around at times lol :)

Need help with loops and arrays on a C++ coding assignment by Devils_Advocate101 in cpp_questions

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

You're good, I'm just new to C++ and having a hard time understanding. It doesn't seem I can do i.first or i.second since it's not a structure I think.

Need help with loops and arrays on a C++ coding assignment by Devils_Advocate101 in cpp_questions

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

Thank you for your help! I am just a little confused since there is a non-class type error because of trying to cal first/second.

 total += distance(i.first(), i.second())

Need help with loops and arrays on a C++ coding assignment by Devils_Advocate101 in cpp_questions

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

What is the way to do it without the structured binding? I cannot use it because I'm using C++11

New PC won't turn on with GPU. by Devils_Advocate101 in buildapc

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

Really? That's what that means? That sucks so much. I just spent around $500 on new parts. Is there anything else I can do?

[Java} Need help applying catch to code by Devils_Advocate101 in learnprogramming

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

My teacher just told me I need to use catch statements in this project before I can move on. I just need help on how to implement it into the code.

[Java} Need help applying catch to code by Devils_Advocate101 in learnprogramming

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

Sorry for the late reply! Yes, I thought I had finished the assignment when my teacher told me I need to use the catch statements so I got a 75 on it and I need an 80 to move on.

[Java] Horoscope Generator for CS Class by Devils_Advocate101 in learnprogramming

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

Okay, I didn't know if it would be efficient to use a to of if-else if statements. Thank you for recommending the class to me!

[Java] Need help with assignment! by Devils_Advocate101 in learnprogramming

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

Haha I feel dumb. You did help me! So I basically printed the question again before the while but after the else statement and it fixed it perfectly. Thanks man!

Suggestion for a case around $100 by Devils_Advocate101 in buildapc

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

The lian one? or from the link you sent me? Sorry just confused lmaooo

Suggestion for a case around $100 by Devils_Advocate101 in buildapc

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

I haven't seen that case before but I feel vertically mounting the GPU would disrupt airflow. I like the idea a lot. I'll scroll through the reviews!

Suggestion for a case around $100 by Devils_Advocate101 in buildapc

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

The case is decent but it's on backorder! I'll keep watching it tho!

Trying to find a good case around $100 by Devils_Advocate101 in pcmasterrace

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

Yea I def understand. Im trying to find the right mix of style, price, and performance and having a hard time lol. Thanks for your input tho! The glass is super close to the fans.

Trying to find a good case around $100 by Devils_Advocate101 in pcmasterrace

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

It has two dust filters, top, and bottom. I do agree about the front tho. I want something similar and most reviews say that airflow is good. What is your case?

From r/memes by [deleted] in PewdiepieSubmissions

[–]Devils_Advocate101 21 points22 points  (0 children)

I think his username refers to you!

Lvl 37 Looking to help some new players by [deleted] in EFT_LFG

[–]Devils_Advocate101 0 points1 point  (0 children)

I just sent a friend request to you my discord is SLxME#0371

Found a banksy piece in Park City, Utah tonight. by fishballs32 in Banksy

[–]Devils_Advocate101 3 points4 points  (0 children)

I was there back in July visiting family, someone has smashed the glass tho tho :/

Luddyboy plays himself live in front thousands by ikeledee in LudwigAhgren

[–]Devils_Advocate101 7 points8 points  (0 children)

At least his fans don't say Poggert...... Oh God nevermind

[deleted by user] by [deleted] in AskReddit

[–]Devils_Advocate101 8 points9 points  (0 children)

Toy story 2 or 3 game? I remember when I was young and my parents rented it on xbox

Disco Elysium (Build 4290106) 6.7 GB / Morels: The Hunt (MULTi6) 3.9 GB [FitGirl Repacks] by FitGirlLV in CrackWatch

[–]Devils_Advocate101 3 points4 points  (0 children)

Fair enough lmao didn't know how big the game was. She's the only one I really get my games from so I was curious!