<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hayabusa333</author_name>
  <author_url>https://blog.hatena.ne.jp/hayabusa333/</author_url>
  <blog_title>ハードリカーエンジニア</blog_title>
  <blog_url>https://hayabusa333.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラム</anon>
  </categories>
  <description>友人のだるいさんが勉強会中にＣ言語でバスエラーを発生させたので解決策を十分くらいで書いたので、のせます。#include #include #include int main() { char *str = (char*)malloc(sizeof(char)*8); int i; strcpy( str , &quot;abcdefg&quot; ); puts(str); for( i = 0; str[i] != '\0'; i++ ) { str[i] = str[i] - 32; } puts(str); return 0; }ポインタを使うなら、ちゃんとメモリの確保をしろというお話でした。 また一つ頭…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayabusa333.hatenadiary.org%2Fentry%2F20110327%2F1301187522&quot; title=&quot;Ｃ言語でバスエラーの対処方法 - ハードリカーエンジニア&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-03-27 09:58:42</published>
  <title>Ｃ言語でバスエラーの対処方法</title>
  <type>rich</type>
  <url>https://hayabusa333.hatenadiary.org/entry/20110327/1301187522</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
