BetaWar's Profile User Rating: *****

Reputation: 1214 Grandmaster
Active Posts:
7,388 (2.41 per day)
07-September 06
Profile Views:
Last Active:
User is offline Today, 04:42 PM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Your Car:
Who Cares
Dream Kudos:

Latest Visitors

Icon   BetaWar has not set their status

Posts I've Made

  1. In Topic: GPA Calculator Help

    Posted 26 Jan 2015

    Well, let's look at what your if statements are saying:
    grade = 4.0
    if perc > 94:
        print("Your GPA is 4.0")
    elif perc < 94 : grade = 3.5
    grade = 3.5
    if perc > 89:
        print("Your GPA is 3.5")
    elif perc < 89 : grade = 3.0    

    Now, I have just cut out a small portion of your code, but as you can see, if we go through with a hypothetical run of the code with perc = 99, we get to the first if statement, and perc > 94 is true, so we print out the message. Then the elif is ignored since the if was run. Then we get to the next if statement, and perc > 89 is also true (perc hasn't changed), so we print out the second statement and skip the elif again. This continues all the way down the file.

    What you want to do is chain together your blocks so there is only 1 if/elif/else block run no matter what perc is.

    Hopefully that makes sense.
  2. In Topic: Implementing new concepts into this calculator. Please help

    Posted 26 Jan 2015

    In this case, your compiler is complaining that your class CalculationClass doesn't have the variables num1, num2, or sum declared anywhere in it. This is because the class has a different scope from your main function, and as such your class isn't allowed to see the variables in main.

    You are calling the functions properly, but you haven't told your class what those variables are supposed to be in it.

    Here's a simple example of setting and getting a variable from a class:
    #include <iostream>
    using namespace std;
    class TestClass1
        myVar = 0; // starting value for the variable.
      void setVar(int number)
        myVar = number;
      int getVar(void) const
        return myVar;
      int myVar;
    int main(void)
      int aNumber = 42;
      TestClass1 obj;
      cout << "Object's var: " << obj.getVar() << endl;
      return 0;

    NOTE - Untested code, may not compile.

    As you can see, your need to declare a variable in your class to actually store the values you pass to it.

    Hopefully that helps.
  3. In Topic: Applications Programming Certificate - Thoughts?

    Posted 26 Jan 2015

    One other thing to consider about resumes: If you put it on the resume, I want to be able to ask you questions about it, some of which will be fairly in-depth, and get solid responses.

    I have seen candidates put on their resume that they are "experts" in C++, but fail to answer what polymorphism is/ what it looks like in the C++ world -- that doesn't bode well for getting my vote in the hiring process.

    As far as I have been concerned up to this point, certificates say that you understand something and are able to test well on it, while courses say that you have actually had some exposure and working knowledge of how to use it.

    Some career paths put a lot of weight on certs, and others disregard them entirely. If you want to be a professional developer (depending on the industry) you can probably just disregard certs, though in those cases you may want to ask around and see if you can find someone in the same field to get their input on it.
  4. In Topic: [link] Lift or Elevator?

    Posted 23 Jan 2015

    Haha, one of my coworkers sent me the link to that this morning. It is interesting, though I didn't go through the logic to get something big going.
  5. In Topic: What are you working on today?

    Posted 23 Jan 2015

    Woot Friday! Sadly I had to wake up super early for a meeting, forgot my shoes at home (was and am wearing slippers), and my new phone turns out to be incompatible with my iPhone wall-adapter, so it only charged to 78% last night.

    The good news:
    1 - I have a chocolate chip muffin on my desk
    2 - It is Friday
    3 - My company is bringing in beer and food this afternoon for everyone (they do this every 2 weeks)

    In other news:
    While I have only owned an Android phone for 2 days now, I don't really like all the updates that were made with lollipop. My phone app should only ever display contacts that I have on my google accounts that have phone numbers associated with them! I want my "silent" mode power button back (the new way: hitting the power button, then hitting the volume button, and setting the sounds to "priority" with having the priority volume setting set up to not play any sound outside of alarms is far too much button pressing -- they literally increased it by 50%).

My Information

Member Title:
#include "soul.h"
24 years old
September 6, 1990
Your mind
Video games, programming, school.
Full Name:
James Blades
Years Programming:
Programming Languages:
JavaScript, Java, C, C++, Actionscript 2, Actionscript 3, PHP 4, PHP 5, Python 2.6, Perl

Contact Information

Website URL:
Website URL


Page 1 of 1
  1. Photo

    raghav.naganathan Icon

    25 Feb 2013 - 04:43
    Congrats on the 900 :) Perfect square :)
  2. Photo

    Nseiki102 Icon

    07 Oct 2011 - 08:59
    Thank You for your help. I greatly appreciate it.
  3. Photo

    BetaWar Icon

    15 Feb 2011 - 09:17
    No problem. I love JavaScript so it isn't anything terribly difficult. The hardest part is to come up with challenges that will get people interested and not scare everyone away until we at least are a bit more known :)
  4. Photo

    Dormilich Icon

    15 Feb 2011 - 00:42
    thanks for managing the JavaScript competition.
    best wishes, Dormi
  5. Photo

    Theaegd Icon

    28 Mar 2010 - 11:56
    I <3 opera
  6. Photo

    BetaWar Icon

    21 Feb 2010 - 11:21
    I think there are a few people who like IE, but we are the minority. I use it because I have grown up with it, it acts the most as I would expect it to (out of the major browsers) and I have grown accustom to its little quirks. Everyone talks about building things for FF then hacking for IE, but I find that Opera, IE, Chrome, and Sarafi normally work very close to the same, and FF is the outlier.
  7. Photo

    -=m0n1k3r=- Icon

    20 Feb 2010 - 21:11
    Serious Question(s): Are you the only user who prefers IE over all of the other browsers? I haven't seen anyone else with that marked...
    Also, why do you prefer it?
Page 1 of 1