+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
Guest- Guest
- Post n°153
Re: Chat Thread
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.Rei Andros wrote:What kind of program are you writing? Which language?
Guest- Guest
- Post n°155
Re: Chat Thread
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.
What does a US American look like? Minus the 300+ pounds of course.
Guest- Guest
- Post n°157
Re: Chat Thread
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.Rei Andros wrote:What kind of program are you writing? Which language?
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?
Guest- Guest
- Post n°158
Re: Chat Thread
You should say that then. Even so I googled Syrian people and there quite a few White people.ahlycotc wrote:Shut up, you know what I mean. Arab.
*head explodes*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?
______________________________________
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.
Guest- Guest
- Post n°159
Re: Chat Thread
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.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?
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.
Guest- Guest
- Post n°160
Re: Chat Thread
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.
@Che: Did you ever complete the challenge with Roma? Managed to get it after about 11 tries.
while(ans=='yes')
should work. Assuming the variable you used to store the user's input is called ans, of course.
@Che: Did you ever complete the challenge with Roma? Managed to get it after about 11 tries.
Guest- Guest
- Post n°161
Re: Chat Thread
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.
Guest- Guest
- Post n°163
Re: Chat Thread
That show looks dumb, but I've heard it's actually somewhat witty.Sarmz wrote:Newest episode of Community
Although I don't value your opinion that highly, what do you think of it?
Marvin- .
- Posts : 13039
Age : 34
Location : Hollyoaks
Supports : Hollyoaks
- Post n°164
Re: Chat Thread
My friend is suing Bill Gates for use of his work.
Already got compensation from the BBC a while ago when they did the same thing.
Already got compensation from the BBC a while ago when they did the same thing.
Guest- Guest
- Post n°165
Re: Chat Thread
What kind of work does he do?Marvin wrote:My friend is suing Bill Gates for use of his work.
Already got compensation from the BBC a while ago when they did the same thing.
Guest- Guest
- Post n°166
Re: Chat Thread
Glen Damon wrote:That show looks dumb, but I've heard it's actually somewhat witty.Sarmz wrote:Newest episode of Community
Although I don't value your opinion that highly, what do you think of it?
Best American TV show around.
Guest- Guest
- Post n°167
Re: Chat Thread
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- .
- Posts : 13039
Age : 34
Location : Hollyoaks
Supports : Hollyoaks
- Post n°168
Re: Chat Thread
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.Glen Damon wrote:What kind of work does he do?Marvin wrote:My friend is suing Bill Gates for use of his work.
Already got compensation from the BBC a while ago when they did the same thing.
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.
Guest- Guest
- Post n°169
Re: Chat Thread
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
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
Guest- Guest
- Post n°170
Re: Chat Thread
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.
Guest- Guest
- Post n°171
Re: Chat Thread
Programming isn't particularly intelligent, it's just giving the computer a precise set of instructions.
Guest- Guest
- Post n°172
Re: Chat Thread
How much money does he hope to make?Marvin wrote: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.Glen Damon wrote:What kind of work does he do?
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.
Guest- Guest
- Post n°173
Re: Chat Thread
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
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.
Guest- Guest
- Post n°174
Re: Chat Thread
Glen Damon wrote:That show looks dumb, but I've heard it's actually somewhat witty.Sarmz wrote:Newest episode of Community
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.
Guest- Guest
- Post n°175
Re: Chat Thread
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.
Anyways, I need it to be like that that's the validation loop, I have another for checking if the whole program will repeat.
Guest- Guest
- Post n°176
Re: Chat Thread
References to what?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.
Guest- Guest
- Post n°177
Re: Chat Thread
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.
I keep looking at that gif and can't help but wonder if she got hit by the car.
Guest- Guest
- Post n°178
Re: Chat Thread
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.
Guest- Guest
- Post n°180
Re: Chat Thread
Glen Damon wrote:References to what?ahlycotc wrote:
It's not dumb. It's the best show on TV. But it's not for everyone. It's full of references.
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.
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.