Posts
 
Reputation
Joined
Last Seen
Ranked #366
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
82% Quality Score
Upvotes Received
47
Posts with Upvotes
41
Upvoting Members
31
Downvotes Received
10
Posts with Downvotes
9
Downvoting Members
9
25 Commented Posts
1 Endorsement
Ranked #858
Ranked #377
~228.88K People Reached
About Me

old dog learning new tricks

244 Posted Topics

Member Avatar for vegaseat

Julius Robert Oppenheimer [QUOTE]Now, I am become Death, the destroyer of worlds.[/QUOTE] Poor guy, how could he have known?

Member Avatar for Reverend Jim
15
13K
Member Avatar for rajesanthu

@hayzam take some time and read the post from ravenous. there is plenty to be learned there.

Member Avatar for Youssef Faisal
-4
44K
Member Avatar for Srinivas0
Member Avatar for AmerJamil

Try to do it with pen and paper, then write some code for the process you used using arrays.

Member Avatar for JamesCherrill
0
1K
Member Avatar for heroares

ask for input store values send information to average function return average print average DONE

Member Avatar for Destaw_1
0
291
Member Avatar for ibthevivin

[URL="http://projecteuler.net/index.php?section=faq&ref=roman_numerals"]http://projecteuler.net/index.php?section=faq&ref=roman_numerals[/URL]

Member Avatar for ddanbe
0
3K
Member Avatar for debasisdas
Member Avatar for James_28
8
17K
Member Avatar for SolidSora
Member Avatar for blee93
Member Avatar for predator78

I raised a similar topic some years ago with a mature(as in age) computer science student near the end of his studies. His reply to people being in similar wages for different jobs was that he had studied hard to get to where he was so when he finished he …

Member Avatar for mike_2000_17
2
734
Member Avatar for GrimJack
Member Avatar for Paddy
Member Avatar for vinnitro
0
464
Member Avatar for sillyboy

Static at approx 110 dB. Listening to the universe waiting for someone to say something.

Member Avatar for Helianthus
0
5K
Member Avatar for ~s.o.s~

Anyone got any information on when the OP's original link is going to begin?

Member Avatar for Tofayel
3
541
Member Avatar for diafol

