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 <cstdio> | |
template <typename FunctionPointer> | |
class Hoge | |
{ | |
public: | |
Hoge(FunctionPointer functionPointer) : _func(functionPointer) {} | |
void call() { | |
(*_func)(); |
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;;; 2.1.1 | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
(define (make-rat n d) | |
(cons n d)) | |
(define (numer x) | |
(car x)) | |
(define (denom x) |
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 <stdint.h> | |
#include <string.h> | |
void* operator new[](size_t size) | |
{ | |
return malloc(size); | |
} | |
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
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> | |
<NIXML><TraktorSettings><Entry Name="DeviceIO.Config.Controller" Type="3" Value="RElPTQAHBnBESU9JAAAABAAAAAFERVZTAAcGXAAAAAFERVZJAAcGUAAAAAwARwBlAG4AZQByAGkAYwAgAE0ASQBEAElEREFUAAcGLERESUYAAAAEAAAAAERESVYAAAAaAAAACQAyAC4AMQAuADMAIABEAGUAdgAAABBERElDAAAALAAAABQARABKACAAUwBoAGkAZQBsAGQAIAB2ADIALgAwACAAawBhAHoAYgBvRERQVAAAACwAAAAJAEEAbABsACAAUABvAHIAdABzAAAACQBBAGwAbAAgAFAAbwByAHQAc0REREMABvfYRERDSQADe+QAABAQRENEVAAAAC4AAAALAEMAaAAwADEALgBDAEMALgAwADAAMAAAAAcAAAAAQv4AAAAAAAH/////RENEVAAAAC4AAAALAEMAaAAwADEALgBDAEMALgAwADAAMQAAAAcAAAAAQv4AAAAAAAH/////RENEVAAAAC4AAAALAEMAaAAwADEALgBDAEMALgAwADAAMgAAAAcAAAAAQv4AAAAAAAH/////RENEVAAAAC4AAAALAEMAaAAwADEALgBDAEMALgAwADAAMwAAAAcAAAAAQv4AAAAAAAH/////RENEVAAAAC4AAAALAEMAaAAwADEALgBDAEMALgAwADAANAAAAAcAAAAAQv4AAAAAAAH/////RENEVAAAAC4AAAALAEMAaAAwADEALgBDAEMALgAwADAANQAAAAcAAAAAQv4AAAAAAAH/////RENEVAAAAC4AAAALAEMAaAAwADEALgBDAEMALgAwADAANgAAAAcAAAAAQv4AAAAAAAH/////RENEVAAAAC4AAAALAEMAaAAwADEALgBDAEMALgAwADAANwAAAAcAAAA |
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 <cstdio> | |
class Hoge | |
{ | |
public: | |
Hoge() {} | |
virtual ~Hoge() {} | |
virtual void method() { | |
puts("hoge"); |
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
The Code: | |
int add_ref(const int& a, const int& b) | |
{ | |
return a + b; | |
} | |
int add_value(const int a, const int b) | |
{ | |
return a + b; |
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
The Code: | |
int add_ref(const int& a, const int& b) | |
{ | |
return a + b; | |
} | |
int add_value(const int a, const int b) | |
{ | |
return a + b; |
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
The Code: | |
#include <cstdio> | |
#define MAX_COUNT (11) | |
void someFunction() | |
{ | |
puts("unko"); | |
} |
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
in unko.h | |
------------------- | |
class StaticClass | |
{ | |
public: | |
static int method() { | |
return 1; | |
} | |
}; |
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
in unko.h | |
------------------- | |
class StaticClass | |
{ | |
public: | |
static int counter(); | |
static int value; | |
}; |
OlderNewer