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

12 Posted Topics

Member Avatar for rajendra87

The logic here is simple: I am not a php developer so i am using c++ to explain this method ! int Array[6]= {3,5,2,5,3,9}; //create a for-loop for ArrayA for(int i=0; i<6; i++) { //create a for-loop for checking element from ArrayA is equal to any other element for(int s=0; …

Member Avatar for Member #120589
-1
22K
Member Avatar for rock9449

Hey this is my code:Hope it helps ! ! ========================================================================================= #include <iostream> using namespace std; int main() { // declare variables int time = 0; int hour = 0; int min = 0; int sec = 0; // obtain data from user cout << "Enter a time in seconds: "; …

Member Avatar for deceptikon
0
8K
Member Avatar for Hyperion101

Hey i think the problem is with the header files: clrscr(); and getch(); requires the header file conio.h i.e #include <conio.h>

Member Avatar for HiHe
0
384
Member Avatar for np complete

Hey my favorate movies are: MI4: Ghost Protocol The Italian Job (2003) Antitrust The Matrix Gamer Swordfish Die Hard 4: Live Free or Die Hard (my fav) Tron (not much to speak but just like it ) WarGames

Member Avatar for BigPaw
1
733
Member Avatar for punitjain.87

use adobe [acrobat](http://www.adobe.com/products/acrobat.html) or pdf edit: useful links : http://sourceforge.net/projects/pdfedit/ http://www.visagesoft.com/products/pdfeditor/ http://www.nitropdf.com/pro/edit-pdf.aspx

Member Avatar for megan1988
0
1K
Member Avatar for zeusprog

C program for hexadecimal to binary conversion #include<stdio.h> #define MAX 1000 int main(){ char binaryNumber[MAX],hexaDecimal[MAX]; long int i=0; printf("Enter any hexadecimal number: "); scanf("%s",hexaDecimal); printf("\nEquivalent binary value: "); while(hexaDecimal[i]){ switch(hexaDecimal[i]){ case '0': printf("0000"); break; case '1': printf("0001"); break; case '2': printf("0010"); break; case '3': printf("0011"); break; case '4': printf("0100"); break; …

Member Avatar for zeusprog
0
235
Member Avatar for rfrapp

These link will help u ! http://www.daniweb.com/software-development/cpp/threads/289919/filling-unique-random-nos-in-an-array http://www.daniweb.com/software-development/cpp/threads/75415/help-needed-filling-array-with-unique-random-numbers http://stackoverflow.com/questions/196017/unique-random-numbers-in-o1

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

Three locations of the SAMHashes are: - %systemroot%system32config - %systemroot% epair (but only if rdisk has been run) - In the registry under HKEY_LOCAL_MACHINESAM You can get your hands on this by: 1) Probably the easiest way to do this is to boot your target machine to an alternate OS …

Member Avatar for RainbowMatrix
0
144
Member Avatar for Grandiago

Hey try this one #include<stdio.h> int main(){ int k,r; long int i=0l,j=1,f; //Taking maximum numbers form user printf("Enter the number range:"); scanf("%d",&r); printf("FIBONACCI SERIES: "); printf("%ld %ld",i,j); //printing firts two values. for(k=2;k<r;k++){ f=i+j; i=j; j=f; printf(" %ld",j); } return 0; } Sample output: Enter the number range: 15 FIBONACCI SERIES: …

Member Avatar for vinnitro
0
311
Member Avatar for raistie_1

Refer to my die's application and u solve ur issue youself: #include <iostream> #include <math.h> #include <cstdlib> #include <ctime> using namespace std; int main() { int any,any2; cout<<"Enter a random number : "; cin>>any; srand(time(0)); any2=1+(rand()%6); cout <<"The random number is : "<<any2 << endl; if(any==any2){ //your oode } else …

Member Avatar for RainbowMatrix
0
269
Member Avatar for coolikedat99

I use this algorithm for random numbers #include <iostream> #include <math.h> #include <cstdlib> #include <ctime> using namespace std; int main() { int any,any2; cout<<"Enter a random number : "; cin>>any; srand(time(0)); any2=1+(rand()%6); cout <<"The random number is : "<<any2 << endl; if(any==any2){ //your oode } else {//your oode } }

Member Avatar for RainbowMatrix
0
296
Member Avatar for Lucaci Andrew

Code 1: 1. C program to determine prime number 2. Determining if a number is prime in c 3. C program to find given number is prime or not #include<stdio.h> int main(){ int num,i,count=0; printf("Enter a number: "); scanf("%d",&num); for(i=2;i<=num/2;i++){ if(num%i==0){ count++; break; } } if(count==0 && num!= 1) printf("%d …

Member Avatar for RainbowMatrix
0
606

The End.