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
#include<string> | |
using namespace std; | |
namespace Hogehoge{ | |
//@super class | |
class SuperClass | |
{ | |
public : | |
string Func( int n ){ | |
return "SuperFunc"; |
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
#include<string.h> | |
using namespace std; | |
void function(){ | |
//ループ内で変数を宣言する | |
for( int ii(0); ii < 0; ii++ ){ | |
string str = _T("IN") | |
} | |
/*スコープが狭い |
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
class Base{}; | |
class Derived:public Base{}; //Baseクラスの継承 | |
void main(void){ | |
int A(0); | |
double D = double(A); //Cスタイルのキャスト | |
double D2 = static_cast<double>(A); //C++スタイルのキャスト | |
Derived d; | |
Base* pBase = &d; //暗黙の型変換( Derived*をBase*にしている) |
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
class Person{}; | |
class Student : public Person{}; | |
void eat( cost Person& rPerson ); //人が食べる関数(人はみな食べる) | |
void study( const Student& rStudent ); //学生が勉強する関数(学生は勉強する) | |
Person P; | |
Student S; | |
eat( P ); //人は食べる |
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
//VisualStudio2010で確認 | |
#include "stdafx.h" | |
class CHoge | |
{ | |
public: | |
CHoge(){} | |
protected: |
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
Public Sub NETTest() | |
Dim A As Object | |
Set A = CreateObject("System.Collections.ArrayList") | |
End Sub |
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
# coding: UTF-8 | |
require 'rubygems' | |
require 'amazon/ecs' | |
Amazon::Ecs.options = { | |
:associate_tag => [Amazonアソシエイトタグ], | |
:AWS_access_key_id => [AWSアクセスキーID], | |
:AWS_secret_key => [AWSシークレットキー] | |
} |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using StackExchange.Redis; | |
namespace Redis_CSharp_Sample | |
{ | |
class Program |
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
using System; | |
using System.Text; | |
using System.ComponentModel; | |
using System.Runtime.InteropServices; | |
namespace VBA_SampleAddin | |
{ | |
[ComVisible(true)] | |
public interface IVBA_Addin | |
{ |
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
Homebrew build logs for vim on macOS 10.11.6 | |
Build date: 2017-01-05 17:32:43 |
OlderNewer