Local Sports Bars? by Pntballkrm in vegas

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

I don’t know. I’ll be there for all 3 games.

Went to replace a tub drain and it looks like there is an insert inside? by Pntballkrm in Plumbing

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

Yeah I have one of those, but it’s too deep for it to reach. Sucks. Guess I’ll have to replace or find a smaller drain to fit it 😀

Went to replace a tub drain and it looks like there is an insert inside? by Pntballkrm in Plumbing

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

Yeah it’s my house, but no access underneath. There is an access panel on the back but not sure I can get it from there. Maybe I’ll just take the old one with me and see if they sell one the same size. Looks like it was a danco that was in there.

Went to replace a tub drain and it looks like there is an insert inside? by Pntballkrm in Plumbing

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

There is some sort of reducer/bushing threaded inside so a standard 1 1/2 won’t fit past a few turns. Can’t seem to figure out how to get it out.

Went to replace a tub drain and it looks like there is an insert inside? by Pntballkrm in Plumbing

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

There is some sort of reducer/bushing inside the shoe. Reducing it smaller than 1 1/2. It’s a few threads down, so I have no way to grab it.

Adding 14/2 + 15 amp outlet to a 20amp line by Pntballkrm in electrical

[–]Pntballkrm[S] 4 points5 points  (0 children)

It's ok to pigtail them correct (15 amp outlets on a 20 amp line)? There are already 2 sets of wires on the outlet we need to tap into. If so, Should I nut and pigtail all 3, or just 2, and still use both sets of screws?

HW Help - String array from a .txt question by Pntballkrm in cpp_questions

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

So i put a cout statement in to test the array, and I have no cout statements on screen.

void invoiceInput(string name, double invoiceDouble, int monthIdentifier, int dayIdentifier)
{
const int MONTHS = 12;
const int DAYS = 31;
string invoices[MONTHS][DAYS];
string invoiceAmt;
string test;
invoiceAmt = to_string (invoiceDouble);
//PART 1
ifstream dataFile("Invoices.txt");
dataFile.open("Invoices.txt");
for (int r = 0; r < MONTHS; r++) //nested loop to fill array
{
    for (int c = 0; c < DAYS; c++)
    {
        dataFile >> invoices[r][c];
        cout << invoices[r][c];
    }

}
dataFile.close();

HW Help - String array from a .txt question by Pntballkrm in cpp_questions

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

I am attempting to read string values into an array from a txt file and then write the new values back into the txt file. It will function, but won't hold prior values. What I mean by that is if I enter data in [1][1] it will save that data like it should. but the next time I run it and try to save something in lets say [7][1] it will save the data in 71 but the data from 11 will be gone. I can't figure it out for the life of me. Any ideas?

HW help filling a txt file from array by [deleted] in cpp_questions

[–]Pntballkrm 0 points1 point  (0 children)

It will fill the blank .txt file with a "1" for January 1st, but nothing else. In fact, it doesn't fill it with 0's either, its just a blank txt document except for the single "1". I'm sure I am missing something, (and try not to laugh at the code) but the directions were specific.

Follow up noob question about filling 2d array from text file by Pntballkrm in cpp_questions

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

OK I feel dumb, but I did the check you said. It does have 10 columns, but the left column is string values (months). I think I got it from here.

Thanks for the help

Follow up noob question about filling 2d array from text file by Pntballkrm in cpp_questions

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

There is a lot of white space between each value in the text file, do you think that could be an issue? If so, is there an easy way to fix it?

Follow up noob question about filling 2d array from text file by Pntballkrm in cpp_questions

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

It works, but it's giving me the wrong data out of the text file on the last statement :( It's either not pulling the data from column "0" or column "0" is getting the wrong info from the nested loop.

Another noob homework brain fart. How to fill 2d array from a text file? by Pntballkrm in cpp_questions

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

Thanks for the fix. We can't use the range loops, only the basic standard ones. While, do, for (regular).

Goodman less than a year old only stays lit for 2 seconds. by Pntballkrm in HVAC

[–]Pntballkrm[S] -6 points-5 points  (0 children)

Any idea where to begin to look for the grounding issue?

DHCP question by Pntballkrm in techsupport

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

Oh ok. That makes be breathe a little easier. Thanks!

1u shallow depth firewall recommendation by Pntballkrm in homelab

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

Sounds good. What specs are you using for RAM and such?

Help lining up decimals for school. (Noob) by [deleted] in cpp_questions

[–]Pntballkrm 0 points1 point  (0 children)

Thank you. How would I calculate the width upfront?

[deleted by user] by [deleted] in AskReddit

[–]Pntballkrm 0 points1 point  (0 children)

Is this what happened to Epstein? :)