constructor_destructorプロジェクト

bg1wiki @ ウィキ内検索 / 「constructor_destructorプロジェクト」で検索した結果

検索 :
  • C++
    ...assプロジェクト constructor_destructorプロジェクト new_deleteプロジェクト new_delete_arrayプロジェクト default_argumentプロジェクト inline_functionプロジェクト referenceプロジェクト friend_functionプロジェクト copy_constructorプロジェクト thisプロジェクト function_overloadプロジェクト operator_overloadプロジェクト ifstreamプロジェクト ofstreamプロジェクト endlプロジェクト inheritanceプロジェクト virtual_functionプロジェクト template_functionプロジェクト template_classプロジェクト exceptionプロジェクト namespaceプ...
  • structプロジェクト
    struct.c /*------------------------------------------------------------------------------ * Title struct * Project struct * Source struct.c * Author B.G * Group B.G * Created 10 15 2009/12/09 * Last Modified 10 15 2009/12/09 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */   /* 構造...
  • C言語
    トピック ノート Hello, world! Cプログラムの基本構造 リテラル 変数 printf scanf 算術演算子 代入演算子 算術代入演算子 インクリメントとデクリメント キャスト演算子 ビット演算子 比較演算子 if文 if-else文 switch-case文 for文 while文 do-while文 配列 文字列 ポインタ 構造体 アロー演算子 共用体 ファイル C標準ライブラリ fopen ソースコード helloworldプロジェクト(C言語) literalプロジェクト variableプロジェクト printfプロジェクト scanfプロジェクト arithmetic_operatorプロジェクト increment_decrementプロジェクト cast_operatorプロジェクト bit_operatorプロジェクト ifプロジェクト if_elseプロジ...
  • arrow_operaterプロジェクト
    arrow_operater.c /*------------------------------------------------------------------------------ * Title arrow_operater * Project arrow_operater * Source arrow_operater.c * Author B.G * Group B.G * Created 13 47 2009/12/11 * Last Modified 13 47 2009/12/11 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /...
  • Windowsプログラミング
    トピック ノート WinMain ソースコード WinMainプロジェクト MessageBoxプロジェクト CreateWindowプロジェクト ShowWindowプロジェクト RegisterClassプロジェクト GetMessageプロジェクト DefWindowProcプロジェクト DestroyWindowプロジェクト DispatchMessageプロジェクト WindowProcプロジェクト PeekMessageプロジェクト PostQuitMessageプロジェクト UpdateWindowプロジェクト LoadImageプロジェクト GetDCプロジェクト ReleaseDCプロジェクト TextOutプロジェクト BeginPaintプロジェクト EndPaintプロジェクト InvalidateRectプロジェクト SetPixelプロジェクト MoveToEx...
  • freadプロジェクト
    fread.c #include stdio.h   struct struct_test{ int data_i; char data_str[10]; };   int main(void){   struct struct_test test1; FILE *fp;   fp = fopen("test.txt", "rb"); if (fp == NULL){ printf("Can t open file!\n"); return -1; }   fread( test1, sizeo...
  • fwriteプロジェクト
    fwrite.c #include stdio.h   struct struct_test{ int data_i; char data_str[10]; };   int main(void){   struct struct_test test1; FILE *fp;   printf("input data_i "); scanf("%d", test1.data_i);   printf("input data_str "); scanf("%s", test1.data_str); &nb...
  • strcatプロジェクト
    strcat.c #include stdio.h #include string.h   int main(void){   char str_src1[] = "hoge"; char str_src2[] = "foobar"; char str_dest[11];   printf("str_src1 = %s\n", str_src1); printf("str_src2 = %s\n", str_src2);   strcpy(str_dest, str_src1);   printf(...
  • strcpyプロジェクト
    strcpy.c #include stdio.h #include string.h   int main(void){   char str_src[] = "STRING"; char str_dest[7];   printf("src_src = %s\n", str_src);   strcpy(str_dest, str_src);   printf("src_dest = %s\n", str_dest);   return 0;   }  
  • strstrプロジェクト
    strstr.c #include stdio.h #include string.h   int main(void){   char buf[256]; char *find_str_ptr;   find_str_ptr = NULL;   printf("Input search string "); scanf("%s", buf);   if ((find_str_ptr = strstr("ABCDEFGHIJKLMNOPQRSTUVWXYZ", buf)) == NULL){ printf...
  • UNIXプログラミング
    トピック ノート time ソースコード timeプロジェクト localtimeプロジェクト asctimeプロジェクト strftimeプロジェクト mktimeプロジェクト ctimeプロジェクト gmtimeプロジェクト strptimeプロジェクト difftimeプロジェクト openプロジェクト fdopenプロジェクト closeプロジェクト readプロジェクト lseekプロジェクト fflushプロジェクト statプロジェクト fstatプロジェクト mknodプロジェクト mkfifoプロジェクト symlinkプロジェクト linkプロジェクト unlinkプロジェクト accessプロジェクト dupプロジェクト dup2プロジェクト pipeプロジェクト execlプロジェクト execvプロジェクト execlpプロジェクト execvpプロジェクト ex...
  • cast_operatorプロジェクト
    cast_operator.c /*------------------------------------------------------------------------------ * Title cast_operator * Project cast_operator * Source cast_operator.c * Author B.G * Group B.G * Created 13 30 2009/11/07 * Last Modified 13 30 2009/11/07 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* st...
  • bit_operatorプロジェクト
    bit_operator.c /*------------------------------------------------------------------------------ * Title bit_operator * Project bit_operator * Source bit_operator.c * Author B.G * Group B.G * Created 13 43 2009/11/07 * Last Modified 13 43 2009/11/07 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio....
  • forプロジェクト
    for.c /*------------------------------------------------------------------------------ * Title for * Project for * Source for.c * Author B.G * Group B.G * Created 11 52 2009/11/14 * Last Modified 11 52 2009/11/14 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */   /* main関数 */ int ...
  • toupperプロジェクト
    toupper.c #include stdio.h #include ctype.h   int main(void){   char str[260]; int c; int i;   printf("str "); scanf("%s", str);   for (i = 0; i 260; i++){ c = toupper((int)str[i]); str[i] = (char)c; }   printf("toupper ...
  • stringプロジェクト
    string.c /*------------------------------------------------------------------------------ * Title string * Project string * Source string.c * Author B.G * Group B.G * Created 12 41 2009/12/07 * Last Modified 12 41 2009/12/07 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */   /* ma...
  • arithmetic_operatorプロジェクト
    arithmetic_operator.c /*------------------------------------------------------------------------------ * Title arithmetic_operator * Project arithmetic_operator * Source arithmetic_operator.c * Author B.G * Group B.G * Created 12 46 2009/11/07 * Last Modified 12 46 2009/11/07 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ ...
  • perrorプロジェクト
    perror.c #include stdio.h #include errno.h   int main(void){   FILE *fp;   fp = fopen("test.txt", "r");   if (fp == NULL){ perror("fopen error"); return -1; }   return 0;   }  
  • strcmpプロジェクト
    strcmp.c #include stdio.h #include string.h   int main(void){   char buf[256];   printf("Input string "); scanf("%s", buf);   if (strcmp(buf, "hoge") == 0){ printf("buf == hoge\n"); printf("buf %s\n", buf); } else{ p...
  • strlenプロジェクト
    strlen.c #include stdio.h #include string.h   int main(void){   char buf[256]; int len;   printf("Input string "); scanf("%s", buf);   len = strlen(buf);   printf("buf %s\n", buf); printf("len %d\n", len);   return 0;   }  
  • 算術演算子
    種類 記号 名称 意味 記述例 + 加算演算子 足し算 2 + 3 - 減算演算子 引き算 3 - 2 * 乗算演算子 掛け算 3 * 4 / 除算演算子 割り算 12 / 4 % 剰余算演算子 割り算の余り 5 % 2 書き方 result_add = 2 + 3; /* 加算演算子 + で2に3を足す */ result_sub = 3 - 2; /* 減算演算子 - で3から2を引く */ result_mul = 3 * 4; /* 乗算演算子 * で3に4を掛ける */ result_div = 12 / 4; /* 除算演算子 / で12を4で割る */ result_mod = 5 % 2; /* 剰余算演算子 % で5を2で割った余りを求める */   ソースコード arithmetic_operatorプロジェクト
  • キャスト演算子
    機能 (型名)で強制的に型を変換する ない場合との比較 float a = 2 / 5; /* a = 0 */ float b = (float)2 / (float)5; /* a = 0.4 */   ソースコード cast_operatorプロジェクト
  • ビット演算子
    種類 記号 意味 記述例 | 論理和(OR) a | b 論理積(AND) a b ~ 否定(NOT) ~a ^ 排他的論理和(XOR) a ^ b ソースコード bit_operatorプロジェクト
  • functionプロジェクト
    function.c /*------------------------------------------------------------------------------ * Title function * Project function * Source function.c * Author B.G * Group B.G * Created 10 53 2009/11/27 * Last Modified 10 53 2009/11/27 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */ &nbs...
  • ftellプロジェクト
    ftell.c #include stdio.h   int main(void){   FILE *fp = NULL; char str[100]; long pos;   fp = fopen("test.txt", "a"); if (fp == NULL){ printf("Can t open file!\n"); return -1; }   printf("Input text \n");   while(1){   scanf...
  • fputsプロジェクト
    fputs.c #include stdio.h   int main(void){   FILE *fp; char str[] = "ABCDE";   fp = fopen("test.txt", "w"); if (fp == NULL){ printf("Can t open file!\n"); return -1; }   fputs(str, fp);   printf("fputs %s\n", str);   fclos...
  • fgetsプロジェクト
    fgets.c #include stdio.h   int main(void){   FILE *fp; char str[6];   fp = fopen("test.txt", "r"); if (fp == NULL){ printf("Can t open file!\n"); return -1; }   fgets(str, 6, fp);   printf("fgets %s\n", str);   fclose(fp); &...
  • pointerプロジェクト
    pointer.c /*------------------------------------------------------------------------------ * Title pointer * Project pointer * Source pointer.c * Author B.G * Group B.G * Created 14 16 2009/12/08 * Last Modified 14 16 2009/12/08 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */   /...
  • printfプロジェクト
    printf.c /*------------------------------------------------------------------------------ * Title printf * Project printf * Source printf.c * Author B.G * Group B.G * Created 9 54 2009/09/28 * Last Modified 9 54 2009/09/28 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */   /* main...
  • mallocプロジェクト
    malloc.c #include stdio.h #include string.h #include stdlib.h   int main(void){   char str1[10]; char *p_str2; int n; int i;   printf("n "); scanf("%d", n);   printf("str1 "); scanf("%s", str1);   p_str2 = (char *)malloc(strlen(str1) *...
  • printf
    機能 変数の値やリテラルなどを指定の書式で標準出力に出力する。 書式 #include stdio.h /* 標準入出力を扱うヘッダ */   int printf(const char *format, ...);   書式指定子 %d 符号つき整数値(10進数)として出力 %u 符号なし整数値(10進数)として出力 %f 実数値として出力 %lf 倍精度実数値として出力 %c 文字として出力 %s 文字列として出力 %x 整数値(16進数)として出力 %p ポインタ(アドレス)として出力 書き方 リテラルを表示する場合 printf("%d,%f,%c", 25, 1.23, A );   変数を表示する場合 printf("%d,%f,%c", i, f, c...
  • getsプロジェクト
    gets.c #include stdio.h   int main(void){   char str[20];   printf("str(gets) "); gets(str); puts(str);   return 0;   }  
  • helloworldプロジェクト(C++)
    helloworld.cpp /*------------------------------------------------------------------------------ * Title helloworld * Project helloworld * Source helloworld.cpp * Author B.G * Group B.G * Created 4 15 2009/09/17 * Last Modified 4 15 2009/09/17 * ---------------------------------------------------------------------------*/   // ヘッダファイルのインクルード #include iostream // iostreamのインクルー...
  • putsプロジェクト
    puts.c #include stdio.h   int main(void){   char str[] = "puts sample program";   puts(str);   return 0;   }  
  • literalプロジェクト
    literal.c /*------------------------------------------------------------------------------ * Title literal * Project literal * Source literal.c * Author B.G * Group B.G * Created 5 29 2009/09/15 * Last Modified 5 29 2009/09/15 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */   /* ...
  • increment_decrementプロジェクト
    increment_decrement.c /*------------------------------------------------------------------------------ * Title increment_decrement * Project increment_decrement * Source increment_decrement.c * Author B.G * Group B.G * Created 13 01 2009/11/07 * Last Modified 13 01 2009/11/07 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ ...
  • ifプロジェクト
    if.c /*------------------------------------------------------------------------------ * Title if * Project if * Source if.c * Author B.G * Group B.G * Created 0 14 2009/11/11 * Last Modified 0 14 2009/11/11 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */   /* main関数 */ int main&#...
  • sscanfプロジェクト
    sscanf.c #include stdio.h   int main(void){   char str1[] = "ABCDE 30 FGHIJ"; char str2[6]; char str3[6]; int i;   sscanf(str1, "%s %d %s", str2, i, str3);   printf("%s\n", str2); printf("%d\n", i); printf("%s\n", str3);   return 0; &n...
  • Visual C++ 2005
    トピック ノート コンソール アプリケーション ソースコード ConsoleApplicationプロジェクト ConsoleAppEmptyProjectプロジェクト Win32Applicationプロジェクト MFCSDIApplicationプロジェクト MFCMDIApplicationプロジェクト MFCDlgApplicationプロジェクト サブカテゴリ 特になし
  • sprintfプロジェクト
    sprintf.c #include stdio.h   int main(void){   char str1[] = "ABCDE"; char str2[] = "FGHIJ"; char str3[15]; int i = 30;   sprintf(str3, "%s %d %s", str1, i, str2);   printf("%s\n", str3);   return 0;   }  
  • fscanfプロジェクト
    fscanf.c #include stdio.h   int main(void){   FILE *fp; int a, b, c;   fp = fopen("test.txt", "r");   if (fp == NULL){ printf("Can t open file!\n"); return -1; }   printf("Open file succeed!\n");   printf("Read format file start.\n")...
  • scanf
    機能 標準入力から入力されたデータを変数に読み込む。 書式 #include stdio.h   int scanf(const char *format, ...);   書き方 int i;   scanf("%d", i);   ソースコード scanfプロジェクト
  • HelloJavaプロジェクト
    HelloJava.java /*------------------------------------------------------------------------------ * Title HelloJava * Project HelloJava * Source HelloJava.java * Author B.G * Group B.G * Created 17 59 2009/10/25 * Last Modified 17 59 2009/10/25 * ---------------------------------------------------------------------------*/   // クラスの定義 // アプリケーションクラスHelloJava public class HelloJav...
  • putcharプロジェクト
    putchar.c #include stdio.h   int main(void){   int c = A ;   putchar(c);   return 0;   }  
  • fopenプロジェクト
    fopen.c #include stdio.h   int main(void){   FILE *fp;   fp = fopen("test.txt", "r");   if (fp == NULL){ printf("Can t open file!\n"); return -1; }   printf("Open file succeed!\n");   fclose(fp);   return 0;   }  
  • getcharプロジェクト
    getchar.c #include stdio.h   int main(void){   int c;   c = getchar();   putchar(c);   return 0;   }  
  • arrayプロジェクト
    array.c /*------------------------------------------------------------------------------ * Title array * Project array * Source array.c * Author B.G * Group B.G * Created 14 47 2009/12/04 * Last Modified 14 47 2009/12/04 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */   /* main関数...
  • callocプロジェクト
    calloc.c #include stdio.h #include stdlib.h   int main(void){   int *p_malloc; int *p_calloc; int i;   p_malloc = NULL; p_calloc = NULL;   printf("malloc example.\n");   printf("first call malloc.\n");   p_malloc = (int *)malloc(sizeof(int) * 5);   if (p_malloc != N...
  • whileプロジェクト
    while.c /*------------------------------------------------------------------------------ * Title while * Project while * Source while.c * Author B.G * Group B.G * Created 12 07 2009/11/14 * Last Modified 12 07 2009/11/14 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */   /* main関数...
  • Java
    トピック ノート Hello Java! ソースコード HelloJavaプロジェクト SystemOutPrintプロジェクト SystemOutPrintlnプロジェクト StringClassプロジェクト サブカテゴリ 特になし
  • @wiki全体から「constructor_destructorプロジェクト」で調べる

更新順にページ一覧表示 | 作成順にページ一覧表示 | ページ名順にページ一覧表示 | wiki内検索