Page 6 of 6 FirstFirst 123456
Results 76 to 88 of 88

Thread: C++ Help

  1. #76
    Old-Ones Studios Cruise Control's Avatar
    Join Date
    Apr 2005
    Location
    Seattle, WA
    Posts
    3,799

    Default

    Yeah. Sort of. I'm bad at this.

    Header files don't show up when you post code.
    Leave some shards under the belly
    Lay some grease inside my hand
    It's a sentimental jury
    And the makings of a good plan

  2. #77
    Prinny God Recognized Member Endless's Avatar
    Join Date
    Aug 2000
    Location
    Prinny Moon
    Posts
    2,641
    Contributions
    • Former Cid's Knight

    Default

    I removed the getch and clrscr functions as they are nonstandard and prevent compilation. Notice how no matter what my choice is and the temperature entered, the result is the same?

    <font color=lime>lopez@pc9-142</font> <font color=yellow>aks $></font> ./conv3
    What do you want to start with, enter your number than print enter.
    0. Fahrenheit
    1. Celsius
    0
    Input your fahrenheit vaulue and press
    ENTER.
    10
    Fahrenheit value is: 32
    Celsius value is: 0<font color=lime>lopez@pc9-142</font> <font color=yellow>aks $></font> ./conv3
    What do you want to start with, enter your number than print enter.
    0. Fahrenheit
    1. Celsius
    1
    Input your fahrenheit vaulue and press
    ENTER.
    10
    Fahrenheit value is: 32
    Celsius value is: 0<font color=lime>lopez@pc9-142</font> <font color=yellow>aks $></font>

    And then there is Death

  3. #78
    Old-Ones Studios Cruise Control's Avatar
    Join Date
    Apr 2005
    Location
    Seattle, WA
    Posts
    3,799

    Default

    I got that, I thought I fixed it.
    Leave some shards under the belly
    Lay some grease inside my hand
    It's a sentimental jury
    And the makings of a good plan

  4. #79
    Old-Ones Studios Cruise Control's Avatar
    Join Date
    Apr 2005
    Location
    Seattle, WA
    Posts
    3,799

    Default

    I need a rounding function to round hyp to the 10th decimal place.
    Leave some shards under the belly
    Lay some grease inside my hand
    It's a sentimental jury
    And the makings of a good plan

  5. #80
    Prinny God Recognized Member Endless's Avatar
    Join Date
    Aug 2000
    Location
    Prinny Moon
    Posts
    2,641
    Contributions
    • Former Cid's Knight

    Default

    Quote Originally Posted by Endless
    Or for rounding (warning, this comes from the web, in case your teacher checks):
    Code:
    float Round(float Value, int NumPlaces)
       {
       int k, Temp;
       float Factor;
       
       Factor = 1;
       for (k = 0; k < NumPlaces; k++)
          Factor = Factor * 10;
          
       Temp = Value * Factor + 0.5;
       return Temp / Factor;
       }

    And then there is Death

  6. #81
    Old-Ones Studios Cruise Control's Avatar
    Join Date
    Apr 2005
    Location
    Seattle, WA
    Posts
    3,799

    Default

    Yeah, I kinda got expelled, so none of this mattered. I apreciate it so much though, you have broadened my understanding of C++. Thank you.
    Leave some shards under the belly
    Lay some grease inside my hand
    It's a sentimental jury
    And the makings of a good plan

  7. #82
    Old school, like an old fool. Flying Mullet's Avatar
    Join Date
    Apr 2003
    Location
    Napping in a peach tree.
    Posts
    19,185
    Articles
    6
    Blog Entries
    7
    Contributions
    • Former Administrator
    • Former Cid's Knight
    • Former Senior Site Staff

    Default

    You got expelled?
    Figaro Castle

  8. #83

    Default

    Quote Originally Posted by bbomber72000
    Yeah, I kinda got expelled, so none of this mattered. I apreciate it so much though, you have broadened my understanding of C++. Thank you.
    ZMGwtfHOLYHEL wat? You call in a Bbomb threat or somthing? It does matter bomber, you matter. Either way you learned! They can give you a grade, but only you can give yourself ... ugh.. **somthing sedimental and deep.**

    Bipper

  9. #84
    Old-Ones Studios Cruise Control's Avatar
    Join Date
    Apr 2005
    Location
    Seattle, WA
    Posts
    3,799

    Default

    Um, I kinda failed. It doesn't matter, since I'm dropping out of school, getting a GED, and and going to a buisness/tech college that takes any age and GED's. I will then use that transcript for future colleges.

    I accidently stabbed somebody.

  10. #85

    Default

    Accidentally? Stabbed...

    ...... aukward.

    You can still get your diploma, by the way. I would go that route, even though a GED seems the same - it will always get that negative connotation. There is nothing wrong with a tech or trade degree. They make it a bit harder to get your foot in the door, but you are also a LOT more specialised in one single area.

    I went to a Technical College for Programming, and once I got in the door, I flew up to where I am now.

    I look at it like this. Normal universities study theory (etc), tech teaches you how to advance and work hands on (in most cases). Well, I would rather learn to work, than theorhetically work - right??

    Whatever you do man, best of luck to ya,

    Bipper

  11. #86
    Old-Ones Studios Cruise Control's Avatar
    Join Date
    Apr 2005
    Location
    Seattle, WA
    Posts
    3,799

    Default

    I'm also planning on using my transcript from this college to get into others that won't take a GED.

    BTW, my police statement of what happened is attached.
    Attached Files Attached Files
    Leave some shards under the belly
    Lay some grease inside my hand
    It's a sentimental jury
    And the makings of a good plan

  12. #87

    Default

    LOL, you can't be expelled for that. I mean.. what the hell. SUE! SUE!
    I hate over zealous authority figures that have to smurf with peoples fricken lives to show their prowress. To hell with him. You really should fight this, assuming your repoort is accurate. IS the other kid pressing charges? Did he ever buy Kingdom hearts 2?

    Bipper

  13. #88
    Old-Ones Studios Cruise Control's Avatar
    Join Date
    Apr 2005
    Location
    Seattle, WA
    Posts
    3,799

    Default

    XD Yes, I saw him on my way out convincing his parents it was awesome.

    They neglected to give me an expulsion hearing, and my mom is sueing.
    He can't press charges, they made him drop them, because he attacked first.
    Leave some shards under the belly
    Lay some grease inside my hand
    It's a sentimental jury
    And the makings of a good plan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •