No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
Hi I wanna to ask about siverlight question.How to save pdf document in wcf (ServerSide). | |
Hi : I am beginner in using java , I tried to add bignumber using java my program enter numbers and add them , stop when user enter 0 then show the summation. [CODE] import java.util.Scanner ; import java.math.BigDecimal; public class CODE { /** * @param args */ public static … | |
I made program take number from user then display the factorial of this number >>>> The program works well but if I enter 20 it crashes. I need help how to accept big number in my program ?????? This my program [CODE]#include<iostream> using namespace std ; long long Fact(long long … | |
[COLOR="Red"][B]Hi all... I tried to maked Stack with Dynamic Array but ........[/B][/COLOR] [ICODE]class Stack { private: int *SS; int size; int t; void Expand(); public: //constractors Stack(); ~Stack(); Stack(const Stack & Original); //operations Stack &operator= (const Stack& RHS); bool Empty(); void Display(); int Pop(); void Push(int Value); int Top (); … | |
Hi, Can anyone help me in this code bubble sort in c++,,, this is my code.......[CODE]void main() { int A[5]={7,2,10,15,3}; int i,j,swap; for(j=0;j<5;j++) { for(i=0;i<5;i++) { if(A[i]>A[i+1]) { swap=A[i]; A[i]=A[i+1]; A[i+1]=swap; } } } for(i=0;i<5;i++) cout<<A[i]<<endl; }[/CODE] :( | |
This is my code to convert from binnary to octal ......what is the logic error in my code? [CODE]void main() { double base=2; char bin[10000]; int res,sum=0; cout<<"Enter the binnary number:"; cin>>bin; int len; len=strlen(bin); int coun=0; for(int i=0;i<len;i=i+3) { for(int j=0;j<3;j++) { res=bin[i]-'0'; sum=sum+res*(int) pow(base,j); } cout<<sum; } }[/CODE] | |
Can anyone help me to convert from binnary to octal or hexadecimal in c++?? | |
my code convert from decimal to octal here is but say input 26 ,output 23 i want output =32 what can i do? [code] void main() { int value; cin>>value; //value=26 int rem=0; while(value!=0) { rem=value%8; if(rem%8!=0) { value--; } i++; value=value/8; cout<<rem; //output 23 [/code] | |
hey Iwant to convert from interger to character char num[1000]; num[i]=rem; strrev(num); what is wrorng whith this form?? warning : warning C4996: 'strrev' was declared deprecated I can't understand this warning Hope Help me |
The End.