Advertisement
Guest User

ludobots step 13

a guest
Dec 21st, 2014
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.49 KB | None | 0 0
  1. void RagdollDemo
  2. ::WeightFileHandler(void)
  3. {
  4.     int succget;
  5.     long int fpwL;
  6.     char fullpathw[256];
  7.     //.
  8.  
  9.     strcpy(fullpathw, "C:\\Project_Integration\\");
  10.     strcat(fullpathw, OPTbestweightsfile );
  11.     fpwL = strlen(fullpathw);
  12.     cout << "fullpathw[] has length ";
  13.     cout << fpwL << endl;  
  14.     succget = GetFileWeights( fullpathw );
  15.     if( succget == 1 ) {       
  16.         cout << "Loaded weights from file ";                   
  17.     }else {
  18.         cout << "!ERROR. Failed to read file ";
  19.     }
  20.     cout << fullpathw;
  21.     cout << endl;      
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement