Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~12.3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for anga08628

Define a 5 x10 2-dimensional array of integers (5 rows of 10 columns), randomly generate 50 numbers between 1 and 100, assign them to the array elements and display all the numbers on 5 lines of 10 integers each. [code=cpp] #include <iostream> #include <ctime> // For time() #include <cstdlib> // …

Member Avatar for irum.nageen.3
0
11K
Member Avatar for maxmaxwell

When I turn on my computer, the power light turns on, and I can hear it starting up like normal; but the monitor, keyboard, and mouse make no response. By this I mean, nothing is displayed on the monitor, the laser mouse doesn't turn on, and the lights on the …

Member Avatar for N3crobloom
0
90
Member Avatar for maxmaxwell

I have an assignment where I'm supposed to place a knight on a chess board, and using a random number generator, make it move. It cannot visit a space more than once. I've tried this several ways, and started over from the beginning more than once. this is how I …

Member Avatar for maxmaxwell
0
202
Member Avatar for maxmaxwell

I'm working on a school assignment right now, ( populate an array of 50 elements with random integers ranging from 50-100, find mean, mode, standard deviation and the number of elements that fall within the standard deviation) I've written working code for everything except for the function that finds the …

Member Avatar for maxmaxwell
0
132
Member Avatar for dblbac

i have been fooiling around with my program for class trying to get it to work, but now i get this error message: error C2064: term does not evaluate to a function taking 1 arguments it is referring to this part of the program: num = (rand() + time(0)) % …

Member Avatar for maxmaxwell
0
123
Member Avatar for cl3m0ns

I have int x I would like to fill it with a randomly generated number between lets say 6 and 10 I know that x = 1 + rand() % maxRange; will limit the maximum range but i would also like to limit the minimum range. How do i put …

Member Avatar for joshua.tilson
0
146
Member Avatar for dblbac

when i try to build the solution for this program i get 4 warnings. they are: c:\documents and settings\mike\my documents\visual studio 2005\projects\practice\practice\practice.cpp(22) : warning C4244: '=' : conversion from 'time_t' to 'int', possible loss of data c:\documents and settings\mike\my documents\visual studio 2005\projects\practice\practice\practice.cpp(13) : warning C4101: 'ncount' : unreferenced local variable …

Member Avatar for Lerner
0
206