ユーザの使い勝手を重視すること
何事も単純化すること
処理に使用するリソースをできるだけ少なくすること
迅速に対応すること
ソフトウェアのあらゆる側面をドキュメント化すること
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) list | |
1 #include <stdio.h> | |
2 #include <string.h> | |
3 | |
4 int main() { | |
5 char str_a[20]; | |
6 char *pointer; | |
7 char *pointer2; | |
8 | |
9 strcpy(str_a, "Hello, world!\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% gdb -q ./a.out | |
Reading symbols for shared libraries .. done | |
(gdb) list | |
1 #include <stdio.h> | |
2 | |
3 int main() { | |
4 int int_var = 5; | |
5 int *int_ptr; | |
6 | |
7 int_ptr = &int_var; // int_varのアドレスをint_ptrに設定する |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
int main() { | |
char str_a[20]; | |
char *pointer; | |
char *pointer2; | |
strcpy(str_a, "Hello, world!\n"); | |
pointer = str_a; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
int int_var = 5; | |
int *int_ptr; | |
int_ptr = &int_var; // int_varのアドレスをint_ptrに設定する | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
char string[10]; | |
int NUM1 = -10; | |
unsigned int NUM2 = 100; | |
strcpy(string, "hogeee"); | |
// anything format ext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
char string[10]; | |
int NUM1 = -10; | |
unsigned int NUM2 = 1000; | |
strcpy(string, "hogeee"); | |
printf("[NUM2のフィールド幅指定] 3: '%3u', 10: '%10u', 08: '%08u'\n", NUM2, NUM2, NUM2); |
mysql> CREATE DATABASE hogehogee;
mysql> CREATE TABLE user (username varchar(10), address varchar(10));
mysql> DESCRIBE user;
+----------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+-------------+------+-----+---------+-------+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<domain type='kvm'> | |
<name>[% NAME %]</name> | |
<uuid>[% UUID %]</uuid> | |
<memory>[% MEM %]</memory> | |
<currentMemory>[% MEM %]</currentMemory> | |
<vcpu>[% CPU %]</vcpu> | |
<os> | |
<type arch='x86_64' machine='rhel5.4.0'>hvm</type> | |
<boot dev='hd'/> | |
</os> |