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
digraph G { | |
node [shape=box]; | |
subgraph cluster_1 { | |
label = "1학년"; | |
color=blue; | |
이산구조; 프로그래밍실습 -> 고급프로그래밍; 대학수학; | |
컴퓨터개론 -> 확률통계 [style=invis]; | |
} |
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> | |
void triR(void) | |
{ // 이 함수를 완성하시오. (4점) | |
int size, repeat; | |
scanf("%d %d", &size, &repeat); | |
printf("Hello world\n"); | |
for (int k = 0; k < repeat; ++k) | |
{ |
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 <stdbool.h> | |
size_t strlen(const char* str) | |
{ | |
size_t n = 0; | |
while (str[n]) ++n; | |
return 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
#include <stdio.h> | |
#include <ctype.h> | |
#include <stdbool.h> | |
/* K&R 프로그램에서 시작해서 변형했다면 | |
#define IN 0 | |
// 대문자로 시작한 상태 | |
#define INUP 2 | |
#define OUT 1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 <iostream> | |
int main() | |
{ | |
using namespace std; | |
int64_t x = 0; | |
// C/C++에서 실수하기 쉬운 부분 단점 | |
x = 3.14592; // 자동으로 형변환되어서 3이 되어버림 | |
OlderNewer