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.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 16
Member Avatar for SurviBee

I need to generate a random binary number (or decimal and convert it), and store that number in an array, needless to say im lost and would appreciate any help. Thx

Member Avatar for samtronxindia
0
556
Member Avatar for SurviBee

I'm attempting to implement the trapezoidal method of calculating the integral of a curve. It's supposed to be the measure of water flow out of a tank's release valve. The water flow is a function of time in seconds where Y is the rate of discharge and X is time. …

Member Avatar for sweetkim_2008
0
197
Member Avatar for SurviBee

In my comsc class we are writing a program to determine when easter sunday is, my program works like a charm when i put each equation in a seperate function but when i try and take them out (as per teachers instructions) it craps the bed and gives me an …

Member Avatar for ArkM
0
219
Member Avatar for SurviBee

Assignment was to take information about sales made, hours worked and number of dependents from a file, calculate the gross pay expected on one of two plans Plan A 10% commission on sales, and 9.50 an hour with 1.5x overtime after 40 hrs Plan B 30% commission then we had …

Member Avatar for VernonDozier
0
111
Member Avatar for SurviBee

I'm using a class to generate a list of primes. Im checking a series of numbers being incremented by two against the current vector of primes to see if any primes divide into the number evenly. If no primes divide into it I add the number onto the end of …

Member Avatar for vijayan121
0
242
Member Avatar for SurviBee

Doing Project Euler problem 3. Don't know why code not working. [code] #include<iostream> using namespace std; //largest prime factor 317584931803. bool Primechecker(int); int main() { int greatestprime=1; int limit = 317584931803; int runningcount=1; while(runningcount<limit/2) { if (Primechecker(runningcount)==true && limit%runningcount == 0) { greatestprime = runningcount; } runningcount++; } cout << …

Member Avatar for Duoas
0
77
Member Avatar for SurviBee

The assignment was to graph a line within 10 units of the origin after the user inputs the slope and y-intercept. Sounded much easier than it was, I gave it a shot but I can't get it to print correctly. To be honest I just dont know if im headed …

Member Avatar for iamthwee
0
79
Member Avatar for SurviBee

Was compiling homework problem with Dev-C++ and got ]Linker Error] undefined reference to determinant(float, float, float, float, float, float, float, float, float) Anyone know what this is? [code=cplusplus] #include <iostream> using namespace std; float determinant(float, float, float, float, float, float, float, float, float); int main() { float x1, x2, x3, …

Member Avatar for SurviBee
0
223
Member Avatar for SurviBee

I'm writing a simple program that would assign each letter and several symbols to a randomly generated 8bit binary pattern. I want to take a rand() #, convert it to a 1 byte binary number, and store that number as a string in one row of a two dimensional array/vector. …

Member Avatar for SurviBee
0
85