The Battle for Wesnoth  1.19.0-dev
Functions
commandline_argv.hpp File Reference
#include <string>
#include <vector>
Include dependency graph for commandline_argv.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::vector< std::string > read_argv (int argc, char **argv)
 Reads argv into a vector of STL strings. More...
 

Function Documentation

◆ read_argv()

std::vector<std::string> read_argv ( int  argc,
char **  argv 
)

Reads argv into a vector of STL strings.

Note
Both parameters are ignored on Windows in order to obtain guaranteed Unicode-safe versions through the Win32 API. Do NOT try to pass values other than the ones you got from main() here.