Search:

Type: Posts; User: amir1986

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    28,739

    I know but when u are out of options you will try...

    I know but when u are out of options you will try anything just to get a solution.
  2. Replies
    4
    Views
    28,739

    I found the solution :P .. left shift ...

    I found the solution :P ..

    left shift
    temp=a[0];
    for(i=0;i<n-a;i++)
    a[i]=a[i+1];
    a[n-1]=temp;


    shift right
  3. Replies
    4
    Views
    28,739

    Shift right for an array .

    Hello there ,

    can anyone write me a function that do shift right once of an array .
    it should be circular.
    the function gets pointer for an array and returns nothing .

    I tried to google it...
  4. Thanx man :D it worked..GOD i forgot that it's a...

    Thanx man :D it worked..GOD i forgot that it's a type of an Elem .
  5. Nonportable pointer conversion - please help

    I have this struct


    typedef struct _Vector_t* Vector;
    typedef void *Elem;

    struct _Vector_t {
    Elem *array;
    int intOrChar;
    int arraysize;
Results 1 to 5 of 5