Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
44% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
2
4 Commented Posts
0 Endorsements
Ranked #10K
Ranked #2K
~36.2K People Reached
Favorite Tags
Member Avatar for rajendra87

Show only duplicate values from array without built in function $arr = array(3,5,2,5,3,9); I want to show only common elements i.e 3,5 as output.

Member Avatar for diafol
-1
22K
Member Avatar for rock9449

I need help in writing a C++ program that converts 24-hour notation to 12-hour notation. (For example, it should convert 14:25 to 2:25 P.M. The input is given as two integers. There are three functions: one for input, one to do the conversion, and one for output. Record the A.M./P.M. …

Member Avatar for deceptikon
0
8K
Member Avatar for Hyperion101

Hey guys, I had to make a basketball score board, and I've run into some errors. Here's my code so far: #include <stdio.h> #include "genlib.h" #include "simpio.h" #include "strlib.h" main() { int t, tw, tp, r, rw, rp, j, jw, jp, f, fw, fp; printf("How many games did the Tigers …

Member Avatar for HiHe
0
369
Member Avatar for np complete
Member Avatar for punitjain.87
Member Avatar for megan1988
0
1K
Member Avatar for zeusprog

Please how do I convert a string of hexidecimals “10B71356C845FB08E04951AAA2FF9F49” to integer? I tried using getBytes then Integer.valueOf but I got 32 integers instead of 16. Any help would be greatly appreciated. Thank you.

Member Avatar for zeusprog
0
229
Member Avatar for rfrapp

Hello, I am trying to fill an array with 20 unique random values between 1 and 60. I know what I need to do to get this to work, but I'm not sure how to do it. Here's what I've got: void fillArray( int arr[], int size) { int arr2[20]; …

Member Avatar for RainbowMatrix
0
2K
Member Avatar for np complete
Re: SAM

Is there any way by which we can open SAM files? What happens if some one deletes them ?

Member Avatar for RainbowMatrix
0
134
Member Avatar for Grandiago

Hi Everyone! I'm a user of Turbo C++ and my professor gave me an activity to make a Fibonacci sequence. No I already have the Code for it and it is working. The only problem is. I don't know how the FOrmula Works. I will show you the Code below: …

Member Avatar for vinnitro
0
297
Member Avatar for raistie_1

Hi all, I am currently trying to generate a number from a specified range using a function int number_range(int from, int to) { return (from + rand() % (to-from+1)); } but negative numbers cause the program to crash. How can i go about doing this so it can take numbers …

Member Avatar for RainbowMatrix
0
261
Member Avatar for coolikedat99

I am trying to make a program that generates a random number and asks the user to input the random number generated by the computer. Anyone know how to do this? This is my program: #include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main() { int one; time_t …

Member Avatar for RainbowMatrix
0
291
Member Avatar for Lucaci Andrew

Ok, so, this code snippet is a reply to this thread: http://www.daniweb.com/software-development/cpp/threads/425821/prime-number-c From what I understood form the OPs request, is that, he wanted an algorihm which would check for prime numbers in a given range, applying these conditions: a number is to be considered valid if: a. the number …

Member Avatar for RainbowMatrix
0
586