Search:

Type: Posts; User: zhangz64

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    3,037

    Becoming An Embedded Software Engineer

    Hello, Everyone.

    I am a third year electrical and computer engineering student currently studying in a Canadian University.

    I am at a point where I have to choose my courses to define my career...
  2. Thread: Safe get

    by zhangz64
    Replies
    7
    Views
    789

    Thanks for your replay I need to use a 2...

    Thanks for your replay



    I need to use a 2 dimensional array to printf it out.
    My thought is to fill the array with '.' first and put the letters(X Q K) in the 2 D array base on their...
  3. Thread: Safe get

    by zhangz64
    Replies
    7
    Views
    789

    Sorry about the confusion. The program is...

    Sorry about the confusion.
    The program is receive a input from user etc. Qb2Ke4Rh4Xd4,
    The letter Q or K represent the pieces on the Chess board. Q for queen, K for knight.
    The small letter b or e...
  4. Replies
    8
    Views
    1,246

    I think i got it . Thank you whiteflags.

    I think i got it .
    Thank you whiteflags.
  5. Replies
    8
    Views
    1,246

    very clear, Thank you Salem

    very clear, Thank you Salem
  6. Thread: Safe get

    by zhangz64
    Replies
    7
    Views
    789

    Safe get

    Hey guys,
    I am trying to get a array input with mix with letters and numbers(but with pattern) etc.Qb2Ke4Rh4Xd4

    I know how to do the safe get for the string.


    void safegets (char s[], int...
  7. Replies
    8
    Views
    1,246

    Thank you hex_dump, This is how i understand...

    Thank you hex_dump,
    This is how i understand this ,correct me if i am wrong, we first malloc a double pointer which points a list of arrays. then you malloc for each arrays.
    So,should i malloc...
  8. Replies
    8
    Views
    1,246

    Whiteflags, Thank you for the reply This is...

    Whiteflags, Thank you for the reply
    This is normally how I malloc 2 dimensional array.

    If you invoke like(dosomething(mat, columnsize, rowsize),
    and you said that this is pointer pointer...
  9. Replies
    8
    Views
    1,246

    2 dimensional array

    Hey guys , I am trying to self-study C programming during this summer.
    I was really confused about this 2 dimensional array thing.
    Hope that I could get some helps here.

    I know how to create one...
  10. Replies
    4
    Views
    917

    thank you for your reply Salem. Really helps me...

    thank you for your reply Salem.
    Really helps me a lot
    i made some big changes on my code



    bool *badj=null;

    bool *bads=null;
  11. Replies
    4
    Views
    917

    well it is 2 AM right now just cant sleep before...

    well it is 2 AM right now just cant sleep before this program works
  12. Replies
    4
    Views
    917

    need some help with Segmentation fault

    This program is a new assignment for array and string, however the program shows segmentation error after first execution.

    it says Segmentation fault.
    i check the out put from the function check....
Results 1 to 12 of 12