[PR]
×
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
プログラミングの問題やプログラミング関連知識、ソフトウェアのテストについてのブログです
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
/* hello world */
package main
import "fmt"
func main(){
fmt.Println("hello world")
}
$ go run sample1.go
hello world
#include <iostream>
#include <string>
using namespace std ;
int main(){
string str1="str1文字列" ;
string str2="str2文字列" ;
str1 += str2 ;
cout << str1 << endl ;
return 0 ;
}
#include <iostream>
using namespace std ;
int main(){
const int MAX=255 ;
cout << MAX << endl ;
return 0 ;
}
#include <iostream>
int main(){
std::cout << "Hello\n" ;
return 0 ;
}
#include <iostream>
using namespace std ;
int main(){
cout << "Hello\n" ;
return 0 ;
}