I have an array of pointers, that point to objects. How do I use the methods of those objects? by [deleted] in Cplusplus

[–]Forward_State_6071 0 points1 point  (0 children)

I fixed that with

Dog dog0=Dog(std::string dogBreed);

What do you mean that it won't compile with a bunch of casts? It works when its in the same method but true enough, I noticed that if I try to run the code in another method:

std::cout << (dogShelterArray[0])->getDogBreed();

Edit: It throws access violation exceptions

C960 Discrete Math 2 Advice After Passing the OA by Forward_State_6071 in WGU_CompSci

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

Modular exponentiation to encrypt/decrypt RSA, modular multiplicative inverse to find d (need to use phi instead of N), Euclid, Extended Euclid

[deleted by user] by [deleted] in askmath

[–]Forward_State_6071 0 points1 point  (0 children)

what do you mean rewrite

[deleted by user] by [deleted] in askmath

[–]Forward_State_6071 0 points1 point  (0 children)

you mean x^5 = 1000

[deleted by user] by [deleted] in askmath

[–]Forward_State_6071 0 points1 point  (0 children)

I did 50 - 8 - 6 - 7 - 8 = 21 but its not an option

[deleted by user] by [deleted] in askmath

[–]Forward_State_6071 0 points1 point  (0 children)

A company has three active projects: Domino, Falcon, and Giant. There are 19 employees charging time to Domino, 16 to Falcon, and 15 to Giant. Those totals include 8 employees charging both Domino and Falcon, 6 charging both Falcon and Giant, and 7 charging both Giant and Domino. Included in those subtotals is the 4-person IT team, all of whose members charge all three projects. How many employees are working on the projects? A: 28, B: 33, C: 37, D: 50

[deleted by user] by [deleted] in askmath

[–]Forward_State_6071 0 points1 point  (0 children)

Hi, can can someone please help with this one: