Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 14, 2008, 12:48:25 AM (17 years ago)
Author:
landauf
Message:

config-value accepts now strings with special chars like \n or \t and hopefully every other. strings are enclosed by "…", but the quotes are only visible in the config-file. if you want something like " ← whitespace" you must add quotes, otherwise this would be stripped to "← whitespace".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core2/src/orxonox/objects/test3.cc

    r1033 r1049  
    8484        std::cout << "vector<int>:     " << i << ": " << this->vector_int_[i] << std::endl;
    8585        for (unsigned int i = 0; i < this->vector_string_.size(); i++)
    86         std::cout << "vector<string>:  " << i << ": " << this->vector_string_[i] << std::endl;
     86        std::cout << "vector<string>:  " << i << ":>" << this->vector_string_[i] << "<" << std::endl;
    8787        for (unsigned int i = 0; i < this->vector_vector3_.size(); i++)
    8888        std::cout << "vector<vector3>: " << i << ": " << this->vector_vector3_[i] << std::endl;
Note: See TracChangeset for help on using the changeset viewer.