Search:

Type: Posts; User: thamiz

Search: Search took 0.00 seconds.

  1. Replies
    25
    Views
    5,645

    how do i use malloc

    how do i use malloc
  2. Replies
    25
    Views
    5,645

    thanks again for your patience and time

    i have a question
    say if int a counter called goodrowcounter;
    when i int the array[goodrowcounter][width];
    my compiler say error: variable-sized objects may not be initialiased.
    what can i do to...
  3. Replies
    25
    Views
    5,645

    Would a counter be advisable

    Would a counter be advisable
  4. Replies
    25
    Views
    5,645

    hi there well all the files will have a variable...

    hi there
    well all the files will have a variable width of 0 to 50, and a variable height of 0 to 80. But my program can find the height and width of the file. But the problem lies when i want to...
  5. Replies
    25
    Views
    5,645

    Actuauly no i don't know. Because the width and...

    Actuauly no i don't know. Because the width and height keeps changing.
    my program will find find the width and height of the file. Bu the problem is i don't know how to specify the size of the...
  6. Replies
    25
    Views
    5,645

    Hi

    Hi there oh ok
    but there is only one problem, my code is too genearlised.
    the width and height of the array will change according to the file i open. so any idea, on how i can manipulate the width...
  7. Replies
    25
    Views
    5,645

    Hi: how to Traverse

    How would i go on about traversing the the 2d array..
    Thanks in Advance
  8. Replies
    25
    Views
    5,645

    thanks boss

    thanks boss
  9. Replies
    25
    Views
    5,645

    thank bro you got the idea i was impleamenting

    what is wrong with my code
    it is print out junk values for some reason


    #include <stdio.h>

    int main(int argc,char *argv[]){
    int row;
    int col;
    int goodrow=0;
  10. Replies
    25
    Views
    5,645

    Hi the not following about traverse, i'm just a...

    Hi the not following about traverse, i'm just a beginner so can you go though it with me...
    please.

    thanks in advance
  11. Replies
    25
    Views
    5,645

    sorry about the comments

    [/code]
    Hi well technically i can't because i don't know the size of the array i'm using.. i will jst have to open the file they give me and the program will have to do that for me.
    [code]
  12. Replies
    25
    Views
    5,645

    Help with 2d arrays

    Hi there
    i need some help manipulating a 2d array.
    For example
    say i have an 2d array


    int array[20][21]={{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, //Crop this
    ...
Results 1 to 12 of 13