- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 2
Re:
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. |
|
Re:
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. … |
|
Re:
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 … |
|
Re:
What is your Favourite Hack/Programming movie ? |
|
Re:
How to edit a PDF file either using notepad++ or something else????? |
|
Re:
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. |
|
Re:
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]; … |
|
Re:
Is there any way by which we can open SAM files? What happens if some one deletes them ? |
|
Re:
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: … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |