コンテンツにスキップ

検索結果

(前の20件 | ) (20 | 50 | 100 | 250 | 500 件) を表示
  • このページ「C言語/標準ライブラリ/stdlib.h」は、まだ書きかけです。加筆・訂正など、協力いただける皆様の編集を心からお待ちしております。また、ご意見などがありましたら、お気軽にトークページへどうぞ。 ヘッダー <stdlib.h> では、一般的な実用性を持つ5つの型といくつかの関数を宣言し、いくつかのマクロを定義しています。…
    48キロバイト (6,540 語) - 2023年11月24日 (金) 12:28
  • Cの標準ライブラリー関数 div() をGoから呼出せるようにした例 package main import ( //#include <stdlib.h> "C" "fmt" ) // div_t div(int num, int denom); func div(n, d int) (int…
    3キロバイト (396 語) - 2021年11月28日 (日) 23:14
  • #include <windows.h> #include <winsock2.h> #include <ws2tcpip.h> #include <stdlib.h> #include <stdio.h> // Need to link with Ws2_32.lib, Mswsock.lib, and…
    10キロバイト (1,165 語) - 2022年11月28日 (月) 17:35
  • C言語/標準ライブラリ/一般ユーティリティ#aligned_alloc関数 -- aligned_allocはアライメント関連ですが、ヘッダー<stdlib.h>で宣言されます。 国際標準化機構/国際電気標準会議 ISO/IEC 9899:2018(en) Information technology…
    4キロバイト (451 語) - 2021年8月28日 (土) 07:15
  • ソケットを作るだけのプログラム #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> int main() { int socket_descriptor = socket(AF_INET, SOCK_STREAM, 0); if…
    14キロバイト (1,893 語) - 2023年11月2日 (木) 05:08
  • h> <stdbit.h> <stdbool.h> <stdckdint.h> <stddef.h> <stdint.h> <stdio.h> <stdlib.h> <stdnoreturn.h> <string.h> <tgmath.h> <threads.h> <time.h> <uchar.h>…
    103キロバイト (8,510 語) - 2024年6月5日 (水) 01:18
  • #include <stdlib.h> #include <stdio.h> int main(void) { // 乱数の初期化 srand(time(NULL)); // 1から6の乱数を生成 const int r = rand() % 6 + 1; int in; print("1から6の数を入力してください:");…
    1キロバイト (183 語) - 2021年4月13日 (火) 09:47
  • 加されたものです。主に多次元配列や動的メモリ割り当てなどの高度な操作で使用されます。 #include <stdio.h> #include <stdlib.h> void allocateMemory(int ***ptr) { *ptr = (int **)malloc(sizeof(int *));…
    45キロバイト (6,408 語) - 2024年5月5日 (日) 06:37
  • 共通の定義<stddef.h> チェック付き整数演算<stdckdint.h>C23 整数型<stdint.h>C99 入出力<stdio.h> 一般ユーティリティ<stdlib.h> _Noreturn<stdnoreturn.h>C11 文字列操作<string.h> 型総称数学関数<tgmath.h>C99 スレッド<threads…
    19キロバイト (1,682 語) - 2024年6月13日 (木) 03:46
  • 式、変数、関数、キーワードといったC言語自体の仕様について ANSI C ISO C99 C言語ライブラリ等の基本的なライブラリを使ったプログラミングについて math stdio stdlib 無駄な処理を減らし、よりスムーズな方法を選択するテクニックについて 一般的に行われているインデントやコメントの使い方や、命名規則について…
    2キロバイト (263 語) - 2005年9月3日 (土) 00:58
  • 符号文字列は、currency_symbolの直前にあります。 4: 符号文字列は、currency_symbolの直後に #include <stdio.h> #include <stdlib.h> #include <locale.h> int main(void) { /* Locale is set to "C" before this…
    11キロバイト (982 語) - 2021年10月23日 (土) 00:22
  • #define _POSIX_C_SOURCE 200112L #include <stdio.h> #include <stdlib.h> #include <time.h> int main(void) { time_t rawtime; struct tm *timeinfo;…
    6キロバイト (763 語) - 2021年8月28日 (土) 07:35
  • し、それに応じてコードを書くのに役立ちます。 #include <stdint.h> #include <stdio.h> #include <stdlib.h> int main() { int *ptr = (int *)aligned_alloc(16, sizeof(int)); // Allocate…
    17キロバイト (2,526 語) - 2024年6月10日 (月) 22:40
  • Lisp interpreter and typing (load "stdlib.scm"): jdtang@debian:~/haskell_tutorial/code$ ./lisp Lisp>>> (load "stdlib.scm") (lambda ("pred" . lst) ...)…
    14キロバイト (2,312 語) - 2011年11月16日 (水) 05:24
  • #include <winsock2.h> #include <ws2tcpip.h> #include <windows.h> #include <stdlib.h> #include <locale.h> #define _WINSOCK_DEPRECATED_NO_WARNINGS //…
    16キロバイト (2,635 語) - 2024年2月20日 (火) 06:36
  • ポインタを使った構造体の操作でのメモリリークやNULLポインタの処理などがあります。 #include <stdio.h> #include <stdlib.h> struct Person { char name[50]; int age; }; void printPerson(struct Person…
    21キロバイト (2,521 語) - 2024年6月13日 (木) 01:23
  • 以下は、簡単な正規表現を使った文字列のマッチングの例です。 #include <stdio.h> #include <stdlib.h> #include <regex.h> int main() { regex_t regex; // 正規表現パターン char *pattern…
    14キロバイト (1,719 語) - 2024年2月8日 (木) 11:27
  • #include <arpa/inet.h> #include <netinet/in.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <unistd.h> int main()…
    31キロバイト (4,157 語) - 2024年2月8日 (木) 08:06
  • // Windows の Visual C++ の場合 #include <stdio.h> #include <stdlib.h> // 「続行するには何かキーを押してください . . .」を表示するのに必要。 static int hp, mp, exp_; static…
    50キロバイト (8,310 語) - 2023年8月14日 (月) 05:21
  • ggg.go httpclient.go prime.rb std.txt CVS fibo go2.go info.go recfc.go stdlib.txt anon.go fibo.arm.objdump go3.go isprime sieve.go stringer clink fibo…
    74キロバイト (10,824 語) - 2024年4月21日 (日) 23:51
(前の20件 | ) (20 | 50 | 100 | 250 | 500 件) を表示