home > 比較編 > C, C++, Objective-C, Java, C# > dictionaries >

ForNext

Only Do What Only You Can Do

079. pair

VBScript

JScript

Perl

PHP

Python

Ruby

PowerShell

Scala

F#

C

C++

pair<int, float> p(7, 3.14);
cout << p.first << ", " << p.second << endl;

C++Builder

VC++

C#

using System.Collections.Generic;
KeyValuePair<string,int> pr = new KeyValuePair<string,int>("hello",5);
System.Console.WriteLine("{0} {1}", pr.Key, pr.Value);

Java

Objective-C

D

VB

VB.NET

Delphi

Ada

PL/SQL

T-SQL

関数型

inserted by FC2 system