Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. // Console_Kifuwarabe.cpp : Defines the entry point for the console application.
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include <iostream>
  6. #include "UtilFile.h"
  7.  
  8. int main()
  9. {
  10. std::cout << "Hello, World." << std::endl;
  11.  
  12. UtilFile::Write("test.txt", "ほっほ☆(^▽^)\nどうだぜ☆(^~^)?");
  13. std::string contents = UtilFile::Read("test.txt");
  14.  
  15. std::cout << contents << std::endl;
  16.  
  17. // 横軸はアルファベットにする☆(1桁で済む) Iを飛ばすのは 少なくともわたしはグニュー碁1.2(1995年)では見かけた昔からある習慣☆ 縦棒と区別するぜ☆(^▽^)
  18.  
  19. std::cout << " |ABCDEFGHJKLMNOPQRST|" << std::endl
  20. << "--+-------------------+" << std::endl
  21. << " 1| |" << std::endl
  22. << " 2| |" << std::endl
  23. << " 3| |" << std::endl
  24. << " 4| |" << std::endl
  25. << " 5| |" << std::endl
  26. << " 6| |" << std::endl
  27. << " 7| |" << std::endl
  28. << " 8| |" << std::endl
  29. << " 9| |" << std::endl
  30. << "10| |" << std::endl
  31. << "11| |" << std::endl
  32. << "12| |" << std::endl
  33. << "13| |" << std::endl
  34. << "14| |" << std::endl
  35. << "15| |" << std::endl
  36. << "16| |" << std::endl
  37. << "17| |" << std::endl
  38. << "18| |" << std::endl
  39. << "19| |" << std::endl
  40. << "--+-------------------+" << std::endl
  41. << "何かボタンを押せだぜ☆(^▽^)" << std::endl;
  42. getchar();
  43. //system("pause");
  44.  
  45. return 0;
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement