Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jjbuchan

    Problem in loop. Please Help. Urgent!!

    Nevermind I sorted it. There wasn't a never ending loop. It was that q would go upto 81, but the max stored within grp is 9. A simple q = 0 in the right place solved it.
  2. jjbuchan

    Problem in loop. Please Help. Urgent!!

    The code below will print out: Row: 0, Col: 0, p: 0, m: 0 Row: 0, Col: 1, p: 0, m: 0 Row: 0, Col: 2, p: 0, m: 0 Row: 1, Col: 0, p: 0, m: 0 Row: 1, Col: 1, p: 0, m: 0 Row: 1, Col: 2, p: 0, m: 0 Row: 2, Col: 0, p: 0, m: 0 Row: 2, Col: 1, p: 0, m: 0 Row: 2, Col: 2, p: 0, m: 0 Row: 0, Col: 3, p...
  3. jjbuchan

    Is this right?

    I have the two methods below. In makeBoard am i calling the Boardfill method correctly? I don't really know much about pointers etc. void Boardfill(Board * B) { int row, col; Cell cell; for(row=0; row<9; row++) { for(col=0; col<9; col++) { cell = B->board[row][col]...

Part and Inventory Search

Back
Top