{"blog_url":"https://gomi-box.hatenablog.com/","categories":["Univ.","C++"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgomi-box.hatenablog.com%2Fentry%2F20071004%2F1194017487\" title=\"\u53f3\u5074\u6298\u308a\u8fd4\u3057\uff08c++\u306e\u5834\u5408\uff09 - \u6bdb\u306e\u306f\u3048\u305f\u3088\u3046\u306a\u3082\u306e\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u6bdb\u306e\u306f\u3048\u305f\u3088\u3046\u306a\u3082\u306e","url":"https://gomi-box.hatenablog.com/entry/20071004/1194017487","provider_url":"https://hatena.blog","width":"100%","title":"\u53f3\u5074\u6298\u308a\u8fd4\u3057\uff08c++\u306e\u5834\u5408\uff09","description":"#include <iostream> using namespace std; int main(void){ int num=0; char word; int maxlength=71; while(cin.get(word)){ if(word == '\\n'){ num=0; }else if(num > maxlength){ cout << endl; num=0; }else{ num++; } cout << word; } return 0; }","type":"rich","author_name":"gomi-box","author_url":"https://blog.hatena.ne.jp/gomi-box/","height":"190","version":"1.0","provider_name":"Hatena Blog","image_url":null,"published":"2007-10-04 00:31:27"}