forked from wovo/hwlib
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
860 additions
and
349 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// ========================================================================== | ||
// | ||
// hwlib::string demo | ||
// | ||
// (c) Wouter van Ooijen (wouter@voti.nl) 2017 | ||
// | ||
// Distributed under the Boost Software License, Version 1.0. | ||
// (See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt) | ||
// | ||
// ========================================================================== | ||
|
||
#include "hwlib.hpp" | ||
#include <iostream> | ||
|
||
int main( void ){ | ||
hwlib::string< 100 > t = "Hello brave new world!\n"; | ||
std::cout << t; | ||
|
||
auto r = t.range_start_end( 2, 5 ); | ||
hwlib::string< 100 > rr = r; | ||
std::cout << "[" << rr << "]\n"; | ||
|
||
std::cout << "[" << t.range_start_length( 3, 9 ) << "]\n"; | ||
} |
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,25 @@ | ||
#============================================================================ | ||
# | ||
# simple project makefile (just a main file) | ||
# | ||
# (c) Wouter van Ooijen (wouter@voti.nl) 2017 | ||
# | ||
# Distributed under the Boost Software License, Version 1.0. | ||
# (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
# | ||
#============================================================================ | ||
|
||
# source files in this project (main.* is automatically assumed) | ||
SOURCES := | ||
|
||
# header files in this project | ||
HEADERS := | ||
|
||
# other places to look for files for this project | ||
SEARCH := | ||
|
||
# set RELATIVE to the next higher directory | ||
# and defer to the appropriate Makefile.* there | ||
RELATIVE := .. | ||
include $(RELATIVE)/makefile.link |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.