• 0

    posted a message on Problems with some C++ coding. =(
    Bestakes: Hey, it is an assignment and I didn't want you to answer it for me, but tyvm anyways! =) I just had no clue how to add characters as well as integers into the program. I know about the ASCII table and realized needed to use from 97-122 for lowercase, 65 - 90 for uppercase, and 48- 57 (or something) for 0-9. That first part you put down
    char c[2];

    cin>>c;

    i = atoi( c );

    I had no clue about, that is really what I needed to see. So that is what allows me to place in the numbers and get the proper input and output for what the user types in as a character. Ty again =)
    Posted in: Off-Topic
  • 0

    posted a message on Problems with some C++ coding. =(
    The question is this:


    Write a C++ program that makes use of a switch statement but without the use of
    ANY if statements. The program reads in a character (not including a white space)
    from the user and then display accordingly:
    "The input is a digit", if the character is between ‘0’ and ‘9’
    "The input is an upper case letter” if the character is between ‘A’ and ‘Z”
    "The input is a lower case letter" if the character is between ‘a’ and ‘z’
    "The input is a special symbol” if otherwise

    So far I have searched around everywhere on the net, youtube included to find a solution. All I know how to do is what I have so far:


    #include <iostream>
    using namespace std;
    int main (void)
    {
    int number;
    cout << "Please input something: ";
    cin >> number;

    switch (number)
    {
    case 0:
    cout << "The input is a digit" << endl;
    break;
    case 1:
    cout << "The input is a digt" << endl;
    break;
    case 2:
    cout << "The input is a digt" << endl;
    break;
    case 3:
    cout << "The input is a digt" << endl;
    break;
    case 4:
    cout << "The input is a digt" << endl;
    break;
    case 5:
    cout << "The input is a digt" << endl;
    break;
    case 6:
    cout << "The input is a digt" << endl;
    break;
    case 7:
    cout << "The input is a digt" << endl;
    break;
    case 8:
    cout << "The input is a digt" << endl;
    break;
    case 9:
    cout << "The input is a digt" << endl;
    break;


    default:
    cout << "The input is wrong" << endl;
    break;
    }

    system ("pause");
    return (0);
    }

    That piece of code is just for the first part of the question, from 0 = 9. But I have no clue how to add characters aswell? How can I add characters and letters in one switch statement? Or is there another way to answer that question?

    Please and Thankyou to anyone who can give me some help and/or advice =)
    Posted in: Off-Topic
  • 0

    posted a message on Diablo 3 fps issue.
    I haven't really played Diablo 3 for a few weeks or so, but when I got back on, my fps dropped to an average of 20. Before I could play it with a smooth 60+ fps with everything maxed out. However, now no matter what I do to the graphics settings, my fps remains at an average of 20.

    I can play all other games on max with 60+ fps, I am playing Darksiders 2 atm. However, I was able to play Skyrim on Ultra settings with a decent 60+ fps, but now I can't even play it on high without the game crashing, coming up with a video card error saying that is stopped working and has just started again.

    Anyways, my system is:

    OS: Windows 7 Ultimate
    Processor: AMD Phenom II x4 955 Processor (4 CPUs), 3.2GHz
    Memory: 8gig ram
    Graphics Card: AMD Radeon HD 6850, 752MB

    However, I just realized that my graphics card current display mode is set to 1920 x 1080 (32bit) (60hz). My OS is 64bit, could this be causing a problem? If so, why does Darksiders 2 run perfectly fine?

    Please and Thank you. =)
    Posted in: Technical Support
  • 0

    posted a message on Act 1 Inferno Friendly :)
    Quote from posey

    BattleTag not valid?

    That's strange, I must of typed it wrong. Want me to add you instead?

    Oh dam, I just realised my battletag is missing the "t" in Nightblaze! AAAAARRRGGHHHH!

    [EDIT 2]

    Well I just managed to change my battletag haha, it is now Nightblaze#6617.
    Posted in: Looking For Group [NA]
  • 0

    posted a message on Act 1 Inferno Friendly :)
    Hey guys, I'm looking for some fun people preferably from Australia, but it really doesn't matter, that want to join me in doing some Act 1 inferno runs. Mainly running the Butcher from Leoric's Manner, The Cemetery and The Festering Woods, but I am open to any ideas.

    I want anyone who isn't really full hardcore and serious (eg: Magic find crazy), I want to do just your average runs with anyone who is willing to share their loot as I will mine, sociable and just funness! :)

    So yeah, just send me a message in-game by my Battletag: Nightblaze1#6585 or respond in this thread.
    Posted in: Looking For Group [NA]
  • 0

    posted a message on Easy to Use Filter That Makes Diablo III Look More Like Diablo
    I've asked this many times, and I will try again. There are 11 different filters you say? Could someone please direct me to somewhere, or post screenshots or a video of their own showing a detailed look of each of the different filter options pretty please!!!?? =)
    Posted in: Diablo III General Discussion
  • 0

    posted a message on Need help with some MATLAB coding.
    Quote from jelybel79

    After rereading your question I realized that my post probably isn't helpful. You can change the color of the * by using the formatting sample I suggested. Like '-*g'

    Is this a matlab programming course? Or a math class?

    Without knowing what it is you need to do. I'd solve the problem by defining a linear space, solving the line equation between the points and filling the linear space with points on the line, then plotting these points.

    Part b should be simple once you're done with part a. You just pack your code into a function block, name the file the same thing and you can call the command from the terminal in Matlab.

    Its on matlab.
    Posted in: Off-Topic
  • 0

    posted a message on Need help with some MATLAB coding.
    Quote from ShoXz

    Hmm looks like you need some experience using what ever software your being taught to use to answer this, seems like a pretty specific question, I wish I could help but I have no experience in this kind of coding, sorry. :)

    Thanks for responding. =)
    Posted in: Off-Topic
  • 0

    posted a message on Need help with some MATLAB coding.
    Hey guys, I'm doing two questions for an assignment in MATLAB. The questions are:


    (A) Produce a box shape as shown in Figure 2 using a 3D line plot. The 8
    corner points of the box are as shown, i.e. (1,1,1), (1,2,1), (2,2,1), (2,1,1),
    (1,1,4), (1,2,4), (2,2,4), (2,1,4).


    B. Produce the above box shape using a user defined MATLAB function.
    Name the MATLAB function as box_studentID (eg. box_1234567).
    The 8 corner points of the box are (1,1,h1), (1,2, h1), (2,2, h1), (2,1, h1),
    (1,1, h2), (1,2, h2), (2,2, h2), (2,1, h2). The inputs to the function are h1 and
    h2; and the function does not need to return any value. Submit this as a
    separate function m-file. Use this function m-file to produce the figure in
    above step (A) using appropriate input values.

    [The figure is basically a box with each corner with part (A)'s coordinates, all connected by blue lines]

    So atm, for part A i've managed to get this:


    x1 = 1
    x2 = 1
    x3 = 2
    x4 = 2
    x5 = 1
    x6 = 1
    x7 = 2
    x8 = 2
    y1 = 1
    y2 = 2
    y3 = 2
    y4 = 1
    y5 = 1
    y6 = 2
    y7 = 2
    y8 = 1
    z1 = 1
    z2 = 1
    z3 = 1
    z4 = 1
    z5 = 4
    z6 = 4
    z7 = 4
    z8 = 4
    plot3(x1,y1,z1,x2,y2,z2,x3,y3,z3,x4,y4,z4,x5,y5,z5,x6,y6,z6,x7,y7,z7,x8,y8,z8)

    and/or this


    x = [1 1 2 2 1 1 2 2];
    y = [1 2 2 1 1 2 2 1];
    z = [1 1 1 1 4 4 4 4];
    plot3(x,y,z,'*');

    but I cannot get the blue lines. Does anyone know how I can fix this to get the blue lines please?

    For part B - I have no clue what to do lol.

    Please and Thank You to anyone who can give me a helping hand. =)
    Posted in: Off-Topic
  • 0

    posted a message on Big D: Too Feminine?
    [OFF TOPIC]

    ...
    These thoughts run through my head
    Over and over
    Complaints of violins...
    Become my only friends

    WOOT, awesome sig man! Anberlin FTW! =)
    Posted in: Diablo III General Discussion
  • 0

    posted a message on If you pre-ordered from Amazon
    Quote from MaDDoG1221

    ^so true, Where in Aussie are you? Im in Perth and even ordering things over east with express can take a little over a week. Let alone ordering outside of Australia lol.

    Sydney. For priority delivery, I have to wait until the 18th of March at the earliest to receive it lol.
    Posted in: Diablo III General Discussion
  • 0

    posted a message on If you pre-ordered from Amazon
    Quote from Osky

    Quote from Tilgare

    Quote from Osky
    but the thing is, she basically lied when she said "the release date is not known yet."

    I'm quite certain she didn't lie to you. I'm also quite sure she doesn't religiously follow Diablofans.com, nor does she have an intimate knowledge of all of the products on all of Amazon which number in the millions. What she DOES have, is some sort of internal guide that did not get updated in the 2 day time span (over a weekend) between Blizzard's release date announcement and your conversation.

    Give it a few days, and if it becomes available, you'll either be told or see it yourself. Shipping isn't a limited engagement, you could change it a week before and it would all be just fine.

    so other customer reps can discuss the fact that they're able to offer release date shipping to other purchasers and is in their system for it(honestly by proxy this invalidates anything you're "quite certain" of)but for the simple fact that it has not been made available for me is the exact reason why I was wanting to contact them since I actually got an order in before they stopped making them. Never mind the fact that Amazon was able to update part of their systems to notify me that the PUBLISHER was updating the release date. but yet this unknown to a customer service rep.

    So amazon updates their site by offering release date shipping to a few purchasers. Amazon updates their systems to actually send me an email that the publisher has updated the release date. other customer service reps offer this to specific purchasers EVEN TO PEOPLE WHO PLACED THE ORDER THE SAME DAY AS ME. but yet the sales rep who I spoke to is oblivious to all of this. obviously she's not following anything her company is doing. thanks for your insight.

    I have to make a quick edit here.

    Here is my problem with this* customer service rep. Nothing that I said reached any part of this persons brain.

    My only question was "is this going to be available for me."

    she responded "we don't have a release date."

    I said. "yes you do, and the offer you're stating is contingent on a 'release date' has already been offered to other purchasers and you even sent me an email notifying me of the release date."

    she said "yes we still don't have a release date because im a stupid bitch and didn't hear anything you said."

    I said "I'll try to be polite here and simply restate my question of whether or not this option WIll become available to me"

    she said "if it can ship to that date(which is most likely only contingent on being in the main states of the USA) or we make sure that we actually didn't make more promises than we can keep so that we can put you on back order and shove a big dick in your ass by denying you the opportunity to seek other venues to make a secure purchase for that date."

    yep...that about sums it up.

    Good stuff! =)

    I can't complain though, we are practically screwed with shipping in Australia. No matter how "prioritized" the shipping can be, the game will never get to me on the day of release. If I wanted it then, I would need to buy it here for $20 - $30 more.
    Posted in: Diablo III General Discussion
  • 0

    posted a message on If you pre-ordered from Amazon
    Are you guys kidding me. In Australia, for priority shipping from Amazon it says the estimated delivery for me is between 18th - 23rd of May. Standard shipping increases that by 10 days. I can't believe how inpatient some people are, just be lucky you don't live in Australia where the CE is $150. Ordering from Amazon it is $100 + $25 for priority shipping. Yeah it sucks! =(
    Posted in: Diablo III General Discussion
  • 0

    posted a message on What are all the upcoming diablo type games coming up?
    Quote from Gaia942

    Wow Linage eternal looks better than D3.... it's like an improvement of what was shown at 2008 blizzcon.

    Yeah it does look really good. =)
    Posted in: Other Games
  • 0

    posted a message on What are all the upcoming diablo type games coming up?
    Quote from Gaia942

    Tera Online, Guild Wars 2

    They are not Diablo type games.

    OP: I have a few more for you -
    Posted in: Other Games
  • To post a comment, please or register a new account.