bg1wiki @ ウィキ内検索 / 「asctimeプロジェクト」で検索した結果
-
UNIXプログラミング
...imeプロジェクト 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プロジェクト execleプロジェクト execveプロジェクト getpidプロジェク...
-
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プロジ...
-
Windowsプログラミング
トピック ノート WinMain ソースコード WinMainプロジェクト MessageBoxプロジェクト CreateWindowプロジェクト ShowWindowプロジェクト RegisterClassプロジェクト GetMessageプロジェクト DefWindowProcプロジェクト DestroyWindowプロジェクト DispatchMessageプロジェクト WindowProcプロジェクト PeekMessageプロジェクト PostQuitMessageプロジェクト UpdateWindowプロジェクト LoadImageプロジェクト GetDCプロジェクト ReleaseDCプロジェクト TextOutプロジェクト BeginPaintプロジェクト EndPaintプロジェクト InvalidateRectプロジェクト SetPixelプロジェクト MoveToEx...
-
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プロ...
-
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関数...
-
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...
-
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...
-
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のインクルード */ /* ...
-
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...
-
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...
-
switch_caseプロジェクト
switch_case.c /*------------------------------------------------------------------------------ * Title switch_case * Project switch_case * Source switch_case.c * Author B.G * Group B.G * Created 0 36 2009/11/11 * Last Modified 0 36 2009/11/11 * ---------------------------------------------------------------------------*/ /* ヘッダファイルのインクルード */ #include stdio.h /* stdio.hのインクル...
-
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のインクルード */ ...
-
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 ...
-
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関数...
-
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のインクルード */ /* 構造...
-
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; }
-
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関数...
-
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...
-
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...
-
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")...
-
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...
-
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のインクルード */ /* ...
-
staticプロジェクト
static.c #include stdio.h void static_int_print(void); int main(void){ static_int_print(); static_int_print(); static_int_print(); return 0; } void static_int_print(void){ static int s_i; printf("%d\n", s_i); s_i++; }
-
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のインクルード */ /...
-
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...
-
Visual C++ 2005
トピック ノート コンソール アプリケーション ソースコード ConsoleApplicationプロジェクト ConsoleAppEmptyProjectプロジェクト Win32Applicationプロジェクト MFCSDIApplicationプロジェクト MFCMDIApplicationプロジェクト MFCDlgApplicationプロジェクト サブカテゴリ 特になし
-
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...
-
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...
-
putsプロジェクト
puts.c #include stdio.h int main(void){ char str[] = "puts sample program"; puts(str); return 0; }
-
getsプロジェクト
gets.c #include stdio.h int main(void){ char str[20]; printf("str(gets) "); gets(str); puts(str); return 0; }
-
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...
-
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; }
-
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 ...
-
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);  ...
-
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) *...
-
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...
-
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...
-
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...
-
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...
-
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; }
-
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...
-
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...
-
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...
-
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; }
-
変数
変数の宣言 /* 変数の宣言 */ int a; /* 整数a */ 基本データ型 データ型 サイズ データの種類 int 4バイト 整数 float 4バイト 実数 double 8バイト 倍精度実数 char 1バイト 文字 変数への代入 何も入っていない変数に代入 /* 何も入っていない変数に代入 */ a = 10; /* aに10を代入 */ 既に値が入っている変数に代入 /* 既に値が入っている変数に代入 */ a = 1; /* aに1が代入される */ a = 10; /* aにもともと入っていた1は消え、10が代入される */ 変数の初期化 int a = 10; /* aを10に初期化 */ 変数同士の加算と結果の代入 /* aとbの足し算 */ result = a + b; /* 足した結果をresultに...
-
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); ...
-
isalphaプロジェクト
isalpha.c #include stdio.h #include ctype.h int main(void){ int c; c = getchar(); if (isalpha(c)){ printf("%c is alphabet.\n", (char)c); } return 0; }
-
MFC
トピック ノート CWinApp ソースコード Test_CWinAppプロジェクト Test_CFrameWndプロジェクト Test_CWndプロジェクト Test_CClientDCプロジェクト Test_CPaintDCプロジェクト サブカテゴリ 特になし
-
Java
トピック ノート Hello Java! ソースコード HelloJavaプロジェクト SystemOutPrintプロジェクト SystemOutPrintlnプロジェクト StringClassプロジェクト サブカテゴリ 特になし
-
@wiki全体から「asctimeプロジェクト」で調べる
更新順にページ一覧表示
|
作成順にページ一覧表示
|
ページ名順にページ一覧表示
|
wiki内検索