<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sun-basix</author_name>
  <author_url>https://blog.hatena.ne.jp/sun-basix/</author_url>
  <blog_title>taiyoh独言</blog_title>
  <blog_url>https://sun-basix.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>ネットでよく見るmallocを使ったサンプルだと、「いや、いくら『実行時に決める』ったって、このプログラムじゃあその定数がハードコーディングされてるんだから、そんなん全く意味ないやん」とツッコミたくなるものばかりで、配列を定義して静的にメモリを確保するのと全然違いが分からない。 じゃあどうしようと思ってたところで、某課題で三変数の連立一次方程式の解を求めるプログラムを組んでるのだが、「あ、これを任意のm個の変数の解を求めるように変更したらどうだろう」と思い至る。で、サンプル作成中。いまここ。複数行の処理がまだできないけど、m個の要素を動的に確保するのに、最初はmallocで確保した後、インクリ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsun-basix.hatenadiary.org%2Fentry%2F20061018%2F1161190803&quot; title=&quot;malloc勉強中（C言語） - taiyoh独言&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>2006-10-18 02:00:03</published>
  <title>malloc勉強中（C言語）</title>
  <type>rich</type>
  <url>https://sun-basix.hatenadiary.org/entry/20061018/1161190803</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
