How can I restart my program ?

From: ÍõÀÚ (brytwang_at_gmail_dot_com)
Date: Tue Dec 25 2007 - 05:13:08 PST

  • Next message: ÍõÀÚ: "Can we directly call system ?"
    Dear Sir ,
    
    First, Happy   Christmas !
    
    I have  a puzzle of restarting  program . I have successfully  set  a
    checkpoint  in  my  program ,and  I want to
    
    restart  program from that  checkpoint .
    
    I have read  the " user guider" , and I also  restart my program from  that
    checkpoint successfully , but it is
    
    in the command -line  form . And  I want to use it in my program , and  call
    it explicitly  at  any  time . I read
    
    libcr.h , but I am not sure which function will  perform  .  My  program
    form  as  fpllows  :
    
                                              ...............
                                              checkpoint_func() ; // place1 ,
    set a checkpoint here , I have done it  successfully
                                             .................
                                             ................
                                             restart_func() ; // place2 , I want
    to restart my program from place1 ,I am puzzled here
                                             ...............
                                             ..............
    I have  tyr several functions  in  libcr.h ,but they  all failed , would
    you  please  offer  me  an  example  or
    
    some  hints .
    
    Thanks.
    
    Daniel
    

  • Next message: ÍõÀÚ: "Can we directly call system ?"