Join the forum, it's quick and easy

Would you like to react to this message? Create an account in a few clicks or log in to continue.


+44
Laurencio
Muhkoo
Grenade
jeb4eva
Ben 10
Bye_Ya
Theo Filippo
Start.
Drake
Mason
ayvee1
iSamuel
Gegilworld93
George
Sean
GK01
Noel Gallagher
SophisticatedBeggar
Keanoo
Marvin
Lux
Mal
Andy
SBSP
JamieB
Jack
Jordan Henderchip
VivaRonaldoLAD
Danny
The Zlatan
Jordi
ShakerMatty
luke.
Mouse
dena
Harrold
Uncle John from Jamaica
Pippo
crump
Kuled
Childish Logic
Phadunkin Donuts
Clark
Zzonked
48 posters

    Chat Thread

    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 12:20 pm

    Anyone done the Messi challenge on FIFA 12?
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 12:26 pm

    Attempted yesterday on Legendary only managed 2 goals. Laughing
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 12:27 pm

    Rei Andros wrote:What kind of program are you writing? Which language?
    C++, and I have to write a code to compute the sine curve manually, and another to calculate the roots of a parabola and the max/min point.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 12:31 pm

    Bashar Al-Assad's wife doesn't look Syrian at all...

    Chat Thread - Page 6 Slide_1958_25831_large
    Chat Thread - Page 6 Asma-al-assad
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 12:36 pm

    I don't think there is such a thing as looking like a Nationality, Ahly.

    What does a US American look like? Minus the 300+ pounds of course.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 12:38 pm

    Shut up, you know what I mean. Arab.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 12:39 pm

    Bogdan wrote:
    Rei Andros wrote:What kind of program are you writing? Which language?
    C++, and I have to write a code to compute the sine curve manually, and another to calculate the roots of a parabola and the max/min point.

    The last two seem simple enough, but I'm curious about the first one. You're supposed to replicate the entire sin curve from negative infinity to positive infinity, or just the most prominent values from -2pi to 2pi?
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 12:50 pm

    ahlycotc wrote:Shut up, you know what I mean. Arab.
    You should say that then. Even so I googled Syrian people and there quite a few White people.

    Rei Andros wrote:
    Bogdan wrote:C , and I have to write a code to compute the sine curve manually, and another to calculate the roots of a parabola and the max/min point.

    The last two seem simple enough, but I'm curious about the first one. You're supposed to replicate the entire sin curve from negative infinity to positive infinity, or just the most prominent values from -2pi to 2pi?
    *head explodes*

    ______________________________________

    If I could live my life just one more time, I'd live it so much better. So much sorrow in my mind 'cause I banged that 13th letter. Headphones
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 12:52 pm

    Rei Andros wrote:
    Bogdan wrote:C++, and I have to write a code to compute the sine curve manually, and another to calculate the roots of a parabola and the max/min point.

    The last two seem simple enough, but I'm curious about the first one. You're supposed to replicate the entire sin curve from negative infinity to positive infinity, or just the most prominent values from -2pi to 2pi?
    I'm not really sure how to explain the sine one since I used someone's code to graph the curve in the way they want it ( a quarter revolution, basically 0 to 90 degrees). Most people used the sin function so the purpose of this lab was to program it yourself. They gave you a formula though for how to approximate sine. I got it working almost perfectly, just the last line of code doesn't print for some reason.

    You're right the other one is easy, I'm just stuck on programming it to loop per the users direction since I'm not quite sure how to use string to check the boolean value on whether to repeat the do-while loop.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 12:58 pm

    Are you asking the user to answer yes or no? If so, then:

    while(ans=='yes')

    should work. Assuming the variable you used to store the user's input is called ans, of course. shifty

    @Che: Did you ever complete the challenge with Roma? Managed to get it after about 11 tries.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:05 pm

    Yeah, after like 20 tries. After a header and then a golaço from Fábio Simplício, but if it wasn't for that I'd never beat it.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:08 pm

    Newest episode of Community not worthy
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:09 pm

    Sarmz wrote:Newest episode of Community not worthy
    That show looks dumb, but I've heard it's actually somewhat witty.

    Although I don't value your opinion that highly, what do you think of it?
    Marvin
    Marvin
    .
    .


    Posts : 13039
    Age : 34
    Location : Hollyoaks
    Supports : Hollyoaks

    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Marvin Fri Mar 16, 2012 1:10 pm

    My friend is suing Bill Gates for use of his work. Laughing

    Already got compensation from the BBC a while ago when they did the same thing.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:11 pm

    Marvin wrote:My friend is suing Bill Gates for use of his work. Laughing

    Already got compensation from the BBC a while ago when they did the same thing.
    What kind of work does he do?
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:11 pm

    Glen Damon wrote:
    Sarmz wrote:Newest episode of Community not worthy
    That show looks dumb, but I've heard it's actually somewhat witty.

    Although I don't value your opinion that highly, what do you think of it?

    Best American TV show around.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:16 pm

    ok, I used that to get it to loop, but I want to validate the input. That's why I was having difficulties, I used two do while loops, and I got stuck in one of the trying to validate the input.
    Marvin
    Marvin
    .
    .


    Posts : 13039
    Age : 34
    Location : Hollyoaks
    Supports : Hollyoaks

    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Marvin Fri Mar 16, 2012 1:17 pm

    Glen Damon wrote:
    Marvin wrote:My friend is suing Bill Gates for use of his work. Laughing

    Already got compensation from the BBC a while ago when they did the same thing.
    What kind of work does he do?
    Graphics, mainly planet designs but many other 3D works as well. His work has been used on various speeches Bill Gates has made and on various articles.

    You see these kind of things happen, graphic designers who have just graduated stealing other people's works and passing it off as their own. Not Bill Gates fault but he's still accountable.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:20 pm

    What the fudge, as soon as I add another do while loop to validate the input the program just gets stuck.

    cout<< "Do you want to enter another quadratic function? (y/n):";
    do{
    cin >>repeat;
    }while (repeat !='y' || repeat !='Y' || repeat !='N' || repeat !='n');

    I enter y, Y, n, or N and the program does nothing Neutral
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:25 pm

    All this intelligent discussion here is going to send me to a life of crime. Depressing that I know fuck all what you guys are talking about. Chat Thread - Page 6 07550019
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:27 pm

    Programming isn't particularly intelligent, it's just giving the computer a precise set of instructions.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:28 pm

    Marvin wrote:
    Glen Damon wrote:What kind of work does he do?
    Graphics, mainly planet designs but many other 3D works as well. His work has been used on various speeches Bill Gates has made and on various articles.

    You see these kind of things happen, graphic designers who have just graduated stealing other people's works and passing it off as their own. Not Bill Gates fault but he's still accountable.
    How much money does he hope to make? shifty
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:29 pm

    Bogdan wrote:What the fudge, as soon as I add another do while loop to validate the input the program just gets stuck.

    cout<< "Do you want to enter another quadratic function? (y/n):";
    do{
    cin >>repeat;
    }while (repeat !='y' || repeat !='Y' || repeat !='N' || repeat !='n');

    I enter y, Y, n, or N and the program does nothing Neutral

    You told it to repeat if the user doesn't enter y/Y/n/N. But it has to be one of those four values. It's like telling a person to read a page in front of him only if his eyes are closed and not closed at the same time.

    Take out the n and N conditions. That way the loop will end when it detects that the user didn't enter y/Y.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:31 pm

    Glen Damon wrote:
    Sarmz wrote:Newest episode of Community not worthy
    That show looks dumb, but I've heard it's actually somewhat witty.

    Although I don't value your opinion that highly, what do you think of it?

    It's not dumb. It's the best show on TV. But it's not for everyone. It's full of references.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:32 pm

    LOOOOOOOOOOOL. I make that mistake quite often.

    Anyways, I need it to be like that that's the validation loop, I have another for checking if the whole program will repeat.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:34 pm

    ahlycotc wrote:
    Glen Damon wrote:That show looks dumb, but I've heard it's actually somewhat witty.

    Although I don't value your opinion that highly, what do you think of it?

    It's not dumb. It's the best show on TV. But it's not for everyone. It's full of references.
    References to what?
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:34 pm

    Ché Guayaba wrote:All this intelligent discussion here is going to send me to a life of crime. Depressing that I know fuck all what you guys are talking about. Chat Thread - Page 6 07550019

    I keep looking at that gif and can't help but wonder if she got hit by the car.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:34 pm

    Wait what you said doesn't make sense, I want the loop to repeat if the input isn't y or n. Plus I modified it to what you suggested and it's still stuck in the loop.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:34 pm

    Ah, C++. I forgot most of it over time. I'm better with Python.
    Anonymous
    Guest
    Guest


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Guest Fri Mar 16, 2012 1:35 pm

    Glen Damon wrote:
    ahlycotc wrote:

    It's not dumb. It's the best show on TV. But it's not for everyone. It's full of references.
    References to what?

    Pop culture, TV shows, and movies.

    GOATarenka wrote:
    Ché Guayaba wrote:All this intelligent discussion here is going to send me to a life of crime. Depressing that I know fuck all what you guys are talking about. Chat Thread - Page 6 07550019

    I keep looking at that gif and can't help but wonder if she got hit by the car.

    It looks like there is enough space for the car to move along past her.

    Sponsored content


    Chat Thread - Page 6 Empty Re: Chat Thread

    Post by Sponsored content


      Current date/time is Sun Nov 24, 2024 1:52 am