U E D R , A S I H C RSS

Full text search for "데블스캠프2005/Socket Programming in Unix/TitleIndex"

데블스캠프2005/Socket Programming in Unix/Title Index


Search BackLinks only
Display context of search results
Case-sensitive searching
  • VendingMachine/세연/1002 . . . . 785 matches
         void printMenu () {
         bool isEndMenu (int choice) {
          printMenu ();
          cin >> choice;
         bool isEndMenu (int choice) {
          MENU_INSERT_DRINK
          VendingMachine.GetMoney();
          VendingMachine.Buy();
          VendingMachine.TakeBackMoney();
          case MENU_INSERT_DRINK:
          VendingMachine.InsertDrink();
         bool isValidMenu (int choice) {
         bool isValidMenu (int choice) {
          return choice >= MENU_END && choice <= MENU_INSERT_DRINK;
          MENU_INSERT_DRINK,
          MENU_END = MENU_INSERT_DRINK
         bool isEndMenu (int choice) {
         bool isValidMenu (int choice) {
          VendingMachine.EndMachine();
          VendingMachine.PrintErrorMessage ();
  • MoniWikiPo . . . . 497 matches
         # Copyright (C) 2003-2006 Free Software Foundation, Inc.
         "Content-Type: text/plain; charset=UTF-8\n"
         "Content-Transfer-Encoding: 8bit\n"
         #: ../plugin/Attachment.php:41 ../plugin/Attachment.php:121
         #: ../plugin/Attachment.php:124
         #: ../plugin/BabelFish.php:16
         #: ../plugin/BabelFish.php:29
         #: ../plugin/Blog.php:86 ../plugin/blog2.php:87
         #: ../plugin/Blog.php:110 ../plugin/blog2.php:111
         #: ../plugin/Blog.php:115 ../plugin/blog2.php:116
         #: ../plugin/Blog.php:155 ../plugin/blog2.php:156
         #: ../plugin/Blog.php:163 ../plugin/Comment.php:135 ../plugin/blog2.php:164
         #: ../plugin/Blog.php:180 ../plugin/blog2.php:181
         #: ../plugin/Blog.php:183 ../plugin/blog2.php:184
         #: ../plugin/Blog.php:220 ../plugin/blog2.php:221
         #: ../plugin/Blog.php:222 ../plugin/blog2.php:223
         #: ../plugin/Blog.php:236 ../plugin/Blog.php:292 ../plugin/Comment.php:50
         #: ../plugin/blog2.php:237 ../plugin/blog2.php:293
         #: ../plugin/Blog.php:240 ../plugin/Blog.php:293 ../plugin/blog2.php:241
         #: ../plugin/blog2.php:294
  • 영호의해킹공부페이지 . . . . 284 matches
          1. Access to computers-and anything which might teach you something
          2. All information should be free.
          4. Hackers should be judged by their hacking, not bogus criteria such
          Principles of Buffer Overflow explained by Jus
         This article is an attempt to quickly and simply explain everyone's favourite
         manner of exploiting daemons - The Buffer Overflow.
         The remote buffer overflow is a very commonly found and exploited bug in badly
         coded daemons - by overflowing the stack one can cause the software to execute
         many are, a root shell will be spawned, giving full remote access.
         A buffer is a block of computer memory that holds many instances of the same
         data type - an array. Arrays can be static and dynamic, static being allocated
         at load time and dynamic being allocated dynamically at run time. We will be
         looking at dynamic buffers, or stack-based buffers, and overflowing, filling
         up over the top, or breaking their boundaries.
         A stack has the property of a queue of objects being placed one on top of the
         removed. This is called LIFO - or last in first out. An element can be added
         which are pushed when calling a function in code and popped when returning it.
         The stack pointer (SP) always points to the top of the stack, the bottom of it
         addresses, or up them. This means that one could address variables in the
         stack by giving their offsets from SP, but as POP's and PUSH's occur these
  • CompleteTreeLabeling/조현태 . . . . 265 matches
         #include <stdio.h>
         #include <iostream>
          int number;
          int deep;
          int maximum;
         int get_number_nodes(int , int);
         void change(int*,int*);
         block* create_block(int, int, int, int, block**, block*);
         void process_block(int* , int , int , int , int , block** );
         void main()
          int degree, deep, number_nodes, answer_number;
          block** line;
          printf("트리의 분기계수를 입력하세요.n>>");
          printf("트리의 깊이를 입력하세요.n>>");
          line=(block**)malloc(sizeof(block*)*number_nodes);
          create_block(0, 1, deep, degree, line, NULL);
          process_block(&answer_number, 0, number_nodes, degree, deep, line);
          printf("결과 : %dn",answer_number);
          for (register int i=0; i<number_nodes; ++i)
          free(line[i]->next);
  • Gof/Singleton . . . . 263 matches
         == Singleton ==
         === Intent ===
         더 좋은 방법은 클래스 자신으로 하여금 자기자신의 단일 인스턴스를 유지하도록 만드는 것이다. 이 클래스는 인스턴스가 생성될 때 요청을 가로챔으로서 단일 인스턴스로 만들어지는 것은 보증한다. 또한, 인스턴스에 접근하는 방법도 제공한다. 이것이 바로 SingletonPattern이다.
         SingletonPattern은 다음과 같은 경우에 사용한다.
         http://zeropage.org/~reset/zb/data/singl014.gif
          * Singleton
          * Instance operation (클래스의 메소드)을 정의한다. Instance 는 클라이언트에게 해당 Singleton의 유일한 인스턴스를 접근할 수 있도록 해준다.
          * Singleton 자신의 유일한 인스턴스를 생성하는 책임을 가진다.
          * 클라이언트는 오직 Singleton의 Instance operation으로만 Singleton 인스턴스에 접근할 수 있다.
         SingletonPattern은 여러가지 장점을 가진다.
          1. 클래스에 대한 접근이 오직 하나의 인스턴스에게로 제한된다. Singleton 클래스는 자기 자신의 단일 인스턴스를 캡슐화하기 때문에, 클라이언트가 언제, 어떻게 접근하던지 그 접근이 엄격하게 제어된다.
          2. namespace를 줄인다. SingletonPattern은 global variable을 줄임으로서 global variable로 인한 namespace의 낭비를 줄인다.
          3. 명령어와 표현을 확장시킬 수 있다. Singleton class는 subclass될 수 있고, 이 확장된 클래스의 인스턴스를 가지고 어플리케이션을 설정하는 것은 쉽다. run-time중에 필요한 경우에도 가능하다.
          4. 여러개의 인스턴스를 허용한다. 프로그래머의 마음에 따라 쉽게 Singleton class의 인스턴스를 하나이상을 둘 수도 있도록 할 수 있다. 게다가 어플리케이션이 사용하는 인스턴스들을 제어하기 위해 동일한 접근방법을 취할 수 있다. 단지 Singleton 인스턴스에 접근하는 것을 보장하는 operation만 수정하면 된다.
          5. class operation 보다 더 유연하다. 패키지에서 Singleton의 기능을 수행하기위한 또다른 방법은 class operation들을 사용하는 것이다. (C++에서의 static 함수나 Smalltalk에서의 class method 등등) 하지만, 이러한 언어적인 테크닉들은 여러개의 인스턴스를 허용하는 디자인으로 바꾸기 힘들어진다. 게다가 C++에서의 static method는 virtual이 될 수 없으므로, subclass들이 override 할 수 없다.
         SingletonPattern 을 사용할 때 고려해야 할 사항들이 있다.
         1. unique instance임을 보증하는 것. SingletonPattern의 경우도 일반 클래스와 마찬가지로 인스턴스를 생성하는 방법은 같다. 하지만 클래스는 늘 단일 인스턴스가 유지되도록 프로그래밍된다. 이를 구현하는 일반적인 방법은 인스턴스를 만드는 operation을 class operations으로 두는 것이다. (static member function이거나 class method) 이 operation은 unique instance를 가지고 있는 변수에 접근하며 이때 이 변수의 값 (인스턴스)를 리턴하기 전에 이 변수가 unique instance로 초기화 되어지는 것을 보장한다. 이러한 접근은 singleton이 처음 사용되어지 전에 만들어지고 초기화됨으로서 보장된다.
         다음의 예를 보라. C++ 프로그래머는 Singleton class의 Instance operation을 static member function으로 정의한다. Singleton 또한 static member 변수인 _instance를 정의한다. _instance는 Singleton의 유일한 인스턴스를 가리키는 포인터이다.
         Singleton class는 다음과 같이 선언된다.
         class Singleton {
  • 새싹교실/2011/데미안반 . . . . 230 matches
         #include <stdio.h>
         int main(void)
          printf("Hello, World!\n");
          * ; 는 문장의 끝을 나타내므로, printf("Hello World"); 처럼 어디까지 내용이 있다 나타내는 것처럼 빈 공간도 빈 공간 그대로 인식이 되지 않았나 싶어요.
          * printf를 왜 제일 처음 배우나요?
          * A언어 : ALGOL을 말합니다. 고급 프로그래밍 언어(어셈블리나 기계어를 저급 프로그래밍 언어라고 합니다)로 각광받던 포트란ForTran에 대항하기 위해 유럽을 중심으로 개발된 프로그래밍 언어입니다. ALGOL은 Algorithm Language의 약자로서, 이름 그대로 알고리즘 연구개발을 위해 만들어졌습니다. 하지만 ALGOL은 특정한 프로그래밍 언어를 지칭하기 보다는 C언어나 파스칼과 같이 구조화된 프로그래밍 언어를 지칭하는 말(ALGOL-like programming language)로 쓰입니다. [http://kin.naver.com/qna/detail.nhn?d1id=1&dirId=1040101&docId=68855131&qb=Q+yWuOyWtCBC7Ja47Ja0IEHslrjslrQ=&enc=utf8§ion=kin&rank=1&search_sort=0&spq=0&pid=ghtBIz331ywssZ%2BbORVssv--324794&sid=TYBj6x1TgE0AAE@GUeM 출처 링크! 클릭하세요:)]
          * 입, 출력 함수 - printf, scanf
         #include <stdio.h> //printf 함수 사용
         int main(void)
          int val1 = 4;
          int val2 = 2;
          printf("두 수의 덧셈: %d\n", val1+val2);
          printf("두 수의 뺄셈: %d\n", val1-val2);
         #include <assert.h> //assert 함수 사용
         int main(void)
          int val1 = 4, val2 = 2;
         #include <assert.h> //assert 함수 사용
         int main(void)
          int val = 10;
         #include <assert.h> //assert 함수 사용
  • 새싹교실/2012/세싹 . . . . 225 matches
          * 수업과목: everything you want
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 참고로 ZeroWiki는 MoniWiki Engine을 사용하며 Google Chrome이나 Mozila Firefox, Safari보다는 Internet Explorer에서 가장 잘 돌아가는 것 같습니다.
          3) Virtualbox실행 -> 새로 만들기 -> 운영체제 : Linux 버전 : Ubuntu -> 메모리1024MB로 설정하고 나머지 디폴트 설치
          4) terminal 실행 -> .c 파일이 있는 경로로 이동 (ls와 cd를 이용합니다.)
          1) virtual box로 linux 설치 후 hello world 작성하고 컴파일하여 스크린샷을 강사 메일로 보내주세요.
          2) linux의 다양한 명령어 검색해보기
          - link : 노드와 노드간에 데이터를 주고받는 역할을 합니다. 스위치, 브릿지등이 포함됩니다.
          - 인터넷 소켓(Internet socket, socket' 혹은 network socket 라고 부르기도 한다)은 네트워크로 연결되어 있는 컴퓨터의 통신의 접점에 위치한 통신 객체다.
          5) 자세한 사항은 http://forum.falinux.com/zbxe/?document_srl=441104 를 참고하세요.
          * 오피에서 숙제를 했습니다. VS로 하려니까 뭔가 막 오류가 나는데 고치지는 못하겠고 그래서 우분투를 깔아서 시도를 했네요. 용어가 익숙하지 않아서 그런지 함수 설명을 봐도 한번에 와닿지 않아서 힘들었습니다. 아 그리고 숙제를 하다가 생긴 문제인데요. 서버 프로그램을 처음 실행했을 때는 괜찮은데 두 번째로 실행했을 때는 Bind에러가 나네요. 그래서 매번 실행할 때마다 포트값을 수정해야했습니다. 왜 이런 문제가 생긴걸까요? - [권영기]
          * [권영기] 학생이 맞닥트린 bind 오류는, 해당 포트에 내가 가서 눌러앉으려고(bind하려고) 가 보니까 다른 놈이 이미 차지하고 있어서 bind하지 못했다는 오류입니다. 프로그램에서 bind한 후 다 쓰고 나서 bind를 해제하지 않으면 이런 일이 발생합니다. bind 해제 코드를 꼭 넣도록 하세요. - [황현]
          * 자세한 해결 방법입니다. 소켓을 생성하고나서 바로 setsockopt(mySocket, SOL_SOCKET, SO_REUSEADDR, &anyIntegerVariableThatContainsNonZero, sizeof(anyIntegerVariableThatContainsNonZero)); 함수를 호출하면 이 소켓의 생명이 다하는 순간 해당 포트에 자리가 나게 됩니다. - [황현]
          - 양방향 통신중 한쪽이 off-line상태인 경우에도 메시지의 전송과 수령이 가능하도록
          - terminal을 여러개 실행시켜 실험을 진행해 보세요.
          * http://www.joinc.co.kr/modules/moniwiki/wiki.php/man/2/recv
          * http://www.joinc.co.kr/modules/moniwiki/wiki.php/man/2/read
          * 소캣 옵션 참고 사이트 (close시 bind 해제 설정)
          * http://www.joinc.co.kr/modules/moniwiki/wiki.php/Site/Network_Programing/AdvancedComm/SocketOption
          - 자세한 내용은 링크를 참조. http://www.joinc.co.kr/modules/moniwiki/wiki.php/Site/Thread/Beginning/WhatThread
  • 오목/진훈,원명 . . . . 204 matches
         // OmokView.h : interface of the COmokView class
         #if !defined(AFX_OMOKVIEW_H__5E50035A_B51D_11D7_8B86_00105A0D3B05__INCLUDED_)
         #define AFX_OMOKVIEW_H__5E50035A_B51D_11D7_8B86_00105A0D3B05__INCLUDED_
          virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
          virtual void OnInitialUpdate();
          virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
          virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
          virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
          afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
          int movecnt;
          int Count;
          int turn;
          int putX;
          int putY;
          int board[9][9];
         #ifndef _DEBUG // debug version in OmokView.cpp
         inline COmokDoc* COmokView::GetDocument()
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         #endif // !defined(AFX_OMOKVIEW_H__5E50035A_B51D_11D7_8B86_00105A0D3B05__INCLUDED_)
  • 몸짱프로젝트/CrossReference . . . . 197 matches
         import string
         ## def __init__(self, aRoot):
         ## def find(self, aRoot, aWord):
         ## elif string.lower(aRoot.getWord()) > aWord and aRoot.left != None:
         ## return self.find(aRoot.left, aWord)
         ## elif string.lower(aRoot.getWord()) < aWord and aRoot.right != None:
         ## return self.find(aRoot.right, aWord)
          elif string.lower(aRoot.getWord()) > aWord:
          elif string.lower(aRoot.getWord()) < aWord:
          def setNode(self, aRoot, aWord, aLine = '1'):
          node.increaseCount()
          node.addLines(aLine)
          '''Twas brilling and the slithy toves did gtre and gimble in the wabe'''
          for l in wordList:
          print 'Word\t\tCount\t\tLines'
          self.inorder(root)
          def inorder(self, aRoot):
         ## print 'start'
         ## print 'left'
          self.inorder(aRoot.left)
  • WinampPluginProgramming/DSP . . . . 193 matches
         winamp SDK 를 받으면 sample 로 있는 dspecho 에 대한 분석.
         // Winamp test dsp library 0.9 for Winamp 2
         // Copyright (C) 1997, Justin Frankel/Nullsoft
         // Feel free to base any plugins on this "framework"...
         #include <windows.h>
         #include <commctrl.h>
         #include "dsp.h"
         #include "resource.h"
         // avoid stupid CRT silliness
         BOOL WINAPI _DllMainCRTStartup(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved)
         int g_pitch=100;
         int delta = 1;
         // pitch control window
         // auxilary pitch buffer (for resampling from)
         int pitch_buffer_len=0;
         int quit_pitch=0;
         winampDSPModule *getModule(int which);
         void config(struct winampDSPModule *this_mod);
         int init(struct winampDSPModule *this_mod);
         void quit(struct winampDSPModule *this_mod);
  • Robbery/조현태 . . . . 181 matches
          경우의 수가 여러가지 나오는 경우를 어떻게 처리할까 고민했는데.. 못찾은 걸로 할까? 아니면 답으로 간주해서 출력할까? 하다가, 이 경우는 못찾은 걸로 처리하였다. ( "Nothing known." 으로 출력된다. )
         #include <iostream>
         #include <Windows.h>
         #include <vector>
         #include <algorithm>
         #include <atltypes.h>
         using namespace std;
         #define CAN_MOVE_POINT 0
         #define DONT_MOVE_POINT 1
         vector< vector< vector<int> > > g_cityMap;
         vector< vector<POINT> > g_canMovePoints;
         vector<int> g_saveMessageTime;
         vector< vector<POINT> > g_maxPoints;
         void InitCityMap(int cityWidth, int cityHeight, int keepTime)
          g_maxPoints.clear();
          g_canMovePoints.clear();
          g_canMovePoints.resize(keepTime);
          for (register int i = 0; i < (int)g_cityMap.size(); ++i)
          for(register int j = 0; j < (int)g_cityMap[i].size(); ++j)
         void SetMessagePoints(int receiveTime, int left, int top, int right, int bottom)
  • ErdosNumbers/조현태 . . . . 172 matches
          === main.cpp ===
         #include <iostream>
         #include "class.h"
         using namespace std;
         void main()
          int simulation;
          cin >> simulation;
          int number_books, number_writers;
          cin >> number_books >> number_writers;
          for (int i=0; i<number_books; ++i)
          fflush(stdin);
          cin.getline(temp,256);
          for (int i=0; i<number_writers; ++i)
          fflush(stdin);
          cin.getline(temp,256);
          int score=datas->get_score(temp);
          cout << temp << " infinity\n";
         #define NULL 0
          int score;
          int tuched;
  • AcceleratedC++/Chapter9 . . . . 168 matches
         = Chapter 9 Defining new types =
         || 기본 타입 || char, int, double 등 기본언어의 일부 ||
         || 클래스 타입 || string, vector, istream 등 기본언어를 가지고 구현된 타입 ||
         == 9.1 Student_info revisited ==
         4.2.1절 Student_info 구조체를 다루는 함수를 작성하고, 이를 한개의 헤더파일로 통합을 하는 것은 일관된 방법을 제공하지 않기 때문에 문제가 발생한다.
         struct Student_info {
          std::string name;
          double midterm, final;
         프로그래머는 구조체를 다루기 위해서 구조체의 각 멤버를 다루는 함수를 이용해야한다. (Student_info 를 인자로 갖는 함수는 없기 때문에)
         '''왜 using-선언문을 사용하지 않는가?'''
         string, vector 와 같은 것들은 Student_info의 내부 구현시에 필요한 사항이기 때문에 Student_info를 사용하는 프로그램의 또다른 프로그래머에게까지 vector, string을 std::에 존재하는 것으로 쓰기를 강요하는 것은 옳지않다.
          '''상기의 구조체안에 Student_info 를 다룰 수 있는 멤버함수를 추가한 것'''
         struct Student_info {
          std::string name;
          double midterm, final;
          * s:Student_info 라면 멤버함수를 호출하기 위해서는 s.read(cin), s.grade() 와 같이 함수를 사용하면서 그 함수가 속해있는 객체를 지정해야함. 암묵적으로 특정객체가 그 함수의 인자로 전달되어 그 객체의 데이터로 접근이 가능하게 된다.
         istream & Student_info::read(istream& in)
          in>>name>>midterm>>final;
          read_hw(in, homework);
          return in;
  • ClassifyByAnagram/sun . . . . 161 matches
          * 실행: java anagram.FindAnagram < 입력파일> 출력파일
          * genKey() 메소드의 성능 개선. qsort2([http://www.cs.bell-labs.com/cm/cs/pearls/sortanim.html ProgrammingPerals 참고]) 이용.
          * 실행: java anagram.FindAnagram < 입력파일> 출력파일
          * 실행: java anagram.FindAnagram 출력파일 < 입력파일
          * String 객체의 생성을 줄임.(대략 300ms 정도 줄어듬) : 마이크로 튜닝으로 넘어갈수록 노력 대비 결과가 크지 않음.
          * Class, method 이름 refactoring
          * Profiling
          InputStream in = null;
          for( int i=0; i<10000; i++ ) {
          anagram.add( "aahing" );
          repaint();
          public void paint( Graphics g )
          g.drawString( "JVM info:", 10, 20 );
          g.drawString( "....vendor : " + System.getProperty( "java.vm.vendor"), 10, 35 );
          g.drawString( "....version: " + System.getProperty( "java.vm.version"), 10, 50 );
          g.drawString( "....name: " + System.getProperty( "java.vm.name"), 10, 65 );
          g.drawString( "Estimated power: " + String.valueOf(elapsed), 10, 90 );
          public void add( String str )
          private Object genKey( String str )
          private void swap( int i, int j )
  • 문제풀이/1회 . . . . 153 matches
         print 'problem 1-1'
         print 'type 3 values'
         v1 = input()
         v2 = input()
         v3 = input()
         print 'max=',max(v1, v2, v3)
         print 'min=',min(v1, v2, v3)
         print 'problem 1-2'
         print 'type 10 values '
         vv1 = input()
         vv2 = input()
         vv3 = input()
         vv4 = input()
         vv5 = input()
         vv6 = input()
         vv7 = input()
         vv8 = input()
         vv9 = input()
         vv10 = input()
         print 'max=',max(vv1,vv2,vv3,vv4,vv5,vv6,vv7,vv8,vv9,vv10)
  • MobileJavaStudy/SnakeBite/FinalSource . . . . 152 matches
          public void paint(Graphics g) {
          e.printStackTrace();
          public int x;
          public int y;
          public SnakeCell(int x, int y) {
          public static final int LEFT = 1;
          public static final int RIGHT = 2;
          public static final int UP = 3;
          public static final int DOWN = 4;
          private final int xRange;
          private final int yRange;
          private int headIndex;
          private int direction;
          private boolean growing;
          public Snake(int length, int xRange, int yRange) {
          for(int i = length ; i >= 1 ; i--)
          headIndex = 0;
          growing = false;
          public int length() {
          public SnakeCell getSnakeCell(int index) {
  • UnixSocketProgrammingAndWindowsImplementation . . . . 151 matches
         페이지의 컨텐츠를 보아하니, 따로 페이지를 뽑아내도 될것 같아 [문서구조조정] 하였습니다. 원래 페이지 이름은 '''데블스캠프2005/Socket Programming in Unix/Windows Implementation'''였습니다. - [임인택]
         주제 : Socket Programming의 기초적인 부분을 알아본다.
         #include <sys/types.h>
         #include <sys/socket.h>
         int socket(int domain, int type, int protocol);
         === domain: ===
         PF_INET : 인터넷 프로토콜 체계 사용
         PF_INET6 IPv6 : 프로토콜 체계 사용
         PF대신 AF를 사용해도 무방. (ex. PF_INET -> AF_INET)
         main(){
         int sockfd;
          sockfd = socket(AF_INET, SOCK_STREAM, 0);
          fprintf(stderr, "socket 함수에서 에러"), exit(1);
         struct sockaddr_in {
         short sin_family; // 주소 체계를 나타낸다.
         u_short sin_port; // port 번호
         struct in_addr sin_addr; // ip 주소
         char sin_zero[8]; // 쓰지 않는 주소
          ※ 왜 sockaddr과 sockaddr_in의 structure가 같을까?
         === sin_family: // 주소체계 ===
  • Star/조현태 . . . . 136 matches
         <embed src="http://zerowiki.dnip.net/~undinekr/lunia_ost1.mp3">
         [DeadLink]
         #include <iostream>
         #include <map>
         #include <vector>
         #include <algorithm>
         using namespace std;
         #define FALSE 0
         #define TRUE 1
         struct SavePoint{
          int x;
          int y;
          int z;
          SavePoint(int inputX, int inputY, int inputZ)
          x = inputX;
          y = inputY;
          z = inputZ;
          bool operator == (const SavePoint& target) const
          bool operator < (const SavePoint& target) const
         map<SavePoint, int>points;
  • RSSAndAtomCompared . . . . 128 matches
         The RSS 2.0 specification is copyrighted by Harvard University and is frozen. No significant changes can be made and it is intended that future work be done under a different name; Atom is one example of such work.
         The Atom 1.0 specification (in the course of becoming an
         [http://www.ietf.org/html.charters/atompub-charter.html Atompub Working Group]
         within the [http://www.ietf.org/ IETF], as reviewed and approved by the IETF community and the
         [http://www.ietf.org/iesg.html Internet Engineering Steering Group]. The specification is structured in such a way that the IETF could conceivably issue further versions or revisions of this specification without breaking existing deployments, although there is no commitment, nor currently expressed interest, in doing so.
         See the Extensibility section below for how each can be extended without changing the specifications themselves.
         === Publishing Protocols ===
         [http://www.bblfish.net/blog/page7.html#2005/06/20/22-28-18-208 reports] of problems with interoperability and feature shortcomings.
         The Atompub working group is in the late stages of developing the
         [http://ietfreport.isoc.org/idref/draft-ietf-atompub-protocol/ Atom Publishing Protocol], which is closely integrated with the Atom feed format and is based on the experience with the existing protocols.
         RSS 2.0 requires feed-level title, link, and description. RSS 2.0 does not require that any of the fields of individual items in a feed be present.
         Atom 1.0 requires that both feeds and entries include a title (which may be empty), a unique identifier, and a last-updated timestamp.
         RSS 2.0 may contain either plain text or escaped HTML, with no way to indicate which of the two is provided. Escaped HTML is ugly (for example, the string AT&T would be expressed as “AT&amp;T”) and has been a source of difficulty for implementors. RSS 2.0 cannot contain actual well-formed XML markup, which reduces the re-usability of content.
         Atom has a carefully-designed payload container. Content may be explicitly labeled as any one of:
          * plain text, with no markup (the default)
          * some other XML vocabulary (There is no guarantee that the recipient will be able to do anything useful with such content)
          * base64-encoded binary content (again, no guarantee)
          * a pointer to Web content not included in the feed
         RSS 2.0 has a “description” element which is commonly used to contain either the full text of an entry or just a synopsis (sometimes in the same feed), and which sometimes is absent. There is no built-in way to signal whether the contents are complete.
         Atom has separate “summary” and “content” elements. The summary is encouraged for accessibility reasons if the content is non-textual (e.g. audio) or non-local (i.e. identified by pointer).
  • VendingMachine/세연/재동 . . . . 128 matches
         #include <iostream>
         using namespace std;
         struct drink
          int price, amount;
         class VendingMachine
          int _money;
          int _selectMoney;
          int _insertAmount;
          int _maxNum;
          drink s_drink[5];
          VendingMachine();
          void insertMoney();
          void buyDrink();
          void insertDrink();
          void showMainMenu();
          void showDrinkMenu();
          bool isMoney(int arg);
          bool isBuyableDrink(int arg);
          bool isSelectableDrink(int arg);
         VendingMachine::VendingMachine()
  • ACM_ICPC/PrepareAsiaRegionalContest . . . . 125 matches
          === at On-line Preliminary Contest(Oct. 2, 2004) ===
         ==== Solution of Problem C. Mine Sweeper ====
         #include <iostream>
         #include <fstream>
         using namespace std;
         int main()
          ifstream fin;
          fin.open("C.in");
          int nTest;
          fin >> nTest;
          int nMine;
          for ( int t = 0 ; t < nTest ; t++ ){
          fin >> nMine;
          const int MAX = 1001;
          static int workspace[MAX][MAX];
          for ( int i = 0 ; i < MAX ; i++ )
          for ( int j = 0 ; j < MAX ; j++ )
          int x, y;
          for ( int m = 0 ; m < nMine ; m++ ){
          fin >> x >> y;
  • CppStudy_2002_1/과제1/Yggdrasil . . . . 117 matches
         #include<iostream.h>
         int count=0;//함수가 호출된 횟수를 셈
         void say(char *, int);
         void main()
          int input;//원하는 횟수만큼 호출하기 위해 입력을 받음
          char string[20]="hahahaha\n";
          char *p=string;
          cin>>input;
          for(int i=0;i<input;i++)
         void say(char * str, int n)
         #include<iostream.h>
          int cal;
         int temp3;
         CandyBar input(CandyBar &, char *company="Millenium Munch", double weight=2.85, int
         void main()
          candy=input(candy);
          cin>>temp1;
          cin>>temp2;
          cin>>temp3;
          candy=input(candy, temp1, temp2, temp3);
  • 덜덜덜/숙제제출페이지 . . . . 111 matches
         #include <stdio.h>
         void main()
          int a,b;
          printf("구구단입니다.n");
          printf("숫자를입력하세요 :n");
          printf("%d * %d = %dn", a, b, a*b);
         #include <stdio.h>
         void main()
          int a; /* 단 */
          int b; /* 하나씩 증가된다. */
          printf("원하는게 뭐요 : ");
          printf("%d * %d = %dn", a, b, a*b);
         {{{~cpp #include <stdio.h>
         void main()
          int b;
          int a;
          printf("뭐 : ");
          printf("%d * %d = %dn", b, a, b*a);
         #include <stdio.h>
         void main ()
  • NSIS/예제2 . . . . 108 matches
         InstallDir $PROGRAMFILES\Example2
         InstallDirRegKey HKLM SOFTWARE\NSIS_Example2 "Install_Dir"
         ComponentText "This will install the less simple example2 on your computer. Select which optional things you want installed."
         DirText "Choose a directory to install in to:"
          ; Set output path to the installation directory.
          SetOutPath $INSTDIR
          File "C:\winnt\notepad.exe"
          WriteRegStr HKLM SOFTWARE\NSIS_Example2 "Install_Dir" "$INSTDIR"
          ; 윈도우를 위한 Uninstall key를 레지스트리에 저장
          WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2" "DisplayName" "NSIS Example2 (remove only)"
          WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2" "UninstallString" '"$INSTDIR\uninstall.exe"'
          WriteUninstaller "uninstall.exe"
          CreateShortCut "$SMPROGRAMS\Example2\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
          CreateShortCut "$SMPROGRAMS\Example2\Example2 (notepad).lnk" "$INSTDIR\notepad.exe" "" "$INSTDIR\notepad.exe" 0
         InstallDir $PROGRAMFILES\Example2
         DirText "Choose a directory to install in to:"
          WriteRegStr HKLM SOFTWARE\NSIS_Example2 "Install_Dir" "$INSTDIR"
          ; 윈도우를 위한 Uninstall key를 레지스트리에 저장
          WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2" "DisplayName" "NSIS Example2 (remove only)"
          WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2" "UninstallString" '"$INSTDIR\uninstall.exe"'
  • 보드카페 관리 프로그램/강석우 . . . . 105 matches
         #include <ctime>
         #include <iostream>
         #include <stdexcept>
         #include <string>
         #include <VECTOR>
         using namespace std;
          string table;
          string game;
          int person;
          int hour;
          int minute;
          int drink;
         void input(board& bg, vector<board>& vec);
         void in(board& bg, vector<board>& vec);
         void print_time(int& hour, int& minute);
         int price(vector<board>& vec, int hour, int minute, const int& i);
         const string tables[] ={"table1", "table2", "table3"};
         const string games[] = {"jenga", "citadell", "pit"};
         int main()
          bg.drink = 0;
  • Celfin's ACM training . . . . 101 matches
         || 1 || 1 || 110101/100 || The 3n+1 Problem || . || [3n 1/Celfin] ||
         || 2 || 1 || 110102/10189 || Minesweeper || . || [minesweeper/Celfin] ||
         || 3 || 1 || 110103/10137 || The Trip || . || [The Trip/Celfin] ||
         || 4 || 1 || 110104/706 || LCD Display || . || [LCD Display/Celfin] ||
         || 5 || 6 || 110603/10198 || Counting || . || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4010&title=Counting/하기웅&login=processing&id=&redirect=yes Counting/Celfin] ||
         || 6 || 6 || 110606/10254 || The Priest Mathmatician || . || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4132&title=ThePriestMathematician/하기웅&login=processing&id=&redirect=yes The Priest Mathmatician/Celfin] ||
         || 7 || 6 || 110608/846 || Steps || . || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4130&title=Steps/하기웅&login=processing&id=&redirect=yes Steps/Celfin] ||
         || 8 || 9 || 110908/10276 || Hanoi Tower Troubles Again || . || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4078&title=HanoiTowerTroublesAgain!/하기웅&login=processing&id=&redirect=yes Hanoi Tower Troubles Again/Celfin] ||
         || 9 || 6 || 110602/10213 || How Many Pieces Of Land? || 3 hours || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4143&title=HowManyPiecesOfLand?/하기웅&login=processing&id=celfin&redirect=yes How Many Pieces Of Land?/Celfin] ||
         || 10 || 6 || 110601/10183 || How Many Fibs? || 2 hours || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4172&title=HowManyFibs?/하기웅&login=processing&id=celfin&redirect=yes How Many Fibs?/Celfin] ||
         || 11 || 10 || 111007/10249 || The Grand Dinner || 1 hour || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4188&title=TheGrandDinner/하기웅&login=processing&id=celfin&redirect=yes The Grand Dinner/Celfin] ||
         || 12 || 12 || 111201/10161 || Ant on a Chessboard || 40 mins || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4209&title=AntOnAChessboard/하기웅&login=processing&id=&redirect=yes Ant on a Chessboard/Celfin] ||
         || 13 || 12 || 111204/10182 || Bee Maja || 30 mins || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4235&title=BeeMaja/하기웅&login=processing&id=&redirect=yes Bee Maja/Celfin] ||
         || 14 || 12 || 111207/10233 || Dermuba Triangle || 3 hours || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4238&title=DermubaTriangle/하기웅&login=processing&id=&redirect=yes Dermuba Triangle/Celfin] ||
         || 15 || 11 || 111105/10003 || Cutting Sticks || 3 days || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4198&title=CuttingSticks/하기웅&login=processing&id=&redirect=yes CuttingSticks/Celfin] ||
         || 16 || 13 || 111303/10195 || The Knights of the Round Table || 1 hour || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4263&title=TheKnightsOfTheRoundTable/하기웅&login=processing&id=&redirect=yes TheKnightsOfTheRoundTable/Celfin] ||
         || 17 || 13 || 111306/10215 || The Largest/Smallest Box || 40 mins || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4264&title=TheLagestSmallestBox/하기웅&login=processing&id=&redirect=yes TheLargestSmallestBox/Celfin] ||
         || 18 || 13 || 111307/10209 || Is This Integration? || 2 hours || [http://165.194.17.5/wiki/index.php?url=zeropage&no=4265&title=IsThisIntegration?/하기웅&login=processing&id=&redirect=yes IsThisIntegration/Celfin] ||
         || 19 || 1 || 110106/10033 || Interpreter || much || [Interpreter/Celfin] ||
         || 20 || 1 || 110107/10196 || Check the Check || 4 hours || [CheckTheCheck/Celfin] ||
  • 김희성/MTFREADER . . . . 101 matches
         #include"ntfs.h"
         #define FILE_LOAD_ERROR 1
         #define OUT_OF_MEMORY_ERROR 2
          int ErrorCode;
          __int64 ReadCluster(unsigned char* point,unsigned char* info);
          hVolume = CreateFile(drive, GENERIC_READ,FILE_SHARE_READ | FILE_SHARE_WRITE, 0,OPEN_EXISTING, 0, 0);
          int LastErrorCode(); //최근에 일어난 클래스 내부의 에러를 반환한다.
          void MakeBinaryFile(char* filename); //MFT를 Binary 그대로 저장한다.
         #include"_MFT_READER.h"
          unsigned __int64 point,i,j,k,temp;
          unsigned __int64 HeaderSize;
          unsigned __int64 offset;
          point=*((unsigned short*)((unsigned char*)$MFT+20));//Offset으로 포인터 이동
          while(*((unsigned long*)((unsigned char*)$MFT+point))!=0xFFFFFFFF)
          *((unsigned char*)MFT+point+9) = Attribute Name Size
          if(*((unsigned char*)$MFT+point+8))
          HeaderSize=64+*((unsigned char*)$MFT+point+9);
          HeaderSize=24+*((unsigned char*)$MFT+point+9);
          switch(*((unsigned long*)((unsigned char*)$MFT+point)))
          MFT=PFILE_RECORD_HEADER(new U8[*((unsigned __int64*)((unsigned char*)$MFT+point+40))]);
  • 2학기파이선스터디/서버 . . . . 100 matches
         from SocketServer import ThreadingTCPServer, StreamRequestHandler
          def __init__(self):
          def __contains__(self, name): # in 연산자 메쏘드
          return name in self.users
          if name in self.users:
          print len(self.users), 'connections' # 서버에 표시되는 메시지
          if name not in self.users:
          print len(self.users), 'connections' # 서버에 표시되는 메시지
          for conn, addr in self.users.values():
          print 'connection from', self.client_address
          data = self.receiveline()
          data = self.receiveline()
          print 'Socket Error'
          print 'Disconnected from', self.client_address
          name = self.receiveline().strip() #이름 읽기
          def receiveline(self):
          line = []
          line.append(data)
          return ''.join(line)
         if __name__ == '__main__':
  • IsBiggerSmarter?/문보창 . . . . 98 matches
         단순히 Greedy 알고리즘으로 접근. 실패. Dynamic Programming 이 필요함을 테스트 케이스로써 확인했다. Dynamic Programming 을 실제로 해본 경험이 없기 때문에 감이 잡히지 않았다. Introduction To Algorithm에서 Dynamic Programing 부분을 읽어 공부한 후 문제분석을 다시 시도했다. 이 문제를 쉽게 풀기 위해 Weight를 정렬한 배열과 IQ를 정렬한 배열을 하나의 문자열로 보았다. 그렇다면 문제에서 원하는 "가장 긴 시퀀스" 는 Longest Common Subsequence가 되고, LCS는 Dynamic Algorithm으로 쉽게 풀리는 문제중 하나였다. 무게가 같거나, IQ가 같을수도 있기 때문에 LCS에서 오류가 나는 것을 피하기 위해 소트함수를 처리해 주는 과정에서 약간의 어려움을 겪었다.
         lcs_length함수에서 cost table을 만들어주는 과정의 running time은 O(n*n), memory cost는 O(n*n)이다. 그리고 print_lcs 함수에서 longest path를 거슬러 올라가는 running time은 O(n + n) = O(n)이다.
         #include <fstream>
         #include <vector>
         #include <algorithm>
         #include <iostream>
         using namespace std;
         fstream fin("input.txt");
         const int MAX_ELEPHANT = 1100;
          int index;
          int weight;
          int IQ;
         int input_elephant_info(Elephant * e);
         void count_elephant(Elephant * elephant, int num_elephant);
         int main()
          int num_elephant = input_elephant_info(elephant);
         int input_elephant_info(Elephant * e)
          int count = 0;
          while (fin >> e[count].weight >> e[count].IQ)
          e[count].index = count + 1;
  • JollyJumpers/황재선 . . . . 98 matches
         import java.io.InputStreamReader;
          * Window - Preferences - Java - Code Style - Code Templates
          int [] nums;
          public int [] inputNumbers() {
          String message = processKeyInput();
          String [] ch = splitMessage(message);
          return toInt(ch);
          private String[] splitMessage(String message) {
          private int[] toInt(String [] ch) {
          int len = ch.length;
          nums = new int[len];
          for(int i = 0; i < len; i++) {
          nums[i] = Integer.parseInt(ch[i]);
          private String processKeyInput() {
          BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
          String message = "";
          message = in.readLine();
          e.printStackTrace();
          public int[] getdifferenceValue() {
          int len = nums.length - 1;
  • OurMajorLangIsCAndCPlusPlus/XML/김상섭허준수 . . . . 97 matches
         == 입력파일을 "input.txt"에 넣어야 됨..ㅡㅜ ==
         #include <string.h>
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
         typedef struct treeNode* tree_pointer;
         typedef struct listNode* list_pointer;
          tree_pointer child;
          list_pointer ptr;
          list_pointer link;
         list_pointer findNull(list_pointer temp)
         tree_pointer insert(tree_pointer ptr, char* tag, char* text) // a = 태그, b = 데이터
          tree_pointer node = (tree_pointer)malloc(sizeof(treeNode));
          node->link = NULL;
          list_pointer link_node = (list_pointer)malloc(sizeof(listNode));
          list_pointer temp;
          link_node->child = node;
          link_node->ptr = NULL;
          if(ptr->link == NULL)
          ptr->link = link_node;
  • R'sSource . . . . 96 matches
         #!/usr/local/bin/python
         import string
         urldump = commands.getoutput('lynx -width=132 -nolist -dump http://board5.dcinside.com/zb40/zboard.php?id=dc_sell | grep 995')
         newlen = len(string.split(urldump))
         tmp = commands.getoutput('echo "%s" | smbclient -M 박준우 -' % string.join(string.split(urldump)))
         print string.join(string.split(urldump))
         print """이 프로그램은 www.replays.co.kr의 스타크래프트 리플레이를
         name = raw_input("검색하고 싶은 게이머의 이름을 입력하세요 : ")
         inputDir = raw_input("""저장 하고 싶은 경로를 지정하세요.(예>c:\\\\replay\\\\) : """)
         defaultDir = inputDir
         def main():
          url = 'http://www.replays.co.kr/technote/main.cgi?board=bestreplay_pds/'
          print '%s replay.' % keyGamer
          print 'going to that page...'
          lines = a.readlines()
          print 'reading page....'
          for temp in lines:
          #http://165.194.17.5/wiki/index.php?url=zeropage&no=2985&title=Linux/RegularExpression&login=processing&id=&redirect=yes
          print 'pattern searching...'
          lineNum = 0 #라인넘버초기화
  • Slurpys/김회영 . . . . 96 matches
         #include<iostream.h>
         #include<string.h>
         bool isSlurpy(char* string,int* nowPointer,int arraySize);
         bool isSlimpy(char* string,int* nowPointer,int arraySize);
         bool isSlumpy(char* string,int* nowPointer,int arraySize);
         bool isFollowF(char* string,int* nowPointer,int arraySize);
         bool isNextCharacter(char* string,int* nowPointer,int arraySize,char checker);
         void main()
          int testCount=0;
          cin>>testCount;
          int arraySize;
          char string[60];
          int nowPointer;
          for(int i=0;i<testCount;i++)
          cin>>string;
          arraySize=strlen(string);
          nowPointer=-1;
          result[i]=isSlurpy(string,&nowPointer,arraySize);
          for(int j=0;j<testCount;j++)
         bool isSlurpy(char* string,int* nowPointer,int arraySize)
  • 오목/곽세환,조재화 . . . . 96 matches
         // ohbokView.h : interface of the COhbokView class
         #if !defined(AFX_OHBOKVIEW_H__1263A16D_AC1C_11D7_8B87_00105A0D3B1A__INCLUDED_)
         #define AFX_OHBOKVIEW_H__1263A16D_AC1C_11D7_8B87_00105A0D3B1A__INCLUDED_
          virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
          virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
          virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
          virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
          void VictoryMessage(int count, int z);
          void WhoIsVictory(int y,int x, int z);
          int turn;
          int array[10][10];
          afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
         #ifndef _DEBUG // debug version in ohbokView.cpp
         inline COhbokDoc* COhbokView::GetDocument()
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         #endif // !defined(AFX_OHBOKVIEW_H__1263A16D_AC1C_11D7_8B87_00105A0D3B1A__INCLUDED_)
         #include "stdafx.h"
         #include "ohbok.h"
         #include "ohbokDoc.h"
  • MoreEffectiveC++/Operator . . . . 95 matches
         == Item 5: Be wary of user-defined conversion functions. ==
          * C++는 타입간의 암시적 type casting을 허용한다. 이건 C의 유산인데 예를 들자면 '''char'''과 '''int''' 에서 '''short'''과 '''double''' 들이 아무런 문제없이 바뀌어 진다. 그런데 C++는 이것 보다 한수 더떠서 type casting시에 자료를 잃어 버리게 되는 int에서 short과 dougle에서 char의 변환까지 허용한다.[[BR]]
          * C++에서는 크게 두가지 방식의 함수로 형변환을 컴파일러에게 수행 시키킨다:[[BR]] '''''single-argument constructors''''' 와 '''''implicit type conversion operators''''' 이 그것이다.
          * '''''single-argument constructors''''' 은 인자를 하나의 인자만으로 세팅될수 있는 생성자이다. 여기 두가지의 예를 보자
          Name( const string& s);
          Rational( int numerator = 0, int denominator = 1);
         cout << r; // should print "1/2"
         이런 예로 C++ std library에 있는 string이 char*로 암시적 형변환이 없고 c_str의 명시적 형변환 시킨다.
          * '''''single-argument constructor''''' 는 더 어려운 문제를 제공한다. 게다가 이문제들은 암시적 형변환 보다 더 많은 부분을 차지하는 암시적 형변환에서 문제가 발생된다.
          Array ( int lowBound, int highBound );
          Array ( int size )
          T& operator[] (int index)
         bool operator==( const Array< int >& lhs, const Array<int>& rhs);
         Array<int> a(10);
         Array<int> b(10);
         for ( int i = 0; i<10; ++i)
         7줄 ''if ( a == b[i] )'' 부분의 코드에서 프로그래머는 자신의 의도와는 다른 코드를 작성했다. 이런 문법 잘못은 당연히! 컴파일러가 알려줘야 개발자의 시간을 아낄수 있으리, 하지만 이런 예제가 꼭 그렇지만은 않다. 이 코드는 컴파일러 입장에서 보면 옳은 코드가 될수 있는 것이다. 바로 Array class에서 정의 하고 있는 '''''single-argument constructor''''' 에 의하여 컴파일시 이런 코드로의 변환의 가능성이 있다.
         for ( int i = 0; i < 10; ++i)
          if ( a == static_cast< Array<int> >(b[i]) )...
         '''b[i]''' 는 int형을 반환하기 때문에 이렇게 즉석에서 맞춤 생성자로 type casting(형변환)을 컴파일러가 암시적으로 해줄수 있다. 이제 사태의 심각성을 알겠는가?
  • 몸짱프로젝트/BinarySearchTree . . . . 93 matches
          === Before Refactoring ===
         class BinartSearchTree:
          def __init__(self):
          def insert(self, aRoot, aKey):
         ## child = self.getSingleChild(node)
          child = self.getSingleChild(node)
          child = self.getSingleChild( largest )
          def getSingleChild( self, aNode ):
          def __init__(self, aKey = -1):
         class BinartSearchTreeTestCase(unittest.TestCase):
          bst = BinartSearchTree()
          bst = BinartSearchTree()
          def testInsert(self):
          bst = BinartSearchTree()
          bst.insert(bst.root, 1)
          self.assertEquals(bst.insert(bst.root, 1), False)
          bst.insert(bst.root, 5)
         ## bst = BinartSearchTree()
         ## bst.insert(bst.root, 10)
         ## bst.insert(bst.root, 5)
  • PowerOfCryptography/조현태 . . . . 90 matches
         #include <iostream>
         using namespace std;
         const int TRUE=1;
         const int FALSE=0;
         unsigned __int64 such_target_number(unsigned __int64 mokpyo, unsigned __int64 gaesu)
          unsigned __int64 min_answer=1, max_answer=mokpyo+1;
          while (min_answer+1!=max_answer)
          unsigned __int64 temp_target=(min_answer+max_answer)/2;
          unsigned __int64 temp_result=1;
          for (register unsigned __int64 i=0; i<gaesu; ++i)
          min_answer=temp_target;
         void main()
          unsigned __int64 intput_number=0;
          while (intput_number<1)
          scanf("%I64d",intput_number);
          if (1==intput_number)
          unsigned __int64 gob_gaesu=0;
          while (intput_number<gob_gaesu || gob_gaesu<1)
          unsigned __int64 answer=such_target_number(intput_number,gob_gaesu);
         #include <iostream>
  • VendingMachine/재니 . . . . 88 matches
          * 먼저 자판기(VendingMachine)이 필요할 것이고,
          * 자판기는 사용자 인터페이스를 구현하는데 사용하고, 사람이 주문할 음료(Drink)를 따로 분류하자..
          * 그러면 주문을 할 때 돈이 필요하니까 돈을 세는 계수기 비슷한 것(CoinCounter)도 필요할 것 같다..^^
         #include <iostream>
         #include <cstring>
         using namespace std;
         int selection, num;
          cin >> selection;
         class CoinCounter{
          int remainders, coin;
          void resetCoins(){
          remainders = 0;
          void showRemainders(){
          cout << "REMAINDERS : " << remainders << endl;
          void insertCoins(){
          cin >> coin;
          if (coin == 1) coin = 10;
          else if (coin == 2) coin = 50;
          else if (coin == 3) coin = 100;
          else if (coin == 4) coin = 500;
  • 오목/재니형준원 . . . . 87 matches
         // OmokView.h : interface of the COmokView class
         #if !defined(AFX_OMOKVIEW_H__95EACAA5_FAEA_4766_A6B3_6C6245050A8B__INCLUDED_)
         #define AFX_OMOKVIEW_H__95EACAA5_FAEA_4766_A6B3_6C6245050A8B__INCLUDED_
          int row, col;
          int omokBoard[19][19];
          int number;
          int count;
          virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
          virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
          virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
          virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
          void CheckMove(int r, int c, int x, int y);
          void init();
          afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
         #ifndef _DEBUG // debug version in OmokView.cpp
         inline COmokDoc* COmokView::GetDocument()
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         #endif // !defined(AFX_OMOKVIEW_H__95EACAA5_FAEA_4766_A6B3_6C6245050A8B__INCLUDED_)
         #include "stdafx.h"
  • CubicSpline/1002/NaCurves.py . . . . 86 matches
          def __init__(self, aListX):
          def __init__(self, aControlPointListX, aPieceSize):
          self.piecewiseLagrange = PiecewiseLagrange(aControlPointListX, aPieceSize)
         class ErrorSpline:
          def __init__(self, aControlPointListX):
          self.spline = Spline(aControlPointListX)
          return self.normalFunc.perform(x) - self.spline.perform(x)
          def __init__(self, aListX):
          self.controlPointListX = aListX
          self.controlPointListY = self._makeControlPointListY()
          def _makeControlPointListY(self):
          controlPointListY = []
          for x in self.controlPointListX:
          controlPointListY.append(givenFunction(x))
          return controlPointListY
          def getControlPointListX(self):
          return self.controlPointListX
          def getControlPointListY(self):
          return self.controlPointListY
          for j in range(0, len(self.controlPointListX)):
  • OurMajorLangIsCAndCPlusPlus/stdio.h . . . . 86 matches
         || int fclose(FILE *) || 해당 스트림을 닫습니다. ||
         || FILE * fdopen(int, const char *) || 파일 지정자 필드로 부터 스트림을 얻습니다. ||
         || int feof(FILE *) || 스트림의 끝이 아닌곳에서는 0, 끝에는 0이 아닌값을 리턴 합니다. ||
         || int ferror(FILE *) || 스트림에 오류가 있을경우 0이 아닌값을 리턴 합니다. ||
         || int fflush(FILE *) || 해당 스트림을 비운다. ||
         || int fgetc(FILE *) || 해당 스트림에서 한 글자를 받아온다. ||
         || int fgetpos(FILE *, fpos_t *) || 해당 스트림의 포인터의 위치를 fpos_t에 저장한다. ||
         || char * fgets(char *, int, FILE *) || char*에 int의 길이만큼 스트림에서 읽어서 저장한다. 파일의 끝이나 오류일 경우 NULL을 리턴한다. ||
         || int fileno(FILE *) || 해당 스트림의 핸들을 반환한다. ||
         || int fprintf(FILE *, const char *, ...) || 해당 스트림에 문자열을 기록한다. ||
         || int fputc(int, FILE *) || 해당 스트림에 한 문자를 기록한다. ||
         || int fputs(const char *, FILE *) || 해당 스트림에 문자열을 기록한다. ||
         || int fscanf(FILE *, const char *, ...) || 해당 파일에서 문자열을 지정한 형식으로 읽어들인다. ||
         || int fsetpos(FILE *, const fpos_t *) || 해당 스트림의 포인터를 지정한 위치로 옮긴다. ||
         || int fseek(FILE *, long, int) || 해당 스트림의 포인터를 세번째 인자를 기준으로 두번째 인자만큼 옮긴다. SEEK_SET : 스트림 시작, SEEK_CUR : 현재 포인터 위치, SEEK_END : 스트림 끝 ||
         || int getc(FILE *) || 해당 스트림에서 한 글자를 받아온다. ||
         || int getchar(void) || 표준 입출력으로 부터 한 글자를 읽어온다. ||
         || int printf(const char *, ...) || 해당 형식의 문자열을 출력한다. ||
         || int putc(int, FILE *) || 해당 스트림으로 문자를 출력한다. ||
         || int putchar(int) || 표준 입출력으로 문자를 한개 출력한다. ||
  • JavaStudy2003/세번째과제/곽세환 . . . . 81 matches
         import javax.swing.JOptionPane;
          private String name;
          public void setName(String n)
          public static void main(String[] args) {
         == Point.java ==
         public class Point {
          private int x, y;
          public Point() {
          public void setX(int xValue) { x = xValue; }
          public void setY(int yValue) { y = yValue; }
          public int getX() { return(x); }
          public int getY() { return(y); }
          public void move(int xValue, int yValue) {
         import javax.swing.*;
          private Point middlePoint = new Point();
          private int width;
          private int height;
          private String info = "";
          public void setData(int xValue, int yValue, int width, int height) {
          middlePoint.setX(xValue);
  • VMWare/OSImplementationTest . . . . 81 matches
         gcc였습니다. 하지만 저는 windows 환경하의 vc 개발을 주로 해왔으므로 무척
         불편(?)했습니다. Djgpp 라는 dos용 gcc 포팅 버전과 윈도우용 cygwin 패키지를
          http://www.execpc.com/~geezer/johnfine/index.htm
          Intel은 다른 cpu 벤더보다 역사가 오래되어서 4bit microprocessor인 4004에서
         intel x86 cpu에서 돌던 프로그램도 586에서도 수행되도록 하위호환을 갖게 됩니다.
         로드할 것입니다. ( no 플로피 부팅디스켓, no 리붓, no test machine )
         - Netwide Asm으로 at&t 계열 및 intel 계열 둘다 지원하고 target format도
          main.c
         [BITS 16] ; We need 16-bit intructions for Real
         [ORG 0x7C00] ; The BIOS loads the boot sector into memory location
          int 13h ; Call interrupt 13h
          jnz reset_drive ; Try again if ah != 0
          mov bx, 0h ; Destination address = 0000:1000
          mov ch, 0 ; Cylinder = 0
          int 13h ; Call interrupt 13h
          jnz reset_drive ; Try again if ah != 0
         A20Address: ; Set A20 Address line here
          JMP Continue
          in al,64h
         Continue:
  • OurMajorLangIsCAndCPlusPlus/XML/조현태 . . . . 79 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
         typedef unsigned int bool;
         #define FALSE 0
         #define TRUE 1
         #define INPUT_BUFFUR 255
          int nextBlockNumber;
         const char DEBUG_TEXT[] = "<zeropage>\n <studies>\n <cpp>\n <instructor>이상규</instructor>\n <participants>\n <name>김상섭</name>\n <name>김민경</name>\n <name>송수생</name>\n <name>조현태</name>\n </participants>\n </cpp>\n <java>\n <instructor>이선호</instructor>\n <participants>\n <name>김민경</name>\n <name>송수생</name>\n <name>조현태</name>\n </participants>\n </java>\n <mfc>\n <participants/>\n </mfc>\n </studies>\n</zeropage>\n";
          SReadBlock* myPoint = NULL;
          else if (NULL == myPoint)
          const char* nameEndPoint = strchr(readData, '>');
          char* textBuffur = (char*)malloc(sizeof(char) * (nameEndPoint - readData + 1));
          strncpy(textBuffur, readData, nameEndPoint - readData);
          textBuffur[nameEndPoint - readData] = 0;
          myPoint = CreateNewBlock(textBuffur, NULL);
          AddNewTail(headBlock, myPoint);
          if ('/' == myPoint->name[strlen(myPoint->name) - 1])
          myPoint->name[strlen(myPoint->name) - 1] = 0;
          myPoint->isOneTable = TRUE;
  • whiteblue/MyTermProjectForClass . . . . 79 matches
         #define _DATA_H_
          int number;
          int kor;
          int eng;
          int math;
          int total;
          Data(char na[], int nu, int k, int e, int m);
          int showNumber(int select);
          int showNum();
          int showTotal();
         #define _JUDGEMENT_H_
         #include "Data.h"
         #include "Order.h"
          int tempData;
          int tempNumber;
          int stData[20];
          int arrayNumber[20];
          void sort(bool IsItSort , int select , Data d[]);
          void outputPart(bool IsItPart, Data d[] , int select);
         #define _ORDER_H_
  • JTDStudy/첫번째과제/정현 . . . . 78 matches
          for(int i=0;i<100;i++) {
          String number= extractor.getRandomBall();
          game.inputNumber("152");
          game.inputNumber("123");
         public class GameMain {
          public static void main(String[] args) {
          Scanner input= new Scanner(System.in);
          System.out.println("baseball game");
          String number= input.nextLine();
          baseBall.inputNumber(number);
          System.out.println("what are you doing?");
          System.out.print(baseBall.getStrike() + " strike, ");
          System.out.println(baseBall.getBall() + "ball");
          System.out.println("good");
          String playerInput;
          private String number;
          public void inputNumber(String string) {
          number= string;
          public int getStrike() {
          public int getBall() {
  • Refactoring/ComposingMethods . . . . 76 matches
         = Chapter 6 Composing Methods =
          * You have a code fragment that can be grouped together.[[BR]]''Turn the fragment into a method whose name explains the purpose of the method.''
          void printOwing(double amount){
          printBanner();
          // print details
          System.out.println( "name:" + _name);
          System.out.println( "amount" + amount);
          void printOwing(double amount){
          printBanner();
          // print details
          printDetails( amount );
          void printDetails (double amount){
          System.out.println( "name:" + _name);
          System.out.println( "amount" + amount);
         == Inline Method p117 ==
          * A method's body is just as clear as its name. [[BR]] ''Put the method's body into the body of its callers and remove the method.''
          int getRating(){
          int getRating(){
         == Inline Temp p119 ==
          * You have a temp that is assigned to once twith a simple expression, and the temp is getting in the way of other refactorings. [[BR]] ''Replace all references to that temp with the expression.''
  • [Lovely]boy^_^/USACO/WhatTimeIsIt? . . . . 76 matches
         #include <iostream>
         #include <fstream>
         #include <string>
         #include <map>
         using namespace std;
         ifstream fin("clock.in");
         int StringConvertToInt(const string& str);
         int CharToInt(char ch);
         int Jegob(int c, int e);
         void InputInitData(int& h, int& m);
         void OutputData(int&h, int& m);
         string Upcase(const string& str);
         map<int,string> table;
         int main()
          int hour, min;
          InputInitData(hour, min);
          OutputData(hour, min);
         void OutputData(int& hour, int& min)
          if(min >= 45)
          fout << Upcase(table[60-min]) << " to " << table[hour+1];
  • STL/vector/CookBook . . . . 75 matches
         #include <iostream>
         #include <vector>
         using namespace std;
         int main()
          * 몇 번 써본결과 vector를 가장 자주 쓰게 된다. vector만 배워 놓으면 list나 deque같은것은 똑같이 쓸수 있다. vector를 쓰기 위한 vector 헤더를 포함시켜줘야한다. STL을 쓸라면 #include <iostream.h> 이렇게 쓰면 귀찮다. 나중에 std::cout, std:vector 이런 삽질을 해줘야 한다. 이렇게 하기 싫으면 걍 쓰던대로 using namespace std 이거 써주자.
         = int형 배열을 int형 벡터에 복사해 보자. =
         #include <iostream>
         #include <vector>
         using namespace std;
         typedef vector<int>::iterator VIIT; // Object형이라면 typedef vector<Object>::iterator VOIT;
         int main()
          int ar[10] = {45,12,76,43,75,32,85,32,19,98}; // Object형이라면 Object ar[10]={...};
          vector<int> v(&ar[0], &ar[10]);
          for(VIIT it = v.begin() ; it != v.end(); ++it) // 제대로 복사됐나 결과 보기
          * typedef으로 시작하는 부분부터 보자. 일단 반복자라는 개념을 알아야 되는데, 사실은 나도 잘 모른다.--; 처음 배울땐 그냥 일종의 포인터라는 개념으로 보면 된다. vector<int>::iterator 하면 int형 vector에 저장되어 있는 값을 순회하기 위한 반복자이다. 비슷하게 vector<Object>>::iterator 하면 Object형 vector에 저장되어 있는 값을 순회하기 위한 반복자겠지 뭐--; 간단하게 줄여쓸라고 typedef해주는 것이다. 하기 싫으면 안해줘도 된다.--;
          * 다음엔 vector<int> v~~ 이부분을 보자. vector<T> 에는 생성자가 여럿 있다. 그 중의 하나로, 배열을 복사하는 생성자를 써보자. 그냥 쓰는법만 보자. 단순히 배열 복사하는 거다. C++ 공부했다면 성안당 10장인가 11장에 복사 생성자라고 나올것이다. 그거다.--; 그냥 2번 원소에서 5번원소까지 복사하고 싶다. 하면 vector<int> v(&ar[2], &ar[6]) 이렇게 하면 되겠지?(어째 좀 거만해 보인다.--;) 마지막은 개구간이라는걸 명심하기 바란다.
          * for 부분을 보면 앞에서 typedef 해준 VIIT 형으로 순회하고 있는것을 볼수 있다. vector<T>의 멤버에는 열라 많은 멤버함수가 있다. 그중에 begin() 은 맨 처음 위치를 가르키는 반복자를 리턴해준다. 당연히 end()는 맨 끝 위치를 가르키는 반복자를 리턴해주는 거라고 생각하겠지만 아니다.--; 정확하게는 '맨 끝위치를 가르키는 부분에서 한 칸 더간 반복자를 리턴'해주는 거다. 왜 그렇게 만들었는지는 나한테 묻지 말라. 아까 반복자는 포인터라고 생각하라 했다. 역시 그 포인터가 가르키는 값을 보려면 당연히 앞에 * 을 붙여야겠지.
         #include <iostream>
         using namespace std;
         int main()
  • CppStudy_2002_1/과제1/CherryBoy . . . . 74 matches
         #include <iostream>
         using namespace std;
         void print(char *,int n=0);
         int main()
          int choice;
          cin.getline(exam,40);
          cin >> choice;
          cin.get();
          print(exam,choice);
         void print(char *exam,int n)
          static int count=0;
          for(int i=0;i<count;i++)
         #include <iostream>
         using namespace std;
          int cal;
         void print(candybar &, char * name="millenium Munch",double weight=2.85,int cal=350);
         int main()
          print(candy);
         void print(candybar &candy,char * name,double weight,int cal)
          for(int i=0;i<30;i++)
  • ReadySet 번역처음화면 . . . . 72 matches
         Software development projects require a lot of "paperwork" in the form of requirements documents, design documents, test plans, schedules, checklists, release notes, etc. It seems that everyone creates the documents from a blank page, from the documents used on their last project, or from one of a handful of high-priced proprietary software engineering template libraries. For those of us who start from a blank page, it can be a lot of work and it is easy to forget important parts. That is not a very reliable basis for professional engineering projects.
         ReadySET is an open source project to produce and maintain a library of reusable software engineering document templates. These templates provide a ready starting point for the documents used in software development projects. Using good templates can help developers work more quickly, but they also help to prompt discussion and avoid oversights.
          '''* What are some key features that define the product?'''
          * High-quality outlines, sample text, and checklists.
          * Templates for many common software engineering documents. Including:
         This is an open source project that you are welcome to use for free and help make better. Existing packages of software engineering templates are highly costly and biased by the authorship of only a few people, by vendor-client relationships, or by the set of tools offered by a particular vendor.
         These templates are in pure XHTML with CSS, not a proprietary file format. That makes them easier to edit and to track changes using freely available tools and version control systems. The templates are designed to always be used on the web; they use hyperlinks to avoid duplicating information.
         The templates are not burdened with information about individual authorship or document change history. It is assumed that professional software developers will keep all project documents in version control systems that provide those capabilities.
         These templates are not one-size-fits-all and they do not attempt to provide prescriptive guidance on the overall development process. We are developing a broad library of template modules for many purposes and processes. The templates may be filled out in a suggested sequence or in any sequence that fits your existing process. They may be easily customized with any text or HTML editor.
         We will build templates for common software engineering documents inspired by our own exprience.
         I assume that the user takes ultimate responsibility for the content of all their actual project documents. The templates are merely starting points and low-level guidance.
          '''*What are we not going to do?'''
         This project does not attempt to provide powerful tools for reorganizing the templates, mapping them to a given software development process, or generating templates from a underlying process model. This project does not include any application code for any tools, users simply use text editors to fill in or customize the templates.
         Yes. It is part of the Tigris.org mission of promoting open source software engineering. It is also the first product in a product line that will provide even better support to professional software developers. For more information, see [http://www.readysetpro.com ReadySET Pro] .
         These templates are based on templates originally used to teach software engineering in a university project course. They are now being enhanced, expanded, and used more widely by professionals in industry.
         The template set is fairly complete and ready for use in real projects. You can [http://readyset.tigris.org/servlets/ProjectDocumentList download] recent releases. We welcome your feedback.
         ReadySET is aimed at software engineers who wish that their projects could go more smoothly and professionally. ReadySET can be used by anyone who is able to use an HTML editor or edit HTML in a text editor.
          *5. Edit the templates to fill in detailed information
          *Follow instructions that appead in yellow "sticky notes"
          *Replace text in ALL CAPS with text that describes your project
  • 새싹교실/2011/무전취식/레벨10 . . . . 72 matches
         == Ice Breaking ==
          * 헤더(*.h) 파일을 하나 더 알게되었습니다 string.h
         #include<stdio.h>
         #include<string.h>
         void main(){
          int count ,i;
          {printf("Not Pel") ;
          else printf("pel");
         #include<stdio.h>
         void main()
          int num[5];
          int newnum[3];
          int max = 0 ,min = 9999;
          int selectMin,selectMax;
          int count=0;
          int i;
          int sum;
          if (num[i]<min){
          min=num[i];
          selectMin = i;
  • 새싹교실/2012/아우토반/앞반/5.10 . . . . 72 matches
         1. void Swap(int*, int*) 함수를 구현하시오.
         #include <stdio.h>
         int main(void) {
          int a = 0;
          int *p = &a;
          printf("%d\n", a);
          printf("%d\n", &a);
          printf("%d\n", p);
          printf("%d\n", *p);
          printf("%d\n", &p);
         #include <stdio.h>
         int main(void) {
          int a = 0;
          int * pA = &a;
          printf("%d %d\n", sizeof(*pA), sizeof(pA));
          printf("%d %d\n", sizeof(*pB), sizeof(pB));
          printf("%d %d\n", sizeof(*pC), sizeof(pC));
          printf("%d %d\n", sizeof(*pD), sizeof(pD));
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         처음 printf함수에서 변수 a의 메모리 안에 있는 값을 출력
  • 숫자를한글로바꾸기/허아영 . . . . 72 matches
         #include <stdio.h>
         int num_len(int number);
         void number_data_input(int number, int number_data[10]);
         void main()
          int number, number_len, i = 0;
          int number_data[10];
          printf("끝내려면 0n");
          number_data_input(number, number_data);
          //print
          printf("%c", korean_data[2*number_data[i] - 2]);
          printf("%c", korean_data[2*number_data[i] - 1] );
          printf("%c", num_position[2*(number_len - i - 1)]);
          printf("%c", num_position[2*(number_len - i - 1)+1]);
          printf("n");
         int num_len(int number)
          int lengh = 1;
         void number_data_input(int number, int number_data[10])
          int number_len;
          int i;
         #include <stdio.h>
  • VonNeumannAirport/Leonardong . . . . 70 matches
         Traffic하고 Configuration을 각각 2차원 행렬로 표현했다. Traffic은 ( origin, destination )에 따른 traffic양이고, Configuration은 origin에서 destination 까지 떨어진 거리를 저장한 행렬이다. 전체 트래픽은 행렬에서 같은 위치에 있는 원소끼리 곱하도록 되어있다. 입출력 부분은 제외하고 전체 트래픽 구하는 기능까지만 구현했다.
          def __init__(self, numofGates):
          for i in range( numofGates ):
          def getElement( self, origin, destination ):
          return self.matrix[origin-1][destination-1]
          def __init__(self, numofGates):
          Matrix.__init__(self, numofGates)
          def construct( self, origins, destinations ):
          for o in origins:
          for d in destinations:
          self.matrix[o-1][d-1] = abs( origins.index(o)
          - destinations.index(d) ) + 1
          def getDistance( self, origin, destination ):
          return self.getElement( origin, destination )
          def __init__(self, numofGates):
          Matrix.__init__(self, numofGates)
          def construct( self, origin, traffics ):
          for traffic in traffics:
          self.matrix[origin-1][traffic.destination-1] = traffic.load
          def getLoad( self, origin, destination ):
  • HardcoreCppStudy/첫숙제/Overloading/임민수 . . . . 69 matches
         #include <iostream>
         using namespace std;
         int const arsize = 11;
         void main()
          int num, garo=0, sero=0, cnt=1;
          cin >> num;
          int square[arsize][arsize]={0,};
          for (int i = 0 ; i <num; i++)
          for ( int j = 0 ; j < num ; j++)
         #include <iostream>
         using namespace std;
         const int max=20;
         void main()
          int cnt=0, board[max][max]={0,};
          int garo,sero,x,y;
          cin >> garo >> sero;
          cin >> x >> y;
          for (int i=0; i<max; i++)
          cin >> direction[i];
          for (int k=0; k<cnt; k++)
  • CPPStudy_2005_1/STL성적처리_2 . . . . 67 matches
         = Info =
         = Input Text =
         #include <cstdlib>
         #include <iostream>
         #include <string>
         #include <fstream>
         #include <map>
         #include <vector>
         #include <algorithm>
         #include <numeric>
         using namespace std;
         vector<string> tokenize(const string& line);
         bool save_map(vector<string>&, map< string, vector<int> >&);
         double total(const vector<int>&);
         bool print_report(ostream&,
          const map< string, vector<int> >,
          double accu(const vector<int>&) = total);
         int main(int argc, char *argv[]) {
          string line;
          vector<string> token;
  • LawOfDemeter . . . . 67 matches
         So we've decided to expose as little state as we need to in order to accomplish our goals. Great! Now
         within our class can we just starting sending commands and queries to any other object in the system will-
         nilly? Well, you could, but that would be a bad idea, according to the Law of Demeter. The Law of Demeter
         tries to restrict class interaction in order to minimize coupling among classes. (For a good discussion on
         What that means is that the more objects you talk to, the more you run the risk of getting broken when one
         objects than you need to either. In fact, according to the Law of Demeter for Methods, any method of an
         object should only call methods belonging to:
         any parameters that were passed in to the method.
         Specifically missing from this list is methods belonging to objects that were returned from some other
          SortedList thingy = someObject.getEmployeeList();
          thingy.addElementWithKey(foo.getKey(), foo);
         This is what we are trying to prevent. (We also have an example of Asking instead of Telling in foo.getKey
         ()). Direct access of a child like this extends coupling from the caller farther than it needs to be. The
         caller is depending on these facts:
         someObject holds employees in a SortedList.
         Instead, this should be:
          someObject.addToThingy(foo);
         Now the caller is only depending on the fact that it can add a foo to thingy, which sounds high level
         The disadvantage, of course, is that you end up writing many small wrapper methods that do very little but
         delegate container traversal and such. The cost tradeoff is between that inefficiency and higher class
  • ContestScoreBoard/문보창 . . . . 64 matches
         #include <iostream>
         using namespace std;
         #define SWAP(x, y, t) ((t) = (x), (x) = (y), (y) = (t))
         const int NUMBER_TEAM = 101;
         const int NUMBER_PROBLEM = 10;
         const int TIME_PENALTY = 20;
          int timeProblem[NUMBER_PROBLEM];
          int penalty;
          int numberSuccessProblem;
         void inputInfoContest(ContestTeam * team, bool * isSumit);
         void initialize(ContestTeam * team, bool * isSumit);
         void initializeTeam(ContestTeam * team);
         void initializeIsSumit(bool * isSumit);
         int settingRank(bool * isSumit, int * rankTeam);
         void concludeRank(ContestTeam * team, int * rankTeam, int numberSumitTeam);
         void printRank(ContestTeam * team, int * rankTeam, int numberSumitTeam);
         int main()
          int numberCase;
          cin >> numberCase;
          cin.get();
  • 수학의정석/집합의연산/조현태 . . . . 64 matches
         #include <time.h>
         #include <stdio.h>
         #include <iostream>
         int* input_and_return_number(int*);
         void process(int*, int);
         int main()
          int time_in; // 초기 시작 시간.
          int gaesu;
          int *temp_gaesu=&gaesu;
          int *numbers=input_and_return_number(&gaesu);
          time_in = clock(); // 초기 시작 시간을 입력한다.
          printf("CPU CLOCKS = %d\n", clock() - time_in); // 끝났을때 시간 - 초기 시작시간 = 프로그램 실행 시간
         int* input_and_return_number(int *number_gaesu)
          printf("입력할 숫자의 개수는?>>");
          fflush(stdin);
          int *numbers=(int*)malloc(sizeof(int)*(*number_gaesu));
          for (register int i=0; i<*number_gaesu; ++i)
          printf("%d번째의 숫자를 입력해주세요.>>",i+1);
          fflush(stdin);
         void process(int *numbers, int gaesu)
  • 만년달력/인수 . . . . 63 matches
          static int DAYS_PER_MONTH[] = {31,28,31,30,31,30,31,31,30,31,30,31};
          int year, month;
          public Calendar(int year, int month) {
          public void set(int year, int month) {
          protected int getNumOfDays() {
          public int[] getCalendar() {
          int ret[] = new int[42];
          int start = getMonthStartPoint();
          for(int i = start ; i < getNumOfDays() + start ; ++i)
          protected int getNumOfLeapYears() {
          int ret = 0;
          for(int i = 1 ; i < year ; ++i)
          protected int getMonthStartPoint() {
          int ret = year + getNumOfLeapYears();
          for(int i = 0 ; i < month - 1 ; ++i)
          protected boolean isLeapYear(int year) {
          public CalendarTestCaseTest(String arg) {
          private int[] getExpectedCalendar(int start) {
          int ret[] = new int[42];
          for(int i = start ; i < calendar.getNumOfDays() + start ; ++i)
  • 새싹교실/2012/주먹밥/이소라때리기게임 . . . . 63 matches
         #include<stdio.h>
         #include<math.h> //Rand를 가져오는 헤더파일
         #include<stdlib.h>
         #include<time.h>
         #include<string.h>
         #define SORAHEAL 60000
         #define SORAKICK 9000
         #define SORAPUNCH 10000
         #define SKILLSIZE 3
         #define CLASSSIZE 3
         #define USERNUM 1 //유저 갯수
         " +M $M8MNNMZ MM 7MMD$: 7M$ ,+DM7 INMMZ ",
          int health;
          int heal;
          int kick;
          int punch;
          int select;
          int type;
         int gameinit(PLAYER *); //게임초기화
         int printplayerstate(PLAYER *, PLAYER *); //스테이터스 출력
  • 2002년도ACM문제샘플풀이/문제E . . . . 62 matches
         #include <iostream>
         #include <algorithm>
         using namespace std;
         struct InputData
          int n;
          int weight[1000];
         int numberOfData;
         InputData inputData[10];
         int outputData[10];
         void input()
          cin >> numberOfData;
          for(int i=0;i<numberOfData;i++)
          cin >> inputData[i].n;
          for(int j = 0 ; j < inputData[i].n ; j++)
          cin >> inputData[i].weight[j];
          InputData temp;
          int totalWeight;
          for(int i=0;i<numberOfData;i++)
          temp = inputData[i];
          sort(&temp.weight[0],&temp.weight[inputData[i].n]);
  • 8queen/문원명 . . . . 62 matches
         #include <iostream>
         using namespace std;
         void main()
          int board[8][8];
          int firstBoard[8][8];
          int y2nd, x2nd, setx = 0;
          int y3rd, same = 0;
          int impossible = 0;
          int y4th, x4th;
          int y5th, x5th;
          int y6th, x6th;
          int y7th, x7th;
          int findY, findX;
          int originX, firstFind,firstAnswer = 1;
          int endFind = 0, count = 0;
          for(int y1st = 0 ; y1st < 8 ; y1st++)
          for(int x1st = 0 ; x1st < 8 ; x1st++)
          firstFind = 1;
          if(firstFind == 1)
          originX = x2nd;
  • StringOfCPlusPlus/상협 . . . . 62 matches
         == String0.h ==
         //String0.h
         #ifndef _STRING0_H_
         #define _STRING0_H_
         class String
          int n;
          String();
          String(const char *in_st);
          ~String();
          int nval() const {return n;}//문자열 길이를 알려줌.
          int search(char se);//찾고자 하는 문자열의 갯수로 알려줌
          String operator+(const String &s) const;
          friend ostream& operator<<(ostream &os, String &s);
         == String0.cpp ==
         //String0.cpp
         #include <iostream>
         #include <cstring>
         using namespace std;
         #include "String0.h"
         String::String()
  • EcologicalBinPacking/황재선 . . . . 60 matches
         == EcologicalBinPacking ==
         #include <iostream>
         #include <string>
         #include <cmath>
         using namespace std;
         void input();
         void findMinCount();
         bool isMinValue(int aSum, int aMinValue);
         void output(int colorResult, int min);
         int bottle[9] = {0,};
         string color[6] = {"BCG", "BGC", "GBC", "GCB", "CBG", "CGB"};
         int colorIndex[6][3] = {{0,5,7}, {0,4,8}, {1,3,8}, {1,5,6}, {2,3,7}, {2,4,6}};
         int main()
          input();
          findMinCount();
         void input()
          int sum = 0;
          for(int i = 0; i < 9; i++)
          cin >> bottle[i];
          continue;
  • ErdosNumbers/문보창 . . . . 60 matches
         //#include <fstream>
         #include <iostream>
         #include <cstdlib>
         using namespace std;
         //fstream fin("input.txt");
         const int MAX_STR = 20;
         const int MAX_ERNUM = 100;
         int ernum;
         void init();
         void input_thesis(int num_thesis);
         void input_writer(int num_writer);
         bool make_map(char name[][MAX_STR], int num);
         void insert_list(char * name);
         int serch_erdos_num(char * name);
         int main()
          int num_case, num_thesis, num_writer;
          cin >> num_case;
          for (int i = 0; i < num_case; i++)
          init();
          cin >> num_thesis >> num_writer;
  • 새싹교실/2012/아우토반/앞반/4.5 . . . . 60 matches
         #include<stdio.h>
         void main(){
          int i;
          int j;
          printf(" ");
          printf("*");
          printf("\n");
         #include<stdio.h>
         int main(void){
          int n,j;
          printf(" ");
          printf("*");
          printf("\n");
          printf(" ");
          printf("*");
          printf("\n");
          printf("\n");
         #include<stdio.h>
         int main(void){
          int num;
  • CheckTheCheck/곽세환 . . . . 59 matches
         toupper를 쓰려면 ctype.h를 include해야한다.
         #include <iostream>
         using namespace std;
         #include <ctype.h>
         const int EMPTY = 0;
         const int BLACK = 1;
         const int WHITE = 2;
         int whereSide(int y, int x)
         bool isInBoard(int y, int x)
         bool PawnCheck(int y, int x, int side)
          if (isInBoard(y - 1, x - 1) && board[y - 1][x - 1] == 'p')
          else if (isInBoard(y - 1, x + 1) && board[y - 1][x + 1] == 'p')
          if (isInBoard(y + 1, x - 1) && board[y + 1][x - 1] == 'P')
          else if (isInBoard(y + 1, x - 1) && board[y + 1][x + 1] == 'P')
         bool RookCheck(int y, int x, int side)
          int move[4][2] = {{-1, 0}, {0, 1}, {1, 0}, {0, -1}};
          int i, k;
          for (i = 1; i <= 7 && isInBoard(y + i * move[k][0], x + i * move[k][1]); i++)
          continue;
         bool BishopCheck(int y, int x, int side)
  • TugOfWar/김회영 . . . . 59 matches
         #include<iostream.h>
         //using namespace std;
         bool changeTwoPart(int* right,int* left,int gap,int nPeople);
         void changeTwoElement(int* rightPart,int i,int* leftPart,int j);
         void sort(int* array,int count);
         void main()
          int nCount;
          cin>>nCount;
          int nPeople;
          int* nWeightOfPeople;
          int* leftPart;
          int* rightPart;
          int rightTotal=0;
          int leftTotal=0;
          int* rightOfTotal=new int[nCount];
          int* leftOfTotal=new int[nCount];
          for(int k=0;k<nCount;k++)
          cin.get();
          cin>>nPeople;
          nWeightOfPeople=new int[nPeople];
  • UML/CaseTool . . . . 59 matches
         === Diagramming ===
         ''Diagramming'' in this context means ''creating'' and ''editing'' UML [[diagram]]s; that is diagrams that follow the graphical notation of the Unified Modeling Language.
         The diagramming part of the Unified Modeling Language seems to be a lesser debated part of the UML, compared to code generation.
         The UML diagram notation evolved from elderly, previously competing notations. UML diagrams as a means to draw diagrams of - mostly - [[Object-oriented programming|object oriented]] software is less debated among software developers. If developers draw diagrams of object oriented software, there is widespread consensus ''to use the UML notation'' for that task. On the other hand, it is debated, whether those diagrams are needed at all, on what stage(s) of the software development process they should be used and whether and how (if at all) they should be kept up-to date, facing continuously evolving program code.
         ''[[Code generation]]'' in this context means, that the user creates UML diagrams, which have some connoted model data, from which the UML tool derives (through a conversion process) parts or all of the [[source code]] for the software system that is to be developed. Often, the user can provide some skeleton of the program source code, in the form of a source code [[template]] where predefined tokens are then replaced with program source code parts, emitted by the UML tool during the code generation process.
         There is some debate among software developers about how useful code generation as such is. It certainly depends on the specific problem domain and how far code generation should be applied. There are well known areas where code generation is an established practice, not limited to the field of UML. On the other hand, the idea of completely leaving the "code level" and start "programming" on the UML diagram level is quite debated among developers, and at least, not in such widespread use compared to other [[software development]] tools like [[compiler]]s or [[Configuration management|software configuration management systems]]. An often cited criticism is that the UML diagrams just lack the detail which is needed to contain the same information as is covered with the program source. There are developers that even state that "the Code ''is'' the design" (articles [http://www.developerdotstar.com/mag/articles/reeves_design_main.html] by Jack W. Reeves [http://www.bleading-edge.com/]).
         === Reverse engineering ===
         ''Reverse engineering'' in this context means, that the UML tool reads program source code as input and ''derives'' model data and corresponding graphical UML diagrams from it (as opposed to the somewhat broader meaning described in the article "[[Reverse engineering]]").
         Reverse engineering encloses the problematic, that diagram data is normally not contained with the program source, such that the UML tool, at least in the initial step, has to create some ''random layout'' of the graphical symbols of the UML notation or use some automatic ''layout algorithm'' to place the symbols in a way that the user can understand the diagram. For example, the symbols should be placed at such locations on the drawing pane that they don't overlap. Usually, the user of such a functionality of an UML tool has to manually edit those automatically generated diagrams to attain some meaningfulness. It also often doesn't make sense to draw diagrams of the whole program source, as that represents just too much detail to be of interest at the level of the UML diagrams. There are also language features of some [[programming language]]s, like ''class-'' or ''function templates'' of the programming language [[C plus plus|C++]], which are notoriously hard to convert automatically to UML diagrams in their full complexity.
         === "Round trip" engineering ===
         There are UML tools that use the attribute ''round trip'' (sometimes also denoted as ''round trip engineering'') to connote their ability to keep the ''source code'', the ''model data'' and the corresponding ''UML diagrams'' ''in sync''.
         This means that the user should be able to change either the ''model data'' (together with the corresponding diagrams) or the ''program source code'' and then the UML tool updates the other part automatically.
         UML 케이스 툴과 달리 Visio 같은 경우에는 Diagramming 기능만을 제공한다. Diagramming Tool 이라고 분류하는 듯하다.
  • 데블스캠프2009/목요일/연습문제/MFC/서민관 . . . . 57 matches
         #include "stdafx.h"
         #include "testMFC.h"
         #include "testMFCDlg.h"
         #define new DEBUG_NEW
          //{{AFX_DATA_INIT(CAboutDlg)
          //}}AFX_DATA_INIT
         BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
          //{{AFX_DATA_INIT(CTestMFCDlg)
          //}}AFX_DATA_INIT
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
          m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
         BEGIN_MESSAGE_MAP(CTestMFCDlg, CDialog)
         ON_WM_PAINT()
         BOOL CTestMFCDlg::OnInitDialog()
          CDialog::OnInitDialog();
          // IDM_ABOUTBOX must be in the system command range.
          CString strAboutMenu;
          strAboutMenu.LoadString(IDS_ABOUTBOX);
          pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
          // when the application's main window is not a dialog
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/김상섭 . . . . 56 matches
         #include <iostream>
         #include <cstring>
         #include <cstdlib>
         using namespace std;
         class newstring
          newstring::newstring()
          explicit newstring::newstring(int num)
          for(int i =0; i < num; i++)
          newstring::~newstring()
          int newstring::length() const
          newstring::newstring(const char* ch)
          newstring::newstring(const newstring & ns)
          void operator+=(const newstring & a)
          newstring & newstring::operator=(const char* ch)
          newstring & newstring::operator=(const newstring ns)
         bool operator==(const newstring & a, const newstring & b)
         newstring & operator+(const newstring & a, const newstring & b)
          newstring *temp = new newstring(strlen(a.ch)+strlen(b.ch)+1);
         ostream & operator<<(ostream & os, const newstring& ns)
         istream & operator>>(istream & is, newstring & ns)
  • whiteblue/자료구조다항식구하기 . . . . 56 matches
         #include <iostream>
         #include <vector>
         using namespace std;
         #define MAX 10000;
         typedef struct poly_node * poly_pointer;
          int coef;
          int expon;
          poly_pointer link;
         poly_pointer pread();
         poly_pointer pmult (poly_pointer a, poly_pointer b);
         void pwrite (poly_pointer a);
         int countNode(poly_pointer a);
         int count_ = 0;
         int main()
          poly_pointer a,b,c,d;
         poly_pointer pread()
          int preExpon = MAX;
          int tempCoef;
          int tempExpon;
          poly_pointer result = new poly_node;
  • 권영기/web crawler . . . . 55 matches
          print e.reason
         for line in urllib2.urlopen(req).readlines():
          fo.write(line)
          * http://coreapython.hosting.paran.com/howto/HOWTO%20Fetch%20Internet%20Resources%20Using%20urllib2.htm
         import string
         for line in fo1.readlines() :
          pos = string.find(line, '"http')
          for c in range(pos+1, len(line)) :
          if line[c] is '"' :
          fo2.write(line[c])
          * http://docs.python.org/tutorial/inputoutput.html
         for line in fo.readlines():
          urllib.urlretrieve(line,line.split('/')[-1])
          line = 'http://cfile23.uf.tistory.com/original/2001D2044C945F80495C6F'
          line.split('/')[-1] == '2001D2044C945F80495C6F'
          line.split('/')[-2] == 'original'
          say = "This is a line of text"
          part = line.split(' ')
          part == ['This', 'is', 'a', 'line', 'of', 'text']
         [GCC 4.6.1] on linux2
  • 김영록/연구중/지뢰찾기 . . . . 55 matches
         #include <iostream.h>
         #include <stdlib.h>
         #include <time.h>
         static int space[16][16];
         static int gameover=1; //0일경우 메뉴 무한루프 끝
         void mine_confirm(int X, int Y); //지뢰가 있는지 없는지 확인
         void mine_update(int X, int Y); //지뢰가 없을경우 그근처에 지뢰수를 업뎃
         void mine_newgame(); //지뢰 위치 초기화
         void mine_show(); //지뢰 화면 보여주기
         void mine_menu(); //메뉴
         void main()
          mine_newgame();
          mine_show();
          mine_menu();
         void mine_menu() //메뉴 나타냄
          int num_x,num_y;
          cin >> num_x;
          cin >> num_y;
          mine_confirm(num_x-1,num_y-1);
         void mine_show()
  • 새싹교실/2012/아무거나/2회차 . . . . 55 matches
         #include <stdio.h>
         #include <conio.h>
         int main(void)
          int a,b,c;
          int d,e,f ;
         printf("\n");
          printf("*");
         printf("\n");
          printf("*");
         #include <stdio.h>
         #include<stdio.h>
         int main()
          int a, b, c;
          printf("*");
          printf("\n");
          printf("*");
          printf("\n");
          * Hint!
         #include <stdio.h>
         int main(void)
  • PairProgramming . . . . 54 matches
         http://pairprogramming.com/images/pairprogrammers.gif
         == Pair Programming Approach ==
         PairProgramming 을 적용해보는 방법, 스타일 등등
          * Pair Refactoring - 꼭 소스 코드가 아니더라도 위키 페이지에 대한 ["문서구조조정"] 을 하는 경우에도 적용할 수 있다. 특히, 해당 토론이 벌어진뒤 양론으로 나누어졌을 경우, 각 의견 지지자들이 Pair 로 문서구조조정을 할때 이용할 수 있다.
          * Protocol Analysis, 지식의 전달 - Seminar:CognitivePsychology 참조. 다른 사람의 사고과정을 관찰하고, 또한 자신의 사고과정을 다른 사람으로 하여금 관찰할 수 있게 해준다. 이는 자신의 프로그래밍 과정중 잘못된 부분을 고치는데 도움을 준다.
         == Pair Programming 에 대한 오해? ==
          * Junior : Expert 간 격차에 따른 효율성의 문제 - [http://www.caucse.net/phpwiki/index.php?PairProgramming PairProgramming]
         PairProgramming 의 다른 적용 예로서 PairSynchronization 이 있다.
         == PairProgramming 경험기 ==
          * Pair 의 진행을 이끌어가는 것 - 프로그래밍의 흐름이라고 해야 할까. 디자인을 어느정도 선정도로 맞추고 어떠한 문제를 풀 것인가에 대한 약간의 선이 필요할 것 같다. 이 경우에는 초반 디자인이 허술했었다는 약점이 있었다. '전체적인 관점에서 무엇무엇을 하면 프로그램이 완성될 것이다' 라는 것. UserStory 만 생각하고 EnginneringTask 를 간과한 것이 큰 문제였다. (그때 EnginneringTask 에 대한 개념이 없었었다는. 어디서 함부로 주워만 지식. --; 사고를 하자 사고를. -_-)
          * ExtremeProgrammingPlanning 이라는 책을 보면 해결책을 구할 수 있을 것 같다. (Xp 책들의 장점이자 단점이라면 얇은 두께의 분책이려나.. --a)
          * 아직은 효율성이.. - 일종의 Learning Time 이라고 해야 할까? 대부분 실험에서 끝난다는 점. 퍽 하고 처음부터 효율성을 극대화 할 순 없을 것이다. 참고로 이때는 아날로그 시계 만드는데 거의 3시간이 걸렸다. Man-Hour 로 치면 6시간이 된다.
         TestFirstProgramming 과 PairProgramming 은 집중도에 관해서는 가장 훌륭한 선택인 것 같다. (단, Pair와의 담합행위가 이루어지면 곤란하겠다. -_-;)
         === bioinfomatix 프로젝트중 ===
         진행한 사람 : 강석천, bioinfomatix 에서 일하시는 분들[[BR]]
         학습목적이 아닌 실질적인 개발을 위한 PairProgramming 으로는 처음인듯 하다. 2주간 격일로 일을 했었는데, XP 스타일로 프로젝트를 진행하였다.
          * 보통 코딩을 주도하는쪽이 빨리 지치며 집중력도 떨어지게 된다. 특히 PairProgramming 의 경우는 상대편 Pair에 대한 배려상 해당 시간에 작업 이외의 다른 일을 거의 하지 않는다. (화장실도 자주 안간다;;)
          * On-Side Customer 와의 PairProgramming - 프로젝트 중간에 참여해서 걱정했었는데, 해당 일하시는 분과 직접 Pair를 하고 질문을 해 나가면서 전체 프로그램을 이해할 수 있었다. 특히 내가 ["BioInfomatics"] 에 대한 지식이 없었는데, 해당 도메인 전문가와의 Pair로서 서로 상호보완관계를 가질 수 있었다.
          * Junior 의 위치에서 바라본 학습 효과 - 이전에 상경이형이 채팅 프로그램 만드는 법을 직접 보여줬을때가 생각이 난다. (그때 '자. 15분동안 하나 만들어줄께~' 하면서 후다다닥 MFC로 서버/클라이언트 예제를 바로 보여주던 모습은 잊혀지지 않는다;) Junior 의 입장에서 Expert 행동 하나하나는 Check Point 이다. 좋은 습관과 프로그래밍 스타일, 디버깅하는 모습을 직접 눈으로 확인할 수 있었다.
         ProgrammingContest 에 있는 K-In-A-Row 문제를 푸는 일을 했다.
  • 김재현 . . . . 54 matches
         == Intro ==
         #include <stdio.h>
         #include <stdlib.h>
         #include <time.h>
         #define COUNT 6 // 당첨번호개수
         #define MAX 45 // 1-45
         #define TITLE "[ LOTTO RANDOM NUMBER GENERATOR ]\n"
         int main()
          int i;
          printf(TITLE);
          printf("=================================\n");
          printf("Enter the game count: ");
          printf("=================================\n");
          printf("game %2d: ", i+1);
          printf("%2d ", n+1);
          printf("\n"); // 한 set 완료
         #include <stdio.h>
         int ThreeNOne(int aInput);
         int ThreeNOneTwoNum(int aInput, int aInput2);
         int num1, num2, cycle_length;
  • 새싹교실/2011/Noname . . . . 54 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          || ||int||4 byte(32 bit)||-2,147,483,646 이상 +2,147,483,647 이하||
          || ||short int||2 byte(16 bit)||-32,768 이상 +32,767 이하||
          || ||long int||4 byte(32 bit)||-2,147,483,646 이상 +2,147,483,647 이하||
          * 함수 #define함수와 일반함수
         int add(int a, int b){
          int add = a + b;
          * #define함수
          #define ADD(x,y) (x)+(y)
          * 연산자의 종류들과 #define함수의 활용법에 대해서 배웠습니다. 아직 C프로그래밍이 익숙지 않아서 간단한 함수도 어렵게 느껴졌다. 여러 예재로 우선 C프로그래밍에 익숙해 져야 겠다. 수업이 끝난 후 복습을 꼭 해야겠다. - [김창욱]
         #include <stdio.h>
         int factorial(int n);
         int main()
          int a;
          printf("몇 팩토리얼을 구할까요? ");
          printf("%d",factorial(a));
         int factorial(int n){
         #include<stdio.h>
         int fibo(int x);
         int main()
  • TermProject/재니 . . . . 53 matches
         #include <iostream>
         #include <stdlib.h>
         using namespace std;
         void menu1(), menu2(), menu3(), menu4(), sub_menu(), avr(), sort(int, int),
          grade(int), prt_select(), prt_all(), error();
         const int students = 20;
         int stats[students][4] = {
         int sort_stats[students + 1][4];
         int select;
         int sum_sub[3], sum_avr;
         double avr_ind[students + 1];
         int main()
          for (int i = 0 ; i < students ; i++)
          for (int j = 0 ; j < 7 ; j++)
          cin >> select;
          for (int i = 1 ; i < students ; i++)
          for (int j = 0 ; j < i ; j++)
          for (int i = 1 ; i < students ; i++) // 평균 성적에 따라
          for (int j = 0 ; j < i ; j++) // 정렬 함수를 호출하여 정렬함
          if (avr_ind[i] > avr_ind[j])
  • ACM_ICPC/2013년스터디 . . . . 52 matches
          * dynamic programming - [http://211.228.163.31/30stair/eating_together/eating_together.php?pname=eating_together 끼리끼리]
          * linked list - [http://211.228.163.31/30stair/josephus/josephus.php?pname=josephus&stair=11 josephus]
          * 퀵 정렬,이진검색,parametric search - [http://211.228.163.31/30stair/guessing_game/guessing_game.php?pname=guessing_game&stair=10 숫자 추측하기], [http://211.228.163.31/30stair/sort/sort.php?pname=sort&stair=10 세 값의 정렬], [http://211.228.163.31/30stair/subsequence/subsequence.php?pname=subsequence&stair=10 부분 구간], [http://211.228.163.31/30stair/drying/drying.php?pname=drying&stair=10 건조], [http://211.228.163.31/30stair/aggressive/aggressive.php?pname=aggressive&stair=10 공격적인 소]
          * dynamic programming - [http://211.228.163.31/30stair/subset/subset.php?pname=subset 부분 합]
          * greedy method - [http://211.228.163.31/30stair/quick_change/quick_change.php?pname=quick_change 거스름돈], [http://211.228.163.31/30stair/germination/germination.php?pname=germination 발아]
          * BackTracking문제 1문제
          * [http://211.228.163.31/30stair/inflate/inflate.php?pname=inflate inflate]
          * Binary Indexed Tree
          * inflate 모르겠다 알려줘
          * jumping_cow
          * [http://stackoverflow.com/questions/2631726/how-to-determine-the-longest-increasing-subsequence-using-dynamic-programming Time Complexity O(n log n) 의 Up Sequence]
          * [http://211.228.163.31/30stair/bridging/bridging.php?pname=bridging&stair=15 bridging - binary indexed tree를 이용한 Up Sequence 문제]
          * 김태진 : Dynamic Programming 6.1~6.3
          * Shortest Path : DAG(directed acyclic graphs)로 바꾼 후 Source에서부터 dist(v) = min{dist(v) + l(u,v)}사용
          * Longest increasing subsequence : DAG로 바꾼다.(increasing하는 곳에만 edge생성됨) 이후 가장 많이 방문하도록 L(j) = 1+ max{L(i) : (i,j)}수행
          * [http://en.wikipedia.org/wiki/Topological_sorting]
          * 김태진 : Dynamic Programming
          - 점화식을 구하는 것은 금방 구했으나, index를 얻어내는 것이 힘들었음.
          - 설명하면 1110110 이라는 것이 있을 때, 1110110이 오기 전에는 110으로 시작하는 모든 바코드가 있을 것이고, 그 이전에는 10으로 시작하는 모든 바코드가 있을 것이다. 그리고 1110110이라는 바코드가 오기 전에는 111000으로 시작하는 모든 바코드가 있을 것이고, 그 이전에는 11100으로 시작하는 모든 바코드가 있을 것이다. dp테이블에 해당 경우에 대한 경우의 수를 모두 저장해놨기 때문에, 앞에서 부터 차례대로 이전에 올 바코드의 수를 더해나가면 index를 구할 수 있다.
          * 2012 ICPC대전 문제 풀기 : [https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=554 링크]
  • Linux . . . . 52 matches
         [[include(틀:OperatingSystems)]]
         [[https://groups.google.com/forum/#!msg/comp.os.minix/dlNtH7RRrGA/SwRavCzVE7gJ 전설적인 서문]]
         Hello everybody out there using minix -
         I'm doing a (free) operating system (just a hobby, won't be big and
         professional like gnu) for 386(486) AT clones. This has been brewing
         since april, and is starting to get ready. I'd like any feedback on
         things people like/dislike in minix, as my OS resembles it somewhat
         among other things).
         I've currently ported bash(1.08) and gcc(1.40), and things seem to work.
         This implies that I'll get something practical within a few months, and
          Linus (torv...@kruuna.helsinki.fi)
         PS. Yes - it's free of any minix code, and it has a multi-threaded fs.
         It is NOT protable (uses 386 task switching etc), and it probably never
         will support anything other than AT-harddisks, as that's all I have :-(.
         리눅스와 비슷한 운영체제로는 정통적인 유닉스 클론 이라고 평가받는 [:FreeBSD BSD]계열이 있다. BSD계열중 가장 잘알려진 [http://www.kr.freebsd.org FreeBSD]의 경우 실제로 과거부터 hotmail.com, yahoo.com, cdrom.com 을 운영해온 네트워킹에 대한 안정성이 입증된 운영체제이다. 실제로 2.6커널의 도입이전에는 BSD의 네트워킹이 더욱 뛰어나다는 평가를 받았지만 일반적인 의견이었으나, 많은 구조적 변경을 통해서 리눅스는 현재 이런 점을 극복하고 BSD와 리눅스를 선택하는 것은 운영자의 기호일 뿐이라는 이야기를 한다. 최근에는 리눅스를 데스크탑의 용도로 까지 확장하려는 노력의 덕분에 로케일 설정관련 부분이 대폭 강화되었으며, 사용자 편의성을 고려한 WindowManager인 [Gnome], [KDE] 등의 프로그램이 대폭 강화되면서 low-level 유저라도 약간의 관심만 기울인다면 충분히 서버로써 쓸 만한 운영체제로 변모하였다.
         어느정도 실력을 쌓았다 싶으면 RunningLinux, Oreilly 를 읽기를 권한다. 이 책은 비록 초심자가 읽기에는 부적절하지만 APM설정에 어느정도 리눅스의 구조에 대해서 익힌 사람들이 리눅스를 운영하기 위한 전반적 기초지식의 대부분을 습득 할 수 있는 수작이라고 생각된다.
         [Linux/탄생과의미]
         [Linux/배포판]
         [Linux/필수명령어]
         [Linux/디렉토리용도]
  • OurMajorLangIsCAndCPlusPlus/float.h . . . . 52 matches
          == Floating Point ==
         ||FLT_MANT_DIG ||float형 floating point로 표현 할 수 있는 significand의 비트 수 ||24 ||
         ||DBL_MANT_DIG ||double형 floating point로 표현 할 수 있는 significand의 비트 수 ||53 ||
         ||LDBL_MANT_DIG ||long double형 floating point로 표현 할 수 있는 significand의 비트 수 ||53 ||
         ||FLT_MAX ||float형으로 표현할 수 있는 가장 큰 floating point 값 ||3.402823466e+38F ||
         ||DBL_MAX ||double형으로 표현할 수 있는 가장 큰 floating point 값 ||1.7976931348623158e+308 ||
         ||LDBL_MAX ||long double형으로 표현할 수 있는 가장 큰 floating point 값 ||1.7976931348623158e+308 ||
         ||FLT_MAX_10_EXP ||float형으로 표현할 수 있는 가장 큰 floating point의 10의 지수값 ||38 ||
         ||DBL_MAX_10_EXP ||double형으로 표현할 수 있는 가장 큰 floating point의 10의 지수값 ||308 ||
         ||LDBL_MAX_10_EXP ||long double형으로 표현할 수 있는 가장 큰 floating point의 10의 지수값 ||308 ||
         ||FLT_MAX_EXP ||float형으로 표현할 수 있는 가장 큰 floating point의 2의 지수값 ||128 ||
         ||DBL_MAX_EXP ||double형으로 표현할 수 있는 가장 큰 floating point의 2의 지수값 ||1024 ||
         ||LDBL_MAX_EXP ||long double형으로 표현할 수 있는 가장 큰 floating point의 2의 지수값 ||1024 ||
         ||FLT_MIN ||float형으로 표현할 수 있는 가장 작은 양의 floating point 값 ||1.175494351e–38F ||
         ||DBL_MIN ||double형으로 표현할 수 있는 가장 작은 양의 floating point 값 ||2.2250738585072014e–308 ||
         ||LDBL_MIN ||long double형으로 표현할 수 있는 가장 작은 양의 floating point 값 ||2.2250738585072014e–308 ||
         ||FLT_MIN_10_EXP ||float형으로 표현할 수 있는 가장 작은 floating point의 10의 지수값 ||–37 ||
         ||DBL_MIN_10_EXP ||double형으로 표현할 수 있는 가장 작은 floating point의 10의 지수값 ||–307 ||
         ||LDBL_MIN_10_EXP ||long double형으로 표현할 수 있는 가장 작은 floating point의 10의 지수값 ||–307 ||
         ||FLT_MIN_EXP ||float형으로 표현할 수 있는 가장 작은 floating point의 10의 지수값 ||–125 ||
  • Slurpys/문보창 . . . . 52 matches
         #include <iostream>
         #include <cstring>
         using namespace std;
         const int MAX_LEN = 61;
         bool isSlurpy(const char * str, int & index);
         bool isSlimp(const char * str, int & index);
         bool isSlump(const char * str, int & index);
         int main()
          int nCase;
          cin >> nCase;
          cin.get();
          int index;
          int i;
          cin.getline(str, MAX_LEN, 'n');
          index = 0;
          if (isSlurpy(str, index))
         bool isSlurpy(const char * str, int & index)
          if (!isSlimp(str, index))
          if (!isSlump(str, index))
          if (index != strlen(str))
  • 토이/메일주소셀렉터/김정현 . . . . 51 matches
         public class Main {
          public static void main(String[] args) {
          String input;
          input= "input.txt";
          else input = args[0];
          String[] deleteList= {" ", "\n"};
          io.insertDeleteList(deleteList);
          io.insertSpace(true);
          io.write("result.txt", io.getRemadeFromFile(input));
          private String[] deleteList= {};
          private boolean shouldInsertSpace;
          shouldInsertSpace= false;
          public void write(String fileName, String text) {
          e.printStackTrace();
          public String read(String fileName) {
          String resultString= "";
          resultString += br.readLine();
          e.printStackTrace();
          e.printStackTrace();
          return resultString;
  • RSS . . . . 50 matches
         The technology behind RSS allows you to subscribe to websites that have provided RSS feeds, these are typically sites that change or add content regularly. To use this technology you need to set up some type of aggregation service. Think of this aggregation service as your personal mailbox. You then have to subscribe to the sites that you want to get updates on. Unlike typical subscriptions to pulp-based newspapers and magazines, your RSS subscriptions are free, but they typically only give you a line or two of each article or post along with a link to the full article or post.
         The RSS formats provide web content or summaries of web content together with links to the full versions of the content, and other meta-data. This information is delivered as an XML file called RSS feed, webfeed, RSS stream, or RSS channel. In addition to facilitating syndication, RSS allows a website's frequent readers to track updates on the site using a news aggregator.
         Before RSS, several similar formats already existed for syndication, but none achieved widespread popularity or are still in common use today, and most were envisioned to work only with a single service. For example, in 1997 Microsoft created Channel Definition Format for the Active Channel feature of Internet Explorer 4.0. Another was created by Dave Winer of UserLand Software. He had designed his own XML syndication format for use on his Scripting News weblog, which was also introduced in 1997 [1].
         RDF Site Summary, the first version of RSS, was created by Dan Libby of Netscape in March 1999 for use on the My Netscape portal. This version became known as RSS 0.9. In July 1999 Netscape produced a prototype, tentatively named RSS 0.91, RSS standing for Rich Site Summary, this was a compromise with their customers who argued the complexity introduced (as XML namespaces) was unnecessary. This they considered a interim measure, with Libby suggesting an RSS 1.0-like format through the so-called Futures Document [2].
         Soon afterwards, Netscape lost interest in RSS, leaving the format without an owner, just as it was becoming widely used. A working group and mailing list, RSS-DEV, was set up by various users to continue its development. At the same time, Winer posted a modified version of the RSS 0.91 specification - it was already in use in their products. Since neither side had any official claim on the name or the format, arguments raged whenever either side claimed RSS as its own, creating what became known as the RSS fork. [3]
         The RSS-DEV group went on to produce RSS 1.0 in December 2000. Like RSS 0.9 (but not 0.91) this was based on the RDF specifications, but was more modular, with many of the terms coming from standard metadata vocabularies such as Dublin Core. Nineteen days later, Winer released RSS 0.92, a minor and (mostly) compatible revision of RSS 0.91. The next two years saw various minor revisions of the Userland branch of RSS, and its adoption by major media organizations, including The New York Times.
         Winer published RSS 2.0 in 2002, emphasizing "Really Simple Syndication" as the meaning of the three-letter abbreviation. RSS 2.0 remained largely compatible with RSS 0.92, and added the ability to add extension elements in their own namespaces. In 2003, Winer and Userland Software assigned ownership of the RSS 2.0 specification to his then workplace, Harvard's Berkman Center for the Internet & Society.
  • KnightTour/재니 . . . . 49 matches
         // Knight.h: interface for the CKnight class.
         #if !defined(AFX_KNIGHT_H__B5234B12_3582_4CB8_8253_6ADFBE7B5E68__INCLUDED_)
         #define AFX_KNIGHT_H__B5234B12_3582_4CB8_8253_6ADFBE7B5E68__INCLUDED_
          int m_ChessBoard[8][8];
          int m_Vertical[8], m_Horizontal[8];
          int m_CurrentRow, m_CurrentColumn;
          int m_Footprint[65];
          unsigned int m_Move;
          CKnight(int sr, int sc);
         #endif // !defined(AFX_KNIGHT_H__B5234B12_3582_4CB8_8253_6ADFBE7B5E68__INCLUDED_)
         #include "Knight.h"
         #include "iostream"
         using namespace std;
         CKnight::CKnight(int sr, int sc)
          int tempHorizontal[] = {2, 1, -1, -2, -2, -1, 1, 2};
          int tempVertical[] = {-1, -2, -2, -1, 1, 2, 2, 1};
          for (int row = 0 ; row < 8 ; row++){
          for (int col = 0 ; col < 8 ; col++) {
          m_Footprint[row * 8 + col] = 0;
          for (int row = 0 ; row < 8 ; row++) {
  • Linux/필수명령어/용법 . . . . 49 matches
         - Enter login name for new account (^C to quit): blade
         - Editing information for new user [blade]
         - banner linux | lqr ,,디폴트 프린터에 확대한 글자를 출력한다.
         - document1 document2 differ: char 128, line 13 ,,차이 발견
         -i : 블록 사용 대신 incode 사용 정보를 보고한다.
         일반적으로 echo 명령은 프롬프트 상에서 사용되는 일은 없다. 하지만 스크립트 작성시 번번히 사용된다. 셸 스크립트 상에서 echo 명령은 BASIC의 PRINT 명령이나 C 언어의 printf() 함수와 같이 메시지를 출력하는 데에 자주 사용된다. 또한 전혀 필요없을 것 같은 echo의 -n 옵션도 스크립트 상에서는 유용하게 사용될 수 있다.
         - $ echo -e 'Linux\RedHat !'
         - Linux RedHat !
         : 풀 스크린 에디터를 사용할 수 없는 열악한 환경의 터미널을 위한 라인 에디터(line editor)이다.
         find
         : 원하는 특정 파일을 디렉토리를 탐색하여 찾는다. find는 매우 강력한 도구로 특정 디렉토리들을 순회하면서 지정된 조건에 만족하는 파일을 찾는다. 파일의 조건은 이름이나 크기, 날짜 등 다양하게 지정할 수 있다.
         - find [ 디렉토리 ] 탐색 조건
         -links : 특정 개수의 링크를 가진 파일을 찾는다. 물음표 부분에 링크의 숫자를 표기한다.
         -exec 명령 : 원하는 검색 조건에 맞는 파일을 찾으면 명시된 명령을 실행한다. 명령의 끝은 \;을 사용하여 끝낸다. find가 검색해낸 파일의 이름을 인수로 사용하고 싶다면 그 위치에 {}를 사용한다.
         - $ find /bin -name ro*
         - $ find -user qwfwq -exec cat {} list\;
         finger
         - finger [ -slpm ][ 사용자 ]
         인수로 아무 것도 주어지지 않으면, finger는 현재 시스템에 로그인되어 있는 사용자들을 보여준다. 옵션이 주어지지 않으면, 기본적으로 -l 옵션을 사용한 것으로 간주된다.
         - $ finger
  • Minesweeper/이도현 . . . . 49 matches
         2006-01-03 05:40:25 Accepted 0.012 Minimum 56031 C++ 10189 - Minesweeper
         // Minesweeper
         #include <iostream>
         //#include <fstream>
         using namespace std;
         #define ArSize 102
         void process(char data[][ArSize], int row, int col);
         void init_array(char data[][ArSize], int row, int col);
         void output(char data[][ArSize], int row, int col);
         //ifstream fin("input.txt");
         int main()
          int inputRow, inputCol;
          int outputNumber = 1;
          int i, j;
          while (cin >> inputRow >> inputCol)
          if ((inputRow == 0) && (inputCol == 0))
          init_array(data, inputRow + 1, inputCol + 1);
          for (i = 1; i <= inputRow; i++)
          for (j = 1; j <= inputCol; j++)
          cin >> data[i][j];
  • 데블스캠프2006/월요일/함수/문제풀이/이차형 . . . . 49 matches
         #include <iostream>
         using namespace std;
         bool team684(int, int, int);
         void main()
          int member=0;
          int guns=0;
          int boat=0;
         bool team684(int member, int guns, int boat)
          cin >> member;
          cin >> guns;
          cin >> boat;
         #include <iostream>
         #include <time.h>
         using namespace std;
         int dice(int num, int dice);
         int main()
          int num, dic;
         int dice(int num, int dic)
         #include <iostream>
         #include <time.h>
  • 데블스캠프2009/월요일/연습문제/svn코드레이스/박준호 . . . . 49 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <time.h>
         void up(int *, int*);
         void down(int *, int *);
         int main(void)
          int number;
          int guess;
          int maxnum = 50;
          int minnum = 1;
          printf("%d\n", number);
          if( maxnum - minnum == 0)
          printf("당신이 이기셨습니다. You Win\n");
          printf("숫자를 입력하시오 범위는 %d 부터 %d 입니다. \n", minnum, maxnum);
          if( (guess > maxnum) || (guess < minnum) )
          printf("먹고 ,다시 말하시오\n");
          up(&guess, &minnum);
          printf("당신은 졌습니다. 게임이 끝낫습니다. \n");
         void up(int *guess, int* minnum)
          * minnum = (*guess) + 1;
  • 데블스캠프2011/셋째날/String만들기/김준석 . . . . 49 matches
         #include<iostream>
         using namespace std;
         class String{
          int offset;
          int count;
          String(){
          String(const char *original){
          count = strlen(original);
          strcpy(value,original);
          String(const String& str, const int offset,const int count){
          void print(){
          for(int i =0;i<count;i++){
          char charAt(const int at){
          int indexOf(String& str){
          for(int i =0; i < this->count; i++){
          int select = -1;
          for(int j = 0; j < str.count-1;j++){
          int lastIndexOf(String& str){
          int choice = -1;
          for(int i =0; i < this->count; i++){
  • 새싹교실/2011/學高/4회차 . . . . 49 matches
          * Input three integers: 2 3 7
          * The sum of your integers plus 7 is 19
          * Hint
         #include <stdio.h>
         int main()
          int x,y,z;
          // printf()로 결과 출력하기
          * printf 사용법
          * %d: decimal integer
          * 정수형 data type: int, char
         #include <stdio.h>
         #define PI 3.141592
         int main()
          int price;
          printf("직경: "); scanf("%f",&diameter);
          printf("가격(단위 원): "); scanf("%d",&price);
          printf("넓이: %.2f\n",PI*diameter*diameter);
          printf("조각 당 가격: %d\n",price/8);
         #include<stdio.h>
         int main()
  • 압축알고리즘/희경&능규 . . . . 49 matches
         #include<fstream>
         #include<iostream>
         #include<string>
         using namespace std;
         void main()
          ifstream fin("input.txt");
          int number = 0;
          string pass;
          fin >> pass;
          for(int i = 0;pass[i];i++)
         #include<fstream>
         #include<iostream>
         #include<string>
         using namespace std;
         void main()
          ifstream fin("input.txt");
          int number;
          string pass;
          fin >> pass;
          for(int i = 0;pass[i];i++)
  • SeminarHowToProgramIt/Pipe/VendingMachineParser.py . . . . 48 matches
         #VendingMachineParser.py
         from cStringIO import StringIO
         from VendingMachine import *
         # //putCoin
         # //verifyCoin
         class VendingMachine:
          def putCoin(self, anAmount):
          print '%d inserted' % anAmount
          print aButtonType + ' pushed'
          def verifyCoin(self, anAmount):
          print anAmount
          print aStatus
         v=VendingMachine()
         class VendingCmd:
          def __init__(self,cmd,**kwargs):
          for item in self.__dict__.items():
         class PutCmd(VendingCmd):
          self.vm.putCoin(self.amount)
         class PushCmd(VendingCmd):
         class VerifyMoneyCmd(VendingCmd):
  • ZeroPageHistory . . . . 48 matches
         ||1학기 ||2기 회원모집. 1학년을 위한 각종 강좌 마련, 스터디 조직. 2학년 각종 스터디 조직(C++, Graphics, OS, System-Programming, 한글 구현). 첫돌 잔치. ||
         ||겨울방학 ||C++ for windows, X windows Programming, Object Oriented Analysis & Design 등의 Project 수행 ||
          * C++, Computer Graphics, OS, System-Programming
          * C++ for Windows, X Windows Programming, Object Oriented Analysis & Design
         ||여름방학 ||C++, C, X-Window, *Utility 세미나 개최. ||
          * C, C++, X-Windows, Utility
         ||2학기 ||X-Window, Visual Basic, C 세미나 개최. ||
         ||겨울방학 ||X-Window, Data Structure, C, C++ 세미나 개최. ||
          * X-Windows, Visual Basic, C
          * X-Windows, Data Structure, C, C++
         ||1학기 ||5기 회원모집. 제 4회 소프트웨어 전시회 및 4주년 기념행사. C 초급, Assembly, Inside PC 강좌. ||
         ||여름방학 ||C 중급, C++, Network Programming 강좌. ||
          * C, Assembly Language, Inside PC
          * C, C++, Network Programming
         ||겨울방학 ||Data Structure 스터디, API 세미나 개최, 게임 제작 온라인 강좌.(긁어 놓은 게시물: Win95 레지스트리, TCP/IP) ||
         ||1학기 ||7기 회원모집. 3D Graphic Programming. (긁어 놓은 게시물: Protect Mode, Functions Pointer, Compression Algorithm, About 3D, PSP의 구조, DMA, 3D Display, Tcl/Tk, C++Builder와 델파이, Lisp 강좌) ||
         ||여름방학 ||C++, HTML, Object Pascal 세미나 개최.(목적 불문 게시물: 비선점형/선점형 멀티태스킹, Win32의 프로세스와 스레드.)(긁어놓은 게시물: 타이머, 마우스) ||
         FixMe 임베팅한 사이즈 조절 할줄 모르겠음. 오리지날 파일은 아래 참고. 스크린샷 상의 오르지오 메일은 망해서 모자이크 처리 안했음 --NeoCoin
         ||1학기 ||회장 이창섭, 12기 회원 모집. ZeroWiki 시스템 도입. Devils 통합. Internet Problem Solving Contest 참여, 서강대 MentorOfArts 팀과 프로그래밍파티 개최 ||
         ||2학기 ||Extreme Programming 진행 (TDD, [Pair Programming]) ||
  • 데블스캠프2010/다섯째날/ObjectCraft/미션3/김상호 . . . . 48 matches
         {{{#include<stdio.h>
         #include<stdlib.h>
         #include<time.h>
         #define NUM 4
          int gong;
          int bang;
          int hp;
          int name;
          printf("저글링 %d이 저글링 %d에게 데미지 %d를 입혀 HP가 %d가 되었다.\n", a.name, b.name, a.gong, b.hp);
          printf("저글링 %d이 전사했습니다.\n", b.name);
         void init_unit(unit a[NUM]){
          int n;
         int main()
          init_unit(a);
          int sel;
          int attackerTeam = rand() % 2;
          int attackerUnit = rand() % 2;
          int defenderunit = rand() % 2;
          printf("뒷 팀이 이겼습니다!!\n");
          printf("앞 팀이 이겼습니다!!\n");
  • 문자반대출력/허아영 . . . . 47 matches
         #include <stdio.h>
         #include <string.h>
         #include <stdlib.h>
         char strchange(char ch[50], int lenstr);
         void main()
          int lenstr;
          printf("Before string = %s \n", ch);
          printf("After string = %s \n", ch);
         char strchange(char *pCh, int lenstr)
          int i;
         #include <stdio.h>
         #include <string.h>
         #include <stdlib.h>
         char strchange(char ch[50], int lenstr, int choiceNum);
         void main()
          int lenstr, choiceNum, i = 0;
         char strchange(char *pCh, int lenstr, int choiceNum)
          int i;
         #include <iostream.h>
         #include <string.h>
  • Vending Machine/dooly . . . . 46 matches
         package dooly.tdd.vending;
         public class VendingMachineTest extends TestSuite {
          TestSuite suite = new TestSuite("Test for dooly.tdd.vending");
          //$JUnit-BEGIN$
         package dooly.tdd.vending;
          private static final int GREEN_TEA_PRICE = 500;
          private static final int COFFEE_PRICE = 400;
          private static final int TEA_PRICE = 300;
          private VendingMachine vm;
          vm = new VendingMachine();
         package dooly.tdd.vending;
          private VendingMachine vm;
          vm = new VendingMachine();
          public void testEmptyMatchine() {
         package dooly.tdd.vending;
         public class VendingMachine {
          private int money;
          public void add(String item, int price) {
          itemMap.put(item, new Integer(price));
          public int getPrice(String item) {
  • AdventuresInMoving:PartIV/김상섭 . . . . 45 matches
         // 10201 - Adventures in Moving: Part IV
         #include <iostream>
         using namespace std;
         #define MAX_OIL 200
         #define MAX_SIZE 103
         #define MAX_NUM 1000000000
          int length;
          int price;
         static int totalLength; /* 워털루에서 대도시까지의 거리 */
         static int numStation; /* 주유소 수 */
         inline
         int getDistance(int i)
         void input()
          cin >> totalLength;
          cin.get();
          while (cin.peek() != EOF && cin.peek() != '\n')
          cin >> station[numStation].length >> station[numStation].price;
          cin.get();
          cin.get();
          int maxmin, maxminprice , now = 1, tank = 100, go = 100, search = 2, cost = 0;
  • Fmt/문보창 . . . . 45 matches
         //#include <fstream>
         #include <iostream>
         #include <string>
         using namespace std;
         const int STATE_A = 1;
         const int STATE_B = 2;
         const int STATE_C = 3;
         //fstream fin("input.txt");
         void read_file(string & str);
         void remove_enter(string & str);
         void restruct_string(string & str);
         void remove_string_end_space(string & str);
         int main()
          string str;
          restruct_string(str);
          remove_string_end_space(str);
         void read_file(string & str)
          if (cin.peek() == EOF)
          ch = cin.get();
         void remove_enter(string & str)
  • JavaStudy2002/입출력관련문제 . . . . 44 matches
         * 자바에는 C의 cin처럼 간단한 명령어가 없단 말인가!? --[영동]
          * 여러분이 어려워하시는것 같아, 입력 부분을 만들었습니다. 해당 static method의 기능은 한줄을 읽고, 공백이나, 탭을 기준으로 배열을 반환합니다. 사용 방법은 해당 함수의 main 을 참고하시고, 다른 소스에서 import해서 그냥 사용하세요. --["neocoin"]
         public class StandardInput {
          public static String[] getSplitedStringArray(String input, String delim) {
          StringTokenizer tokenizer = new StringTokenizer(input,delim);
          String[] output = (String[])arrayList.toArray(new String[0]);
          static String[] getInputLineData(){
          BufferedReader bufferReader = new BufferedReader(new InputStreamReader(System.in));
          String input = "";
          input = bufferReader.readLine();
          e.printStackTrace();
          return getSplitedStringArray(input, " \n\t");
          public static void main(String[] args){
          System.out.println("글자 한줄 입력 받기 예제");
          String[] input = StandardInput.getInputLineData();
          for ( int i=0;i<input.length;i++)System.out.println(input[i]);
          System.out.println("\n글자나누기 예제\n");
          String inputData = "123 4 62 45";
          input = StandardInput.getSplitedStringArray(inputData, " ");
          for ( int i=0;i<input.length;i++)System.out.println(input[i]);
  • C++스터디_2005여름/학점계산프로그램/문보창 . . . . 43 matches
         #define CALCULATEGRADE_H_
         #include "Student.h"
          static const int NUM_STUDENT; // 학생 수(상수 멤버)
         #include <iostream>
         using namespace std;
         #include "CalculateGrade.h"
         const int CalculateGrade::NUM_STUDENT = 121;
          for (int i = 1; i < NUM_STUDENT; i++)
          student[i].input_grade();
          int p;
          for (int i = 1; i < NUM_STUDENT; i++)
          for (int j = i + 1; j < NUM_STUDENT; j++)
          int num = NUM_STUDENT / 10;
          for (int i = 1; i <= num; i++)
          for (int i = 1; i < NUM_STUDENT; i++)
         #define STUDENT_H_
          static const int NUM_GRADE; // 과목 수 (상수 멤버)
          int number; // 학번
          void find_average(); // 평점을 구하는 함수
          void input_grade(); // 점수을 입력받는 함수
  • Slurpys/강인수 . . . . 43 matches
         function HasDorEAtFirst (const S: String): Boolean;
         function HasGAtLast (const S: String; APos: Integer): Boolean;
         function FindF (const S: String): Integer;
         function IsSlump (const S: String): Boolean;
         function IsSlimp (const S: String): Boolean;
         function IsSlurpy (const S: String): Boolean;
         function HasDorEAtFirst (const S: String): Boolean;
         begin
         function HasGAtLast (const S: String; APos: Integer): Boolean;
         begin
         function FindF (const S: String): Integer;
          i: Integer;
          FirstFind: Boolean;
         begin
          FirstFind := False;
          begin
          begin
          begin
          FirstFind := True;
          begin
  • Gof/Facade . . . . 42 matches
         == Intent ==
         예를 들기 위해, 어플리케이션에게 컴파일러 서브시스템을 제공해주는 프로그래밍 환경이 있다고 하자. 이 서브시스템은 컴파일러를 구현하는 Scanner, Parser, ProgramNode, BytecodeStream, 그리고 ProgramNodeBuilder 클래스를 포함하고 있다. 몇몇 특수화된 어플리케이션은 이러한 클래스들을 직접적으로 접근할 필요가 있을 것이다. 하지만, 대부분의 컴파일러 시스템을 이용하는 클라이언트들은 일반적으로 구문분석(Parsing)이나 코드 변환 (Code generation) 의 세부적인 부분에 대해 신경쓸 필요가 없다.(그들은 단지 약간의 코드를 컴파일하기 원할뿐이지 다른 강력한 기능을 알 필요가 없다.) 그러한 클라이언트들에게는 컴파일러 서브시스템의 강력하지만 저급레벨인 인터페이스는 단지 그들의 작업을 복잡하게 만들 뿐이다.
          * 서브시스템에 계층을 두고 싶을 때. 각 서브시스템 레벨의 entry point를 정의하기 위해 facade를 사용하라. 만일 각 서브시스템들이 서로 의존적이라면 서브시스템들간의 대화를 각 시스템간의 facade로 단일화 시킴으로서 그 의존성을 단순화시킬 수 있다.
         서브시스템은 인터페이스를 가진다는 점과 무엇인가를 (클래스는 state와 operation을 캡슐화하는 반면, 서브시스템은 classes를 캡슐화한다.) 캡슐화한다는 점에서 class 와 비슷하다. class 에서 public 과 private interface를 생각하듯이 우리는 서브시스템에서 public 과 private interface 에 대해 생각할 수 있다.
         서브시스템으로의 public interface는 모든 클라이언트들이 접속가능한 클래스들로 구성되며. 이때 서브시스템으로의 private interface는 단지 서브시스템의 확장자들을 위한 인터페이스이다. 따라서 facade class는 public interface의 일부이다. 하지만, 유일한 일부인 것은 아니다. 다른 서브시스템 클래스들 역시 대게 public interface이다. 예를 들자면, 컴파일러 서브시스템의 Parser class나 Scanner class들은 public interface의 일부이다.
          istream& _inputStream;
          virtual void GetSourcePosition (int& line, int& index);
         Traverse operaton은 CodeGenerator 객체를 인자로 취한다. ProgramNode subclass들은 BytecodeStream에 있는 Bytecode객체들을 machine code로 변환하기 위해 CodeGenerator 객체를 사용한다. CodeGenerator 클래는 visitor이다. (VisitorPattern을 참조하라)
         CodeGenerator 는 subclass를 가진다. 예를들어 StackMachineCodeGenerator sk RISCCodeGenerator 등. 각각의 다른 하드웨어 아키텍처에 대한 machine code로 변환하는 subclass를 가질 수 있다.
         우리가 토론해온 클래스들은 곧 Compiler 서브시스템을 이룰 것이다. 자 이제 우리는 이 모든 조각들을 함께 묶은 facade 인 Compiler 클래스를 소개할 것이다. Compiler는 소스 컴파일과 특정 machine에 대한 코드변환기능에 대한 단순한 인터페이스를 제공한다.
          istream& input, BytecodeStream& output
          Scanner scanner (input);
         이 구현에서는 사용하려는 code-generator의 형태에 대해서 hard-codes (직접 특정형태 부분을 추상화시키지 않고 바로 입력)를 했다. 그렇게 함으로서 프로그래머는 목적이 되는 아키텍처로 구체화시키도록 요구받지 않는다. 만일 목적이 되는 아키텍처가 단 하나라면 그것은 아마 이성적인 판단일 것이다. 만일 그러한 경우가 아니라면 우리는 Compiler 의 constructor 에 CodeGenerator 를 인자로 추가하기 원할 것이다. 그러면 프로그래머는 Compiler를 instance화 할때 사용할 generator를 구체화할 수 있다. Compiler facade는 또한 Scanner나 ProgramNodeBuilder 등의 다른 협동하는 서브시스템클래스를 인자화할 수 있다. 그것은 유연성을 증가시키지만, 또한 일반적인 사용형태에 대해 인터페이스의 단순함을 제공하는 Facade pattern의 의의를 떨어뜨린다.
         ET++ application framework [WGM88] 에서, application은 run-time 상에서 application의 객체들을 살필 수 수 있는 built-in browsing tools를 가지고 있다.이러한 browsing tools는 "ProgrammingEnvironment'라 불리는 facade class를 가진 구분된 서브시스템에 구현되어있다. 이 facade는 browser에 접근 하기 위한 InspectObject나 InspectClass같은 operation을 정의한다.
         ET++ application은 또한 built-in browsing support를 없앨수도 있다. 이러한 경우 ProgrammingEnvironment는 이 요청에 대해 null-operation으로서 구현한다. 그러한 null-operation는 아무 일도 하지 않는다. 단지 ETProgrammingEnvironment subclass는 각각 대응하는 browser에 표시해주는 operation을 가지고 이러한 요청을 구현한다. application은 browsing environment가 존재하던지 그렇지 않던지에 대한 정보를 가지고 있지 않다. application 과 browsing 서브시스템 사이에는 추상적인 결합관계가 있다.
         Choices operating system [CIRM93] 은 많은 framework를 하나로 합치기 위해 facade를 사용한다. Choices에서의 key가 되는 추상객체들은 process와 storge, 그리고 adress spaces 이다. 이러한 각 추상객체들에는 각각에 대응되는 서브시스템이 있으며, framework로서 구현된다. 이 framework는 다양한 하드웨어 플랫폼에 대해 Choices에 대한 porting을 지원한다. 이 두 서브시스템은 '대표자'를 가진다. (즉, facade) 이 대표자들은 FileSystemInterface (storage) 와 Domain (address spaces)이다.
         예를 들어, 가상 메모리 framework는 Domain을 facade로서 가진다. Domain은 address space를 나타낸다. Domain은 virtual addresses 와 메모리 객체, 화일, 저장소의 offset에 매핑하는 기능을 제공한다. Domain의 main operation은 특정 주소에 대해 메모리 객체를 추가하거나, 삭제하너가 page fault를 다루는 기능을 제공한다.
          RepairFault 명령은 page fault 인터럽트가 일어날때 호출된다. Domain은 fault 를 야기시킨 주소의 메모리객체를 찾은뒤 RepairFault에 메모리객체과 관계된 캐쉬를 위임한다. Domain들은 컴포넌트를 교체함으로서 커스터마이즈될 수 있다.
         보통 facade는 단일 오브젝트로 요구된다. 그래서Facade 객체는 종종 SingletonPattern으로 구현된다.
  • JollyJumpers/iruril . . . . 42 matches
         import java.io.InputStreamReader;
          int [] jumpersArray;
          int length;
          int differenceValue;
          // input()은 getIntArray()에서 사용
          public String input()
          BufferedReader in = new BufferedReader( new InputStreamReader(System.in));
          String input = "";
          input = in.readLine();
          e.printStackTrace();
          return input;
          public int [] getIntArray()
          String buf = input();
          String [] stringArray = buf.split(" ");
          length = stringArray.length;
          int [] intArray = new int [length];
          for(int i = 0; i < length; i++ )
          intArray[i] = Integer.parseInt(stringArray[i]);
          return intArray;
          public void inputJumpers()
  • ProjectPrometheus/AT_RecommendationPrototype . . . . 42 matches
          def __init__(self):
          self.startPoint = 0
          for book in aBookList:
          point = 0
          point += self.bookViewList[aBook] * WEIGHT_VIEW
          point += self.lightReviewBookList[aBook] * WEIGHT_LIGHTREVIEW
          point += self.heavyReviewBookList[aBook] * WEIGHT_HEAVYREVIEW
          return point
          def _addBookRelation(self, aNewBook, anIncrementPoint):
          for book in self.bookList:
          def _editBookRelation(self, anEditBook, anIncrementPoint):
          for book in self.bookList:
          anEditBook.addBookRelation(book, anIncrementPoint)
          book.addBookRelation(anEditBook, anIncrementPoint)
          def _bookAction(self, aBook, anIncrementPoint):
          if not aBook in self.bookList:
          self._addBookRelation(aBook, anIncrementPoint)
          self._editBookRelation(aBook, anIncrementPoint)
          def lightReviewBook(self, aBook, aPoint):
          self.lightReviewBookList[aBook] = aPoint
  • ProjectPrometheus/CookBook . . . . 42 matches
         Seminar:UsingIdle
         String find = "(http|https)+://([^ \t\n<>()"]+)" // 패턴 설정
         Pattern pattern = Pattern.compile( find ); // 패턴 컴파일
         regular expression 패턴을 정의하기 위해서 ["Komodo"] 를 이용할 수도 있다. 또는 Seminar:TddRegularExpression 을 시도해보는 것도 좋다. ["1002"] 는 Python Interpreter 를 이용, 표현식을 찾아냈다.
          PrintWriter out = httpServletResponse.getWriter();
          out.println("<HTML> " +
         Wiki:SandglassProgramming
          * 멀티 타이머 http://www.programming.de/cpp/timer.zip
          * 마이크로 에그 타이머 http://users.informatik.fh-hamburg.de/~rohde_i/eggtimer/mr-egg-z.zip
         Java 에서는 HttpURLConnection 을 이용한다. 관련 코드는 http://www.javafaq.nu/tips/servlets/index.shtml 를 참조.
         Connection.setRequestProperty("Content-Type", "text/plain");
         Python 에서의 string.urlencode 과 마찬가지로 GET,POST 로 넘기기 전 파라메터에 대해 URL Encoding 이 필요하다. URLEncoder 라는 클래스를 이용하면 된다.
         URLEncoder.encode (paramString, "UTF-8");
          request.setCharacterEncoding("KSC5601");
          String serviceName = (String) request.getParameter("service");
         getParameter 가 호출되기 전에 request의 인코딩이 세팅되어야 한다. 현재 Prometheus의 Controller의 경우 service 의 명을 보고 각각의 서비스에게 실행 권한을 넘기는데, 가장 처음에 request의 characterEncoding 을 세팅해야 한다. 차후 JSP/Servlet 컨테이너들의 업그레이드 되어야 할 내용으로 생각됨 자세한 내용은 http://javaservice.net/~java/bbs/read.cgi?m=appserver&b=engine&c=r_p&n=957572615 참고
         == Resin ==
         resin 에서 홈 디렉토리를 변경하거나 resin 이 실행될때 기본적으로 생기는 디렉토리들(example 등)이 있다.
         === Resin 에서 DB POOL Setting ===
         resin.conf 에 다음을 셋팅해준다. (<caucho.com> 태그 안쪽에 삽입)
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/강소현,구자경 . . . . 42 matches
          private int floorMax;
          private int floorMin;
          private int current;
          private int hopeFloor;
          public Elevator(int i, int j) {
          floorMin = j;
          if(1<=floorMin && 1>=floorMax)
          current = floorMin;
          public void pressButten(int i, int k) {
          public void goTo(int currentFloor) {
          if(currentFloor<= floorMax && currentFloor >= floorMin)
          public int floor() {
          public int getHopeFloor() {
          public void setHopeFloor(int hopeFloor) {
          final Elevator el = new Elevator(20, -10);//최상층, 최하층
          private int floorMax;
          private int floorMin;
          private int peopleMax;
          private int floor;
          private int people;
  • 문자열검색/허아영 . . . . 42 matches
         His teaching method is very good.
         #include <stdio.h>
         void exist_word(char x[40], int exist_str[10]); //x[i]에 문자열의 유무
         int compare_str(char x[40], char search_str[15], int exist_str[10]); // 문자열 비교
         int word_num = 1, search_str_num = 0;
         int found = 0; int temp = 0;
         void main()
          char x[40] = "His teaching method is very good.";
          int exist_str[10]; // exist_str[i]에는 x문자열중 i번째 문자열이 몇번째 문자에 나오나
          printf("끝내려면 ""EE""입력\n"); //출력.
          printf("자료 -> %s", x);
          printf("\n찾을 문자열 -> ");
          fprintf(fp,"자료 -> %s", x); //result.out에 저장.
          fprintf(fp, "\n찾을 문자열 -> ");
          fprintf(fp, "%s", search_str);
          fprintf(fp, "\nfirst found -> %d\n\n", exist_str[word_num]+1);
          fprintf(fp, "\nNot found!\n\n");
         void exist_word(char x[40], int exist_str[10])
          int num = 2, x_n = 0;
         int compare_str(char x[40], char search_str[15], int exist_str[10])
  • DPSCChapter2 . . . . 41 matches
         Before launching into our descriptions of specific design patterns, we present a case study of sorts, involving multiple patterns. In the Design Pattern preface, the Gang of Four speak about moving from a "Huh?" to an "Aha!" experience with regard to understanding design patterns. We present here a little drama portraying such a transition. It consists of three vignettes: three days in the life of two Smalltalk programmers who work for MegaCorp Insurance Company. We are listening in on conversations between Don (an object newbie, but an experienced business analyst) and Jane (an object and pattern expert). Don comes to Jane with his design problems, and they solve them together. Although the characters are fictitious, the designs are real and have all been part of actual systems written in Smalltalk. Our goal is to demonstrate how, by careful analysis, design patterns can help derive solutions to real-world problems.
         Our story begins with a tired-looking Don approaching Jane's cubicle, where Jane sits quietly typing at her keyboard.
         우리의 이야기는 지친표정을 지으며 제인의 cubicle (음.. 사무실에서의 파티클로 구분된 곳 정도인듯. a small room that is made by separating off part of a larger room)로 가는 Don 과 함께 시작한다. 제인은 자신의 cubicle에서 조용히 타이핑하며 앉아있다.
         Don : Hey, Jane, could you help me with this problem? I've been looking at this requirements document for days now, and I can't seem to get my mind around it.
         Jane : That's all right. I don't mind at all. What's the problem?
         Don : It's this claims-processing workflow system I've been asked to design. I just can't see how the objects will work together. I think I've found the basic objects in the system, but I don't understand how to make sense from their behaviors.
          1. Data Entry. This consists of various systems that receive health claims from a variety of different sources. All are logged by assigning a unique identifier. Paper claims and supporting via OCR (optical character recognition) to capture the data associated with each form field.
          2. Validation. The scanned and entered forms are validated to ensure that the fields are consistent and completely filled in. Incomplete or improperly filled-in forms are rejected by the system and are sent back to the claimant for resubmittal.
          3. Provider/Plan Match. An automated process attempts to mach the plan (the contract unser which the claim is being paid) and the health care provider (e.g., the doctor) identified on the claim with the providers with which the overall claim processing organization has a contract. If there is no exact match, the program identifies the most likely matches based on soundex technology (an algorithm for finding similar-sounding words). The system displays prospective matches to knowledge workers in order of the likeinhood of the match, who then identify the correct provider.
          4. Automatic Adjudication. The system determines whether a claim can be paid and how much to pay if and only if there are no inconsistencies between key data items associated with the claim. If there are inconsistencies, the system "pends" the claim for processing by the appropriate claims adjudicator.
          5. Adjudication of Pended Claims. The adjudicator can access the system for a claim history or a representation of the original claim. The adjudicator either approves the claim for payment, specifying the proper amount to pay, or generates correspondence denying the claim.
  • MindMapConceptMap . . . . 41 matches
         === Mind Map ===
         MindMap 의 경우, 일반적인 책들과 같이 그 체계가 잘 잡혀 있는 지식에 대해 정리하기 편리하다. (SWEBOK 과 같이 아에 해당 지식에 대한 뼈대를 근거로 지식을 분류해놓은 책같은 경우에는 더더욱) 일반적으로 한 챕터에 대해서 5-10분정도면 한번 정리를 다 할 수 있을 정도로 필기할때 속도가 빠르다. 그러면서 해당 중심 주제에 대해서 일관적으로 이어나갈 수 있도록 도와준다. (이는 주로 대부분의 책들이 구조적으로 서술되어있어서이기도 할 것이다.)
         http://www.conceptdraw.com/products/img/MindMap.gif
         공부할때 한 챕터에 대해서 1시간정도 MindMap 을 구조적으로 그려나가면서 정리 한 뒤, 기억 회상을 위해 외워서 MindMap 을 한 3번정도 그려보면 (기억 회상을 위해 그리는데에는 보통 5-10분이면 된다. 반드시 '다시 기억을 떠올리면서' 그릴것! MindMap 이나 ConceptMap 이나 그리고 난 뒤의 도표가 중요한 것이 아니다. 중요한 것은 Map을 그려나가면서 기억을 떠올려나가는 과정이 중요하다.)
         관련 자료 : '마인드맵 북' , 'Use Your Head' (토니 부잔) - MindMap 쪽에 관한 책.
         See Also wiki:NoSmok:MindMap
         ConceptMap 은 Joseph D. Novak 이 개발한 지식표현법으로 MindMap 보다 먼저 개발되었다. (60-70년대) 교육학에서의 Constructivism 의 입장을 취한다.
         MindMap 의 문제점은 중간에 새어나가는 지식들이 있다. 기본적으로 그 구조가 상하관계 Tree 구조이기 때문이다. 그래서 보통 MindMap 을 어느정도 그려본 사람들의 경우 MindMap을 확장시켜나간다. 즉, 중심 개념을 여러개 두거나 상하관계구조를 약간 무시해나가면서. 하지만 여전히 책을 읽으면서 잡아나간 구조 그 자체를 허물지는 않는다.
         ConceptMap 은 'Concept' 과 'Concept' 간의 관계를 표현하는 다이어그램으로, 트리구조가 아닌 wiki:NoSmok:리좀 구조이다. 비록 도표를 읽는 방법은 'TopDown' 식으로 읽어가지만, 각 'Concept' 간 상하관계를 강요하진 않는다. ConceptMap 으로 책을 읽은 뒤 정리하는 방법은 MindMap 과 다르다. MindMap 이 주로 각 개념들에 대한 연상에 주목을 한다면 ConceptMap 의 경우는 각 개념들에 대한 관계들에 주목한다.
         http://cmap.coginst.uwf.edu/info/cmap.gif
         개인적으로 처음에 MindMap 보다는 그리는데 시간이 많이 걸렸다. 하지만, MindMap 에 비해 각 개념들을 중복적으로 쓰는 경우가 적었다. (물론 MindMap 의 경우도 중복되는 개념에 대해서는 Tree 를 깨고 직접 링크를 걸지만) MindMap 의 Refactoring 된 결과라고 보면 좀 우스우려나; 주로 책을 정리를 할때 MindMap 을 하고 때때로 MindMap 에서의 중복되는 개념들을 토대로 하나의 개념으로 묶어서 ConceptMap 을 그리기도 한다.
         관련 자료 : 'Learning How To Learn', 'Learning, Creating and Using Knowledge - Concept Maps as Facilitative Tools in Schools and Corporations' (Joseph D. Novak)
         === MindMap & ConceptMap Program ===
         컴퓨터 프로그램에서도 MindMap 과 ConceptMap 을 그리는 프로그램이 많다. 하지만, 그렇게 효율적이지는 않은 것 같다. (아직까지 연습장과 펜 만큼 자유롭지가 않다. ["TabletPC"] + Visio 조합이라면 또 모를까;) MindMap 이건 ConceptMap 이건 기존 지식으로부터 연관된 지식을 떠올리고, 사고하고, 재빨리 Mapping 해 나가는 과정자체가 중요하기에. (["1002"]는 개인적으로 프로그래밍을 하려고 했다가; 그리 유용하단 느낌이 안들어서 포기했다는. 여러 프로그램들을 써 봤지만, 결국 도로 연습장 + 펜 으로 돌아갔다. ^^; 그리고 개인적으로 Map 자체를 도큐먼트용으로 보관하는것에 의미를 두지 않아서.)
          * MindMap 과 ConceptMap 을 보면서 알고리즘 시간의 알고리즘 접근법에 대해서 생각이 났다. DivideAndConquer : DynamicProgramming. 전자의 경우를 MindMap 으로, 후자의 경우를 ConceptMap 이라고 생각해본다면 어떨까.
         빠르게 책의 구조와 내용을 파악할때는 MindMap을, 그리고 그 지식을 실제로 이용하기 위해 정리하기 위해서라면 MindMap 을 확장시키거나, ConceptMap 으로 다시 한번 표현해나가는 것이 어떨까 한다. --석천
          ''MindMap 에 경우 중요시 하는 것 중 하나가 연상을 더욱 더 용이하게 하는 이미지이기도 하죠. --석천''
         MindMap 의 연상기억이 잘 되려면 각 Node 간의 Hierarchy 관계가 중요하다. 가능한한 상위 Node 는 추상도가 높아야 한다. 처음에 이를 한번에 그려내기는 쉽지 않다. 그리다가 수정하고 그리다가 수정하고 해야 하는데 이것이 한번에 되기는 쉽지 않다. 연습이 필요하다.
         MindMap 의 표현법을 다른 방면에도 이용할 수 있다. 결국은 트리 뷰(방사형 트리뷰) 이기 때문이다. [1002]의 경우 ToDo 를 적을때 (보통 시간관리책에서 ToDo의 경우 outline 방식으로 표현하는 경우가 많다.) 자주 쓴다. 또는 ProblemRestatement 의 방법을 연습할때 사용한다. --[1002]
  • 새싹교실/2012/열반/120402 . . . . 41 matches
         #include <stdio.h>
         int x=15;
         function(int y){
          printf("%d %d\n", x, y);
         int main()
          int x=5, y=10;
          printf("%d %d\n", x, y);
         printstar(int n){
          printf("*");
          printstar(n-1);
          * 위의 printstar(int) 함수가 정의되었다고 가정
         int main()
          printstar(5);
          printstar(4);
          printstar(3);
          printstar(2);
          printstar(1);
          * while은 수업 시간에 다룬 내용이라 짧게 설명했습니다. 위의 printstar를 응용한 실습을 진행했습니다.
          * printstar 및 N이 정의되었다고 가정했습니다.
         int main()
  • CubicSpline/1002/GraphPanel.py . . . . 40 matches
         class GraphPanel(wxScrolledWindow):
          def __init__(self, parent, id=NewId(), pos=wxDefaultPosition, size=wxDefaultSize):
          wxScrolledWindow.__init__(self, parent, id, pos, size)
          self.cubicSpline = Spline(DATASET)
          self.errorCubicSpline = ErrorSpline(DATASET)
          EVT_PAINT(self, self.OnPaint)
          def mappingToScreenX(self, x):
          def mappingToScreenY(self, y):
          def OnPaint(self, event):
          dc = wxPaintDC(self)
          dc.BeginDrawing()
          #self.drawGuideLines(dc)
          dc.EndDrawing()
          def drawGuideLines(self, dc):
          marginX = 100
          marginY = 100
          dc.DrawLine(marginX,marginY, marginX, cy-marginY)
          dc.DrawLine(marginX,cy-marginY, cx-marginX, cy-marginY)
          self.plotCubicSpline(dc)
          self.plotErrorCubicSpline(dc)
  • Yggdrasil/가속된씨플플/2장 . . . . 40 matches
          * 루프불변식(loop invariant): while문이 그 조건식을 검사하는 매 경우에 대하여 참일 것이라고 가정하는 속성. 처음에 이걸 보고, 이런 개념도 있었냐고 생각했음. 루프불변식은 코드는 아니고 주석에 해당하며, while문이 진행되면서 while문의 제일 처음과 끝에서 루프의 내용이 의도한 대로 돌아간 건지를 정의한 문장이다.(말로 설명하기 애매한 듯...) 하여튼 이것을 쓰는 이유는 루프문을 제대로 설계하기 위해서. 아래의 코드는, 책에 있는 코드로, 불변식의 예이다.
         int r=0;
         == 클래스 string ==
          * 1장에서 배운 string 클래스에 추가할 내용. SeeAlso ["Yggdrasil/가속된씨플플/1장"]
         std::string::size_type//unsigned형의 멤버변수로, 담을 수 있는 최대 문자 갯수를 저장한다. 글자수에 알맞는 type으로 알아서 정의하는 듯.
         #include<iostream>
         #include<string>
         using std::cin;
         using std::cout;
         using std::endl;
         using std::string;
         int main()
          int pad_rows, pad_cols;
          cout<<"Please input blank of rows and cols:";
          cin>>pad_rows;
          cin>>pad_cols;
          string name;
          cin>>name;
          const string greeting="Hello, "+name+"!";
          const int rows=pad_rows*2+3;
  • CubicSpline/1002/TriDiagonal.py . . . . 39 matches
         from ArrayPrinter import *
          for n in range(len(b)):
          matrixY[n][0] = float(b[n][0] - _minusForGetMatrixY(n, aMatrixLower, matrixY)) / float(aMatrixLower[n][n])
          for n in range(limitedMatrix-1, -1,-1):
          matrixX[n][0] = float(y[n][0] - _minusForGetMatrixX(n, aMatrixUpper, matrixX)) / float(aMatrixUpper[n][n])
          #print "x[%d]: y[%d][0] - minus:[%f] / u[%d][%d]:%f : %f"% (n,n,_minusForGetMatrixX(n, aMatrixUpper, matrixX),n,n, aMatrixUpper[n][n], matrixX[n][0])
         def _minusForGetMatrixX(n, aUpperMatrix, aMatrixX):
          totalMinus = 0
          for t in range(n+1,limitedMatrix):
          totalMinus += aUpperMatrix[n][t] * aMatrixX[t][0]
          return totalMinus
         def _minusForGetMatrixY(n, aLowerMatrix, aMatrixY):
          totalMinus = 0
          for t in range(n):
          totalMinus += aLowerMatrix[n][t] * aMatrixY[t][0]
          return totalMinus
          for i in range(0,aRow):
          for j in range(0,aCol):
         def prettyPrintMatrix(aMatrix):
          print array2string(array(aMatrix))
  • EightQueenProblem/강인수 . . . . 39 matches
         #include <iostream>
         #include <vector>
         #include <cmath>
         #include <algorithm>
         using namespace std;
         const int N = 8;
         int fac(int n)
          int ret = 1;
          for(int i = 2 ; i <= n ; ++i)
         bool isCorrectChecker(vector<int>& ar)
          for(int i = 0 ; i < ar.size() ; ++i)
          for(int j = 0 ; j < ar.size() ; ++j)
         vector< vector<int> > getCorrectChecker(vector<int>& ar)
          vector< vector<int> > ret;
          for(int i = 0 ; i < fac( ar.size() ) ; ++i)
          next_permutation(ar.begin(), ar.end());
         void showResult(vector< vector<int> >& result)
          for(int i = 0 ; i < result.size() ; ++i)
          for(int j = 0 ; j < result[i].size() ; ++j)
         vector<int> getDatas()
  • JavaStudy2003/두번째과제/곽세환 . . . . 39 matches
         import javax.swing.JOptionPane;
          private int array[][]; //판의 배열
          private int max_x; //판의 가로크기
          private int max_y; //판의 세로크기
          public Board(int x, int y) {
          array = new int[max_y][max_x];
          for (int i = 0; i < max_y; i++)
          for (int j = 0; j < max_x; j++)
          for (int i = 0; i < max_y; i++)
          for (int j = 0; j < max_x; j++)
          public boolean IsPostionWall(int x, int y) {
          public void PutStep(int x, int y) {
          String output = "";
          for (int i = 0; i < max_y; i++)
          for (int j = 0; j < max_x; j++)
          private int p_x; // 바퀴의 현재 x 위치
          private int p_y; // 바퀴의 현재 y 위치
          public void Move(Board bo, int x, int y) {
          int c_x; // 바퀴가 이동할 x 위치
          int c_y; // 바퀴가 이동할 y 위치
  • 수/구구단출력 . . . . 39 matches
         #include <stdio.h>
         #include <stdlib.h>
         int main()
          int i,Number;
          printf("원하시는 구구단 숫자를 눌러주세요.^^\n");
          printf("%d단\n",Number);
          printf("%dX%d=%d\n",Number,i,Number*i);
         #include<stdio.h>
         int main(void)
          int a,b;
          printf ("숫자입력");
          printf("%dx%d=%d\n", a,b,a*b);
         #include<stdio.h>
         int main()
          int Numbers;
          int Number;
          printf("알고싶은 구구단단계를 쳐주세요.");
          printf("%dX%d=%d\n",Numbers,Number,Numbers*Number);
         #include <stdio.h>
         void main()
  • EightQueenProblemDiscussion . . . . 38 matches
         만약 당신보다 더 짧은 시간에, 더 짧은 코드로 문제를 해결한 사람이 있다면, 그 사람과 함께 PairProgramming (혹은 NetMeeting 등을 이용, VirtualPairProgramming)을 해서 그 문제를 함께 새로 풀어보세요. 당신은 무엇을 배웠습니까? 그 사람은 어떤 방식으로 프로그램의 올바름(correctness)을 확인합니까? 그 사람은 디버깅을 어떻게 합니까(혹은 디버깅이 거의 필요하지 않은 접근법이 있던가요)? 그 사람은 어떤 순서로 문제에 접근해 갑니까? 그 사람은 어느 정도로까지 코드를 모듈화 합니까? 이 경험이 당신의 프로그래밍에 앞으로 어떤 변화를 불러올 것이라 생각합니까?
          def testPrintBoard (self):
          self.assertEquals (self.bd.PrintBoard (), '''00000000\n01000000\n00100000\n00000000\n00000000\n00000000\n00000000\n00000001\n''')
          def testFindQueenInSameVertical (self):
          self.assertEquals (self.bd.FindQueenInSameVertical (2), 1)
          self.assertEquals (self.bd.FindQueenInSameVertical (3), 0)
          def testFindQueenInSameHorizonal (self):
          self.assertEquals (self.bd.FindQueenInSameHorizonal (2), 1)
          self.assertEquals (self.bd.FindQueenInSameHorizonal (3), 0)
          def testFindQueenInSameCrossLeftTopToRightBottom (self):
          self.assertEquals (self.bd.FindQueenInSameCrossLeftTopToRightBottom (3,3), 1)
          self.assertEquals (self.bd.FindQueenInSameCrossLeftTopToRightBottom (1,1), 1)
          self.assertEquals (self.bd.FindQueenInSameCrossLeftTopToRightBottom (4,1), 0)
          def testFindQueenInSameCrossLeftBottomToRightTop (self):
          self.assertEquals (self.bd.FindQueenInSameCrossLeftBottomToRightTop (3,3), 0)
          self.assertEquals (self.bd.FindQueenInSameCrossLeftBottomToRightTop (3,1), 1)
          self.assertEquals (self.bd.FindQueenInSameCrossLeftBottomToRightTop (1,3), 1)
          def testGetFirstCornerInCrossLeftTopToRightBottom (self):
          self.assertEquals (self.bd.GetFirstCornerInCrossLeftTopToRightBottom (3,3), (0,0))
          self.assertEquals (self.bd.GetFirstCornerInCrossLeftTopToRightBottom (4,3), (1,0))
  • Omok/재니 . . . . 38 matches
         #include <iostream.h>
         #include <conio.h>
         int key, x = 9, y = 9;
         int winner = 0;
         int main()
          while(winner == 0)
          if (winner != 0)
          continue;
          cout << "Winner is ";
          if(winner == 1)
          else if(winner == 2)
          for (int i = 0 ; i < 19 ; i++)
          for (int j = 0 ; j < 19 ; j++)
          int cx, cy, num;
          winner = 2;
          winner = 1;
          winner == 0;
         #include <iostream>
         using namespace std;
          int m_Board[19][19];
  • RandomWalk2/상규 . . . . 38 matches
         #include <iostream>
         #include <cstring>
         using namespace std;
         #define MAX_JOURNEY 1024 // 최대 여정 수
         int walk(int m, int n, int starti, int startj, char journey[MAX_JOURNEY], int **board);
         void main()
          int m, n;
          int starti, startj;
          cout << "Input :\n";
          cin >> m >> n;
          cin >> starti >> startj;
          int offset=0;
          cin.getline(buffer,MAX_JOURNEY);
          int count;
          int **board=new int*[m];
          for(int i=0;i<m;i++)
          board[i]=new int[n];
          for(int j=0;j<n;j++)
          for(int j=0;j<n;j++)
         int walk(int m, int n, int starti, int startj, char journey[MAX_JOURNEY], int **board)
  • SmallTalk/강좌FromHitel/강의3 . . . . 38 matches
          1.4.1. Dolphin Smalltalk 등록하기
         1.4.1. Dolphin Smalltalk 등록하기
         이제까지 우리는 Dolphin Smalltalk를 사용하면서 저장 기능을 사용할 수 없
         Arts사(社)는 공개용으로 사용할 수 있는 Dolphin Smalltalk 98 / 1.1판을
         도록 하고 있습니다. 이는 Dolphin Smalltalk를 사용하는 사람들이 어떤 계
         Dolphin Smalltalk를 시작합니다. 그런 다음 File > Exit Dolphin 메뉴를 실
         행시켜서 Dolphin Smalltalk를 종료합니다. 이 때 현재 Smalltalk의 상황을
         * Product: 사용하고 있는 Dolphin Smalltalk의 종류. 우리는 1.1판을 고르
          Dolphin Smalltalk에 대해 처음어로 접한 매체를 고릅니다.
         * Intended use of this product?
          Dolphin Smalltalk를 어떤 목적에 사용할 것인지를 묻습니다.
          Dolphin Smalltalk를 몇 번만에 전송받았는지를 묻습니다.
         등록 절차를 마치면 이제부터 여러분의 컴퓨터에 설치되어 있는 Dolphin
         이렇게 해서 발급받은 password를 (1)과 마찬가지로 입력하게 되면 Dolphin
         을 것입니다. 이제 저장 기능을 사용할 수 있는 여러분의 Dolphin Smalltalk
          font: (Font name: 'Arial' pointSize: 36) bold;
          text: Time now printString at: 10@10;
         > Exit Dolphin 메뉴를 사용해서 Dolphin Smalltalk를 끝내봅시다. 이 때
         다. Windows의 바탕 화면이 표시되어있다면 글쇠를 눌러서 바탕 화면을
          digitalClockProcess terminate.
  • ClassifyByAnagram/재동 . . . . 37 matches
          self.anagram.inputWord('abc')
          self.anagram.inputWord('cba')
          self.assertEquals(expect, self.anagram.getSortWordString())
          def testIsWordListInAnagramList(self):
          self.anagram.inputWord('cba')
          self.assertEquals(expect1, self.anagram.isWordListInAnagramList())
          self.anagram.inputWord('zzz')
          self.assertEquals(expect2, self.anagram.isWordListInAnagramList())
          self.anagram.inputWord('cba')
          self.anagram.inputWord('cba')
          self.anagram.inputWord('bac')
          self.anagram.inputWord('abab')
          def __init__(self):
          def inputWord(self, word):
          self.wordString = word
          for i in range(len(self.wordString)):
          self.wordList.append(self.wordString[i])
          def isWordListInAnagramList(self):
          for i in range(len(self.anagramList)):
          if self.anagramList[i][0] == self.getSortWordString():
  • HowToStudyXp . . . . 37 matches
         ExtremeProgramming을 어떻게 공부할 것인가
          * XP Explained (Kent Beck) : XP 선언서
          * XP Installed (Ron Jeffries et al) : C3 프로젝트에 적용한 예, 얻은 교훈 등
          * Planning XP (Kent Beck, Martin Fowler) : 계획 부분만 설명 (관리자, 코치용)
          * ["Refactoring"] (by Martin Fowler) : 리팩토링에 대한 최고의 책
          * The Timeless Way of Building : 패턴 운동을 일으킨 Christopher Alexander의 저작. On-site Customer, Piecemeal Growth, Communication 등의 아이디어가 여기서 왔다.
          * XP in Practice (Robert C. Martin et al) : 두 세 사람이 짧은 기간 동안 간단한 프로젝트를 XP로 진행한 것을 기록. Java 사용. (중요한 문헌은 아님)
          * XP Examined (논문 모음집) : XP 컨퍼런스에 발표된 논문 모음
          * Surviving Object-Oriented Projects (Alistair Cockburn) : 얇고 포괄적인 OO 프로젝트 가이드라인
          * The Psychology of Computer Programming (Gerald M. Weinberg) : 프로그래밍에 심리학을 적용한 고전. Egoless Programming이 여기서 나왔다.
          * IEEE Software/Computer, CACM, ["SoftwareDevelopmentMagazine"] 등에 실린 기사
          * 유즈넷, 메일링 리스트, OriginalWiki의 논의들
          * http://groups.yahoo.com/group/extremeprogramming
          * http://c2.com/cgi/wiki?ExtremeProgrammingRoadmap
          * [http://groups.google.co.kr/groups?hl=ko&lr=&ie=UTF-8&newwindow=1&group=comp.software.extreme-programming news:comp.software.extreme-programming]
          * http://groups.yahoo.com/group/refactoring
          * http://groups.yahoo.com/group/agile-testing
          * [http://groups.google.co.kr/groups?dq=&num=25&hl=ko&lr=&ie=UTF-8&newwindow=1&group=comp.object&start=0 news:comp.object]
          * XP mailing list
          * OriginalWiki
  • ZeroPageServer/set2002_815 . . . . 37 matches
          * mm.mysql -> MySQL Connector/J -- for connecting to MySQL from Java (공식 JDBC드라이버)
          * Resin , Apache 시작 순서 문제
          * Terminal에서 Home키와 End키 먹도록 세팅
          * httpd/WEB-INF/classes/woodpage, home/httpd/html/woodpage 삭제
          * Admin 툴은 누가 만들었고, 정확한 용도는 무엇인가? 모든 게시판이 표시되지는 않는다, 이유는 무엇인가?
          ''게시판 Admin 툴을 이야기하는건지? 맞다면.. '''만든이는''' ["sun"]이고 '''용도'''는 게시판 생성/삭제를 쉽게 하려는 의도에서 였으며, '''모든''' 게시판이 표시되지는 않는것은 툴을 만들었던 시점이, 자게,질/답 등 이미 몇몇 게시판이 만들어진 이후였기 때문(변경을 게을러서 안했음). --["sun"]''
          * ZeroWiki - moinmoin 0.10 으로 돌리는중
          * ["CVS"] 이용가능 (["neocoin"] 에게 신청)
          * CGI Script (Perl, ["Python"] 1.53), PHP (4.2 일것임), JSP & Servlet (Resin 1.2 )
          * Web에서 CGI권한을 허용 받으려면 관리자(["neocoin"])에게 문의
         == About Setting ==
          * Pain
          * 류상민 (99, ["neocoin"] ) : 하겠다고 덤빈 사람
          * no Pain
          * 이번 세팅의 목적은 '''좀더 편한 패키지 관리, 안정된 환경'''을 위해서이다. 그래서 상민이의 물망에 오른 것이 Zentoo Linux와 Debian, FreeBSD 정도 인데, 기본적으로 Linux를 택해서, FreeBSD와 Zentoo Linux와 Debian 비교에서 사용자 층과 편이성면에서 Debian이 더 우수하게 느껴져 선택하였다.
          * Encoding
          * Resin
          * Resin 상태 확인
          * JSP (Encoding 테그 추가)
          * [[HTML( <STRIKE> 서버 세팅 공지 setting </STRIKE> )]]
  • 만년달력/강희경,Leonardong . . . . 37 matches
         #include <iostream>
         #include <climits>
         using namespace std;
         void output(int , int);
         int deter_date(int, int);
         int lastdays(int, int);
         int how_much_days(int, int);
         int main()
          int year, month;
          cin >> year;
          cin >> month;
          if ( year <= 0 || year >INT_MAX || month <=0 || month>12)
          continue;
         void output(int year, int month)
          int days = how_much_days(year, month);
          int date;
          for ( int j=0 ; j<date ; j++) //숫자를 찍기 전에 요일만큼 빈칸을 찍어줌
          for ( int i=0 ; i<days ; i++) //1에서 days까지 출력
         int deter_date(int year, int month )//요일을 정하는 함수(0은 일요일, 6은 토요일)
         int lastdays(int year, int month)//지난 달 날수를 계산
  • C 스터디_2005여름/학점계산프로그램/김태훈김상섭 . . . . 36 matches
         #define CLASSH
         #include <string>
         #include <vector>
         using namespace std;
          Score(string n, vector<double> s)
          void setname(string n)
          for(vector<double>::iterator i=score.begin();i !=score.end();++i)
          string getname() { return name; }
          string name;
          int MAX_SUB;
         = main.cpp =
         #include <fstream>
         #include <vector>
         #include <algorithm>
         #include <iostream>
         #include "class.h"
         using namespace std;
         const int MAX_SUB = 4;
         double changescore(string score);
         int main()
  • One/주승범 . . . . 36 matches
         #include <stdio.h>
         void main()
         { int n = 0;
          continue ;
          printf ("%d ", n) ;
         #include <stdio.h>
         void main()
          int a ;
          int n = 0;
         printf("%d", n);
         {{{~cpp #include <stdio.h>
         void main()
          int a;
          printf (" 숫자를 입력하시오 \n ");
          printf ("%d", a);
          printf (" error \n");
         {{{~cpp #include <stdio.h>
         void main()
          int a;
          printf (" 숫자를 입력하시오 \n ");
  • PreviousFrontPage . . . . 36 matches
         A WikiWikiWeb is a collaborative hypertext environment, with an emphasis on easy access to and modification of information. This wiki is also part of the InterWiki space.
         MoinMoin is a Python WikiClone, based on PikiPiki. The name is a common German slang expression explained on the MoinMoin page. If you run a Wiki using MoinMoin, please add it to the MoinMoinWikis page.
         You are encouraged to add to the MoinMoinIdeas page, and edit the WikiSandBox whichever way you like. Please try to restrain yourself from adding unrelated stuff, as I want to keep this clean and part of the project documentation.
         You can edit any page by pressing the link at the bottom of the page. Capitalized words joined together form a WikiName, which hyperlinks to another page. The highlighted title searches for all pages that link to the current page. Pages which do not yet exist are linked with a question mark: just follow the link and you can add a definition.
         To learn more about what a WikiWikiWeb is, read about WhyWikiWorks and the WikiNature. Also, consult the WikiWikiWebFaq.
         Interesting starting points:
          * RecentChanges: see where people are currently working
          * HelpForBeginners: to get you going
          * WikiSandBox: feel free to change this page and experiment with editing
          * MoinMoinTodo: discussion about the improvement of MoinMoin
          * FindPage: search or browse the database in various ways
  • JavaScript/2011년스터디/CanvasPaint . . . . 35 matches
          ctx.beginPath();
          if(drawmethod==1) drawLines();
          else if(drawmethod==2) drawDotPoint();
          element=document.getElementById('drawLine');
          dotx=undefined;
          doty=undefined;
          ctx.clearRect(0,0,window.innerWidth-15, window.innerHeight-50);
          function drawDotPoint()
          function drawLines()
          ctx.beginPath();
          ctx.lineWidth=3;
          ctx.lineTo(event.x-7, event.y-7);
          <canvas id="drawLine" width="300" height="300" onmousedown="hold();"
          <select name="colors"onclick="selectColor(this.selectedIndex)">
          <button type="button" onclick="drawMethod(1)"> LINE </button>
          element=document.getElementById("drawLine");
          element.setAttribute("width", window.innerWidth-15);
          element.setAttribute("height", window.innerHeight-50);
          context.strokeRect(0, 0, window.innerWidth-15, window.innerHeight-50);
         if(window.addEventListener){
  • ProgrammingWithInterface . . . . 35 matches
         상속을 사용하는 상황을 국한 시켜야 할 것같다. 상위 클래스의 기능을 100%로 사용하면서 추가적인 기능을 필요로 하는 객체가 필요할 때! .. 이런 상황일 때는 상속을 사용해도 후풍이 두렵지 않을 것 같다. GoF의 책이나 다른 DP의 책들은 항상 말한다. 상속 보다는 인터페이스를 통해 다형성을 사용하라고... 그 이유를 이제야 알 것같다. 동감하지 않는가? Base 클래스를 수정할 때마다 하위 클래스를 수정해야 하는 상황이 발생한다면 그건 인터페이스를 통해 다형성을 지원하는게 더 낫다는 신호이다. 객체는 언제나 [[SOLID|SRP (Single Responsiblity Principle)]]을 지켜야 한다고 생각한다.
          private int topOfStack = 0;
          for(int i=0; i<articles.length; ++i)
         상위 클래스가 가지는 메소드가 적다면 모두 [오버라이딩]하는 방법이 있지만 만약 귀찮을 정도로 많은 메소드가 있다면 오랜 시간이 걸릴 것이다. 그리고 만약 상위 클래스가 수정된다면 다시 그 여파가 하위 클래스에게 전달된다. 또 다른 방법으로 함수를 오버라이딩하여 예외를 던지도록 만들어 원치않는 호출을 막을 수 있지다. 하지만 이는 컴파일 타임 에러를 런타임 에러로 바꾸는 것이다. 그리고 LSP (Liskov Sustitution Principle : "기반 클래스는 파생클래스로 대체 가능해야 한다") 원칙을 어기게 된다. 당연히 ArrayList를 상속받은 Stack은 clear 메소드를 사용할 수 있어야 한다. 그런데 예외를 던지다니 말이 되는가?
          private int topOfStack = 0;
          for(int i=0; i<articles.length; ++i)
          public int size() {
          private int maxHeight = 0;
          private int minHeight = 0;
          if(size() < minHeight)
          minHeight = size();
          public int maximumSize() { return maxHeight; }
          public int minimumSize() { return minHeight; }
          private int topOfStack = -1;
          public int size() {
         interface Stack {
          int size();
          private int topOfStack = 0;
          for(int i=0; i<articles.length; ++i)
          public int size() {
  • TheTrip/문보창 . . . . 35 matches
         #include <iostream>
         #include <cmath>
         #include <cstdlib>
         using namespace std;
         const int MAX = 100;
         int exchangeMoney(const int * cost, const int n);
         void showExchange(const int * ex, const int count);
         int main() // cent단위로 계산
          int n; // 학생수
          int exchangeCost[MAX]; // 교환값
          int i, c;
          int count = 0;
          while (cin >> n)
          cin.get();
          int costs[1000]; // 각 학생들의 지출 비용
          while (cin.peek() != 'n')
          if (cin.peek() == '.')
          cin.get();
          cin.get(money[c++]);
          cin.get();
  • minesweeper/Celfin . . . . 35 matches
         #include <iostream>
         using namespace std;
         char mine[102][102];
         int x, y, i, j;
         int field=0;
         int blank=0;
         void SearchMine()
          if(mine[j][i]!='*')
          mine[j][i]=48;
          if(mine[j-1][i-1]=='*')
          mine[j][i]++;
          if(mine[j-1][i]=='*')
          mine[j][i]++;
          if(mine[j-1][i+1]=='*')
          mine[j][i]++;
          if(mine[j][i+1]=='*')
          mine[j][i]++;
          if(mine[j+1][i+1]=='*')
          mine[j][i]++;
          if(mine[j+1][i]=='*')
  • 문자반대출력/문보창 . . . . 35 matches
         #include <fstream>
         #include <algorithm>
         #include <string>
         using namespace std;
         string read_file();
         void write_file(const string & str);
         void main()
          string str = read_file();
          reverse(str.begin(), str.end()); // 문자열을 거꾸로 해주는 STL 함수
         string read_file()
          string str;
          fstream fin("source.txt");
          char ch = fin.get();
          ch = fin.get();
         void write_file(const string & str)
         #include <fstream>
         #include <algorithm>
         #include <string>
         using namespace std;
         string read_file();
  • Class/2006Fall . . . . 34 matches
          * [IntroduntionToAlgorithms]
          === [(zeropage)ArtificialIntelligenceClass] ===
          * Programming Report
          * [http://dblab.cse.cau.ac.kr/FS/index.html Home]
          * Team meeting #1 is on 27 Sep with msn messenger.
          * Team meeting #2 is on 3 Oct
          * Team meeting #3 is on 5 Oct
          * Team meeting #4 is on 10 Oct
          * Team meeting #5 is on 11 Oct
          * Team meeting #6 is on 21 Oct
          * Team meeting #7 is on 26 Oct
          * Team meeting #8 is on 9 Nov
          * Team meeting #9 is on 18 Nov
          * Final demonstration is on 5 Dec - 전체 최종본 제출
          === MobileComputingClass ===
          === IntermediateEnglishConversation ===
          * Persuaving Presentation until 6 Oct. I'll do it until 29 Sep.
          * Prepare debating about
          * Buying a College Degree is due to 3 Nov. But actually, I had to prepare Adultery.
          === Beggining English Conversation ===
  • DevelopmentinWindows . . . . 34 matches
          * '''Windows 서브시스템 - GUI 모드 에플리케이션 운영'''[[BR]]
          (앞으로 Windows 서브시스템 기반의 프로그래밍을 윈도우즈 프로그래밍이라고 하겠다.)
          * Windows CE 서브시스템 - Windows CE 에플리케이션 운영
          * 표준 사용자 인터페이스 제공 (["DevelopmentinWindows/UI"])
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/Message.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/Hardware.jpg
          * 윈도우즈 API (Application Program Interface)
          * Static-Link Library[[BR]]
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/SLL.jpg
          * Dynamic-Link Library[[BR]]
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/DLL.jpg
          DirectX - dplay.dll, dsound.dll, dinput.dll, ddraw.dll)
          ||INT||signed int||
          ||UINT||unsigned int||
          * 윈도우를 만드는 함수는 CreateWindow, 메시지를 보내는 함수는 SendMessage
          ||n 또는 i||INT 타입의 변수||
          ||u||UINT 타입의 변수||
          * ["DevelopmentinWindows/APIExample"] - 소스 보기
          * http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/API.zip - 다운 받기
          * ["DevelopmentinWindows/MFCExample"] - 소스 보기
  • EnglishSpeaking/2011년스터디 . . . . 34 matches
          * 참고 도서 : 한 달 만에 끝내는 OPIc (학생편/Intermediate) - 원글리쉬
          * [EnglishSpeaking/TheSimpsons]
          * 막연하게 Free Talking을 하면 아직 어색한 우리들, 어떠한 방법으로 이를 극복할 것인가?
          1. Free Talking
          1. Theme Talking
          * There are four members in my family: my father, mother, and a younger brother. Well, actually there are five including our dog. My father was a military officer for twenty years. He recently retired from service and now works in a weaponry company. My mother is a typical housewife. She takes care of me and my brother and keeps our house running well. My brother is attending a university in the U.S.A. He just entered the university as a freshman and is adjusting to the environment. I miss the memory of fighting over things with him. The last member of my family is my dog named Joy. She is a Maltese terrier and my mother named her Joy to bring joy into our family. That's about it for the introduction of my family members.
          * [EnglishSpeaking/TheSimpsons/S01E01]
          1. Free Talking
          1. Theme Talking
          * [송지원] - 혹시나 했지만 역시나 현지 영어 따라하기는 쉽지 않습니다. 짧은 몇 줄 문장을 외워서 따라하기는 어렵지만 많이 하면 실력이 늘 거라는 생각은 들어요. Free Talking은 제가 하고 싶은 말을 나름 자유롭게 구사해서 만족했는데 Theme Talking에서는 한계를 느끼고 한국어를 섞어서 그 점이 좀 아쉬웠어요. 다음 주에는 The Simpsons.. 정말 4명이 함께 하기를 (온 성의를 다해 대본을 준비하는 만큼;ㅁ;)
          * [EnglishSpeaking/TheSimpsons/S01E02]
          1. Free Talking
          1. Theme Talking
          * [송지원] - 지난 번에 심슨 따라하기 보다 역할을 분담하니 조금 수월해졌다는 느낌이었습니다. 특히, 재미있는 장면을 선정해서 지난 번보다 조금 더 몰입할 수 있었어요. (지난 번엔 마지가 너 고민 있는듯 하다 뭐 이런 내용이었는데 이번엔 온 가족이 Scrabble 게임을 하는 장면 ㅋㅋ) Free Talking을 하면서 느낀 건 맨 처음 영어 스터디를 시작할 때보다 말문이 많이 트였다는 점. 이젠 6피에서 영어 쓰는 것도 그렇게 쪽팔리기만 하지는 않네요.
          * [EnglishSpeaking/TheSimpsons/S01E03]
          1. Free Talking
          1. Theme Talking
          * [EnglishSpeaking/TheSimpsons/S01E04]
          1. Theme Talking
          * [EnglishSpeaking/TheSimpsons/S01E05]
  • EuclidProblem/조현태 . . . . 34 matches
         #include <stdio.h>
         int Get_GCM(int , int );
         void Get_x_y(int, int, int*, int*, int );
         void main()
          int input_a, input_b;
          int x=0, y=0, gcm=0;
          printf ("두 숫자를 입력해 주세요.(0,0)은 정지\n>>");
          scanf ("%d%d",&input_a,&input_b);
          if (0==input_a && 0==input_b)
          gcm=Get_GCM(input_a, input_b);
          Get_x_y(input_a, input_b, &x, &y, gcm);
          printf ("결과 : x=%d\ty=%d\tGCM=%d\n",x,y,gcm);
         void Get_x_y(int number_a, int number_b, int* x, int* y, int gcm)
          int *temp_large, *temp_small, temp_plus=1;
         int Get_GCM(int number_a, int number_b)
          int temp;
  • EnglishSpeaking/2012년스터디 . . . . 33 matches
         = Outline =
          * Goal : To talk naturally about technical subject in English!
          * [https://trello.com/board/english-speaking-study/5076953bf302c8fb5a636efa Trello]
          * Don't be nervous! Don't be shy! Mistakes are welcomed. We talk about everything in English.
         = Regular Meetings =
          * [http://www.youtube.com/watch?v=C3p_N9FPdy4 English Speaking Schools Are Evil]
          * [http://www.youtube.com/watch?v=xkGGTN8wh9I Speaking English- Feel Nervous & Shy?]
          * Free talking and retrospective.
          * [http://www.bombenglish.com/2008/01/27/1-host-introductions/ Bomb English - Episode 1]
          * We listened audio file and read part of script by taking role.(And after reading script once, we also change our role and read script again.)
          * We tried to do shadowing but we found that conversation is not fit to do shadowing.
          * Free talking and retrospective.
          * 2nd time of ESS! Our English speaking ability is not growing visibly but that's OK. It's just 2nd time. But we need to study everyday for expanding our vocabulary and increasing our ability rapidly. Thus I'll memorize vocabulary and study with basic English application(It's an android application. I get it for FREE! YAY!) I wish I can speak English more fluent in our 20th study. XD
          * Free talking and retrospective.
          * Today, we were little confused by Yunji's appearance. We expected conversation between 2 persons but there were 3 persons who take part in episode 2. And we made a mistake about deviding part. Next time, when we get 3 persons' conversation again, we should pay attention to devide part equally. Or we can do line by line reading instead of role playing.
          * We decided to talk about technical subject freely, about 3 minutes in every month. It might be a little hard stuff at first time. But let's do it first and make it better gradually. Do not forget our slogan(?) - '''''Don't be nervous! Don't be shy! Mistakes are welcomed.'''''
  • FileInputOutput . . . . 33 matches
         === in C++ ===
         #include <fstream>
         using namespace std;
         int main()
          ifstream fin("input.txt"); // fininput.txt를 연결
          int a,b;
          fin >> a >> b; // cin으로 화면에서 입력받는다면, fin은 연결된 파일로부터 입력받는다.
         input.txt
         fin = file('input.txt')
         a,b=[int(i) for i in fin.read().split()]
         print >> fout,(a+b) #혹은 fout.writeline( str(a+b)+'n' )
         fin.close()
         input.txt
         String inputString;
         InputStreamReader isr = new InputStreamReader(new FileInputStream(fileName));
         while((inputString = br.readLine()) != null) {
          buf = buf + inputString ;
          System.out.println("Error : "+ e.toString()); {}
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/허준수 . . . . 33 matches
         #include <iostream>
         #include <cstring>
         #include <cstdlib>
         using namespace std;
         class myString{
          myString() {
          myString(const char* ch) {
          myString(const myString& s) {
          ~myString() {
          int length() const {
          int temp = strlen(ch);
          void operator = (const myString& s) {
          char& operator[] (int n) {
          //friend ostream& operator << (ostream& o, myString &s);
         ostream& operator << (ostream& o, const myString& s) {
         istream& operator >> (istream& i, myString& s) {
         int main()
          myString s = "12345";
          /*myString s1, s2;
          /*myString s1 = "123", s2;
  • 데블스캠프2011/둘째날/후기 . . . . 33 matches
         == 김동준/Cracking ==
          * Hacking != Cracking. Cheat Engine, 자바스크립트를 이용한 사이트 공격? 툴을 이용한 Packet Cracking 등 개인적으로 무척 재미있던 세미나였습니다. 뭐... 사실 많이들 관심은 있지만 실제로 하는 걸 보는 건 흔치 않은 만큼 이번에 세미나를 볼 수 있었던 것은 여러모로 행운이었다고 생각합니다. 더군다나 질문을 꽤 많이 했는데 선배님이 친절하게 답변을 해 주셔서 정말 감사했습니다. 웹 쪽은 이래저래 공격을 당할 가능성도 높은 만큼 나중에 그쪽으로 가게 된다면 관련 기술들도 배워둬야 하지 않을까 싶군요.
          * Craking이 우리가 보통때 말하는 Hacking이었다는걸 처음(사실 저번에 한번 들은거 같지만) 깨달았네요. 또, 이전까지 그런 툴을 만드는 사람들은 도대체 어떻게 만드는가! 싶었는데 어셈을 이용해서 만들곤 한다는 걸 보며, 음.. 좋군(?) 쇼핑몰중에 지금도 간단한 방법으로 털리는 곳이 있던데, 비밀번호까지 털 수 있다거나 하는걸 보니 정보보안의식에 대한 자각이 들었던거 같기도 하구요.(캐시 충전사건으로 문제가 생긴적이 있다는걸 듣고 충격!) 뚫을 수 있는 사람이 막을 수도 있다고 하니 정보보안쪽을 공부해보고 싶다면 Craking에 대해서도 아는게 좋을거 같군요. 저는 처음보는 형이었는데, 형 세미나에서 많은걸 배울 수 있었던거 같습니다.
          * 리버싱 프로그래밍 하는 것을 보고, 패킷을 주고 받는 것을 얻어서 사용한다던지 또 웹에서 javascript injection으로 쿠키를 얻어서 그것을 사용할 수 있는 사이트에서 다른 아이디로 로그인 하는 것도 보았다. 정말 신기했지만 그렇게까지 하기 위해서는 무지하게 다양한 내용을 알아야 할 것 같았다.ㅜ
          * 역시 실전 Cracking은 다른 사람 앞에서 보여주려고 하면 잘 안되는 것 같아요. 동준이가 다년간 쌓아왔던 노하우를 그냥 보여주지는 못하게 하는군요 ㅋㅋ 많이 노력한 동준이에게 큰 박수를!!
          * 이번 주제는 1학년 때 새싹 스터디 하면서 잠깐 보여주었던 내용을 다시금 보게 되어서 재미있었습니다. Cheat Engine을 직접 사용해 볼 수 있는 부분도 상당히 매력있었습니다. 많이들 듣던 해킹에 대한 정확한 정의도 알게 되었고 그 과정이 어떻게 되는지 조금이나마 알 수 있었던 부분이었습니다. 세미나에서 보여주고자 했던 게임이 생각되로 되지 않아 아쉽긴 했지만, 한편으로는 저렇기 때문에 보안이 중요하다는 것도 다시금 생각할 수 있었습니다.
          * 씐나는 Cheat-Engine Tutorial이군요. Off-Line Game들 할때 이용했던 T-Search, Game-Hack, Cheat-O-Matic 과 함께 잘 사용해보았던 Cheat-Engine입니다. 튜토리얼이 있는지는 몰랐네요. 포인터를 이용한 메모리를 바꾸는 보안도 찾을수 있는 대단한 성능이 숨겨져있었는지 몰랐습니다. 감격 감격. 문명5할때 문명 5에서는 값을 *100 + 난수로 해놔서 찾기 어려웠는데 참. 이제 튜토리얼을 통해 어떤 숨겨진 값들도 다 찾을 수 있을것 같습니다. 그리고 보여주고 준비해왔던 얘제들을 통해 보안이 얼마나 중요한지 알게되었습니다. 보안에 대해 많은걸 생각하게 해주네요. 유익한시간이었습니다. 다음에 관련 책이 있다면 한번 읽어볼 생각이 드네요.
         == 남상협/Machine Learning ==
         깨닫게 해주는 시간이었습니다! TSP 와 더불어 오늘 했던 Machine Learning 도 방학 중 공부할 목록에 추가해야겠군요 ^^
         링크 : [:데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/김동준 Machine-Learning의 제 코드입니다.]
          * 수식은 어떤식으로 문서를 분석하는건지 알것같은데.. 파일입출력을 제대로 못해서 시도조차 못해봤습니다.ㅠㅠ 기초 능력이 부족한 탓이네요, C로 train 파일을 입력받아 변수에 단어별로 저장하고 단어의 개수를 세는것까지는 했지만 그 이상은 하지 못했습니다.. 능력부족을 실감했어요
         #include <stdio.h>
         #include <math.h>
         #include <string.h>
         main() {
          char* test_string;
          FILE* fpe = fopen("C:\\train\\economy\\index.economy.db", "r");
          FILE* fpp = fopen("C:\\train\\politics\\index.politics.db", "r");
  • NamedPipe . . . . 32 matches
         A named pipe is a named, one-way or duplex pipe for communication between the pipe server and one or more pipe clients. All instances of a
         named pipe share the same pipe name, but each instance has its own buffers and handles, and provides a separate conduit for client-server communication. The use of instances enables multiple pipe clients to use the same named pipe simultaneously.
         Any process can access named pipes, subject to security checks, making named pipes an easy form of communication between related or unrelated processes. Named pipes can be used to provide communication between processes on the same computer or between processes on different computers across a network.
         Any process can act as both a server and a client, making peer-to-peer communication possible. As used here, the term pipe server refers to a process that creates a named pipe, and the term pipe client refers to a process that connects to an instance of a named pipe.
         == 2. using ==
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
         #include <windows.h>
         VOID InstanceThread(LPVOID); // 쓰레드 함수
         int xx = 0;
         DWORD main(VOID)
         // The main loop creates an instance of the named pipe and
          PIPE_WAIT, // blocking mode
          PIPE_UNLIMITED_INSTANCES, // max. instances
          BUFSIZE, // input buffer size
          if (hPipe == INVALID_HANDLE_VALUE)
          (LPTHREAD_START_ROUTINE) InstanceThread, // InstanceThread를 생성시킨다.
         VOID InstanceThread(LPVOID lpvParam)
         // The thread's parameter is a handle to a pipe instance.
  • One/박원석 . . . . 32 matches
         #include <stdio.h>
         void main()
          int i[10],j,k;
          printf("%3d",i[j]);
         #include <stdio.h>
         void main()
          int i;
          int sum=0;
          printf("1부터 10까지의 합은 %d입니다.",sum);
         #include <stdio.h>
         void main()
          int i;
          int sum=1;
          printf("1부터 10까지의 총곱은 %d입니다.",sum);
         #include <stdio.h>
         void main()
          int i;
          continue;
          printf("%3d",i);
         #include <stdio.h>
  • ScheduledWalk/임인택 . . . . 32 matches
         import java.io.DataInputStream;
         import java.io.FileInputStream;
          private int board[][];
          private String schedule;
          private int curX, curY;
          private int size;
          private int dirX[] = {0,1,1,1,0,-1,-1,-1};
          private int dirY[] = {-1,-1,0,1,1,1,0,-1};
          for(int i=0; i<schedule.length(); ++i) {
          int idx = (int)(c - '0');
          DataInputStream din
          = new DataInputStream(new FileInputStream(new File("input2.txt")));
          size = Integer.parseInt(din.readLine());
          board = new int[size][size];
          String pos = din.readLine();
          String startPoint[] = pos.split(" ");
          curX = Integer.parseInt(startPoint[0]);
          curY = Integer.parseInt(startPoint[1]);
          schedule = din.readLine();
          e.printStackTrace();
  • Temp/Commander . . . . 32 matches
         #VendingMachineCommander.py
         import cmd, cStringIO
         import VendingMachineParser
          for cmd in cmds:
          print cmd
          def __init__(self,handler=defaultHandler):
          cmd.Cmd.__init__(self)
          self.parser = VendingMachineParser.Parser()
          self.doc_header = "Type 'help <topic>' for info on:"
          self.intro = 'Welcome to Vending Machine Simulator!\n'\
          def default(self,line):
          cmds = self.parser.parse(aString=line,aName='Console')
          def do_quit(self,line):
          def postcmd(self,stop,line):
          def help_help(self): print 'I need help!'
          def help_quit(self): print 'Duh.'
          print 'put <10 | 50 | 100 | '\
          print 'put a coin or a paper into the slot'
          print 'push <white | black | sugarwhite | sugarblack>'
          print 'push a button on the front panel'
  • [Lovely]boy^_^/Diary/2-2-16 . . . . 32 matches
          * I completely destroy the marriage and family final-exam.--;
          * I borrow the Role Playing Game with DirectX.
          * Today, All final-exams will end.
         DeleteMe) I envy you. In my case, all final-exams will end at Friday. Shit~!!! -_- Because of dynamics(In fact, statics)... -_-;; --["Wiz"]
          * It's 1st day of a winter school vacation. I must do a plan.
          * I read a novel named the Brain all day. Today's reading amount is about 600 pages. It's not so interesting as much as the price of fame.
          * '''When I am given a motive, I can do the things extreme.'''
          * I studied Grammar in Use Chapter 39,40. I have not done study this book since then summer.--;
          * I read a little Power Reading. Today's reading's principle content is using a regulator(ex) pen, pinger. etc). but this method is what I have used all the time.--; I should read a lot more.
          * I studied ProgrammingPearls chapter 3. When I was reading, I could find familiar book name - the Mythical Man Month, and Code Complete.
          * I summarized a ProgrammingPearls chapter 3.
          * I typed directX codes from NeXe sites, because RolePlaying Games with DirectX that I borrowed some days ago is so difficult for me. Let's study slow and steady...
          * I studied ProgrammingPearls chapter 4,5. Both 4 and 5 are using a binary search. Its content is no bug programm.
          * I studied Grammar in Use Chapter 41,42.
          * My mom was leaving a hospital. ^^
          * '''Keeping the code simple is usually the key to correctness.'''
          * I summarized a ProgrammingPearls chapter 4,5.
          * I summarized a ProgrammingPearls chapter 6.
          * I don't know my drinking amount yet.--;
  • 토이/숫자뒤집기/김남훈 . . . . 32 matches
         #include <stdio.h>
         #include <string.h>
         const int MAX_BUF = 10;
         void inverseNumber(const char * input);
         int main(void) {
          char input[MAX_BUF];
          scanf("%s", input);
          inverseNumber(input);
         void inverseNumber(const char * input) {
          int i;
          int len = strlen(input);
          printf("%c", input[i]);
          printf("\n");
         public class InverseNumber {
          public void inverse(String input) {
          char [] c = input.toCharArray();
          for (int i = c.length - 1; i >= 0; i--)
          System.out.print(c[i]);
          System.out.println();
          public void inverse(int input) {
  • AcceleratedC++/Chapter1 . . . . 31 matches
         #include <iostream>
         #include <string>
         int main() {
          std::string name;
          std::cin >> name;
          // write a greeting
         // ask for the person's name, and generate a framed greeting
         #include <iostream>
         #include <string>
         int main() {
          std::string name;
          std::cin >> name;
          // build the message that we intend to write
          const std::string greeting = "Hello, " + name + "!";
          // build the second and fourth lines of the output
          const std::string spaces(greeting.size(), ' ');
          const std::string second = "* " + spaces + " *";
          // build the first and fifth lines of the output
          const std::string first(second.size(), '*');
          std::cout << "* " << greeting << " *" << std::endl;
  • LUA_2 . . . . 31 matches
         > print(type("TEST")) --- 문자열
         string
         > print(type(1)) --- 숫자
         >print(type(true)) --- 논리 자료형
         >print(type(nil)) --- NULL 값
         > print(type({}))
         > print(t[1])
         > print(1) --- 상수
         > print(0xa) --- 16진수
         > print(1.1) --- 실수
         > print(1e2) --- 지수형 1 * 10^2
         > print(1/0)
         1.#INF
         > print( 1 > 2 )
         nill 은 단순히 자료형일 뿐만 아니라 instance화 되지 않은 모든 객체 형태를 말합니다.
         > print( test )
         > print(sum)
         >print (a)
         >print(b)
         > print (a)
  • 김신애/for문예제1 . . . . 31 matches
         #include <iostream.h>
         int main()
          for (int i =1; i < 11 ; i=i++)
         #include <iostream.h>
         int main()
          int b;
          cin >>b;
          for (int a=1;a<10;a=a+1)
         #include <iostream.h>
         int main()
          for (int b=2;b<10;b=b+1)
          for (int a=1;a<10;a=a+1)
         #include <iostream.h>
         int main()
          int array[10] = {1,2,3,4,5,6,7,8,9,10};
          for (int i = 0 ; i < 10 ; i++)
          int array_[10];
         int 형 배열 10개에 cin으로 입력 받은 값을 저장해서 배열의 합을 출력~!
         #include <iostream.h>
         int main()
  • 마방진/곽세환 . . . . 31 matches
         #include <iostream>
         using namespace std;
         int main()
          int input, count, row, col;
          int **mabang;
          int i, j;
          cin >> input;
          while (input % 2 == 0)
          cin >> input;
          mabang = new int*[input];
          for (i = 0; i < input; i++)
          mabang[i] = new int[input];
          for (i = 0; i < input; i++)
          for (j = 0; j < input; j++)
          row = 0; col = input / 2;
          while (count != input * input)
          if (mabang[(row - 1 == -1 ? input - 1 : row - 1)][(col + 1 == input) ? 0 : col + 1] == 0)
          row = input - 1;
          if (col == input)
          for (i = 0; i < input; i++)
  • C++ . . . . 30 matches
         C++ (pronounced "see plus plus") is a general-purpose computer programming language. It is a statically typed free-form multi-paradigm language supporting procedural programming, data abstraction, object-oriented programming, and generic programming. During the 1990s, C++ became one of the most popular commercial programming languages.
         Bell Labs' Bjarne Stroustrup developed C++ (originally named "C with Classes") during the 1980s as an enhancement to the C programming language. Enhancements started with the addition of classes, followed by, among many features, virtual functions, operator overloading, multiple inheritance, templates, and exception handling. The C++ programming language standard was ratified in 1998 as ISO/IEC 14882:1998, the current version of which is the 2003 version, ISO/IEC 14882:2003. New version of the standard (known informally as C++0x) is being developed.
         In C and C++, the expression x++ increases the value of x by 1 (called incrementing). The name "C++" is a play on this, suggesting an incremental improvement upon C.|}}
         C++은 범용성을 가진 컴퓨터 언어이다. 이는 정적으로 분류된(?) 다중 패라다임을 지원하는 언어이다. ( [:절차적프로그래밍 절차적 프로그래밍], [:GenericProgramming 제네릭 프로그래밍]을 지원한다.) 1990년대에 C++은 가장 상업적으로 인기가 있는 언어중의 하나가 되었다.
         벨 연구소의 [http://www.research.att.com/~bs/homepage.html Bjarne Stroustrup]은 1980년대에 당시의 [C]를 개선해 C++을 개발하였다. (본디 C with Classes라고 명명했다고 한다.) 개선된 부분은 클래스의 지원으로 시작된다. (수많은 특징들 중에서 [가상함수], [:연산자오버로딩 연산자 오버로딩], [:다중상속 다중 상속], [템플릿], [예외처리]의 개념을 지원하는) C++ 표준은 1998년에 ISO/IEC 14882:1998로 재정되었다. 그 표준안의 최신판은 현재 ISO/IEC 14882:2003로서 2003년도 버전이다. 새 버전의 표준안(비공식 명칭 [C++0x])이 현재 개발중이다. [C]와 C++에서 ++이라는 표현은 특정 변수에 1의 값을 증가시키는 것이다. (incrementing이라 함). C++이라는 명칭을 이와 동일한 의미를 갖는데, [C]라는 언어에 증가적인 발전이 있음을 암시하는 것이다.
          * [RuminationOnC++]
          * [C++/SmartPointer]
         [ProgrammingLanguage], [C++0x]
         [[include(틀:ProgrammingLanguage)]]
  • MoinMoin . . . . 30 matches
          * 모인모인 스크린샷 : [http://moinmoin.wikiwikiweb.de/MoinMoinScreenShots]
         === Links ===
          * [http://sourceforge.net/projects/moin/ SourceForge Project Info]
          * [http://moin.sourceforge.net/ Project Homepage]
          * [http://freshmeat.net/projects/moin FreshMeat Entry]
         "Moin" meaning "Good Morning", and "MoinMoin" being an emphasis, i.e. "A ''Very'' Good Morning". The name was obviously chosen for its WikiWikiNess.
         ''No! Originally "MoinMoin" does '''not''' mean "Good Morning". "Moin" just means "good" or "nice" and in northern Germany it is used at any daytime, so "Good day" seems more appropriate.'' --MarkoSchulz
         Mmmmh , seems that I can enrich so more info: "Moin" has the meaning of "Good Morning" but it is spoken under murmur like "mornin'" although the Syllable is too short alone, so it is spoken twice. If you shorten "Good Morning" with "morn'" it has the same effect with "morn'morn'". --Thomas Albl
         We use it all day in the south too. I always thought it just morphed from a morning greeting to an all-day one. -- J
  • Ruby/2011년스터디/서지혜 . . . . 30 matches
          * windows API로 프로세스의 정보 받아오기 ([http://sosal.tistory.com/100 원본])
         #include <stdio.h>
         #include <stdlib.h>
         #include <tchar.h>
         #include <Windows.h>
         #include <TlHelp32.h>
         int _tmain(int argc, TCHAR *argv[]){
          if(hProcessSnap == INVALID_HANDLE_VALUE) {
          _tprintf(_T("CreateToolhelp32Snapshot erre\n"));
          // structure to hold process's inform
          _tprintf(_T("Process32First error!\n"));
          _tprintf(_T("\t[Process name]\t[PID]\t[ThreadID]\t[PPID]\n"));
          int countProcess=0;
          _tprintf(_T("%25s %8d %8d %8d\n"),
          printf("number of process = %d", countProcess);
         #include <stdio.h>
         #include <stdlib.h>
         #include <tchar.h>
         #include <Windows.h>
         #include <TlHelp32.h>
  • 데블스캠프2002/진행상황 . . . . 30 matches
          * OOP를 바로 설명하기 전에 나의 프로그래밍 사고 방식을 깨닫고, StructuredProgramming 의 경우와 ObjectOrientedProgramming 의 경우에는 어떠한지, 그 사고방식의 이해에 촛점을 맞추었다.
          * StructuredProgramming - 창준이형이 역사적인 관점에서의 StructuredProgramming에 대해 설명을 하셨다. 그 다음 ["1002"]는 ["RandomWalk2"] 문제에 대해서 StructuredProgramming을 적용하여 풀어나가는 과정을 설명해 나갔다. (원래 예정의 경우 StructuredProgramming 으로 ["RandomWalk2"] 를 만들어가는 과정을 자세하게 보여주려고 했지만, 시간관계상 Prototype 정도에서 그쳤다)
          * ObjectOrientedProgramming - ["RandomWalk2"] 에 대해서 창준이형과 ["1002"] 는 서로 이야기를 해 나가면서 하나씩 객체들을 뽑아내가는 과정을 설명했다. 일종의 CRC 카드 세션이었다. 그러고 나서는 프로젝터를 통해, 직접 Prototype을 만들어 보였다. OOP/OOAD로 접근하는 사람의 사고방식과 프로그래밍의 과정을 바로 옆에서 관찰할 수 있었다.
          * Python 기초 + 객체 가지고 놀기 실습 - Gateway 에서 Zealot, Dragoon 을 만들어보는 예제를 Python Interpreter 에서 입력해보았다.
          * ["RandomWalk2"] 를 ObjectOrientedProgramming 으로 구현하기 - 위의 Python 관련 실습동안 ["1002"] 는 ["RandomWalk2"] 에 대해서 C++ Prototype을 작성. (["RandomWalk2/ClassPrototype"]) 이를 뼈대로 삼아서 ["RandomWalk2"] 를 작성해보도록 실습. 해당 소스에 대한 간략한 설명, 구현의 예를 설명. 중간에 객체들에 대한 독립적인 테스트방법을 설명하면서 assert 문을 이용한 UnitTest 의 예를 보였다.
         Python으로 만든 스타크래프트 놀이는 참가자들이 무척이나 좋아했다. 또 그 직전에 Python Interactive Shell에서 간단하게 남자, 여자, 인간 클래스를 직접 만들어 보게 한 것도 좋아했다. 아주 짧은 시간 동안에 OOP의 "감"을 느끼게 해주는 데 일조를 했다고 본다.
          * '''Pair Teaching''' 세미나를 혼자서 진행하는게 아닌 둘이서 진행한다면? CRC 디자인 세션이라던지, Structured Programming 시 한명은 프로그래밍을, 한명은 설명을 해주는 방법을 해보면서 '만일 이 일을 혼자서 진행했다면?' 하는 생각을 해본다. 비록 신입회원들에게 하고싶었던 말들 (중간중간 팻감거리들;) 에 대해 언급하진 못했지만, 오히려 세미나 내용 자체에 더 집중할 수 있었다. (팻감거리들이 너무 길어지면 이야기가 산으로 가기 쉽기에.) 그리고 내용설명을 하고 있는 사람이 놓치고 있는 내용이나 사람들과의 Feedback 을 다른 진행자가 읽고, 다음 단계시 생각해볼 수 있었다.
         다른 하나는, 요구사항이 어떻게 제시되느냐가 산출물로서의 프로그램에 큰 영향을 끼친다는 점이다. 요구사항이 어떤 순서로 제시되느냐, 심지어는 어떤 시제로 제시되느냐가 프로그램에 큰 영향을 끼친다. 심리학에서 흥미로운 결과를 찾아냈다. "내일은 한국과 브라질의 경기날입니다. 결과가 어떻게 될까요?"라는 질문과, "어제는 한국과 브라질의 경기가 있었습니다. 결과가 어땠나요?"라는 질문에 대해 사람들의 대답은 큰 차이가 있었다. 후자 경우가 훨씬 더 풍부하고, 자세하며, 구체적인 정보를 끌어냈다. 이 사실은 요구사항에도 적용이 되어서, 요구사항의 내용을 "미래 완료형"이나 "과거형"으로 표현하는 방법(Wiki:FuturePerfectThinking )도 생겼다. "This system will provide a friendly user interface"보다, "This system will have provided a friendly user interface"가 낫다는 이야기다. 어찌되었건, 우리는 요구사항이 표현된 "글" 자체에 종속되고, 많은 영향을 받는다.
         처음 ["1002"]가 계획한 세미나 스케쥴은 조금 달랐다. "어떻게 하면 ObjectOrientedProgramming의 기본 지식을 많이 전달할까"하는 질문에서 나온 스케쥴 같았다. 나름대로 꽤 짜임새 있고, 훌륭한(특히 OOP를 조금은 아는 사람에게) 프로그램이었지만, 전혀 모르는 사람에게 몇 시간 동안의 세미나에서 그 많은 것을 전달하기는 무리가 아닐까 하고 JuNe은 생각했다. 그것은 몇 번의 세미나 경험을 통해 직접 느낀 것이었다. 그가 그간의 경험을 통해 얻은 화두는 다음의 것들이었다. 어떻게 하면 적게 전달하면서 충분히 깊이 그리고 많이 전달할까. 어떻게 하면 작은 크기의 씨앗을 주되, 그것이 그들 속에서 앞으로 튼튼한 나무로, 나아가 거대한 숲으로 잘 자라나게 할 것인가.
         그래서 ["1002"]와 JuNe은 세미나 스케쥴을 전면적으로 재구성했다. 가르치려던 개념의 수를 2/3 이하로 확 잘랐고, 대신 깊이 있는 학습이 되도록 노력했다. 가능하면 "하면서 배우는 학습"(Learn By Doing)이 되도록 노력했다.
          * 세미나 - DevelopmentinWindows, EventDrivenProgramming, Web Programming
          * DevelopmentinWindows 세미나는 신입생들에게는 조금 어려웠나봅니다. 준비도 많이 하고 쉽게 설명하려고 복잡한건 다 뺐는데...... 그래도 어려웠나봅니다. 어쨌든 조금이나마 도움이 되었으면 좋겠습니다. --상규
          * Web Programming 때 상규의 보충설명을 보면서 상규가 대단하다는 생각을 해봤다. 간과하고 넘어갈 뻔 했었던 Web Program의 작동원리에 대해서 제대로 짚어줬다고 생각한다. --["1002"]
         EventDrivenProgramming 의 설명에서 또하나의 새로운 시각을 얻었다. 전에는 Finite State Machine 을 보면서 Program = State Transition 이란 생각을 했었는데, Problem Solving 과 State Transition 의 연관관계를 짚어지며 최종적으로 Problem Solving = State Transition = Program 이라는 A=B, B=C, 고로 A=C 라는. 아, 이날 필기해둔 종이를 잃어버린게 아쉽다. 찾는대로 정리를; --["1002"]
          * Unix 가 뭐하는거에요? Linux 랑 다른거에요?
          * ["neocoin"] : 정직, 맘 상했다면 정말 미안하다. 미리 언질을 주고 덧붙이기를 하더라도 해야 했는데, 시간이 모자라서 그냥 막무가내로 나와서 이야기를 풀어 놓았구나. 그리고, 앞에서 이야기 하던 중 영문도 모르게, 박수를 받게 만든 남훈이에게도 미안 하다. 엎드려 있는 사람을 완전히 깨우기 위해 '환기의 큰소리'가 필요 했었다. 앉아 있는 사람들은 못느꼈을지 모르겠지만, 앞에서 보고 있던 나는, 그 박수 소리로 마지막 2명이 일어나 칠판을 바라 보는 큰 효과를 보았다. 박수 후 이야기 중 불쾌한 모습 보이지 않아서 고맙다. --["상민"]
  • 새싹교실/2011/쉬운것같지만쉬운반/2011.3.29 . . . . 30 matches
          1. printf 함수의 작동 원리
          (x와 y는 다음과 같이 선언되어 있다., int x = 31; int y = 9;)
          4. 다음 printf 함수와 scanf 함수 사용 중 틀린 것을 고르고, 제대로 고치시오.
          printf("%d + %d = %d\n", 3, 4);
          printf(3 + 4 = 7);
          printf("Olleh~!\n");
          scanf("%d", x); //x는 int형 으로 선언되어 있다고 가정.
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 오늘 배운 것은 printf의 사용법과 각종 연산자에 대한 것이었다. 예전에 배운 적이 있지만 다시 배우니 더 깊이 알게 된 것 같다. 프로그래밍은 배울 수록 느는 것 같다. 앞으로도 복습은 소홀히 하지 않아야겠다. - [장용운]
          printf("%d + %d = %d\n", 3, 4);
          '''printf(3 + 4 = 7);'''
          printf("Olleh~!\n");
          scanf("%d", x); //x는 int형 으로 선언되어 있다고 가정.
          printf("%d + %d = %d\n", 3, 4);
          printf("3 + 4 = 7");
          printf("Olleh~!\n");
          scanf("%d", x); //x는 int형 으로 선언되어 있다고 가정.
         1. 개행 문자(\n)는 printf 함수에서 줄을 넘길 때 사용합니다. 이것에 캐리지 리턴(\r)을 직접 타이핑하지 않는 이유는 printf 함수가 텍스트 모드로 출력하기 때문에 자동으로 캐리지 리턴이 앞에 붙게 되기 때문입니다.
          printf("%d + %d = %d\n", 3, 4 ''', 3+4''');
          printf('''"'''3 + 4 = 7'''"'''); '''//잘 보면 문자열을 감싸는 두 개의 큰따옴표에 하이라이트 되어있습니다'''
  • STL/map . . . . 29 matches
          * include : map
         #include <map>
         map<string, long> m;
          * STL의 container 들은 모두 비슷한 모양의 순회를 한다.
         for(map<int, int>::iterator i; i = m.begin() ; i != m.end() ; ++i) {
         #include <iostream>
         #include <map>
         #include <string>
         using namespace std;
         int main()
          map<string, long> directory;
          map<string, long>::iterator i;
          i = directory.begin();
          string name;
          while( cin >> name ){
          if (directory.find(name) != directory.end())
         아쉬운점 : VC++ 6.0 에서 map 한번 쓰면 warning 이 72개가 뜬다; STLPort 를 써야 할까..
          warning 의 이유는 STL에서 나오는 디버그의 정보가 VC++ 디버그 정보를 위해 할당하는 공간(255byte)보다 많기 때문입니다. 보통 디버그 모드로 디버깅을 하지 않으면, Project setting에서 C/C++ 텝에서 Debug info 를 최소한 line number only 로 해놓으면 warning 는 없어 집니다. 그래도 warning 가 난다면 C/C++ 텝에서 Generate browse info 를 비활성(기본값)화 시키세요.
         # pragma warning( disable : 4786 ) 하시면 됩니다.
  • Self-describingSequence/1002 . . . . 29 matches
         for i in [100,9999,123456,1000000000]: print selfDescrib(i)
         def findGroupIdx(table,n,startPos=0):
          for i in xrange(len(table)):
          for i in xrange(3,n+1):
          theGroupIdx = findGroupIdx(table,i)
          return findGroupIdx(table,n)
         풀고 나니, 그래도 역시 1000000000 에 대해서는 굉장히 느림. 느릴 부분을 생각하던 중 findGroupIdx 부분이
         문제임을 생각. 이를 binary search 구현으로 바꿈.
         def findGroupIdx(table,n,startPos=0):
          if n<x: return findGroupIdx(table[:midIdx],n,startPos)
          else: return findGroupIdx(table[midIdx+1:],n,startPos+midIdx+1)
         binary search 로 바꾸고 나서도 역시 오래걸림. 다른 검색법에 대해서 생각하던 중, findGroupIdx 함수 호출을 할때를 생각.
         class FindGroupIdxs:
          def __init__(self,table):
          def find(self,n):
          finder = FindGroupIdxs(table)
          for i in xrange(3,n+1):
          theGroupIdx = finder.find(i)
          return finder.find(n)
         def main():
  • TicTacToe/노수민 . . . . 29 matches
         import javax.swing.*;
          private static final int O = 1;
          private static final int X = 2;
          int board[][];
          int turn = 1;
          board = new int[3][3];
          "Player" + turn + "Win!");
          int row, col;
          row = (int) ((e.getX() - 100) / 100);
          col = (int) ((e.getY() - 100) / 100);
          repaint();
          if (checkWin()) {
          "Player" + turn + "Win!");
          public boolean checkBoard(int r, int c) {
          public boolean checkWin() {
          for (int i = 0; i < 3; i++) {
          public static void main(String args[]) {
          public void paint(Graphics g) {
          for (int i = 0; i <= 3; i++) {
          g.drawLine(100, 100 + 100 * i, 400, 100 + 100 * i);
  • 논문번역/2012년스터디/이민석 . . . . 29 matches
          * 「Experiments in Unconstrained Offline Handwritten Text Recognition」 번역
          * 다음 주까지 1학년 1학기에 배운 Linear Algebra and Its Applications의 1.10, 2.1, 2.2절 번역하기
         == Experiments in Unconstrained Offline Handwritten Text Recognition(제약 없는 오프라인 필기 글자 인식에 관한 실험) ==
         오프라인 필기 글자 인식을 위한 시스템을 소개한다. 이 시스템의 특징은 분할이 없다는 것으로 인식 모듈에서 한 줄을 통째로 처리한다. 전처리, 특징 추출(feature extraction), 통계적 모형화 방법을 서술하고 저자 독립, 다저자, 단일 저자식 필기 인식 작업에 관해 실험하였다. 특히 선형 판별 분석(Linear Discriminant Analysis), 이서체(allograph) 글자 모형, 통계적 언어 지식의 통합을 조사하였다.
         필기 글자 인식은 패턴 인식의 도전적인 분야다. 지금까지의 오프라인 필기 인식 시스템들은 대부분 우편 주소 읽기나 은행 수표 같은 형식을 처리하는 데 적용되었다. [14] 이들 시스템이 개별 글자나 단어 인식에 한정된 반면 제약 없는(unconstrained) 필기 글자 인식을 위한 시스템은 거의 없다. 그 이유는 이러한 작업이 크게 복잡하기 때문인데 글자 또는 단어의 경계에 대한 정보가 없는 데다 헤아릴 수 없을 정도로 어휘가 방대한 것이 특징이다. 그럼에도 필기 글자 인식 기법을 더 조사하는 것이 가치 있는 이유는, 계산 능력이 향삼함에 따라 더욱 복잡한 처리를 할 수 있기 때문이다.
         글을 한 걸음 더 처리하기 위해 각각의 줄을 추출하여야 한다. 그러기 위해 이미지를 필기 라인의 핵심 영역(core region)들 사이를 분리한다. 핵심 영역, 즉 텍스트 라인의 위 베이스라인과 아래 베이스라인 사이의 영역은 threshold를 적용하여 찾는다. threshold는 줄들이 핵심 영역에 속하기 위해 필요한 전방foreground 픽셀들의 최소 개수를 나타낸다. 이 threshold는 이진화한 필기 영역의 수평 밀도 히스토그램을 이용하여 Otsu의 방법 [12]를 적용하면 자동으로 결정된다. 그 다음 수평 투영 히스토그램에서 각 줄의 검은 픽셀의 개수가 축적되고 이미지는 이 투영 히스토그램의 minima를 따라 핵심 영역별로 나눠진다.
         수직 위치와 기울임은 [15]에 서술된 접근법과 비슷한 선형 회귀(linear regression)를 이용한 베이스라인 측정법을 적용하여 교정한 반면에, 경사각 계산은 가장자리edge 방향에 기반한다. 그러므로 이미지는 이진화되고 수평 흑-백과 백-흑 전환을 추출하는데 수직 stroke만이 경사 측정에 결정적이다. canny edge detector를 적용하여 edge orientation 자료를 얻고 각도 히스토그램에 누적한다. 히스토그램의 평균을 경사각으로 쓴다.
         필기의 크기를 정규화하기 위해 각 줄의 극값(local extrema) 개수를 세고 줄의 너비와의 비율을 얻는다. 비례(scaling) 계수는 이 비율에 선형인데 비율이 클 수록 글씨체는 더 좁아지기 때문이다.
         필기 줄을 전처리한 이미지는 특징 추출 단계의 입력 자료로 사용된다. sliding window 기법을 [11]이 설명하는 접근법과 비슷하게 적용한다. 우리의 경우 이미지의 높이와 열 네 개 크기의 창이 이미지의 왼쪽에서 오른쪽으로 두 열씩 겹치면서 움직이고 기하 추출의 쌍을 추출한다.
         sliding window의 각 열에서 특징 7개를 추출한다. (1) 흑-백 변화 개수(windowed text image의 이진화 이후), (2) 베이스라인에 대한 강도 분포의 평균 값 위치, (3) 최상단 글자 픽셀에서 베이스라인까지의 거리, (4) 최하단 글자 픽셀에서 베이스라인까지의 거리, (5) 최상단과 최하단 텍스트 픽셀의 거리, (6) 최상단과 최하단 텍스트 픽셀 사이의 평균 강도, (7) 그 열의 평균 강도. 특징 (2)-(5)는 core size, 즉 하단 베이스라인과 상단 베이스라인(극대값을 통한 line fitting으로 계산)의 거리에 의해 정규화되어, 글씨 크기의 변동에 대해 더욱 굳건해진다. 그 후에 모든 특징은 윈도우의 네 열에 걸쳐 평균화된다.
         강도 분포의 평균값의 변화 뿐 아니라 하단 contour와 상단 contour의 방향을 고려하기 위해 추가적으로 세 가지 방향성 특징을 계산한다. 말인 즉 우리는 네 lower countour 점, upper contour 점, sliding window 내 평균값을 통해 줄들을 재고 선 방향들을 (8), (9), (10) 특성으로 각각 사용한다. (뭔 소리) 더 넓은 temporal context를 고려하여 우리는 특징 벡터의 각 성분마다 근사적인 수평 미분을 추가로 계산하고 결과로 20 차원 특징 벡터를 얻는다. (윈도우당 특징 10개, 도함수 10개)
         특징 벡터들을 decorrelate하고 종류 분별력을 향상하기 위해 우리는 훈련 단계와 인식 단계에서 LDA를 통합한다. (cf. [6]) 원래 특징 표현을 일차 변환하고 특징 공간의 차원을 점차 줄이며 최적화한다. 일차 변환 A를 구하기 위해 훈련 자료의 클래스내 분산(within class scatter) 행렬 Sw와 클래스간 분산(between class scatter) 행렬 Sb를 이용하여 고유 벡터 문제를 해결한다. 이 분산(scatter) 행렬들을 계산하여 각 특징 벡터의 HMM 상태와 함께 이름표를 붙여야 한다. 우리는 먼저 일반적인 훈련을 수행하고 훈련 자료들을 상태를 기준으로 정렬한다. 분산 행렬을 구했으면 LDA 변환은 다음 고유 벡터 문제를 풀어 계산한다.
         필기 글자 인식을 위한 HMM의 구성, 훈련, 해독은 ESMERALDA 개발 환경[5]이 제공하는 방법과 도구의 틀 안에서 수행된다. HMM의 일반적인 설정으로서 우리는 512개의 Gaussian mixtures with diagonal covariance matrice(더 큰 저자 독립 시스템에서는 2048개)를 포함하는 공유 코드북이 있는 semi-continuous 시스템을 사용한다. 52개 글자, 10개 숫자, 12개 구두점 기호와 괄호, 공백 하나를 위한 기본 시스템 모형은 표준 Baum-Welch 재측정을 사용하여 훈련된다. 그 다음 한 줄 전체를 인식하기 위해 글자 모형에 대한 루프로 구성된 conbined model이 사용된다. 가장 가능성 높은 글자 시퀀스가 표준 Viterbi beam- search를 이용하여 계산된다.
         위 식에서 P(W)는 글자 시퀀스 w의 언어 모형 확률이고 P(X|W)는 이 글자 시퀀스를 그 글자 모형에 따라 입력 데이터 x로서 관찰한 확률이다. 우리의 경우 absolute discounting과 backing-off for smoothing of probability distribution을 이용한 바이그램 언어 모형을 적용하였다. (cf. e.g. [3])
         추가로 Bern 대학의 Institute of Informatics and Applied Mathematics, 즉 Horst Bunke와 Urs-Viktor Marti에게 감사한다. 이들은 우리가 필기 양식 데이터베이스인 IAM[10]을 인식 실험에 쓰는 것을 허락하였다.
         == Linear Algebra and Its Applications (4th ed.) by David C. Lay ==
  • 만년달력/방선희,장창재 . . . . 29 matches
         #include <iostream>
         using namespace std;
         int def_max_month(int temp_year, int temp_month);
         int array[100000][12];
         void main()
          int temp_sum = 0;
          int year,month;
          cin >> year;
          cin >> month;
          for (int y = 1 ; y < year ; y++) // 여기서부터(1)
          for (int i = 1 ; i < 13 ; i++)
          for (int a = 1 ; a < month ; a++)
          for (int k = 1 ; k < year ; k++)
          for (int te=1 ; te < 13 ; te++)
          for (int b = 1 ; b < month ; b++)
          int start = temp_sum % 7;
          int start_copy = start;
          int calen[6][7];
          int one = 1;
          for (int m = 0 ; m < 6 ; m++)
  • EightQueenProblem/nextream . . . . 28 matches
         function safe(line) {
          for (var i=0; i<line; i++)
          if (positions[line]==positions[i] || i+positions[i]==line+positions[line] || i-positions[i]==line-positions[line])
         function check(line) {
          if (line>=8) { display(); return; }
          positions[line] = i;
          if (safe(line)) check(line+1);
         function printBefore(position) {
         function printAfter(position) {
          printBefore(positions[i]);
          printAfter(positions[i]);
         function safe(line) {
          for (var i=0; i<line; i++)
          if (positions[line]==positions[i] || i+positions[i]==line+positions[line] || i-positions[i]==line-positions[line])
         function check(line) {
          if (line>=8) { display(); return; }
          positions[line] = i;
          if (safe(line)) check(line+1);
  • Gof/Mediator . . . . 28 matches
         == Intent ==
         MediatorPattern은 객체들의 어느 집합들이 interaction하는 방법을 encapsulate하는 객체를 정의한다. Mediator는 객체들을 서로에게 명시적으로 조회하는 것을 막음으로서 loose coupling을 촉진하며, 그래서 Mediator는 여러분에게 객체들의 interactions들이 독립적으로 다양하게 해준다.
         비록 하나의 시스템에 많은 객체들이 참여하는 것이 일반적으로 재사용성을 강화할지라도 interconnections이 늘어나는 것은 재사용성을 감소시키려는 경향이 있다. 너무나 많은 객체간의 상호 연결들은 객체들의 독립성을 떨어뜨릴 수 있다. - 그런 시스템은 마치 완전히 통일된 것 같이 행동한다.
         다른 다이얼로그 박스들은 도구들 사이에서 다른 dependency들을 지닐 것이다. 그래서 심지어 다이얼로그들이 똑같은 종류의 도구들을 지닌다 하더라도, 단순히 이전의 도구 클래스들을 재사용 할 수는 없다. dialog-specific dependency들을 반영하기 위해서 customize되어져야 한다. subclassing에 의해서 개별적으로 도구들을 Customize하는 것은 지루할 것이다. 왜냐하면 많은 클래스들이 그렇게 되어야 하기 때문이다.
         별개의 mediator 객체에서 집단의 행위로 encapsulate하는 것에 의해서 이런 문제를 피할 수 있다. 하나의 mediator는 객체들 그룹 내의 상호작용들을 제어하고 조정할 책임이 있다. 그 mediator는 그룹내의 객체들이 다른 객체들과 명시적으로 조회하는 것을 막는 중간자로서의 역할을 한다. 그런 객체들은 단지 mediator만 알고 있고, 고로 interconnection의 수는 줄어 들게 된다.
         예를 들면, FontDialogDirector는 다이얼로그 박스의 도구들 사이의 mediator일 수 있다. FontDialogDirector객체는 다이얼로그 도구들을 알고 그들의 interaction을 조정한다. 그것은 도구들 사이의 communication에서 hub와 같은 역할을 한다.
         다음 interaction diagram은 객체들이 리스트박스의 선택에서 변화를 다루기 위해 협동하는 방법을 묘사하고 있다.
          * 어떤 객체들의 집합이 잘 정의되었지만, 복잡한 방법으로 통신할 때. interconnection의 결과는 구조화되지 못하고 이해를 어렵게 한다.
          * 몇몇의 클래스들 사이에 분산되어진 하나의 행위가 많은 subclassing하는 작업 없이 customize되어져야 할 때.
          1. MediatorPattern은 subclassing을 제한한다. mediator는 다시말해 몇몇개의 객체들 사이에 분산되어질 행위를 집중한다. 이런 행위를 바꾸는 것은 단지 Mediator를 subclassing하기만 하면 된다. Colleague 클래스들은 재사용되어질 수 있다.
          2. MediatorPattern은 colleague들을 떼어놓는다. Mediator는 colleague들 사이에서 loose coupling을 촉진한다. colleagued와 Mediator를 개별적으로 다양하게 할 수 있고, 재사용 할 수 있다.
          4. MediatorPattern은 객체가 협동하는 방법을 추상화 시킨다. Mediation를 독립적인 개념으로 만들고 하나의 객체에 캡슐화하는 것은 여러분으로 하여금 객체의 행위는 제쳐두고 그 interaction에 집중하게 해준다. 이는 객체가 시스템 내에서 어떻게 interact하는 방법을 명확히 하는데 도움을 준다.
          5. MediatorPattern은 제어를 집중화한다. Mediator는 interaction의 복잡도를 mediator의 복잡도와 맞바꿨다. Mediator가 protocol들을 encapsulate했기 때문에 colleague객체들 보다 더 복잡하게 되어질 수 있다. 이것이 mediator를 관리가 어려운 monolith 형태를 뛰게 만들 수 있다.
          1. 추상 Mediator 클래스 생략하기. 추상 Mediator 클래스를 선언할 필요가 없는 경우는 colleague들이 단지 하나의 mediator와만 작업을 할 때이다. Mediator클래스가 제공하는 추상적인 coupling은 colleague들이 다른 mediator subclass들과 작동학게 해주며 반대의 경우도 그렇다.
         또 다른 방법은 colleague들이 보다 더 직접으로 communication할 수 있도록 특별한 interface를 mediator에게 심는 것이다. 윈도우용 Smalltalk/V가 대표적인 형태이다. mediator와 통신을 하고자 할 때, 자신을 argument로 넘겨서 mediator가 sender가 누구인지 식별하게 한다. Sample Code는 이와 같은 방법을 사용하고 있고, Smalltalk/V의 구현은 Known Uses에서 다루기로 하겠다.
         우리는 DialogDirector를 Motivation에서 보았던 것처럼 font dialog를 구현하기 위해서 사용할 것이다. 추상 클래스 DialogDirector는 director들을 위한 interface를 정의 하고 있다.
          // assemble the widgets in the dialog
         ET++[WGM88]와 THINK C class library[Sm93b]는 다이얼로그에서 widget들 사이에 mediator로서 director와 유사한 객체를 사용한다.
         윈도우용 Smalltalk/V의 application구조는 mediator 구조에 가반을 두고 있다.[LaL94] 그런 환경에서 application은 윈도우를 pane들의 모음으로 구성하고 있다. library는 몇몇의 이미 정의된 pane들을 가지고 있다. 예를 들자면 TextPane, ListBox, Button등등이 포함된다. 이러한 pane들은 subclassing없이 이용될 수 있다. Application 개발자는 단지 inter-pane coordination할 책임이 있는 ViewManager만 subclassing할 수 있다. ViewManage는 Mediator이고 각각의 pane들은 자신의 owner로서 단지 자신의 ViewManager를 알고 있다. pane들은 직접적으로 서로 조회하지 않는다.
         MediatorPattern의 또다른 application은 coordinating complex updates에 있다. 하나의 예는 Observer로서 언급되어지는 ChangeManager class이다. ChangeManager는 중복 update를 피하기 위해서 subjects과 observers중간에 위치한다. 객체가 변할때, ChangeManager에게 알린다. 그래서 ChangeManager는 객체의 dependecy를 알리는 것으로 update를 조정한다.
  • Java Study2003/첫번째과제/장창재 . . . . 28 matches
          - 자바(Java)를 이야기할 때 크게 두 가지로 나누어 이야기 할 수 있습니다. 먼저, 기계어, 어셈블리어(Assembly), 포트란(FORTRAN), 코볼(COBOL), 파스칼(PASCAL), 또는 C 등과 같이 프로그래밍을 하기 위해 사용하는 자바 언어가 있고, 다른 하나는 자바 언어를 이용하여 프로그래밍 하기 위해 사용할 수 있는 자바 API(Application Programming Interface)와 자바 프로그램을 실행시켜 주기 위한 자바 가상머신(Java Virtual Machine) 등을 가리키는 자바 플랫폼(Platform)이 있습니다. 다시 말해서, 자바 언어는 Visual C++와 비유될 수 있고, 자바 플랫폼은 윈도우 95/98/NT 및 윈도우 95/98/NT API와 비유될 수 있습니다.
          자바 언어(Java Language)를 이용하여 작성한 자바 프로그램(Java Program)은 자바 컴파일러(Java Compiler)를 이용하여 자바 바이트코드(Java Byte code)로 컴파일 되고, 이 자바 바이트코드는 자바 가상머신에 의해 해석되어 실행되는데, 이때 자바 가상머신은 자바 바이트코드에 대한 해석기 즉 인터프리터(interpreter)로 동작하게 됩니다. 이렇게 자바 프로그램은 컴파일 방식 및 인터프리터 방식이 모두 적용된다는 것입니다.
         자바 언어로 작성된 자바 프로그램을 중간 언어(intermediate language) 형태인 자바 바이트코드로 컴파일 합니다<.
         자바 인터프리터(Java Interpreter) 또는 자바 가상머신(Java Virtual Machine):
         자바 가상머신(Java Virtual Machine; Java VM):
         자바 가상머신은 자바 플랫폼의기반을 이루며, 다양한 하드웨어기반 플랫폼에 포팅(poring) 됩니다. 다시 말해서, 자바 가상머신은 윈도우 95/98/NT, 유닉스, 또는 매킨토시 등과 같은 기존의 운영체제 또는 인터넷 익스플로러와 넷스케이프 등과 같은 웹 브라우저 등, 여러 가지 플랫폼에 설치되어 사용될 수 있으며, 사용자는 자바 바이트코드로 컴파일된 자바 프로그램을 실행시키기 위해서 이 자바 가상머신을 이용하면 됩니다.
         자바 API(Java Application Programming Interface):
         자바의 주된 특징은 기존의 C/C++ 언어의 문법을 기본적으로 따르고, C/C++ 언어가 갖는 전처리기, 포인터, 포인터 연산, 다중 상속, 연산자 중첩(overloading) 등 복잡하고 이해하기 난해한 특성들을 제거함으로써 기존의 프로그램 개발자들이 쉽고 간단하게 프로그램을 개발할 수 있도록 합니다.
         자바는 C++와는 달리 처음부터 객체지향 개념을 기반으로 하여 설계되었고, 객체지향 언어가 제공해 주어야 하는 추상화(Abstraction), 상속(Inheritance), 그리고 다형성(Polymorphism) 등과 같은 특성들을 모두 완벽하게 제공해 주고 있습니다. 또한, 자바의 이러한 객체지향적 특성은 분산 환경, 클라이언트/서버 기반 시스템이 갖는 요구사항도 만족시켜 줄 수 있습니다.
         자바는 서로 다른 이종(Heterogeneous)의 네트워크 환경에서 분산 되어 실행될 수 있도록 설계되었습니다. 이와 같은 환경에서는 응용 프로그램들이 다양한 하드웨어 아키텍쳐 위에서 실행될 수 있어야만 합니다. 이를 위해 자바 컴파일러는 이종의 하드웨어 및 소프트웨어 플랫폼에서 효율적으로 코드를 전송하기 위해 설계된 아키텍쳐 중립적인 중간 코드인 바이트코드를 생성합니다. 이는 동일한 자바 프로그램의 자바 바이트코드가 자바 가상머신이 설치되어 있는 어떤 플랫폼에서도 실행될 수 있도록 하는 것입니다. 또한, 자바는 기본 언어 정의를 엄격하게 함으로써 효율적인 이식성을 제공해 주고 있습니다. 예를 들어, int 형과 같은 기본 데이터형의 크기를 플랫폼과 무관하게 일정하게 하고, 연산자의 기능을 확실하게 규정하고 있습니다. C 언어를 이용하여 int 형을 선언할 때, 도스에서는 16비트, 윈도우 95/98/NT 등 32비트 운영 체제 환경에서는 32비트, 유닉스에서는 32비트 등 그 플랫폼에 따라 크기가 다르지만, 자바에서는 플랫폼에 상관없이 32비트로 고정되도록 하였습니다. 이는 자바 프로그램이 실행되는 환경이 자바 가상머신으로 동일하기 때문입니다.
         인터프리터(Interpreter) 방식이다:
         자바 언어로 작성된 자바 프로그램을 중간언어 형태인 자바 바이트코드로 컴파일하고, 이렇게 생성된 자바 바이트코드를 자바 인터프리터가 해석함으로써, 자바 인터프리터와 런타임 시스템이 이식(porting)된 모든 플랫폼에서 자바 바이트코드를 직접 실행할 수 있습니다.
         JIT(Just-In-Time):
         캐싱(Caching):
         이러한 문제는 자바가 스레드 스케줄링 정책 구현에 의존하고, synchronized 명령어가 모니터 기반의 동기화 기법만 제공하고 큐 대기 시간을 예측할 수 없으며, notify() 메소드가 스레드를 깨우는 순서가 불명확하고, 우선순위 역전(priority inversion_의 가능성이 있습니다. 이러한 문제는 API 수준에서 해결되어야 하고, 실시간 타스크 처리를 위한 우선순위 레벨을 확장하고, 우선순위 상속(priority inheritance) 또는 우선순위 최고 한도 제한(priority ceiling) 등과 같은 우선순위 역전 방지 (priority inversion avoidance) 프로토콜을 사용하고, MuteX, 이진 세마포어(Binary Semaphore), 계수 세마포어(Counting Semaphore) 등을 사용할 수 있습니다.
         이러한 문제점은 느린(Lazy) 클래스 로딩에서 발생하거나 메모리 할당과 가비지 콜렉션이 비결정적이고 느린 최악의 경우(worst-case) 특성을 가지며 stop-start 방식으로 모든 스레드를 멈출 수 있다는 문제점이 있습니다. 이를 해결하기 위해 클래스를 미리 로딩(class preloading)한다거나 정적 초기화(static initializer)를 제거하여 패키지 라이브러리에 대해서는 가상머신 초기화를 사용하고 응용프로그램에서는 명시적인 초기화 를 사용하게 하는 등의 기법을 사용할 수 있습니다. 그리고, 메모리 할당과 쓰레기 수집(garbage collection)에 대해서는 정해진 시간 내에 입터럽트 가능한 쓰레기 수집을 하는 것입니다. 또는 표준화된 실시간 API를 제공함으로써 해결할 수 있습니다.
         C언어를 이용하여 C 프로그램을 작성한다면 반드시 main이라는 시작 함수를 정의해 주어야 하고, 윈도우 응용프로그램을 작성한다고 하면 WinMain이라는 함수를 꼭 작성해 주어야 하지요. 이러한 것을 규약(protocol)이라 합니다. 마찬가지로, 자바 언어를 이용하여 여러 가지 종류의 자바 프로그램을 작성할 수 있는데, 이 때 각 자바 프로그램의 종류에 따라 해당 규약이 서로 다릅니다. 이렇듯 자바를 이용하여 자바 프로그램을 작성한다는 것은 각 자바 프로그램에서 제시하고 있는 규약을 지켜 프로그램을 작성한다는 것입니다. 자바 언어를 이용하여 작성할 수 있는 자바 프로그램의 종류를 살펴보면 다음과 같습니다.
         public static void main(String args[]) {
         System.out.println("Hello World!"); // Display the string
  • SignatureSurvey . . . . 28 matches
         Seminar:SignatureSurvey
         HTML Template 부분을 Generating 하는 부분을 하던중, 디자이너가 툴로 만든 HTML 코드를 분석해볼때 SigntureSurvey 의 방법을 적용해보면 어떤 일이 일어날까 의문이 들었다. 그래서 간단하게 실험해보고, 어떠한 View 를 얻을 수 있을까 구경해보다.
         import StringIO
          self.begin('')
          def repl_normalString(self, aText):
          self.begin('tag')
          (AnyChar, repl_normalString),
          def __init__(self, aStream):
          Scanner.__init__(self, self.lexicon, aStream)
          writer = StringIO.StringIO("")
         if __name__=="__main__":
          surveyer = HtmlSigSurveyer(StringIO.StringIO(data))
          lines = [line for line in result.splitlines() if line.strip() != '']
          for line in lines:
          print count, line
         이를 분석할때는 4-5point 로 레이저로 2단 나누어서 찍었다. 별로 종이를 많이 차지하지 않는다.
         정확히 분석을 한 것은 아니지만. <> 태그 안으로 쓴 글자수가 같다면 화면상에서도 비슷한 것을 보이게 하기 위해 C & P 를 했을 확률이 높다. 그러면 그 부분에 대해서 looping 을 하는 식으로 묶으면 될것 같다. 종이로 찍어놓고 보면 반복되는 부분에 대해서 일반화된 패턴이 보인다는 것을 알 수 있다. 그 부분에 대해 적절히 1차적으로 검색을 하고, generating 할때의 단위들을 끄집어내면 되는 것이다.
  • 데블스캠프2005/월요일/BlueDragon . . . . 28 matches
         # -*- coding: cp949 -*-
          def __init__(self):
          def __init__(self):
          print '보물상자를 발견했습니다.'
          print '보물상자를 열쇠로 엽니다.'
          print '축하합니다. 보물을 발견했습니다.'
          print '게임을 끝냅니다.'
          print '열쇠를 찾아오세요/'
          print self.name, '은',
          for room in self.aRoom.place:
          print room,',',
          print '에 갈 수 있습니다.'
          place = raw_input("어디로 갈까요?")
          print self.name, self.place , '에 들어왔습니다.'
          print '청룡을 공격합니다.'
          print '청룡의 hp는 ', self.aDragon.hp, '입니다.'
          print '청룡을 무찔렀습니다.'
          print '열쇠를 취득했습니다.'
          def __init__(self, user):
          print '당신을 물어뜯습니다.'
  • 숫자야구/조재화 . . . . 28 matches
         #include <iostream> // 랜덤함수는 iostream에 포함되어 있습니다.
         #include <ctime> // time(0)의 사용을 위해 필요합니다.
         using namespace std;
         int main()
          int a = rand() % 10 ;
          int b = rand() % 10 ;
          int c = rand() % 10 ;
          int i,j;
          int input;
          cin>>input;
          if(input/100 ==a)
          if(input/10-(input/100)*10 ==b )
          if( input-(input/10)*10 ==c )
          if(input/100 ==b || input/100 ==c)
          if(input/10-(input/100)*10 ==a ||input/10-(input/100)*10==c )
          if(input-(input/10)*10 ==a || input-(input/10)*10 ==b )
  • AKnight'sJourney/강소현 . . . . 27 matches
         ||Problem|| 2488||User||talin0528||
         public class Main{
          public static int [][] savePath;
          public static int [][] direct = {{-1,-2},{1,-2},{-2,-1},{2,-1},{-2,1},{2,1},{-1,2},{1,2}};
          public static void main(String [] args){
          Scanner sc = new Scanner(System.in);
          int count = sc.nextInt();
          for(int i=1; i<=count; i++){
          int p = sc.nextInt();
          int q = sc.nextInt();
          System.out.println("Scenario #"+i+":");
          int [][] path = new int[p+1][q+1];
          savePath = new int[p*q][2];
          if(isPromising(1,1, path,0)){
          for(int k=0; k<savePath.length; k++){
          System.out.printf("%c%d",savePath[k][1]+64, savePath[k][0]);
          System.out.print("impossible");
          System.out.println("\n");
          private static boolean isPromising(int p, int q, int [][] path, int count){
          for(int i=0; i<direct.length; i++){
  • DebuggingSeminar_2005/DebugCRT . . . . 27 matches
         || _CRTDBG_CHECK_ALWAYS_DF || _CrtCheckMemory() 함수를 모든 new, delete 함수에 대해서 자동 호출 되도록 지정한다.[[BR]] 이 함수는 할당된 공간의 유효성을 지속적으로 체크한다. 즉 domainerror나 기타 메모리 access에 관한 부분을 검사한다. 대신 오버헤드가 상당하다. 그러나 그만큼 디버깅의 효율성을 높여줄 수 있다. ||
         int flas = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG);
         //this define must occur before any headers are included.
         //반드시 include 전처리기의 앞부분에 선언되어야함.
         #define _CRTDBG_MAP_ALLOC
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
         #include <tchar.h>
         // include crtdbg.h after all other headers.
         // 전처리 문장이 끝난뒤에 include
         #include <crtdbg.h>
         int main(int argc, char *argv[]) {
          //turn on the full heap checking
         {{{~cpp int _CrtSetReportMode(int reportType, int reportMode);
         {{{~cpp _HFILE _CrtSetReportFile(int reportType, _HFILE reportFile);
         = output in debug console (vc++6) =
          참조) [http://zeropage.org/wiki/AcceleratedC_2b_2b_2fChapter11#line287 The rule of Three]
         [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/_core_c_run2dtime_library_debugging_support.asp MSDN]
         [DebuggingSeminar_2005]
  • DispatchedInterpretation . . . . 27 matches
         == Dispatched Interpretation ==
         역시 코드로 이해하는 것이 빠르다. Shape 객체는 line, curve, stroke, fill 커맨드들의 순차적인 조합으로 이루어져 있다. 이것은 commandAt(int)라는 n번째 커맨드를 리턴해주는 메세지와, argumentsAt(int)라는 커맨드에 넘겨줄 인자들의 배열을 리턴해주는 메세지를 제공해준다.
         class PostScriptShapePrinter
          for(int i = 0 ; i < aShape.size() ; ++i)
          if(command == lineFunc)
          printPoint(argument.at(1));
          printPoint(argument.at(2));
          nextPutAll("line");
         모든 커맨드를 위한 case 구문을 쓰지 말고, PostScriptShapePrinter에 모든 커맨드를 두자.
         void PostScriptShapePrinter::line(Point& from, Point& to)
          printPoint(from);
          printPoint(to);
          nextPutAll("line");
         void PostScriptShapePrinter::curve(/* ... */) { /* ... */ }
         또한, commantAt이나 argumentAt같은 메세지 말고, sendCommand(at,to) 같은 메세지를 제공하자. 위의 line,curve도 이꼴이므로 같이 다룰수 있다.
         void PostScriptShapePrinter::display(Shape& aShape)
          for(int i = 0 ; i < aShape.size() ; ++i)
          for(int i = 0 ; i < size() ; ++i)
         void PostScriptShapePrinter::display(Shape& aShape)
  • JavaStudy2002/상욱-2주차 . . . . 27 matches
          public static void main(String[] args) {
          int xRoach = 1 , yRoach = 1;
          int tempX = 0, tempY = 0;
          continue;
          for (int i = 0 ; i <= 11 ; i++){
          for (int j = 0 ; j <= 11 ; j++){
          for (int k = 1 ; k <= 10 ; k++){
          for (int l = 1 ; l <= 10 ; l++){
          public boolean boardState(int x , int y ) {
          public int randomNumber_1() {
          return rand.nextInt(10000);
          public int randomNumber_2() {
          return rand.nextInt(40000);
          public int moveUpandDown() {
          public int moveSide() {
          private int boardCount[][] = new int [10][10];
          for (int i = 0 ; i <= 9 ; i++){
          for (int j = 0 ; j <= 9 ; j++){
          public void checkStay(int x, int y) {
          for (int i = 0 ; i <= 9 ; i++){
  • Map연습문제/노수민 . . . . 27 matches
         #include <vector>
         #include <map>
         #include <iostream>
         #include<fstream>
         using namespace std;
          string name;
          int score;
         int main()
          ifstream fin("input.txt");
          while(fin.get(ch))
         //input.txt
         // ing..
         #include <vector>
         #include <map>
         #include <iostream>
         #include<fstream>
         using namespace std;
          string name;
          int score;
         int main()
  • 데블스캠프2006/월요일/함수/문제풀이/윤성준 . . . . 27 matches
         #include <iostream>
         using namespace std;
         bool team684(int member, int gun, int boat);
         int main(void)
          int member, gun, boat;
          cin >> member;
          cin >> gun;
          cin >> boat;
         bool team684(int member, int gun, int boat)
         #include <iostream>
         #include <time.h>
         using namespace std;
         int dice();
         int main(void)
         int dice()
         #include <iostream>
         using namespace std;
         void prin();
         void main(void)
          prin();
  • 미로찾기/곽세환 . . . . 27 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         const int Max_x = 30;
         const int Max_y = 20;
         int array[Max_y][Max_x];
         void find(int cur, int x, int y);
         void main()
          int temp[Max_y][Max_x];
          int i, j, k;
          ifstream fin("maze.txt");
          array[i][j] = fin.get() - '0';
          while (fin.get() != '\n');
          find(i, 0, 0); // 처음 위치
         void find(int cur, int x, int y)
          int temp[Max_y][Max_x];
          int i, j, k;
          find(i, x, y);
          for(int i = 0; i < Max_y; i++)
          for (int j = 0; j < Max_x; j++)
  • 수학의정석/집합의연산/이영호 . . . . 27 matches
         input은 9 {1,2,3,4,5,6,7,8,9}로 테스트를 해 보았다. 결과는 아래.
         #include <stdio.h>
         #include <time.h>
         #include <string.h>
         int print(char *set, int size);
         int main()
          int size;
          int i;
          clock_t time_in;
          time_in = clock();
          print(set, size);
          printf("CLOCK_TIME = %d\n", clock() - time_in);
         int print(char *set, int size)
          int count;
          int i, j, t;
          continue;
          printf("{");
          printf("\b},{");
          printf("%d,", buf[i]);
          printf("\b}\n");
  • 숫자야구/장창재 . . . . 27 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int tri(int a);
         void main()
          int key_first = rand()%10;
          int key_second = rand()%10;
          int key_third = rand()%10;
          int i,strike=0 , ball=0;
          int key = key_first*100 + key_second*10 + key_third;
          cin >> i;
          int input_first = i / 100;
          int input_second = (i - 100 *(i /100))/10;
          int input_third = i-(100*(i/100)) - (10*((i - 100 *(i /100))/10));
          if (key_first == input_first)
          if (key_second == input_second)
          if (key_third == input_third)
          if (key_first == input_second)
          if (key_first == input_third)
          if (key_second == input_third)
  • 2학기파이선스터디/모듈 . . . . 26 matches
         ['__builtins__', '__doc__', '__file__', '__name__', 'add', 'c', 'mul']
          print '전역변수:', globals()
          print '지역변수:', locals()
         print '모듈 수준에서의 전역변수:', globals()
         print '모듈 수준에서의 지역변수:', locals()
         >>> import string
         >>> dir(string)
         ['_StringTypes', '__builtins__', '__doc__', '__file__', '__name__', '_float', '_idmap', '_idmapL', '_int', '_long', 'ascii_letters', 'ascii_lowercase', 'ascii_uppercase', 'atof', 'atof_error', 'atoi', 'atoi_error', 'atol', 'atol_error', 'capitalize', 'capwords', 'center', 'count', 'digits', 'expandtabs', 'find', 'hexdigits', 'index', 'index_error', 'join', 'joinfields', 'letters', 'ljust', 'lower', 'lowercase', 'lstrip', 'maketrans', 'octdigits', 'printable', 'punctuation', 'replace', 'rfind', 'rindex', 'rjust', 'rstrip', 'split', 'splitfields', 'strip', 'swapcase', 'translate', 'upper', 'uppercase', 'whitespace', 'zfill']
         import string
         string.__dict__
         >>> string.b
          File "<pyshell#17>", line 1, in ?
          string.b
         >>> string.b=2
         >>> string.b
  • 8queen/곽세환 . . . . 26 matches
         #include <iostream>
         using namespace std;
         const int Max = 8;
         int check, cnt;
         int ar[Max][Max];
         void block(int, int);
         void find(int, int);
         void main()
          int i, j, k;
          int cnt = 0;
          find(0, i);
         void block(int row, int col)
          int crow, ccol;
          int i;
         void find(int row, int col)
          int i, j, k;
          int temp[Max][Max];
          int tcheck;
          cin.get();
          find(row + 1, i);
  • Chapter I - Sample Code . . . . 26 matches
          === Installing uCOS-II ===
          === INCLUDES.H ===
          === Compiler-Independent Data Types ===
          각각의 프로세서마다 int 형 데이터의 크기 char 형 데이터의 크기.. 등등이 다르기 때문에 다음과 같은 식으로 재정의를 해준다.
          typedef unsigned char INT8U
          typedef signed int INT16S
          // 형 재정의 (#define이용)
          #define BYTE INT8S
          OS 를 작성하다보면 전역변수가 필요한 경우가 있다. 전역변수는 어떻게 선언하는가? extern 키워드를 사용하면 된다. 하지만 uCOS-II 에서는 extern 키워드마저 #define 해서 다른 매크로로 사용한다.
         #define OS_EXT
         #define OS_EXT_extern
         OS_EXT INT32U OSIdleCtr;
         OS_EXT INT32U OSIdleCtrRun;
         OS_EXT INT32U OSIdleCtrMax;
         extern INT32U OSIdleCtr;
         extern INT32U OSIdleCtrRun;
         extern INT32U OSIdleCtrMax;
         #define OS_GLOBALS
         #include "inlcudes.h"
         INT32U OSIdleCtr;
  • Expat . . . . 26 matches
         Expat is a stream-oriented XML 1.0 parser library, written in C. Expat was one of the first open source XML parsers and has been incorporated into many open source projects, including the Apache HTTP Server, Mozilla, Perl, Python and PHP.
         James Clark released version 1.0 in 1998 while serving as technical lead on the XML Working Group at the World Wide Web Consortium. Clark released two more versions, 1.1 and 1.2, before turning the project over to a group led by Clark Cooper, Fred Drake and Paul Prescod in 2000. The new group released version 1.95.0 in September 2000 and continues to release new versions to incorporate bug fixes and enhancements. Expat is hosted as a SourceForge project. Versions are available for most major operating systems.
         To use the Expat library, programs first register handler functions with Expat. When Expat parses an XML document, it calls the registered handlers as it finds relevant tokens in the input stream. These tokens and their associated handler calls are called events. Typically, programs register handler functions for XML element start or stop events and character events. Expat provides facilities for more sophisticated event handling such as XML Namespace declarations, processing instructions and DTD events.
         Expat's parsing events are similar to the events defined in the Simple API for XML (SAX), but Expat is not a SAX-compliant parser. Projects incorporating the Expat library often build SAX and DOM parsers on top of Expat.
         http://www.xml.com/pub/a/1999/09/expat/index.html
  • Ruby/2011년스터디/세미나 . . . . 26 matches
          * 1.0/0.0 -> infinity
          * initialize 함수로 객체 선언하기
          * 루비의 생성자 initialize. ( 디폴트 생성자가 있나봄)
          def initialize
          # init variables
          def initialize
          @var # this is the way how declaring variable
          def initialize
          # init variables
          def initialize
          # this is overriding
          Some2.function2 # undefined method
          {| parameters| do something with parameters..}
          * 출력 <- puts, print
          * Pair Programming : Pair를 밸런스에 맞게 짜드림.
          def initialize
          printLocation
          print " -> "
          printLocation
          print "\n"
  • joosama . . . . 26 matches
         [[HTML(<left><span style="font-size:7pt; letter-spacing:-1px;"><font face="Verdana" color=black><b>)]]bgm : 솔아솔아 푸르른 솔아 - MC Sniper[[HTML(</b></font></span></left>)]]
         http://members.tripod.co.jp/pochi2_2/line_kisha.gif http://members.tripod.co.jp/pochi2_2/line_kisha.gif
         [[HTML(<center><span style="font-size:9pt; letter-spacing:-1px;"><font face="Verdana" color=ff4500><b>)]]
         [[HTML(<center><span style="font-size:9pt; letter-spacing:-1px;"><font face="Verdana" color=ffa500><b>)]]ㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎ[[HTML(</b></font></span></center>)]]
         [[HTML(<center><span style="font-size:9pt; letter-spacing:-1px;"><font face="Verdana" color=ffd700 ><b>)]]ㅎㅎㅎㅎㅎㅎㅎ[이연주/공부방]ㅎㅎㅎㅎㅎㅎㅎ[[HTML(</b></font></span></center>)]]
         [[HTML(<center><span style="font-size:9pt; letter-spacing:-1px;"><font face="Verdana" color=9acd32 ><b>)]]ㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎ[[HTML(</b></font></span></center>)]]
         [[HTML(<center><span style="font-size:9pt; letter-spacing:-1px;"><font face="Verdana" color=87cefa ><b>)]]ㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎㅎ[[HTML(</b></font></span></center>)]]
         http://members.tripod.co.jp/pochi2_2/line_kisha.gif http://members.tripod.co.jp/pochi2_2/line_kisha.gif
         [[HTML(<span style="font-size:9pt; letter-spacing:-1px;"><font face="Verdana" color=navy><b>)]] 3월 25일 근황보고~(∀`)」
         http://bingoimage.naver.com/data3/bingo_36/imgbingo_80/kims1331/32788/kims1331_1.gif
         [[HTML(<center><span style="font-size:15pt; letter-spacing:4px;"><font face="Verdana" color=gray><b>)]]독도는 아름다운 우리땅입니다![[HTML(</b></font></span></center>)]]
         [[HTML(<span style="font-size:9pt; letter-spacing:-1px;"><font face="Verdana" color=gray><b>)]]
         || http://bingoimage.naver.com/data/bingo_40/imgbingo_78/sali51/35258/sali51_29.gif ||
         || http://bingoimage.naver.com/data3/bingo_93/imgbingo_84/whgudwn4/29813/whgudwn4_15.gif ||
         || http://bingoimage.naver.com/data/bingo_76/imgbingo_17/msj0824/30669/msj0824_5.jpg ||
         [[HTML(<span style="font-size:9pt; letter-spacing:-1px;"><font face="Verdana" color=black><b>)]]
  • 마름모출력/임다찬 . . . . 26 matches
         #include <stdio.h>
         int main(void){
          int k,i,j,byun;
          int max;
          printf("패턴입력 : "); scanf("%c",&ma);
          printf("변의 길이 입력 : "); scanf("%d",&byun);
          printf(" ");
          printf("%c",ma);
          printf("\n");
          printf(" ");
          printf("%c",ma);
          printf("\n");
         #include <stdio.h>
         int main(void){
          int i,j,k;
          int B_length;
          printf("패턴입력 : "); scanf("%c",&pattern);
          printf("변의 길이 입력 : "); scanf("%d",&B_length);
          for(k=1;k<B_length-i;k++) printf(" ");
          for(j=1;j<=2*i+1;j++) printf("%c",pattern);
  • 빵페이지/소수출력 . . . . 26 matches
         #include <iostream>
         using namespace std;
         int main()
          int a;
          cin >> a;
          for(int i=2;i<=a;i++)
          int count = 0;
          for(int j=2;j<i;j++)
         #include<iostream>
         using namespace std;
         int main()
          int num;
          cin>>num;
         for(int k=2;k<num;k++)
          int count=0;
          for(int i=1;i<=num;i++)
          for(int j=2;j<=num;j++)
         #include <iostream.h>
         void main()
          int num;
  • EightQueenProblem/이덕준소스 . . . . 25 matches
         #include <iostream.h>
         #include <math.h>
         bool EightQueens(int level, int queens[]);
         bool Promissing(int level, int queens[]);
         bool WellPutted(int level1, int level2, int queens[]);
         int main(int argc, char* argv[])
          int queens[8],i;
         bool EightQueens(int level, int queens[])
          int i;
          if (Promissing(level,queens))
         bool Promissing(int level, int queens[])
          int i,j;
         bool WellPutted(int level1, int level2, int queens[])
  • ReverseAndAdd/허아영 . . . . 25 matches
         #include <iostream>
         using namespace std;
         #include <math.h>
         unsigned int numLength(unsigned int num)
          unsigned int turn = 0;
         bool isPalindrome(unsigned int *num, unsigned int length)
          unsigned int i;
         unsigned int ReverseAndAdd(unsigned int *num, unsigned int length)
          unsigned int i, reverseNum = 0, Num = 0;
          unsigned int *temp = new unsigned int [length];
         unsigned int main()
          unsigned int addNum, length, i, turn = 0, testCaseNum;
          unsigned int num;
          unsigned int * store_numbers;
          cin >> testCaseNum;
          cin >> num;
          store_numbers = new unsigned int[numLength(num)];
          if(isPalindrome(store_numbers, length))
  • zennith/source . . . . 25 matches
         #include <stdio.h>
         int main(void) {
          int num;
          unsigned long int fac = 1;
          printf("Enter Number : ");
          printf("%u\n", fac);
         #include <stdio.h>
         #include <time.h>
         #define MAX_PRIME 50000
         int main(void) {
          int i, j, flag, arr_p, tmp;
          int arr[10000] = {0, };
          printf("%d ", arr[i++]);
          printf("\n%f\n", (double)(end - start) / CLK_TCK);
         int factorial(int arg) {
         int permutation(int arg1, int arg2) {
         int combination(int arg1, int arg2) {
  • 데블스캠프2006/월요일/함수/문제풀이/윤영준 . . . . 25 matches
         #include <iostream.h>
         bool team684(int, int, int);
         void main(void){
          int member, gun, boat;
          cin >> member;
          cin >> gun;
          cin >> boat;
         bool team684(int member, int gun, int boat){
          int power;
         #include <iostream>
         using namespace std;
         #include <time.h>
         int dice(void);
         void main(void){
         int dice(void){
         #include <iostream>
         using namespace std;
         #include <time.h>
         int a(void);
         void main(void)
  • 데블스캠프2011 . . . . 25 matches
          * [https://docs.google.com/spreadsheet/ccc?key=0AtizJ9JvxbR6dGNzZDhOYTNMcW0tNll5dWlPdFF2Z0E&usp=sharing 타임테이블링크]
          || 1 || [송지원] || [:데블스캠프2011/첫째날/오프닝 오프닝] || [강성현] || [:데블스캠프2011/둘째날/Scratch Scratch] || [김수경] || [:데블스캠프2011/셋째날/String만들기 String만들기] || [이원희] || [:데블스캠프2011/넷째날/Android Android] || [조현태] || [:데블스캠프2011/다섯째날/PythonNetwork Python으로 하는 네트워크] || 8 ||
          || 2 || [송지원] || [:데블스캠프2011/첫째날/오프닝 오프닝] || [강성현] || [:데블스캠프2011/둘째날/Scratch Scratch] || [김수경] || [:데블스캠프2011/셋째날/String만들기 String만들기] || [이원희] || [:데블스캠프2011/넷째날/Android Android] || [조현태] || [:데블스캠프2011/다섯째날/PythonNetwork Python으로 하는 네트워크] || 9 ||
          || 3 || [변형진] || [:데블스캠프2011/첫째날/개발자는무엇으로사는가 개발자는 무엇으로 사는가] || [강성현] || [:데블스캠프2011/둘째날/Scratch Scratch] || [김수경] || [:데블스캠프2011/셋째날/String만들기 String만들기] || [이원희] || [:데블스캠프2011/넷째날/Android Android] || [조현태] || [:데블스캠프2011/다섯째날/PythonNetwork Python으로 하는 네트워크] || 10 ||
          || 4 || [변형진] || [:데블스캠프2011/첫째날/개발자는무엇으로사는가 개발자는 무엇으로 사는가] || [김동준] || [:데블스캠프2011/둘째날/Cracking Cracking - 창과 방패] || [김준석] || [:데블스캠프2011/셋째날/RUR-PLE RUR-PLE] || [이승한] || [:데블스캠프2011/넷째날/ARE Android Reverse Engineering] || [이정직] || [:데블스캠프2011/다섯째날/Lua Lua] || 11 ||
          || 5 || [변형진] || [:데블스캠프2011/첫째날/개발자는무엇으로사는가 개발자는 무엇으로 사는가] || [김동준] || [:데블스캠프2011/둘째날/Cracking Cracking - 창과 방패] || [김준석] || [:데블스캠프2011/셋째날/RUR-PLE RUR-PLE] || [이승한] || [:데블스캠프2011/넷째날/Git Git-분산 버전 관리 시스템] || [변형진] || [:데블스캠프2011/다섯째날/HowToWriteCodeWell How To Write Code Well] || 12 ||
          || 7 || [송지원] || [:데블스캠프2011/첫째날/Java Play with Java] || [:상협 남상협] || [:데블스캠프2011/둘째날/Machine-Learning Machine-Learning] || [윤종하], [황현] || [:데블스캠프2011/셋째날/Esolang 난해한 프로그래밍 언어] || [이승한] || [:데블스캠프2011/넷째날/Git Git-분산 버전 관리 시스템] || [변형진] || [:데블스캠프2011/다섯째날/HowToWriteCodeWell How To Write Code Well] || 2 ||
          || 8 || [송지원] || [:데블스캠프2011/첫째날/Java Play with Java] || [:상협 남상협] || [:데블스캠프2011/둘째날/Machine-Learning Machine-Learning] || [윤종하], [황현] || [:데블스캠프2011/셋째날/Esolang 난해한 프로그래밍 언어] || [서지혜] || [:데블스캠프2011/넷째날/루비 루비] || [변형진] || [:데블스캠프2011/다섯째날/HowToWriteCodeWell How To Write Code Well] || 3 ||
          || 9 || [송지원] || [:데블스캠프2011/첫째날/Java Play with Java] || [:상협 남상협] || [:데블스캠프2011/둘째날/Machine-Learning Machine-Learning] || [윤종하], [황현] || [:데블스캠프2011/셋째날/Esolang 난해한 프로그래밍 언어] || [서지혜] || [:데블스캠프2011/넷째날/루비 루비] || [김수경] || [:데블스캠프2011/다섯째날/Cryptography Cryptography], 회고 || 4 ||
  • 2학기파이선스터디/문자열 . . . . 24 matches
          1. 인덱싱(Indexing) = [k]
          2. 슬라이싱(Slicing) = [[ s : t ]
          5. 멤버십 데스트(Membership Test) = in
         >>> s = 'i like programing'
         'I LIKE PROGRAMING'
         'i like programing'
         'I like programing' # 첫 문자를 대문자로
         >>> s = 'i like programing, i like swimming'
         >>> s.find('like')
         >>> s.find('my')
         >>> s.rfind('like')
         >>> s.index('like')
         >>> s.index('my')
          File "<pyshell#40>", line 1, in ?
          s.index('my')
         valueError : substring not found in string.index
         >>> ':'.'''join(t)''' # ':' 문자로 결합. 틀리기 쉬우니 주의할것!!
         >>> print '\n'.join(t) # 줄바꾸기로 결합.
          2. 문서 문자열(doucmentation string)을 이용하는 방법
  • ACM_ICPC . . . . 24 matches
         = ACM International Collegiate Programming Contest =
          * [http://acm.kaist.ac.kr/2000/standing.html 2000년]
          * [http://acm.kaist.ac.kr/2001/standing.html 2001년]
          * [http://acm.kaist.ac.kr/2002/standing.html 2002년]
          * [http://acm.kaist.ac.kr/2005/standing2005.html 2005년 스탠딩]
          * [http://acm.kaist.ac.kr/2007/standing2006.html 2006년 스탠딩] - ZeroPage Rank 17
          * [http://acm.kaist.ac.kr/2007/standing2007.html 2007년 스탠딩] - ZeroPage Rank 30
          * [http://acm.kaist.ac.kr/2009/rank/new_summary_full.html 2009년 스탠딩] - No attending
          * [http://acm.kaist.ac.kr/phpBB3/viewtopic.php?f=7&t=129 2010년 스탠딩] - No attending
          * [http://acm.kaist.ac.kr/phpBB3/viewtopic.php?f=35&t=5728 2014년 스탠딩] - ZeroPage Rank 32 (CAU - Rank 18, including Abroad team)
          * [http://icpckorea.org/2015/REGIONAL/scoreboard.html 2015년 스탠딩] - 1Accepted1Chicken Rank 42 (CAU - Rank 18, including Abroad team)
          * [http://icpckorea.org/2016/REGIONAL/scoreboard.html 2016년 스탠딩] - Zaranara murymury Rank 31 (CAU - Rank 13, including Abroad team)
          * [http://icpckorea.org/2017/regional/scoreboard/ 2017년 스탠딩] - NoMonk, Rank 62 (CAU - Rank 35, including Abraod team)
          * [http://icpckorea.org/2018/regional/scoreboard/ 2018년 스탠딩] - ZzikMukMan Rank 50 (CAU - Rank 28, including Abroad team)
          * [http://icpckorea.org/2019/regional/scoreboard/ 2019년 스탠딩] - TheOathOfThePeachGarden Rank 81(CAU - Rank 52, including Abroad team)
          * [http://static.icpckorea.net/2020/scoreboard_terpin/ 2020년 스탠딩] - Decentralization Rank 54(CAU - Rank 35)
         || 네트워크플로우 || . || Big Integer || . ||
         == ExternalLink ==
         , [ACM_ICPC/PrepareAsiaRegionalContest], [(zeropage)ProgrammingContest]
  • HelpOnConfiguration . . . . 24 matches
         MoniWiki는 `config.php`에 있는 설정을 입맛에 맛게 고칠 수 있다. config.php는 MoniWiki본체 프로그램에 의해 `include`되므로 PHP의 include_path변수로 설정된 어느 디렉토리에 위치할 수도 있다. 특별한 경우가 아니라면 MoniWiki가 설치된 디렉토리에 config.php가 있을것이다.
          * VimProcessor 혹은 CodeColoringProcessor
         그 하위에 {{{bin}}} 디렉토리를 새롭게 만든 후에 {{{rcs}}}관련된 실행파일([[MoniWikiRCS]] 페이지 참조)을 {{{moniwiki/bin}}}아래에 복사하고
         {{{$path}}}에 {{{./bin}}} 디렉토리를 추가한다.
         $path='/usr/bin:/bin:/usr/local/bin:./bin'; # 유닉스의 기본 실행파일 디렉토리 + ./bin
         $path='/usr/bin:/bin:/usr/local/bin:/home/to_your_public_html/moniwiki/bin'; # 유닉스의 기본 실행파일 디렉토리 + bin의 full path
         $path='./bin;c:/windows/command;c:/Program Files/gnuplot;c:/Program Files/vim/vim71'; # for win32
         config.php에 `$security_class="needtologin";`를 추가하면 로그인 하지 않은 사람은 위키 페이지를 고칠 수 없게 된다. 로그인을 하지 않고 편집을 하려고 하면 경고 메시지와 함께, 가입을 종용하는 간단한 안내가 나온다.
          * SecurityPlugin
          * $logo_string과 $logo_img
         $logo_img를 간단히 조정하거나, $logo_string을 통해서 미세한 조정을 할 수 있다.
         [[Navigation(HelpOnAdministration)]]
  • Randomwalk/조동영 . . . . 24 matches
         #include <iostream>
         #include <ctime>
         #include <iomanip>
         using namespace std;
         void main(){
          int imove[] = {-1,0,1,1,1,0,-1,-1};
          int jmove[] = {1,1,1,0,-1,-1,-1,0};
          int Xroom;
          int Yroom;
          int ibug;
          int jbug;
          int count = 0; // 총이동한 횟수를 계산하게될 integer 값
          int i,j;
          cin >> Xroom;
          cin >> Yroom;
          int **room;
          room = new int*[Xroom];
          room[i] = new int[Yroom];
          cin >> ibug;
          cin >> jbug;
  • 레밍즈프로젝트/박진하 . . . . 24 matches
         Fighting-_-/
          int GetSize() const;
          int GetUpperBound() const;
          void SetSize(int nNewSize, int nGrowBy = -1);
          // Accessing elements
          TYPE GetAt(int nIndex) const;
          void SetAt(int nIndex, ARG_TYPE newElement);
          TYPE& ElementAt(int nIndex);
          // Potentially growing the array
          void SetAtGrow(int nIndex, ARG_TYPE newElement);
          int Add(ARG_TYPE newElement);
          int Append(const CArray& src);
          TYPE operator[](int nIndex) const;
          TYPE& operator[](int nIndex);
          void InsertAt(int nIndex, ARG_TYPE newElement, int nCount = 1);
          void RemoveAt(int nIndex, int nCount = 1);
          void InsertAt(int nStartIndex, CArray* pNewArray);
          int m_nSize; // # of elements (upperBound - 1)
          int m_nMaxSize; // max allocated
          int m_nGrowBy; // grow amount
  • 몸짱프로젝트/InfixToPostfix . . . . 24 matches
         #define __STACK__H__
          int precedence;
         const int LEN = 4;
         const int MAX = 10;
         int top = -1;
         Element push(int * top, Element aItem)
         Element pop(int * top)
         ''main.cpp''
         #include <iostream.h>
         #include <cstring>
         #include "stack.h"
         void main()
          int len = strlen(aTerm);
          Element income;
          /*income.op.token = 'b';
          income.op.precedence = 0;
          push(top, income);
          for ( int i = 0 ; i < len ; i++ )
          income.op = toOperator(aTerm[i]);
          if ( income.op.precedence < stack[top].op.precedence )
  • DPSCChapter3 . . . . 23 matches
         == Intent ==
         http://zeropage.org/~comein2/design_pattern/31page.gif
          구조를 가지게 된다. 가령 CarEngine 하위 구조의 엔진들, CarBody 구조의 body 등등을 가지게 된다.
          (결국, 각각이 CarEngine을 Base Class로 해서 상속을 통해 Ford Engine,Toyota Engine등등으로 확장될 수 있다는 말이다.)
          http://zeropage.org/~comein2/design_pattern/32page.gif
          구체화 없이 관계된 혹은 의존적인 객체 집합을 만들기 위한 인터페이스를 제공하는" (Intent 부분에서 언급한 내용)
          클래스이다. 그것은 추상적인 상품 생성 함수들(makeCar,makeEngine,makeBody)을 정의한다. 그 때 우리는 상품 집합 당
          http://zeropage.org/~comein2/design_pattern/33page.gif
          CarPartFactory>>makeEngine
          FordFactory>>makeEngine
          ^FordEngine new
          ToyotaFactory>>makeEngine
          ^ToyotaEngine new
          http://zeropage.org/~comein2/design_pattern/34page.gif
          "Create the top-level part, the car object which starts out having no subcomponents, and add an engine, body, etc."
          addEngine: factory makeEngine;
          만약, 팩토리가 FordFactory의 인스턴스였다면, 자동차에 추가되기 위해 얻어진 엔진은 FordEngine일 것이다. 만약 팩토리가 ToyotaFactory였다면, ToyotaEngine은 팩토리의 makeEngine에 의해서 만들어 질 것이고, 그 때 자동차에 추가될 것이다.
          car addEngine:
          ifTrue: [FordEngine new]
  • NumberBaseballGame/jeppy . . . . 23 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <time.h>
         #include <conio.h>
         void main() {
          int i;
          printf("%d input number : ", i+1);
          printf(" 중복된 숫자를 입력하시면 안됩니다. 다시 입력해주세요.\n");
          //printf("%d : %s\n", i, number_log[i]);
          printf("You lose~\nThe answer is %c%c%c", hidden_num[0], hidden_num[1], hidden_num[2]);
          int number[3];
          int i, temp_i, num, j;
          printf("Make number..\n");
          //printf("%c %c %c \n", p[0], p[1], p[2]);
          //printf("%d %d %d \n", number[0], number[1], number[2]);
          int i, j, k;
          int strike = 0;
          int ball = 0;
          printf("You win~!!\n");
          printf("out!!\n");
  • TkinterProgramming/Calculator2 . . . . 23 matches
         from Tkinter import *
          def __init__(self, master, left1, right1):
          Frame.__init__(self, master, bg='gray40')
          def __init(self, master, font=('arial', 8, 'bold'), fg='white',
          apply(Button.__init__, (self, master), kw)
          def __init__(self):
          exec code in self.myNameSpace, self.myNamespace
          def __init__(self, parent = None):
          Frame.__init__(self, bg='gray40')
          self.master.title('Tkinter Toolkit TT - 42')
          'sin' : self.doThis, 'cos' : self.doThis,
          print '"%s" has not been implemented' % action
          self.display.insert(END, '\n')
          self.display.insert(END, '%s\n' % result, 'ans')
          self.display.insert(END, key)
          ('Del', 'Ins', '', KC1, FUN, 'delete'),
          ('Sin', 'Sin-1', 'E', KC1, FUN, 'sin'),
          self.display.component('text').bind('<Key>', self.doKeypress)
          self.display.component('text').bind('<Return>', self.doEnter)
          for row in keys:
  • WeightsAndMeasures/문보창 . . . . 23 matches
         #include <iostream>
         #include <algorithm>
         using namespace std;
         //#include <fstream>
         //fstream fin("in.txt");
         #define MAX_SIZE 5608
         #define MAX_WEIGHT 10000000
          int weight;
          int strength;
         inline
         void input(Turtle* t, int* numT)
          while (cin >> t[*numT].weight >> t[*numT].strength)
         void process(Turtle* t, int numT)
          int i, j;
          int dynamic[2][MAX_SIZE];
          int result;
         int main()
          int numTurtle;
          input(turtle, &numTurtle);
  • Yggdrasil/020523세미나 . . . . 23 matches
         #include<iostream.h>
         main()
          int i;
          int temp;
          int sum[2]={1,1};
          int decide;
          cin>>decide;
         #include<iostream.h>
         int main()
          int select;
          int i,k;
          int array[10]={0,};
          cin>>select;
          cin>>array[k];
         #include<iostream.h>
         int main()
          int select;
          int i,k;
          int array[10]={0,};
          cin>>select;
  • 새싹교실/2013/양반/3회차 . . . . 23 matches
         분기문 : goto문, return문, break문, continue문
         if(a < min)
          min = a;
         if(a < min){
          min = a;
          printf("%d", min);
          min = a;
          min = b;
         if(a < b){ min = a;
         }else { min = b;}
         === dangling else problem ===
          min = num1;
          min = num3;
         #include<stdio.h>
         int main(){
          int n, i, j;
          printf("*");
          printf("\n");
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 코드레이스/2007.03.24상협지훈 . . . . 23 matches
          print "red"
          print "green"
         num = input(">>")
          print "red"
          print "green"
         numList = raw_input(">>")
         year, month, day, time, minute, sec = map(int,numList.split(" "))
         sec = ((((((year-2000)*12 + month)*30 + day)*24 + time)*60 + minute)*60 + sec )
         manNum = input()
         for i in range(0,manNum):
          numList = raw_input(">>")
          year, month, day, time, minute, sec = map(int,numList.split(" "))
          sec = ((((((year-2000)*12 + month)*30 + day)*24 + time)*60 + minute)*60 + sec )
         print breakCt
         manNum = input()
         for i in range(0,manNum):
          numList = raw_input(">>")
          year, month, day, time, minute, sec = map(int,numList.split(" "))
          sec = ((((((year-2000)*12 + month)*30 + day)*24 + time)*60 + minute)*60 + sec )
         print breakCt
  • EightQueenProblem/김준엽 . . . . 22 matches
         #include <iostream>
          for (int i=0; i<8; ++i)
          for (int j=0; j<8; ++j)
          void applyQueen(int x, int y)
          for (int i=0; i<8; ++i)
          for (int j=0; j<8; ++j)
          bool isEmptyCell(int x, int y)
          for (int i=0; i<8; ++i)
          for (int j=0; j<8; ++j)
         void applyCell(ChessBoard cboard, int x, int y);
         void find8Queen(ChessBoard& cboard, int y)
          for (int x=0; x<8; ++x)
         void applyCell(ChessBoard cboard, int x, int y)
          find8Queen(cboard, y+1);
         int main()
          find8Queen(cboard, 0);
  • 가위바위보/성재 . . . . 22 matches
         #include<iostream>
         #include<fstream>
         using namespace std;
         int main()
          fstream fin;
          fin.open("data1.txt");
          int win=0;
          int lose=0;
          int moo=0;
          while(fin.get(ch))
          fin.get();
          fin.get(str);
          fin.get();
          win++;
          win++;
          win++;
          continue;
          cout << "이선호의 이긴 수는 " << win <<"번이고," <<endl
          <<"진 횟수는 "<< win <<"번이고,"<< endl
          fin.close();
  • 고슴도치의 사진 마을처음화면 . . . . 22 matches
         ▶ID : celfin ( Computer Elfin )
         ▶Hobby : Taking a picture
         ▶E-mail : celfin_2002@hotmail.com(MSN), celfin@lycos.co.kr(nateon), celfin_2000@hanmail.net
         ▷Phillippines tour
         ▷Bagic Java & Linux
         || [Picture Link] ||
         || [http://165.194.17.5/wiki/index.php?url=zeropage&no=3818&title=알고리즘&login=processing&id=celfin&redirect=yes algorithms] ||
         || [http://165.194.17.5/wiki/index.php?url=zeropage&no=3817&title=경시대회준비반&login=processing&id=celfin&redirect=yes preparing the ACM] ||
         || [Celfin's ACM training] ||
         || [Celfin's English] ||
         === Information ===
  • 비밀키/김태훈 . . . . 22 matches
         #include <fstream>
         #include <iostream>
         using namespace std;
         void main()
          ifstream fin ("source.txt");
          int x;
          cin >> x;
          int temp;
          fin.get(ch);
          temp = (int) ch;
          }while(!(fin.eof()));
         #include <iostream>
         #include <fstream>
         using namespace std;
         void main()
          ifstream fin("source_enc.txt");
          int y;
          cin >> y;
          int temp;
          fin.get(ch);
  • 숫자를한글로바꾸기/조현태 . . . . 22 matches
         #include <iostream>
         using namespace std;
         const int MAX_LONG=5;//최대가 5자리 숫자이기때문.
         const int MAX_NUMBER=10000;//최대가 10000이기때문.
          int where_is_save;
          int max_size_of_stack;
          stack( int data_size )
          bool get_in(char save_data)
         void main()
          stack print_number(MAX_LONG);
          int input_number=-1;
          while (input_number<0 || input_number>=MAX_NUMBER)
          cin >> input_number;
          while (input_number>0)
          print_number.get_in(input_number%10);
          input_number/=10;
          while (print_number.get_out(&temp))
  • 큰수찾아저장하기/김영록 . . . . 22 matches
         #include <stdio.h>
         static int space[4][4];
         int width_sort(int a);
         int height_sort(int a);
         int all_sort();
         void main()
         int i,j;
          printf("input[%d][%d] = ",i,j);
         int width_sort(int a){
         int max=0,i;
         int height_sort(int a){
         int max=0,i;
         int all_sort(){
         int max=0,i,j;
         int i,j;
          printf("\n");
          printf("%d ",space[i][j]);
  • HowManyZerosAndDigits/김회영 . . . . 21 matches
         #include<iostream>
         using namespace std;
         struct info_number
          int zero_count;
          int total_count;
         int factorial(int);
         void test(int,int,info_number*);
         void main()
          int number,result_number,radix;
          info_number temp;
          cin>>number>>radix;
         int factorial (int n)
         void test(int n,int radix,info_number* temp)
          int zero_count=0;
          int total_count=1;
  • JTDStudy/두번째과제/장길 . . . . 21 matches
         == TestButtonMain ==
         public class TestButtonMain extends Applet implements ActionListener{
          public TestButtonMain(){
         public class TestFrame extends Frame implements WindowListener{
          this.addWindowListener(this);
          public void windowClosing(WindowEvent e) {
          public void windowActivated(WindowEvent e) {}
          public void windowClosed(WindowEvent e) {}
          public void windowDeactivated(WindowEvent e) {}
          public void windowDeiconified(WindowEvent e) {}
          public void windowIconified(WindowEvent e) {}
          public void windowOpened(WindowEvent e) {}
         * 너무 오랫만에 숙제를 했네요....... windfencer.zerpage.org 여기에 들어가면 위 소스로 만든 애플릿을 확인하실수 있습니다. - 장길 -
  • MineSweeper/김상섭 . . . . 21 matches
         #include <iostream>
         #include <vector>
         using namespace std;
         struct point
          int row;
          int col;
         vector<point> test;
         int col, row, i, j,temp_row, temp_col, map[101][101];
         int director_row[8] = {-1,-1,-1,0,0,1,1,1};
         int director_col[8] = {-1,0,1,-1,1,-1,0,1};
         int count = 1;
         point temp_point;
         int main()
          cin >> row >> col;
          cin >> temp_char;
          temp_point.row = i;
          temp_point.col = j;
          test.push_back(temp_point);
          cin >> row >> col;
  • Ones/송지원 . . . . 21 matches
         #include <stdio.h>
         #define LENBOUND 10000
         #define ARRBOUND 2500 // LENBOUND/4
         typedef struct longint {
          int length;
          int digits[ARRBOUND]; // 0000~9999
         } longint;
         void ones( longint *pns, int len )
          int i;
          int j;
         int division( longint *pns, int divisor ) {
          int i = ARRBOUND - (pns->length + 3) / 4;
          int rem = 0;
         void main() {
          longint ns;
          int n;
          int i;
          if( i <= LENBOUND ) printf("%d\n", i);
  • ProjectPrometheus/DataBaseSchema . . . . 21 matches
         || bookid || isbn || totalpoint || title ||
         || uid || bookid || relbookid || relpoint ||
         || uid || bookid || userid || viewpoint || hviewpoint || lviewpoint ||
         uid int (11) NOT NULL auto_increment,
         relpoint int(11) NOT NULL DEFAULT 0,
         uid int (11) NOT NULL auto_increment,
         viewpoint int(11) NOT NULL DEFAULT 0,
         hviewpoint int(11) NOT NULL DEFAULT 0,
         lviewpoint int(11) NOT NULL DEFAULT 0,
         totalpoint int(11) NOT NULL DEFAULT 0,
         uid int (11) NOT NULL auto_increment,
  • 미로찾기/최경현김상섭 . . . . 21 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <time.h>
         int main()
          int count = 0;
          int row = 5;
          int col = 5;
          int nowr = 1,nowc = 1;
          int abc[row+2][col+2];
          int i,j;
          int n;
          printf("(%d,%d) ",nowr,nowc);
          printf("(%d,%d) ",nowr,nowc);
          printf("(%d,%d) ",nowr,nowc);
          printf("(%d,%d) ",nowr,nowc);
          printf("(%d,%d) ",nowr,nowc);
          printf("(%d,%d) ",nowr,nowc);
          printf("(%d,%d) ",nowr,nowc);
          printf("(%d,%d) ",nowr,nowc);
          printf("%d",count);
  • 3N+1Problem/문보창 . . . . 20 matches
         #include <iostream>
         using namespace std;
         int findMaxCycle(int a, int b);
         int main()
          int a, b; // 입력되는 두 개의 수
          while (cin >> a >> b)
          int maxCycle = findMaxCycle(a, b); // 최대 사이클
         int findMaxCycle(int a, int b)
          int t;
          int nCycle; // 사이클 길이
          int maxCycle = 0; // 최대 사이클
          int i;
  • MagicSquare/재니 . . . . 20 matches
         #include <iostream>
         using namespace std;
         int main()
          int num, line, row;
          cin >> num;
          cin >> num;
          int mbj[9][9] = {0,0 };
          line = num - 1;
          for (int i = 0 ; i < num * num ; i++)
          mbj[line][row] = i + 1;
          if (line == num - 1)
          line = 0;
          else line++;
          if (mbj[line][row] != 0)
          if(line == 0 && row == 0)
          line = num - 2;
          line -= 2;
          for (int j = 0 ; j < num ; j++)
  • Map/임영동 . . . . 20 matches
         #include<iostream>
         #include<string>
         #include<vector>
         #include<map>
         using namespace std;
         int main()
          string input="ad md$ =i@@9z xy*@ -9z";
          for(it=decoder.begin();it!=decoder.end();++it)
          /*for(int i=0;i!=input.size();++i)
          input[i]=(*it)[input[i]];
          for(string::iterator i=input.begin();i!=input.end();i++)
          cout<<input;
  • MoinMoinDiscussion . . . . 20 matches
         Talk about the things on MoinMoinTodo and MoinMoinIdeas in this space...
         '''Q''': How do you inline an image stored locally? (e.g. ../wiki-moimoin/data/images/picture.gif)
          * '''R''': The Icon macro worked well. I wanted to avoid the fully qualified URL because to access the Wiki in question requires password authentication. Including an image using the full URL caused my webserver (Apache 1.3.19) to reprompt for authentication whenever the page was viewed or re-edited. Perhaps a default {{{~cpp [[Image]]}}} macro could be added to the distribution (essentially identical to {{{~cpp [[Icon]]}}} ) which isn't relative to the data/img directory. (!) I've actually been thinking about trying to cook up my own "upload image" (or upload attachment) macro. I need to familiarize myself with the MoinMoin source first, but would others find this useful?
          * '''Note:''' Regarding the upload feature - pls note that the PikiePikie also implemented in Python already has this feature, see http://pikie.darktech.org/cgi/pikie?UploadImage ... so I guess you could borrow some code from there :) -- J
  • RUR-PLE/Etc . . . . 20 matches
         == Amazing Part 1 ==
          * amazing1.wld 월드 파일을 연다.
         == Amazing Part 2 ==
          * amazing2.wld 월드 파일을 연다.
         == Amazing Part 3,4 ==
          * amazing3.wld 월드 파일을 연다.
         == Amazing Part 5 ==
          * amazing5.wld 월드 파일을 연다.
         == 이제 만든 amazing을 써먹어 보자 ==
          * amazing을 해보면서 느낀점을 각자 이야기 해봅시다~!
         == rain1 ==
          * rain1.wld 월드 파일을 연다.
         def close_window():
          close_window()
         == rain2 ==
          * rain2.wld 월드 파일을 연다. rain1과 좀 다르게 생겼다.
          * rain1의 코드를 여기서도 돌아가도록 만든다.
         def close_window():
          close_window()
  • ThePriestMathematician/김상섭 . . . . 20 matches
         #include <iostream>
         using namespace std;
         #include <vector>
         #include <cmath>
         unsigned int hanoi[10001] = {0,1,};
         int a[10000];
         int main()
          vector<int> test;
          int num;
          unsigned min, temp;
          for(int i = 1; i < 10001; i++)
          min = 4000000000;
          for(int k = 0; k < i; k++)
          if(temp <= min)
          min = temp;
          hanoi[i] = min;
          while(cin >> num)
          for(vector<int>::iterator j = test.begin(); j != test.end(); j++)
  • ThinkRon . . . . 20 matches
         aka {{{~cpp WhatTheyWouldDoInMyShoes}}}
         여기서 Ron은 Think Big에서처럼 부사의 역할을 하며, "RonJeffries처럼"을 뜻한다.
         저는 이미 RonJeffries를 어느 정도 내재화(internalize)하고 있는 것은 아닌가 생각이 듭니다. 사실 RonJeffries나 KentBeck의 언변은 "누구나 생각할 수 있는 것"들이 많습니다. 상식적이죠. 하지만 그 말이 그들의 입에서 나온다는 점이 차이를 만들어 냅니다. 혹은, 그들과 평범한 프로그래머의 차이는 알기만 하는 것과 아는 걸 실행에 옮기는 것의 차이가 아닐까 합니다. KentBeck이 "''I'm not a great programmer; I'm just a good programmer with great habits.''"이라고 말한 것처럼 말이죠 -- 사실 훌륭한 습관을 갖는다는 것처럼 어려운 게 없죠. 저는 의식적으로 ThinkRon을 하면서, 일단 제가 가진 지식을 실제로 "써먹을 수" 있게 되었고, 동시에 아주 새로운 시각을 얻게 되었습니다.
         전문가 비전문가 PairProgramming을 하다가 문제에 직면했습니까? 스스로에게 물어보십시오. 만약 KentBeck이나 WardCunningham, RonJeffries 같은 사람이 이 자리에 나 대신 있었다면 이 문제에 어떻게 대응했을런지. 그리고 거기서 얻은 해답을 꼭 실행에 옮겨 보세요. 자신은 물론 상대방도 놀라게 될 것입니다. 해답은 늘 안에 있습니다.
         Let me tell a brief story about how that came about. Our president, at the time was Bob Doherty. Doherty came from General Electric via Yale, and had been one of the bright young men who were taken under the wing of the famous engineer Stiglitz. Every Saturday, Stiglitz would hold a session with these talented young men whom General Electric had recruited and who were trying to learn more advanced engineering theory and problem-solving techniques. Typically, Bob Doherty would sometimes get really stuck while working on a problem. On those occasions, he would walk down the hall, knock on Stiglitz’s door, talk to him — and by golly, after a few minutes or maybe a quarter of an hour, the problem would be solved.
         One morning Doherty, on his way to Stiglitz’s office, said to himself, "Now what do we really talk about? What’s the nature of our conversation?" And his next thought was, "Well Stiglitz never says anything; he just asks me questions. And I don’t know the answer to the problem or I wouldn’t be down there; and yet after fifteen minutes I know the answer. So instead of continuing to Stiglitz’s office, he went to the nearest men’s room and sat down for a while and asked himself, "What questions would Stiglitz ask me about this?" And lo and behold, after ten minutes he had the answer to the problem and went down to Stiglitz’s office and proudly announced that he knew how to solve it.
  • 테트리스만들기2006/예제1 . . . . 20 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <Windows.h>
         void main()
          int number = 0;
          printf("%d", number);
         #include <stdio.h>
         #include <stdlib.h>
         #define SCREEN_WIDTH 17
         #define SCREEN_HEIGHT 9
         #define ID_BLOCK 1
         void main()
          int screenArray[SCREEN_HEIGHT][SCREEN_WIDTH] = {0,};
          int x, y;
          for(int i = 0; i < SCREEN_HEIGHT; ++i)
          for (int j = 0; j < SCREEN_WIDTH; ++j)
          printf("■");
          printf(" ");
          printf("\n");
  • MagicSquare/동기 . . . . 19 matches
         #include <iostream>
         using namespace std;
         int number[9][9]={{0,},};
         void main()
          int k;
          int i=0;
          cin >> k;
          int MAX = k-1;
          int x = k/2;
          int y = 0;
          int col=1;
          int final = k*k;
          int count= 1;
          for(count=2;count<=final;count++)
          int newy=y;
          int newx=x;
          for (int p=0;p<=MAX;p++)
          for (int l=0;l<=MAX;l++)
  • StacksOfFlapjacks/조현태 . . . . 19 matches
         #include <stdio.h>
         #include <string.h>
         void print_flap(char*, int);
         const int SIZE_BUFFER=100;
         void main()
          int number_cake=0;
          printf("팬케이크의 크기를 순서대로 입력해주세요. (0은 종료 또는 입력완료)\n>>");
          print_flap(cakes_size, number_cake);
         void print_flap(char* cakes_size, int number_cake)
          printf ("결과 : ");
          for (register int i=number_cake-1; i>=0; --i)
          int maximum=i;
          for (register int j=0; j<=i; ++j)
          printf("%d ",number_cake-maximum);
          printf("%d ",number_cake-i);
          printf ("0 \n");
  • User Stories . . . . 19 matches
         원문 : http://www.extremeprogramming.org/rules/userstories.html
         User stories serve the same purpose as use cases but are not the same. They are used to create time estimates for the release planning meeting. They are also used instead of a large requirements document. User Stories are written by the customers as things that the system needs to do for them. They are similar to usage scenarios, except that they are not limited to describing a user interface. They are in the format of about three sentences of text written by the customer in the customers terminology without techno-syntax.
         One of the biggest misunderstandings with user stories is how they differ from traditional requirements specifications. The biggest
         difference is in the level of detail. User stories should only provide enough detail to make a reasonably low risk estimate of how long the story will take to implement. When the time comes to implement the story developers will go to the customer and receive a detailed description of the requirements face to face.
         Developers estimate how long the stories might take to implement. Each story will get a 1, 2 or 3 week estimate in "ideal development time". This ideal development time is how long it would take to implement the story in code if there were no distractions, no other assignments, and you knew exactly what to do. Longer than 3 weeks means you need to break the story down further. Less than 1 week and you are at too detailed a level, combine some stories. About 80 user stories plus or minus 20 is a perfect number to create a release plan during release planning.
         Another difference between stories and a requirements document is a focus on user needs. You should try to avoid details of specific technology, data base layout, and algorithms. You should try to keep stories focused on user needs and benefits as opposed to specifying GUI layouts.
  • 데블스캠프2004/세미나주제 . . . . 19 matches
          * ObjectOrientedProgramming
          * 개발 방법론( ExtremeProgramming )
          * Linux (또는 UNIX) 기초. 간단한 커맨드들과 쉘 프로그래밍
         || 목 || [STL] || 영동 || 2h || [STL/string]이나 [STL/vector] 등의 1학년도 쓰기 편리한 자료구조 위주로 ||
         || 금 || OOP(ObjectOrientedProgramming) || 수민 석천이형 || ? || OOP ||
          - [STL]의 경우 사용법을 세미나하는것도 좋지만 GenericProgramming 의 개념과 왜 그러한 패러다임이 나왔는지, 그 배경에 대한 설명도 있으면 좋을 것 같습니다 - [임인택]
          - 그 정도 주제까지 간다면, ProgrammingLanguage 관련 전체를 다루는 수업의 연장선에 놓는게 좋지 않을까요? --NeoCoin
          * 월요일 처음 시작 3~4시간을 저 주시면 안될까요? --NeoCoin
          * [NeoCoin/Temp] CrcCard
          정도로 계획을 짜 놓았는데 전부다하기에는 캠프의 첫날이 다 필요합니다. 월요일에 저렇게 예약된게 많으니, 3시간 정도만 해서 Wiki탐험과 ZeroPage역사+OT 정도만 진행할수 있으면 좋겠어요. 흐흐 벌써 [1002]를 섭외(?)해 놓았고, 다른 분들도좀 섭외를 해서 적절한 요일에 만나면 될것 같습니다. :) --NeoCoin
          * RevolutionOS 별로 재미없습니다. 다 아는 내용이고, 당시의 장미빛 미래와 지금이 많이 달라진 상황이라, 슬픈 느낌마져 들었습니다. 시청하는데 의의가 있었죠. :) 제 생각은 ZeroPage 역사를 가지고 스냅샷으로 몇장 정도면 어떨까 합니다. 즉석 역할극도 재미있겠네요. 그런데 [1002] 시험은 언제 끝나요? --NeoCoin
          * 예로서는 좋은데, 직접 보기에는 너무 단조롭더라. 설명 자체도 그리 친절하지 않고, 암튼 그런 좋은 영화 같은거 없나? --NeoCoin
          * 월요일 처음 시작 3~4시간을 저 주시면 안될까요? 시작이 아니면 그리 큰 의미가 없는데요. 재동, 상규 의 그래픽스 시간이 힘든가요? --NeoCoin
          * 지금 Accelerated C++을 보고 있는데 STL에 대해 흥미가 생기네요... 그래서 이거 세미나 계획하고 있습니다. 세미나 방향은 char배열을 대신해서 쓸 수 있는 string이나, 배열 대신 쓸 수 있는 vector식으로 기존의 자료구조보다 편히 쓸 수 있는 자료구조를 설명하려 합니다.-영동
          영웅인가요? :) 제가 기억하는 영웅들은 ZeroPage(페이지 하단 기재) 91,92,93 년도에 경진대회로 학교 PC실을 하나 새로 만든 분들 정도 아닐까요? --NeoCoin
         --NeoCoin
         [STL]을 할때 단순히 자료구조를 사용하는 방법을 같이 보는것도 중요하겠지만 내부구조 (예를 들어, vector는 동적 배열, list은 (doubly?) linked list..)와 같이 쓰이는 함수(sort나 또 뭐가있드라..그 섞는것..; ), 반복자(Iterator)에 대한 개념 등등도 같이 보고 더불어 VC++6에 내장된 STL이 ''표준 STL이 아니라는 것''도 같이 말씀해 주셨으면;; (SeeAlso [http://www.stlport.org/ STLPort]) - [임인택]
         컥 역시 내가 알려줄게 하나도 없구나- 공부를 안하니까 알려줄게 없다. ㅠㅠ[fnwinter]
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/김준석,서영주 . . . . 19 matches
          public int MAX_HEIGHT;
          public int MIN_HEIGHT;
          public int floor;
          public Elevator(int max_height, int min_height, int basic_height) {
          MIN_HEIGHT = min_height;
          public int getFloor() {
          public void goTo(int i) {
          if(i <= MAX_HEIGHT && i >= MIN_HEIGHT)
          public String callElevator(int i) {
          public int getMaxHeight() {
          public int getMinHeight() {
          return MIN_HEIGHT;
          int temp = el.getFloor();
          public void printTest(){
          public void getMinHeightTest(){
          assertEquals(el.getMinHeight(), -5);
  • DebuggingSeminar_2005 . . . . 18 matches
          || [DebuggingSeminar_2005/UndName] || UndName 사용법 ||
          || [DebuggingSeminar_2005/DebugCRT] || Debug CRT 라이브러리 활성화 예제. extracted from Debugging Application ||
          || [DebuggingSeminar_2005/AutoExp.dat] || VC IDE의 Watch 윈도우에 사용자 데이터형의 표현형을 추가하는 파일 ||
          || [http://www.sysinternals.com/ SysInternal] || [http://www.sysinternals.com/Utilities/ProcessExplorer.html Process Explorer Page] ||
          || [http://www.dependencywalker.com/ DependencyWalker] || Dependency Walker (Included at VS6) ||
          || [http://www.compuware.com/products/devpartner/softice.htm SoftIce for DevPartner] || 데브파트너랑 연동하여 쓰는 SoftIce, [http://www.softpedia.com/get/Programming/Debuggers-Decompilers-Dissasemblers/SoftICE.shtml Freeware Download] ||
          || [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/tools/rebase.asp ReBase MSDN] || Rebase is a command-line tool that you can use to specify the base addresses for the DLLs that your application uses ||
          || [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_viewing_decorated_names.asp undname.exe] || C++ Name Undecorator, Map file 분석툴 ||
          || [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/_core_c_run2dtime_library_debugging_support.asp Debug CRT] || VC++4 에서 지원하기 시작한 C런타임 라이브러리 ||
         [Debugging] [Debugging/Seminar_2005] [Seminar] [DebuggingApplication]
  • EcologicalBinPacking/임인택 . . . . 18 matches
         indexes = '123 132 213 231 312 321'.split()
         def RecycleBin():
          data = raw_input().split()
          for str in indexes : # seq in indexes
          num=[int(str[0])-1, int(str[1])+2, int(str[2])+5]
          for i in range(0,9):
          sum+=int(data[i])
          min=1000
          for i in range(len(results)):
          if min>results[i]:
          min=results[i]
          print chars[idx],results[idx]
         RecycleBin()
  • FromCopyAndPasteToDotNET . . . . 18 matches
          * [http://zeropage.org/~lsk8248/wiki/Seminar/FromCopyAndPasteToDotNET/FromCopyAndPasteToDotNET.doc 세미나 자료]
          * [http://zeropage.org/~lsk8248/wiki/Seminar/FromCopyAndPasteToDotNET/DLLExample.zip DLLExample]
          * [http://zeropage.org/~lsk8248/wiki/Seminar/FromCopyAndPasteToDotNET/UsingDLL.zip UsingDLL]
          * [http://zeropage.org/~lsk8248/wiki/Seminar/FromCopyAndPasteToDotNET/ATLCOMExample.zip ATLCOMExample]
          * [http://zeropage.org/~lsk8248/wiki/Seminar/FromCopyAndPasteToDotNET/UsingCOM.zip UsingCOM]
          * [http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/dataexchange/dynamicdataexchange/aboutdynamicdataexchange.asp About Dynamic Data Exchange]
          * [http://msdn.microsoft.com/workshop/components/activex/intro.asp Introduction to ActiveX Controls]
          * [http://msdn.microsoft.com/library/en-us/cossdk/htm/betaintr_6d5r.asp Introducing COM+]
          * [http://msdn.microsoft.com/library/en-us/cpguide/html/cpovrintroductiontonetframeworksdk.asp Overview of the .NET Framework]
          * 듣고 싶은데 아쉽군 --["neocoin"]
  • Hessian . . . . 18 matches
         Resin 을 이용하는 경우라면 Hessian 이용해서 간단하게 RPC 를 구현할 수 있다.
         hessian simple tutorial (홈페이지의 Servlet 예제) - 이는 Resin Servlet Container 가 동작해야 함.
         === interface 의 정의 ===
         RPC 를 위해서는 서버-클라이언트의 대화를 위한 interface 의 정의가 필요하다. 간단하게 정의해본다.
         public interface Basic {
          public String hello();
          public int returnInt();
         이를 컴파일 하기 위해서는 hessian-2.1.3.jar 화일과 jsdk23.jar, resin.jar 화일이 classpath 에 맞춰줘야 한다. (이는 resin 의 lib 폴더에 있다. hessian jar 화일은 [http://caucho.com/hessian/download/hessian-2.1.3.jar hessian] 를 다운받는다)
          public String hello () {
          public int returnInt() {
         Java 와 Python 둘 다 구현이 가능하다. 여기서는 간단하게 Python Interpreter 를 이용해보자.
         >>> proxy.returnInt()
         Java 의 경우는 다음과 같다. 위에서 정의한 interface 인 Basic 이 있어야 한다.
          public static void main(String[] args) throws MalformedURLException {
          String url = "http://localhost:8080/servlet/RpcTest";
          System.out.println("Hello ():" + basic.hello());
          System.out.println("returnInt : " + basic.returnInt());
  • PragmaticVersionControlWithCVS/WhatIsVersionControl . . . . 18 matches
         || [PragmaticVersionControlWithCVS] || [PragmaticVersionControlWithCVS/Getting Started] ||
         == Where Do Versions Come In? ==
         개발중심축(mainline) : 일반적인 개발환경하에서 개발자들은 동일한 코드 기반을 가지고 작업을 한다. 체크아웃, 개정판을 만들어서, 변경사항을 체크인하면 모든 개발자가 서로의 작업을 공유하게 되는 것이다. 이러한 개발흐름을 일컬어 개발중심축이라 함.
         mainline : 1.14 -> 1.15
         == Merging ==
         브랜치를 이용하면 한명의 개발자가 한개의 컴퓨터를 가지고도 릴리즈 버전의 버그 수정작업과 mainline상의 프로그램의 개발을 동시에 하는 것이 가능하다.
         이 경우 브랜치에서 수정된 사항이 mainline상에도 반영되어야할 필요가 있을때 이를 병합의 과정을 통해서 하는 것이 가능하다.
         == Locking Options ==
         '''Original'''
          public String getName() {
          public int getSize() {
          public String getName() {
          public int getSize() {
          public String getName() {
          public int getSize() {
  • QuestionsAboutMultiProcessAndThread . . . . 18 matches
          1. Single CPU System에서 프로세서 A 가 Run 중일 때, I/O 작업을 해야 돼서 다른 프로세서 B로 스위칭을 하는 상황이다.
          * 만약 그것이 아니라면, I/O 작업을 CPU가 담당하지 않는 것인가? CPU 내부 ALU와 I/O 작업 회로가 따로 있는 Independent 상황이기 때문에 그런 것인가?
          2. Single CPU & Single-processor & Multi-thread 환경이다.
          * 그렇다면 개념적으로 Single CPU에서 Processor Switching과 같은 것인가?
          * A) processor라고 쓰신 것이 아마도 process를 의미하는 것 같군요? scheduling 기법이나, time slice 정책, preemption 여부 등은 아키텍처와 운영체제 커널 구현 등 시스템에 따라 서로 다르게 최적화되어 설계합니다. thread 등의 개념도 운영체제와 개발 언어 런타임 등 플랫폼에 따라 다를 수 있습니다. 일반적으로 process의 context switching은 PCB 등 복잡한 context의 전환을 다루므로 단순한 thread 스케줄링보다 좀더 복잡할 수는 있으나 반드시 그런 것은 아닙니다. - [변형진]
          * Single Processor & Single Thread
          * Single Processor & Multi Thread
          * Multi Processor & Single Thread
          * Single CPU 환경이라면
          * 어느 바쁜 음식점(machine)입니다. 두 명의 요리사(processor)가 있는데, 주문이 밀려서 5개의 요리(process)를 동시에 하고 있습니다. 그 중 어떤 한 요리는 소스를 끓이면서(thread) 동시에 양념도 다지고(thread), 재료들을 오븐에 굽는데(thread) 요리를 빠르게 완성하기 위해 이 모든 것을 동시에 합니다. 한 명의 요리사는 특정시점에 단 한 가지 행위(instruction)만 할 수 있으므로, 양념을 다지다가 (context switching) 소스가 잘 끓도록 저어주기도 하고 (context switching) 다시 양념을 다지다가 (context switching) 같이 하던 다른 요리를 확인하다가, 오븐에 타이머가 울리면(interrupt) 구워진 재료를 꺼내어 요리합니다. 물론 두 명의 요리사는 같은 시점에 각자가 물리적으로 서로 다른 행위를 할 수 있으며, 하나의 요리를 두 요리사가 나눠서(parallel program) 동시에 할 수도 있습니다. - [변형진]
  • SmallTalk/강좌FromHitel/강의4 . . . . 18 matches
         nosmokmoin 으로 변경시에 이 페이지가 에러가 발생하는 대표적인 예이다. 이 외에도
         아직까지 자료실에서 Dolphin Smalltalk를 내리받아 설치하지 않으신 분이라
         Smalltalk 환경을 끝낼 때 File > Exit Dolphin 명령을 내리는 대신 알림판
         객체 탐색기(object inspector)는 명령을 실행할 떄 나 글
         위의 명령을 글쇠로 실행해 보면 "Inspecting a SortedCollection"
         서 'Dolphin'이라는 낱말이 들어간 것을 지금 쓰고 있는 본(image)에서 죄다
          SmalltalkSystem current browseContainingSource: 'Dolphin'
         생각보다 많은 길수에 "Dolphin"이라는 글귀가 포함되어있습니다. 이 길수
         있는 창은 현재 Dolphin Smalltalk 환경에 설치되어있는 꾸러미들을 늘어놓
         (class definition)을, 길수가 돋이되어 있다면 바탕글 등을 보여줍니다.
         창맵씨(View Composer)는 사용자 접속 환경(User Interface)를 만드는 도구
         여기서 여러분은 창(window)이나 대화 상자(Dialog box)를 만들어서 프로그
         다. "발자취 창"(walkback window)은 Smalltalk 프로그램이 실행되는 상태에
         위 명령을 실행하자마자 "SmallInteger does not understand #hello"라는 제
         목이 붙은 발자취 창이 표시될 것입니다. 이 내용인즉슨 "SmallInteger는
          SmallInteger(Object)>>doesNotUnderstand:
          UndefinedObject>>{unbound}doIt
         Dolphin의 경우 꾸러미 탐색기나 창맵씨, 자원 탐색기가 있으며, Smalltalk
         Windows와 같이 그림 위주의 사용자 환경(GUI)에서는 마우스가 필수적인 입
         쪽으로 이동하고, 은 왼쪽으로 이동합니다. 이는 Windows
  • VimSettingForPython . . . . 18 matches
         Python Programming 을 위한 VIM Setting.
         http://bioinfo.sarang.net/wiki/VimRc 추천.
         Seminar:VimEditor 참조.
         Python extension 을 설치하고 난뒤, BicycleRepairMan 을 install 한다. 그리고 BRM 의 압축화일에 ide-integration/bike.vim 을 VIM 설치 디렉토리에 적절히 복사해준다.
         === 1002's Setting ===
         "source $VIMRUNTIME/mswin.vim
         "behave mswin
          silent execute '!C:Vimvim62diff -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out
         set ai showmatch hidden incsearch ignorecase smartcase smartindent hlsearch
         set fileencoding=korea
         set foldminlines=3
         set lines=40
         filetype plugin on
         filetype indent on
  • lostship/MinGW . . . . 18 matches
          * MinGW 인스톨 후 MSYS 를 인스톨 한다. [http://www.mingw.org/index.shtml MinGW & MSYS]
          * 환경변수 path 에 /MinGW/bin 을 추가 한다.
          || ex || /MinGW/STLport-4.5.3 ||
          * /STLport-4.5.3/doc/index.html 에서 컨피그 셋팅을 보고 필요하면 수정한다.
          * /mingw/STLport-4.5.3/src 로 이동한다.
          * make -f gcc-mingw32.mak clean install 를 실행한다. 그러면 /STLport-4.5.3/lib 에 생성된다.
          || {{{~cpp g++ -o out -Id:/MinGW/STLport-4.5.3/stlport test.cpp -Ld:/MinGW/STLport-4.5.3/lib/ -lstlport_mingw32}}} ||
          || {{{~cpp g++ -o out -Id:/MinGW/STLport-4.5.3/stlport test.cpp -Ld:/MinGW/STLport-4.5.3/lib/ -lstlport_mingw32 -mwindows}}} ||
  • neocoin/Log . . . . 18 matches
          * 작성자 : 류상민(99,["neocoin"])
          || [http://www.ocu.or.kr/ Unix 프로그래밍(U)]|| [http://cvlab.cau.ac.kr/ Object Programming(OP)]|| [http://cvlab.cau.ac.kr/ 정보 표준화(IS)] ||.||
          * IS - 11/4 Working Draft 작성 ( text + CD or Floppy)
          * OP- 9월 24일 Object Programming C++ 시험
          * Object Programming 모자이크 숙제 (숙제가 취소 되었음)
          * Win32 API
          * OP - Object Programming Mosaic 프로그램 숙제
          * ["neocoin/SnakeBite"] 진행
          * Eclipse MySQL plugin 작성
          * Grid Computing에 관한 리포트
          * SWEBOK (Software Engineering Body of Knowledge) : SE Reference
          * 프로그래밍 언어론 4th 한서 ( Concepts of Programming Language ) : PL 수업
          * ["OpenGL_Beginner"] : 3월중에 관련 내용을 딱 두번 보았지만, 문서화 시킬만한 꺼리는 아니다. 유보 할것이고, 포기하는 만큼 학교 공부를 하자.
          * ["OpenGL_Beginner"] : 진행하다가, MEC++로 집중, 자세한 로그는 해당 페이지 기록
          - JXTA는 과거 JXTA를 기고했던 마소 필자가 강의자(숭실대 대학원) 였는데, 거기에서 크게 발전한 것은 없다. JXTA의 구현 방향이 IPv6와 겹치는 부분이 많고, P2P의 서비스의 표준을 만들어 나가는 것에 많은 난관이 있다는 것이 느껴졌음. JMF는 강의자가 JMF의 초심자에 가까웠다. JMF가 계획 시행 초기의 당초 원대한 목표에 따르지 못했고, 미래 지향적인 프레임웍만을 남기고 현재 미미하다는 것에 중점, JavaTV가 일부를 차용하고, 그 일부가 무엇인지만을 알게되었음. JavaTV가 정수였다. 이 강연이 없었다면, 이날 하루를 후회했을 것이다. 현재 HDTV에서 JavaTV가 구현되었고, 올 7,8월 즈음에 skylife로 서비스 될 것으로 예상한다. 그리고 가장 궁금했던 "HDTV 상에서의 uplink는 어떻게 해결하는가"의 대답을 들어서 기뻤다.
          * ["Refactoring"] : Reference 부분 1차 초안 완료
         ["neocoin"]
  • 가위바위보/재니 . . . . 18 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         int main()
          ifstream fin("gawi.txt");
          int choose[2], result[3] = {0,};
          fin.getline(name[0],7);
          fin.getline(name[1],7);
          for (int i = 0 ; i < 100 ; i++)
          choose[0] = (int)fin.get();
          fin.get();
          choose[1] = (int)fin.get();
          fin.get();
  • 캠이랑놀자/보창/숙제1 . . . . 18 matches
         for x in range(sizeX):
          for y in range(sizeY):
         for x in range(sizeX):
          for y in range(sizeY):
         == Whitening ==
         for x in range(50,100):
          for y in range(50,100):
         == Darkening ==
         for x in range(50,100):
          for y in range(50,100):
         for x in range(50,100):
          for y in range(100,150):
         for x in range(0,255,5):
          for y in range(0,255,5):
          for m in range(x,x+5):
          for n in range(y,y+5):
          for m in range(x,x+5):
          for n in range(y,y+5):
  • 큐/Leonardong . . . . 18 matches
         #include <iostream>
         using namespace std;
         const int Asize = 3;
         int container[Asize]={0,};
         int order=0;
         int main()
          int choice;
          cin >> choice;
          cin >> container[order++];
          for (int i=0 ; i<order-1 ; i++) //이부분만 빼면
          container[i] = container[i+1];//스택이랑 같음
          container[--order]=0;
          for (int i=0 ; i<order ; i++)
          cout << container[i] << " ";
  • 3N+1/김상섭 . . . . 17 matches
         #include <iostream>
         #include <vector>
         using namespace std;
         const int Min = 1;
         const int Max = 1000000;
         int table[Max];
          int num;
          int pre_count;
          int i, j, k, count;
          for(i = Min; i < Max; i++)
          if(num > Min && num < Max && table[num] == 0)
          if(num > Min && num < Max && table[num] == 0)
         int main()
          int i, j, k, max_num;
          while(cin >> i >> j)
  • FromDuskTillDawn/변형진 . . . . 17 matches
          var $train;
          $ln = explode("\n", "2\n3\nUlm Muenchen 17 2\nUlm Muenchen 19 12\nUlm Muenchen 5 2\nUlm Muenchen\n11\nLugoj Sibiu 12 6\nLugoj Sibiu 18 6\nLugoj Sibiu 24 5\nLugoj Medias 22 8\nLugoj Medias 18 3\nLugoj Reghin 17 4\nSibiu Reghin 19 6\nSibiu Medias 20 3\nReghin Medias 20 4\nReghin Bacau 24 6\nMedias Bacau 4 6\nLugoj Bacau");
          $this->train = array();
          if(($start<18&&$start>6)||($end<18&&$end>6)||($start<=6&&$start>=$end)||($end>=18&&$end<=$start)) continue;
          $this->train[$from][] = array("to"=>$to, "start"=>($start+6)%24, "end"=>($end+6)%24);
          for($i=0; $this->train[$from][$i]; $i++)
          $next = $this->train[$from][$i][to];
          if($city[$next]) continue;
          if($this->train[$from][$i][start]>=$start)
          $today[$next] = min(($today[$next])?$today[$next]:0, $this->train[$from][$i][end]-12);
          else $tomorrow[$next] = min(($tomorrow[$next])?$tomorrow[$next]:0, $this->train[$from][$i][end]-12);
          if($today[$next]) continue;
  • HASH구하기/류주영,황재선 . . . . 17 matches
         #include <iostream>
         #include <fstream>
         #include<string>
         using namespace std;
         int main()
          ifstream fin("input"); // fininput.txt를 연결
          fin >> pass;
          int hash[5] = {0};
          for(int i=0;i<5;i++)
          for(int j=i;j<strlen(pass);j+=5)
          hash[i] += (int)(pass[j]);
          for(int k=0;k<5;k++)
  • JollyJumpers/강소현 . . . . 17 matches
         ||Problem|| 2575||User||talin0528||
         public class Main{
          public static void main(String [] args)
          Scanner scan = new Scanner(System.in);
          int[] arr = new int[3000];
          while(scan.hasNextInt()){
          int size = scan.nextInt();
          int i;
          arr[i] = scan.nextInt();
          System.out.println("Jolly");
          System.out.println("Not jolly");
          public static boolean isJolly(int [] arr, int size){
          int [] jollyNum = new int [size];
          for(int i=0; i<size-1; i++){
          for(int i=1; i<=size-1;i++){
  • MFC/DynamicLinkLibrary . . . . 17 matches
         #define _MFC_
         Win32API역시도 DLL을 통해서 구현이 되어있다.
         = Runtime Dynamic Linking =
         early binding, load-time dynamic linking
         runtime dynamic linking
         runtime dynmaic linking 의 중요한 점은, 런타임 상에서 해당 모듈을 교체할 수 있다는 점이다. winamp 의 나 KMP 등와 같은 플러그인을 제공해주는 프로그램의 경우 대부분 이러한 runtime-dynamic linking 방법을 이용한다.
          == DLL Interface ==
          == DllMain() 함수 ==
          독립적 실행은 불가능하지만 main함수의 변형된 형태를 포함한다. 이 곳에서는 dll이 사용되기 전에 초기화되는 내용들이 포함되게 된다. DLL초기 로드시 운영체제가 호출한다.
  • MineSweeper/zyint . . . . 17 matches
         # -*- coding: cp949 -*-
          map[r]=map[r][:c] + str(int(map[r][c])+1) + map[r][c+1:]
         def mineAroundplus(r,c):
          for i in range(0,mapy):
          for j in range(0,mapx):
          print prt
         ###################################### main
         mapx = input('x >')
         mapy = input('y >')
         for i in range(mapy):
          map.append(raw_input())
         for i in range(0,mapy):
          for j in range(0,mapx):
         for i in range(0,mapy):
          for j in range(0,mapx):
          mineAroundplus(i,j)
         [MineSweeper] [데블스캠프2005] [데블스캠프2005/Python]
  • StackAndQueue/손동일 . . . . 17 matches
         #include <iostream>
         using namespace std;
         int
          in();
         int arr[1000];
         int i,j;
         void main()
          int choice;
          cin >> choice;
          while(cin>>choice)
          in();
          continue;
         int in()
          int a;
          cin >> a;
          int k;
  • wiz네처음화면 . . . . 17 matches
          * Computer Science & Engineering, Chung-ang Univ, entrance in 2001. 11th member in Zeropage Academy.
          * Develope Bookshelf making me Management System[(zeropage)나를만든책장관리시스템]
          * Study Chiness
          * Make a toy program using Socket.
         || Study Chiness(한자능력검정시험3급) || ▷▷▷▷▷ ||
          * http://www.joinc.co.kr/modules/moniwiki/wiki.php/article/STL_algorithm#AEN54 STL algorithm
          * http://blog.empas.com/tobfreeman/13965830 , http://knowhow.interpark.com/shoptalk/qna/qnaContent.do?seq=96903
          * English music - singer : sweet box, toxic recommended by Ah young.
          * MP3 file download site to listen English - [http://iteslj.org/links/ESL/Listening/Downloadable_MP3_Files Listening English]
          * searching keywords in google - english listening mp3
  • 숫자를한글로바꾸기/정수민 . . . . 17 matches
         #include <stdio.h>
         void main()
          input[17]
         int
         printf("입력 : ");
         scanf("%s",&input);
          if ( input[ja_ris_soo] != 0 ) {
          // 숫자를 출력한다. 여기서 "input[ dummy_ja_ris_soo - ja_ris_soo ]"이조건은 시작을 //
          if (input[ dummy_ja_ris_soo - ja_ris_soo ] != '1' ) {
          printf("%s",soos_ja[ input[ dummy_ja_ris_soo - ja_ris_soo ]-48 ]);
          printf("%s",soos_ja[ input[ dummy_ja_ris_soo - ja_ris_soo ]-48 ]);
          // 작은 자리단위를 출력한다. 여기서 "input[ dummy_ja_ris_soo - ja_ris_soo ] != '0'" //
          if (input[ dummy_ja_ris_soo - ja_ris_soo ] != '0' ) {
          printf("%s",small_ja_ri[(ja_ris_soo-1)%4]);
          printf("%s ",big_ja_ri[temp_big_ja_ri]);
  • 1thPCinCAUCSE/ExtremePair전략 . . . . 16 matches
         #include <iostream>
         using namespace std;
         int numOfData;
         inputData[10];
         void input()
          cin >> numOfData;
          for(int i=0;i<numOfData;i++)
          for(int i=0;i<numOfData;i++)
          for(int i=0;i<numOfData;i++)
         void main()
          input();
          * 코딩은 기본적으로 ["PairProgramming"] 이였습니다. 드라이버가 코딩할때 파트너는 잘못된 코딩뿐만 아니라 이해안가는 부분에서는 계속적인 질문으로 드라이버 스스로 명확한 코드를 만들도록 했습니다.
          * {{{~cpp int}}}에서 {{{~cpp Over Flow}}}나는 문제가 있었는데 상규가 {{{~cpp __int64}}}를 알고 있었습니다...^^;;;
          * 어디에서 overflow 날만한 요소가 있었는지?? --["neocoin"]
         ["1thPCinCAUCSE"]
  • CanvasBreaker . . . . 16 matches
          * 2002학년도 2학기 ObjectProgramming 3번째 프로젝트
          1. Blurring
          2. Sharpening
          4. Embossing
          5. Median Filtering
          1. Contrast Stretching
          2. Sampling
          * Posterizing - 30분
          * Clipping ,Iso-intensity, Range-Highlighting, Solarize - 40분
          * Blurring, Sharpneing - 1시간
          * 유사연산자, 차연산자, embossing, Median Filtering, 영상 질 향상 그리고 나머지 - 3시간
         = Link =
  • ChocolateChipCookies/허준수 . . . . 16 matches
         #include <iostream>
         #include <vector>
         #include <cmath>
         using namespace std;
          int numCookies;
         void input(double x, double y)
          int i,j;
          int max_num = 0;
         int main()
          int testCase;
          cin >> testCase;
          cin.ignore();
          if(cin.peek() == '\n')
          cin >> x >> y;
          input(x,y);
  • CppStudy_2002_2 . . . . 16 matches
         || 7.25 ||["StringOfCPlusPlus"]||11.클래스와 동적 메모리 할당||
         || 8.1 ||["Refactoring/ComposingMethods"]||몇개 소스 리팩토링 해보기||
         || 자판기 ||["VendingMachine/세연"]||["VendingMachine/세연/재동"]||["VendingMachine/세연/1002"]||
         || 자판기 ||["VendingMachine/재니"]||||
         || 문자열 다루기 ||["StringOfCPlusPlus/세연"]|| ||
         C++을 공부하는 모든 이들에게 Seminar:AcceleratedCPlusPlus 의 일독을 권합니다. --JuNe
          * 얼.........string 다해서 올리려구 했는데 그만 디스켓을 학교에서 안가지구 왔다. 이런일 한두 번 아닌데.......난 왜이럴까.......담부턴 나에게 디스켓 가져가라구 말들 좀 해줘 T.T - 세연
          * ["Refactoring"] 책을 보고 있다면, 이번이 아마 Bad Smells 를 인식할 수 있는 좋은 기회가 될것임. ^^ --["1002"]
          뭐 저도 공부 시작한 지 얼마 되지는 않았지만 조금이라도(Composing Mathods 정도) 리펙토링을 알고 행하는 게 나중에
  • JTDStudy/첫번째과제/원희 . . . . 16 matches
         import javax.swing.*;
          public static void main(String[] args){
          int[] comNum = new int[3];
          comNum[0] = (int)(Math.random() * 10 +1);
          comNum[1] = (int)(Math.random() * 10 +1);
          comNum[2] = (int)(Math.random() * 10 +1);
          int[] userNum = new int[3];
          int strikeCounter = 0, ballCounter=0, outCounter=0;
          int i, j;
          userNum[0] = Integer.parseInt(JOptionPane.showInputDialog(null,"첫번째 숫자를 입력하시오"));
          userNum[1] = Integer.parseInt(JOptionPane.showInputDialog(null,"두번째 숫자를 입력하시오"));
          userNum[2] = Integer.parseInt(JOptionPane.showInputDialog(null,"세번째 숫자를 입력하시오"));
          //String temp = JOptionPane.showInputDialog(null,"숫자를 입력하시오 (한칸씩 띄어서)");
          JOptionPane.showMessageDialog(null, "3strike!! You win!");
          * 방법은 여러 방법이 있지. 만약 100자리라면, int 형이 정수값만 가지고 나머지는 버리는 특성을 이용해서 123%10 하면 3이 나오고, 12%10 하면 2 나오고 나머지는 1이고... 이런식으로 숫자른 나누어 줄 수도 있고, 입력시에 어짜피 String형으로 받아지기 때문에 문자 하나씩 끊어 읽게끔 해도 되지^^ 조금만 생각해보면 방법이 나올 수도 있어 - [상욱]
  • ModelingSimulationClass_Exam2006_1 . . . . 16 matches
         1. Single Queue, Single Server 문제 (10 points)
         (a) (5 points) 스케쥴 표 주고..(이번에는 Single Queue, Single Server) 이 시뮬레이션에서 사용되는 상태와 이벤트에 대해 쓰시오.
         (b) (5 points) FEL 작성하시오.
         2. (10 points)
         (a) 해당 모델을 구성하고 필요할 경우 가정을 해도 좋다. (7 points)
         (b) 구성된 모델이 안정적인지 명확한 이유를 대고 설명하라. (3 points)
         (a) (5 points) Peak Value 구하기 - '''그래프의 가장 높은 지점의 높이를 구하라는 문제로 파악했음. pdf 전체의 넓이가 1이라는 사실을 이용하는 문제'''
         (b) (5 points) Expectation 구하기 - (계산이 굉장히 지저분함. 소수점 난무)
         (a) (5 points) Arena에 나오는 4가지 타입의 모델 설명
         (b) (5 points) Continuous Probability Function에서 X = x0 일때의 확률이 왜 0인가? Discrete Probability Function에서의 X = x0일때와 비교하시오.
         1) 나의 경우 해당 문제를 간단한 확률 모델 + Single Queue, Multi Server 의 문제로 파악했다. 확률모델은 1차 합격자를 가리는데 쓰이고, SQMS모델은 실기 시험을 가리는데 사용하고, 가정으로 실기 시험은 7분을 최고 점으로갖는 Triangle Distribution 이라고 가정하고 풀이했음.
  • MoinMoinDone . . . . 16 matches
         Things from MoinMoinTodo that got implemented.
          * Strip closing punctuation from URLs, so that e.g. (http://www.python.org) is recognized properly. Closing punctuation is characters like ":", ",", ".", ")", "?", "!". These are legal in URLs, but if they occur at the very end, you want to exclude them. The same if true for InterWiki links, like MeatBall:InterWiki.
          * Headlines:
          * Check for a (configurable) max size in bytes of the RecentChanges page while building it
          * Inline code sections (triple-brace open and close on the same line, {{{~cpp like this}}} or {{{~cpp ThisFunctionWhichIsNotaWikiName()}}})
          * SGML-Entities were replaced when saving them a second time, i.e. & #160; without the space had a problem.
          * SpamSpamSpam appeared 3 times in WordIndex. Too much Spam!
         <META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW">
          * MoinMoin:J
  • NumberBaseballGame/재니 . . . . 16 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          int a, b, c, input, x, y, z, ball, strike;
          while (input != a * 100 + b * 10 + c)
          cin >> input;
          if (input < 123 || input > 987)
          continue;
          x = input / 100;
          y = input / 10 - 10 * x;
          z = input - 100 * x - 10 * y;
  • Scheduled Walk/소영&재화 . . . . 16 matches
         #include<iostream>
         #include<string>
         using namespace std;
         int main()
          int start_x = 0;
          int start_y = 0;
          int width_size = 5;
          int length_size = 5;
          int road[width_size][length_size]={{0}};
          string temp = "2222244451";
          int i= start_x;
          int j = start_y;
          for (int k=0;k<temp.size();k++)
          for(int j=0; j<width_size; j++)
  • SoftwareEngineeringClass . . . . 16 matches
         === examination ===
          * ["SoftwareEngineeringClass/Exam2002_1"]
          * ["SoftwareEngineeringClass/Exam2002_2"]
          * ["SoftwareEngineeringClass/Exam2006_1"]
          * ''Software engineering'', Ian Sommerville : 최근 세계적으로 가장 많이 쓰이고 있는 SE 교과서. 탁월.
          * 본인은 거의 독학으로 SE 공부를 했다. 수업시간에 구조적 프로그래밍(structured programming)에 대해 설명을 들었을 때는 전혀 감흥이 없었고 졸음까지 왔다. 기억나는 내용도 없다. 하지만 스스로 공부를 하면서 엄청난 충격을 받았다. OOP는 구조적 프로그래밍의 패러다임을 완전히 벗어나지 못했다! 구조적 프로그래밍을 Goto 제거 정도로만 이해하는 것은 표피적 이해일 뿐이다! 구조적 프로그래밍 하나만 제대로 익혀도 내 생산성은 엄청나게 향상될 것이다! (참고로 정말 구조적 프로그래밍이 뭔지 알고 싶은 사람들은 다익스트라의 6,70년대 이후의 저작들을 읽어보길 권한다. 칸트 철학을 공부하는 사람이 칸트의 1차 저술을 읽지 않는다는 게 말이 되겠는가.) --김창준
         ["neocoin"]:수업 무지하게 재미있음. 더 자세한 이야기는 수업 종료후 추가. 현재의 느낌은 수업이 커버하는 내용이 너무 방대하여, 재시간안에 지식전달을 다 못할것 같은 교수님의 불안감이 수업에서 느껴지는게 아쉬움 --상민
         ["fnwinter"]: 수업이 잼있다는 것은 동감...수업 내용이 너무 방대하는 것도 동감..또한...수업이 실제적이지 못하다는 것도 동감...수업에서 너무 많은 내용을 다루어서 그런가 싶다..결론...수업을..듣고..얻은.것이..무엇인가..라는 의문점이 남는다.
          * 막무가내식의 coding에 관한 것이 아닌 직접적인 돈과의 연관성에 대해 알아가는 학문 같다는 느낌. 제한된 기간안의 적절한 cost를 통해 project를 완성(?) 하는 것. 아.. 정말 학기 중기 까지는 재미있었는데. 알바로 인한 피로누적이 수업을 듣지 못하게한 T-T 아쉬움이 너무 많이 남는다. 한번더 들을까..? 원래 이런건 한번더 듣는거 아닌가? ^^a 하하.. 상민이형 필기 빌려줘요. ^^;; -- 영현
         시간이 나면 ExtremeProgramming에 대해서도 이야기를 하신다는데, 어떤 이야기가 나올지 궁금하네요. [SPICE] 레벨4는 되어야 사용할 수 있다는 말엔 조금 당황스러웠어요. --[Leonardong]
         하지만 역할별, 작업별로 만드는 계획서와 보고서에 쏟는 시간이 너무 많다는 생각은 저 뿐만이 아닐 것입니다. 심사시에는 계획서에서 언급하지 않은 활동을 실행했다고 딴지를 걸 정도로, 계획서대로 실행된 내용을 변경없이 실행하는 것이 프로젝트의 반복가능성을 평가하는 기준인것 같습니다. 설계와 구현 사이에서 계획대로 실행 안되는 부분을 극단적으로 느꼈는데, 예를 들어 클래스 다이어그램과 시퀀스 다이어그램이 [Refactoring]과 같은 코드 재구성 작업을 할 때마다 바뀌어야 했습니다. 다이어그램이 코드로 매칭되지 않기 때문에 코드를 바꿈은 물론 다이어그램을 바꾸는 이중의 수고를 겪어야 했습니다. :( --[Leonardong]
         see also ProgrammingLanguageClass
  • VisualBasicClass/2006/Exam1 . . . . 16 matches
         ④ MultiLine은 컨트롤이 문의 여러 줄을 받아 들일 수 있는지 여부를 결정하게 된다. True는 한줄을, False는 여러줄을 사용할 수 있다.
         Print I;
          Dim m As Integer
          Dim j As Integer
          Dim temp As String
          Picture1.Print temp
         Print I
         Print "Loop" Print "Loop"
         Print "Loop" Print "Loop"
         Dim a(1 to 20, 1 to 30) As Single
         Print a(5,3)
         2) String$(7,"*-")
         3) InStr("태수금지화목토천혜명", 4)
         a = inputbox(“입력문자”)
         Print x, "->", Len(x) ; "byte"
         Print y, "->", Len(y) ; "byte"
         Print z, "->", Len(z) ; "byte"
  • WeightsAndMeasures/김상섭 . . . . 16 matches
         #include <iostream>
         using namespace std;
         #include <vector>
         #include <algorithm>
         const int maxweight = 10000000;
          int weight;
          int strength;
         int main()
          int value[5608];
          int tem;
          int max =test.size();
          while(cin >> temp.weight >> temp.strength)
          sort(test.begin(), test.end(), compare);
          for(int i = 1; i < max; i++)
          for(int j = i; j != 0 ; j--)
  • 비밀키/황재선 . . . . 16 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         int main()
          ifstream fin("source.txt");
          char input;
          int i;
          int count = 0;
          fin.get(input);
          if (fin.eof())
          cout << input;
          data[count] = input;
          int key;
          cin >> key;
  • 새싹교실/2011/AmazingC/6일차 . . . . 16 matches
         #title 새싹교실/2011/AmazingC/6일차
          * 반환형: int, char, float, double 등
         #include <stdio.h>
         int sum(int a,int b){
         int sum2(int a,int b);
         int main(){
          printf("%d + %d = %d\n", 1,2,sum(1,2));
          printf("%d + %d = %d\n", 3,5,sum2(3,5));
         int sum2(int a,int b){
          * LIFO(Last In First Out): 마지막으로 들어온 요소가 가장 먼저 pop으로 빠져나온다. - 쓰레기통으로 비유.
  • A_Multiplication_Game/권영기 . . . . 15 matches
         #include<stdio.h>
         #define swap(s, w) t = s, s = w, w = t;
         long long int t;
         long long int n, start1, end1, start2, end2;
         long long int getStart(long long int start, int cnt)
          long long int temp;
         int main(void)
          int cnt;
          if(cnt % 2 == 1)printf("Stan wins.\n");
          else printf("Ollie wins.\n");
  • ClassifyByAnagram/1002 . . . . 15 matches
         hotspot 으로 프로파일링 돌린뒤 중간 쓸데없어보이는 코드들 마구마구 삭제. 가장 병목지점은 Anagram.register, {{{~cpp WordElement}}} (지금은 input 갯수 n 에 대해 n 번 실행)
         나중에 Psyco bind 하고 나서는 4.4 초.
         P3 933, 128 RAM Win98 Python2.2 + Psyco 에서 돌림.
          def __init__(self, anAnagramTable, out=os.sys.stdout):
          for key in anAnagramTable.iterkeys():
          out.write(' '.join(anAnagramTable[key]) + "\n")
          def __init__(self):
          def read(self, anIn=os.sys.stdin):
          for word in anIn:
          aw=''.join(WordElement(aWord))
         psyco.bind(WordElement)
         psyco.bind(Anagram)
         psyco.bind(Formatter)
         if __name__=="__main__":
          print "time : ", end-start
  • HanoiProblem/은지 . . . . 15 matches
         #include <iostream>
         using namespace std;
         void hanoi(int n, int from, int by, int to);
         int main()
          int n;
          int from, by, to;
          cin >> n;
         void hanoi(int n, int from, int by, int to)
  • LIB_3 . . . . 15 matches
         #if !defined(LIB_SCHE_CPP)
         #define LIB_SCHE_CPP
         /* Init The Scheduler List
         void LIB_Init_Schedu(){
          for (int count = 0;count<LIB_MAX_HEAP;count++) {
          LIB_INT_COUNT = 0;
         여기서는 MAIN에서 본 듯 태스크를 만들어 주는 함수
         void LIB_create_task (char *task_name,int priority,void (*task)(void),INT16U * Stack)
          // Init The Stack
          LIB_STACK_INIT(task,Stack); <-------- 스택을 초기화 해준다.....
          if ( priority < LIB_MIN_PRIORITY || priority > LIB_MAX_PRIORITY ) return; <--------- 우선순위가 지랄 같으면 그냥 끝낸다.
          // Insert Prio Queue;
          // Init the TCB by argument <----- 함수에서 얻은 변수들로... 초기화...ok???
          pReady_heap[ready_tcb_ptr]->StackSeg = (INT16U)FP_SEG(Stack);
          pReady_heap[ready_tcb_ptr]->StackOff = INT16U(Stack) - 28;
          int temp_count = ready_tcb_ptr;
         void LIB_resume_task(INT16U priority ){
          int temp;
          for ( int i = 0; i<= suspend_tcb_ptr ; i++ ) {
          LIB_VRAM_STRING(0,15,"CAUTION !!!",0x07);
  • LUA_4 . . . . 15 matches
         >>print("foo!!")
         >print(type(a)) -- a의 type을 알 수 있다.
         > print ("a+b=",sum(1,2))
         > print ( sum(1,2,3,4,5) )
         >> local inside = 2 -- inside는 local 에서만 쓸 수 있도록 선언한다.
         >> print (inside)
         > print(outside) -- outside 는 존재 해도 ...
         > print(inside) -- inside는 존재하지 않는다. nil 반환
         >> local inside = 1
         >> print (inside) -- 상위 함수의 local 변수에 접근 할 수 있습니다.
  • Refactoring/SimplifyingConditionalExpressions . . . . 15 matches
         = Chapter 9 Simplifying Conditional Expressions =
          charge = quantity * _winterRate + _winterServeceCharge;
          charge = winterCharge(quantity);
          * You have a sequence of conditional tests with the same result. [[BR]]''Combine them into a single conditional expression and extract it.''
          * The same fragment of code is in all branches of a conditional expression. [[BR]]''Move it outside of the expression.''
          * You have a conditional that chooses different behavior depending on the type of and object [[BR]] ''Move each leg of the conditional to an overriding method in a subclass. Make the orginal method abstract.''
         == Introduce Null Object ==
          if (customer == null) plan = BillingPlan.basic();
         == Introduce Assertion ==
          * A section of code assumes something about the state of the program. [[BR]]''Make the assumption explicit with an assertion.''
         ["Refactoring"]
  • 데블스캠프2011/둘째날/Machine-Learning . . . . 15 matches
          * [데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/namsangboy]
          * [데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/송지원]
          * [데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/강성현]
          * [데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/김수경]
          * [데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/김동준]
          * [데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/변형진]
          * svm learning : ./svm_multiclass_learn -c 1 /home/newmoni/workspace/DevilsCamp/data/test.svm_light test.c1.model
          * [데블스캠프2011/둘째날/Machine-Learning/SVM/namsangboy]
  • 벡터/임민수 . . . . 15 matches
         #include <iostream>
         #include <string>
         #include <vector>
         #include <algorithm>
         using namespace std;
          string name;
          int score;
          student(string aName, int aScore) // 생성자 ?? !!
         void main()
          for(int i=0; i<5; i++)
          sort(vector1.begin(), vector1.end(), comp_score);
          sort(vector1.begin(), vector1.end(), comp_name);
          for(vector<student>::iterator j=vector1.begin(); j<vector1.end(); j++)
  • 새싹교실/2011/Pixar/4월 . . . . 15 matches
          * Type Casting
          * Infinite loop
         #include <stdio.h>
         #include <assert.h>
         int main()
          int score;
          printf("%c \n", grade);
         #include <stdio.h>
         #include <assert.h>
         int main()
          int score;
          printf("%c" , grade);
          * Infinite loop
  • 숫자야구/문원명 . . . . 15 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         void main()
          int ans[3];
          int input[3];
          int strike,ball;
          cin >> input[0] >> input[1] >> input[2];
          for(int i=0; i < 3; i++)
          for(int j=0; j < 3; j++)
          if (ans[i] == input[j])
  • 정모/2011.4.11 . . . . 15 matches
         == Ice Breaking ==
          * [Spring/탐험스터디]
          * Spring Framework에 대해 공부하고 있다.
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 항상 그렇듯 정모할때 궁금한건 Ice Breaking 시간이군요. 녹화 재방이라도 제발 보고싶은 마음입니다. 정모시간에 소개해주신 LETSudent는 참석해봐야겠습니다. 유익한 정보군요. 새로온 21기 학우들 반갑습니다. 얼굴 기억했어요. Zeropage의 생활을 맘껏 즐겨보아요. 새얼굴들이 보였는데 이제 새로 새내기들을 한번 정모에 참여할때가 되었다는 생각이 잠깐 들었던 시간입니다. 권순의 학우의 OMS는 배경이 아야나미 레이라서 기쁨반 안타까움 반으로 배경을 지켜보았고 안티짓도 좀 올렸었습니다만, 그거 알잖아요 안티도 팬입니다. OMS에서 소개된 노래들에 대해 다시한번 들어보고 생각해보게 되었던 시간은 기쁩니다. 창작자의 의미가 가득차있는 것을 알게해주었으니까요. 그사람들도 기쁠겁니다. 회장님이 만들으셨던 스피드 퀴즈는 정말 신선했어요. '우리도 올해는 이런 레크레이션을 다하는구나'는 뿌듯한 생각이 들었습니다. 전 이런거 좋아하니까요. 저도 어느정도 공통된 경험이 쌓인사람들과 만난다면 해보는게 좋을것 같습니다. 다음주 소풍은 정말 꽃이 만발했으면 좋겠단 생각이드네요 한번 이건 알아봐야겠습니다. 비는 안오겠죠. 시험기간 전이라 걱정이될 사람도있겠지만 경험상, 시험기간 전에는, 시험기간 중에는, 시험기간 후에는 노는겁니다. Enjoy EveryThing이죠. 항상 늦지만 이렇게라도 정모에 참석해서 후기를 남길수있는게 가장 즐겁습니다. 다음주에는 즐거운 소풍준비를 해가야겠군요 - [김준석]
          * Ice Breaking .. 재밌는데 너무 시간이 오래 걸리는거 같습니다. 이거 오래하니까 뒤에 준비된 순서를 시간에 쫓겨서 하네요. 진경이 맨날 기숙사 엘리베이터에서 어색하게 인사만 하고 지나갔는데.. 오늘 보니 반가웠습니다. OMS의 영화에 나온 음악 하니까 최근에 영화관에서 레드 라이딩 후드 보다가 MUSE의 노래가 나오길래 깜짝 놀란 기억이 납니다. 영화도 되게 재밌었어요. 그리고 네이트 주소를 적어두질 못했는데 다시 한번 올려주시면 저도 파일방 이용을 좀...ㅎ 다음주 소풍 정말 기대됩니다. 항상 정모 나올 때마다 느끼는거지만 뭔가 하고 간다 라는 느낌을 확실히 받는거 같네요. 정모 준비하느라 고생하시는 회장님 감사합니다~ - [정의정]
          * 이번 정모에는 11학번 학우분들이 참여하여 반가웠습니다. Ice Breaking때는 화기애애한 분위기가 마음에 들었습니다. 다들 웃으면서 ㅎㅎ 재미있는 시간이었던 것 같습니다. 일일 퍼실리테이터... 어떤 느낌일지는 모르겠지만 한번 해 보는 것도 재밌지 않을까라는 생각도 했습니다. 이번 OMS를 진행하면서.. 음... 역시 배경이 문제였었던 같습니다 -ㅅ-;; 그리고 생각했던거 보다 머리속에 있는 말이 입 밖으로 잘 나오지를 않아가지고 제가 생각했던 것들을 모두 전달하지 못했던 것 같습니다. 사실 음악을 좋아하다 보니까 영화나 TV를 보다가 아는 음악이 나오면 혼자 반가워 하고 그랬는데,, 그 안에 있는 의미를 찾아보는 일은 많이 하지 않았었습니다. 다만, 이런걸 해 보겠다고 생각했던게 아이언맨 2 보다가 (보여드렸던 장면에서) 처음에는 Queen의 You're my Best Friend라는 노래로 생각하고 저 장면과 되게 모순이다라고 생각했었는데 그 노래가 아니라 다른 노래라 조금 당황했던 것도 있고, 노래 가사를 보면서 아 이런 의미가 있을 수도 있겠구나 라는 생각을 했습니다. 그래서 이것 저것 찾아보게 되었던 것이 계기가 되었던 것 같습니다. 그리고 이번 스피드 퀴즈는 그동한 제로페이지에서 했던 것들이 많았구나 라는 생각과 함께, 제가 설명하는데 윤종하 게임이 나올줄이야 이러면서 -ㅅ-;; ㅋㅋㅋ 마지막으로 다음주 소풍 기대되네요 ㅋ - [권순의]
          1. Ice Breaking을 제가 많이 해 본 것은 아니라 원활한 진행이 잘 안 되네요. 당장은 할 일들이 쌓여있으니 바로 공부하겠다고 하면 거짓말이 될테고… 방학 중에 Ice Breaking에 대해 알아보고 2학기땐 더 즐거운 시간이 될 수 있도록 해야겠습니다.
          * 저는 횟수로 따지자면 이번이 두번째로 참여하게 되는건데, 좀 제대로 참여한건 오늘이 처음이라 어떨지 많이 개대됐어요. Ice Breaking도 좀 더 재밌게 쓸 수 있었을 텐데 하는 아쉬움(?)도 남네요. 또, 중간에 스터디 소개같은거 하는데서는 이게 도대체 무슨 말이지.... 라는 것도 좀 있었구요. OMS는 매트릭스가 제일 기억에 남...는 다고 하면 거짓말이겠고.. (배경이..) 사실 OMS하는게 상당히 많이 전문적인(저번에 현이형이 준비하는거 봤거든요.)걸 하는 줄 알았는데 꼭 그런건 아닌거 같아 좀 쉽게 다가온거 같아 좋았어요. 근데 갑자기 궁금한게.. 위키에 두명이 동시에 수정하게 되면 어떻게 될까요? 앞에 저장한 사람의 내용이 씹히게 될까요;? - [김태진]
          * 이번 정모에서는 11학번들이 많이 와서 굉장히 흥미로웠습니다 ㅋㅋ 저번 정모에 안나가서 그때도 11학번들이 많이 왔었는지는 모르겠지만, 이렇게 1학년들과 같이 정모에 참석하니 아 이제 1년이 지났구나 하는 생각이....Ice Breaking에서는 거짓말을 급조해야 하다보니 그 당시에 생각나는 아주 사소한 걸로 할 수 밖에 없었습니다. 그리고 OMSㅋㅋ 처음에 배경화면 뭔가가 친숙한 얼굴이다 했는데 생각해보니 에반게리온의 아야나미 레이..ㅋㅋㅋㅋㅋ 아 이러면 안되지 어쨋든 영화나 광고 속에서 작가(?)가 전하고 싶은 말을 노래 가사를 통해 알려준다는 사실이 놀라웠습니다. - [신기호]
          * 악.. 후기를 썼다고 기억하고 있었는데 안썼네요ㅠㅠ.... 항상 새로운 프로그램을 준비하는 회장님께 박수를 보냅니다. 진실, 거짓은 전에도 해봤지만 자기를 소개하는 IceBreaking도 즐거웠습니다. 의외의 사실과 거짓은 항상 나오는 것 같습니다. 스피드 퀴즈도 즐거웠습니다. 재학생들이 그간의 활동을 회고하고 11학번 학우들이 새로운 키워드를 알게된 좋은 계기였다고 생각합니다. 순의의 OMS도 즐겁게 봤습니다. 자신이 이야기하고자 하는 내용을 좀 더 자신 있게 표현하지 못하고 약간 쑥스러워(?) 하는 면도 보였지만 동영상도 그렇고 많은 준비를 했다고 느꼈습니다. 다음 OMS에 대한 부담이 큽니다=_=;; - [Enoch]
  • 최소정수의합/허아영 . . . . 15 matches
         #include <stdio.h>
         int main()
          int n, sum;
          printf("n = %d, sum = %d", n, sum);
         #include <stdio.h>
         int main()
          int n, sum;
          printf("n = %d, sum = %d", n, sum);
         #include <stdio.h>
         int main()
          printf("n = %f, sum = %f", n, sum);
         만약에 3000까지가 아닌 더 큰 수를 입력하고 프로그램을 돌려보시겠어요? 위의 코드에서 int 를 double 형으로 바꾸고 3000 대신 18000000000000000000 을 넣은 코드입니다. 한번 실행해 보세요. 더 나은 방법이 생각나실수도 있을것 같아요. 문제를 풀고 나서 어떤 점을 느끼셨나요? - 아무개
  • BasicJava2005/3주차 . . . . 14 matches
         == String에 대하여 ==
          * String은 Java에서 기본적으로 지원하는 String을 저장하는 자료형
         BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
          String line = br.readLine();
          system.out.println(br);
          e.printStackTrace();
         Scanner sc = new Scanner(System.in);
         int x = sc.nextInt();
          * C/C++의 #include 와 using namespace의 결합형
          * [http://pllab.kw.ac.kr/j2seAPI/api/index.html] : 한글 5.0 API 문서
  • MagicSquare/정훈 . . . . 14 matches
         #include<iostream>
         using namespace std;
         int main()
          int soo;
          int ma[9][9];
          cin >> soo;
          int x = (soo-1)/2;
          int y = 0;
          for(int q=0; q<9; q++)
          for(int w=0; w<9; w++)
          for(int i=2; i<=(soo*soo); i++)
          for (int t=0; t<soo; t++)
          for(int r=0; r<soo; r++)
  • MySQL . . . . 14 matches
         jdbc:mysql://localhost/database?user=user&password=xxx&useUnicode=true&characterEncoding=KSC5601
          * 중지 : myadmin shutdown -p
         insert user values('localhost', 'jeppy', password('암호'), 'y','y','y','y','y','y','y','y','y','y','y','y','y','y');
         insert user values('%', 'jeppy', password('암호'), 'y','y','y','y','y','y','y','y','y','y','y','y','y','y');
          * ZeroPage 회원 ["상민"](99,["neocoin"])에게 해 주십시오.
         6 rows in set (0.00 sec)
         1 row in set (0.00 sec)
         Client characterset: latin1
         Server characterset: latin1
          앗 탄로 났다. 드뎌 영문으로 설치한 부작용이 다들 영어 써요 ~ 와~~;; 오호 통재라 모든것은 시험끝나고 이루어질것이니.. --["neocoin"]
         MySQL에서 한글이 들어간 문자열을 제대로 정렬하려면 char 타입이 아닌 char binary 타입을 쓰면 됩니다. 하지만 이미 char 타입으로 되어있다면 ORDER BY BINARY 필드명 을 사용하면 됩니다. MySQL에서 char 타입은 순수한 아스키(0~127) 값에서만 제대로 동작합니다. 물론 char 타입을 쓴다고 해서 한글이 저장되지 않거나 하는건 아니지만, 검색이나 정렬등에서 제대로 작동하지 않는 경우가 있습니다. --["상규"]
         2 rows in set (0.00 sec)
         mysql> select * from addressbook ORDER BY BINARY name;
         6 rows in set (0.00 sec)
         [http://network.hanbitbook.co.kr/view_news.htm?serial=131 MySQL과 Transaction] 테이블 생성시 InnoDB 나 BSDDB 를 사용하면 Transaction 을 이용할 수 있다. (InnoDB 추천)
         http://navyism.com/main/memo.php?bd=lib&no=24
         [MySQL/PasswordFunctionInPython]
         [MySQL/PasswordFunctionInJava]
  • OurMajorLangIsCAndCPlusPlus/Variable . . . . 14 matches
         const int a;
         int const b;
         const int *c;
         int * const d;
         const int * const e;
         #include <stdio.h>
         #include <time.h>
         void main()
          clock_t start, finish;
          volatile int a = 10, b = 20, c;
          for(int i = 0 ; i < 1000000000 ; i++)
          finish = clock();
          duration = (double)(finish - start) / CLOCKS_PER_SEC;
          printf("%2.1f seconds\n", duration);
  • Steps/문보창 . . . . 14 matches
         || 2006-01-08 Accepted 0.012 Minimum ||
         #include <iostream>
         using namespace std;
         #include <cmath>
         inline void process(int n)
          int i = floor(sqrt(n));
         int main()
          int nCase, x, y;
          cin >> nCase;
          for (int i = 0; i < nCase; i++)
          cin >> x >> y;
  • WERTYU/Celfin . . . . 14 matches
         #include <iostream>
         #include <cstdlib>
         using namespace std;
         char input[255];
         int i, j;
          for(i=0; i<strlen(input); i++)
          if(input[i]==str[0][j])
          input[i]=str[1][j];
          cout << input << endl;
         int main()
          while(cin.getline(input, 255))
  • WhyWikiWorks . . . . 14 matches
          * any and all information can be deleted by anyone. Wiki pages represent nothing but discussion and consensus because it's much easier to delete flames, spam and trivia than to indulge them. What remains is naturally meaningful.
          * anyone can play. This sounds like a recipe for low signal - surely wiki gets hit by the unwashed masses as often as any other site. But to make any sort of impact on wiki you need to be able to generate content. So anyone can play, but only good players have any desire to keep playing.
          * wiki is not wysiwyg. It's an intelligence test of sorts to be able to edit a wiki page. It's not rocket science, but it doesn't appeal to the TV watchers. If it doesn't appeal, they don't participate, which leaves those of us who read and write to get on with rational discourse.
          * wiki is far from real time. Folk have time to think, often days or weeks, before they follow up some wiki page. So what people write is well-considered.
         So that's it - insecure, indiscriminate, user-hostile, slow, and full of difficult, nit-picking people. Any other online community would count each of these strengths as a terrible flaw. Perhaps wiki works because the other online communities don't. --PeterMerel
  • XMLStudy_2002/Encoding . . . . 14 matches
         <?xml version="1.0" encoding="ISO-8859-1"?>
         <?xml version="1.0" encoding="EUC-KR"?>
         <?xml version="1.0" encoding="KSC5601"?>
         <?xml version="1.0" encoding="UTF-8"?>
         <?xml version="1.0" encoding="UTF-16"?>
         <?xml version="1.0" encoding="Shift_JIS"?>
          *다국어 지원 웹 컨텐츠 제작시 XML과 Unicode의 결합을 역설한 내용 : [http://www.tgpconsulting.com/articles/xml.htm]
         Shuart Culshaw. "Towards a Truly WorldWide Web. How XML and Unicode are making it easier to publish multilingual
         electronic documents." MultiLingual Communications & Technology. Volume 9, Issue 3
         John Yunker, Speaking in Charsets: Building a Multilingual Web Site."
         In WebTechniques Volume 5, Issue 9 (September 2000)
  • 개인키,공개키/강희경,조동영 . . . . 14 matches
         #include <fstream>
         #include <iostream>
         using namespace std;
         int main()
          ifstream fin("input.txt");
          while(fin.get(num))
          int open_key;
          cin >> open_key;
          fin.close();
          ifstream fin1("output1.txt");
          while (fin1.get(num))
          fin1.close();
  • 데블스캠프2006/CPPFileInput . . . . 14 matches
         #include <iostream>
         #include <fstream>
         #include <string>
         using namespace std;
         int main()
          ifstream fin;
          fin.open("score3.txt");
          string temp;
          int i=0;
         // string AP = "A+";
          while(fin >> temp)
          fin.close();
  • 새싹배움터05 . . . . 14 matches
         || 4_5/2 || [후각발달특별세미나] ([신재동]) || Refactoring에 관한 것 || 냄새를 잘 맡게 게 됨. ||
         || 5_5/16 || [Debugging/Seminar_2005] || Debugging ||VisualStudio에서 Debugging 방법 + Eclipse에서 Debugging 방법 + 효율적인 디버깅에 대한 토론 ||
          C, 발표잘하는법, PPT제작 기법, [Python], [PHP], [ExtremeProgramming], ToyProblems, Linux, Internetworking(TCP/IP), Ghost(demonstration), OS(abstraction), OS+Windows, Embedded System, 다양한 언어들(Scheme, Haskell, Ruby, ...), 보안(본안의 기본과 기초, 인터넷 뱅킹의 인증서에 대해..), C언어 포인터 특강(?), 정보검색(검색 엔진의 원리와 구현), 컴퓨터 구조(컴퓨터는 도대체 어떻게 일을 하는가), 자바 가상머신 소스 분석
          [PythonLanguage], [PHP] (WebProgramming), [ExtremeProgramming] (XP를 적용시켜 코드가 아닌 다른 무언가를 만들어 보자 -_-a ), Ghost 사용법, 발표잘하는법, PPT제작비법, OS개발
         XP를 할 때 몇명의 Python 하는 사람이 있으면 좋겠습니다. PairProgramming을 위해서요. --재동
          음 어떤게 좋을까요?? 많아 보였는데 실제로 하려고 생각하면 몇가지 없기도 하네요. 가능한 주제를 먼저 골라보면... [Python], [ExtremeProgramming] 이 대표적인데... - [톱아보다]
  • 수업평가 . . . . 14 matches
         ||ArtificialIntelligenceClass || 0 || 1 || 2 || -2 || 1 || 1 ||1 ||
         ||CeeProgrammingClass || 6 || 6 || 3 || -3 || 12 || 5 ||2.4 ||
         ||DigitalEngineeringClass || 1 || 1 || 1 || 2 || 5 || 3 ||1.66||
         ||JavaProgrammingClass || 4 || 4 || 4 || 1 || 13 || 2 ||6.5 ||
         ||LinuxSystemClass || . || . || . || . || . || . ||. ||
         ||SoftwareEngineeringClass || 6 || 6 || 5 || -8 || 9 || 5 ||1.8 ||
         ||SoftwareEngineeringClass송기원|| 4 || 3 || 2 || 3 || 12 || 2 || 6 ||
         ||ProgrammingLanguageClass || 12 || 8 || 11 || 1 || 32 || 8 ||4 ||
         ||OperatingSystemClass || 1 || 1 || 0 || -2 || 0 || 1 ||0 ||
         ||OperatingSystemClass박철민 || 1 || -2 || -3 || -4 || -8 || 2 ||-4 ||
         ||ObjectModelingClass || . || . || . || . || . || . ||. ||
         ||LinuxClass || -1 || -1 || -1 || -1 || -4 || 1 || -4 ||
  • 알고리즘3주숙제 . . . . 14 matches
         from [http://www.csc.liv.ac.uk/~ped/teachadmin/algor/d_and_c.html The university of liverpool of Computer Science Department]
         == [BinarySearch] ==
         Consider the following problem: one has a directory containing a set of names and a telephone number associated with each name.
         The directory is sorted by alphabetical order of names. It contains n entries which are stored in 2 arrays:
         Given a name and the value n the problem is to find the number associated with the name.
         Input:
         A set of n points in the plane.
         The distance between the two points that are closest.
         Note: The distance DELTA( i, j ) between p(i) and p(j) is defined by the expression:
         == Integer Multiplication ==
         [http://www.csc.liv.ac.uk/~ped/teachadmin/algor/pic4.gif]
         Note: The algorithm below works for any number base, e.g. binary, decimal, hexadecimal, etc. We use decimal simply for convenience.
  • 정렬/장창재 . . . . 14 matches
         #include <iostream.h>
         #include <fstream.h>
         int main()
          ifstream fin("input.txt");
          int array[10000];
          int temp;
          for (int i =0 ; i < 10000 ; i++)
          int a;
          fin >> a;
          for (int j = 0 ; j < 10000 ; j++)
          for (int k = 0 ; k < 10000 ; k ++)
          for (int ar = 0 ; ar < 10000; ar++)
  • AOI/2004 . . . . 13 matches
          * 여름 교재 : 쉽게 배우는 실전 알고리즘 & 정보올림피아드 도전하기 ( Aladdin:8931421923 )
          * 겨울 교재 : Programming Challenges ( Aladdin:8979142889 )
          || [EcologicalBinPacking] || O || O || O || O || . || O ||
          || [MultiplyingByRotation] || . || X || X || . || . || X ||
          || [MineSweeper] || . || O || O || O || O || O || . || O ||
          || [AustralianVoting]|| . || . || O || . || . || . || . || O ||
         자.. 시작해볼까요? MineSweeper 풀어보아요 -- 재선
         void main()
          input()
          [Refactoring/BadSmellsInCode] --[강희경]
         한 문제를 풀어본 후에 소요시간이 만족스럽지 못하거나 결과코드가 불만족스럽다면 이렇게 해보세요. 내가 만약 이 문제를, 아직 풀지 않았다고 가정하고, 다시 풀어본다면 어떻게 접근하면 더 빨리 혹은 더 잘 풀 수 있을까를 고민합니다. 그리고 그 방법을 이용해서 다시 한 번 풀어봅니다(see DoItAgainToLearn). 개선된 것이 있나요? 이 경험을 통해 얻은 지혜와 기술을 다른 문제에도 적용해 봅니다. 잘 적용이 되는가요?
  • HowManyFibs?/하기웅 . . . . 13 matches
         #include <iostream>
         #include "BigInteger.h"
         using BigMath::BigInteger;
         BigInteger decimalNum=10;
         BigInteger fibNum[501];
         int i, counting;
         void FibInit()
         int output(BigInteger startNum, BigInteger endNum)
          counting=0;
          counting++;
          return counting;
         BigInteger convertBig(char *number)
          BigInteger temp;
          int charLen = strlen(number);
         int main()
          FibInit();
          while(cin>>start>>end)
  • Java Study2003/첫번째과제/방선희 . . . . 13 matches
          * Interpreted Environment 제공
          -- 기존의 compile/link/load방식의 언어에 비해 source를 compile만 하면 최종 수행코드가 생성됨으로 개발시간을 단축할 수 있다.
          * Java Virtual Machine (JVM)
          public static void main (String args[]) {
          System.out.println("Hello World!");
          * MicroSoft windows에서 신나게 실행되는 게임이 Linux에서도 잘 돌까? 아마도 답은 '아니다' 일 것이다. 그러나 만약 그 게임이 Java로 제작되었다면 답은 '예' 이다. 다시 말해 Java로 개발된 프로그램은 PC, Macintosh, Linux등 machine이나 O/S에 종속되지 않는다.
          기존에 Sun OS에서 Java로 개발한 인사시스템을 Windows NT로 이관하고 싶다. 이때 프로그램 수정없이 가능할까? Windows NT를 지원하는 JDK가 있다면 가능하다. 그러고 Windows NT를 지원하는 JDK는 있다.
  • JollyJumpers/곽세환 . . . . 13 matches
         #include <iostream>
         using namespace std;
         int main()
          int n;
          int input[3000];
          int i;
          while (cin >> n)
          cin >> input[i];
          diff[abs(input[i] - input[i + 1])] = true;
  • STL . . . . 13 matches
         C++ 의 [GenericProgramming] 기법인 Template 을 이용, container (["DataStructure"] class. 다른 언어에서의 Collection class 들에 해당) 와 [Algorithm|algorithm] 에 대해 구축해놓은 라이브러리.
         ==== container ====
         || ["STL/string"] ||문자열을 다루는 자료구조||
          * [STL/bind2nd] : -
          * ["UseSTL"] : ["neocoin"] 의 프로젝트 페이지
          Contributors : ["[Lovely]boy^_^"], NeoCoin
          See Also ["Boost"], ["EffectiveSTL"], ["GenericProgramming"], ["AcceleratedC++"]
         앞으로 C++ 을 이용하는 사람중 STL 을 접해본 사람과 STL을 접해보지 않은 사람들의 차이가 어떻게 될까 한번 상상해보며. (Collection class 를 기본내장한 C++ 의 개념 이상.. 특히 STL 를 접하면서 사람들이 [GenericProgramming] 기법에 대해 익숙하게 이용할 것이라는 생각을 해본다면 더더욱.) --["1002"]
         한 차레의 피바람이 불어 이 페이지가 태어나다.. --["neocoin"]
          DeleteMe) 인수가 가진 모든 STL 페이지 ["Refactoring"] (예제가 그 자체로만으로 돌아가나 컴파일. 이모티콘과 잡담 모두 빼서, Document Mode로 만들기, 쉬운말, 쉬운 예제로 고치기) 결과 ["인수"]의 모든 STL 페이지 사라짐(피바람);;
          ["EffectiveSTL"] 외부로 빼기(["인수"]가 했음) --["neocoin"]
         [STL]과 같은 라이브러리를 직접 만들어보는것도 (프로젝트 형식으로 해서) 좋을 것 같네요. [GenericProgramming] 의 철학을 이해하는 데에 도움이 될 것 같고 그 안에 녹아있는 자료구조와 알고리즘을 체득할 수 있을 것 같습니다. - [임인택]
  • ServerBackup . . . . 13 matches
          * {{{/etc/group}}} 에 admin 그룹에 원하는 사용자 추가, {{{/etc/sudoers}}}에서 사용자 제거
          * (./) 작은 파일 하나를 zeropage@neocoin.net 으로 올린다.
         #!/usr/bin/env python
          s.login('server',password) # Connect
          s.storbinary('STOR %s'%filename, f) # Send the file
         uploadFile('index.html')
         /usr/bin/mysqldump -u <username> -p <password> <databasename> | gzip > /path/to/backup/db/zeropage_`date +%y_%m_%d`.gz
         11 5 * * * /root/backupToNeocoin.py >> /var/log/backupToNeocoin.log 2>&1
          * 문제 ~ DNS Server 가 죽었음 (or 잘못 설정되어 있음 165.194.35.222 서버 확인 필요) 그래서 주소 기반으로 외부로 ping을 날릴수 없다.
          * 해결 ~ {{{/etc/resolv.conf}}} 에 무료 dns 서버 등록 후 교내 서버는 가장 마지막 순위로 변경 http://theos.in/windows-xp/free-fast-public-dns-server-list/
          * 해결 ~ admin 그룹에 원하는 사용자 추가
  • ThePriestMathematician/문보창 . . . . 13 matches
         #include "BigInteger.h"
         using namespace BigMath;
         int findK(int n)
          int i;
         void process(int n)
          int k, temp;
          BigInteger result, kpow2(2);
          k = findK(n);
         int main()
          int n;
          while (cin >> n)
  • XMLStudy_2002/Start . . . . 13 matches
          1 Invalid Documents : XML의 태그 규칙을 따르지 않거나,DTD를 사용한 경우에 DTD에 정의된 규칙을 제대로 따르지 않는 문서
          * 위에 3개중 Invalid Documents는 실제 XML 문서로서의 역할을 할수 없다. XML 파서로 파싱 했을 때 바르게 파싱되지 않기 때문이다.
         <?xml version="1.0" encoding="KSC5601"?>
         <!ATTLIST MAIL STATUS (official|informal) 'official'>
         <MAIL STATUS="informal">
          1. Processing Instructions(Optional) : XML문서를 어떻게 처리해야 할지를 기술해 주는 부분
         === Processing Instructions(PI) ===
         <?xml version="1.0" standalone="yes" encoding="KSC5601"?>
          *encoding : 문서 작성시에 사용된 인코딩 방식을 기술
         <!ENTITY 엔티티 명칭 PUBLIC Public_indentifier "외부 XML문서의 URI">
         <?xml version="1.0" encoding="KSC5601"?>
         <CHAPTER_TITLE>Chapter1.Instruction</CHAPTER_TITLE>
         <?xml version="1.0" encoding="KSC5601"?>
         <!ENTITY % head.misc "SCRIPT|STYLE|META|LINK|OBJECT" -- repeatable head elements -->
         <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
         <!ENTITY %block "P %heading; |%list; |%preformatted; |DL |DIV |NOSCRIPT | BOCKQUOTE ">
         <?xml version="1.0" encoding="KSC5601"?>
  • 데블스캠프2006/월요일/연습문제/for/임다찬 . . . . 13 matches
         #include <iostream>
         using namespace std;
         int main(){
          int i,j,k,l;
         #include <iostream>
         using namespace std;
         int factorial(int n){
         int main(){
          int number;
          cin >> number;
  • 마름모출력/조현태 . . . . 13 matches
         def prin():
          for l in range (size-k,0,-1):
          print ' ',
          for l in range (0,2*k+1):
          print pat,
          print
         if __name__ == '__main__':
          pat= str (raw_input('패턴을 입력해주세요>>'))
          size=input('크기를 입력해 주세요>>')
          for k in range (size):
          prin ()
          for k in range (size-2,-2,-1):
          prin ()
  • 새싹교실/2011/學高/8회차 . . . . 13 matches
         #include <stdio.h>
         int count=0;
         void hanoi(char from,char to,char mid,int num){
          // Input your code
         int main(){
          int numOfRings;
          printf("원판의 개수: ");
          scanf("%d",&numOfRings);
          hanoi('A','C','B',numOfRings);
          printf("총 실행회수: %d\n",count);
          * passing by value(call by value와의 차이점)
          * index는 0부터 시작한다
  • 새싹교실/2012/열반/120409 . . . . 13 matches
         int main()
          int N, i, j;
          printf("*");
          printf("\n");
         int main()
          int N, counter;
          printf("%d\n", counter);
         int main()
          int N, i, result;
          printf("%d\n", result);
  • 임인택/내손을거친책들 . . . . 13 matches
          * Introduction to Functional Programming using Haskell
          * An introduction to functional programming through lambda calculus
          * ObjectOrientedReengineeringPatterns
          * ReadingWithoutNonsense
          * Firefox hacks : tips & tools for next-generation web browsing
          * PairProgramming Illuminated
          * IPv6 Clearly Explained
          * IPv6, The New Internet Protocol
          * RefactoringWorkbook
          * TheElementsOfStyle + TheElementsOfProgrammingStyle
  • 코드레이스/2007/RUR_PLE . . . . 13 matches
          * Play버튼 옆에 Play 모양과 작대기 하나 있는것은 step into와 비슷한 역할을 한다. 명령어가 하나씩 실행된다. 현재 실행되고 있는 명령어는 코드 부분에서 회색으로 highlighting 된다.
          * Play버튼을 클릭하고 나서 로봇이 움직이고 있는 도중에 자신이 원하는 순간에 step into 버튼(play 버튼 옆에 있는)을 클릭하면 그 순간부터 명령어가 하나 하나씩 실행된다.
          * step into 옆에 있는 버튼은 일시 중지 버튼
         # introducing vocabulary related to the problem
          plant_carrot() # replace missing seed
         == Amazing Part ==
          * sorting 문제를 풀고나서 시간 남은 분은 해보시길. [http://rur-ple.sourceforge.net/en/amazing1.htm 러플 Amazing 설명]
         == Sorting ==
          * 05 [조현태] 군이 가장 먼저 sorting을 해결하여 경품을 탔습니다. 이후 01 김정현 이 sort2 맵에 대해서 해결하였지만 sort1에 대해서는 부분적으로 해결하였습니다.
  • 타도코코아CppStudy/객체지향발표 . . . . 13 matches
          상대적으로 각 객체는 소속 클래스의 인스턴스(instance)가 된다.
          * Inheritance(상속) - 계층(hierarchy)관계에 놓여 있는 클래스들 간에 속성이나 연산 기능들을 공유한다.
          * 캡슐화(encapsulation) : 객체의 내부적인 사항과 객체들간의 외부적인 사항들을 분리시킨다. 이렇게 캡슐화된 객체의 행위는 외부에서 볼 때는 구체적인 아닌 추상적인 것이 되므로 정보 은닉(information hiding) 개념이 존중된다. 주어진 클래스의 특정 연산 기능은 메소드(method)라고 한다. 캡슐화는 무슨 메소드로 구현되었는가에 구애받지 않고 추상적으로 정의된 연산 기능을 통해 객체가 사용되고 시스템의 상태(state)를 변화시키도록 해준다.
          * combining data and behavior : 특정한 연산 기능을 수행시킬 때 단순히 메세지만 전송하면 된다.
          * sharing : 자료 구조및 행위의 공유화(sharing)는 계층 관계에 놓여 있는 클래스들 간의 상속성(inheritance)으로 가능하다.
          * 상속성(Inheritance) : 객체를 이루는 클래스를 만들때 이전의 정의했던 클래스와 비슷하나 다른 특이한 특성을 지니는 클래스를 만드는것이다.
         객체 모형(object model) : 객체들과 그 특성을 식별하여 객체들의 정적 구조(static structure)와 그들간의 관계(interface)를 보여주는 객체 다이어그램(object diagram)을 작성한다.
         3. 객체지향 구현(object-oriented programming : OOP)
         설계 모형을 특정 프로그램 언어로 번역하는 작업이다. 객체, 클래스, 상속의 개념을 다 포용하는 객체지향 언어(object-oriented programming language : C++, Smalltalk 등)가 가장 좋지만 객체의 개념만 인정하고 클래스, 상속 등은 고려하지 않은 객체기반 언어(object-oriented based programming language : Ada 등)도 좋다.
         또한, 일반적인 구조적 프로그래밍 언어(structured programming language : C, Pascal 등)도 객체지향 개발에 활용될 수 있는가 하면 객체 지향 데이타베이스 관리시스템(OODBMS)이 개발의 도구로 이용될 수도 있다.
  • 피보나치/Leonardong . . . . 13 matches
         #include <iostream>
         using namespace std;
         int f(int);
         int main()
          int input;
          cin >> input;
          cout << f(input);
         int f(int x)
  • 2thPCinCAUCSE . . . . 12 matches
         '''2th Programming Contest in CAUCSE'''
          * 경시 3시간에 3문제가 출제된다. (open book, closed internet)
          printf ( "I got %d\n", n ); // 표준 출력 부분
          cin >> n; // 표준 입력 부분
          * ["2thPCinCAUCSE/ProblemA"] - A번 문제 "성냥개비로 삼각형 만들기"
          * ["2thPCinCAUCSE/ProblemB"] - B번 문제 "촌수 계산하기"
          * ["2thPCinCAUCSE/ProblemC"] - C번 문제 "최소의 움직임으로 정리하기"
          * ["2thPCinCAUCSE/ProblemA/Solution"]
          * ["2thPCinCAUCSE/ProblemB/Solution"]
          * ["2thPCinCAUCSE/ProblemC/Solution"]
         [1thPCinCAUCSE]
  • English Speaking/The Simpsons/S01E04 . . . . 12 matches
         You're sitting there like a thirsty bump on a log.
         Police 1 : Evening, Moe.
         Moe : Two bucks, boys. Just kidding.
         Police 2 : Good one, Moe. We're looking for a family of Peeping Toms...
         who's been terrorizing the neighborhood.
         Police 1 : What's gotten into Bobo?
         Homer : I got some wieners in my pocket.
         Homer : You know, Moe, my mom once said something that really stuck with me.
         She said, " Homer, you're a big disappointment."
         And God bless her soul, she was really on to something.
         [English Speaking/2011년스터디]
  • GuiTesting . . . . 12 matches
         GuiTesting 을 하는 이유는 여러가지가 있을 수 있다. GUI Programming 에 대한 TestFirstProgramming 에 대한 시도를 할 수 있기 때문이다. 해당 UI Control을 하나하나 만드는 일부터 시작할 수 있다. 하지만, 보통의 경우 UI Control을 만드는 일들은 IDE 툴들에서 하는 것이 더 편하다. GuiTesting 은 해당 이벤트 발생시에 따른 처리과정에 대한 TestFirstProgramming 을 시도하려고 할 때 도움을 줄 것이다.
         대부분의 경우는 TFP를 하는중에 logic 부분과 UI 부분을 분리함으로서 GuiTesting 을 복잡하게 하는 요소들을 줄일 수 있다. 그러면서 Model - View - Controler 의 형태가 유도되어질 것이다.
         MVC 는 View 단을 테스트하기에 적합하지 않은 면이 있다. 그래서 ModelViewPresenter 로 해보니 좋았다. --NeoCoin
         See Also wiki:Wiki:GuiTesting, wiki:Wiki:GuiUnitTesting, [http://www.xp123.com/xplor/xp0001/ JavaGuiTesting] , ["GuiTestingWithMfc"], ["GuiTestingWithWxPython"]
  • HardcoreCppStudy/첫숙제/Overloading/변준원 . . . . 12 matches
         int harpo(int, int m = 4, int j = 5); //맞음
         int chico(int n, int m = 6, int j); //틀림
         int groucho(int k = 1, int m = 2, int n = 3); //맞음
  • JavaStudy2004/이용재 . . . . 12 matches
         import javax.swing.*;
         public class HumanBeing
          private String name;
          private int statue;
          public HumanBeing()
          name = JOptionPane.showInputDialog("이름 입력");
          System.out.println(name);
          JOptionPane.showMessageDialog(null, "I am taking a rest =.=;");
          JOptionPane.showMessageDialog(null, "I am studying T.T");
          public static void main(String [] args)
          HumanBeing Lee = new HumanBeing();
  • Polynomial . . . . 12 matches
          하나의 항은 coefficient 와 exponent 로 구성된다. 하나의 항(단항식)을 표현하는 자료구조는 다음처럼 구조체를 사용한다. (여기서는 지수와 밑모두 integer를 사용한다)
          int coef; // 밑
          int exp; // 지수
          다항식을 표현하는자료구조는 크게 두가지로 생각해 볼 수 있다. linked list 와 array 이다. 배열은 모두들 잘 알겠고 linked list 는 동적으로 storage를 할당받아 각 노드를 포인터로 연결한 자료구조를 말한다..(라고 우선 설명만 해둬야지 정확한 정의는 내리지 못하겠다..-_-). 물론 동적으로 할당받지 않고도 linked list 를 구현할수 있지만 그럴꺼면 배열로 하는게 낫지 그 노가다를 뭐하러 하나...-_-
          * linked list 를 사용한 방법
          int coef;
          int exp;
          Node* input(); // 사용자에게 값을 입력받아 새로운 다항식을 생성하여 리턴한다.
         === input data ===
          * 다항식을 표현하는 클래스를 만들어서 operator overloading 을 사용해도 되겠지만 이는 위에 말한 내용을 이미 구현한 후 이걸 클래스로 포장하는거기때문에 지금수준에서는 무리라고 생각됨... - 임인택
  • ProjectPrometheus/LibraryCgiAnalysis . . . . 12 matches
         (http://www.cyberclip.com/webdebug/index.html, http://sourceforge.net/projects/webdebug)
          * Server: Apache/1.3.22 (Win32) mod_jk
          * Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.1_01; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)
         Windows 2000 아파치 톰켓 조합에 Java JDK 가 1.3.1_01 이라. 약간 신기한 조합같다는 생각이.. --a
          "Referer":"http://165.194.100.2/cgi-bin/mcu100?LIBRCODE=ATSL&USERID=*&SYSDB=R",
          "Accept":"image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*"}
          conn.request("POST", "/cgi-bin/mcu200", params, headers)
          print response.status, response.reason
          f = urllib.urlopen("http://165.194.100.2/cgi-bin/mcu200", params)
         http://165.194.100.2/cgi-bin/mcu201?LIBRCODE=ATSL&USERID=abracadabra&SYSDB=R&HISNO=0010&SEQNO=21&MAXDISP=10
         &pKeyWordC=%28+%28-TI-+WITH+%28extreme+programming+%29+.TXT.%29++%29 - 검색 관련 키워드
  • PyIde . . . . 12 matches
          * Xper:ExtremeProgramming 을 지원해줄 도구들 만들어나가보기.
          * Prototyping & 외부 공개소스 Review & Copy & Paste 하여 가능한한 빠른 시간내에 원하는 기능 구현법이나 라이브러리들을 연습하여 익힌뒤, Refactoring For Understanding 을 하고, 일부 부분에 대해 TDD 로 재작성.
          * 기타 - CyberFomulaSin의 아스라다와 오우거, Sarah Brightman 의 Harem 앨범, NoSmok:시간관리인생관리
          * [Eclipse] - [wxPython] 과 PDE 중 어느쪽이 더 효율적일까.. CVS 관련 기능들등 프로젝트 관리면에서는 Eclipse 의 Plugin 으로 개발하는 것이 훨씬 이득이긴 한데.. Eclipse Plugin 도 [Jython] 으로 프로그래밍이 가능할까?
          * [PyIde/Scintilla]
          * BoaConstructor - Scintilla 가 사용된 예를 볼 수 있다.
          * BicycleRepairMan - idlefork, gvim 과의 integration 관계 관련 코드 분석.
          * Eclipse 이나 IntelliJ 에서 제공해주는 여러가지 View 들. 그리고 장단점들.
          * http://st-www.cs.uiuc.edu/users/brant/Refactory/RefactoringBrowser.html - Smalltalk refactoring browser
  • RandomWalk/성재 . . . . 12 matches
         #include<iostream>
         #include<ctime>
         using namespace std;
         int main()
          int num,b,c;
          int count,i,j;
          cin >> num;
          int ** data = new int *[num];
          data[i] = new int [num];
          int q = rand() % 8; //end
  • STL/참고사이트 . . . . 12 matches
         C++ Programming HOW-TO 에서 발췌
         Main STL sites:
         [http://dmoz.org/Computers/Programming/Languages/C++/Class_Libraries/STL C++ STL site ODP for STL] 와 [http://dir.lycos.com/Computers/Programming/Languages/C%2B%2B/Class_Libraries/STL 미러]
         The Code Project, C++/STL/MFC 에 대한 소개 http://www.codeproject.com/cpp/stlintroduction.asp
         C++ Standard Template Library, another great tutorial, by Mark Sebern http://www.msoe.edu/eecs/cese/resources/stl/index.htm
         Technical University Vienna by Johannes Weidl http://dnaugler.cs.semo.edu/tutorials/stl mirror http://www.infosys.tuwien.ac.at/Research/Component/tutorial/prwmain.htm
         iterator에 대한 매우 좋은 설명 http://www.cs.trinity.edu/~joldham/1321/lectures/iterators/
         Intro to STL SGI http://www.sgi.com/tech/stl/stl_introduction.html
         Joseph Y. Laurino's STL page. http://weber.u.washington.edu/~bytewave/bytewave_stl.html
  • SwitchAndCaseAsBadSmell . . . . 12 matches
         케이스문이 줄줄이 나오는 것이나 비슷한 구조가 반복되는 것이나 모두 "나쁜 냄새"(Moa:BadSmell )입니다. 조금이라도 나쁜 냄새가 나면 바로바로 냄새 제거를 해야 합니다. 예컨대, 반복되는 케이스문은 테이블 프로그래밍(Table/Data Driven Programming)으로 해결할 수 있습니다.
         def getWinner(p1,p2):
          """return 1 when p1 wins, 2 when p2 wins, 0 when a tie"""
         def getWinner(p1,p2):
          """return 1 when p1 wins, 2 when p2 wins, 0 when a tie"""
         >>> getWinner(GAWI,BO)
         >>> getWinner(BO,GAWI)
         >>> getWinner(BAWI,GAWI)
         >>> getWinner(BO,BO)
         see also Seminar:가위바위보 , Wiki:SwitchStatement
  • TAOCP/BasicConcepts . . . . 12 matches
         1) 유한성(Finiteness)
         2) 명확성(Definiteness)
         3) 입력(Input)
          Comparison indicator, - EQUAL, LESS, GREATER
          Input, Output Devices
          * Instruction format
          I - 인덱스(the index specification). 값이 1~6으로 rI1~rI6에 있는 내용과 메모리 주소를 더함
          * Loading operators.
          LDA, LDX, LDi, LDAN, LDXN, LDiN이 있다.
          * Storing operators.
          이 연산에서 M은 메모리 셀을 가리키지 않고, 그냥 부호있는 숫자로 쓰인다. ENTr, ENNr, INCr, DECr가 있다. ( r은 A, X, 1~6)
          M이 가리키는 메모리 셀로 점프한다. JSJ를 빼면 점프를 하면서 점프 명령어 다음 위치를 rJ에 저장한다. the comparison indicator를 이용하거나(JL, JE, JG, JGE, JLE, JNE) , 레지스터(JrN, JrZ, JrP, JrNN, JrNZ, JrNP)를 이용한다.
          HLT 명령은 기계를 멈춘다(The machine stops.)
          * Input-output opertors.
          * Timing
         순열은 abcdef를 재배열(rearrangement)이나 이름바꾸기(renaming)를 해서 얻는다고 볼 수 있다. 이를 다음과 같이 표시할 수 있다.(p.164참조)
         * Timing
          * Timing
          === Inverse ===
  • TkinterProgramming . . . . 12 matches
         = Tkinter =
         Tkinter 는 Tk GUI 툴킷의 파이선 바인딩 구현물이다. 현재 Tkinter 는 파이선의 가장 일반적인 GUI 툴킷임.
         [http://en.wikipedia.org/wiki/Tk_%28computing%29 Wikipedia.org]
         01. [TkinterProgramming/HelloWorld]
         02. [TkinterProgramming/SimpleCalculator]
         03. [TkinterProgramming/Calculator2]
         만약 파이선으로 GUI 프로그래밍을 한다면 Tkinter 이것 만큼은 피하라!!!! -_-
         [TkProgramming], [wxPython], [PyGTK], [PyQt]
  • WindowsTemplateLibrary . . . . 12 matches
         {{|The Windows Template Library (WTL) is an object-oriented Win32 encapsulation C++ library by Microsoft. The WTL supports an API for use by programmers. It was developed as a light-weight alternative to Microsoft Foundation Classes. WTL extends Microsoft's ATL, another lightweight API for using COM and for creating ActiveX controls. Though created by Microsoft, it is unsupported.
         In an uncharacteristic move by Microsoft—an outspoken critic of open source software—they made the source code of WTL freely available. Releasing it under the open-source Common Public License, Microsoft posted the source on SourceForge, an Internet open-source repository. The SourceForge version is 7.5.
         Being an unsupported library, WTL has little formal documentation. However, most of the API is a direct mirror of the standard Win32 calls, so the interface is familiar to most Windows programmers.|}}
         WTL은 객체지향적인, Win32 를 캡슐화하여 만들어진 C++라이브러리로 MS 에서 만들어졌다. WTL은 프로그래머에 의한 사용을 위해 API Programming Style을 지원한다. WTL MFC에 대한 경량화된 대안책으로서 개발되었다. WTL은 MS의 ATL를 확장한다. ATL 은 ActiveX COM 을 이용하거나 ActiveX 컨트롤들을 만들기 위한 또 다른 경량화된 API 이다. WTL은 MS 에 의해 만들어졌디면, MS 가 지원하진 않는다.
         지원이 되지 않는 라이브러리이기 때문에 WTL에 관한 문서는 거의 없다. 그러나 대부분의 API는 표준 Win32 콜을 거의 직접적으로 반영하므로, WTL의 인터페이스는 대부분의 윈도우즈 프로그래머들에게 친숙하다.
  • eXtensibleMarkupLanguage . . . . 12 matches
         The Extensible Markup Language (XML) is a W3C-recommended general-purpose markup language for creating special-purpose markup languages, capable of describing many different kinds of data. In other words XML is a way of describing data and an XML file can contain the data too, as in a database. It is a simplified subset of Standard Generalized Markup Language (SGML). Its primary purpose is to facilitate the sharing of data across different systems, particularly systems connected via the Internet. Languages based on XML (for example, Geography Markup Language (GML), RDF/XML, RSS, Atom, MathML, XHTML, SVG, and MusicXML) are defined in a formal way, allowing programs to modify and validate documents in these languages without prior knowledge of their form.
          * DTD로 검색하다 여기로 왔네요ㅋㅋㅋ 예전에 쓰신 것 같아서 지금은 아시는 내용이겠지만 나중에 다른 분들이 이 페이지를 보실 수 있으니 시간을 건너뛰어 댓글 답니다~ DTD는 Document Type Definition의 약자로 XML 문서 작성을 위한 규칙을 기술하는 형식입니다. valid XML Document의 경우 well-formed XML Document이면서 XML에서 사용되는 원소 이름이 해당 문서에 대한 XML DTD나 XML Schema에 명세된 구조와 합치되어야 한다고 하네요. 이 내용에 대한 수업을 들으며 씁니다ㅋㅋㅋㅋㅋㅋㅋ - [김수경]
  • 데블스캠프2009/금요일/SPECIALSeminar . . . . 12 matches
         = 2009 데블스 캠프 SPECIAL Seminar =
          * 지원 : Satisficing (Satisfy + Sacrifice) - 여러가지 한도 안에서의 최적을 찾아낸다.
          * time interval이 일정 시간 이상 되면 학습이 어렵다.
          * 수동적이 아니라 능동적으로 신경써야(뇌가 활동해야) 학습이 잘 되기 때문. - myelin
          * Communication skill, Writing skill
          * 반복문이 제대로 됐는지 체크 - 첫, 끝 index 출력, 에러 메세지 확인
          * 과제 mind를 피해라
          * 어떻게 print를 해야 고친 것이 검증이 되는지 생각해라.
          * [데블스캠프2009/금요일/SPECIALSeminar/강소현/김수경/송지원]
          * [데블스캠프2009/금요일/SPECIALSeminar/정종록/서민관/박근수]
          * [데블스캠프2009/금요일/SPECIALSeminar/조현태/변형진/김준석]
          * [데블스캠프2009/금요일/SPECIALSeminar/송지훈/김홍기/박성현]
  • 삼총사CppStudy/Inheritance . . . . 12 matches
         class CMarine // 마린을 정의한 클래스
          int m_Attack;
          int m_Defence;
          int m_HP;
          int m_Attack;
          int m_Defence;
          int m_HP;
         CMarine Force[12]; // 이렇게 하면 부대안에는 마린밖에 넣지 못한다.
          아.. 이 문제를 어떻게 하면 좋을까~? 이럴때 사용할 수 있는 스킬이 바로 '''상속(Inheritance)'''이다.
          int m_Attack;
          int m_Defence;
          int m_HP;
         class CMarine : public CUnit // 이렇게 상속받는다.
  • 숫자야구/방선희 . . . . 12 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         void main()
          int x1 = rand() % 10;
          int x2 = rand() % 10;
          int x3 = rand() % 10;
          int a,b,c;
          cin >> a >> b >> c;
          int strike = 0;
          int ball = 0;
          cin >> a >> b >> c;
  • 스택/조재화 . . . . 12 matches
         #include<iostream>
         using namespace std;
         int cho[10];
         int i=0;
         int main()
          int choice;
          cin>>choice;
          int input;
          cin >> cho[i];
          for(int j=0; j<i; j++)
  • 실시간멀티플레이어게임프로젝트/첫주차소스2 . . . . 12 matches
         brain = (0, 0)
         organ = [brain, heart, stomach]
         print "Your position is " ,position
          print "Follow organ is in" ,scanlimit
          for i in organ:
          print i
         def inputDes():
          Des = input("Where is your Des")
          Speed = input("Speed??")
         inputDes()
         print 'aaa'
  • 정렬/강희경 . . . . 12 matches
         #include <fstream>
         using namespace std;
         int main()
          ifstream fin("input.txt");
          int array[10000];
          for(int i = 0; i<10000;i++)
          fin >> array[i] ;
          int temp;
          for(int j = 0; j < 10000; j++)
          for(int k = j+1; k < 10000; k++)
  • 피보나치/방선희 . . . . 12 matches
         #include <iostream>
         using namespace std;
         const int Max = 5000;
         int pibo(int n);
         void main()
          int num;
          cin >> num;
         int pibo(int n)
          int arr[Max];
          for(int i=2; i < n; i++)
  • 1thPCinCAUCSE/null전략 . . . . 11 matches
         1회 경진대회 팀이였던 null 팀 전략 (["neocoin"], ["1002"])
         ["1002"]가 5분 지각을 했습니다.; 암튼, 35분에 시작을 했고, 일단 5분의 시간을 두고 ["neocoin"] 과 ["1002"] 는 문제들을 읽어나가기 시작했습니다. 한글 문서였기 때문에 3개의 문제를 훑는데에도 5분이면 충분하더군요. ["neocoin"] 은 B번을, ["1002"] 는 A번을 일단 읽고, C 번에 대해서는 같이 읽었습니다. 그리고 미리 문제출제자쪽에서 난이도를 C > A > B 임을 언급했습니다. 문제를 읽어나가면서도 일단 B의 경우가 바로 계산이 나올 것 같아서 B 를 먼저 해결하기로 선택했습니다. 그 다음에는 문제에 대한 이해도가 상대적으로 높았던 A번을 해결하기로 했습니다.
         도구는 연습장과 인덱스 카드, assert 문을 이용한 테스트 케이스 등을 이용했습니다. 연습장과 인덱스 카드는 주로 개개인 수식과 중요 변수들을 적기 위해, 또는 그림을 그리기 위해 이용했고 (두 도구의 용도가 구분되어있진 않았음) 문제에 대해서 답이 나왔다하는 가정하에 (문제지에 Sample Input->Output 이 나와있었기에 가능했습니다.) Backward 로 문제가 해결된 상황을 가정하고, 그러기 위해 필요한 변수들을 찾아나가는 방법으로 진행했습니다. 프로그래밍 스타일은 Structured 스타일의 Stepwise Refinement & PBI & assert 를 이용한 TDD 를 사용했습니다.
         ["1thPCinCAUCSE/ProblemB"]
         한 20분정도 잘못진행했었는데, 첫번째는 ["1002"] 가 B 번문제를 제대로 이해하지 못했고 (앞부분만 읽고, 문제의 input-output 을 거꾸로 판단), 두번째는 input 이 100 일때의 output 예상치를 잘못계산한 상태에서 이를 근거로 Test Driven 을 시도해서 추후 발견뒤 테스트를 수정하는동안 시간을 낭비했습니다.
         Sample 로 제공한 데이터들을 만족시키는 코드는 작성하였으나, 여전히 변수들이 다 뽑아져지지 않아서, 임의의 결과데이터 (100인 경우) 에 대해 예상되는 결과를 생각하고 코드를 작성한뒤, 코드와 결과들, 코드로부터 발견되는 변수들을 토대로 연습장에 기록을 했고, 그러던중 ["neocoin"] 이 일반화 공식을 찾아내었습니다.
         적절히 중복코드를 삭제하고 난 뒤, 한 5분정도 Input-Output 코드를 iostream 과 ["STL/vector"] 를 사용하여 작성한 뒤 이를 제출, 통과했습니다.
         ["1thPCinCAUCSE/ProblemA"]
         마지막으로, 2주만에 만난 팀의 전략을 쓴다니, 약간 사기죠 ^^; --["neocoin"]
         ["1thPCinCAUCSE"]
  • 3 N+1 Problem/조동영 . . . . 11 matches
         #include <iostream>
         using namespace std;
         int CheckCount (int low, int high){
          int temp;
          int count = 1;
          int maxCount = 0;
         void main(){
          int num1, num2;
          cin >> num1 >> num2;
  • 5인용C++스터디/메뉴와단축키 . . . . 11 matches
         void CMainFrame::OnContextMenu(CWnd* pWnd, CPoint point)
          cmenu->TrackPopupMenu(0, point.x, point.y, this, NULL);
         cmenu->TrackPopupMenu(0, point.x, point.y, this, NULL);
         cmenu(주메뉴의 첫번째 부메뉴판이 기억되어있는)를 좌표 (point.x, point.y) 이후에 표시한다.
         point.x, point.y : 마우스 단추를 누른 곳의 좌표
  • AncientCipher/정진경 . . . . 11 matches
         #include <stdio.h>
         #include <string.h>
         int main ()
          int l1,l2;
          int c1[26],c2[26];
          int i,j;
          if (l1!=l2) { printf ("NO\n"); return 0; }
          if (i<26) printf ("NO\n");
          else printf ("YES\n");
  • Applet포함HTML/영동 . . . . 11 matches
         * 음... HTML 컨버터로 컨버트하긴 했는데 ftp사용법을 몰라서 계정에 올리는 법을 모르겠네요. 그러한 관계로, 상욱이처럼 파일 내용만 올릴게요. ftp쓰는 법 배워서 링크시킬게요... [http://165.194.17.15/pub/util/WinSCP2.exe WinSCP 2.0 Beta]
          --NeoCoin
         http://java.sun.com/getjava/index.html
         --NeoCoin
          codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_0_03-win.cab#Version=1,4,0,30">
          pluginspage="http://java.sun.com/products/plugin/index.html#download">
         ["JavaStudyInVacation/진행상황"]
  • ComputerNetworkClass/Report2006/BuildingProxyServer . . . . 11 matches
          * http://orchid.cse.cau.ac.kr/course/cn/index.php?code=project4
         [http://www.web-caching.com/proxy-caches.html 현존하는 여러가지 프락시 서버 프로그램]
         [http://www.elbiah.de/hamster/doc/ref/errwinsock.htm Winsock Error Code]
         http://www.cs.wisc.edu/~cao/WISP98/html-versions/anja/proxim_wisp/index.html
         #using <mscorlib.dll>
         using namespace System;
         int main()
          System::Console::WriteLine( a.ToString());
  • CxxTest . . . . 11 matches
          return ' '.join(aList)
         def main():
          for eachFile in listdir("."):
          lastestPeriod = eachFile.rfind(".")
          print fileName, extension
          '''cmd= "python cxxtestgen.py --runner=ParenPrinter --gui=Win32Gui -o runner.cpp "+toStr(testFiles)'''
          cmd= "python cxxtestgen.py --runner=ParenPrinter -o runner.cpp "+toStr(testFiles)
          print cmd
         if __name__=="__main__":
          main()
  • EightQueenProblem/조현태2 . . . . 11 matches
         #include <iostream>
         using namespace std;
         int main(){
          int x[8]={0,};
          int qeen=0;
          for (register int i=-7; i<8; ++i)
          for (register int i=0; i<8; ++i){
          for (register int j=0; j<8; ++j){
          for(register int i=0; i<8; ++i)
          for(register int j=0; j<8; ++j)
  • MoniWiki/HotKeys . . . . 11 matches
          ||I||action=info ||[[Icon(info)]] 파란색 i||
          ||P||action=print ||[[Icon(print)]] 프린터||
          ||Q, S, R(Safari only)[[BR]]또는 F3(Firefox only)|| ||[[Icon(search)]] FindPage ||
          ||T|| ||TitleIndex ||
          ||``<ESC>``||Go 'into'/'out of' the 'Go' form|| ||
          ||Z + ``<BACKSPACE>``||Go 'into' the 'Go' form|| ||
          * MoinMoin:MoinMoinExtensions/Hotkeys
  • NSIS/예제4 . . . . 11 matches
         !include "MUI.nsh"
         !include "servicelib.nsh"
         ShowInstDetails show
         InstallDir $PROGRAMFILES\RealVNC\VNC4
         ;WindowIcon on
         InstallButtonText "설치"
         AutoCloseWindow false
         ShowInstDetails show
         ShowUninstDetails show
          SetDetailsPrint both
          SetOutPath $INSTDIR
          !insertmacro SERVICE "stop" "WinVNC4" ""
          File "winvnc4.exe"
          !insertmacro SERVICE "start" "WinVNC4" ""
  • OperatingSystem . . . . 11 matches
         [[include(틀:OperatingSystems)]]
         == What is OS(OperatingSystem)? ==
         In computing, an operating system (OS) is the system software responsible for the direct control and management of hardware and basic system operations. Additionally, it provides a foundation upon which to run application software such as word processing programs and web browsers.
         일종의, [[SeparationOfConcerns]]라고 볼 수 있다. 사용자는 OperatingSystem (조금 더 엄밀히 이야기하자면, [[Kernel]]) 이 어떻게 memory 와 I/O를 관리하는지에 대해서 신경쓸 필요가 없다. (프로그래머라면 이야기가 조금 다를 수도 있겠지만 :) )
          * [[windows|MicrosoftWindows]]
          * [[Linux]]
          * Palm, WindowsCE
  • ProgrammingLanguageClass . . . . 11 matches
         [ProgrammingLanguageClass/2002]
         [ProgrammingLanguageClass/2006]
          * ''Programming Language Pragmatics'' by Michael L. Scott : 이제까지 나온 프로그래밍 언어론 서적 중 몇 손가락 안에 꼽히는 명저.
          * ''Programming Language Processors In Java : Compilers and Interpreters'' by David A. Watt & Deryck F. Brown
         그러므로, 이런 ProgrammingLanguageClass가 중요하다. 이 수업을 제하면 다른 패러다임의 다양한 언어를 접할 기회가 거의 전무하다. 자신의 모국어가 자바였다면, LISP와 Prolog, ICON, Smalltalk 등을 접하고 나서 몇 차원 넓어진 자신의 자바푸(Kungfu의 변화형)를 발견할 수 있을 것이며, 자바의 음양을 살피고 문제점을 우회하거나 수정하는 진정한 도구주의의 기쁨을 만끽할 수 있을 것이다. 한가지 언어의 노예가 되지 않는 길은 다양한 언어를 비교 판단, 현명하고 선택적인 사용을 할 능력을 기르는 법 외엔 없다. --김창준
         "Students usually demand to be taught the language that they are most likely to use in the world outside (FORTRAN or C). This is a mistake. A well taught student (viz. one who has been taught a clean language) can easily pick up the languages of the world, and he [or she] will be in a far better position to recognize their bad features as he [or she] encounters them."
         -- C. H. Lindsey, History of Algol 68. ACM SIGPLAN Notices, 28(3):126, March 1993.
         개인적으로 학기중 기억에 남는 부분은 주로 레포트들에 의해 이루어졌다. Recursive Descending Parser 만들었던거랑 언어 평가서 (C++, Java, Visual Basic) 작성하는것. 수업시간때는 솔직히 너무 졸려서; 김성조 교수님이 불쌍하단 생각이 들 정도였다는 -_-; (SE쪽 시간당 PPT 진행량이 60장일때 PL이 3장이여서 극과 극을 달렸다는;) 위의 설명과 다르게, 수업시간때는 명령형 언어 페러다임의 언어들만 설명됨.
         see also SoftwareEngineeringClass
  • TheLagestSmallestBox/하기웅 . . . . 11 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         void findMinMax()
         int main()
          cout.setf(ios::showpoint);
          while(cin>>length>>width)
          findMinMax();
  • WERTYU/문보창 . . . . 11 matches
         #include <iostream>
         #include <cstring>
         using namespace std;
         int main()
          int i, j;
          int len_dic, len_str;
          while (cin.getline(str, 256, '\n'))
          continue;
  • eXtensibleStylesheetLanguageTransformations . . . . 11 matches
         Extensible Stylesheet Language Transformations, or XSLT, is an XML-based language used for the transformation of XML documents. The original document is not changed; rather, a new document is created based on the content of an existing one. The new document may be serialized (output) by the processor in standard XML syntax or in another format, such as HTML or plain text. XSLT is most often used to convert data between different XML schemas or to convert XML data into web pages or PDF documents.
         XSLT was produced as a result of the Extensible Stylesheet Language (XSL) development effort within W3C during 1998–1999, which also produced XSL Formatting Objects (XSL-FO) and the XML Path Language, XPath. The editor of the first version (and in effect the chief designer of the language) was James Clark. The version most widely used today is XSLT 1.0, which was published as a Recommendation by the W3C on 16 November 1999. A greatly expanded version 2.0, under the editorship of Michael Kay, reached the status of a Candidate Recommendation from W3C on 3 November 2005.
         <img src="http://upload.wikimedia.org/wikipedia/en/5/5a/XSLTprocessing.PNG" />
  • 네이버지식in . . . . 11 matches
          네이버 지식in은 폐인까지 생겨나면서 비슷한 위키는 이렇게 참여가 저조할까.
         지식in이란 서비스는 질문에 답변을 해주는 게시판 형식이긴 하지만, 참여가 자유롭고 한 주제에 대해 글을 쓴다는 점에서 위키랑 비슷하다는 생각이다. '''오픈 백과사전'''이라는 게 있기도 하던데 이게 위키랑은 더 비슷한 형태이지만 지식in에 대면 별로 인기가 없어보인다.
         가장 먼저 떠오른 건, 이용자 수였다. 이용자 수가 엄청나게 많다는 점이 지식in서비스를 활발하게 해 주었다. 이용자 수가 많아진 이유는 여러 가지가 있겠지만, 텔레비전 광고까지 낼 정도로 홍보를 해서 그렇지 않을까? 반면 위키 홍보는 몇 번인가 하고는 그 뒤로는 사람들이 알아서 쓰기를 바랬던 것으로 보인다. 알려지지 않은 서비스가 아무리 많은 장점이 있다 한들 사람들이 알아야 쓸테니까, 위키 사용이 활발하지 않은 건 일단 덜 알려져서라고 생각한다.
          ''왠만큼 소프트웨어를 아고 있는 사람들은 OS독점이라고 알고 있는데요. 아닌가요? :) --NeoCoin''
          ''말씀하신 익숙함의 의미를 제가 독점으로 바라봐서 생기는 오해인것 같습니다. 분명 청정원 케찹도 있지만 오뚜기 케찹을 선택하고 많이 팔리는 것을 '익숙함'으로 볼수 있습니다. 하지만 오뚜기 케찹을 쓰지 않으면 모든 요리를 할수 없는 상황이 되면 그걸 이제 '익숙함'이라고 설명하기보다 독점으로 바라봐야 한다고 생각하거든요. :) --NeoCoin''
         사람들은 [네이버지식in]을 마치 수학 문제 해답지처럼 여기는 것 같습니다. 저도 요즘엔 누가 궁금한 게 있다고 물어봤을 때 모르는 경우''지식in 검색해봐''라는 말을 자주 합니다. 제가 누군가에게 모르는 걸 물어봤을 때도 자주 듣습니다. ''지식in엔 없는게 없다니까''라는 말도 들어보았습니다. 마치 [네이버지식in]에는 살아가며 궁금한 것들에 대한 모든 해답이 있는 듯이 여기고 있다고 느꼈습니다. -[Leonardong]
         Knowledge In Naver 의 약자로 KIN 이라는 단어가 url 에 들어간더군요... 그냥 '즐' 이라는 단어만 생각했는데.. Knowledge In Naver 였다니...^^; - 임인택
         KIN 은 Knowledge In Naver 의 약자가 아니라 지식In -> Knowledge In -> kin 으로 사용하는 것이지요.
  • 정모/2011.3.21 . . . . 11 matches
         == Ice Breaking ==
          * [황현] 학우가 제시한 키워드 전기수로 Ice Breaking을 진행했습니다.
          * [Spring/탐험스터디]
          * SpringFramework를 공부하며 설계 원칙들도 함께 배움.
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * Ice braking은 많이 민망합니다. 제가 제 실력을 압니다 ㅠㅠ 순발력+작문 실력이 요구되는데, 제가 생각한 것이 지혜 선배님과 지원 선배님의 입에서 가볍게 지나가듯이 나왔을 때 좌절했습니다ㅋㅋ 참 뻔한 생각을 개연성 있게 지었다고 좋아하다니 ㅠㅠ 그냥 얼버무리고 넘어갔는데, 좋은 취지이고 다들 읽는데도 혼자만 피하려한게 한심하기도 했습니다. 그럼에도, 이상하게 다음주에 늦게 오고 싶은 마음이 들기도...아...;ㅁ; 승한 선배님의 Emacs & Elisp 세미나는 Eclipse와 Visual Studio가 없으면 뭐 하나 건들지도 못하는 저한테 색다른 도구로 다가왔습니다. 졸업 전에 다양한 경험을 해보라는 말이 특히 와닿았습니다. 준석 선배님의 OMS는 간단한 와우 소개와 동영상으로 이루어져 있었는데, 두번째 동영상에서 공대장이 '바닥'이라 말하는 등 지시를 내리는게 충격이 컸습니다. 게임은 그냥 텍스트로 이루어진 대화만 나누는 줄 알았는데, 마이크도 사용하나봐요.. 그리고 용개가 등장한 게임이 와우였단 것도 새삼 알게 되었고, 마지막 동영상은 정말 노가다의 산물이겠구나하고 감탄했습니다. - [강소현]
          1. 현이의 Ice Breaking : 어떻게 해야 더 재밌게 할 수 있을까 고민이 됩니다. 재밌는 키워드가 불시에 나와서 빵빵 터지는 것에 비해 그걸 갖고 스토리를 재밌게 짜내는건 쉽지 않았습니다. 차라리 키워드들을 갖고 스피드퀴즈를 해보는건 어떨지 ㅋㅋㅋㅋ
          * 키워드 전기수 재밌었습니다. 괜히 저는 혼자 말도 안돼는 드립치다가 웃음보 터져가지고 민망하게 진행도 못하긴 했었지만요 ㅋㅋㅋ elisp과 emacs 세미나는 파스텔톤 분위기에 취해서 흥미롭게 들었습니다. emacs는 '''단축키가 리눅스랑 같다'''는 이야기때문에 끌렸습니다... ㅋㅋ 그래서 설치하고 튜토리얼도 따라해봤습니다. 재밌더군요 {OK} OMS는 들으면서 놀랐습니다. 실제 마케팅부서에서 마케팅 나온 듯한 인상을 받았습니다. OMS를 보고 와우 스토리에 흥미도 생겼구요. 속으로 이런 생각도 했습니다. '와우는 무저갱이니까 와우 소설이나 읽어서 대리 만족이나 하자.' ㅋㅋㅋ 근데 소설 읽으면 결국 하게 될거 같아서 Stop Thinking! 결국 결론은 '''와우에는 접근도 하지 말자.''' 피자도 맛있게 '냠냠 쩝쩝 우물우물 쓰읍쓰읍 꿀꺽 쯥'하면서 잘 먹었습니다. 아쉬운 점이 있다면, 새싹 교실 트레이드를 못한 것 입니다. 제 반에 같이 햇빛을 못 쬐는 새싹이 있는데 결국 다른 새싹으로 바꾸지 못해서 제 새싹이 양분을 먹지 못했습니다...담번에는 꼭 흙 째로 옮겨주고 싶네요. - [박성현]
  • 지도분류 . . . . 11 matches
         === Software Engineering ===
         ||["SoftwareEngineeringClass"]||.||
         ||["ExtremeProgramming"]|| Agile Methodology 인 ExtremeProgramming 에 대한 전반적 설명||
         || RegressionTesting || 회귀 테스팅으로 기존의 기능에 문제 없는가 테스트 ||
         ||SoftwareEngineeringClass ||
         ||ProgrammingLanguageClass ||
         ||OperatingSystemClass ||
  • 파스칼삼각형/문원명 . . . . 11 matches
         #include <iostream>
         using namespace std;
         int pas(int aCol, int aRow);
         void main()
          int row, col, res;
          cin >> row >> col;
         int pas(int aCol, int aRow)
  • 파일 입출력_3 . . . . 11 matches
         #include <iostream>
         using namespace std;
         int main()
          int a,b,c;
          printf("a = ");
          printf("b = ");
          printf("c = ");
          printf("Input filename : ");
          fprintf( fpt_1, "a = %d \nb = %d \nc = %d", a,b,c); //printf와 사용법 비슷
  • 포인터 swap . . . . 11 matches
         #include <iostream>
         using namespace std;
         void swap(int *a,int *b );
         int main()
          int a = 1;
          int b = 18;
         void swap(int *a,int *b)
          int temp;
  • DermubaTriangle/하기웅 . . . . 10 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         int first, second, sExp, eExp, sNum, eNum;
         double getDistance(int s, int e)
         int main()
          cout.setf(ios::showpoint);
          while(cin>>first>>second)
  • EightQueenProblemSecondTry . . . . 10 matches
         이번에는 소스코드를 모두 삭제하고, 맨땅에서 다시 시작을 합니다. EightQueenProblem을 만족하는(즉 하나의 해법만 얻는) 프로그램을 다시 한번 작성합니다. 자신이 처음 EightQueenProblem을 풀면서 얻었던 통찰(insight)만을 이용하고, 가능하면 더 깔끔한 해답을 얻으려고 노력하면서 말이죠.
         see also DoItAgainToLearn
         || 강석천 ||4h:50m||1h:56m||.|| 135 lines || 130 lines || . || python || python || . ||
         || 이선우 ||1h:05m||1h:52m||52m|| 114 lines || 147 lines(+ test code 28 lines) || 304 lines || java || java || java ||
          * LOC - ''Lines of Code. 보통 SLOC(Source Lines of Code)이라고도 함.''
  • HowManyZerosAndDigits/문보창 . . . . 10 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         int main()
          int nZero; // how many zeros?
          while (cin >> N >> B)
          temp = int(temp/B);
          backTemp = int(i);
          cout << nZero << " " << int(nDigit) + 1 << endl;
  • InterWiki . . . . 10 matches
         List of valid InterWiki names this wiki knows of:
          [[InterWiki]]
         MoinMoin marks the InterWiki links in a way that works for the MeatBall:ColourBlind and also is MeatBall:LynxFriendly by using a little icon with an ALT attribute. If you hover above the icon in a graphical browser, you'll see to which Wiki it refers. If the icon has a border, that indicates that you used an illegal or unknown BadBadBad:InterWiki name (see the list above for valid ones). BTW, the reasoning behind the icon used is based on the idea that a Wiki:WikiWikiWeb is created by a team effort of several people.
         See the wiki:MeatBall/InterWiki page on wiki:MeatBall:MeatballWiki for further details.
         ZeroWiki에서는 InterMap 페이지 수정으로 InterWiki를 조작할 수 있습니다.
  • MagicSquare/성재 . . . . 10 matches
         #include<iostream.h>
         int main()
          int mab;
          cin >> mab;
          int mbang[9][9];
          int i,j;
          int a=0,k=0;
          int t=mab/2;
          int k;
  • Ruby/2011년스터디/강성현 . . . . 10 matches
          * ftp://ftp.ruby-lang.org/pub/ruby/binaries/mswin32/ 에서 다운로드
          * [ftp://ftp.ruby-lang.org/pub/ruby/binaries/mswin32/ruby-1.9.1-p430-x64-mswin64_80.zip 1.9.1 x64] (2010-08-20)
          * [ftp://ftp.ruby-lang.org/pub/ruby/binaries/mswin32/ruby-1.9.2-p0-x64-mswin64_80.zip 1.9.2 x64] (2010-08-20)
          * 루비 설치폴더\bin 안에 http://www.winimage.com/zLibDll/zlib125dll.zip 에 있는 dllx64\zlibwapi.dll 파일을 복사하고 이름을 zlib.dll 로 바꿈
  • Steps/하기웅 . . . . 10 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         int testcase, x, y, sqrtNum, powNum;
         int showResult(int number)
         int main()
          cin >> testcase;
          cin>>x>>y;
  • TAOCP/InformationStructures . . . . 10 matches
         = 2.2. Linear Lists =
          마지막 원소 빼기(setting Y equal to the top node and delete)
          ''새 원소 넣기(inserting an element at the rear of the queue)
          맨 앞 원소 빼기(removing the front node)
         하지만 공간낭비가 무한할 수 있다.( F, R이 계속증가하기 때문이다.) 따라서 이런 문제(the problem of the queue overrunning memory)를 해결하려면, M개의 노드(X[1]...X[M])가 순환하도록 한다.
          a) ''''위로 한칸씩 밀기(moving things up)'''
          b) ''''아래로 한칸씩 밀기(moving things down)''' a)에 해당하는 k가 없을 경우
  • TCP/IP . . . . 10 matches
         개발자를 위해서 제공되는 API(Application Programming Interface)의 가장 대표적인 형태가 TCP/IP 이다.
          * http://cs.ecs.baylor.edu/~donahoo/practical/CSockets/textcode.html <Socket Programming for C>
          * http://kldp.org/KoreanDoc/html/GNU-Make/GNU-Make.html#toc1 <using make file>
          * http://kldp.org/KoreanDoc/VI-miniRef-KLDP <using vi editer>
          * http://kldp.org/KoreanDoc/Thread_Programming-KLDP <using thread>
          * http://www.paradise.caltech.edu/slide <sliding window project>
          * Effective TCP/IP Programming: 44 Tips to Improve Your Network Programs : TCP/IP 프로그래밍 팁 모음
          * Interactive Shell이 지원되는 언어(e.g. Python, Ruby, ...)를 사용하면 TCP/IP의 개념을 아주 빠른 시간 안에 배울 수 있음. (Python은 내부적으로 C 라이브러리를 그대로 사용) 또, 현재 개발된/개발중인 시스템을 테스트 하는 데에도 매우 편리함. 예컨대, 리코에서는 XMLRPC 서버 접속을 파이썬 쉘에서 하고(import xmlrpc 한 다음에...), 거기서 사용자 등록 등의 서비스를 직접 사용하게 한다.
  • The Trip/Celfin . . . . 10 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         #define MAX_STU 1000
         int student_num, i, j, sum, average;
         int main()
          cout.setf(ios::showpoint);
          while(cin>>student_num)
          cin >> student[i];
  • TkinterProgramming/HelloWorld . . . . 10 matches
         from Tkinter import *
         def print_console():
          print 'WELCOME TO TKINTER PROGRAMMING'
         m = Label(frame, text = "TKINTER PROGRAMMING")
         p_button = Button(frame, text = "PRINT", command = print_console)
         root.mainloop()
          def __init__(self, master):
          self.p_button = Button(master, text="PRINT", command = self.print_msg)
          def print_msg():
          print"HELLO WORLD"
         root.mainloop()
  • 구구단/S.S.S . . . . 10 matches
         if __name__=='__main__':
          for n in range(1,10):
          for m in range(2,6):
          print m,'*',n,'=',m*n,
          print ''
          print ' '
          for n in range(1,10):
          for m in range(6,10):
          print m,'*',n,'=',m*n,
          print ''
  • 데블스캠프2006/월요일/연습문제/for/이경록 . . . . 10 matches
         #include<iostream.h>
         int main(void)
          int a,b;
         #include<iostream.h>
         int main(void)
          int a,b;
          int result=1;
          cin >> a;
  • 데블스캠프2006/화요일/pointer/문제1/정승희 . . . . 10 matches
         #include<iostream>
         using namespace std;
         void swap(int *a, int *b);
         void main()
          int a=1, b=18;
         void swap(int *a,int *b)
          int c;
         [데블스캠프2006/화요일/pointer]
  • 문자열연결/허아영 . . . . 10 matches
         #include <stdio.h>
         #include <string.h>
         void main(){
          fprintf(fp, "x => ");
          fprintf(fp, x);
          fprintf(fp, "\ny => ");
          fprintf(fp, y);
          fprintf(fp, "\nz => ");
          fprintf(fp, z);
  • 소수구하기/상욱 . . . . 10 matches
         #include <iostream>
         #include <time.h>
         using namespace std;
         int main() {
          int primeNumber[100000];
          int arrLength = 1;
          for (int i = 3 ; i < 500000 ; i += 2) {
          for (int j = 1 ; j < arrLength+1 ; j++) {
          printf("%d\n", i);
  • 위키QnA . . . . 10 matches
         Q : 링크에 밑줄이 생길때가 있고 안생길때가 있습니다. 그렇다기 보다는 생기는건 생기고, 어떤건 계속 안생겨 있군요. (in mozilla) --zennith
         A : 아. 한번 고쳐봤습니다; 위의 네비게이션 바에 tab index를 주었습니다. 맨 처음 focus 는 바로가기 GO 입력창에 커서가 오고요. 그 다음 Shift + Tab 을 누르면 TAB 이 최근바뀐글 -> 검색 -> 제목색인 순으로 움직입니다. (반발이 3명 이상 나오면 원상복귀 하겠습니다;;) --석천
         === InterWiki 는 무엇인가요? ===
         A : InterWiki 라고 합니다. InterWiki 에 등록된 다른 위키의 페이지를 링크 걸때 사용합니다. 위키간 이름공간을 연결해주는 유용한 매크로. ^^; InterWiki 에 가보시면 현재 등록된 다른 위키페이지들을 알 수 있습니다.~
          현재의 FrontPage가 하는 역할이 좀 많다고 생각하는데. (Long Method 에 대해서는 Refactoring이 필요한 법. --a) FrontPage가 하는 역할들에 대해 페이지들을 슬슬 나누는 것은 어떨까 생각중. --석천
          난 지금이 딱좋은데 더 확장되면 골치 아플껏 같고.. 혹은 사용용도가 ZeroWiki 와 합쳐 져야 한다고도 생각. project의 직접 접근성을 없애는건 반대이고 Starting Point에 사용용도를 링크하는 것이 최적이라고 생각 --상민
          FrontPage가 현재 하고 있는일이 (보여주고 있는 것) ZeroWiki 정의, 사용용도, Starting Point (여기에는 프로젝트 열거도 포함), 제안이야. 이중에서 사용용도와 제안은 새 페이지로 빼는 것이 좋을 것 같은데. 그리고 프로젝트 열거 밑에 Starting Point 밑에 두는 것도 생각. 그리고 또하나는 현재 이 프로젝트 관련 글을 Q&A가 아닌 제안페이지에 두는것이 더 좋겠다는 것. 현재 우선적인 직접접근성을 제공받아야 할 것은 project니까. 그에 대해서는 나도 별 이견 없음. --석천
         Q: Bioinformatics에 관한 프로젝트를 진행하려고 합니다. 소개와 내용의 재정리를 위해서는 많은 이미지 파일들을 위키에 올려야 될지도 모르겠는데, 위키에서의 이미지 사용은 그렇게 적절하지 않은 것 같습니다. 어떤 방식으로 이를 해결할 수 있을까요?
  • 위키설명회2005/PPT준비 . . . . 10 matches
         6502 는 16bit addressing이 가능한 CPU 였습니다. 즉, $0000 ~ $FFFF 였죠.
         6502 는 13가지 메모리 access 방식이 있었는데, 그중 하나가 zero page addressing 입니다.
         주소 영역을 8bit 만 사용, 상위 8bit 은 00 으로 가정하고 addressing 을 하면
         1992년 : 동남은행 Firm banking system, 치관 운영 관리 프로그램, 세탁소 관리 프로그램, 세일 정보 통신 재해자 관리 프로그램
         Headings: = Title 1 =; == Title 2 ==; === Title 3 ===; ==== Title 4 ====; ===== Title 5 =====.
         리스트: 공백과 * 한개; 1., a., A., i., I. 숫자로 된 items; 1.#n start numbering at n; space alone indents.
         BackLink 혹은 ReverseLink.
         많은 사람들이 그냥 아무 생각없이 링크 달 수 있다는 편리함으로 SeeAlso의 사용에 유혹을 받지만 SeeAlso에 있는 링크는 [InformativeLink]여야 한다.
         위키위키는 한 주제에 대한 기록이 영원히 남는다(WikiNow).
  • 파스칼삼각형/임다찬 . . . . 10 matches
         #include <stdio.h>
         int main(void){
          const int MAX = 100;
          int i,j;
          int row;
          int pascalt[MAX+1][MAX]={0,};
          printf("Row 값을 입력하세요 : "); scanf("%d",&row);
          printf(" %d",pascalt[i][j]);
          printf("\n");
  • 파스칼삼각형/조현태 . . . . 10 matches
         #include <iostream>
         using namespace std;
         void main()
          int hang=0;
          int yol=1;
          cin >> hang;
          cin >> yol;
          int bun_ja=1;
          int bun_mo=1;
          for (register int i=0; i<yol-1; ++i)
  • 피보나치/SSS . . . . 10 matches
         #include <stdio.h>
         int main(){
          int num_prev=1;
          int num_next=1;
          int num_temp=0;
          int pvio=0;
          int count;
          printf("숫자를 입력 하세요:");
          printf("%d\n",num_prev);
  • 피보나치/김소현,임수연 . . . . 10 matches
         #include <stdio.h>
         void main(void)
          int input;
          int first=1, second=1, sum=1;
          printf("입력하시오");
          scanf("%d", &input);
          for(int i=2; i<input; i++)
          printf("%d", sum);
  • ActiveXDataObjects . . . . 9 matches
         {{|Microsoft ADO (ActiveX Data Objects) is a Component object model object for accessing data sources. It provides a layer between programming languages and databases, which allows a developer to write programs which access data, without knowing how the database is implemented. No knowledge of SQL is required to access a database when using ADO, although one can use ADO to execute arbitrary SQL commands. The disadvantage of this is that this introduces a dependency upon the database.
         = in .NET Framework =
         {{|In the newer programming framework of .NET, Microsoft also present an upgraded version of ADO called ADO.NET, its object structure is quite different from that of traditional ADO. But ADO.NET is still not quite popular and mature till now.
         ADO 는 ActiveX 이므로 C++ 이건 VB 이건 Python 이건 어디서든지 이용가능. 하지만, 역시나 VB 나 Python 등에서 쓰는게 편리. 개인적으로는 ODBC 연동을 안하고 바로 ADO 로 C++ Database Programming 을 했었는데, 큰 문제는 없었던 기억. (하긴, C++ 로 DB Programming 할 일 자체가 거의 안생겨서..) --[1002]
  • EnglishSpeaking/TheSimpsons/S01E01 . . . . 9 matches
         = Title : Simpsons Roasting on an Open Fire =
          * Interviewer + Teacher
         Marge : Hmm. I get the feeling there's something you haven't told me, Homer.
         Homer : I don't deserve you as much as a guy with a fat wallet...and a credit card that won't set off that horrible beeping.
         Marge : I think it does have something to do with your Christmas bonus. I keep asking for it,but--
         Homer : Well, I would- I- I wanna do the Christmas shopping this year.
         [EnglishSpeaking/TheSimpsons]
  • Hacking . . . . 9 matches
         = Hacking =
          * Trinoo
          * tcpdump, windump, sniffit 과 같은 Tool이 있음.
          * Sniffing 에 대한 대비책
          * [http://www.insecure.org/nmap/] - port scan 외에도 OS의 정보를 알 수 있음.
          Upload:hacking.zip
          Upload:hacking2.zip
          Upload:hacking3.zip
          * [Hacking2004]
  • HaskellLanguage . . . . 9 matches
          * [http://en.wikibooks.org/wiki/Programming:Haskell Haskell Programming Wikibook]
          * [BeginningHaskellLanguage]
         == Haskell Interpreters ==
          * 저 위에보면, featuring static typing, higher-order functions, polymorphism, type classes and modadic effects 라고 있는데, 이것들이 아마 haskell language의 큰 특징들이 아닐까 한다. 각각에 대해서 알아두는게 도움이 될듯. ([http://www.nomaware.com/monads/html/ monad관련자료])- 임인택
          Multiple declarations of `Main.f'
         [[include(틀:ProgrammingLanguage)]]
  • PrimaryArithmetic/황재선 . . . . 9 matches
          for bit in range(MAX-1, -1, -1):
          if each + int(b1) + int(b2) >= 10:
          print 'No carry operation.'
          print '1 carry operation.'
          print self.carry, 'carry operations.'
         if __name__ == '__main__':
          n1, n2 = raw_input().split()
          print n1, n2
  • ProjectPrometheus/Iteration5 . . . . 9 matches
         Team Velocity : 5 Task Point.;
         || Task || Point || 진행여부 ||
         |||||| User Story : Login 후에 Search을 하고 책을 보면 추천 책이 나온다. ||
         || Task || Point || 진행여부 ||
         || Login AT || 1 ||.||
         || Login 후 검색해서 RS 여부 확인 AT || . || . ||
         || Task || Point || 진행여부 ||
         || Task || Point || 진행여부 ||
         || ["ProjectPrometheus/CollaborativeFiltering"] 설명 작성 || . || . ||
  • RandomFunction . . . . 9 matches
         === in C/C++ ===
         #include <iostream> // 랜덤함수는 iostream에 포함되어 있습니다.
         #include <ctime> // time(0)의 사용을 위해 필요합니다.
         using namespace std;
         int main()
          int x = rand(); // rand()함수는 랜덤한 숫자를 리턴하는 함수입니다.
          int x1 = rand() % 10; // % 10 연산을 하면 x1 에는 10의 나머지가 될 수 있는
          int x2 = rand() % 9 + 1; // % 9를 하면 0~8까지의 숫자가 들어갈 수 있고
  • ZeroPage . . . . 9 matches
          * ZeroPage 가이드북 발간 - '''코드의 바다를 여행하는 ZeroPager를 위한 안내서''' [https://drive.google.com/file/d/0B5V4LW7YTwbjeDdDZk9ITmhvWmM/edit?usp=sharing 가이드북]
          * team 'ProteinMalloc' 35등 : [김태진], [곽병학], [권영기]
          * 11회 중앙대학교 프로그래밍 경진대회(Programming Championship)
          * 장려상(4등) : Online Judge - [정진경],[추성준]
          * 프로젝트 pinple : Pinple팀
          * PinPle 프로젝트 - [변형진],[안혁준],[김민재],[정진경],[김수경],[서민관],[서영주],[권순의],[김태진]
          * 2002 1회 [http://www.natepda.com/popup/winner.htm SK 모바일 프로그램 경진대회 대상 수상] ([\"erunc0\"])
          * 1992 동남은행 Firm banking system, 치관 운영 관리 프로그램, 세탁소 관리 프로그램, 세일 정보 통신 재해자 관리 프로그램
  • callusedHand . . . . 9 matches
          * 최근 관심있는 밴드: LASSE LINDH, MANDALAY, PEDRO THE LION
          * Add-On Linux Kernel Programming
          * SWING - Beginning Java 2 & SWING
          * JDBC - Beginning Java 2
          * GTK++ - Teach Yourself GTK+ In 21days
          ''(move to somewhere appropriate plz) 논리학 개론 서적으로는 Irving Copi와 Quine의 서적들(특히 Quine의 책은 대가의 면모를 느끼게 해줍니다), Smullyan의 서적들을 권하고, 논리학에서 특히 전산학과 관련이 깊은 수리논리학 쪽으로는 Mendelson이나 Herbert Enderton의 책을 권합니다. 또, 증명에 관심이 있다면 How to Prove It을 권합니다. 대부분 ["중앙도서관"]에 있습니다. (누가 신청했을까요 :) ) --JuNe''
  • html5/communicationAPI . . . . 9 matches
          * 메세지 이벤트 : 자바스크립트 객체 ( data, origin, lastEventid, source, ports)
          * 송신 : postMessage(data, [ports], targetOrigin)
          * postMessage(data, [ports], targetOrigin)
          * targetOrigin : 메세지를 수신하는 도메인(프로토콜+도메인+포트번호)
          window.onmessage = function(e) {
          // origin 속성으로부터 송신처 확인
          if(e.origin == "http://localhost"){
          window.addEventListener("message", function(e) {
          destFrame.contentWindow.postMessage("메세지 내용", /*포트 생략가능*,/ "http://desc.example.com");
  • 구구단/윤성복 . . . . 9 matches
         if __name__ == '__main__':
          for j in range(1,10):
          for i in range(2,6):
          print i,'*',j,'=',i*j,
          print ''
          for j in range(1,10):
          for i in range(6,10):
          print i,'*',j,'=',i*j,
          print ''
  • 데블스캠프2006/월요일/연습문제/for/김대순 . . . . 9 matches
         #include<iostream.h>
         void main()
          int i,j;
          int a,b;
         #include<iostream.h>
         void main()
          int i,j;
          int s=1;
          cin >> i;
  • 데블스캠프2009/수요일/OOP/박준호 . . . . 9 matches
         int num (int x)
         int num (int x, int y)
         int num (int x, int y, int z)
  • 마방진/임민수 . . . . 9 matches
         #include <iostream>
         using namespace std;
         int const arsize = 11;
         void main()
          int num, garo=0, sero=0, cnt=1;
          cin >> num;
          int square[arsize][arsize]={0,};
          for (int i = 0 ; i <num; i++)
          for ( int j = 0 ; j < num ; j++)
  • 새싹교실/2012/해보자/과제방 . . . . 9 matches
         #include <stdio.h>
         int main(void){
          int i=0,j=0;
          printf(" ");
          printf("%d",i+1);
          printf(" ");
          printf("%d",i+1);
          printf("\n");
  • 주민등록번호확인하기/정수민 . . . . 9 matches
         #include <stdio.h>
         void main()
          int k,i;
          printf("주민번호 를 하이폰없이 입력\n");
          printf("%d ",a[i]);
          if (k==a[12]) printf("대한민국 국민이네요~ ^^ 안녕하세요!");
          else if (k==10) {if (a[12]==0) printf("대한민국 국민이네요~ ^^ 안녕하세요!");}
          else printf("혹시 간첩???? -_-;;");
         오오오 일등이다 'ㅅ'// - 태훈[zyint]
  • 중위수구하기/남도연 . . . . 9 matches
          int x,y,z,center;
          void input();
         #include <iostream.h>
         #include "hahaha.h"
         void Mid :: input(){
          cin>>x>>y>>z;
         #include "hahaha.h"
         void main(){
          center.input();
  • 프로그래밍잔치/첫째날후기 . . . . 9 matches
         === Think Different! 낯선언어와의 조우 ===
         학부생이 공부해볼만한 언어로는 Scheme이 추천되었는데, StructureAndInterpretationOfComputerPrograms란 책을 공부하기 위해서 Scheme을 공부하는 것도 그럴만한 가치가 있다고 했다. 특히 SICP를 공부하면 Scheme, 영어(VOD 등을 통해), 전산이론을 동시에 배우는 일석삼조가 될 수 있다. 또 다른 언어로는 Smalltalk가 추천되었다. OOP의 진수를 보고 싶은 사람들은 Smalltalk를 배우면 큰 깨달음을 얻을 수 있다.
         >>> handan=lambda a:[a*b for b in range(1,10)]
         >>> gugudan=lambda :[handan(a) for a in range(1,10)]
         >>> gugudan=[[a*b for b in range(1,10)] for a in range(1,10)]
         >>> gugudanpair=[(a,b) for a in range(2,10) for b in range(1,10)]
         >>> printgugupair=lambda pair: sys.stdout.write("%d * %d = %d\n"%(pair[0],pair[1],pair[0]*pair[1]))
         >>> ign=map(printgugupair,gugudanpair)
  • 화이트헤드과정철학의이해 . . . . 9 matches
         계속 화이트헤드에 주목하는 이유라면 (김용옥씨 관점의 화이트헤드해석일지도 모르겠다. ["이성의기능"] 때문이지만.) 점진적 발전과 Refactoring 에서 뭔가 연결고리를 흘핏 봐서랄까나. 잘못하면 뜬구름 잡는 넘이 될지 모르겠지만. 이번에도 역시 접근방법은 '유용성' 과 관련해서. 또 어쩌면 용어 차용해서 써먹기가 될까봐 걱정되지만. 여유를 가지고 몇달 생각날때 틈틈히 읽으려는 책.
         비유의 아이디어로서 ["NumericalAnalysisClass"] 때 배운 Interpoliation 기법들이였다. 수치해석시간의 Interpolication 기법들은, 몇몇개의 Control Point들을 근거로 Control Point 를 지나가는 곡선의 방정식을 구하는 법이다. 처음 Control Point 들의 갯수가 적으면 그만큼 오차도 많지만, Control Point 들을 늘려가면서 점차 본래의 곡선의 모양새를 수렴해간다.
         Control Point 들은 일상의 경험들이다. 그 경험들이 삶의 방정식들을 만들어간다. 비록 그 방정식들이 오차가 많을지더라도, (라그랑주일지, Cubic Spline 일지. 어쩌면 결국 현실을 누가 더 잘 설명하느냐라는 유용성의 문제일까) 어느정도 유용하다. 공식이 완성된 선은 재계산과정없이 빨리 그릴 수 있다.
         우리는 진리를 찾기 위해 오늘도 자신의 공식에 Control Point 를 하나더 추가하고 있는것일지도 모른다. (단, 라그랑주일경우엔 좀 더 정확해보이는 Cubic Spline 으로 페러다임 전환을 하자. ^^;)
  • 2010Python . . . . 8 matches
          * 교재 : How to think like a computer scientist
          * [박정근] - python의 특이한 배열? keyindex를 지정가능하고 순서대로 출력도 가능함. 그리고 python은 지정하는것이 특기인 듯
          * [http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/index.htm MIT Open Courseware 6.00 Introduction to Computer Science and Programming]
  • 5인용C++스터디/작은그림판 . . . . 8 matches
         || 문원명 || Upload:MinipaintMwm.zip || 잘했음. ||
         || 황재선 || Upload:MiniPaintHJS.zip || 잘했음. ||
         || 나휘동 || Upload:Leonardong_paintingboard.zip || 잘했음. ||
         || 노수민 || [http://165.194.17.15/pub/upload/MiniPaintMFC_SM.zip] || 색칠 기능이 없음. ||
  • ComputerNetworkClass/Exam2006_2 . . . . 8 matches
         인터넷 보안 관련된 문제에서 문제로 출제 될 만하다고 생각했던 부분인 Authencation Protocol (3-way-handshake, keberos, using RSA)에 대한 내용역시 미출제되었음. 덕분에 시험 난이도는 낮아졌지만, PEM 의 구조에 대한 설명이 들어갔기 때문에 따로 관심을 가지고 공부한 사람이 아니면 약간 어려웠을지도 모르겠음.
         secrecy(interception -> DES, RSA)
         authenticate(fabrication -> 3-way handshake, keberos, using RSA)
         integrigy(modification -> keyed MD5)
         availability(interruption, DoS, Jamming -> Firewall, Proxy-base Network System)에 대한 설명과 수업때 배운 보안기술들을 분류하고 설명하는 문제임.
          playback point, playback time 에 대한 이해를 묻는 문제임. adaptive playback 에대한 문제도 출제되었음.
          Integrated Service(flow-based), Differentiated Service(service-based) 에대한 전반적인 이해를 하는 문제. 해당 기법에 WFQ를 적용하는 방법에 대한 이해를 묻는 문제로 약간 응용해서 적으란 것으로 보임. 책에 DS에 대한 설명은 WRED, RIO에 대한 설명만 되어있었고, 이 방식은 Queuing 에 의한 WFQ의 사후 처리가 아닌 사전 체리에 관련된 내용이었음. 솔직히 WFQ 왜 냈는지 모르겠음. -_-;;
  • JollyJumpers/허아영 . . . . 8 matches
         #include <iostream>
         using namespace std;
         int main()
          int num, i, j, value, temp;//, maxNum;
          int numbers[3000], compare[3000];
          while(cin >> num)
          cin >> numbers[i];
  • LinuxSystemClass . . . . 8 matches
         [LinuxSystemClass/Report2004_1] - PosixThread 를 이용, 스레드를 만들고 그에 따른 퍼포먼스 측정.
         [LinuxSystemClass/Exercise2004_1]
         [LinuxSystemClass/Exercise2004_2]
         [LinuxSystemClass/Exercise2004_3]
         === examination ===
         [LinuxSystemClass/Exam_2004_1]
         개인적으로 교재가 마음에 든다. 단, 제대로 공부할 것이라면 가능한 한 원서를 권한다. 한서의 경우 용어의 혼동문제와, 중간 오역문제가 눈에 띈다. (inexpensive를 expensive 로 정 반대의 뜻으로 해석한) 뭐, 물론 그럼에도 불구하고 아마 사람들은 한서 읽는 속도가 원서 읽는 속도의 3배 이상은 될테니. 알아서 잘.
         학교 수업공부를 하거나 레포트를 쓰는 경우 위의 학교 교재와 함께 'The Design of the Unix Operating System' 을 같이 보면 도움이 많이 된다. 해당 알고리즘들에 대해서 좀 더 구체적으로 서술되어있다. 단, 책이 좀 오래된 감이 있다.
  • LoadBalancingProblem . . . . 8 matches
         Load Balancing 이라는 개념은 앞으로 몇번 접하게 될 개념입니다. 컴퓨터분야에서뿐만 아니라 다른 분야 (예를 든다면 이삿짐 업체나, 택배업체, 우체국 등등..) 에서도 쓰입니다. Load Balancing은 역할분담을 가장 적당하고 고르게 하여 각각의 개체들이 부담을 적게 느끼고 전체 작업시간을 단축시킬수 있도록 해 줍니다. 간단한 LoadBalancingProblem 문제를 접하여보고 기회가 닿는다면 조금더 복잡한 종류의 문제를 풀어보는것도 좋을것 같습니다.
         == Problem name : Load Balancing ==
         || 강양욱 || . || Java || Upload:IPSCLoadBalancing-macare.zip ||
         || 임인택 || . || Java || [LoadBalancingProblem/임인택] (그냥 예전에 풀어놨던 것) ||
         || 나휘동 || . || Python || [LoadBalancingProblem/Leonardong] ||
         see also IpscLoadBalancing, ["문제은행"]
  • OurMajorLangIsCAndCPlusPlus/math.h . . . . 8 matches
         ||int abs ( int n ) || 정수파라미터에 대한 절대값을 리턴한다 ||
         ||double asin ( double x ) || arc사인 값을 계산한다 ||
         ||double atof ( const char * string ) || 문자열을 실수형으로 변형시킨다||
         ||double frexp ( double x , int * exp ) || x = mantissa * (2^exponent) ||
         ||double ldexp ( double x , int exp ) || mentissa와 exponent값을 구한다 ||
         ||double sin ( double x ) || 사인값을 계산한다 ||
         ||double sin ( double x ) || 쌍곡선의 사인값을 계산한다 ||
  • ProgrammingPearls/Column1 . . . . 8 matches
         == Cracking the oysters ==
         for b in bits:
         for e in inputFile:
         for b in bits:
          print b
         === Principles ===
         [ProgrammingPearls]
  • ReverseAndAdd/김범준 . . . . 8 matches
         def main():
          number = str(input('입력: '))
          for n in range(1, 100):
          nnumber = int(number)
          rnumber = int(reverse)
          print number
         if __name__ == '__main__':
          main()
  • Self-describingSequence . . . . 8 matches
         [http://online-judge.uva.es/p/v100/10049.html 원문보기]
         === About [Self-describingSequence] ===
         [http://online-judge.uva.es/p/v100/10049img2.gif]
         === Input ===
         === Sample Input ===
          || 문보창 || C++ || 2시간 || [Self-describingSequence/문보창] ||
          || 황재선 || Java || 2시간 || [Self-describingSequence/황재선] ||
          || [1002] || Python || 1시간 40분 || [Self-describingSequence/1002] ||
          || [shon] || matlab || 1차 : 1시간 10분, 2차 : 3시간 || [Self-describingSequence/shon] ||
          || [조현태] || C++ || ? || [Self-describingSequence/조현태] ||
  • SmithNumbers/김태진 . . . . 8 matches
         #include <iostream>
         #include <stdio.h>
         int main(int argc, const char * argv[])
          int i,j,n,N,l,save,sum,ssum,k=0;
         // int arr[100];
          printf("%d\n",save);
  • VonNeumannAirport . . . . 8 matches
         SPEC : http://icpc.baylor.edu/past/icpc2001/Finals/problems.pdf 중 Problem A
          * 중간에 창준이형이 "너희는 C++ 로 프로그래밍을 하면서 STL를 안사용하네?" 라고 했을때, 그냥 막연하게 Java 에서의 Collection Class 정도로만 STL을 생각하고, 사용을 잘 안했다. 그러다가 중반부로 들어서면서 Vector를 이용하게 되었는데, 처음 한두번 이용한 Vector 가 후반으로 가면서 전체의 디자인을 뒤집었다; (물론 거기에는 디미터 법칙을 지키지 않은 소스도 한몫했지만 -_-;) 그걸 떠나서라도 Vector를 써 나가면서 백터 비교 assert 문 등도 만들어 놓고 하는 식으로 점차 이용하다보니 상당히 편리했다. 그러다가 ["Refactoring"] Time 때 서로 다른 자료형 (앞에서 array 로 썼던 것들) 에 대해 vector 로 통일을 하다 보니 시간이 비교적 꽤 지연이 되었다.
          * ["Refactoring"] Bad Smell 을 제대로 맡지 못함 - 간과하기 쉽지만 중요한 것중 하나로 naming이 있다. 주석을 다는 중간에 느낀점이 있다면, naming 에 대해서 소홀히 했다란 느낌이 들었다. 그리고 주석을 달아가면서 이미 구식이 되어버린 예전의 테스트들 (로직이 많이 바뀌면서 테스트들이 많이 깨져나갔다) 를 보면 디미터 법칙이라던가 일관된 자료형의 사용 (InformationHiding) 의 문제가 있었음을 느낀다.
          -> 이에 따라 Input 부분이 바뀌고, Input 부분이 클래스와 합쳐진 코드의 경우 더더욱 골치.
          * 가장 트래픽이 많이 발생하는 길을 알아낸다. - 복도에 대해서 InformationHiding.
          * 지금 만든 모듈의 소스 수정없이 GUI 버전으로 재작성하기 - Input / Output 먼저 작성하는 사람들은 가장 고생.
          * 출력 Output 의 Sorting 을 2가지로 둔다면?
  • XOR삼각형/허아영 . . . . 8 matches
         #include <stdio.h>
         #define SIZE 8
         void printtri(int xortri[SIZE][SIZE]);
         void main()
          int i, j, xortri[SIZE][SIZE] = { {0, } };
          printf("%d", xortri[i][j]);
          printf("n");
  • zyint . . . . 8 matches
         http://zyint.com/
         http://cyworld.nate.com/zyint/
         MSN : {{{zyint 앳 zyint닷컴}}} >> 앳을 @로 닷컴을 .com으로 공백을 지운후 이메일 주소를 재구성 하세요.
         = zyint EXCLUSIVE =
          || LPU4.0 Limited Edition || . || ★★★★·|| 라이브앨범 -ㅅ- with랑 it's goin' down, step up 좋다 +ㅁ+ [[BR]]아무래도 팬클럽회원 전용 앨범이라; 노래 수가 많지 않아 아쉽긴 하다.||
         [zyint/vb]
         검색로봇 차단방법 : [Robots Exclusioin]
  • 논문검색 . . . . 8 matches
          * [http://www.dlibrary.go.kr/index.html 국가전자도서관]
          * [http://www.nl.go.kr/index.php3 국립중앙도서관]
          * [http://www.nanet.go.kr/index.html 국회도서관]
          * [http://www.kisti.re.kr/ 산업기술정보원(KINITI)]
          * [http://www.kins.co.kr/ 한국아이엔에스(KINS)]
          * [http://www.isinet.com/isi/ ISI NET]
          * [http://www.libra.titech.ac.jp/online.html ONLINE JOURNAL (일본)]
          * [http://ostin.oasis.or.kr/pls/oasis2/ohome 해외과학기술정보네트워크]
          * [http://www.riss4u.net/index.html RISS4U]
  • 데블스캠프2006/월요일/함수/문제풀이/정승희 . . . . 8 matches
         #include<time.h>
         #include <iostream>
         using namespace std;
         int a();
         int main()
         int a()
          int i = rand() % 6 + 1;
  • 데블스캠프2006/화요일/pointer/문제1/김준석 . . . . 8 matches
         #include<iostream>
         using namespace std;
         void swap(int *a, int *b){
          int temp;
         void main(){
          int a =1, b = 18;
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/허준 . . . . 8 matches
         == main.cpp ==
         #include <stdio.h>
          int att;
          int def;
          int HP;
         void main() {
          printf("저글링1이 저글링2에 데미지 %d를 입혀서 저글링2의 HP가 %d가 되었습니다.\n", zeli1.att, zeli2.HP);
          printf("저글링2가 죽었습니다.\n");
  • 데블스캠프2013/둘째날/API . . . . 8 matches
         == index.php ==
          이름 <input name="name" size="10">
          내용 <input name="text" size="40">
          <input type="submit">
          echo '<script>alert("내용이 없습니다."); location.href="index.php";</script>';
          mysql_query("insert into board(name,text,ip) values ('{$_POST['name']}', '{$_POST['text']}', '{$_SERVER['REMOTE_ADDR']}')");
          echo '<script>alert("등록되었습니다."); location.href="index.php";</script>';
  • 마방진/김아영 . . . . 8 matches
         #include <iostream.h>
         int main()
          int a[5][5]={{0, },};
          int x, y ;
          for(int count=2;count<26;count++)
          for(int i=0;i<5;i++)
          for(int j=0;j<5;j++)
  • 몸짱프로젝트/DisplayPumutation . . . . 8 matches
         #include <iostream.h>
         void perm(char * list, int i , const int n);
         const int SIZE = 4;
         void main()
         void perm(char * list, int i , const int n)
          int j;
  • 몸짱프로젝트/InfixToPrefix . . . . 8 matches
          def __init__(self, aExpression = ''):
          if aToken in self.precedence:
          for l in self.list:
          self.list.insert(-1, aOperator)
          self.list.insert(0, aOperator)
          def convertInfixToPrefix(self):
          for e in self.expression:
          def testConvertInfixToPrefix(self):
          e.convertInfixToPrefix()
          e.convertInfixToPrefix()
         if __name__ == '__main__':
          unittest.main()
  • 송지원 . . . . 8 matches
          * instagram : enoch.g1
          * [Clean Code With Pair Programming]
          * [EnglishSpeaking/2011년스터디]
          * [데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/송지원]
          * [데블스캠프2011/셋째날/String만들기/송지원]
          * [BeginningHaskellLanguage]
  • 시간맞추기/조현태 . . . . 8 matches
         #include <iostream>
         #include <time.h>
         #include <conio.h>
         using namespace std;
         const int ANSWER_TIME=8;
         void main()
          int second;
          cout << "you win!!!";
  • 여섯색깔모자 . . . . 8 matches
          * Title : 생각이 솔솔 여섯 색깔 모자 ( Wiki:SixThinkingHats )
          * My Point
          * NeoCoin : B) B) B) B) B)
          어떻게 하면 생각을 잘 모을 수 있을까? 어떻게 하면 신속한 회의를 할 수 있을까? 라는 고민에 내려놓은 제 결론이 얼마나 부족한가를 일깨워 주었습니다. 두께가 그리 두껍지 않으니, 가볍게 들고 다니면서 볼수 있습니다. --NeoCoin
         See Also Wiki:SixThinkingHats
         평소에 의견을 교환 하다가 보면 어느새 자신의 자존심을 지키려는 논쟁 으로 변하게 되는 경우가 많다. 이 논쟁이란게 시간은 시간대로 잡아 먹고, 각자에게 한가지 생각에만 편향되게 하고(자신이 주장하는 의견), 그 편향된 생각을 뒷받침 하고자 하는 생각들만 하게 만드는 아주 좋지 못한 결과에 이르게 되는 경우가 많다. 시간은 시간대로 엄청 잡아 먹고... 이에 대해서 여섯 색깔 모자의 방법은 굉장히 괜찮을거 같다. 나중에 함 써먹어 봐야 겠다. 인상 깊은 부분은 회의를 통해서 지도를 만들어 나간후 나중에 선택한다는 내용이다. 보통 회의가 흐르기 쉬운 방향은 각자 주장을 하고 그에 뒷받침 되는것을 말하는 식인데, 이것보다 회의를 통해서 같이 머리를 맞대서 지도를 만든후 나중에 그 지도를 보고 같이 올바른 길로 가는 이책의 방식이 여러사람의 지혜를 모을수 있는 더 좋은 방법이라고 생각한다. 이 책도 PowerReading 처럼 잘 활용 해보느냐 해보지 않느냐에 따라서 엄청난 가치를 자신에게 줄 수 도 있고, 아무런 가치도 주지 않을 수 있다고 생각한다. - [상협]
  • 조현태/놀이/지뢰파인더 . . . . 8 matches
          위키에서 마인 파인더를 본 기억이 어렴풋이 남아있다.(SeeAlso MineFinder)
          Upload:minefinder_dine.jpg
         지뢰파인더 1.0v - Upload:MineFinder.exe
          └만들어 보고싶다우..ㅎㅎ 그런데 나 1학년 마치고 군대갈껀디..ㅎㅎ 갔다오면 다 잊어먹어서 'printf가 모에요?'라고 묻는 웃지못할 사태가 발생할듯..;;ㅁ;;
  • 타도코코아CppStudy/0728 . . . . 8 matches
          * TableDrivenProgramming
          ZeroWiki:DevelopmentinWindows
         #include <iostream>
         using namespace std;
         int main()
         || 마방진(홀수) || [CherryBoy] || Upload:MaBangJin_CherRy.cpp || . ||
  • 파스칼삼각형/김영록 . . . . 8 matches
         #include <iostream.h>
         int num_ret(int X, int Y) //재귀호출 1인경우(X=1,X=Y)엔 1을 리턴하는방식
         void main()
          int X,Y;
          cin >> Y ;
          cin >> X ;
  • 05학번 . . . . 7 matches
         #include <cstdlib>
         #include <iostream>
         using namespace std;
         void copy(char *src, char *dest, int length )
         int main ()
          copy("my_string", p, 30 );
  • CollectionParameter . . . . 7 matches
         == Collecting Parameter ==
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
          for(vector<People>::iterator it = result.begin() ; it != result.end() ; ++it)
  • DesignPatterns/2011년스터디/1학기 . . . . 7 matches
          1. High Cohesion Low Coupling과 SOLID(SRP, OCP, LSP, ISP, DIP)에 대해 다시 생각해보는 시간이 되었다.
          1. SRP(Single Response Principle)에 대해 얘기하면서 '책임'이란 무엇인가에 대한 이야기가 나왔다. 삽질 경험이 없는 사람에게 객체지향 원칙을 설명할 때 '책임'이 무엇인지 어떻게 이해시켜야 할지 모르겠다. 오늘 얘기하면서 낸 결론도 경험이 없으면 이해하기 어렵다는 것…
          1. Factory Method와 Template Method 방법에대해 나쁜점을 설명하는데 Swing이 나오니까 다시 화난다. 난 Swing디자인이 싫어!!
          * 다음시간에는 임상현의 SE 프로젝트인 WinMerge프로젝트를 도와주겠습니다!!!
          1. Block과 Line에서 어느 쪽이 실제 status를 가지고 있어야 할지가 설계의 주요 이슈였다.
  • EnglishWritingClass/Exam2006_1 . . . . 7 matches
         = EnglishWritingClass =
         1. Prewriting 종류를 기술하라.
         Freewriting, Clustering, Brainstorming, Planning
  • IsThisIntegration?/김상섭 . . . . 7 matches
         4337326 2006-02-15 08:15:39 Accepted 0.352 448 28565 C++ 10209 - Is This Integration ?
         #include <iostream>
         #include <math.h>
         using namespace std;
         int main()
          cout.setf(ios::showpoint);
          while(cin >> temp)
  • MacroMarket . . . . 7 matches
         moinmoin의 Macro 관련 페이지. {{{~cpp [[TableOfContents]], [[BR]] }}} 등등은 일종의 moinmoin 플러그인으로 파이썬을 이용, 향후 추가가 가능합니다.
         현재 moinmoin에서 만들어진 Macro들에 대해서는 http://purl.net/wiki/moin/MacroMarket 를 참조하세요.
  • ProjectPrometheus/MappingObjectToRDB . . . . 7 matches
         참조 문서 : http://martinfowler.com/isa/OR-mapping.html
          For Login
          For Recommendation System (Read Book, point )
          For Book Information
          For cauBook Information (중대 도서관시 유일한 키)
          For Recommendation System ( Related Book Point )
         PEAA 의 RDB Mapping 과 관련된 패턴을 바로 적용하는 것에 대한 답변
         한편으로 [http://www.xpuniverse.com/2001/pdfs/EP203.pdf Up-Front Design Versus Evolutionary Design In Denali's Persistence Layer] 의 글을 보면. DB 관련 퍼시스턴트 부분에 대해서도 조금씩 조금씩 발전시킬 수 있을 것 같다. 발전하는 모양새의 중간단계가 PEAA 에서의 Table/Row Gateway 와도 같아 보인다.
          1. 13개월 프로젝트인데 2만라인짜리라는점 - 뭐.. 꼭 소스 라인수로 세는건 무리가 있긴 하지만. Servlet 프로젝트 2만라인. 내가 전에 팀 프로젝트로 MFC 엑셀 만들때가 1만 7천라인이였는데. -_-a 물론, Refactoring 이 잘 되어있고, XP 가 잘 적용된 프로젝트이라면 적은라인수로 많은 일을 하겠지만.
  • TheKnightsOfTheRoundTable/김상섭 . . . . 7 matches
         #include <iostream>
         #include <math.h>
         using namespace std;
         int main()
          cout.setf(ios::showpoint);
          while(cin >> a >> b >> c)
  • TheKnightsOfTheRoundTable/하기웅 . . . . 7 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         int main()
          cout.setf(ios::showpoint);
          while(cin>>a>>b>>c)
  • WritingOS . . . . 7 matches
         = Writing OS =
         http://www.aladdin.co.kr/shop/wproduct.aspx?isbn=8989975603
         http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200503170002
         http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200405280003
         http://www.cs.washington.edu/homes/tom/nachos/
  • 구구단/유상욱-Scheme . . . . 7 matches
         ( define (gugudan x y)
          (begin (when (> x 9) (exit) )
          (when (> y 9) (begin (gugudan (+ x 1) (- y 9)) (exit) ))
          (print x) (write 'x) (print y) (write '=) (print (* x y)) (newline)
  • 상협/Diary/8월 . . . . 7 matches
          * Designing Object-Oriented Software 이책 다보기 Failure (집에 내려가서 해야징.)
          * Refactoring책 대충 한번 흝어 보기 Failure (집에 내려가서 해야징.. -_-;;)
          * 뭘했는지 잘 기억이.. -_-;; WinSock 좀 보고, ["비행기게임"] 이것도 좀 하궁..
         || ["3DAlca"] || WinSock 봄 || 멀었당. ||네트워크를 위해서.. -_- ||
         || ["3DAlca"] || WinSock봐서 만들 준비 다하기 || 10% || 이룬.. -_-; ||
         || ["3DAlca"] || WinSock봐서 만들 준비 다하기 || 15% || 이룬.. -_-; ||
         || ["3DAlca"] || WinSock봐서 네떡 기반 닫기 || 아직 || 아싸 ||
  • 새싹교실/2013/책상운반 . . . . 7 matches
         #include <stdio.h>
          int main(){
          printf("Hello World! \n");
          printf("%d",a());
          int a(){
          * #include <stdio.h> 를 왜 쓰는 건지
  • 위시리스트 . . . . 7 matches
          * 크롬북 [http://www.google.com/intl/en/chrome/devices/ 링크 - [:안혁준 안혁준]]
          * [http://books.google.co.kr/books?id=oowq_6bAgloC&printsec=frontcover&dq=go+lang&hl=ko&sa=X&ei=5f-WU8rTCM_-8QXu5oGwAw&redir_esc=y#v=onepage&q=go%20lang&f=false the way to go]
          * http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=8991268838
         The art of computer programming 1 ~ 4A
         Building Machine Learning Systems with Python 한국어판
  • 튜터링/2013/Assembly . . . . 7 matches
          * Virtual, 2진수, 메모리 공간, ALU연산, Pipeline, Multitasking, 보호모드, Little-endian, RISC&CISC
          1. Instruction Execution Cycle을 도식하고, 설명하세요.
          1. Directive와 instruction의 차이점에 대해 설명하시오.
          4.다음 방식(indirect, indexed)로 코드를 작성하고, 설명하시오.
          indirect operands indexed operands
          * Interrupt
  • 피보나치/김진목 . . . . 7 matches
         {{{~cpp #include <stdio.h>
         int pres=1, prev=0, temp, i, n ;
         int main(int argc, char *argv[])
          printf("숫자를 입력해보셈 ㅋㅋ : ");
          printf("결과 : %d", pres);
  • 현재 위키에 어떤 습관이 생기고 있는걸까? . . . . 7 matches
          * URL이나 dos, unix 디렉토리 구조 같아서 친숙한 것 같다. 프로그래머나 컴퓨터 파워유저는 익숙한것 같지만, 한국말에는 어울리지 않는 것 같다. --NeoCoin
          * 그것이 왜? 편한 길인가 앞으로도 편할수 있는 길인가? 나쁜점은 왜 나쁜가? 하는 것을 이야기 하자는 것이지요. 저 이야기에는 분명 많은 부분이 생략되었을 겁니다. 이 길을 내도 되는건가? 왜 사람들이 많이 다닐까? 하는 고민들이요. OneWiki 에 길을 보면서 생각해 BoA요. --NeoCoin
          * 원래 빈칸도 잘 들어 갑니다. 하지만 여전히 검색은 보장 못하지요. --NeoCoin
          * 외국에서 개발되어서 어쩔수 없다기 보다, 현재 Web 인코딩을 그대로 filename에 가져다 쓰기 때문입니다. python 스크립트 만들어저 지워요. --NeoCoin
          * 페이지가 잘못만들어 지면 로그인해서 지운다. 반하여 ZeroWiki 와 차별되는 점 --NeoCoin
          * 좀 이상한(...라기보다는 제로위키에서였다면 생소했을) 페이지(ex) [InterestingCartoon], [GoodMusic], [창섭이 환송회 사진])를 만들어봤다. --[인수]
          과연 있을까나? --NeoCoin
  • 1~10사이 숫자 출력, 5 제외 (continue 문 사용) . . . . 6 matches
         #include <iostream>
         using namespace std;
         int main()
          for ( int i = 1 ; i <= 10 ; i++)
          continue;
  • 5인용C++스터디/마우스로그림그리기 . . . . 6 matches
         || 문원명 || UploadZero:PaintApiMwm.zip || 잘했음. ||
         || 노수민 || UploadZero:MousePaintAPI_SM.zip|| 잘 했으나 천천히 그리면 끊겨서 그려짐. ||
         || 나휘동 || Upload:Leonardong_APIdrawing.zip || 컴파일 안됨. ||
         || 문원명 || UploadZero:PaintMfcMwm.zip || 잘했음. ||
         || 나휘동 || Upload:Leonardong_MFCdrawing.zip|| 잘했음. ||
         || 노수민 || [http://165.194.17.15/pub/upload/MousePaintMFC_SM.zip]|| 잘했음. ||
  • AKnight'sJourney/정진경 . . . . 6 matches
         #include <stdio.h>
         char* GetPath(int k)
         int main()
          int i, n, p, q;
          printf("Scenario #%d:\n%s\n\n", i, GetPath(p*100+q));
  • AM/20040705두번째모임 . . . . 6 matches
          * Spy++, goto definition 으로 실제 코드가 돌아가는 모습과 선언부분을 직접 보여줌 -> [1002] 개별상담, 선배에게 조언
         ex) 배우는 부분이 Windows Programming, Window Event Driven Programming, GDI, GUI Control 들이라 한다면
          * Spy++ 과 goto definition 을 통한 분석 & 설명을 중간중간 이용하기.
  • Applet포함HTML/상욱 . . . . 6 matches
          codebase = "http://java.sun.com/products/plugin/autodl/jinstall-1_4_1_01-windows-i586.cab#Version=1,4,1,1"
          pluginspage = "http://java.sun.com/products/plugin/index.html#download">
         ["JavaStudyInVacation/진행상황"]
  • CodeRace/Rank . . . . 6 matches
         || 순위 || 이름 || Point ||
         - 특정 Point가 되었을 때, 소정의 상품을 드립니다.
         - 1등 : 3 Point
         - 2등 : 2 Point
         - 3등 : 1 Point
         - 특별상 : 2 Point
  • CompleteTreeLabeling . . . . 6 matches
         [http://online-judge.uva.es/p/v102/10247.html 원문보기]
         === About [CompleteTreeLabeling] ===
         ||Input||standard input||
         모든 잎(leaf)의 깊이가 같고 모든 내부 노드의 차수(degree)가 k인(즉 분기계수(branching factor)가 k인) 트리를 k진 완전 트리(complete k-ary tree)라고 한다. 그런 트리에 대해서는 노드의 개수를 쉽게 결정할 수 있다.
         === Input ===
         === Sample Input ===
         || [조현태] || C || . || [CompleteTreeLabeling/조현태] ||
         || [하기웅] || C++ || 1시간 30분 || [CompleteTreeLabeling/하기웅] ||
  • DataStructure/String . . . . 6 matches
         int nfind(char *strstr,char *ptnptn)
          int str_len=strlen(str); // 문자열의 길이
          int ptn_len=strlen(ptn); // 패턴의 길이
          int str_count=0; // 카운터
          int ptn_count=0;
  • HelpOnActions . . . . 6 matches
          * `info`: 페이지 정보 및 과거 이력
          * `print`: 페이지를 프린트 뷰로 보기. 상단과 하단의 메뉴가 나오지 않고 콘텐츠를 위주로 나옵니다.
          * `subscribe`: 페이지 구독 SubscribePlugin 참조
          * `titleindex`: 페이지 목록을 텍스트로 보내거나 (Self:?action=titleindex) XML로 (Self:?action=titleindex&mimetype=text/xml'''''') 보내기; MeatBall:MetaWiki 를 사용할 목적으로 쓰임.
  • HowToStudyRefactoring . . . . 6 matches
         ["Refactoring"]을 혹은 동명의 책을 공부하는 법
         OOP를 하든 안하든 프로그래밍이란 업을 하는 사람이라면 이 책은 자신의 공력을 서너 단계 레벨업시켜 줄 수 있다. 자질구레한 기술을 익히는 것이 아니고 기감과 내공을 증강하는 것이다. 혹자는 DesignPatterns 이전에 ["Refactoring"]을 봐야 한다고도 한다. 이 말이 어느 정도 일리가 있는 것이, 효과적인 학습은 문제 의식이 선행되어야 하기 때문이다. DesignPatterns는 거시적 차원에서 해결안들을 모아놓은 것이다. ["Refactoring"]을 보고 나쁜 냄새(Bad Smell)를 맡을 수 있는 후각을 발달시켜야 한다. ["Refactoring"]의 목록을 모두 외우는 것은 큰 의미가 없다. 그것보다 냄새나는 코드를 느낄 수 있는 감수성을 키우는 것이 더 중요하다. 본인은 일주일에 한 가지씩 나쁜 냄새를 정해놓고 그 기간 동안에는 자신이 접하는 모든 코드에서 그 냄새만이라도 확실히 맡도록 집중하는 방법을 권한다. 일명 ["일취집중후각법"]. 패턴 개념을 만든 건축가 크리스토퍼 알렉산더나 GoF의 랄프 존슨은 좋은 디자인이란 나쁜 것이 없는 상태라고 한다. 무색 무미 무취의 無爲적 自然 코드가 되는 그날을 위해 오늘도 우리는 리팩토링이라는 有爲를 익힌다. -- 김창준, ''마이크로소프트웨어 2001년 11월호''
          * Minimize Comments : 코드의 가독성을 떨어뜨리지 않거나 혹은 오히려 올리면서 주석을 최소화하도록 노력한다. 이렇게 하면, 자동으로 리팩토링이 이뤄지는 경우가 많다.
          * Pair Refactoring : 함께 리팩토링한다. 혼자 하는 것 보다 훨씬 빨리 훨씬 더 많은 것을 배울 수 있다. 특히, 각자 작성했던 코드를 함께 리팩토링하고, 제삼자의 코드를 또 함께 리팩토링해 보라. 사람이 많다면 다른 페어가 리팩토링한 것과 서로 비교하고 토론해보라.
  • Map연습문제/박능규 . . . . 6 matches
         #include <iostream>
         #include <map>
         using namespace std;
         void main()
          for(int i=0;i<=strlen(m);i++)
          for(int j=0;j<=strlen(g);j++)
  • One/피라미드 . . . . 6 matches
         #include <stdio.h>
         void main()
          int i,j,k;
          printf("숫자를 입력하시오."); scanf("%d",&j);
          printf("*");}
          printf("\n");
  • PairSynchronization . . . . 6 matches
         NoSmok:PairDrawing 이 있긴 한데, 여기서는 개발자들끼리의 대화이므로 다른것을 써도 좋겠네요. PairModeling? --["1002"]
         ["sun"]이 PairProgramming을 하기에 앞서 CrcCard 섹션을 가지게 되었는데, 서로의 아이디어가 충분히 공유되지 않은 상태여서 CrcCard 섹션의 진도가 나가기 어려웠다. 이때 - 물론, CrcCard 섹션과는 별도로 행해져도 관계없다. - 화이트보드와 같은 도구를 이용해서 서로가 생각한 바를 만들어나가면서, 서로의 사상공유가 급속도로 진전됨을 경험하게 되었다.
          1. 순서를 바꿔가며 하나의 개념을 화이트보드에 그리고, 각 개념은 선으로 그어 표시한다. See Also: MindMapConceptMap
          1. PairSynchronization 이후, CrcCard 섹션이나 PairProgramming을 진행하게되면 속도가 빨리지는 듯 하다. (검증필요)
         See Also NoSmok:PairDrawing
  • ProjectPrometheus/Iteration3 . . . . 6 matches
         || 7/22 || 3차 Iteration Planning. 시작 ||
         === 3rd Iteration (7.5 Task Point Loaded. 5.5 Task Point Completed) ===
         || RS Sorting and 출력 || 1 || ○ (46분) ||
         ||||||Story Name : Recommendation System(RS) Implementation, Login ||
         || login 기능 구현 || 1 || ○ ||
  • ProjectPrometheus/UserStory . . . . 6 matches
         ||책 정보를 볼 때, 타 인터넷 사이트에 대한 (amazon, wowbook, yes24 등등) Link 를 제공받아 이용할 수 있다. ||
         3 RS Implementation, Login ~1.5 (0.5) , 0.5
         ||Best Book (Rating, 책 정보 열람에 따른 점수 기준)을 확인할 수 있다. ||
         5 RS (UI), Admin 0.5, 0.5
          * Best Book (Rating, 책 정보 열람에 따른 점수 기준)을 확인할 수 있다.
          * 책 정보를 볼 때, 타 인터넷 사이트에 대한 (amazon, wowbook, yes24 등등) Link 를 제공받아 이용할 수 있다.
  • Score/1002 . . . . 6 matches
         def toInt(aList): return [{'O':1,'X':0}[v] for v in aList]
          for idx in range(1,len(aList)):
         input 에 대해서 여러 방법으로 변형을 시도. 그 중 좋은 아이디어가 떠오름.
         def ox(aList): return sum((len(e)*(len(e)+1))/2 for e in aList.split("X") if e!='')
         for each in ['OOXXOXXOOO','OOXXOOXXOO', 'OXOXOXOXOXOXOX', 'OOOOOOOOOO','OOOOXOOOOXOOOOX']: print ox(each)
  • WikiGardening . . . . 6 matches
         ''실제 위키의 View 구조를 조성하는 사람들이 드물기 때문에, 기존 게시판에서의 스타일과 똑같은 이용형태가 계속 진행되어버렸다는 생각이 든다. (이 경우 RecentChanges 가 Main View 가 된다.) (조만간 위키 전체에 대한 링크 구조 분석이나 해볼까 궁리중. 예상컨데, 현재의 ZeroWiki 는 Mind Map 스타일에 더 가까운 구조이리라 생각. (개념간 연결성이 적을것이란 뜻. 개인적으로는 볼땐, 처음의 의도한 바와 다르긴 하다.) --1002'' (DeleteMe ["1002"]의 글을 다른 페이지에서 옮겨왔습니다.)
          실제 위키의 View 구조를 조성하는 사람을 WikiGardening을 하는 사람이라고 보면 될까요? see NoSmok:WikiGardening --["이덕준"]
          * [http://165.194.17.15/wiki/FindPage?action=titlesearch&context=0&value=%BC%BC%B9%CC%B3%AA Title search for "세미나"]
         SeeAlso [http://no-smok.net/nsmk/_b9_ae_bc_ad_b1_b8_c1_b6_c1_b6_c1_a4#line42 제로위키 가꾸기], [문서구조조정토론]
  • ZeroPagers . . . . 6 matches
          * 이영서 : ["Lupin'sHome"]
          * 이정직 : ["fnwinter"]
          * 류상민 : NeoCoin
          * 이광민 : ["geniumin"]
          * 정진균 : ["comein2"]
          * 정해성 : ["phoenix_insky"]
  • [Lovely]boy^_^/Diary/12Rest . . . . 6 matches
          * I studied a Grammar In Use Chapter 44,45,46
          * I read a Programming Pearls Chapter 6 a little, because I can't understand very well--;. So I read Chapter 7,8,9,10 roughly. In my opinion, there is no very serious contents.
          * I can treat D3D, DInput, but It's so crude yet.
          * The DInput's message priority is maybe so high... It's very very fast.--; I can't control it.
          * I modify above sentence.--; I test GetAsyncKeyState(), but it's speed is same with DInput.--; How do I do~~~?
          * I made a SnakeBite with Direct3D and DirectInput. I'll add sound with DirectSound, and I'll test DirectX's almost all contents.
          * I saw a very good sentence in 'The Fighting'. It's "Although you try very hard, It's no gurantee that you'll be success. But All succecssfull man have tried."
          * I feel that I am getting laziness.--;
  • aekae/* . . . . 6 matches
         #include <iostream>
         using namespace std;
         int main()
          int i;
          int a,b,c,d;
  • 고한종/on-off를조절할수있는코드 . . . . 6 matches
         #include<stdio.h>
         int main()
          int onOff;
          //put your code in here.
          printf("재실행 하시겠습니까? (y/n)\n\n");
  • 데블스캠프2006/월요일/연습문제/if-else/윤성준 . . . . 6 matches
         #include <iostream>
         using namespace std;
         int main (void)
          int i, n;
          cin >> i;
  • 데블스캠프2006/월요일/연습문제/기타문제/임다찬 . . . . 6 matches
         #include <iostream>
         using namespace std;
         int main(){
          int i;
          if(i==5) continue;
  • 데블스캠프2006/월요일/연습문제/기타문제/주소영 . . . . 6 matches
         #include <iostream>
         using namespace std;
         int main()
          int i;
          continue;
  • 데블스캠프2006/화요일/pointer/문제4/이장길 . . . . 6 matches
         #include <iostream>
         using namespace std;
         void main()
          int i;
          cin >> buf;
          int length = strlen(buf);
  • 레밍즈프로젝트/프로토타입/에니메이션 . . . . 6 matches
         AddFrame(UINT ITEM)으로 프레임을 추가시키고 외부에서 적절한 타이머를 통해서 움직임을 조절한다.(NextFrame())
          vector<UINT> m_frameList;
          int m_nowFrame;
          void init(){
          init();
          if(m_nowFrame < int(m_frameList.size())-1)
          int getFrameSize(){
          return int(m_frameList.size());
          void addFrame(UINT ITEM){
  • 블로그2007 . . . . 6 matches
          * 구글에서 이클립스 찾아서 설치하긴 했는데 코딩하고 Run 돌리니까[[BR]]interpretor 를 정하고 하라고 나오네요. 여기서 어케 해야 하나요?... -송지훈 '''[답변 및 의견 2]'''
          * PHPEclipse ~ Zend팀이 Swing의 방향으로 Zend Studio를 내놨을때 Java 개발툴 시장을 뒤엎은 Eclipse를 위해 PHP공식 팀이 아니라 다른 개발팀이 만든 환경입니다.
         미래에는 PDT로 수렴되겠지만 아직은 정식 버전에 잘 결합이 되지 않을 만큼 불안합니다. 따라서 PHPEclipse를 추천하는데 Web개발을 위해서는 이뿐만이 아니라, HTML Coloring 지원 도구등 여러 도구들이 필요합니다. 귀찮은 작업입니다. Calisto가 나오기 전부터 Eclipse 도구를 분야별로 사용하기 쉽게 패키징 프로젝트가 등장했는데 [http://www.easyeclipse.org/ Easy Eclipse]가 가장 대표적인 곳입니다. 아직도 잘 유지보수되고 있고, Calisto가 수렴하지 못하는 Script 개발 환경 같은 것도 잘 패키징 되어 있습니다. [http://www.easyeclipse.org/site/distributions/index.html Easy Eclipse Distribution]에서 PHP개발 환경을 다운 받아서 쓰세요. more를 눌러서 무엇들이 같이 패키징 되었나 보세요.
         --NeoCoin
         --NeoCoin
  • 정모/2011.7.18 . . . . 6 matches
          * [Spring/탐험스터디]
          * [EnglishSpeaking/2011년스터디]
          * Free talking과 Theme talking으로 나누어 진행.
          * Joseph Yoder와의 만남에서 배운 것. Naming은 상당히 중요합니다. Naming이 적절하면 자세한 구현을 보지 않아도 됩니다. - [김수경]
  • 캠이랑놀자 . . . . 6 matches
         || 9 || 05.12.29 || [캠이랑놀자/051229] 1시 || Color Image Filtering, Mosaic || (v) ||
         || 13 || 06.1.13 || [캠이랑놀자/060113] 1시 || How to solve it using Image Processing (?) || . ||
         || 16 || . || . || Dancing Block 구현시도 1차 || . ||
         || 17 || . || . || Dancing Block 구현시도 1차 || . ||
          * C++ & Python - 현재 라이브러리들 관계상 C++ 로 구현된 것들이 많은 관계로. 중간에 [1002] 가 Python Wrapper Class 만들기를 시도할 것이긴 함.~ Python 의 경우 이미지 처리에 대해서 prototyping 을 위해 중간에 이용할 예정.
  • 피보나치/정수민,남도연 . . . . 6 matches
         #include <stdio.h>
         int i=1, j=0, n=1, k=0, m;
          printf("%d번때 숫자는 %d 입니다.",m ,k);
         int main()
          printf("몇번째 숫자를 출력하고 싶습니까?\n-> ");
  • 화성남자금성여자 . . . . 6 matches
         void matrix33_inverse (mat33_t mr, mat33_t ma);
         int matrix44_inverse (mat44_t mr, mat44_t ma);
         int matrix44_inverse2 (mat44_t mr, mat44_t ma);
         vec_t vectorNormalize (vec3_t in, vec3_t out);
  • 05학번만의C Study/숙제제출1/이형노 . . . . 5 matches
         #include<iostream>
         using namespace std;
         int main()
          cin >> cel;
  • C++Seminar03 . . . . 5 matches
         [C++Seminar03/SampleProblems]
          1. 사회자 한명과 2인 1PC 또는 3인 1PC 로 PC 1대당 한조가 되어 PairProgramming 식으로 진행. 사회자는 간단한 개념을 설명하고 개념에 대한 실습(?) 또는 적용된 코드작성을 Pair 해본다. (이런식으로 진행할경우 장소에 문제가 될 수도 있을것 같네요. 실습실 하나를 제로페이지가 점령할수도 없는 일이고..-_- 강의실에서 간단한 설명 -> PC 실로 이동.. 정도가 대안이 될까요? ) --["임인택"]
          * ZeroPage 홍보를 위한 수단중의 하나로 C++ Seminar 가 개최되었으면 합니다. 현재 회장님께서 생각하시는 바가 DevilsCamp 이전까지는 준회원체제로 운영되다가 DevilsCamp 이후로 정회원을 뽑는 방식이 좋다는 쪽인것 같은데 일단 입학실날의 강의실홍보 이후로 C++ Seminar 를 여는게 새내기들의 관심을 모으는데 좋을 것 같습니다. --["임인택"]
         See Also [C++Seminar03/SimpleCurriculum], ["02_C++세미나"]
  • CProgramming . . . . 5 matches
         [http://cplus.about.com/od/beginnerctutoria1/l/blctut.htm Tutorial for Beginner]
         [http://myhome.hanafos.com/~kukdas/index.html C가 있는 홈페이지]
         [http://winapi.co.kr/clec/cpp1/cpp1.htm winapi.co.kr의 C기초강좌]는 매우 자세하며 양이 많다.
  • CompilerTheory/ManBoyTest . . . . 5 matches
          begin real procedure A(k, x1, x2, x3, x4, x5);
          value k; integer k;
          begin real procedure B;
          begin k := k - 1;
         Donald Knuth 가 Algol 60의 구현 정도를 판변하기위해서 만든 프로그램. 테스트의 목적은 올바르게 구현된 scoping rule, call-by-name의 구현 정도를 판별해서 boys(algol 60 구현물)들중에서 men (쓸만한 놈)을 가려내는 용도로 고안되었습니다.
  • CxImage 사용 . . . . 5 matches
         == include ==
         3. StdAfx.h 에 #include "ximage.h" 선언
         5. Additional 에 ./include
         6. link-> object/library modules 에 Debug/CxImages.lib
          m_pImage->Load(lpszPathName, CxImage::FindType(lpszPathName));
         App Class 에서 InitInstance() 의 아래부분 주석 처리
         //if (!ProcessShellCommand(cmdInfo))
  • ExtremeProgrammingExplained . . . . 5 matches
         ExtremeProgramming 의 철학을 소개한 서적. 저자 KentBeck. TheThreeExtremos 중 한명. 얼마전에 2판이 나왔다.
         [책분류] [ExtremeProgramming] [ExtremeProgrammingInstalled] [ExtremeProgrammingExplained2/E]
  • HelpOnInstallation/MultipleUser . . . . 5 matches
         각 사용자는 따로 설치할 필요 없이 관리자가 설치해놓은 모니위키를 단지 make install로 비교적 간단히 설치할 수 있습니다.
         # make install DESTDIR=/usr/local
         === moni-install 실행하기 ===
         $ /usr/local/moniwiki/bin/moni-install
  • Java/JDBC . . . . 5 matches
          public static void main(String[] args) throws SQLException, ClassNotFoundException {
          String url = "jdbc:oracle:thin:@localhost:1521:NSH2";
         예전에 resin 에서 tomcat으로 바꾸면서 jdbc 설정하는거 몰라서 대박이었는데... -_-; - eternalbleu
  • Java2MicroEdition . . . . 5 matches
          * Profile : Mobile Information Device Profile (MIDP)
          그림을 보면 맨 아래에 MID, 즉 휴대전화의 하드웨어 부분이 있고 그 위에는 Native System Software가 존재하며 그 상위에 CLDC가, 그리고 MIDP에 대한 부분이 나오는데 이 부분을 살펴보면, MIDP Application과 OEM-Specific Classes로 나뉘어 있는 것을 알 수 있다. 여기서의 OEM-Specific Classes라는 것은 말 그대로 OEM(Original Equipment Manufacturing) 주문자의 상표로 상품을 제공하는 것이다. 즉, 다른 휴대전화에서는 사용할 수 없고, 자신의(같은 통신 회사의) 휴대전화에서만 독립적으로 수행될 수 있도록 제작된 Java또는 Native로 작성된 API이다. 이는 자신의(같은 통신 회사의) 휴대전화의 특성을 잘 나타내거나 또는 MIDP에서 제공하지 않는 특성화된 클래스 들로 이루어져 있다. 지금까지 나와있는 많은 MIDP API들에도 이런 예는 많이 보이고 있으며, 우리나라의 SK Telecom에서 제공하는 SK-VM에도 이런 SPEC을 가지고 휴대전화의 특성에 맞는 기능, 예를 들어 진동 기능이나, SMS를 컨트롤하는 기능 들을 구현하고 있다. 그림에서 보듯이 CLDC는 MIDP와 OEM-Specific Classes의 기본이 되고 있다.
          * [http://zeropage.org/~dduk/development/j2me/midp-2_0-src-windows-i686.zip midp 2.0 (win용)]
          * [http://eclipseme.sourceforge.net/ eclipse j2me plugin]
  • JavaStudy2003/두번째과제/노수민 . . . . 5 matches
          public int process(int number) {
          public void main() {
          System.out.println(process(7));
         === 상속과 인스턴스 메소드의 재정의(Overriding) ===
  • Map/박능규 . . . . 5 matches
         #include <iostream>
         #include <map>
         using namespace std;
         void main()
          for(int i=0;i<=strlen(m);i++)
  • MoniWikiProcessor . . . . 5 matches
         MoinMoin 1.1 이하에서는 Processor와 Parser로 분리되어있었고, 1.3 이후에는 Processor Parser가 Parser로 통합되었다.
         MoinMoin Processor및 Parser의 기능을 하며, {{{plugin/processor/}}}하위에 추가할 수 있습니다.
  • ProgrammingContest . . . . 5 matches
         == Internet Problem Solving Contest ==
          ''Registeration 에서 Team Identifier String 받은거 입력하고 고치면 됨. --석천''
         수준이 궁금하신 분들은 K-In-A-Row를 풀어보세요. http://ipsc.ksp.sk/problems/prac2002/sampl_r.php
         만약 자신이 K-In-A-Row를 한 시간 이상 걸려도 풀지 못했다면 왜 그랬을까 이유를 생각해 보고, 무엇을 바꾸어(보통 완전히 뒤집는 NoSmok:역발상 으로, 전혀 반대의 "極"을 시도) 다시 해보면 개선이 될지 생각해 보고, 다시 한번 "전혀 새로운 접근법"으로 풀어보세요. (see also DoItAgainToLearn) 여기서 새로운 접근법이란 단순히 "다른 알고리즘"을 의미하진 않습니다. 그냥 내키는 대로 프로그래밍을 했다면, 종이에 의사코드(pseudo-code)를 쓴 후에 프로그래밍을 해보고, 수작업 테스팅을 했다면 자동 테스팅을 해보고, TDD를 했다면 TDD 없이 해보시고(만약 하지 않았다면 TDD를 하면서 해보시고), 할 일을 계획하지 않았다면 할 일을 미리 써놓고 하나씩 빨간줄로 지워나가면서 프로그래밍 해보세요. 무엇을 배웠습니까? 당신이 이 작업을 30분 이내에 끝내려면 어떤 방법들을 취하고, 또 버려야 할까요?
         만약 팀을 짠다면 두사람은 PairProgramming으로 코딩을 하고(이 때 Interactive Shell이 지원되는 인터프리터식 언어라면 엄청난 플러스가 될 것임), 나머지 하나는 다른 문제를 읽고 이해하고, (가능하면 단순한) 알고리즘을 생각하고 SpikeSolution을 종이 위에서 실험한 뒤에 현재 커플이 완료를 하면 그 중 한 명과 Pair Switch를 하고 기존에 코딩을 하던 친구 중 하나는 혼자 다른 문제를 읽고 실험을 하는 역할을 맡으면 효율적일 겁니다. 즉, 두 명의 코더와 한 명의 실험자로 이루어지되 지속적으로 짝 바꾸기를 하는 것이죠.
         또, Easy Input Set은 직접 수작업으로 풀고 그걸 일종의 테스트 데이타로 이용해서, Difficult Input Set을 풀 프로그램을 TDD로 작성해 나가면 역시 유리할 것입니다. 이렇게 하면 Time Penalty는 거의 받을 일이 없겠죠.
         http://ace.delos.com/usacogate 에서 트레이닝 받을 수 있지요. 중,고등학생 대상이라 그리 어렵지 않을겁니다. ["이덕준"]은 ProgrammingContest 준비 첫걸음으로 이 트레이닝을 추천합니다.
  • Refactoring/RefactoringTools . . . . 5 matches
         = Chapter 14 Refactoring Tools =
         == Refactoring with a Tool ==
         == Technical Criteria for a Refactoring Tool ==
         == Practical Criteria for a Refactoring Tool ==
         === Integrated with Tools ===
         ["Refactoring"]
  • Seminar . . . . 5 matches
         || [Debugging/Seminar_2005] || 디버깅 세미나 || 남상협 || 1~2학년 || 2005. 5. 16 ||
         || [DebuggingSeminar_2005] || 디버깅 세미나 || 이정직 || 2~3학년 || 2005. 8. 10 ||
         [ZeroPageSeminar]
  • Simple_Jsp_Ex . . . . 5 matches
          int result = 0;
          for(int i=1; i<=9; i++) {
          for(int j=1; j<=9; j++) {
         String str = "Hello Word!";
          for(int i=0; i<10; i++) {
  • SubVersion/BerkeleyDBToFSFS . . . . 5 matches
         #!/bin/sh
         svnadmin create --fs-type=fsfs $nRepos
         svnadmin dump $cRepos | svnadmin load $nRepos
         chown www-data.svnadmin $cRepos -R
  • TestDrivenDevelopmentBetweenTeams . . . . 5 matches
         관련 문서 : http://groups.yahoo.com/group/testdrivendevelopment/files 에 Inter-team TDD.pdf
         일단 각 팀들끼리 TDD 를 하면서 팀들간의 대화를 통해서 일종의 공통 interface 를 빼낼 수 있다. 일단은 일종의 MockObject 로 가짜값을 채워서 테스트를 통과시킨뒤, 실제 Object 가 구현되면, 천천히 하나씩 실제 Object 의 interface 를 끼워가면서 테스트를 통과하는지를 확인한다. 그리고 최종적으로 실제 Object 로 MockObject 를 대체시킨다.
         Java 의 경우 inteface 키워드나 abstact class 를 이용하여 interface 를 정의할 수 있다. 팀의 구성원끼리 Pair를 교체한 뒤 interface를 정의하면 더욱 효과적이겠다.
  • TourMacro . . . . 5 matches
         #keywords linux,GNU
         MoinMoin MoniWiki HelpContents
         [[Tour(arena=backlinks,HelpContents)]]
         [[Tour(arena=keylinks,GPL)]]
  • XpWeek/20041220 . . . . 5 matches
          먼저 설치 : [http://zeropage.org/pub/language/java/j2re-1_4_2_01-windows-i586.exe Java 1.4.2]
          위에 것 설치 후 : [http://zeropage.org/~neocoin/eclipse3.0/eclipse-SDK-3.0-win32.zip Eclipse]
          * [http://javastudy.co.kr/api/api1.4/index.html JDK API(Korean)] [http://zeropage.org/pub/j2sdk-1.4.1-doc/docs/index.html JDK Full Document]
  • XsltVersion . . . . 5 matches
         <?xml version="1.0" encoding="ISO-8859-1"?>
          <xsl:output method="html" omit-xml-declaration="yes" indent="no"/>
          This Wiki is running an XSLT engine by
          implementing XSLT v<xsl:value-of select="system-property('xsl:version')"/>
  • Yggdrasil/가속된씨플플/4장 . . . . 5 matches
         sort(students.begin(), students.end(), compare);
         bool compare(const Student_info& x, const Student_info& y)
          compare 함수 포인터를 넘겨주면 students vector(또는 list)내에서 값을 꺼낸다. Student_info 형이 나오겠지 그 것들을 compare 함수에 넘겨주는 거다. --[인수]
         == String 클래스 ==
  • mantis . . . . 5 matches
          * /core/user_api.php 에서 416line 을 아래와 같이 바꿔서 이메일 인증이 아니라 임시 암호를 부여하고, 사용자가 바꾸게끔 한다.
          * administrator , 암호는 root 로 로그인 후에 계정관리에서 preference 부분에 가서 제일 하단 부에 있는 언어 선택을 한글로 해야 한글로 메뉴를 보고 한글을 사용할 수 있습니다.
         ./mantis-1.0.2/core/adodb/drivers/adodb-mysql.inc.php
          * 에러 메시지 제거는? 에디트 플러스 Find in file 에서 htmlspecialchars 이 것을 다 찾아서 @htmlspecialchars 이것으로 바꿔 주면 됩니다.
  • woodpage/VisualC++HotKeyTip . . . . 5 matches
          *컴파일시 error나 경고에 warning에 대하여 한줄씩 이동함 또 전체 문서에서 찾기(Alt + E + I) 에서 찾은결과에 대하여도 F4로 이동
          *역시 이동하는 기술로 BrowseGoToDefinition 이라고 함 마우스 오른쪽 팝업메뉴에도 나옴 사용법은 예를 들어 fSelect()라는 함수를 사용했을때 그함수내용을 보고싶으면 fSelect에다가 커서를 놓고 F12를 누름 (변수,define도 됨) 그럼 fSelect()가 구현된(?)곳으로 이동함 사용하면 아주 유용함 단점은 *.ncb 파일이 조금 커짐 별문제 아님 사실 마우스 오른쪽 팝업에서 쓰는걸 더 많이 씀
          *Find in File 로 현재 페이지가 아닌 전체 파일에서 찾아줌 소스분석할때 필수
  • 강희경/도서관 . . . . 5 matches
          * Pleasure Of Finding Things Out (리처드 파인만)
         || 4 || NoSmoke:TheArtOfComputerProgramming || 카누스 || [강희경] || [TAOCP] ||
         || 1 || NoSmoke:TheArtOfComputerProgramming || 카누스 || [강희경] || [TAOCP] ||
  • 구구단/김범준 . . . . 5 matches
         if __name__ == '__main__':
          for i in range(2, 10):
          for j in range(2, 10):
          print i,'*',j,'=',i*j,
          print ''
  • 권영기 . . . . 5 matches
          * [정모/2013.2.26] - OMS : 재미있는 문제 (Indexed Binary Tree)
          * [MachineLearning 스터디]
          * [정모/2014.1.13] - OMS : Robot Path Planning
          * [정모/2014.11.19] - OMS : Bit Masking
  • 데블스캠프2006/화요일/pointer/문제2/윤성준 . . . . 5 matches
         #include <iostream>
         using namespace std;
         void main()
          int n;
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프2006/화요일/pointer/문제2/정승희 . . . . 5 matches
         #include<iostream>
         using namespace std;
         void main()
          for(int i=4;i>=0;i--)//맨앞에 a[6]=0이라서 안됨
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프2006/화요일/pointer/문제2/주소영 . . . . 5 matches
         #include<iostream>
         using namespace std;
         int main()
          int i;
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/서민관 . . . . 5 matches
          int value = int.Parse(label4.Text);
          label4.Text = value.ToString();
          String text = label3.Text;
          text = text.Substring(0, text.Length - 1);
  • 레밍딜레마 . . . . 5 matches
         || http://www.aladdin.co.kr/Cover/8955610017_1.gif [[BR]] ISBN 8955610017||
          * Title : 레밍 딜레마 ( The Lemming Dilemma )
          * Point : B) B) B) B)
         시리즈 물인데, 같은 시리즈의 하나인 혜영이가 남긴 감상 [http://zeropage.org/jsp/board/thin/?table=multimedia&service=view&command=list&page=0&id=145&search=&keyword=&order=num 네안데르탈인의 그림자] 와 같은 짧고 뜻 깊은 이야기이다. 왜 이 책을 통해서 질문법을 통한 실용적이며, 진짜 실행하는, 이루어지는 비전 창출의 중요성을 다시 한번 생각하게 되었다. ["소크라테스 카페"] 에서 저자가 계속 주장하는 질문법의 힘을 새삼 느낄수 있었다.
         --NeoCoin 2002.1.6
  • 반복문자열/김정현 . . . . 5 matches
          public static void main(String args[])
          int a=5;
          for(int i=0;i<a;i++)
          System.out.println("KJH LOVE");
  • 반복문자열/남도연 . . . . 5 matches
         #include <iostream.h>
         void input(){
         void main(){
          int i;
          input();
  • 새싹교실/2011/Pixar . . . . 5 matches
          * Programming in eXperience and Research
          * FiveFs : Facts(사실), Feelings(느낌), Findings(알게된 점), Future Action Plan(앞으로의 계획), Feedback(피드백)
  • . . . . 5 matches
          * [새싹C스터디2005/pointer]
          ||[장이슬]||sting825 골뱅이 msn 닷 com|| ||
         == Info ==
         [Linked List/숙제]
         main(){
         http://prof.cau.ac.kr/~sw_kim/include.htm
  • 숙제1/최경현 . . . . 5 matches
         #include <iostream>
         using namespace std;
         int main()
          cin >> celsius;
  • 위키로프로젝트하기 . . . . 5 matches
          * How - 목표를 위한 방법과 일정의 기록이다. Offline 또는 Online 상에서 한 일에 대한 ["ThreeFs"] 를 남겨라.
          * 공동 번역 - 영어 원문을 링크를 걸거나 전문을 실은뒤 같이 번역을 해 나가는 방법이다. Offline 으로만으로도 가능한 방법이지만 효율적인 방법으로 다른 방법들을 곁들일 수 있겠다.
         일반게시판에 경우 프로젝트가 어떻게 진행될까? 하나의 프로젝트당 하나의 게시판이 열려있어야 한다. 프로젝트가 10개라고 한다면 게시판이 10개가 열려있어야 하고, 각각의 글들은 시간순서대로 저장이 된다. 위키에서의 page 10개의 의미와 게시판 10개의 의미중 어떤 것이 더 cost가 적게 들까? 그리고, 시간순서의 글 index 나열방식과 텍스트 내의 하이퍼링크중심 글 나열방식중 어느것이 더 의미있는 정보를 담을까?
          * 온라인이라는 잇점이 있다. 시간과 공간의 제약을 덜 받는다. 하지만, 오프라인을 배제해서는 안된다. 각각의 대화수단들은 장단점들이 존재한다. 위키의 프로젝트는 가급적 Offline에서의 프로젝트, 스터디와 이어져야 그 효과가 클 것이다. ZeroPage 의 ["정모"] 때 자신이 하고 있는 일에 대한 상황을 발표하고, 서로 의사소통을 할 수 있겠다.
  • 이영호/64bit컴퓨터와그에따른공부방향 . . . . 5 matches
         C, C++, Assembly, Linux Kernel, Network, Compilers
         내가 걸어야할 길은 지금과 같은 Network, Linux Kernel이 아니라
         (C를 사용할 시 Inline Assmbly만을 허용한다.)
          * Global Optimization 관점에서, 어느 부분은 생산성을 살리고 어느 부분은 퍼포먼스를 추구할까? 퍼포먼스를 추구하는 모듈에 대해서는, 어떻게 하면 추후 퍼포먼스 튜닝시 외부 모듈로의 영향력을 최소화할까? (InformationHiding)
         참고로 저는 82년부터 기계어(Machine Code)로 프로그래밍을 해본 사람입니다. 그렇지만 그 경험이 제가 현재 컨설턴트로, 프로그래머로 살아가는데 결정적 도움이 되었다는 생각은 들지 않습니다.
  • 이영호/시스템프로그래밍과어셈블리어 . . . . 5 matches
         API Hooking을 통해 Application 이하의 차원에서 프로그램을 자유 자재로 다룰 수 있다는 것을 배웠다.
         몇몇 게임(카트라이더, 워록, 대항해시대 등등)의 프로그래머들이 Application 층만을 다룰줄 아는 무식한 프로그래머라는 것을 알았다. (특히, 워록의 프로그래머는 프로그래머라기 보다 코더에 가깝고 배운 것만 쓸 줄 아는 무식한 바보이다. 그 프로그래머는 개발자로서의 수명이 매우 짧을 것이다. 3년도 못가 짤리거나 혹은 워록이라는 게임이 사라질걸?) - (이 게임들은 코드를 숨기지 못하게 하는 방법도 모르는 모양이다. 이런식으로 게임들을 건들여 패치를 만들 수 있다. KartRider는 요즘에와서 debug를 불가능하게 해두고 실행 파일을 packing 한 모양이다. 뭐 그래도 많은 코드들을 따라가지 않고 ntdll.ZwTerminateProcess에 BreakPoint를 걸어 앞 함수를 건들이면 그만이지만.)
         System Programming을 통해 Application층 프로그래밍의 본질을 깨닫기 시작했으며, 가장 중요한 것이 Assembly란 것을 다시 한번 깨달았다.
  • 정모/2013.5.20 . . . . 5 matches
         [http://www.worlditshow.co.kr/main/main.php 홈페이지]
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * TIP : Internet Explorer를 제외한 브라우저(FireFox라던가 Chrome이라던가)로 들어오면 각 항목 우측에 "편집"이라고 떠요. 좀 더 편하게 수정 할 수 있죠.
  • 지금그때2003/계획 . . . . 5 matches
          * Section I - Opening,
          8:14~8:30 OST 와 Seminar:SimpleRule 소개 오신 선배 소개
          * Section I - Opening,
          * Section II - Seminar:OpenSpaceTechnology
          8:00~8:15 OST 와 Seminar:SimpleRule 소개
  • 창섭 . . . . 5 matches
         ["linux필수명령어"][[BR]]
         [http://165.194.17.15/pds/200232993449/SSHWinClient-3.1.0-build235.exe ssh 접속프로그램][[BR]]
         ["ItMagazine"][[BR]]
         [http://my.dreamwiz.com/bicter/index.htm PC 상식과 팁]
         [http://www.realvnc.com/cgi-bin/3.3.6-vncform.cgi -.-]
  • 최소정수의합/김유정 . . . . 5 matches
         #include <stdio.h>
         main()
          int sum;
          int n;
          printf("n=%d,sum=%d\n",n,sum);
  • 프로그래머가알아야할97가지/ActWithPrudence . . . . 5 matches
         이터레이션 초반에 스케줄이 아무리 여유로워 보인다고 해도, 시간 압박을 다소 받는 건 어쩔 수 없다. “제대로 하기”와 “빨리 하기” 중 선택해야 할 경우, 나중에 다시 돌아와서 고칠 수 있다는 전제하에 “빨리 하기”를 선택하고 싶어지기도 한다. 스스로에게나 팀에게 또는 고객에게 이런 약속을 할 때에는 정말로 나중에 고치겠다는 뜻이다. 그러나 십중팔구 다음 이터레이션에서 새로운 문제가 나타나서 거기에 집중하게 되곤 한다. 이렇게 연기된 작업은 기술적 부채(Technical Debt)라고 알려져 있으며 이런 일에 익숙해져서는 안 된다. 특별히, 마틴 파울러(Martin Fowler)는 그의 기술적 부채 분류 체계에서 이를 의도하지 않은 기술적 부채와 헷갈려서는 안 되는 계획적인 기술적 부채라고 부른다.
         --[http://programmer.97things.oreilly.com/wiki/index.php/Seb_Rose Seb Rose] 원저
         원문: http://programmer.97things.oreilly.com/wiki/index.php/Act_with_Prudence
  • 05학번만의C++Study/숙제제출1/조현태 . . . . 4 matches
         #include<iostream>
         void main(){
          std::cin >> celsius;
         책 읽어보고, using namespace std; 쓰는이유, 뭐 이런것을 익히고 자신만의 C++스타일도 찾을겸.
  • ALittleAiSeminar/Namsang . . . . 4 matches
          def __init__(self, aStone, aBoard):
          Player.__init__(self, aStone, aBoard)
          for i in range(len(posList)):
         [ALittleAiSeminar]
  • AM/AboutMFC . . . . 4 matches
         --NeoCoin
         F12로 따라가는 것은 한계가 있습니다.(제가 F12 기능 자체를 몰랐기도 하지만, F12는 단순 검색에 의존하는 면이 강해서 검색 불가거나 Template을 도배한 7.0이후 부터 복수로 결과가 튀어 나올때가 많죠. ) 그래서 MFC프로그래밍을 할때 하나의 새로운 프로젝트를 열어 놓고 라이브러리 서치용으로 사용합니다. Include와 Library 디렉토리의 모든 MFC관련 자료를 통째로 복사해 소스와 헤더를 정리해 프로젝트에 넣어 버립니다. 그렇게 해놓으면 class 창에서 찾아가기 용이하게 바뀝니다. 모든 파일 전체 검색 역시 쉽게 할수 있습니다.
         --NeoCoin
         그런데요. C# 관련해서 프로그래밍 프로젝트는 없어요? Windows플랫폼이라면, 일반 어플리케이션은 C# 뿐만아니라, Embeded 까지 .NET 계열이 맡게 될텐데 말이죠 :) --NeoCoin
  • APlusProject/PMPL . . . . 4 matches
         Upload:APP_RequirementDefinition_0428-0524.zip
         Upload:APP_RequirementDefinition_0526.zip - 정의서 최종문서 -- QA(윤주)에게 검토됨
         Upload:APP_TracingChart.zip - 수정해주세요~ 액셀파일입니다
         Upload:APP_TracingChart_0619.zip - 한글파일로 수정했고, 세로로 안되서 가로로 했다. 버전은 0.2
  • AdventuresInMoving:PartIV . . . . 4 matches
         [http://online-judge.uva.es/p/v102/10201.html 원문보기]
         === About [AdventuresInMoving:PartIV] ===
         === Input ===
         === Sample Input ===
         || 문보창 || C++ || 2일 || [AdventuresInMoving:PartIV/문보창] ||
         || 김상섭 || C++ || 2주일 || [AdventuresInMoving:PartIV/김상섭] ||
  • Boost . . . . 4 matches
          * [http://boost.org/status/cs-win32.html 컴파일러 테스트] 페이지를 보면 알 수 있듯이 가장 많은 테스트를 통과하는 것은 gcc. VC++ 6 은 테스트도 안한다.
          * ["Boost/SmartPointer"] : Boost 에서 제공되는 스마트 포인터 사용 방법
         전에 ["JuNe"] 형이 말씀하시던게 이거였구나. --["neocoin"]
          정헌이 이거가지고 프로그램 짰잖아. --["neocoin"]
  • BusSimulation/영창 . . . . 4 matches
         = Info =
         [[NewWindow("http://zeropage.org/cvs/bus_simulation/?root=sapius&rev=7", "최초 동작 버전")]]
         [[NewWindow("http://zeropage.org/cvs/bus_simulation/?root=sapius&rev=8", "station, bus 객체의 people의 승탑 메소드 구현")]]
         [[NewWindow("http://zeropage.org/cvs/bus_simulation/?root=sapius", "탑승하차상황 가정 버전")]]
          왜 OOP적 접근법이 필요한지 약간 감이 잡힌다고 해야할까? 이런 현실의 내용을 simulation 하기에는 structured programming의 접근법으로는 참 다루기가 힘든점들이 많을 것 같다. - [eternalbleu]
  • DebuggingApplication . . . . 4 matches
         == CRT Debugging 관련 페이지 ==
         [http://msdn.microsoft.com/library/en-us/vsdebug/html/_core_using_c_run2dtime_library_debugging_support.asp?frame=true]
         [http://www.sysinternals.com/]
  • DebuggingSeminar_2005/UndName . . . . 4 matches
         DLL 파일에 의해서 분석된 내용을 보면 DLL 에 함수의 이름이 이상하게(?) 변형되어 있는것을 확인하실 수 있는데(DUMPBIN.EXE 를 통해서 가능합니다.) 이 이름의 원형을 알고 싶을때가 있습니다. 그럴때 undname.exe 라는 파일을 사용하시면 아주 쉽게 확인해 보실 수 있습니다.
         Microsoft(R) Windows (R) 2000 Operating System
         [DebuggingSeminar_2005]
  • HelpOnUserPreferences . . . . 4 matches
          * '''[[GetText(Name)]]''': 사용자의 실제 이름 혹은 별명. WikiName 형식으로 만들면 편리합니다.
          * '''[[GetText(Quick links)]]''': 최상단에 있는 메뉴에 자신이 원하는 링크를 추가하거나 원하는 위키페이지에 대한 링크를 넣을 수 있습니다. QuickLinks 페이지를 참조해주세요.
          * '''[[GetText(Subscribed wiki pages (one regex per line))]]''': 모든 페이지의 변경알림을 받아보고 싶은 경우에 '''`.*`''' 를 집어넣으시면 됩니다. (위키위키가 많은 변경이 있는 경우 권장하지 않습니다.) 각 페이지를 보고싶은 경우에는 각각의 페이지 이름을 줄 단위로 넣으시면 됩니다. 정규식에 익숙하신 사용자의 경우에 정규식을 사용하실 수도 있습니다. 설정에 따라서 상단의 아이콘 툴바에 [[Icon(email)]]이 나타날 수 있으며, 이메일 아이콘을 누르면 해당 페이지를 구독하는 폼이 뜨게 됩니다.
         /!\ 이메일 구독은 `config.php`에서 설정을 해야 합니다. 자세한 내용은 SubscribePlugin을 참조하세요.
  • Ieee754Standard . . . . 4 matches
          * [http://docs.sun.com/htmlcoll/coll.648.2/iso-8859-1/NUMCOMPGD/ncg_goldberg.html What Every Computer Scientist Should Know About Floating-Point Arithmetic] (''강추'')
          * [http://www.cs.berkeley.edu/~wkahan/JAVAhurt.pdf How JAVA's Floating-Point Hurts Everyone Everywhere]
  • JAVAStudy_2002/진행상황 . . . . 4 matches
         swing 약간과 기타 Java 관련 기초 지식 습득. [[BR]]
          * 2월 4일 : Core Java 책 Event Handling 부분 다보고 나서 이제 Swing 부분 보기 시작 했습니다.
         현재 Java swing API중 버튼이나.. 텍스트 박스에 대한 것을 익혔습니다.(Application쪽..)[[BR]]
  • MIB . . . . 4 matches
         = Man in Black =
         http://www.meninblack.com
          * 요즘 ["상민"]이는 "MIB들이 처리해 줄꺼야" 라는 말을 많이 쓴다. dcinside에서 "MIB들이 처리 했습니다." 라는 소리 한마디 듣고 전염이 되어 버렸다. 여기에서 MIB라면 일전에 창준 선배가 말씀하신 그린베레 프로그래머(Green Beret Programmer(Wiki:GreenBeretCoding) 정도의 의미가 될 것이다. 후에 MIB Programmer가 더 적당한 말이 될수 있겠다고 생각하곤 한다.
  • OperatingSystemClass/Exam2006_2 . . . . 4 matches
         6. Paging System에서 여러 가지 주소 맵핑 방법이 있는데 각각을 설명하시오.
         7. Threshing 이 일어나는 원인과 시스템이 Threshing을 어떻게 발견하고 처리하는지 쓰시오.
         [OperatingSystemClass]
  • PlatformSDK . . . . 4 matches
         기타 최신버전은 [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sdkintro/sdkintro/devdoc_platform_software_development_kit_start_page.asp MSDN platform SDK 소개 페이지] 에서 다운로드 하는 것이 가능하다.
         [WindowsProgramming]
  • PrimaryArithmetic . . . . 4 matches
         [http://online-judge.uva.es/p/v100/10035.html 원문보기]
         === Input ===
         === Sample Input ===
          || Seminar:지원 || Python || 30분 || Seminar:PrimaryArithmetic/지원 ||
          || JuNe || Python || 10분 || Seminar:PrimaryArithmetic/JuNe ||
  • ProgrammingPearls/Column6 . . . . 4 matches
         == Perspective on Programming ==
          * 알고리즘과 자료구조의 교체 : Sequential 한것을 Binary Tree로 교체함으로써 O(n*n)이 O(n*lg n)으로 줄었다.
         === Principles ===
         ["ProgrammingPearls"]
  • ProjectSemiPhotoshop . . . . 4 matches
         2002년 2학기 Object Programming 과목 ''' 상민,경태,현민 ''' 조의 프로젝트 페이지 입니다.
          * 금 integration이나, 남은 기능들의 구현
          * [http://165.194.17.15/~neocoin/jsboard/list.php?table=pds ProjectSemiPhotoshop/자료실] - 프로젝트용 자료실 입니다.
          http://165.194.17.15/~neocoin/ProjectSemiPhotoshop/
  • ProjectVirush/ProcotolBetweenServerAndClient . . . . 4 matches
         || 로그인 || login id pw || login true || 아이디, 비밀번호 || 예약된 명령의 처리 상황||
         || 회원 가입 || join id pw e-mail || join true || 아이디, 비밀번호, 이메일 || 가입 성공 | 아이디 중복 ||
  • Prolog . . . . 4 matches
         PROgramming in LOGic
         [[include(틀:ProgrammingLanguage)]]
  • PythonXmlRpc . . . . 4 matches
          * http://python.kwangwoon.ac.kr:8080/python/Internet/xmlrpc.html
          * http://kldp.org/HOWTO/html/XML-RPC-HOWTO/index.html
          print "Dispatching: " , method, params
         if __name__=='__main__':
  • RandomWalk2 . . . . 4 matches
         이 페이지에 있는 활동들은 프로그래밍과 디자인에 대해 생각해 볼 수 있는 교육 프로그램이다. 모든 활동을 끝내기까지 사람에 따라 하루에서 삼사일이 걸릴 수도 있다. 하지만 여기서 얻는 이득은 앞으로 몇 년도 넘게 지속될 것이다. 문제를 풀 때는 혼자서 하거나, 그게 어렵다면 둘이서 PairProgramming을 해도 좋다.
          * ObjectOrientedProgramming에서 이 문제를 처음 소개했다.
         ||인수 || . ||C++ ||["RandomWalk2/Insu"] ||
         다른 친구와 PairProgramming을 해서 이 문제를 다시 풀어보라. 그 친구는 내가 전혀 생각하지 못했던 것을 제안하지는 않는가? 그 친구로부터 무엇을 배울 수 있는가? 둘의 시너지 효과로 둘 중 아무도 몰랐던 어떤 것을 함께 고안해 내지는 않았는가?
         see also DoItAgainToLearn
  • Spring/탐험스터디 . . . . 4 matches
         [[pagelist(^Spring)]]
          * [Spring Framework 3]로 작지만 유용한 프로그램을 만들어보자!
          * [Spring]의 핵심 가치와 원리에 대한 이해
          * Spring Framework 3 다루는 다른 교재 가능
  • Telephone . . . . 4 matches
         http://zeropage.org/pub/WinMergeSetup.exe - winmerge
         """자신의프로그램이름""" < test1.in > out.txt
         '''test1.in'''
  • WikiWikiWebFaq . . . . 4 matches
         '''Q:''' So what is this WikiWiki thing exactly?
         '''A:''' A set of pages of information that are open and free for anyone to edit as they wish. The system creates cross-reference hyperlinks between pages automatically. See WikiWikiWeb for more info.
  • WordIndex . . . . 4 matches
         This is an index of all words occuring in page titles.
          * TitleIndex -- a shorter index
         [[WordIndex]]
  • cogitator . . . . 4 matches
         But, infinite passion & interest to the zeropage
         기술개발이 아닌 아닌 information policy 를 공부하러 ICU로 왔음
  • erunc0/Mobile . . . . 4 matches
         mobile. 왠지 거창하다. 내가 하는 일은 요즘 pda를 산다면 대부분이 사는 arm processor 를 장착한 wince 기반의 ipaq 기종에 미니 게임을 만든다는.. --; 아직 시장도 없거니와. sk 쪽에서 휴대폰에 이어 앞으로 펼쳐지게(?)될 pda 시장에 sk 이름에 걸맞게 휴대폰 장사에 이어 독점 비슷하다 싶이 하기위해 자그마치 500 억이라는 투자로 인해 매일 같이 삽질을 하고 있다.
          * wince tool - ms site에가면 찾을 수 있음. 자그마시 300~400 mega. --; visual studio 와 아주 유사. 거의 똑같음
          * gx library 에서 제공해주는 몇안되는 함수를 이용하여. pda 화면에 대한 pointer를 얻어와 삽질해서 뿌린다. dx 할때랑 똑같음.
          * bitmap 뿌리는 것이 쉬워 보여도.. 무진장 어렵다.. 아직도 삽질 중이다.. 그 엄청난 bit 연산과.. 무지막지한 pointer들. 도대체가 뭔 말인지 몰라 그냥 긁어 쓴다. 우헤헤헤헤..
  • lostship . . . . 4 matches
         [http://zeropage.org/pub/util/vncviewer.exe VNC View] [http://zeropage.org/pub/util/putty.exe putty Client] [http://zeropage.org/pub/util/WinSCP2.exe WinSCP 2.0 Beta]
          || ["lostship/MinGW"] || 윈도우 환경에 gcc 와 STLport 설치 ||
          || ["Boost/SmartPointer"] || 스마트 포인터 쓰기 ||
  • spaurh . . . . 4 matches
          * Nappingin:취미생활
         SeeAlso Nappingin:spaurh
  • 데블스캠프2006/월요일/연습문제/if-else/김대순 . . . . 4 matches
         #include<iostream.h>
         void main()
          int i,j;
          cin >> i;
  • 데블스캠프2006/월요일/연습문제/기타문제/윤영준 . . . . 4 matches
         #include <iostream.h>
         void main(void){
          int i;
          continue;
  • 데블스캠프2009/수요일/JUnit/서민관 . . . . 4 matches
          private int operand1;
          private int operand2;
          public double calculate(char op, int num1, int num2)
  • 루프는0부터? . . . . 4 matches
         for(int r=0; r!=rows; ++r)
         for(int r=1; r<=rows; ++r)
         일찍이 다익스트라가 그 이유를 밝혀놓았습니다. Seminar:WhyNumberingShouldStartAtZero
  • 문서구조조정토론 . . . . 4 matches
         ["neocoin"]:말씀하시는 문서 조정은 문서 조정은 문서 작성자가 손대지 말아야 한다라는걸 밑바탕에 깔고 말씀 하시는것 같습니다. 문서 조정자는 특별히 문서 조정을 도맡는 사람이 아니고, 한명이 하는 것이 아니라, 다수가 접근해야 한다는 생각입니다. "다같이" 문서 조정을 해야 된다는 것이지요. 문서 조정을 한사람의 도맡고 이후 문서 작성자는 해당 문서에서 자기가 쓴 부분만의 잘못된 의미 전달만을 고친다라는 의미가 아닌, 문서 조정 역시 같이해서 완전에 가까운 문서 조정을 이끌어야 한다는 생각입니다. 즉, 문서 구조 조정이후 잘못된 문서 조정에서 주제에 따른 타인의 글을 잘못 배치했다면, 해당 글쓴이가 다시 그 배치를 바꿀수 있고, 그런 작업의 공동화로, 해당 토론의 주제를 문서 조정자와 작성자간에 상호 이해와 생각의 공유에 일조 하는것 이지요.[[BR]] 논의의 시발점이 된 문서의 경우 상당히 이른 시점에서 문서 구조조정을 시도한 감이 있습니다. 해당 토론이 최대한 빨리 결론을 지어야 다음 일이 진행할수 있을꺼라고 생각했고, thread상에서 더 커다랗게 생각의 묶음이 만들어 지기 전에 묶어서 이런 상황이 발생한듯 합니다. 그렇다면 해당 작성자가 다시 문서 구조 조정을 해서 자신의 주제를 소분류 해야 한다는 것이지요. 아 그리고 현재 문서 구조조정 역시 마지막에 편집분은 원본을 그대로 남겨 놓은 거였는데, 그것이 또 한번 누가 바꾸어 놓았데요. 역시 기본 페이지를 그냥 남겨 두는 것이 좋은것 같네요.(현재 남겨져 있기는 합니다.) --상민
          ["neocoin"]: 그렇다면 저에게는 지금까지 페이지가 나온 이유 자체가 모호해 집니다. 그럼 말씀하시는 주제가 결국 "문서 구조 조정은 신중히 해야한다." 이것이라고 생각합니다. 이것은 의견이라기 보다 문서 구조 조정시의 기본 명제라 생각하며, 이중에 말씀하신 "문서 구조 조정시에 위치 변경은 글쓴이의 의도의 방향을 바꾼다."라는 것도 문서 구조 조정을 신중히 겠지요. 이런 것은 당연히 동의 합니다. [[BR]] 이것에 반대한다는 말이 없고, 이는 해당 의견의 암묵적 동의라고 생각하고, 잘못된 부분에 대하여 다시 구조조정을 해 주십사 원한 것인데, 다시 대화가 다른 방향으로 전개되어서 "문서 구조 조정자"와 "문서 작성자"로 나뉘어서 접근하시는 말씀인것으로 받아 들였습니다.[[BR]]해당 글처럼 잘못 된 부분의 지적 이후, 고치지 않는다면 다른 이가 해당 문서를 더 고치지 못하는 위화감 이랄까요. 그런것이 발생한다고 생각합니다. 현재 위키에 00들와 01들이 이러한 "조심스러움의 유발 요인" 때문에 활발히 글을 날리는데 방해가 될것이라고 생각합니다. 글을 장려하는 입장에서 글을 계속 올리다 보니, 대화의 주제가 어긋난 것 같습니다. --상민
         저는 PairProgramming을 가르치기에 앞서 NoSmok:PairDrawing 을 경험하게 합니다. 여기에는 여러가지 방법이 있는데, 구체적인 대상(사람 얼굴이나 동물 등)을 정해놓고 서로 한 줄 씩 번갈아 가며 그리는 방법이 있고, 아니면 아무것도 정하지 않고, 혹은 대강의 주제만 정해놓고 그냥 "멋진 그림"을 그리자는 합의하에 번갈아 가며 한 줄 씩 그리는 방법이 있습니다. 모두 그리는 중엔 말을 하지 않습니다. 여기서, 후자 경우 적극적으로 상대방의 의도를 이해하려는 노력이 없으면 좋은 그림이 나오기 어렵습니다 -- 한사람은 사람을 그리려고 하고 다른 사람은 나무를 그리려고 하는(혹은 상대가 나무를 그리려고 하고 있다고 오해한) 경우를 생각해 보세요. 상대의 의도를 이해하려고, 또 그것이 더 잘 드러나도록 서로 노력하다보면 혼자 그린 그림보다 더 좋은 그림이 나오는 경우가 종종 있습니다.
  • 상협/감상 . . . . 4 matches
         || ["PowerReading"] || - || - || 1 || ★★★★★ ||
         || [여섯색깔모자] || 에드워드 드 보노 || 1 ||4/24 ~ 5/1 || 이책은 PowerReading 처럼 활용정도에 따라서 가치가 엄청 달라질거 같다. ||
         || [Refactoring] || 마틴파울러 || 1 || 굿 || 괜찮은 책이다. 아직 내가 이해와 적용을 제대로 못해서 아쉽다 ||
         || [OperatingSystem] || H.M.Deitel || 1 || 굿 || 운영체제공부를 처음으로 시작한다면 이책이 적당하다고 생각한다 ||
  • 새싹교실/2012/열반/120507 . . . . 4 matches
         int main()
          int A[10]; // 정수형 데이터 10개
          printf("%d", A[0]); // 배열의 첫 번째 원소 출력
  • 새싹교실/2013/양반/7회차 . . . . 4 matches
          * break, continue
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2013/케로로반/실습자료 . . . . 4 matches
         Social Executive of Computer Science and Engineering will hold a bar event. There are many pretty girls and handsome guys. It will be great day for you. Just come to the bar event and drink. There are many side dishes and beer. Please enjoy the event. but DO NOT drink too much, or FBI will come to catch you. Thank you.
  • 인수/Smalltalk . . . . 4 matches
          Transcript cr; show: a; show: ' * '; show: b; show: ' = '; show: a*b; printString.
         RWBoard>>initialize: aSize
          ^self new initialize:aSize.
  • 컴공과프로그래밍경진대회 . . . . 4 matches
          * ["1thPCinCAUCSE"] - 1회 대회
          * ["2ndPCinCAUCSE"] - 2회 대회
          * ["3rdPCinCAUCSE"] - 3회 대회
          * ["4rdPCinCAUCSE"] - 4회 대회
  • 콤비반장의메모 . . . . 4 matches
          만화 형사 가제트(Inspector Gadget)에서 콤비 반장(Chief Quimby)은 형사 가제트에게 비밀 지령을 내릴땐 항상 자동 폭파되는 특별한 메모지를 사용하곤 했다. 그러나 인터넷 시대를 맞이한 콤비 반장은 이제 메모지 대신 한번만 사용할 수 있는 파일을 사용하려고 한다. ["콤비반장의메모"]와 같은 일회용 정보는 컴퓨터로 어떻게 구현할 수 있을까.
         메모리를 mp3 버퍼.. (e.g. 32kByte) 를 더블 버퍼로 잡아서, 네트워크로 더블 버퍼링 시스템으로, 네트웍으로 받은 자료로 다음 버퍼를 채우고.. 이런 형식으로 버퍼를 채운 다음에, 플러그 인 형식으로 배포하는건 어떨까요. 머.. 이건 winamp 에만 한정되겠지요. - [zennith]
         그냥 생각이 갑자기 나서 몇자 적어 봅니다. 자기 자신이 압축을 풀 수 있는 Zip - self-..어쩌구였는데 그러한 형태로 만들고 마지막에 분리한 데이타 파일을 지우는 식으로 만들어 봐도 재미있을꺼 같다는 생각이 들어서 .. 다 아는 건가? - fnwinter [정직]
          * hint: Zip file format - Self Extractor 와 비슷한 아이디어.
          [출처]매일경제 -- fnwinter 헉...화학물질...컴퓨터 공학이 아니넹..
         see also UriWiki:InstantMp3Player
  • 허아영 . . . . 4 matches
         위키Page -->> [http://165.194.87.227/zero/index.php?title=%C7%E3%BE%C6%BF%B5&url=ixforyouxl click]
         FORTUNE 50 Most Powerful Women in Business 에 실리는 것!!!
         [http://money.cnn.com/magazines/fortune/mostpowerfulwomen/2006/ 링크]
  • 황재선 . . . . 4 matches
          * ExploringWorld
         jtable.getColumnModel().getColumn(index).setPreferredWidth(size);
         http://www.ictp.trieste.it/~manuals/programming/Java/tutorial/uiswing/components/table.html#width
  • 2012년독서모임 . . . . 3 matches
          * [권순의] - Fault Line
          * [권순의] - 오랜만에 시작하는군요. Fault Line은 보이지 않는 균열이 세계 경제를 위협한다는 내용으로 지표면에서 단층면이 접하는 선인 단층선이 Fault Line인데 그 곳에서 지진이 발생한다는 것 때문에 따 왔다고 하더군요. 그래서 과거 시행했던 정책이나 여러 사건들을 통해 현재의 경제가 어떠한 상황에 이르게 되었는지에 대해서 서술한 책입니다. 사실 무지 재미 없습니다. -_- 읽은지 꽤 됬는데 눈에 잘 안 들어오고 하다 보니 아직도 다 못 읽었..
  • AppletVSApplication/진영 . . . . 3 matches
          * "'''Application'''"은 main()함수를 포함하고 있어서 자기 스스로 실행이 되는 반면에
          * "'''Applet'''"은 main()함수 없이 자기 스스로 실행되지 않고 html에 의해 돌아가는 것 같습니다.
           DeleteMe 그럼 여기에서 html 은 무엇이죠? --NeoCoin
         ["JavaStudyInVacation/진행상황"]
  • BeeMaja . . . . 3 matches
         [http://online-judge.uva.es/p/v101/10182.html 원문보기]
         [http://online-judge.uva.es/p/v101/p10182a.gif] [http://online-judge.uva.es/p/v101/p10182b.gif]
         === Input ===
         === Sample Input ===
  • B급좌파 . . . . 3 matches
         김규항 칼럼집. Cine21 의 '유토피아 디스토피아' 연재중.
         http://my.dreamwiz.com/fairday/utopia%20main.htm
         글 투를 보면 대강 누가 썼는지 보일정도이다. Further Reading 에서 가끔 철웅이형이 글을 실을때를 보면.
  • DirectVariableAccess . . . . 3 matches
         스몰토크 진영에서는 IndirectVariableAccess를 선호했다. 그러다가 켄트아저씨가 DirectVariableAccess를 써 보고는 그것의 가독성에 놀랐다.
         하지만 이 클래스가 상속이 될 가능성이 있다면, setter/getter를 오버라이딩 해서 사용할수 있으므로, IndirectVariableAccess를 쓰는 것이 괜찮다.
         void Point::setXnY(int xNumber, int yNumber)
  • HelloWorld/영동 . . . . 3 matches
          public static void main(String args[])
          System.out.println("HelloWorld");
         ["JavaStudyInVacation/진행상황"]
  • HelpOnNavigation . . . . 3 matches
         각 페이지의 좌측 상단 (혹은 임의의 위치)에는 대문(FrontPage 혹은 home), 최근 바뀐 글(RecentChanges), 목록(모든 페이지의 가나다순 알파벳순 목록), 찾기(FindPage), 도움말(HelpContents) 등등의 메뉴가 있습니다.
          * [[Icon(print)]] 인쇄 친화적인 형태로 보기
          * [[Icon(info)]] 페이지에 관한 정보 보기 (페이지의 모든 고친 정보 등)
  • HelpOnSubPages/SubPages . . . . 3 matches
          * ["../"] (anonymous parent link)
          * [wiki:../ free parent link]
          * XWindows
  • HowToStudyDataStructureAndAlgorithms . . . . 3 matches
         제가 생각컨데, 교육적인 목적에서는, 자료구조나 알고리즘을 처음 공부할 때는 우선은 특정 언어로 구현된 것을 보지 않는 것이 좋은 경우가 많습니다 -- 대신 pseudo-code 등으로 그 개념까지만 이해하는 것이죠. 그 아이디어를 Procedural(C, 어셈블리어)이나 Functional(LISP,Scheme,Haskel), OOP(Java,Smalltalk) 언어 등으로 직접 구현해 보는 겁니다. 이 다음에는 다른 사람(책)의 코드와 비교를 합니다. 이 경험을 애초에 박탈 당한 사람은 귀중한 배움과 깨달음의 기회를 잃은 셈입니다. 참고로 알고리즘 교재로는 10년에 한 번 나올까 말까한 CLR(''Introduction to Algorithms, Thomas H. Cormen, Charles E. Leiserson, and Ronald L. Rivest'')을 적극 추천합니다(이와 함께 혹은 이전에 Jon Bentley의 ''Programming Pearls''도 강력 추천합니다. 전세계의 짱짱한 프로그래머/전산학자들이 함께 꼽은 "위대한 책" 리스트에서 몇 손가락 안에 드는 책입니다. 아마 우리 학교 도서관에 있을 것인데, 아직 이 책을 본 적 없는 사람은 축하드립니다. 아마 몇 주 간은 감동 속에 하루하루를 보내게 될 겁니다.). 만약 함께 스터디를 한다면, 각자 동일한 아이디어를 (같은 언어로 혹은 다른 언어로) 어떻게 다르게 표현했는지를 서로 비교해 보면 또 배우는 것이 매우 많습니다. 우리가 자료구조나 알고리즘을 공부하는 이유는, 특정 "실세계의 문제"를 어떠한 "수학적 아이디어"로 매핑을 시켜서 해결하는 것이 가능하고 또 효율적이고, 또 이를 컴퓨터에 어떻게 구현하는 것이 가능하고 효율적인지를 따지기 위해서이며, 이 과정에 있어 수학적 개념을 프로그래밍 언어로 표현해 내는 것은 아주 중요한 능력이 됩니다. 개별 알고리즘의 카탈로그를 이해, 암기하며 익히는 것도 중요하지만 더 중요한 것은 알고리즘을 생각해 낼 수 있는 능력과 이 알고리즘의 효율을 비교할 수 있는 능력, 그리고 이를 표현할 수 있는 능력입니다.
         알고리즘을 공부하면 큰 줄기들을 알아야 합니다. 개별 테크닉들도 중요하지만 "패러다임"이라고 할만한 것들을 알아야 합니다. 그래야 알고리즘을 상황에 맞게 마음대로 응용할 수 있습니다. 또, 자신만의 분류법을 만들어야 합니다. (see also HowToReadIt Build Your Own Taxonomy) 구체적인 문제들을 케이스 바이 케이스로 여럿 접하는 동안 그냥 지나쳐 버리면 개별자는 영원히 개별자로 남을 뿐입니다. 비슷한 문제들을 서로 묶어서 일반화를 해야 합니다. (see also DoItAgainToLearn)
         이와 관련해서 Anany Levitin의 ''A NEW ROAD MAP OF ALGORITHM DESIGN TECHNIQUES''(DDJ, 2000 Apr)를 권합니다. 그는 알고리즘 디자인 테크닉을 다음 네가지로 크게 나눕니다:
  • MFC/Control . . . . 3 matches
         #define _MFC_
         = a kind of control =
         이외에도 common control 로서 애니메이트 컨트롤, tree 컨트롤, spin button 등의 컨트롤 들이 존재한다.
  • NeoZeropageWeb . . . . 3 matches
         '''GNUBoard (main) + Zerowiki + Trac'''
         '''Trackback Center (main) + Tattertools 1.0 + Zerowiki + Trac'''
         '''Zerowiki (main) + Trac'''
  • PragmaticVersionControlWithCVS/HowTo . . . . 3 matches
         || [PragmaticVersionControlWithCVS/Getting Started] || [PragmaticVersionControlWithCVS/AccessingTheRepository] ||
         == Organizing a Version Control System ==
  • PythonIDE . . . . 3 matches
         현존 하는 파이선의 대표적인 개발환경은 상당한 수가 존재한다. 이중에 알려진 몇가지가 IDLE, SPE, Wing, PyDev 등이 있다.
          * wingIDE : 디버깅이 지원되는 IDE, 유료로 판매한다.
          * Visualwx : wxToolkit 의 WYSWIG 을 지원하는 디자인 중심의 IDE. 파이선 프로그래밍을 지원한다. GUI 개발시 wxWindow 를 공부하는 유저에게 상당히 좋은 학습자료가 될 수 있다.
  • ReverseAndAdd/1002 . . . . 3 matches
          rev = int(str(n)[::-1])
         for e in [195,265,750]: print reverseAndAdd(e)
  • RubyLanguage/InputOutput . . . . 3 matches
         == InputOutput ==
          * STDOUT << , STDIN >>
          * each_line : 세퍼레이터를 넘겨 한 단위(세퍼레이터로 구분)씩 읽어옴
          * readlines : 배열로 읽어옴
         puts.client.readlines
  • SharpZeroJavaProject . . . . 3 matches
         [http://www.caucse.net/cgi-bin/moin/moin.cgi/_c0_da_b9_d9_c7_c1_b7_ce_c1_a7_c6_ae_2f_230_c6_c0_20_bf_c2_b6_f3_c0_ce_20_b0_d4_c0_d3 자바프로젝트 #0팀 온라인 게임]
  • SimpleDelegation . . . . 3 matches
          Vector(int size) {
         위임하는 객체(delegating object)는 위임 객체 또는 위임자 객체, 위임된 객체(delegate)는 대리자로 번역할 수 있을 것 같고(차라리 영어를 그대로 쓰는게 좋을지도 모르겠네요), 주체성은 참조를 의미하지 않을까요?
          cmd->Execute(this); // delegating object의 참조(this)를 delegate에게 전달
  • StephaneDucasse . . . . 3 matches
         OORP(ObjectOrientedReengineeringPatterns) 의 저자중 한명.
         Refactoring 책에서 acknowledgement 를 읽던중 StephaneDucasse 이름을 보게 되었다. 이전이라면 저 이름을 그냥 지나쳤을텐데. 신기하다. --[1002]
  • ThreeFs . . . . 3 matches
         Facts, Feelings, Findings. (사실, 느낌, 교훈/깨달은 점)
  • WantedPages . . . . 3 matches
         A list of non-existing pages including a list of the pages where they are referred to:
  • ZeroPage회칙토론 . . . . 3 matches
          ["neocoin"]:그거 어디에 있는지 아시는 분? --상민
          ["neocoin"]:설마, 그렇게 까지는 필요 없겠지 회원 자격 상실 조건과, 정모 만 확실하게 정하면 더 이상 무슨 규칙이 있겠냐 --상민
         각 항목에 몇조 몇항을 두는 이유는 index가 용이하라고 있는것이겠지만, 이 상황에 경우는 그리 필요없을것이라 생각함.--석천
  • [Lovely]boy^_^/ExtremeAlgorithmStudy/MathematicalFoundations . . . . 3 matches
          * 내림(Floors), 올림(Ceilings)
          * 수열(Series), 급수(Summation), 수학적 귀납법(Mathematical induction), ... 이건 좀 생소해 보이는데.. 무슨 수렴성 판정하는거 같다.(Bounding the terms), 적분
  • dduk . . . . 3 matches
         [http://zp.cse.cau.ac.kr/~dduk/cgi-bin/moin/moin.cgi]
  • 구구단/정수민 . . . . 3 matches
         k = input('구구단을 외자 구구단을 외자')
         for n in range(1,10):
          print k,'*',n,'=',(k*n)
  • 김준호 . . . . 3 matches
          # 3월 16일에는 앞으로 새싹교실이 어떻게 진행될것인지와 컴퓨터의 기본장치들을 배웠습니다 예를들어 CPU, Main Memory 등등 입니다.
          예를들어 printf , \n , %d %e %c를 배웠습니다.
          근데 printf가 글쓰는것에 이용하는것과 \n이 줄띄우는것은 알았습니다. 그런데 %d %e %c는 잘 이해가 안됩니다. ㅠㅠ
  • 단식자바 . . . . 3 matches
         [Java], [http://zeropage.org/~iruril/jdk-1_5_0_01-windows-i586-p.exe ZP pub의 JDK]
         [Eclipse], [http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.1-200506271435/eclipse-SDK-3.1-win32.zip&url=http://eclipse.areum.biz/downloads/drops/R-3.1-200506271435/eclipse-SDK-3.1-win32.zip&mirror_id=26 이클립스 3.1]
  • 데블스캠프2003/다루어볼문제와관련세미나 . . . . 3 matches
          * 저는 STL 같은 것은 그냥 할수 있을 만큼 사용할줄만 알면 되다고 생각합니다. Library 가 제공하는 것은 우리에게 좀더 고차원적인 사고에 전념할수 있는 것이 겠지요. 배열의 길이에 신경쓰지 않는 것만으로, C++에서 얼마나 무한한 사고가 가능할까요? 학교 교제는 C++을 가르치는 것이 아니라, C에다 어떻게 충돌을 일으키지 않고 문법을 추가시켜 C++이 되었는가를 가르치기 때문에 이런 기회는 필요 할것 같습니다. 아마 궁금한 사람은 STL의 소스를 보겠지요. 사족으로 STL은 OOP보다 Generic Programming의 관점에서 구현되 었습니다. --NeoCoin
          * 세미나 기간 중에 하루 "Parellel/Distributed Computing for Dummies"를 해드릴 수 있습니다. CSP와 Tuple Space 등을 다루게 될 것 같습니다. 학생들은 서너명씩 팀을 이루어 수십대의 컴퓨터를 동원 어떤 문제를 해결하는 경이적인 체험을 하게 될 것입니다. --JuNe
  • 데블스캠프2005/RUR-PLE/Harvest . . . . 3 matches
         == 김태훈([zyint]) ==
         # Function Definitions
         #main source code
  • 데블스캠프2005/RUR-PLE/Newspaper/Refactoring . . . . 3 matches
         = 데블스캠프2005/RUR-PLE/Newspaper/Refactoring =
         #define it.
         #define it.
  • 데블스캠프2005/RUR-PLE/TwoMoreSelectableHarvest/이승한 . . . . 3 matches
         def checkLine():
         ##main
         repeat(checkLine,6)
  • 데블스캠프2009/화요일 . . . . 3 matches
         || 안혁준 || winAPI || || ||
         ||pm 04:00~05:00 || winAPI || 안혁준 ||
         ||pm 05:00~06:00 || winAPI || 안혁준 ||
  • 문자열검색 . . . . 3 matches
          x는 x[40] = "His teaching method is very good.";
         자료 -> His teaching method is very good.
         자료 -> His teaching method is very good.
  • 사랑방 . . . . 3 matches
         시험이 막바지에 이르자, 사람들이 글러쉬를 하고 있다. --["neocoin"]
          ''약간은 사기라고 봐도 됩니다. 퀵소트에서 첫번째 원소를 피봇으로 잡는 경우가 헤스켈에서 아주 간단히 표현될 수 있다는 점을 이용한 것이죠 -- 첫번째가 피봇이 되면 문제가 생기는 상황들이 있죠. 보통 헤스켈의 "간결성"을 강조하기 위해 전형적으로 사용되는 예입니다. 뭔가 독특한 점을 강조하기 위해 쓰인다는 것 자체가 이미 약간의 과장을 암시하고 있습니다. see also Seminar:QuickSort --JuNe''
         negative LA assertion을 쓰면 간단합니다. {{{~cpp &(?!#\d{1,3};)}}} RE를 제대로 사용하려면 ''Mastering Regular Expressions, 2Ed ISBN:0596002890''를 공부하시길. --JuNe
  • 새싹교실/2011/씨언어발전 . . . . 3 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2013/록구록구/1회차 . . . . 3 matches
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2013/양반/2회차 . . . . 3 matches
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 일반적인사용패턴 . . . . 3 matches
          * ["HelpOnFormatting"]
          * ["HelpOnEditing"]
         위키위키의 장점중 하나로 자유로운 링크에 있습니다. 기본적으로 auto link를 지원하므로 해당 위키 페이지 링크 뿐만 아니라 다른 웹 페이지의 링크도 자유롭습니다. (쓰다가 보면 가끔 위키 내에서 다른 페이지로 날라가기 허다해진다는. --;) 위키페이지 링크는 [[ "해당페이지이름" ]] 을 하시면 되고, 일반 웹 페이지는 URL을 그냥 입력해주시면 됩니다.
  • 정모/2013.9.4 . . . . 3 matches
          * 클린 코드 : SRP(Single Responsibility Principle), DIP(Dependency Inversion Principle) 방식을 공부하였고 디자인패턴 중 템플릿 메소드에 대해서 공부하였습니다.그리고 스레드에 대해서 공부 하였습니다. trello와 github연동하는 방법이 있습니다.상당히 유용할 것같으므로 관심있으신분들은 조금만 찿아보시면 쉽게 하실수있습니다.
  • 프로그래밍잔치/첫째날 . . . . 3 matches
          * '''Think Difference 낯선 언어와의 조우'''
         === 시간 - Think Different! 낯선언어와의 조우! ===
          * Python 은 메소드(함수, 프로시저)의 길이가 7줄을 넘으면 안된다. line 기준
  • 허아영/MBTI . . . . 3 matches
         '''사고형 (Thingking)'''
         T가 이렇다고 내가 F(feeling)쪽의 성향도 없는것은 아니다.
  • 05학번만의C++Study/숙제제출/2 . . . . 2 matches
          * 평상시에는 문자열의 주소를 하나의 전달인자로 취하여, 그 문자열을 한 번 출력하는 함수를 작성하라. 그러다가 0이아닌 int형 값을 두 번째 전달인자로 제공하면, 그 시점에 도달할 때까지 그 함수가 호출되었던 횟수만큼 그 문자열을 반복해서 출력한다. (문자열이 출력되는 횟수는 두 번째 전달인자의 값이 아니라 그 함수가 호출되었던 횟수와 같다.)물론 이 함수는 거의 쓸모가 없다. 하지만 이것은 이 장에서 설명한 몇 가지 프로그래밍 기술을 사용할 것을 요구한다. 이들 함수를 사용하여 함수의 작동을 보여 주는 간단한 프로그램을 작성하라
          * 여기서 질문!! 전달인자가 1개인 함수와 2개인 함수만들어 오버 로딩 하라는 것인가? 그게 아니라면... cin을 라인별로 입력 받아햐겠는데.. 어떤때는 변수를 하나만 받고 어떤때는 변수를 두개 받아야하니.. 라인별로 처리 해야할듯.. 하지만 라인별로 처리해도....;;;; 음... 생각이 떠오르지 않음..;;; 쳇..;;[[BR]] 어제 교수가 defalte 에 대해 설명했던거 같은데.. 전달인자를 취하지 않으면 이미 입력된 변수의 값으로 처리한다. 라고...;; 음..;;;이렇게 해야하나?
  • 2002년도ACM문제샘플풀이 . . . . 2 matches
          * [http://cs.kaist.ac.kr/~acmicpc/problem.html 2002년도 문제 샘플] 풀이입니다. ["신재동"]과 ["상규"]가 '개발 시간 최소화' 라는 문제 때문에 시작부터 TDD와 Refactoring 그리고 OOP를 버렸습니다. 그래서 중복도 심하고 남에게 보여주기 정말 부끄럽지만... 용기내서 올립니다. 리펙토링 후에 변한 모습을 다시 올리도록 하겠습니다.
          ''부끄러워할 필요가 없다. 촉박한 시간에 쫓겼다고는 하나, 결국 정해진 시간 내에 모두 풀은 셈이니 오히려 자랑스러워 해야 할지도 모르겠다. 아마 네 후배들은 이런 배우려는 태도에서 더 많은 걸 느끼지 않을까 싶다. 이걸 리팩토링 해서 다시 올리는 것도 좋겠고, 내 생각엔 아예 새로 해서(DoItAgainToLearn) 올려보는 것도 좋겠다. 이번에는 테스트 코드를 만들고 리팩토링도 해가면서 처음 문제 풀었던 때보다 더 짧은 시간 내에 가능하게 해보면 어떨까? 이미 풀어본 문제이니 좀 더 편하게 할 수 있을 것 같지 않니? --JuNe''
  • 2006신입생/방명록 . . . . 2 matches
         -아발이 돈 좀 뿌렸나보네^^ㅋㅋ - [http://165.194.17.5/zero/?url=celfin&sessionId=celfin&sessionName=하기웅 하기웅]
  • 5인용C++스터디/윈도우즈프로그래밍 . . . . 2 matches
         #redirect DevelopmentinWindows
  • AsemblC++ . . . . 2 matches
         .exe파일의 어셈블 코드부분에 대한 질문. [http://zeropage.org/wiki/AsemblC_2b_2b?action=edit 지식in]
         [http://www.google.co.kr/search?num=20&hl=ko&newwindow=1&client=firefox-a&rls=org.mozilla:ko-KR:official&q=disassembler&spell=1 역어셈블러 구글검색]
  • BicycleRepairMan . . . . 2 matches
         http://bicyclerepair.sourceforge.net/ . python refactoring 툴. idlefork 나 vim 에 통합시킬 수 있다.
         Seminar:BicycleRepairMan , PyKug:BicycleRepairMan
  • CryptKicker . . . . 2 matches
         [http://online-judge.uva.es/p/v8/843.html 원문보기]
         === Input ===
         === Sample Input ===
         또 gh, ing, ed, the, a 와같은 자주출현하는 글자쌍도 존재한다. 만약 암호화된 코드에 덩그라니 한글자짜리 x 가 존재한다면 그것은 a일 가능성이 높아진다. 또 qer가 있따면 이것은 the가 될 확률이 높아지는것이고.
  • DecomposingMessage . . . . 2 matches
         === Decomposing Message ===
          controlInitialize();
          controlTerminate();
  • EdsgerDijkstra . . . . 2 matches
          * http://www.cs.utexas.edu/users/EWD/indexEWDnums.html - Dijkstra 의 컬럼들을 읽을 수 있는 곳.
          * [http://www.cs.utexas.edu/users/EWD/ewd02xx/EWD227.PDF StepwiseProgramConstruction] - Structured Programming
  • EnglishSpeaking/TheSimpsons . . . . 2 matches
         [[pagelist(^EnglishSpeaking/TheSimpsons/S01)]]
         [EnglishSpeaking/2011년스터디]
  • ExploringWorld/참고링크 . . . . 2 matches
         Java Servlet Container
         ExploringWorld
  • GarbageCollection . . . . 2 matches
         2번째 경우에 대한 힌트를 학교 자료구조 교재인 Fundamentals of data structure in c 의 Linked List 파트에서 힌트를 얻을 수 있고, 1번째의 내용은 원칙적으로 완벽한 예측이 불가능하기 때문에 시스템에서 객체 참조를 저장하는 식으로 해서 참조가 없으면 다시는 쓰지 않는 다는 식으로 해서 처리하는 듯함. (C++ 참조 변수를 통한 객체 자동 소멸 관련 내용과 관련한 부분인 듯, 추측이긴 한데 이게 맞는거 같음;;; 아닐지도 ㅋㅋㅋ)
         특정 주기를 가지고 가비지 컬렉션을 하기 때문에 그 시점에서 상당한 시간상 성능의 저하가 생긴다. 이건 일반적 애플리케이션에서는 문제가 되지 않지만, time critical 애플리케이션에서는 상당한 문제가 될 부분임. (Incremental garbage collection? 를 이용하면 이 문제를 어느정도 해결하지만 리얼타임 동작을 완전하게 보장하기는 어렵다고 함.)
  • Hacking/20040930첫번째모임 . . . . 2 matches
          cd, pwd, man, ls, cp, rm, mkdir, rmdir, mv, cat, more, less, grep, find, echo, uname, adduser, passwd, id, su
         [Hacking]
  • IDL . . . . 2 matches
         [CORBA] 의 경우 분산된 네트워크상에 따로 위치한 객체 간의 투명한 접근을 제공하는 서로 간의 약속이 필요하다. 이런 약속을 정의할 때 특정 언어([C], [C++], [Java] 등)에 의존하지 않는 인터페이스 정의 언어가 필요하게 되었는데, 그것이 바로 IDL(Interface Definition Language)이다. 서버와 클라이언트가 서로 통신을 하기 위해서 서버는 클라이언트에게 제공하는 서비스 인터페이스를 IDL 로 정의하게 되며, 클라이언트는 이런 인터페이스 정보를 활용하여 서비스를 활용하게 되는 것이다. CORBA 프로그램을 개발하기 위해서는 가장 먼저 IDL 을 정의해야 하는데, IDL 은 구현에 대한 정보는 포함하고 있지 않아 정의된 IDL 을 원하는 언어로
         물론, 인터페이스를 정의하는 방법이 IDL 만 있는 것은 아니다. [Visibroker] 의 경우 [Caffeine] 이라는 것을 이용하면 IDL 을 사용하지 않아도 되며, Java 의 RMI 나 RMI-IIOP 를 이용해면 IDL 을 몰라도 인터페이스를 정의할 수 있다. 하지만, IDL 은 OMG에서 규정하고 있는 인터페이스 정의 언어의 표준이고 개발자가 익히기에 어렵지 않은 만큼 CORBA 프로그램을 할 때는 꼭 IDL 을 사용하도록 하자.
  • Java Script/2011년스터디/박정근 . . . . 2 matches
          document.write("Infor : "+s,"<br>")
          for (var i in person)
          for (var i in person)
  • Perforce . . . . 2 matches
         프로그램은 서버, 클라이언트 환경으로 관리되며, 서버는 소스의 모아서 관리한다. 서버 프로그램은 유닉스, 맥, MSWin 버전으로 제공된다. 클라이언트는 GUI, CMD 버전의 툴을 지원하며 다양한 OS 에서 이용가능하다. 또한 IDE 와 연동역시 지원한다. (IDE에는 3dmax, maya, photoshop, office 등을 포괄하는 방대한 시스템)
         = Relate Links =
  • PosixThread . . . . 2 matches
         http://www-106.ibm.com/developerworks/linux/library/l-pthred.html
         http://www-106.ibm.com/developerworks/linux/library/l-posix1.html
  • ProjectPrometheus/Estimation . . . . 2 matches
         Login System 0.5
         Admin System 0.5
  • ReverseAndAdd . . . . 2 matches
         [http://online-judge.uva.es/p/v100/10018.html 원문보기]
         일단 어떤 수를 받아서 그 수를 뒤집은 다음 뒤집어진 수를 원래의 수에 더하는 과정을 뒤집어서 더하기라고 부르자. 그 합이 회문(palindrome, 앞뒤 어느 쪽에서 읽어도 같은 말이 되는 어구. 예:eye, madam, 소주만병만주소)이 아니면 회문이 될 때까지 이 과정을 반복한다.
         === Input ===
         === Sample Input ===
  • SummationOfFourPrimes . . . . 2 matches
         [http://online-judge.uva.es/p/v101/10168.html 원문보기]
         == Input ==
         [http://www.n2n.pe.kr/util/find_prime.php 소수판정기]로 답을 확인해볼 수 있겠네요. --[Leonardong]
  • SuperMarket . . . . 2 matches
          * inventory -- 산 물건의 목록을 보여준다
         >>> inventory
  • UglyNumbers/1002 . . . . 2 matches
          for x in [2,3,5]:
          print idx,currentCount
  • UniversalsAndParticulars . . . . 2 matches
         WardCunningham은 이런 말을 했다. 작지만 유용한 프로그램을 매일 만들어봐라. 복잡하고 큰 걸 만들다 보면 중요한 아이디어가 감추어져 버릴 수 있다.
         자바 스윙에서 어떤 API를 통해 어떻게 그림을 그리는지를 가르치기 보다, Event Driven Programming을 가르치되, 스윙이라는 맥락을 방편으로 이용해 가르친다. 해당 프레임웍의 API가 복잡한 경우, 학습자들은 오히려 그 API를 외우고 공부하느라 더 중요한 것을 잊을 수 있다. 따라서 이런 경우 가르치는 사람이 미리 좀 더 추상적인 차원의 레이어를 만들어(이를 교육학에선 스캐폴딩이라 한다) 제공할 수 있다.
  • [Lovely]boy^_^/USACO . . . . 2 matches
         || ["[Lovely]boy^_^/USACO/PrimePalinDromes"] ||
         || ["[Lovely]boy^_^/USACO/MixingMilk"] ||
  • callusedHand/projects/algorithms . . . . 2 matches
          * '''ACM''' http://www.acm.inf.ethz.ch/ProblemSetArchive.html
          * http://www.inf.bme.hu/contests/tasks/
  • erunc0/RoboCode . . . . 2 matches
          * not yet playing.. but this is so exsiting!!!!
  • stuck!! . . . . 2 matches
         설치법 - [DevCppInstallationGuide]
         '''[http://winapi.co.kr/clec/cpp1/cpp1.htm winapi.co.kr의 C기초강좌] 매우 자세하며 양이 많다. 이것이 교재 적당히씩 읽고 와주세요'''
  • 공업수학2006 . . . . 2 matches
         Advanced Engineering Mathematics 9th ed
  • 김상협 . . . . 2 matches
         이멜 : sainthyup@ 핫 멜 점 컴
         엠에스엔 : sainthyup@ 핫맬컴
  • 대학원준비 . . . . 2 matches
         [http://www.icu.ac.kr/indexa.jsp 입학]
         [http://www.icu.ac.kr/AdmissionIndexList.jsp?tableName=n_anotice# 입학설명회]
         http://www.postech.ac.kr/department/cse/linus/home_kor/admission_06.htm
  • 데블스캠프2005/Socket Programming in Unix/Windows Implementation . . . . 2 matches
         UnixSocketProgrammingAndWindowsImplementation
  • 데블스캠프2009/금요일/연습문제/ACM2453/조현태 . . . . 2 matches
         main(a,b,c){while(scanf("%d",&a)&&a){for(b=0;!(a&1<<b);++b);for(c=1<<b;a&c;c<<=1);printf("%u\n",(a|c)&~(c-1)|(c>>b+1)-1);}}
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/서민관 . . . . 2 matches
         padding:0px;
         margin:0px;
  • 땅콩이보육프로젝트2005 . . . . 2 matches
          * [http://nlp.kookmin.ac.kr/HAM/kor/index.html 한국어 형태소 분석기]
  • 문자반대출력 . . . . 2 matches
         === input ===
         || 김태훈([진트]) || C || . || [문자반대출력/김태훈zyint] ||
  • 상협/Diary/7월 . . . . 2 matches
          * Designing Object-Oriented Software 이책이랑 Refactoring 책 빌려야징..
  • 새회원을받으면 . . . . 2 matches
         현재 위키 실험 중인가 보군요. 그런데 왜 이리 체계 없이 느껴지는지, 지금 일련의 행사에 대한 계획이나 기록 어디 없나요? --NeoCoin
          - [http://netory.org 네토리]처럼 정기적(또는 비정기적)인 무언가가 있었으면 좋겠습니다. 굳이 그것이 모임의 형태가 아니더라도 ''새내기들이 자신이 제로페이지에 지원하였다는 사실을 잊어버리지 않게''해 주는게 필요하지 않을까요? 예를 들면, 숙제를 내준다던지, ProgrammingParty 같은 것들이요. - [임인택]
  • 유상민 . . . . 2 matches
         #redirect NeoCoin
         [NeoCoin]
  • 이민석 . . . . 2 matches
          * 06월 06일 OMS 발표: http://zeropage.org/seminar/61737
          * 10월 29일 OMS 발표: http://zeropage.org/seminar/63770
  • 정모/2012.1.6 . . . . 2 matches
          * [http://valleyinside.com/2012-technology-trend/ 2012년 기술 트렌드]
          * Spring - 김수경, 서지혜
  • 지금그때 . . . . 2 matches
         [지금그때/OpeningQuestion]
         지금그때2012 in [ZeroPage성년식]
  • 지금그때2003/ToDo . . . . 2 matches
          * 재 공지 NeoCoin (V) [지금그때2003/선전문]
          NeoCoin 군은 페이지 보는대로 외부 링크로 사용하시길.
  • 책분류Template . . . . 2 matches
         DeleteMe when you fill in this page (이 페이지를 채워 넣을 때 삭제해 주세요)
          * My Point
  • 파스칼삼각형/김남훈 . . . . 2 matches
         (define (pascal r c)
         문제는 내가 scheme 시스템에서 stdin stdout 을 어떻게 다루는지 몰라서 그냥 함수만 만들었다는 점.
  • 학회간교류/08 . . . . 2 matches
          * TGWings
          * 제로페이지, PCRC, JARAM, TGWING, 숭실대
          * 자람에 연락은 제가 하고 TGWing에는 승한형이 하기로. 일단 연락에 대한 회답이 오길 기다림 2008.11.30 - [김홍기]
  • 05학번만의C++Study/숙제제출/1 . . . . 1 match
         섭씨 온도를 전달인자로 전달받아 화씨 온도로 환산하여 리턴하는 사용자 정의 함수를 main() 함수가 호출하는 프로그램을 작성하시오. 프로그램은 섭씨 온도로 입력할 것을 요구해야 하고, 다음과 같은 실행 결과를 출력해야 한다. 참고로, 섭씨 온도를 화씨 온도로 변환하는 공식은 Fahrenheit = 1.8 X Celsius + 32.0 이다.
  • 1thPCinCAUCSE/ProblemA . . . . 1 match
         ["1thPCinCAUCSE"], ["문제분류"]
  • 5인용C++스터디 . . . . 1 match
          || 나휘동 || [http://zeropage.org/pub/upload/TypingGamePlan.hwp] || . ||
  • Bigtable/DataModel . . . . 1 match
          1. memtable의 T/S가 더 최신이 아니라면 minor compaction을 하여 로그를 비운다.
  • CategoryMacro . . . . 1 match
         If you click on the title of a category page, you'll get a list of pages belonging to that category
  • CategorySoftwareTool . . . . 1 match
         If you click on the title of a category page, you'll get a list of pages belonging to that category
  • CategoryTemplate . . . . 1 match
         If you click on the title of a category page, you'll get a list of pages belonging to that category
  • ChocolateChipCookies . . . . 1 match
         [http://online-judge.uva.es/p/v101/10136.html 원문보기]
         === Input ===
         === Sample Input ===
  • ClearType . . . . 1 match
          * [http://www.microsoft.com/typography/ClearTypeInfo.mspx ClearType기술 홈페이지] - 윈도우 적용 방법이나 기술에대한 자세한 소개.
          * 특허문제로 Adove, Linux, Apple 들이 각 다른 방식의 벡터 드로잉 방법을 가지고 있다고 한다.
  • DefaultValueMethod . . . . 1 match
         string Book::defaultSynopsis()
  • EvolutionaryDatabaseDesign . . . . 1 match
         http://martinfowler.com/articles/evodb.html
  • Factorial2 . . . . 1 match
         Hint. 기본자료형으로는 택도 없습니다.
  • GameProgrammingGems . . . . 1 match
         위의 Game Programming Gems는 게임에 쓰이는 전반적인 알고리즘(2D, 3D, AI(길찾기 포함))들을 전반적으로 대부분 다루어 놓고 얼마나 효율적인 프로그래밍을 할 수 있고 어떻게 해야 가능한 가를 보여주는 책이 되겠다. [[BR]]
  • HardcoreCppStudy/첫숙제/ValueVsReference/김아영 . . . . 1 match
         - 함수내에서 전달된 변수를 사용하기 위해서 간접(indirection) 연산자를 사용해야 한다.
  • Hartals . . . . 1 match
         [http://online-judge.uva.es/p/v100/10050.html 원문보기]
         === Input ===
         === Sample Input ===
  • HierarchicalWikiWiki . . . . 1 match
         HierarchicalWikiWiki''''''s can be created by using the InterWiki mechanism.
  • IsDesignDead . . . . 1 match
          * http://martinfowler.com/articles/designDead.html - 원문.
  • Jolly Jumpers/정진경 . . . . 1 match
         n,a,b,k,c[3000];main(){for(;scanf("%d%d",&n,&a)+1;puts(k-1?"Not jolly":"Jolly"))for(memset(c,0,n*4),k=n;--n;a=b){scanf("%d",&b);a=abs(a-b);if(!c[a])c[a]=1,k--;}}
  • KnowledgeManagement . . . . 1 match
          * I : Information
          * S : Sharing
  • LC-Display . . . . 1 match
         [http://online-judge.uva.es/p/v7/706.html 원문보기]
         === Input ===
         === Sample Input ===
  • MoniWikiBlogOptions . . . . 1 match
         set category index. Plese see BlogCategories
  • NetBeans . . . . 1 match
         [[include(틀:IDE)]]
  • PowerReading . . . . 1 match
          - 저도 읽어보고있는데 괜찮은것 같아요. self-testing ..(?) 을 안해서 그렇지..-_-; Do It Now! 를 마음속으로만 외치는군요.....- 임인택
  • PragmaticVersionControlWithCVS/UsingModules . . . . 1 match
         || [PragmaticVersionControlWithCVS/CreatingAProject] || [PragmaticVersionControlWithCVS/ThirdPartyCode] ||
  • ProjectPrometheus/AcceptanceTest . . . . 1 match
         AcceptanceTest Server - http://zeropage.org/~reset/cgi-bin/AcceptanceTestServer/testserver.cgi
  • RISCOS . . . . 1 match
         plz Add RISC OS links. I feel curious that.
  • RandomWalk2/서상현 . . . . 1 match
         DoItAgainToLearn 할 생각임. 처음 할때는 중간 과정을 기록하지 않고 했지만 다시 할때는 과정을 기록해 봐야겠음.
  • Redmoon . . . . 1 match
         무언가 해보려는 페이지 같기는 한데요... --NeoCoin
  • RoboCode/random . . . . 1 match
         Upload:random.ElLin_1.0.jar
  • SearchAndReplaceTool . . . . 1 match
          * HandyFile Find and Replace (http://www.silveragesoftware.com/hffr.html)
  • SmallTalk_Index . . . . 1 match
          | 1.4.1. Dolphin Smalltalk 등록하기
  • SolidStateDisk . . . . 1 match
         백업 메카니즘으로서 배터리나 일반적인 자기디스크를 내장하곤 한다. SDD 는 일반적인 HDD I/O interface 로 연결된다. 이로 인해서 얻을 수 있는 잇점은 적은시간에 빈번한 I/O 작업이 일어날 경우에, seek time 이나 rotational latency 가 없는 메모리로서, 자기디스크에 비해 월등한 성능을 나타낼 수 있다. 그에 덧붙여 구동부가 없는 구조로서 좀더 내구성이 뛰어나다고도 할 수 있겠다. 단점은, 특성상 대용량화가 어려우며 커다란 데이터의 요구량이 커질때. 즉 access time 보다 transfer time 이 더 요구될때 효율성이 안좋다.
  • SourceCode . . . . 1 match
         * 소리바다 클라이언트 http://fallin.lv/distfiles/soribada.py
  • SpikeSolution . . . . 1 match
          (ex) DB를 연결하기 위해 DB를 Install 하기, DB 작동이 어떻게 되는지 query 날려보기. 해당 라이브러리가 어떻게 작동하는지 간단한 예제 프로그래밍 등
         ["ExtremeProgramming"]
  • Spring/탐험스터디/2011-02-04 . . . . 1 match
         [[pagelist(^Spring/탐험스터디)]]
  • The Tower of Hanoi . . . . 1 match
         T<sub>n</sub> is the minimum number of moves that will transfer n disks from one peg to another under Lucas's rules.
  • TowerOfCubes . . . . 1 match
         [http://online-judge.uva.es/p/v100/10051.html 원문보기]
         === Input ===
         === Sample Input ===
  • UnitTestFramework . . . . 1 match
          * http://xprogramming.com
  • UrlMappingMacro . . . . 1 match
         [[UrlMapping]]
  • VisualStudio2005 . . . . 1 match
         http://www.microsoft.com/korea/events/ready2005/vs_main.asp
  • XperDotOrg . . . . 1 match
         국내 ExtremeProgramming 사용자(?) 모임.
  • [Lovely]boy^_^/Cartoon . . . . 1 match
         빌려줘 회사로 놀러오면, 밥먹여 줄께 ^^;; --NeoCoin
  • django/RetrievingObject . . . . 1 match
         RiskReport.objects.extra(where=['id IN (3, 4, 5, 20)'])
         SELECT * FROM risk_report WHERE id IN (3, 4, 5, 20);
         = join =
  • fm_jsung . . . . 1 match
          * fm_jsung 뜻이 머에여? -0- free style mc jin sung 멋진 아뒤 찾는 도중에, 친구의 도움으로^^
  • jQuery . . . . 1 match
         - jQuery.com introduction
          * Internet Explorer, Firefox, Safari, Opera 모두에서 작동
  • nilath개인페이지처음화면 . . . . 1 match
          Network Programming(40% 진행)
  • zyint/articleTest . . . . 1 match
         [zyint]
  • 데블스캠프2003/넷째날 . . . . 1 match
         ["데블스캠프2003/넷째날/Linux실습"]
  • 데블스캠프2005/참가자 . . . . 1 match
         감기 걸려서 오늘 못 갈꺼 같네. 내일 세미나를 해야겠어..ㅠㅠ --[fnwinter]
  • 데블스캠프2006/월요일 . . . . 1 match
         ||am 04:00~06:00 ||[데블스캠프2006/CPPFileInput] [http://zerowiki.dnip.net/~namsangboy/schoolScore.html 데블스캠프2006/성적관리프로그램] [http://zeropage.org/svn/namsangboy/SchoolScore/SchoolScore.cpp Source]|| 남상협 (01) ||
         [http://wiki.izyou.net/moin.cgi/Zeropage/DevilsCamp2006]
  • 데블스캠프2009/수요일후기 . . . . 1 match
          * '''서민관''' - kernal이나 어셈블러 언어 등 전까지 별로 접할 일이 없던 생소한 개념들이 많이 나와서 솔직히 쉽지는 않았습니다. 그래도 OS의 구조나 Ring system 같은 것들은 개념적으로라도 알아두면 괜찮을 것 같네요. 그리고 전날 혁준 선배가 설명해준 dll에 대해 잠깐 다시 복습할 수 있었던 것도 좋았고요. 아쉬웠던 점은 역시 수업이 너무 고수준이라서 대략적인 이해만 하고 넘어가야 했던 것입니다. 그리고 수업 이후에 개인적으로 VMware의 사용법을 가르쳐 주신 것은 정말 감사합니다. 선배가 제 구세주입니다.
  • 데블스캠프2011/넷째날/Android . . . . 1 match
          * 주제 : Android for Beginner
  • 데블스캠프2011/다섯째날/후기 . . . . 1 match
          * 수경이의 String 코드 레이스에서 저의 프로그래밍 달리기를 너무 빡세게 했던게 부끄러워서 이번엔 1학년 학우(저 같은 경우 성화수 학우)에게 설명해주고 그 학우가 하고 싶은 스펙으로 함께 프로그래밍 하고자 많이 노력했습니다. 파트너 교체 후 순의랑 파란 바를 만들어버리는 실수를 저지르긴 했습니다만 제가 부족한 탓이었구요-_-;; 개인적으로 화수의 '0층부터 지하까지' 아이디어는 신선했어요. 형진이가 처음에 의도했던 엘레베이터 문제(밖에서 누르고 층을 누르는 케이스)는 다른 클래스도 필요하고 일단 화수를 이해시키는데에 초점을 둬서 그걸 못 푼 점은 좀 아쉬웠어요.
  • 맞춤교육 . . . . 1 match
         [http://news.kbs.co.kr/news.php?id=694145&kind=c 기업, '맞춤교육' 대학에 요구]
  • 배열초기화 . . . . 1 match
         int a[100]
  • 병희 . . . . 1 match
         수개월간 아무런 소식이 없어서, ZeroPagers 에서 ZeroWikian 으로 분류를 바꾸었습니다. 원하시면 언제든지 참여해 주세요. --NeoCoin
  • 새싹교실/2012/사과나무/과제방 . . . . 1 match
          * printf()와 scanf()에 대해서 조사해오는 것이 과제 입니다.
  • 새싹교실/2012/햇반 . . . . 1 match
         1) break, continue등 제어문
  • 새싹스터디2006/의견 . . . . 1 match
         제로페이지 위키에 [새싹스터디2006]에서 소그룹으로 진행한 기록이 재학생에게 필요할까요? [제로페이지의문제점]에서도 ''스터디가 신입 수준을 벗어나지 못한다''라는 점을 지적합니다. [2004년활동지도]의 1학기 스터디, [새싹C스터디2005]의 Class페이지들이 대표적입니다. 반면 [새싹C스터디2005/선생님페이지], [새싹배움터05/첫번째배움터], [새싹C스터디2005/pointer]와 같은 페이지는 현재 [새싹스터디2006]을 진행하는데 도움을 줍니다. 조금만 가다듬으면 [STL]페이지처럼 주제별로 정리할 수 있습니다.
  • 속죄 . . . . 1 match
          * My Point
  • 송년회날짜정하기 . . . . 1 match
          * 이거 왜 지워요;; 올해 말에 또 써먹으면 되지요 --NeoCoin
  • 안전한장소패턴 . . . . 1 match
         ...좋은 물리적 환경 (CommonGroundPattern, PublicLivingRoomPattern)은 어떤 스터디 그룹에서든 필수적이다. 이 패턴에서 설명하는 지성적 환경 역시 마찬가지로 필수적이다.
  • 우리가나아갈방향 . . . . 1 match
         이 말의 의도는 충분히 이해를 하지만 오해의 소지가 있을 것 같아 사족을 답니다. 모여서 할 수 있는 공부가 분명히 있습니다. 이것은 혼자서만 할 수 있는 공부와는 다릅니다. 모여서 하면 아주 좋은 성과를 볼 수 있는, 그러나 혼자서는 하기 힘든 그런 공부가 분명히 있습니다. 수프를 먹으면서 포크의 "비어있음"을 탓하고 스푼의 "차있음"을 찬양하지만, 과일을 먹으면서는 포크의 "비어있음"을 고마워하고 스푼의 "차있음"을 비난하는 법입니다. 사건(event)과 물건(thing), 즉 사물에는 "나"와의 관계 속에서 그것의 "도"를 밝혀주는 길과 쓰임이 생깁니다. 그 길로 다니면 편하고 자연스럽고 쓸모를 얻지만, 자신이 길을 억지로 내려고 하면 불편하고 거북하며 쓸모를 얻지 못합니다. --김창준
  • 위키메뉴얼 . . . . 1 match
         현재까지 완성된 메뉴얼의 모습: [http://rkd49.zeropage.org/index.php]
  • 장용운 . . . . 1 match
         Windows API
  • 전시회 . . . . 1 match
         == Comming Soon ==
  • 전철에서책읽기 . . . . 1 match
         작년 1월에 지하철을 타며 책읽기를 했는데 한 번쯤 이런 것도 좋을 듯. 나름대로 재미있는 경험. :) Moa:ChangeSituationReading0116 --재동
  • 정모/2002.11.13 . . . . 1 match
          DeleteMe) 이날 참석한 인원을 적어주세요. 해당 정보는 차후 회원 구분이 있을때 필요한 자료입니다. --["neocoin"]
  • 정모/2003.2.12 . . . . 1 match
          * 반갑습니다. 그런데 어쩌다가 여기에.. ;; --NeoCoin
  • 정모/2005.9.5 . . . . 1 match
          * MFC, [EmbeddedLinux]
  • 정모/2006.2.2 . . . . 1 match
         각자 Point 1점씩 줌.
  • 정모/2007.3.27 . . . . 1 match
         zeropage.org 3/27 meeting
  • 정모/2011.5.23 . . . . 1 match
         == SEMINAR ==
          * 휴면회원 [김홍기]의 [wiki:SibichiSeminar/TrustModel 이 사람이 휴면회원인 이유]
  • 정모/2011.7.11 . . . . 1 match
          * 주제 : Macintosh
  • 정진균 . . . . 1 match
         #redirect comein2
  • 중위수구하기/김태훈zyint . . . . 1 match
          a : <INPUT TYPE="text" NAME="a"><br>
          b : <INPUT TYPE="text" NAME="b"><br>
          c : <INPUT TYPE="text" NAME="c">
         <INPUT TYPE="hidden" name=mode value=action><INPUT TYPE="submit" name=submit value=전송>
          * 오랜만이군 PHP 고등학교 때 이거배워 PHP 사이트 Hacking 하고 다녔는데. 근데 C랑 비슷해. 쉬운 변수형의 C -_-ㅋㅋ --영호
  • 지금그때2003/토론20030310 . . . . 1 match
          * Opening Questions - 대화를 할때 다른 사람들에게 의미를 줄 수 있는, 또는 다른 사람의 말문을 여는데 도움이 될 질문들. 또는, 주제에 가까운 질문들에 대해.
  • 지금그때2004/여섯색깔모자20040331 . . . . 1 match
         하양 : 작년 기준으로 볼때 홍보 횟수대비 신청자는 linear(비례)하게 증가하였다.
  • 지금그때2004/패널토의질문지 . . . . 1 match
         See Also [질문의힘],[지금그때/OpeningQuestion]
  • 질문레스토랑 . . . . 1 match
          * 처음 나누어 주는 메뉴판에는 어느정도 [지금그때/OpeningQuestion]이 적혀있는 상태
  • 창섭/삽질 . . . . 1 match
          * type casting 에 의한 data 손실이 일어나는 곳을 추측하자.
  • 컴퓨터고전스터디 . . . . 1 match
         요즘 전산학과 대학생들이 모여서 리눅스 해킹법이니, MFC API니 하는 걸 같이 스터디하는 것도 나름대로 의미가 있겠지만 컴퓨터계의 고전 하나를 제대로 스터디하는 것은 어떨까 합니다. ''군자무본 본립이도생. 군자는 근본에 힘을 쓰니, 근본이 서야 길이 생기기 때문이다.''라는 말이 논어에 나오죠. 나이가 아직 어리고, 시간적 여유가 있는 때에는 어떤 구체적인 "기술"보다 좀더 일반적이고 보편적이며 이론적인 사유를 훈련하는 것이 좋지 않을까요. 구체적 기술은 거기에 갖혀버리는(Lock-In) 경향이 있습니다. 2-3년 뒤에는 쓸모없어진다든가 하는 것이죠. 하지만 고전은 대부분 앞으로도 10년은 족히 유효한 것들입니다. 꾸준히 재해석될 가능성이 있는 것들이고, 무엇보다 문제의식과 함께 치밀한 사유를 배우는 겁니다. 생각하는 법 말이죠.
          * 2004년 여름방학 현재 TheArtOfComputerProgramming으로 진행
  • 포커솔리테어평가 . . . . 1 match
         [컴공과프로그래밍경진대회] [4rdPCinCAUCSE]
Found 725 matching pages out of 7555 total pages (990 pages are searched)

You can also click here to search title.

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
Processing time 1.8248 sec