Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 2600 points

littlefighter52

Favorite Answers12%
Answers110

i dunno

  • String comparisons in C?

    (For the reference, I'm using gcc on Ubuntu for this question)

    So suppose I have something similar to the following:

    char input[20];

    while (scanf("%s", input)){

    if (input == "something")

    printf("HELLO WORLD\n");

    else if (input == "blar")

    printf("TO HELL WITH THE WORLD\n");

    else

    printf("OH NO\n");

    }

    Now, when I attempt to run it and give it "something", it should theoretically display "HELLO WORLD" (and similarly with the other inputs).

    However, I'm noticing that no matter what input I'm giving, I always get the default case's behavior.

    As I'm primarily a C++ programmer, I may be missing some stupid details on working with string in C. Regardless, I was wondering if anyone could give me a hand with this, as this really shouldn't be stumping me.

    3 AnswersProgramming & Design9 years ago
  • Logarithm inequality question?

    So I was doing a math problem, and managed to break it down to the following inequality:

    n/8 < log(base2) n

    Unfortunately, as it's been a number of years since high school, I've completely forgotten how to solve for these kinds of inequality.

    If anyone is willing to give me a hand with this, I'd greatly appreciate it

    2 AnswersMathematics9 years ago
  • Possible fried graphics card?

    So here's my situation:

    a friend has recently asked me to figure out "what's wrong" with his desktop computer, as it seemed to not be able to boot up properly.

    Upon inspection, I found this to be true. Specifically, after the startup logo finished its animation, a BSOD would follow, and the computer would restart (rinse, repeat).

    After Googling the BSOD error msg (something to do with nvlddmkm.sys), I found that the error seemed to lie with the graphics card.

    I successfully booted into Safe Mode, and uninstalled the drivers for the graphics card and rebooted.

    Success!

    However, after logging into windows, the (damned) Windows Update decided it would reinstall the drivers for me. Soon after, I was back at the BSOD.

    Here's my question:

    Is it possible that the Graphics card is fried based on these symptoms alone?

    I've come to this conclusion because my 'client' said that the computer was working great until it abruptly one day came into this state... what I drew from this was that the drivers weren't likely to have been updated in the short time before the incident occurred.

    Or who knows, maybe I'm overthinking this and the drivers that Windows automatically downloaded for me are just screwed up.

    Your opinion on this matter?

    (The graphics card itself in question was an NVIDIA Geforce 7200 GS)

    3 AnswersOther - Hardware9 years ago
  • How do I apply for a job?

    Here's the scenario:

    I'm walking around a mall, with semi-formal wear, and a couple of resumes on my person.

    What's this? A help wanted sign? This is my chance to stop leeching off my parents!

    Anyway, this is where I'm having issues... how do I proceed from this?

    Walk up to the counter and go "Hi, I saw the 'Help Wanted' sign outside and wanted to apply"?

    I dunno.. how should one go about in this situation?

    2 AnswersOther - Careers & Employment9 years ago
  • Intercepting WM_CLOSE in a console window?

    First off, I'm just going to say that I did attempt to do 'research' on this issue, and was completely and utterly confused by the majority of the results I found via google.

    Anyway,

    what I wish to do is to intercept a WM_CLOSE message and make the console window do something else.

    Unfortunately, even after looking this stuff up on Google, I'm still quite unaware on how this can be done.

    If anyone could give me any pointers, that would be great

    (Writing this in regular C++.. not in MFC or anything like that)

    2 AnswersProgramming & Design10 years ago
  • How to prove that a set of vectors span R^n?

    For example, if I had the vectors

    v1 = (1, 1, 1)

    v2 = (1, 1, 0)

    v3 = (1, 0, 0)

    v4 = (3, 2, 0)

    How would I prove that they span R^3?

    Any help is appreciated

    Thanks in advance

    1 AnswerMathematics10 years ago
  • As a spherical raindrop evaporates...?

    As a spherical raindrop evaporates, its volume changes at a rate proportional to its surface area A.

    a) If the constant of proportionality is K, find the rate of change of the radius r when r = 4

    b) Show that the rate of change of the radius is always constant

    c) Does part b mean that the rate of change of volume is always constant? Why or why not?

    I honestly have no clue what to do... if anyone could help me, that would be greatly appreciated

    3 AnswersPhysics1 decade ago
  • Question for high school teachers and students?

    For the teachers:

    Would you allow a smartpen that lets a student essentially record down all audio in a class with minimal effort if it allowed their grades to improve? This means that a student could come into class with their pen, set it on record, and drift off.

    For the students:

    Would you use such a pen? Even if it were to dull your 'sense' of paying attention in class?

    1 AnswerTeaching1 decade ago
  • Calculus Related Rates question?

    I'm seriously stumped...if anyone could spare a couple of minutes and explain how to this question to me, I'd appreciate it a lot:

    "A ferris wheel 50 feet in diameter makes 2 revolutions per minute. Assume that the wheel is tangent to the ground and let 'P' be the point of tangency. At what rate is the distance between 'P' and a rider changing, when she is 25 feet above the ground and going up?"

    Thanks in advance

    1 AnswerMathematics1 decade ago
  • Should parents be able to tell their children where they can and can't work?

    I've worked at the PNE @ playland for the past 2 years... and now my parents want me to stop working there...

    as I currently live under their roof, i'd have to oblige... however, I can't help but feel this is fairly unfair... now I can't even find a part time job

    they say that the reason I can't work there is b/c it's too far away (i live in surrey... playland is in vancouver... it takes me an hour by public transit)...

    5 AnswersFamily1 decade ago
  • Problem installing a new OS onto my HP laptop...?

    Everytime I try to install a OS... (be that Linux, XP, Vista, 7), I always end up getting a blue screen of death... can anyone help me?

    additional info: my laptop doesn't start up properly... at the most, it can boot up from CD's and DVD's...

    Laptop: Compaq Presario CQ45-101TX

    4 AnswersLaptops & Notebooks1 decade ago
  • If Canada were to go to war...?

    Assume Canada were to go to war with another country... would we be using our own guns? or would such weapons be supplied by other countries?

    4 AnswersMilitary1 decade ago
  • Guys and Girls' behavior...?

    Are guys and girls' brains actually 'made' so that they think differently, or do most people just base themselves off the stereotype of their sex?

  • good idea for visual basic game?

    does anyone out there have an idea for a game made with visual basic . net? i need to make a game for my programming class using that langauage and i can't come up with anything

    thanks in advance

    1 AnswerProgramming & Design1 decade ago
  • Road of Major... jrock?

    would Road of Major's music be considered jrock or jpop? cuz i think their music is both jrock and jpop...

    ur opinion?

    3 AnswersJapan1 decade ago
  • Visual Basic Express 2005 edition question...?

    Is there a way to use a keyhit or keydown command for a game or something? eg. keyhit(203) <- that kind of thing

    1 AnswerProgramming & Design1 decade ago
  • I need info on passports to Canada...?

    A friend of mine might be interested in coming to Canada from Taiwan... but I have no idea on how to get him to apply a canadian passport and stuff... can someone give me some info on this?

    4 AnswersPacking & Preparation1 decade ago
  • Any good magic tricks I can learn?

    Does anyone know a good site that can teach me good magic tricks meant for large audiences? (Ex on stage and stuff)

    2 AnswersCard Games1 decade ago