Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
15% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
11
Posts with Downvotes
10
Downvoting Members
3
2 Commented Posts
0 Endorsements
Ranked #13.1K
Ranked #4K
~78.5K People Reached
Favorite Forums
Favorite Tags
c++ x 13
c x 2
java x 1

16 Posted Topics

Member Avatar for Gimper

check this one out, its the easiest and shortest one: www.programmingtunes.com/a-simple-calculator-in-c/

Member Avatar for rela
-2
3K
Member Avatar for NEMO_1990_2007

check this one out: for more details go to http://www.programmingtunes.com/finding-greatest-common-divisor-of-2-numbers-c/ //greatest common divisor of 2 numbers in C++ #include <iostream> using namespace std; void main() { int x = 24; int y = 18; int temp; for(int i = 2; i<y; i++) { if(x%i == 0 && y%i == 0) …

Member Avatar for David W
0
540
Member Avatar for sfuo

check this one: //Creating Digital Watch in C++ #include<iostream> #include<Windows.h> using namespace std; struct time{ int hr,min,sec; }; int main() { time a; a.hr = 0; a.min = 0; a.sec = 0; for(int i = 0; i<24; i++) { if(a.hr == 23) { a.hr = 0; } for(int j = …

Member Avatar for dexblack_1
0
12K
Member Avatar for djbsabkcb

//Prime Numbers generation in C++ //Using for loops and conditional structures #include <iostream> using namespace std; int main() { int a = 2; //start from 2 long long int b = 1000; //ends at 1000 for (int i = a; i <= b; i++) { for (int j = 2; …

Member Avatar for duskoKoscica
-2
2K
Member Avatar for NicAx64

For console you can check this one: http://www.programmingtunes.com/creating-timer-c/

Member Avatar for irum.nageen.3
0
6K
Member Avatar for Luckychap

check out this one: #include<iostream> #include<Windows.h> using namespace std; struct time{ int hr,min,sec; }; int main() { time a; a.hr = 0; a.min = 0; a.sec = 0; for(int i = 0; i<24; i++) { if(a.hr == 23) { a.hr = 0; } for(int j = 0; j<60; j++) { …

Member Avatar for irum.nageen.3
-2
15K
Member Avatar for k88joshi

try this one: // DMA of 2D array in C++ #include<iostream> #include<iomanip> using namespace std; int main() { int x = 3, y = 3; int **ptr = new int *[x]; for(int i = 0; i<y; i++) { ptr[i] = new int[y]; } srand(time(0)); for(int j = 0; j<x; j++) …

Member Avatar for cambalinho
0
743
Member Avatar for anga08628

check this one: // DMA of 2D array in C++ #include<iostream> #include<iomanip> using namespace std; int main() { int x = 3, y = 3; int **ptr = new int *[x]; for(int i = 0; i<y; i++) { ptr[i] = new int[y]; } srand(time(0)); for(int j = 0; j<x; j++) …

Member Avatar for irum.nageen.3
0
11K
Member Avatar for supriya badam

Look this out. here we get an easy way to enter string from the user, and then print out the strings length by using the string.length() function, here is only the code, you can get it detailed from: http://www.programmingtunes.com/finding-length-of-a-string-in-c/ now the code is: // Finding length of a string in …

Member Avatar for irum.nageen.3
0
2K
Member Avatar for codemonster

check out the below code, that might be helpful: // Operator overloading in C++ //assignment operator overloading #include<iostream> using namespace std; class Employee { private: int idNum; double salary; public: Employee ( ) { idNum = 0, salary = 0.0; } void setValues (int a, int b); void operator= (Employee …

Member Avatar for irum.nageen.3
0
14K
Member Avatar for Fatima_110

you can check out an easy program on the below link: http://www.programmingtunes.com/generation-of-prime-numbers-c/

Member Avatar for jwenting
0
303
Member Avatar for programmingme

you should check this out: // Fractional Calculator in C++ #include<iostream> using namespace std; struct fraction { int n,d; int n1,d1; }; int main() { char p; fraction opr; cout<<"enter nomerator of first fraction : "; cin>>opr.n; cout<<endl; cout<<"enter demonerator of first fraction"; cin>>opr.d; cout<<endl; cout<<"enter operation : "; cin>>p; …

Member Avatar for irum.nageen.3
0
3K
Member Avatar for blamp

check this out from the links below, and hopefully you can get your solution: http://www.programmingtunes.com/fractional-calculator-using-c/ http://www.daniweb.com/software-development/cpp/threads/121962/c-fraction-calculator-output-problem

Member Avatar for irum.nageen.3
-1
471
Member Avatar for vegaseat

It is one of the simplest logics, got it from a blog. in this logic you can limit the random numbers with that given modulus(%) operator inside the for loop,its just a copoy and paste from that blog, but any way check it out: [ // random numbers generation in …

Member Avatar for rubberman
1
6K
Member Avatar for NathanOliver

check this out: //Palindrome code in C++ //checking a string for Palindrome. #include <iostream> #include <conio.h> #include <string.h> using namespace std; int main() { char strn[80]; int i,j,flag=0,len; cout<<"Enter the string:"; cin.getline(strn,80); len=strlen(strn); for(i=0,j=len-1;i<=(len/2);++i,--j) { if(strn[i]==strn[j]) flag=1; } if(flag) cout<<" the given string is a Palindrome"; else cout<<"The given string …

Member Avatar for NathanOliver
3
329
Member Avatar for tsubasa

check out this link, i got the answer from here: http://www.programmingtunes.com/finding-length-of-a-string-in-c/ and also check out this discussion, its already answered here: http://www.daniweb.com/software-development/cpp/threads/379836/size-of-c-string

Member Avatar for tsubasa
0
136

The End.