<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nandakagoodvibes</author_name>
  <author_url>https://blog.hatena.ne.jp/nandakagoodvibes/</author_url>
  <blog_title>なんだかGoodVibes</blog_title>
  <blog_url>https://nandakagoodvibes.hatenablog.com/</blog_url>
  <categories>
    <anon>C</anon>
  </categories>
  <description>こんにちは。 本日はC言語メモです。 概要 strcatを使用して文字列を連結する strncatを使用して文字列を連結する 概要 文字列の連結を行う標準関数があるとのことなので 試してみました。 本記事で使用する関数は、string.hに含まれているstrcatとstrncatです。 strcat はコピー先のバッファとコピーする文字列を引数で渡します。 strncatはコピー先のバッファとコピーする文字列、コピーする文字数を引数で渡します。 strcatを使用して文字列を連結する 安全に連結ができるよう、文字数のチェックを行ってから 連結を行っています。 #include &lt;stdio.h…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnandakagoodvibes.hatenablog.com%2Fentry%2F2026%2F01%2F12%2F150332&quot; title=&quot;【C】文字列の連結を行う - なんだかGoodVibes&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>2026-01-12 15:03:32</published>
  <title>【C】文字列の連結を行う</title>
  <type>rich</type>
  <url>https://nandakagoodvibes.hatenablog.com/entry/2026/01/12/150332</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
