This file contains hidden or 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
| struct A | |
| { | |
| int m; | |
| int cm; | |
| int mm; | |
| chujowy_vector v; | |
| }; | |
| // Check if first element `t` is less than `r` | |
| template< class T > |
This file contains hidden or 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
| #include <iostream> | |
| int main() | |
| { | |
| int proba = 0; | |
| const int max_prob = 3; | |
| std::string login; | |
| std::string haslo; | |
| while( true ) | |
| { |
This file contains hidden or 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
| #include <iostream> | |
| namespace ModuleA | |
| { | |
| struct Config | |
| { | |
| static unsigned char ( * get_next_byte_function)(void); | |
| }; | |
| unsigned char (*Config::get_next_byte_function)(void) | |
| = []()-> unsigned char{ return '\0';}; |
This file contains hidden or 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
| static bool get_next_byte( std::istream& stream, char&c, std::string& log_ ) | |
| { | |
| if( !stream.eof() ) | |
| { | |
| stream.get( c ); | |
| log_ += c; | |
| return true; | |
| } | |
| return false; | |
| } |
This file contains hidden or 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
| struct A() | |
| { | |
| A& get(); | |
| int member; | |
| private: | |
| A(); | |
| A& A( const A& ) = delete; | |
| A& operator=( const A& ) = delete; | |
| }; |
This file contains hidden or 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
| #include <iostream> | |
| #include <functional> | |
| // In "some classes" you wanna have some functions. | |
| struct SomeClass | |
| { | |
| void f1( int a ) | |
| { | |
| std::cout<< a << std::endl; | |
| }; |
This file contains hidden or 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
| template<typename T, ... Ts> | |
| struct FunctionHandler | |
| { | |
| std::function<void(T, Ts)> handler; | |
| } |
This file contains hidden or 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
| <svg> | |
| ... | |
| <path | |
| style="" | |
| id="some_id" /> | |
| ... | |
| </svg> | |
| <body> | |
| <img src="/some_svg_file.svg/#some_id"> |
This file contains hidden or 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
| class Samochod | |
| { | |
| TTrack* reserved; | |
| TTrack* cur_track; | |
| short preffered_dir; | |
| } | |
| class TTrack | |
| { | |
| bool nie_zmieniac; | |
| } |
NewerOlder