newbe needs some help

This is a discussion on newbe needs some help within the C Programming forums, part of the General Programming Boards category; thats exacly what I have-- the compiler didnt even give you a warning. mine says [Warning]comparison between pointer and integer ...

  1. #16
    Registered User
    Join Date
    Nov 2005
    Location
    Alpine, TX
    Posts
    31
    thats exacly what I have-- the compiler didnt even give you a warning.
    mine says
    [Warning]comparison between pointer and integer

    it will let me run the program but right after it prints out the table a windows pop-up says the program encountered an error and must close.

    I'll try what you suggested I'm not sure how butthank god I have a 4 day weekend and a ton of coffee.

    Just frustrating paying a college for a professor who would rather you learn on your own that him teaching, and no money to go to a different college.

    Do you know of any other sites with some good c tutorials seems most are converting to c#.

  2. #17
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,069
    Yes, I get the warning, but it doesn't close it. Go back to what I said before though.

    There is a big difference between "1" and '1' and, in this case it matters, 1.
    Sent from my iPad®

  3. #18
    Registered User
    Join Date
    Nov 2005
    Location
    Alpine, TX
    Posts
    31


    thx so much it's hard to find someone that will actually help instead of make fun of you when you ask a question.

    I got rid of the warning my program will still get a windows error but at least I know its not the compiler anymore, maybe my Dev-C++ program
    important thing is I can finish my code now

    just out of curiosity I am a second year student do you think I am far behind and making mistakes that I should know by now. and have a lot of ground to make up. or right where I should be.

  4. #19
    Registered User fischerandom's Avatar
    Join Date
    Aug 2005
    Location
    Stockholm
    Posts
    71
    I have written a Sudoku solver that solves thousands of Sudoku problems in a fraction of a second and I use a single dimensional vector, i.e.,
    Code:
    T   s[ 81 ];
    I have a tip. First figure out the algorithm to solve a Sudoku grid efficiently, and after that you define the data (of type T that I defined above) to use. Do the algorithm by hand on paper. Here is a good link that may give you idéas for your algorithm: http://www.sudokusolver.co.uk/
    Good luck!

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbe question
    By RaisinToe in forum Game Programming
    Replies: 15
    Last Post: 01-28-2009, 05:01 PM
  2. Newbe request
    By Rokemet in forum C++ Programming
    Replies: 14
    Last Post: 09-20-2007, 11:41 PM
  3. Please help (newbe post)
    By Dmax in forum C++ Programming
    Replies: 4
    Last Post: 02-17-2005, 08:52 PM
  4. Newbe help
    By Kitu in forum C++ Programming
    Replies: 7
    Last Post: 08-01-2004, 03:49 AM
  5. WNDCLASSEX vs. WNDCLASS (Newbe) ???
    By niklaskr in forum Windows Programming
    Replies: 3
    Last Post: 06-19-2002, 09:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21