TextOutプロジェクト

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

検索 :
  • Windowsプログラミング
    ...eDCプロジェクト TextOutプロジェクト BeginPaintプロジェクト EndPaintプロジェクト InvalidateRectプロジェクト SetPixelプロジェクト MoveToExプロジェクト LineToプロジェクト Rectangleプロジェクト DrawTextプロジェクト GetClientRectプロジェクト SetTextColorプロジェクト RGBプロジェクト GetStockObjectプロジェクト SelectObjectプロジェクト CreateFontプロジェクト DeleteObjectプロジェクト CreateFontIndirectプロジェクト SetDCPenColorプロジェクト CreatePenプロジェクト SetDCBrushColorプロジェクト CreateSolidBrushプロジェクト CreateHatchBrus...
  • C++
    トピック ノート C++のHello, world! ソースコード helloworldプロジェクト(C++) coutプロジェクト cinプロジェクト classプロジェクト 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プロ...
  • 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プロジ...
  • 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...
  • externプロジェクト
    main.c #include stdio.h   void extern_func(void);   int a;   int main(void){   a = 2;   extern_func();   printf("a = %d\n", a);   return 0;   }   extern.c extern int a;   void extern_func(void){   a = a + 2;   }  
  • Java
    トピック ノート Hello Java! ソースコード HelloJavaプロジェクト SystemOutPrintプロジェクト SystemOutPrintlnプロジェクト StringClassプロジェクト サブカテゴリ 特になし
  • 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...
  • 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のインクルード */   /* 構造...
  • 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 ...
  • 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&#...
  • Visual C++ 2005
    トピック ノート コンソール アプリケーション ソースコード ConsoleApplicationプロジェクト ConsoleAppEmptyProjectプロジェクト Win32Applicationプロジェクト MFCSDIApplicationプロジェクト MFCMDIApplicationプロジェクト MFCDlgApplicationプロジェクト サブカテゴリ 特になし
  • 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(...
  • putcプロジェクト
    putc.c #include stdio.h   int main(void){   FILE *fp; int c = X ;   fp = fopen("test.txt", "w"); if (fp == NULL){ printf("Can t open file!\n"); return -1; }   putc(c, fp);   printf("putc %c\n", (char)c);   fclose(fp);  ...
  • 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 ...
  • fputcプロジェクト
    fputc.c #include stdio.h   int main(void){   FILE *fp; int c = X ;   fp = fopen("test.txt", "w"); if (fp == NULL){ printf("Can t open file!\n"); return -1; }   fputc(c, fp);   printf("fputc %c\n", (char)c);   fclose(fp); &n...
  • 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...
  • 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...
  • 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のインクルード */   /* ...
  • getcプロジェクト
    getc.c #include stdio.h   int main(void){   FILE *fp; int c;   fp = fopen("test.txt", "r"); if (fp == NULL){ printf("Can t open file!\n"); return -1; }   c = getc(fp);   printf("getc %c\n", (char)c);   fclose(fp);   r...
  • 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関数...
  • 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のインクルード */   /...
  • putsプロジェクト
    puts.c #include stdio.h   int main(void){   char str[] = "puts sample program";   puts(str);   return 0;   }  
  • scanfプロジェクト
    scanf.c /*------------------------------------------------------------------------------ * Title scanf * Project scanf * Source scanf.c * Author B.G * Group B.G * Created 23 00 2009/10/20 * Last Modified 23 00 2009/10/20 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */   /* main関数...
  • 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関数...
  • 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...
  • 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...
  • 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); &...
  • 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;   }  
  • fseekプロジェクト
    fseek.c #include stdio.h   int main(void){   FILE *fp; int point; int c;   printf("read point "); scanf("%d", point);   if (point = 0){   fp = fopen("test.txt", "r"); if (fp == NULL){ printf("Can t open file!\n"); re...
  • fgetcプロジェクト
    fgetc.c #include stdio.h   int main(void){   FILE *fp; int c;   fp = fopen("test.txt", "r"); if (fp == NULL){ printf("Can t open file!\n"); return -1; }   c = fgetc(fp);   printf("fgetc %c\n", (char)c);   fclose(fp);   ...
  • if_elseプロジェクト
    if_else.c /*------------------------------------------------------------------------------ * Title if_else * Project if_else * Source if_else.c * Author B.G * Group B.G * Created 0 24 2009/11/11 * Last Modified 0 24 2009/11/11 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */   /* ...
  • 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...
  • getsプロジェクト
    gets.c #include stdio.h   int main(void){   char str[20];   printf("str(gets) "); gets(str); puts(str);   return 0;   }  
  • 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;   }  
  • 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...
  • 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")...
  • 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...
  • 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...
  • variableプロジェクト
    variable.c /*------------------------------------------------------------------------------ * Title variable * Project variable * Source variable.c * Author B.G * Group B.G * Created 5 46 2009/09/15 * Last Modified 5 46 2009/09/15 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */  ...
  • 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...
  • fprintfプロジェクト
    fprintf.c #include stdio.h   int main(void){   FILE *fp;   fp = fopen("test.txt", "w");   if (fp == NULL){ printf("Can t open file!\n"); return -1; }   printf("Open file succeed!\n");   printf("Write file start.\n");   fprintf&#...
  • randプロジェクト
    rand.c #include stdio.h #include stdlib.h   int main(void){   int i;   for (i = 0; i 20; i++){ printf("random no %d\n", rand() % 20 + 1); }   return 0;   }  
  • インクリメントとデクリメント
    種類 記号 名称 意味 記述例 ++ インクリメント演算子 変数の値を1増やす x++, ++x -- デクリメント演算子 変数の値を1減らす x--, --x 前置と後置 前置インクリメント 変数の値を1増やしてから、別の変数に代入する。 /* 前置インクリメント */ y = ++x; /* 1増やしてから代入 */   ↑は↓と同じ意味 /* 前置インクリメント */ x = x + 1; /* 1増やして */ y = x; /* 代入 */   後置インクリメント 変数の値を別の変数に代入してから、1増やす。 /* 後置インクリメント */ y = x++; /* 代入してから1増やす */   ↑は↓と同じ意味 /* 後置インクリメント */ y = x; /* 代入してから */ x = x + 1; /* 1増や...
  • do_whileプロジェクト
    do_while.c /*------------------------------------------------------------------------------ * Title do_while * Project do_while * Source do_while.c * Author B.G * Group B.G * Created 12 29 2009/11/14 * Last Modified 12 29 2009/11/14 * ---------------------------------------------------------------------------*/   /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクルード */ &nbs...
  • putcharプロジェクト
    putchar.c #include stdio.h   int main(void){   int c = A ;   putchar(c);   return 0;   }  
  • reallocプロジェクト
    realloc.c #include stdio.h #include stdlib.h   int main(void){   int *p_realloc; int i;   p_realloc = NULL;   printf("malloc example.\n");   p_realloc = (int *)malloc(sizeof(int) * 5);   if (p_realloc != NULL){ for (i = 0; i 5; i++){ (*(p_realloc + i...
  • 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....
  • srandプロジェクト
    srand.c #include stdio.h #include stdlib.h   int main(void){   int i;   srand(time(NULL));   for (i = 0; i 20; i++){ printf("random no %d\n", rand() % 20 + 1); }   return 0;   }  
  • howdyperlプロジェクト
    howdyperl.pl #!/usr/bin/perl ################################################################################ # Title howdyperl # Project howdyperl # Source howdyperl.pl # Author B.G # Group B.G # Created 18 34 2009/10/25 # Last Modified 18 34 2009/10/25 ################################################################################   # "Howdy, perl"の表示 print "Howdy, pe...
  • @wiki全体から「TextOutプロジェクト」で調べる

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