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...
Type: Posts; User: zhangz64
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...
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...
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...
I think i got it .
Thank you whiteflags.
very clear, Thank you Salem
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...
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...
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...
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...
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;
well it is 2 AM right now just cant sleep before this program works
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....