Search:

Type: Posts; User: abood1190

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,089

    sub-arrays for merge Sort

    There is a question in my lab i couldnt figure it out .. I need your help to give me hints not to solve it.



    /* Mergesort: Use merge() to sort an array of size n */
    #include <stdio.h>...
  2. Replies
    9
    Views
    1,274

    Sorry, i didn't understand :)

    Sorry, i didn't understand :)
  3. Replies
    9
    Views
    1,274

    Code : #include #include...

    Code :



    #include <conio.h>
    #include <stdio.h>
  4. Replies
    9
    Views
    1,274

    your comments are very helpful guyz I notice...

    your comments are very helpful guyz

    I notice from the output that it changes the result of some elements

    lets say this code :


    key[16];
    j+=0;
    k+=0;
  5. Replies
    9
    Views
    1,274

    simple question in arrays

    What does it mean when passing an array in this way :

    key[16];
    j+=0;
    k+=0;

    getArray(key + j, key + j + k, k, k);


    is that shifting or something similar ?
  6. Replies
    6
    Views
    1,757

    great example, givemespam Thank you too ...

    great example, givemespam
    Thank you too
  7. Replies
    6
    Views
    1,757

    Thank you very much memcpy...

    Thank you very much memcpy
  8. Replies
    6
    Views
    1,757

    im not creating anything, i just want to...

    im not creating anything, i just want to understand the concept of nested loops

    thank you dude
  9. Replies
    6
    Views
    1,757

    output of nested loop

    can you explain to me the output of this algorithm:


    totalSteps = 0
    FOR outsideCounter = 1 TO 5 INC BY 1
    FOR insideCounter = 1 TO 5 INC BY 1
    totalSteps = totalSteps + 1
    OUTPUT “Outside = “...
  10. Replies
    1
    Views
    864

    initialization

    sometimes .. we initialize a variable to zero ! why?

    look at this algorithm for example ( nested loop ) :



    totalSteps = 0
    FOR outsideCounter = 1 TO 5 INC BY 1
    FOR insideCounter = 1 TO 5...
  11. Replies
    4
    Views
    889

    Thank you dennis.cpp...

    Thank you dennis.cpp
  12. Replies
    4
    Views
    889

    Thank you

    Thank you
  13. Replies
    4
    Views
    889

    the reinitialization !

    what it means when :
    i++
    ++i
    i--
    --i

    its not a homework question its only for understanding!


    Thank you all
  14. Replies
    8
    Views
    1,642

    Thank you anduril462...

    Thank you anduril462
  15. Replies
    8
    Views
    1,642

    i think its unsigned integer >> but i dont know...

    i think its unsigned integer >> but i dont know why !
  16. Replies
    8
    Views
    1,642

    brother, its not homework!!! this a question from...

    brother, its not homework!!! this a question from past year exam .. if you dont believe i will upload the exam right now ... i need the answer to help me in understanding
  17. Replies
    8
    Views
    1,642

    Data type ?!!

    What is the type of the following constant: 1e6
    (i) unsigned integer
    (ii) int
    (iii) float
    (iv) double
    (v) long double
    (vi) none of the above
  18. Replies
    9
    Views
    1,502

    this is the code #include #include...

    this is the code


    #include <stdio.h>#include <string.h>
    #define SIZE 10
    #define SIZE2 23


    typedef struct ItemType {
    int Docking_ID;
  19. Replies
    9
    Views
    1,502

    Check out the output ... Now, my question...

    Check out the output ...


    Now, my question >>> can i process the ships ?? can i play with numbers ?? for example, i want to send some ships by their ID to certain docking bays ?? can i do that...
  20. Replies
    9
    Views
    1,502

    WoW .. it works! i just changed to char...

    WoW .. it works!
    i just changed to char Harbour_Name[6];
    i will get back to you because i have more questions ^_^
    Thank you Salem
  21. Replies
    9
    Views
    1,502

    please guys i really need help ... i just want to...

    please guys i really need help ... i just want to read my file ... can anyone please offer help ... i couldnt solve it
  22. Replies
    9
    Views
    1,502

    that wanst an error.

    that wanst an error.
  23. Replies
    9
    Views
    1,502

    one string = Eilat am sorry to create another...

    one string = Eilat
    am sorry to create another thread.
  24. Replies
    9
    Views
    1,502

    arrays and struct !!

    the file txt:






    this is my code
  25. Replies
    19
    Views
    3,310

    CommonTater Thank you ,,, i will get back to 2 u...

    CommonTater Thank you ,,, i will get back to 2 u asap ........... BillyTKid no more problems with spaces ^_^
Results 1 to 25 of 39
Page 1 of 2 1 2