Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
class:os2014f:hw3 [2014/09/27 11:18]
mhshin
class:os2014f:hw3 [2025/10/13 12:45] (current)
Line 22: Line 22:
 </​code>​ </​code>​
  
 +코드
  
 <​code>​ <​code>​
Line 31: Line 32:
 #include <​ctype.h>​ #include <​ctype.h>​
 */ */
- 
-#define MAX_WRONG_CNT 6 
  
 void draw_hangman( int n ); void draw_hangman( int n );
Line 145: Line 144:
 } }
  
-char getAlphaCapital( void )+char getAlpha( void )
 { {
 /*C /*C
Line 160: Line 159:
  
 </​code>​ </​code>​
 +
 +채점:
 +
 +총점 10점. 컴파일 안되면 -7. C++로 수정이 안된 부분이 있으면 부분 감점. ​
 +draw_hangman()에서 string 변수를 사용해서 코드를 짧게 구현하면 가산점 최대 5점. 이 가산점은 숙제점수 총점에 가산됨. 숙제가 만점이면 전체 총점에 반영 됨.
 
class/os2014f/hw3.1411791527.txt.gz · Last modified: 2025/10/13 13:00 (external edit) · [Old revisions]
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki