-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from russell-lundberg/options1
Options1
- Loading branch information
Showing
17 changed files
with
421 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#ifndef OPTIONS_HPP | ||
#define OPTIONS_HPP | ||
// | ||
// options.hpp | ||
// xcode2 | ||
// | ||
// Created by Russell Lundberg on 12/21/23. | ||
// | ||
|
||
|
||
#include <string> | ||
#include <unordered_map> | ||
|
||
void show_usage(std::string ); | ||
|
||
std::unordered_map<std::string,std::string> process_argv( int, char** ); | ||
|
||
std::string optionLetter( std::string ); | ||
|
||
bool isOption( char* ); | ||
|
||
std::string valuelessOption( std::string ); | ||
|
||
std::string valuefulOption( std::string ); | ||
|
||
void Letters_In( std::unordered_map<std::string,std::string>* ); | ||
|
||
std::string str_tolower(std::string s); | ||
|
||
void Option_Switch( int, char**, int*, std::unordered_map<std::string,std::string>* ); | ||
|
||
#endif /* OPTIONS_HPP */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.