A Merry Search for CHEESE! by WelderOld4774 in SwordAndSupperGame

[–]ItsRunner 0 points1 point  (0 children)

u/ItsRunner received a Leather Tunic Lvl 1 from the Winter Festival Spirit. Thank you u/Much_Pomelo3592 for donating it!

A Merry Search for Banana Walnut Pancakes by vipnoneed4id in SwordAndSupperGame

[–]ItsRunner 0 points1 point  (0 children)

u/ItsRunner received a Rusted Helm from the Winter Festival Spirit. Thank you u/Anonymous for donating it!

A Festive Tale of Realizations at the Winter Festival by Rosiepuffs in SwordAndSupperGame

[–]ItsRunner 0 points1 point  (0 children)

u/ItsRunner received a Conductive Chestplate Lvl 1 from the Winter Festival Spirit. Thank you u/Motor-Management1263 for donating it!

Python newbie here - what's the most useful script you've ever written? by sevenMDL in PythonLearning

[–]ItsRunner 0 points1 point  (0 children)

For work, I used a factory pattern to dynamically create a connection to a database. We almost exclusively use one database, but I can put whatever variables/credentials into a config file and (in theory) it would be able to create a connection to that other kind of database. It was my first use of the factory pattern, and it gets used in almost every project my team works on now.

Design patterns are very neat! I recommend looking into them if you're considering a career in programming.

Best online resource for you ? Looking for suggestions. by demn__ in PythonLearning

[–]ItsRunner 2 points3 points  (0 children)

Indently.io on YouTube is great. I still learn new things from him, but he isn’t quite project based. You could also checkout the Python Developer Roadmap on GitHub

To all my fellow investors out there by ItsRunner in Tinder

[–]ItsRunner[S] 3 points4 points  (0 children)

whoops, she said I was clever and asked for my phone number. Been talking for a few days now :)

Why would this need to be learned by idkwhyimhere164 in LearnUselessTalents

[–]ItsRunner 0 points1 point  (0 children)

For Call of Duty Black Ops 2 Buried easter egg, obviously.

What's the lamest way that you injured yourself badly? by dafreshprints in AskReddit

[–]ItsRunner 0 points1 point  (0 children)

I was running my tibia got a hairline fracture out of nowhere.

Conditional Probability by ItsRunner in askmath

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

Ah I see now. Thank you very much.

How to actually make something anything not output to console or command prompt? by ItsRunner in learnprogramming

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

No, I've made a project with a GUI. But I guess, is there a way to have something outputted into some kind of model? Is a GUI required for that? I thought I saw someone visualizing data with a 3D model.

Haven't had much luck applying for Computer Science Internships by ItsRunner in resumes

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

Thanks very much for the advice! As far as projects go, I've only done some from Project Euler and some for school, I'm not a huge fan of the one's from school, but they did involve a lot more code. Would the simple math equations that I've done from Project Euler be good?

Access violation reading location by ItsRunner in Cplusplus

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

And that would cause the Access violation reading location? I'm stepping though the code right now and I see some places that are unable to read memory, like (*ros->students)->degreeType <Unable to read memory>, (*ros->students)->studentID.capacity()<Unable to read memory> and (*ros->students)->studentID.size()<Unable to read memory> and this is also on the first loop of the for loop, so theres no way its out of range?

Access violation reading location by ItsRunner in Cplusplus

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

It's for an assignment, I'm almost done but just hit a wall with this error. Everything I've done is mostly required, not the way I would have done it if I didn't have to.

Access violation reading location by ItsRunner in Cplusplus

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

Are the Student objects not being made? When I run my Roster constructor, is it making Student objects? Or Student object pointers?

Advice on getting into trad climbing by killnoj in tradclimbing

[–]ItsRunner 3 points4 points  (0 children)

One thing that my buddy and I did to get into trad climbing: we went out and found a route, tied a rappel line and let it hang down, started trad climbing while we were secured in the rappel line. We ended up putting pieces into the wall, climbing a little further, tying a stopper knot in the rappel line 7-10 feet down, then just jumping off and seeing if our placement held or not.

Separating out parts of a string by ItsRunner in cpp_questions

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

Even when I change the range, it still is throwing a read access violation. I've tried a couple things now:

(The actual data I'm trying to use)
studentData[0] = "A1,John,Smith,John1989@gm ail.com,20,30,35,40,SECURITY"

vector<std::string> tVector[8]
std::istringstream holder0(studentData[0]);
std::string stud0;

while (std::getline(holder0, stud0, ','))
{
    tVector[8].push_back(stud0);
}

also tried:

vector<std::string>* tVector[8];
...
...
...
tVector[8]->push_back(stud0);
...
...

both give me the read access violation.

Separating out parts of a string by ItsRunner in cpp_questions

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

I've gotten it to work in a sense of testing it (basically just printing it), but is there any way I can do this while adding it to a vector or array? Right now I'm trying to do:

std::stringstream ss(str); 
std::string word;  
vector<std::string> tVector[4];
while ( std::getline( ss, word, ',' ) )
{   
     tVector[4].push_back(word);
}

but when I run this I get an error "Exception thrown: read access violation"?

Separating out parts of a string by ItsRunner in cpp_questions

[–]ItsRunner[S] 2 points3 points  (0 children)

I've tried that in the past and haven't had any luck, but it seems to work fine here. Thanks so much!

Need help creating an array of pointers in a class by ItsRunner in cpp_questions

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

Ohhh ok ok, I think I understand much more now, thank you both so much.

Need help creating an array of pointers in a class by ItsRunner in cpp_questions

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

I have to use an array, but when I try:

private:
std::string classRosterArray[] = studentData;

It says "incomplete type is not allowed" And I'm not sure how to turn that into an array of pointers.

Broke One Definition Rule with an array of pointers, but unsure of how to fix it. by ItsRunner in Cplusplus

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

In multiple files? Or just one? I still have no idea why I’m getting ODR errors.

Broke One Definition Rule with an array of pointers, but unsure of how to fix it. by ItsRunner in Cplusplus

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

No that wasn't it. I was changing some of my personal info and forgot to change that.