Subversion Repositories programming

Rev

Rev 337 | Rev 339 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 337 Rev 338
Line -... Line 1...
-
 
1
/*******************************************************************************
-
 
2
 * elevator.cpp
-
 
3
 *
-
 
4
 * Implementation for the Elevator class.
-
 
5
 *
-
 
6
 * Copyright 2006, Ira W. Snyder (devel@irasnyder.com)
-
 
7
 ******************************************************************************/
1
 
8
 
2
#include "elevator.h"
9
#include "elevator.h"
3
 
10
 
4
// FIXME
11
// FIXME
5
// FIXME
12
// FIXME
Line 326... Line 333...
326
 
333
 
327
    std::string s;
334
    std::string s;
328
 
335
 
329
    std::cout << "Enter floors to stop at for elevator (space seperated): ";
336
    std::cout << "Enter floors to stop at for elevator (space seperated): ";
330
    getline (std::cin, s);
337
    getline (std::cin, s);
331
    
338
 
332
    typedef std::vector<std::string> split_vector_type;
339
    typedef std::vector<std::string> split_vector_type;
333
    split_vector_type SplitVec;
340
    split_vector_type SplitVec;
334
    boost::split (SplitVec, s, boost::is_any_of(" "));
341
    boost::split (SplitVec, s, boost::is_any_of(" "));
335
 
342
 
336
    int i, val;
343
    int i, val;