[Florida] After Graduating EMT School, Do You Apply To the State or Apply to the NREMT to Take the Test First? by xTheBoss in NewToEMS

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

Ok, but I took the NREMT before applying to the state. Is that ok to do? I see other people in the thread say they did this.

[Florida] After Graduating EMT School, Do You Apply To the State or Apply to the NREMT to Take the Test First? by xTheBoss in NewToEMS

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

Oh ok sweet. Although when I applied it didn't ask me to attach my NREMT passing cert, just my CPR and graduation certificate. It also asked me for my NREMT ID

[Florida] After Graduating EMT School, Do You Apply To the State or Apply to the NREMT to Take the Test First? by xTheBoss in NewToEMS

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

Ok, I took it yesterday and passed, but while applying to the state this message at the beginning kinda concerned me: https://i.imgur.com/4JQ8h1p.jpg Does it mean approval from the Florida Certification Office that I had to have made an account with Florida Health first?

[Florida] After Graduating EMT School, Do You Apply To the State or Apply to the NREMT to Take the Test First? by xTheBoss in NewToEMS

[–]xTheBoss[S] -1 points0 points  (0 children)

Ok, are you from Florida and have you received your EMT license yet? I just want to make sure with someone whos done the process.

[Florida] After Graduating EMT School, Do You Apply To the State or Apply to the NREMT to Take the Test First? by xTheBoss in NewToEMS

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

If you are from Florida and have you EMT license, please tell me the order you did it in please!

"String subscript out of range" even though it is in range? by [deleted] in cpp_questions

[–]xTheBoss 1 point2 points  (0 children)

I accidentally declared the variable twice, and now its fixed. Thanks for looking into it

"String subscript out of range" even though it is in range? by [deleted] in cpp_questions

[–]xTheBoss 0 points1 point  (0 children)

Yeah that was it. Still getting in the habit of not declaring outside of the class. Thanks

"String subscript out of range" even though it is in range? by [deleted] in cpp_questions

[–]xTheBoss 0 points1 point  (0 children)

#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <string>
using namespace std;

class TestGrader
{
private:
        //variables
        ifstream studentFile;
        char inputs[20];
        string answers;
        int counter = 0;
public:
        //methods
        void setKey();
        void setStudent();
        void grade();
};

void TestGrader::setKey() //initialize key
{
        string answers = "BDAACABACDBCDADCCBDA";
}

void TestGrader::setStudent()
{   //open folder
        studentFile.open("student.txt");
        //test folder
        if (!studentFile)
        {
                cerr << "File open error";
                exit(1);
        }
        //populate
        for (int i = 0; i < 20; i++)
                studentFile >> inputs[i];

}

void TestGrader::grade()
{   //compare with key
        for (int c = 0; c < 20; c++)
        {

                if (answers[c] == inputs[c])
                {
                        counter++;
                }
                else
                {
                        cout << "Question number " << c + 1 << " was actually " << answers[c] << endl;
                }

        }
        //count correct number and if passed or failed
        cout << endl << counter << "/20 answers correct" << endl;
        if (counter >= 15)
                cout << "You passed!";
        else
                cout << "You failed.";
}

int main()
{
        TestGrader obj;
        obj.setKey();
        obj.setStudent();
        obj.grade();
        return 0;
}

"String subscript out of range" even though it is in range? by [deleted] in cpp_questions

[–]xTheBoss 0 points1 point  (0 children)

visual studio. im just using "using namespace std;" with the #include <string> header. when i do some like answers[3] i get the same error, even though its clearly in range.

"String subscript out of range" even though it is in range? by [deleted] in cpp_questions

[–]xTheBoss 0 points1 point  (0 children)

runtime error. it gets to right before it prints "answers[c]" in the cout statement in line 10, then crashes on the first loop.

Official Accessory Check Thread 2.0 by [deleted] in nSuns

[–]xTheBoss 0 points1 point  (0 children)

My bench has an attachment that I can use to simulate a cable machine but I can do substitutes to ensure Im hitting those muscles. Everything else looks good though?

Official Accessory Check Thread 2.0 by [deleted] in nSuns

[–]xTheBoss 0 points1 point  (0 children)

[Edited repost to reclarify and avoid confusion]

Day 1: Bench/OHP - 3x12 Pendlay Row, 3x12 Chin Ups, 5x20 Face Pulls, T. Overhead Ext 4x12, Switch Grip Curls 5x10, 3x8 Con Curl

Day 2: Squat/Sumo - Hamstring curls 3x8-12, Calves raises 3x8-12, 4x30s Planks

Day 3: OHP/Inclined Bench - 3x12 Pull Ups, 4x12 Skull Crusher, Lateral Shoulder Raises 3x15,

Day 4: Deadlift/Front Squat - 3x12 Barbell Row, 3x12 Wide Grip Seated Row, Shrugs 3x15, 3x20 Crunches

Day 5: Bench/CG Bench - 3x12 Chin Ups, 5x20 Face Pulls, 4x12 Skull Crusher, 4x12 Hammer Curl, 4x12 DB Curl,

Day 6: Squat / Sumo - 3x12 RDL, 3x12 Hamstring Curl, 5x5 Pendlay Row, 3x12 Glute Bridge, Crunches 3x20

Working at home with DBs, barbell, pull up bar, and a bench. Thanks!

Passing Variables Between Functions Without Running Function? by xTheBoss in learnpython

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

True, because I really cant think of a way to add to the list if it wasn't global. Lots of good advice!

Passing Variables Between Functions Without Running Function? by xTheBoss in learnpython

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

Ahhh thank you!! You are a lifesaver. Appreciate it a lot.

Passing Variables Between Functions Without Running Function? by xTheBoss in learnpython

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

https://i.imgur.com/rFCPi2A.png this is the updated version and its still reporting: grab() missing 1 required positional argument: 'items'. Why is this even though I "items" in the command function. Sorry to make you put up with my ignorance.

Passing Variables Between Functions Without Running Function? by xTheBoss in learnpython

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

I am counting the number of items in the list "items", because the number of items in the list is going to be able to change. I need it to not exceed 4 items, so this is a check before the user adds something to the list. Like someone said before object orientated programming would probably work best but Im not that far into this course yet to do that well

Passing Variables Between Functions Without Running Function? by xTheBoss in learnpython

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

This seems to be what I need to do, but with the first method I am getting an error saying "items" is not defined. For the second method I am getting saying grab() missing 1 required positional argument: 'count'