User Profile

Collapse

Profile Sidebar

Collapse
cdietschrun
cdietschrun
Last Activity: Mar 10 '08, 01:57 AM
Joined: Mar 7 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • cdietschrun
    started a topic Knight's Tour in C
    in C

    Knight's Tour in C

    Code:
    184 lines removed - please only post the relevant code snippets, and have a look at the site's guidelines
    I am trying to do this program but I don't have a way of making this program backtracking. Can anyone help me figure out a backtracking routine? I've never done one and this was a challenge program in my class and the teacher never showed us how.
    See more | Go to post

  • cdietschrun
    replied to Calling the time function in a C program
    in C
    No, I'm confused by this whole setup. It is from a book and it is 20 years old and they don't explain their code. Our job is to type it in and get it to work in ANSI C and they throw little things like this in there that I can't quite figure out.
    See more | Go to post

    Leave a comment:


  • cdietschrun
    replied to Calling the time function in a C program
    in C
    I have my entire code if someone wants to read it and tell me why I'm not getting random outputs, that works too.
    See more | Go to post

    Leave a comment:


  • cdietschrun
    started a topic Calling the time function in a C program
    in C

    Calling the time function in a C program

    I have a program that I needed to create for a homework that is an Operating System Simulator. It's not as cool as it sounds. When I run it,

    Code:
      
      long now ;
    
      srand( system( "time(&now)" ) );
    Is supposed to create a value that will initialize the "system clock" ( a static int ).

    The program runs and does what it is supposed to, except there...
    See more | Go to post
No activity results to display
Show More
Working...