Search:

Type: Posts; User: Farnaz

Search: Search took 0.01 seconds.

  1. Replies
    29
    Views
    2,250

    It's "She" actually!

    It's "She" actually!
  2. Replies
    29
    Views
    2,250

    I know about vectors and I do use them in my...

    I know about vectors and I do use them in my programs but I just thought it would be more convenient to use arrays in this case.
  3. Replies
    29
    Views
    2,250

    I thank you all, esp whiteflags! thank to you, I...

    I thank you all, esp whiteflags!
    thank to you, I think I'm gettin a deeper undrestanding of arrays, static arrays and stuff.
  4. Replies
    29
    Views
    2,250

    my whole function is this: (it is supposed to...

    my whole function is this: (it is supposed to divide a by c and puts the fractional parts-up to b digits- in the following elements of array s)


    int* function(int a,int c, int b, int[])
    {
    int...
  5. Replies
    29
    Views
    2,250

    thank you both but I have like 5 or 6 arrays in...

    thank you both but I have like 5 or 6 arrays in my program and I have wrote the whole program with arrays. if I wanna change them to vectors then I'll have to develop the program from the beginning....
  6. Replies
    29
    Views
    2,250

    I did this: int s[1000]; int*...

    I did this:


    int s[1000];

    int* function(int a,int c, int b,int*s)
    {
    .
    .
    .
  7. Replies
    29
    Views
    2,250

    so would it be ok if I declare a global array,...

    so would it be ok if I declare a global array, then use it in the function and return it when the function is over? I think it might lead to the same mistake.
    I have called this function several...
  8. Replies
    29
    Views
    2,250

    what is wrong with my program?

    Hi all. I’m writing this program in which I use a function that returns “int *”. Actually I wanted an array to be returned and since it’s not possible, I return array s at the end of the function(...
Results 1 to 8 of 10