OSDN Git Service

サンプルコードを追加
[sdl2referencejp/sdl2referencejp.git] / SDLNet_GetError.html
index 9bdd7c6..8a4fee1 100644 (file)
 <p>
 \96ß\82è\92l: \90l\82ª\93Ç\82ß\82é\8dÅ\8cã\82É\94­\90\82µ\82½\83G\83\89\81[\82Ì\97\9d\97R\82Ö\82Ìchar\8c^\83|\83C\83\93\83^
 </p>
+<h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>
+<code>
+<pre>
+printf("\82È\82ñ\82Ä\82±\82Á\82½\81A\83G\83\89\81[\82¾ : %s", SDLNet_GetError());
+</pre>
+</code>
 <h2>\8c´\95\82Ö\82Ì\83\8a\83\93\83N</h2>
 <a href="http://www.libsdl.org/projects/SDL_net/docs/SDL_net_10.html#SEC10">3.1.4 SDLNet_GetError</a>
 <hr>