Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

SirBernard

Members
  • Posts

    44
  • Joined

  • Last visited

    Never

Posts posted by SirBernard

  1. > Sorry i do not wish for any help at this time. I may release early builds or give people access to the SVN.
    >
    > The main reasons our that:
    >
    > A lot of people do more harm then good (no offense)
    >
    > This is a portfolio im making for school. So it must be all my code.

    Oh okay. i thought this was going to be the development of the Eclipse C++ engine.
  2. I just wanted to know if we could have a creative writing section?

    Some people are good writers and i would be cool for them(me too ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)) to have a place to share and discuss work.
  3. I just wanted to know if we could have a creative writing section?

    Some people are good writers and i would be cool for them(me too ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)) to have a place to share and discuss work.
  4. I want t help. I don't want anything i just want the experience and it would be great learning boost into C++ game development.

    I am also learning C++ currently in school so it would be great advantage.
  5. MU online server !

    Rs only if it is i don't know… just not modern like 459 and below please.

    How about um... Project Eden server. Or Armies of Gielinor, kinda like rs in the sense it is like a moba dn has rs chars and it would be a first time a private server for that game being made.
  6. Okay okay. so i open the new shop page and i am like scrolling tru the list and BAM the ban Hammer!. SO am like "hell yeah i am getting that, then i for some unknow magical reason my eyes fall on my 0.0 points. Damn no ban hammer for me.

    Any way why is there welfare?

    " You are not yet a registered member of our welfare program. If you meet meet the requirements you may sign up below. Once on welfare you will receive welfare Points every 7 days."

    lol i didn't know there was welfare on the net.

    I was looking tru all the sub pages undershop and found it.

    OT:

    cool system. Hope it might encourage people to post but post worthy comments & replies.
  7. I heard about rs going old school and i though they would probably not reallly do it. Its old members are coming back.

    And general General Pony how do you have that much Gold.

    I might pay for memebership and join ya all, but school is getting into finals and i can't spend A LOT of time on it.

    See you all in a couple of days.

    Seriously General share some cash ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)
  8. lol. So close to league of legends…

    > This isn't LoL though? Is Doom, Wolfenstein? is this whole site just a bandwagon of mmo dreamers? who cares, are you a gamer or a critic on genres taking off? so many questions like your comment that's just too insignificant to matter.
    >
    > You got a 360, download and let's play. ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)

    Looks like LoL. Don't ask for comments then call them insignificant. Just expressing opinions about a topic. and you also tagged this with "lol" which i would say is "league of legends"
  9. I need help wiht this program.

    It continues to run even after one of the cases is met.

    ```

    #include

    #include

    #include

    using namespace std;

    //Declare functions

    float gPrismSurface(float lenght, float width, float height);

    float gPrismVolume(float lenght, float width, float height);

    float gCylinderSurface(float radius, float height);

    float gCylinderVolume(float radius, float height);

    float gSphereSurface(float radius);

    float gSphereVolume(float radius);

    //(main) fuction(program))

    int main(int argc, char *argv[])

    {

    //Declare Variables

    char sChoice, cChoice;

    float lenght = 0, width = 0, height = 0, radius = 0;

    cout << "Solid Selection. Choose From Below\n";

    cout << "----------------------------------\n";

    cout << "[P]rism [C]ylinder [s]phere\n";

    cout << "Entry : ";

    cin >> sChoice;

    switch (sChoice)

    {

    case 'P':

    case 'p':

    cout << "Solid Selection. Prism (Area)\n";

    cout << "Cal. Selection.[s]urface [V]olume\n";

    cin >> cChoice;

    switch (cChoice)

    {

    case 'S':

    case 's':

    {

    cout << "Cal. Selection.[Surface] Area Cal.\n";

    cout << "----------------------------------\n";

    cout << "Enter a Length. (Numbers Only!: ";

    cin >> lenght;

    cout << "Enter a Width. (Numbers Only!: ";

    cin >> width;

    cout << "Enter a Height. (Numbers Only!: ";

    cin >> height;

    cout << "---------------Results------------\n";

    cout << "Surface Of Prism : " << gPrismSurface(lenght, width, height) << endl;

    }

    break;

    case 'V':

    case 'v':

    {

    cout << "Cal. Selection.[Volume] Area Cal.\n";

    cout << "----------------------------------\n";

    cout << "Enter a Length. (Numbers Only!: ";

    cin >> lenght;

    cout << "Enter a Width. (Numbers Only!: ";

    cin >> width;

    cout << "Enter a Height. (Numbers Only!: ";

    cin >> height;

    cout << "---------------Results------------\n";

    cout << "Volume Of Prism : " << gPrismVolume(lenght, width, height) << endl;

    }

    break;

    }

    case 'C':

    case 'c':

    cout << "Solid Selection. Cylinder (Area)\n";

    cout << "Cal. Selection.[s]urface [V]olume\n";

    cin >> cChoice;

    switch (cChoice)

    {

    case 'S':

    case 's':

    {

    cout << "Cal. Selection.[Volume] Area Cal.\n";

    cout << "----------------------------------\n";

    cout << "Enter a Radius. (Numbers Only!: ";

    cin >> radius;

    cout << "Enter a Height. (Numbers Only!: ";

    cin >> height;

    cout << "---------------Results------------\n";

    cout << "Surface Of Prism : " << gCylinderSurface(radius, height) << endl;

    }

    break;

    case 'V':

    case 'v':

    {

    cout << "Cal. Selection.[Volume] Area Cal.\n";

    cout << "----------------------------------\n";

    cout << "Enter a Radius. (Numbers Only!: ";

    cin >> radius;

    cout << "Enter a Height. (Numbers Only!: ";

    cin >> height;

    cout << "---------------Results------------\n";

    cout << "Volume Of Prism : " << gCylinderVolume(radius, height) << endl;

    }

    break;

    }

    case 'S':

    case 's':

    cout << "Solid Selection. Prism (Area)\n";

    cout << "Cal. Selection.[s]urface [V]olume\n";

    cin >> cChoice;

    switch (cChoice)

    {

    case 'S':

    case 's':

    {

    cout << "Cal. Selection.[Volume] Area Cal.\n";

    cout << "----------------------------------\n";

    cout << "Enter a Radius. (Numbers Only!: ";

    cin >> radius;

    cout << "---------------Results------------\n";

    cout << "Surface Of Prism : " << gSphereSurface(radius) << endl;

    }

    break;

    case 'V':

    case 'v':

    {

    cout << "Cal. Selection.[Volume] Area Cal.\n";

    cout << "----------------------------------\n";

    cout << "Enter a Radius. (Numbers Only!: ";

    cin >> radius;

    cout << "---------------Results------------\n";

    cout << "Volume Of Prism : " << gSphereVolume(radius) << endl;

    }

    break;

    }

    }

    system("PAUSE");

    return EXIT_SUCCESS;

    }

    float gPrismSurface(float lenght, float width, float height)

    {

    return 2 * (lenght * width) + (width * height) + (lenght * height);

    }

    float gPrismVolume (float lenght, float width, float height)

    {

    return width * lenght * height;

    }

    float gCylinderSurface(float radius, float height)

    {

    return 2 * M_PI * pow(radius, 2) + 2 * M_PI * radius * height;

    }

    float gCylinderVolume(float radius, float height)

    {

    return M_PI * pow(radius, 2) * height;

    }

    float gSphereSurface(float radius)

    {

    return 4 * M_PI * pow(radius, 2);

    }

    float gSphereVolume(float radius)

    {

    return (4 / 3)* M_PI * pow(radius, 3);

    }

    [/s][/s][/s][/s]

    ```
×
×
  • Create New...