No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
ok i cam writing a class named fraction to add subtract multiply and divide fractions and it also compares them. This is my first time writing a class and also the operators are suppose to be overloaded. I think i did them right. I just need to figure out why … |
|
I am writing a program for class that inputs two of chars values no larger than 20. Then it adds these to Values together and prints the sum. Say this is my input Value one 123 Value two 456. This is how i input it into program for keyboard. 3 … |
|
Ok i am working on a program for class to add to big numbers. The numbers are entered as Chars then converted to int. Then i need to place them into a dynamically allocated array with a pointer. I need to do this twice to make two arrays and the … |
|
Is there a way to find the length of char i enter from the keyboard? I am entering single digit numbers 0-9 as chars. So i cant enter over 20 chars but i need to find the size of what i enter. Like if i input 123456 i need to … |
|
ok i have a 2d array and i want to trace through it. The Array is RDL DLU i have an entry point of Row1 Col1 which i think is letter R. On this array R means shift right L is shift left U shift up and D shift Down. … |
|
Ok i am writing a program with Arrays and could use a little help. I have to build a two dimensional array with data from a file. The file has date that first is two numbers followed by a list of charterers. So the fist line of data is 2 … |
|
Here is my assembly lang program. [CODE] mov dh,0 C: sub bl,cl mov al,bl mov ah,0 mov bh,2 div bh cmp ah,0 je A mov al,cl mov ah,0 mov bh,2 div bh A: mov al,cl add dh,al add bl,cl add cl,1 cmp cl,bl jle C[/CODE] I am trying to convert … |