Search:

Type: Posts; User: Soul

Search: Search took 0.01 seconds.

  1. Replies
    35
    Views
    20,112

    !!!!

    !!!!
  2. Replies
    35
    Views
    20,112

    ^ the problem is i don't have much time , i have...

    ^ the problem is i don't have much time , i have to finsh it soon
  3. Replies
    35
    Views
    20,112

    i didn't posted here .. i know i should use a...

    i didn't posted here .. i know i should use a loop
    after writing the loop and the cout .. how i can make the program to STOP ?
    using break , continue ? (i don't know what's the difference between...
  4. Replies
    35
    Views
    20,112

    what you mean ? = { 0 } if i remove 0 from...

    what you mean ?

    = { 0 }
    if i remove 0 from the carry , the output will be -858993460 without the summation

    another questions:
    1. how i can make the program to stop if the user entered...
  5. Replies
    35
    Views
    20,112

    ok i want the output to be in the same row , like...

    ok i want the output to be in the same row , like this : 0 0 0 1 0
    rather than : 0
    0
    0
    1
    0
    how can i do it ?

    and there...
  6. Replies
    35
    Views
    20,112

    cout

    cout<<"sum= "<<sum[i];
    cout<<endl;

    you mean like this ?
  7. Replies
    35
    Views
    20,112

    i don't know how to write fuction to calculate...

    i don't know how to write fuction to calculate other than this way
  8. Replies
    35
    Views
    20,112

    then how ?

    then how ?
  9. Replies
    35
    Views
    20,112

    i change i=4 no wornings or errors but the...

    i change i=4
    no wornings or errors
    but the summation is wrong if there is carry


    #include<iostream>
    using namespace std;
    int main()
    {
    int arr[5],arr1[5],sum[5],carry[6]={0};
  10. Replies
    35
    Views
    20,112

    ok how about this : int main() { int...

    ok how about this :

    int main()
    {
    int arr[5],arr1[5],sum[5],carry[6]={0};
    int i ,c;

    cout<<"number 1.:"<<endl;
    for(i=0;i<5;i++)
    {
  11. Replies
    35
    Views
    20,112

    ok how can i correct it ? yes i know i...

    ok how can i correct it ?


    yes i know


    i know but i wasn't sure how to seperate them and adding them
    by using % / ?

    like i said i am biggnner to the programming :(
  12. Replies
    35
    Views
    20,112

    ok i changed my code to this #include...

    ok i changed my code to this

    #include <iostream>
    using namespace std;
    int main ()
    {
    int arr[5],arr1[5],carry=0,sum[6],i;
    cout<<"number 1. ";
    {
    cin>>arr[i];
  13. Replies
    35
    Views
    20,112

    plzz help me :(((

    plzz help me :(((
  14. Replies
    35
    Views
    20,112

    i have exam soon & i need to know how to do it...

    i have exam soon & i need to know how to do it with input :(
  15. Replies
    35
    Views
    20,112

    ok thanks i will try it but how can make sure...

    ok thanks i will try it

    but how can make sure that the input in binary ?
    what should i write
  16. Replies
    35
    Views
    20,112

    c++ : binary addition

    hi i am biggnner to programming
    so i don't know exactly how to add binary numbers (5bit)
    i tried of course


    #include <iostream>
    using namespace std;

    int main ()
    {
Results 1 to 16 of 16