I have sent a memo to the PM asking for the Scottish team to be let loose in the wild then hunted by men on horses with a lot of dogs. He has yet to reply.:(

Member Avatar for happygeek
0
444
Member Avatar for frogboy77

I recently started using Code::Blocks and have written a small program to read in from a file. I think the problem i am having is the file not being found. Where does the IDE search for the file and how would i change this? Can i just input the whole …

Member Avatar for TheNewKid
0
251
Member Avatar for rigoalhn
Member Avatar for frogboy77

I am becoming annoyed at the amount of responses on this site saying (something along the lines of) "This thread is 5 years old, please leave it alone.". Then there is often the response (again, something along the lines of) "Please search the site before asking a question that has …

Member Avatar for diafol
1
232
Member Avatar for Megann1120

In your program say i enter the number x=7 in your loop it goes x(7)%i(2)!=0 so prime == 1 x(7)%i(3)!=0 so prime == 1 x(7)%i(4)!=0 so prime == 1 //needless since it cannot divide by 2 x(7)%i(5)!=0 so prime == 1 x(7)%i(6)!=0 so prime == 1 //same again x(7)%i(7)==0 so …

Member Avatar for Megann1120
0
300
Member Avatar for frogboy77

I disagree with the idea of upgrading or degrading a poster anonymously without a reason. If you want to "score" someone on their post, surely you should have to give a reason why you did so. Do you think anonymous grading is the way to go?

Member Avatar for zeroliken
0
104
Member Avatar for tanvirraj91

Don't look. See [URL="http://www.dreamincode.net/forums/topic/157900-ravichandrans-books/"]here[/URL].

Member Avatar for Ezzaral
0
74
Member Avatar for droneerror

1. Better indentation. 2. Start again. 3. Can you define a prime number? 4. (optional) Use a function.

Member Avatar for frogboy77
0
3K
Member Avatar for kmlila

I think your question needs to be less vague. And as always use CODE TAGS it tends to get you more help if people can read your code.

Member Avatar for kmlila
0
133
Member Avatar for Nevicar
Member Avatar for frogboy77
0
227
Member Avatar for Karlwakim
Member Avatar for jaskij
0
253
Member Avatar for frogboy77

Sorry if i'm in the wrong forum but here goes: Does anyone know how to restore a Toshiba Satellite laptop back to the factory settings? The laptop did not come with any back-up discs.

Member Avatar for rch1231
0
82
Member Avatar for firebird102085
Member Avatar for arold10

so convert everything to cents multiply up by 100 convert to int, use %, then convert results back to double

Member Avatar for Ancient Dragon
0
121
Member Avatar for Azmah
Member Avatar for hekri

[QUOTE] the second term of the array and add it with the third term of this array[/QUOTE] you are taking the third item twice i.e 3+3

Member Avatar for hekri
-1
266
Member Avatar for mikeshadow

you could try a [URL="http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes"]sieve[/URL]

Member Avatar for mikeshadow
0
506
Member Avatar for rfrapp
Member Avatar for Azmah
Member Avatar for BDove
0
2K
Member Avatar for hamby

Could you not scan the numbers in a loop find the minimum and store the position in a variable then output the string in that position?

Member Avatar for hamby
0
242
Member Avatar for DalekThay

[QUOTE]No ego involved.[/QUOTE] [QUOTE]a Moderator that's been here for over 7 years.[/QUOTE] I beg to differ.

Member Avatar for WaltP
0
180
Member Avatar for PrimePackster

[CODE]vector<vector<int>> vec(a, vector<int>(b));[/CODE] Is this compilable? (i.e without the white space)

Member Avatar for PrimePackster
0
316
Member Avatar for happygeek

I have a 15 year old protect me at all times. He does all my dirty work because he's still a minor. Saves me the time in the big house (could only get a ps2 and 720i tv - can you believe the inhumanity).

Member Avatar for jammerjoe
0
1K
Member Avatar for coolbeanbob

How is line 15 working? if you change line 12 to [CODE]for(int i = 2; i < 12; i++)[/CODE] it seems to work

Member Avatar for Schol-R-LEA
0
226
Member Avatar for easterbunny

OK just done it i think. Use a while loop for the length of the number. Then sort the number checking each digit against the next (bubble sort) after separating them into 2 variables using / % and pow. If they need swapped remove the variables multiplied by the corresponding …

Member Avatar for easterbunny
0
2K
Member Avatar for Taino

make a string array of your responses then randomly pick one element. ie string ans[5]="blah" etc... ans[rand()%5].

Member Avatar for mikrosfoititis
0
124
Member Avatar for jonspeidel
Member Avatar for pseudorandom21

[QUOTE]Of course they will probably work out a solution, but what will happen if the U.S. government shuts down?[/QUOTE] Probably a lot of flag waving.:)

Member Avatar for jwenting
0
155
Member Avatar for NickPatton
Member Avatar for ChanelN19

I don't understand what you mean by [QUOTE]generate the number of tries when the user wins[/QUOTE] Should line 76 not be averageWin=(winGames/totalGames)*100; The percentages will not work if you are using ints. i.e 36 games won, 72 games played 36/72=0........... 0*100=0 Use doubles.

Member Avatar for frogboy77
0
327
Member Avatar for frogboy77

[URL="http://www.youtube.com/watch?v=lyZQPjUT5B4"]The coolest bubble-sort ever.[/URL]

-2
69
Member Avatar for happygeek

So the intellectually superior take from the desperate and intellectually inferior. Is this not evolution in action.

Member Avatar for Ancient Dragon
0
525
Member Avatar for woody363
Member Avatar for Ancient Dragon

What exactly is it that you are thankful for? (Genuine question)

Member Avatar for Netcode
0
103
Member Avatar for naifa55

1) Purchase a computer (guess this is covered) 2) Attain a compiler 3) Write the code 4) Compile and run 5) Job done

Member Avatar for naifa55
-1
95
Member Avatar for GrimJack

The End.