U E D R , A S I H C RSS

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

데블스캠프2005/Socket Programming in Unix


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 ();
  • ScheduledWalk/석천 . . . . 725 matches
         ["데블스캠프2002"]때 소개했었던 StructuredProgramming 기법을 처음부터 끝까지 진행하는 모습을 보여드립니다. 중간에 버그가 발생하고, 그 버그를 수정한 소스를 그대로 실어봅니다. 그대로 따라해보셔도 좋을듯. 단, 중간 삽질과 컴파일 에러에 겁먹지만 않으신다면. ^^;
         StructuredProgramming 기법으로 StepwiseRefinement 하였습니다. 문제를 TopDown 스타일로 계속 재정의하여 뼈대를 만든 다음, Depth First (트리에서 깊이 우선) 로 가장 작은 모듈들을 먼저 하나하나 구현해 나갔습니다. 중반부터는 UnitTest 코드를 삽입하기를 시도, 중후반부터는 UnitTest Code를 먼저 만들고 프로그램 코드를 나중에 작성하였습니다.
         int main ()
          Input ();
         void Input () {
         int main ()
          Input ();
         === Version 0.2 - Refinement ===
         void Input() {
          InputBoardSize();
          InputStartRoachPosition();
          InputRoachJourney();
         void InputBoardSize() {
         void InputStartRoachPosition() {
         void InputRoachJourney() {
          while (!IsFinished()) {
         BOOL IsFinished() {
         === Version 0.3 - Refinement More ===
         typedef int BOOL;
         void Input();
  • 신기호/중대생rpg(ver1.0) . . . . 685 matches
          * Total lines of code: 760(스압 주의)
         #include <stdio.h>
         #include <string.h>
         #include <stdlib.h>
         #include <time.h>
         #include <io.h>
         #define MAX_STRING 100
         #define MAX_TOWN 5
         #define MAX_ENEMY 5
         #define MAX_ITEMS 40
         #define FILE_NAME "csave.dat"
          int base_hp;
          int hp;
          int max_hp;
          int att;
          int base_att;
          int def;
          int base_def;
          char name[MAX_STRING];
          int townNum;
  • MatrixAndQuaternionsFaq . . . . 640 matches
         This FAQ is maintained by "hexapod@netcom.com". Any additional suggestions or related questions are welcome. Just send E-mail to the above address.
          Introduction I1: steve@mred.bgm.link.com
         I1. Important note relating to OpenGL and this document
         Q3. How do I represent a matrix using the C/C++ programming languages?
         Q4. What are the advantages of using matrices?
         Q5. How do matrices relate to coordinate systems?
         DETERMINANTS AND INVERSES
         Q14. What is the determinant of a matrix?
         Q15. How do I calculate the determinant of a matrix?
         Q17. What is the inverse of a matrix?
         Q18. How do I calculate the inverse of an arbitary matrix?
         Q19. How do I calculate the inverse of an identity matrix?
         Q20. How do I calculate the inverse of a rotation matrix?
         Q21. How do I calculate the inverse of a matrix using Kramer's rule?
         Q22. How do I calculate the inverse of a 2x2 matrix?
         Q23. How do I calculate the inverse of a 3x3 matrix?
         Q24. How do I calculate the inverse of a 4x4 matrix?
         Q25. How do I calculate the inverse of a matrix using linear equations?
         Q27. How do I generate a rotation matrix in the X-axis?
         Q28. How do I generate a rotation matrix in the Y-axis?
  • 데블스캠프2013/셋째날/머신러닝 . . . . 582 matches
         = Machine Learning =
          * 데이터 및 강의자료 [http://zeropage.org/index.php?mid=seminar&document_srl=91554 링크]
         using System;
         using System.Collections.Generic;
         using System.Linq;
         using System.Text;
         using System.Threading.Tasks;
         using System.IO;
          public int[] words;
          public int category;
          const int SIZEBIG = 8165;
          const int SIZESMALL = 20;
          static void Main(string[] args)
          for (int i = 0; i < 11293; i++)
          sampleNews[i].words = new int[SIZEBIG];
          for (int i = 0; i < 7528; i++)
          testNews[i].words = new int[SIZEBIG];
          int count = 0;
          string[] temp1 = new string[SIZEBIG];
          StreamReader reader = new StreamReader(@"C:\ZPDC2013\train_data11293x8165");
  • RandomWalk2/Insu . . . . 557 matches
         #define _RANDOM_WALK_H
          int _nRow;
          int _nCol;
          int _nCurRow;
          int _nCurCol;
          int _nTotalVisitCount;
          int **_arVisitFrequency;
          int _arDirectionX[8];
          int _arDirectionY[8];
          RandomWalkBoard(int nRow, int nCol, int nCurRow, int nCurCol, char *szCourse, int DirectX[], int DirectY[]);
          void IncreaseVisitCount();
          void IncreaseTotalVisitCount();
          void CheckDirectionAndMove(int direction);
          void DirectionAllocate(int x[], int y[]);
         #include "RandomWalkBoard.h"
         #include <cstring>
         #include <iostream>
         using namespace std;
         RandomWalkBoard::RandomWalkBoard(int nRow, int nCol, int nCurRow, int nCurCol, char *szCourse, int DirectX[], int DirectY[])
          _arVisitFrequency = new int*[_nRow];
  • MoreEffectiveC++/Techniques2of3 . . . . 521 matches
         == Item 29: Reference counting ==
         Reference counting(이하 참조 세기, 단어가 길어 영어 혼용 하지 않음)는 같은 값으로 표현되는 수많은 객체들을 하나의 값으로 공유해서 표현하는 기술이다. 참조 세기는 두가지의 일반적인 동기로 제안되었는데, '''첫번째'''로 heap 객체들을 수용하기 위한 기록의 단순화를 위해서 이다. 하나의 객체가 만들어 지는데, new가 호출되고 이것은 delete가 불리기 전까지 메모리를 차지한다. 참조 세기는 같은 자료들의 중복된 객체들을 하나로 공유하여, new와 delete를 호출하는 스트레스를 줄이고, 메모리에 객체가 등록되어 유지되는 비용도 줄일수 있다. '''두번째'''의 동기는 그냥 일반적인 생각에서 나왔다. 중복된 자료를 여러 객체가 공유하여, 비용 절약 뿐아니라, 생성, 파괴의 과정의 생략으로 프로그램 수행 속도까지 높이고자 하는 목적이다.
         class String { // 표준 문자열 형은 이번 아이템의 참조세기를 갖추고
          String(const char *value = "");
          String& operator=(const String& rhs);
         String a, b, c, d, e;
         String& String::operator=(const String& rhs)
         http://zeropage.org/~neocoin/data/MoreEffectiveC++_184_1.gif
         http://zeropage.org/~neocoin/data/MoreEffectiveC++_184_2.gif
         http://zeropage.org/~neocoin/data/MoreEffectiveC++_185_1.gif
          === Implementing Reference Counting : 참조 세기 적용 ===
         참조 세기를 하는 String 클래스를 만드는건 어렵지는 않지만, 세세한 부분에 주목해서 어떻게 그러한 클래스가 구현되는지 주목해 보자. 일단, 자료를 저장하는 저장소가 있고, 참조를 셀수 있는 카운터가 있어야 하는데, 이 둘을 하나로 묶어서 StringValue 구조체로 잡는다. 구조체는 String의 사역(private)에 위치한다.[[BR]]
         class String {
          ... // String member들 위치
          struct StringValue { ... }; // 참조를 세는 인자와, String의 값을 저장.
          StringValue *value; // 위의 구조체의 값
         물론 이의 이름은 String과 다른 이름을 매겨야 하겠지만,(아마 RCString정도?) 하지만 String자체를 구현한다는 의미로 그냥 이름은 유지하고, 앞으로 말할 참조세기를 적용시킨 String 객체를 만들어 나가겠다.
         class String {
          struct StringValue {
          int refCount; // 참조를 세기위함 카운터
  • 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
  • 새싹교실/2012/AClass/2회차 . . . . 409 matches
         #include<stdio.h>
         int main()
          int num =0;
          int sum =0;
          printf("0과 1000사이의 정수를 입력 :\n");
          printf("각 자리수들의 합 : %d \n",sum);
         #include <stdio.h>
         int main()
          printf("소문자 : ");
          printf("대문자는 :%c\n", replace-32);
          printf("대문자는 :%c\n", replace+32);
         방법은 if(10>x) printf(" ");입니다.
         #include<stdio.h>
         int main()
          int i,j;
          int num=1;
          printf("%d",num);
          printf(" ");
          printf("\n");
         #include<stdio.h>// 자리 못 맞추겠음..
  • WikiTextFormattingTestPage . . . . 394 matches
         Revised 1/05/01, 5:45 PM EST -- adding "test" links in double square brackets, as TWiki allows.
         This page originated on Wiki:WardsWiki, and the most up-to-date copy resides there. This page has been copied here in order to make a quick visual determination of which TextFormattingRules work for this wiki. Currently it primarily determines how text formatted using the original Wiki:WardsWiki text formatting rules is displayed. See http://www.c2.com/cgi/wiki?WikiOriginalTextFormattingRules.
         If you want to see how this text appears in the original Wiki:WardsWiki, see http://www.c2.com/cgi/wiki?WikiEngineReviewTextFormattingTest
         People reviewing this wiki from the original Wiki:WardsWiki will be referred to this page. If you want to see the review, go to http://www.c2.com/cgi/wiki?WikiEngineReview.
          * CLUG Wiki (older version of WardsWiki, modified by JimWeirich) -- http://www.clug.org/cgi/wiki.cgi?WikiEngineReviewTextFormattingTest
          * MoinMoin (MoinMoin 0.5) -- http://www.encrypted.net/~jh/moinmoin/moin.cgi/WikiTextFormattingTestPage
          * Kit-T-Wiki (TWiki 01) -- http://kit.sourceforge.net/cgi-bin/view/Main/WikiReviewTextFormattingTest
          * TWiki (TWiki 03) -- http://twiki.sourceforge.net/cgi-bin/view/TWiki/WikiReviewTextFormattingTest
         http://narasimha.tangentially.com/cgi-bin/n.exe?twiky%20editWiki(%22WikiEngineReviewTextFormattingTest%22)
          * UseMod wiki (UseMod 0.88) -- http://www.usemod.com/cgi-bin/wiki.pl?WikiEngineReviewTextFormattingTest
         This page contains sample marked up text to make a quick visual determination as to which Wiki:TextFormattingRules work for a given wiki. To use the page, copy the text from the edit window, and paste it in the wiki under test. Then read it.
         And, the next logical thing to do is put a page like this on a public wiki running each Wiki:WikiEngine, and link to it from the appropriate Wiki:WikiReview page, as has been done in some cases -- see above.
         The next line (4 dashes) should show up as a horizontal rule. In a few wikis, the width of the rule is controlled by the number of dashes. That will be tested in a later section of this test page.
         '''Wiki:WikiOriginalTextFormattingRules'''
         This first section will test the Wiki:WikiOriginalTextFormattingRules.
         If a wiki properly interprets the Wiki:WikiOriginalTextFormattingRules, the text will appear as described here.
         This should appear as plain variable width text, not bold or italic.
         The original Wiki:WardsWiki text formatting rules make no provision for headings. They can be simulated by applying emphasis. See the next several lines.
         'This text, enclosed within in 1 set of single quotes, should appear as normal text surrounded by 1 set of single quotes.'
         ''This text, enclosed within in 2 sets of single quotes, should appear in italics.''
  • BusSimulation/조현태 . . . . 375 matches
          === main.cpp ===
         #include "bus_and_man.h"
         #include <iostream>
         using namespace std;
         void main()
          for (register int i=1; i<20; ++i)
          for (register int j=0; j<5; ++j)
         #include <iostream>
         #include <stdlib.h>
         #include <time.h>
         #include "bus_and_man.h"
         using namespace std;
         const int MOVE=1;
         const int STOP=0;
         man::man(int input_from, int input_to)
          from=input_from;
          to=input_to;
         int man::where_go()
         station::station(int input_station_number, char *input_name, int input_percent, int input_size )
          strcpy(name,input_name);
  • MoreEffectiveC++/Techniques1of3 . . . . 356 matches
         == Item 25: Virtualizing constructors and non-member functions ==
         http://zeropage.org/~neocoin/data/MoreEffectiveC++_124_1.gif
         list 클래스는 STL로 이루어져 있는데, Item 35를 참고하면 정보를 얻을수 있다. 단순히 이중 연결 리스크(double linked list)라고 생각하면 무리가 없을 것이다.
          for (list<NLComponent*>::constiterator it = rhs.components.begin();
          === Making Non-Member Functions Act Virtual : 비멤버 함수를 가상 함수처럼 동작하게 하기 ===
          virtual ostream& print(ostream& s) const = 0;
          virtual ostream& print(ostream& s) const;
          virtual ostream& print(ostream& s) const;
         inline
          return c.print(s);
         가상 함수의 역할을 비멤버(non-member)함수로 구현한 사례이다. 비 멤버 함수이지만 inline을 통해서 가상 함수와의 직접 연결 통로를 만들었다.
         == Item 26: Limiting the number of objects of a class ==
          * 작성자주 : 이 부분은 Singleton 패턴과 연관해서 생각하면 재미있을 것 같다. Singleton 패턴이 DP에 논의될때 이것을 감안 안한것이 아쉽다. 1995년에 발간이라 STL도 제대로 다루지 않았고, C++의 기본적인 문법을 이용해 구현하였다. MEC++는 Techniques 부분은 C++의 문법과 개념을 극한으로 쓴다는 느낌이 든다.
          === Allowing Zero or One Objects : 0 혹은 하나의 객체 만을 허용하는 방법 ===
         class CantBeInstantiated {
          CantBeInstantiated();
          CantBeInstantiated(const CantBeInstantiated&);
         class PrintJob; // 미리 선언, 프린터 작업에 쓰이는 객체. 참고 Effective C++ Item 34
         class Printer {
          void submitJob(const PrintJob& job);
  • RandomWalk2/조현태 . . . . 295 matches
         #include <iostream>
         #include <string>
         using namespace std;
         #define MOVED_POINT 1
         bool IsHaveZero(int worldSizeX, int worldSizeY, int** target)
          for (register int i = 0; i < worldSizeX; ++i)
          for (register int j = 0; j < worldSizeY; ++j)
         int main()
          int** myWorld;
          int worldSizeX = 0;
          int worldSizeY = 0;
          cout << "input world size \n>>";
          cin >> worldSizeX >> worldSizeY;
          myWorld = new int*[worldSizeX];
          for (register int i = 0; i < worldSizeX; ++i)
          myWorld[i] = new int[worldSizeY];
          for (register int j = 0; j < worldSizeY; ++j)
          int myPointX = 0;
          int myPointY = 0;
          cout << "input start point \n>>";
  • MFC/MessageMap . . . . 285 matches
          * 사용 예 : 어떤 클래스가 view 클래스의 멤버 변수이다. 해당 클래스는 파일을 다운로드 받는 클래스인데 해당 클래스에서 다운로드가 끝났을 경우 view에 있는 serialize 함수를 실행해야 한다. 허나 현재 view클래스가 그 해당 클래스를 멤버로 가지고 있기에 include 로 해당 클래스에서 view 클래스를 포함할 수도 없고, 또 view 클래스의 현재 실행되는 객체를 얻을 방법도 마땅히 없다. 이때 해당 클래스에서 다운로드가 끝난 시점에서 다운로드가 끝났다는 메시지를 발생시켜서 view에 있는 serialize 함수를 실행시킬 수 있다. 이게 바로 사용자 정의 메시지 발생을 이용한 사례..
         #define UM_ACCEPTCLIENT (WM_USER+10) // 사용자 정의 메시지를 정의 한다.
         begin Message map
         in ''application_name.h''
         class CEx14App : public CWinApp
          virtual BOOL InitInstance();
          // DO NOT EDIT what you see in these blocks of generated code !
         in ''application_name.cpp''
         BEGIN_MESSAGE_MAP(CEx14App, CWinApp)
          // NOTE - the ClassWizard will add and remove mapping macros here.
          // DO NOT EDIT what you see in these blocks of generated code!
          ON_COMMAND(ID_FILE_NEW, CWinApp::OnFileNew)
          ON_COMMAND(ID_FILE_OPEN, CWinApp::OnFileOpen)
          // Standard print setup command
          ON_COMMAND(ID_FILE_PRINT_SETUP, CWinApp::OnFilePrintSetup)
          클래스의 정의 부분에 DECLARE_MESSAGE_MAP()을 포함했다면 그 클래스의 구현 부분에는 반드시 BEGIN_MESSAGE_MAP(), END_MESSAGE_MAP()매크로가 반드시 추가되어야 한다. 이 부분에서는 WM_COMMAND 형태를 갖는 메시지 만을 처리하고 있다.
         in ''CAboutDlg implementation''
          //{{AFX_DATA_INIT(CAboutDlg)
          //}}AFX_DATA_INIT
         BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
  • 영호의해킹공부페이지 . . . . 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
  • 영호의바이러스공부페이지 . . . . 283 matches
         Introduction -
         This is a down and dirty zine on wich gives examples on writing viruses
         and this magazines contains code that can be compiled to viruses.
         files. This aint for you.
          INDEX
         001...........................Virus Spotlight, The Tiny virus
          The first virus I would like to spotlight is the Tiny virus, lets see
          Name: Tiny
          Aliases: 163 COM Virus, Tiny 163 Virus, Kennedy-163
          Origin: Denmark
          Type Code: PNCK - Parasitic Non-Resident .COM Infector
          Removal Instructions: Scan/D, F-Prot 1.12+, or Delete infected
          The 163 COM Virus, or Tiny Virus, was isolated by Fridrik Skulason
          of Iceland in June 1990. This virus is a non-resident generic
          .COM file infector, and it will infect COMMAND.COM.
          The first time a file infected with the 163 COM Virus is executed,
          the virus will attempt to infect the first .COM file in the
          be COMMAND.COM. After the first .COM file is infected,each time
          an infected program is executed another .COM file will attempt to
          be infected. Files are infected only if their original length is
  • VonNeumannAirport/1002 . . . . 269 matches
         문제는 암튼 이해했고 (Input 에 대한 Output 이 머릿속에서 어떻게 해야 할지 연결이 된 상태) 가장 간단하게 테스트할 수 있는 방법에 대해 생각해야 하겠군요.
         Sample Input 을 보니 뒤의 것이 간단해 보이는군요.
         #include <cppunit/TestCase.h>
         #include <cppunit/extensions/HelperMacros.h>
         #include <cppunit/Ui/Text/TestRunner.h>
         int main ()
          int startCity;
          int endCity;
          Configuration (int startCity, int endCity) {
          void movePeople (int startCity, int endCity, int people) {
          int getTraffic () {
          void movePeople (int startCity, int endCity, int people) {
          int getTraffic () {
         여기까진 통과..~ test code 를 Refactoring 해봅니다.
          int dataset [3][3] = {{1,1,1}, {1,1,1}, {1,1,100}};
          int expectedSet[3] = {1,2,102};
          for (int i=0;i<3;i++) {
          int arrivalCitys[] = {1,2};
          int departureCitys[] = {1,2};
          vector <int> arrivalCitys;
  • EffectiveC++ . . . . 268 matches
         == Shifting from C to C++ ==
         === Item1: Prefer const and inline to #define ===
         DeleteMe #define(preprocessor)문에 대해 const와 inline을(compile)의 이용을 추천한다. --상민
         [#define -> const][[BR]]
          #define ASPECT_RATIO 1.653
         instead of upper..
         define 된 ASPECT_RATIO 란 상수는 1.653으로 변경되기때문에 컴파일러는 ASPECT_RATIO 란것이 있다는 것을 모르고 symbol table 에?들어가지 않는다. 이는 debugging을 할때 문제가 발생할 수 있다. -인택
         1. 상수 포인터(constant pointer)를 정의하기가 다소 까다로워 진다는 것.
          static const int NUM_TURNS = 5; // 상수 선언! (선언만 한것임)
          int scores[NUM_TURNS]; // 상수의 사용.
          const int GamePlayer::NUM_TURNS; // 정의를 꼭해주어야 한다.
         #define -> inline (매크로 사용시)
          * inline: 함수 호출로 인한 오버헤드를 줄일수 있는.. 거시기. 궁금하면 책찾아보세요.
          #define max(a,b) ((a) > (b) ? (a) : (b))
          // #define 을 inline으로..
          inline int max(int a, int b) { return a > b ? a : b; } // int형으로만 제한 되어있네..
          inline const T& max (const T& a, const T& b) { return a > b ? a : b; }
         const와 inline을 쓰자는 얘기였습니다. --; 왜 그런지는 아시는 분께서 글좀 남기시구요. ^^[[BR]]
         #define 문을 const와 inline으로 대체해서 써도, #ifdef/#ifndef - #endif 등.. 이와 유사한 것들은 [[BR]]
          매크로는 말 그대로 치환이기 때문에 버그 발생할 확률이 높음. 상수선언이나 함수선언같은 경우는 가급적 const 나 inline으로 대체하는게 좋겠지. (으.. 그래도 실제로 짤때는 상수 선언할때는 #define 남용 경향이..[[BR]]
  • 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 {
  • MoreEffectiveC++/Appendix . . . . 262 matches
         == Recommended Reading ==
         So your appetite for information on C++ remains unsated. Fear not, there's more — much more. In the sections that follow, I put forth my recommendations for further reading on C++. It goes without saying that such recommendations are both subjective and selective, but in view of the litigious age in which we live, it's probably a good idea to say it anyway. ¤ MEC++ Rec Reading, P2
         There are hundreds — possibly thousands — of books on C++, and new contenders join the fray with great frequency. I haven't seen all these books, much less read them, but my experience has been that while some books are very good, some of them, well, some of them aren't. ¤ MEC++ Rec Reading, P4
         What follows is the list of books I find myself consulting when I have questions about software development in C++. Other good books are available, I'm sure, but these are the ones I use, the ones I can truly recommend. ¤ MEC++ Rec Reading, P5
         A good place to begin is with the books that describe the language itself. Unless you are crucially dependent on the nuances of the °official standards documents, I suggest you do, too. ¤ MEC++ Rec Reading, P6
          * '''''The Annotated C++ Reference Manual''''', Margaret A. Ellis and Bjarne Stroustrup, Addison-Wesley, 1990, ISBN 0-201-51459-1. ¤ MEC++ Rec Reading, P7
          * '''''The Design and Evolution of C++''''', Bjarne Stroustrup, Addison-Wesley, 1994, ISBN 0-201-54330-3. ¤ MEC++ Rec Reading, P8
         These books contain not just a description of what's in the language, they also explain the rationale behind the design decisions — something you won't find in the official standard documents. The Annotated C++ Reference Manual is now incomplete (several language features have been added since it was published — see Item 35) and is in some cases out of date, but it is still the best reference for the core parts of the language, including templates and exceptions. The Design and Evolution of C++ covers most of what's missing in The Annotated C++ Reference Manual; the only thing it lacks is a discussion of the Standard Template Library (again, see Item 35). These books are not tutorials, they're references, but you can't truly understand C++ unless you understand the material in these books
         For a more general reference on the language, the standard library, and how to apply it, there is no better place to look than the book by the man responsible for C++ in the first place: ¤ MEC++ Rec Reading, P10
          * '''''The C++ Programming Language (Third Edition)''''', Bjarne Stroustrup, Addison-Wesley, 1997, ISBN 0-201-88954-4. ¤ MEC++ Rec Reading, P11
         Stroustrup has been intimately involved in the language's design, implementation, application, and standardization since its inception, and he probably knows more about it than anybody else does. His descriptions of language features make for dense reading, but that's primarily because they contain so much information. The chapters on the standard C++ library provide a good introduction to this crucial aspect of modern C++. ¤ MEC++ Rec Reading, P12
         If you're ready to move beyond the language itself and are interested in how to apply it effectively, you might consider my other book on the subject: ¤ MEC++ Rec Reading, P13
          * '''''Effective C++''''', Second Edition: 50 Specific Ways to Improve Your Programs and Designs, Scott Meyers, Addison-Wesley, 1998, ISBN 0-201-92488-9. ¤ MEC++ Rec Reading, P14
         That book is organized similarly to this one, but it covers different (arguably more fundamental) material. ¤ MEC++ Rec Reading, P15
         A book pitched at roughly the same level as my Effective C++ books, but covering different topics, is ¤ MEC++ Rec Reading, P16
          * '''''C++ Strategies and Tactics''''', Robert Murray, Addison-Wesley, 1993, ISBN 0-201-56382-7. ¤ MEC++ Rec Reading, P17
         Murray's book is especially strong on the fundamentals of template design, a topic to which he devotes two chapters. He also includes a chapter on the important topic of migrating from C development to C++ development. Much of my discussion on reference counting (see Item 29) is based on the ideas in C++ Strategies and Tactics.
         If you're the kind of person who likes to learn proper programming technique by reading code, the book for you is ¤ MEC++ Rec Reading, P19
          * '''''C++ Programming Style''''', Tom Cargill, Addison-Wesley, 1992, ISBN 0-201-56365-7. ¤ MEC++ Rec Reading, P20
         Each chapter in this book starts with some C++ software that has been published as an example of how to do something correctly. Cargill then proceeds to dissect — nay, vivisect — each program, identifying likely trouble spots, poor design choices, brittle implementation decisions, and things that are just plain wrong. He then iteratively rewrites each example to eliminate the weaknesses, and by the time he's done, he's produced code that is more robust, more maintainable, more efficient, and more portable, and it still fulfills the original problem specification. Anybody programming in C++ would do well to heed the lessons of this book, but it is especially important for those involved in code inspections. ¤ MEC++ Rec Reading, P21
  • 윤종하/지뢰찾기 . . . . 250 matches
         /* mine.c: 지뢰찾기 소스 파일(TUI)
         종류: win32 console program
         #include<stdio.h>
         #include<stdlib.h>
         #include<time.h>
         #include<conio.h>
         #include<windows.h>
         #define TRUE 1
         #define FALSE 0
         //#define NO_STATE 3
          int iIsRevealed;
          int iIsMine;
          int iNumOfMine;//주변에 있는 지뢰의 개수
          int iIsUnknown;
          int iIsFined;
         COORD* make_mine_map(CELL** map,COORD size,int iNumOfMine);
         void print_map(CELL** map,COORD size,int iNumOfMine,int iCurrentFindedMine);
         int click_cell(CELL** map,COORD size,int *iNumOfLeftCell);
         void one_right_click_cell(CELL** map,COORD size,COORD *cPosOfMine,int iNumOfMine,int *iFindedRealMine);
         void find_mine(CELL** map,COORD size,COORD pos,int *iNumOfLeftCell);
  • 새싹교실/2012/AClass/5회차 . . . . 247 matches
         #include<stdio.h>
         int main()
          int r,e,c;
          printf("advertise\n");
          printf("do not advertise\n");
          printf("does not matter\n");
         #include<stdio.h>
         #include<math.h>
         int main()
         int a,b,c;
          printf("%g ",x1);
          printf("%g %g",x1,x2);
          printf("%g %g",x2,x1);
         #include<stdio.h>
         int main(){
          int a;
          int sum=0;
          printf("%d",sum+1);
         #include<stdio.h>
         int main(){
  • MoreEffectiveC++/Miscellany . . . . 245 matches
         == Item 32: Program in the Future tense ==
         원문:As software developers, we may not know much, but we do know that things will change. We don't necessarily know what will change, how the changes will be brought about, when the changes will occur, or why they will take place, but we do know this: things will change.
         좋은 소프트웨어는 변화를 잘 수용한다. 새로운 기능을 수용하고, 새로운 플랫폼에 잘 적용되고, 새로운 요구를 잘 받아 들이며, 새로운 입력을 잘 잡는다. 이런 소프트웨어는 유연하고, 강하고, 신뢰성있고, 돌발 상황(사고)에 의해 죽지 않는다. 이런 소프트웨어는 미래에 필요한 요소를 예상하고, 오늘날 구현시에 포함시키는 프로그래머들에 의해서 디자인된다. 이러한 종류의 소프트웨어는-우아하게 변화하는 소프트웨어- ''program in the future tens''(매래의 프로그램:이하 영문 직접 사용)을 감안하는 사람들이 작성한다.
         ''program in future tense''는, 변화의 수용하고, 준비한다. 라이브러에 추가될 새로운 함수, 앞으로 일어날 새로운 오버로딩(overloading)을 알고, 잠재적으로 모호성을 가진 함수들의 결과를 예측한다. 새로운 클래스가 상속 계층에 추가될 것을 알고, 이러한 가능성에 대하여 준비한다. 새로운 어플리케이션에서 코드가 쓰이고, 그래서 새로운 목적으로 함수가 호출되고, 그런 함수들이 정확히 동작을 유지한다. 프로그래머들이 유지 보수를 할때, 일반적으로 원래의 개발자의 영역이 아닌, 유지 보수의 몫을 안다. 그러므로, 다른 사람에 의해서 소프트웨어는 이해, 수정, 발전의 관점에서 구현하고 디자인된다.
         "변화한다.", 험난한 소프트웨어의 발전에 잘 견디는 클래스를 작성하라. (원문:Given that things will change, writeclasses that can withstand the rough-and-tumble world of software evolution.) "demand-paged"의 가상 함수를 피하라. 다른 이가 만들어 놓지 않으면, 너도 만들 방법이 없는 그런 경우를 피하라.(모호, 원문:Avoid "demand-paged" virtual functions, whereby you make no functions virtual unless somebody comes along and demands that you do it) 대신에 함수의 ''meaning''을 결정하고, 유도된 클래스에서 새롭게 정의할 것인지 판단하라. 그렇게 되면, 가상(virtual)으로 선언해라, 어떤 이라도 재정의 못할지라도 말이다. 그렇지 않다면, 비가상(nonvirtual)으로 선언해라, 그리고 차후에 그것을 바꾸어라 왜냐하면 그것은 다른사람을 편하게 하기 때문이다.;전체 클래스의 목적에서 변화를 유지하는지 확신을 해라.
         원리를 구현하기 위해 특이하게 하지 마라.:연산자와 함수를 자연스럽고 명시적인 문법으로 제공하라. built-in(기본 자료) 형으로 구현하라:의심될때는 int로 하라
         당신의 코드를 변화가 필요할때, 그 효과를 지역화(지역화:localized) 시키도록 디자인 해라. 가능한한 캡슐화 하여라:구체적인 구현은 private 하라. 광범위하게 적용해야 할곳이 있다면 이름없는(unamed) namespace나, file-static객체 나 함수(Item 31참고)를 사용하라. 가상 기초 클래스가 주도하는 디자인은 피하라. 왜냐하면 그러한 클래스는 그들로 부터 유도된 모든 클래스가 초기화 해야만 한다. - 그들이 직접적으로 유도되지 않은 경우도(Item 4참고) if-than-else을 개단식으로 사용한 RTTI 기반의 디자인을 피하라.(Item 31참고) 항상 클래스의 계층은 변화한다. 각 코드들은 업데이트 되어야만 한다. 그리고 만약 하나를 읽어 버린다면, 당신의 컴파일러로 부터 아무런 warning를 받을수 없을 것이다.
         class String {
          ~string();
          string name;
         상업용 클래스 라이브러리(C++표준 라이브러리 상의 string 스펙의 날짜를 앞당기려는 회사)는 가상 파괴자를 가지고 있지 않은 sting클래스를 포함한다. 그 벤더의 설명은?
          * 우리는 가상 파괴자를 만들지 않는다. 왜냐하면, String가 vtbl을 가지기를 원하지 않기 때문이다. 우리는 String*를 가지게할 의도는 없다. 그래서 이는 문제가 되지 않는다. 우리는 이것이 수반하는 어려움에 대하여 생각하지 않는다.
         확실히 vtbl 문제는 합법적인 접근이다. (Item 24참고) 대다수 String클래스의 구현에서 오직 하나의 char*를 각각의 String 객체가 가지고 있다. 그래서 각 String객체에 추가되는 vptr도 두배의 양을 차지한다. 허용하지 않으려는 이유는 이해하기 쉽다. String같은 클래스를 무겁게 사용하면 눈에 띠는 성능 저하가 있다. 앞서 언급한 경우 클래스당 성능 저하는 약 20%정도를 가지고 온다. (Item 16참고)
         어떤 것이 더 많은 문제를 일으키는 것으로, 밴더들의 주목을 받고 있을까? "우리는 String*을 사용하는 목적을 가지지 않는다. 그래서 이는 별 문제가 되지 않는다." 그건 아마 사실일 것이다. 하지만 그들의 String클래스는 수많은 개발자들이 사용가능한 것이다. 수많은 개발자들이 C++의 수준이 제각각이다. 이러한 개발자들이 String상에서의 비가상 파괴자(no virtual destructor)를 이해할까? 그들이 비가상 파괴자를 가진 String때문에 String으로 유도된 새로운 클래스가 모험 비슷한 것을 알고 있을까? 이런 벤더들은 그들의 클라이언트들이 가상 파괴자가 없는 상태에서 String*를 통하여 삭제가 올바르게 작동하지 않고, RTTI와 String에 대한 참조가 아마 부정확한 정보를 반환한다는걸 확신시킬까? 이 클래스가 정확히 쓰기 쉬운 클래스일까? 부정확하게 쓰기 어려운 클래스일까?
         이 벤더는 물론 String클래스에 관한 유도해서는 안되도록 디자인 된 문서들을 제공할 것이다. 하지만, 프로그래머들이 문서를 보는 도중에 그 부분을 놓쳤다면 어떻게 하겠는가?
         대안으로 C++을 사용할때 유도를 제한해 버리는 것이다. Item 26에서 어떻게 객체를 heap에 만들거고 auto_ptr객체로 heap객체를 조정하는 방법에 관해서 언급하였다. String을 위한 인터페이스 생성은 아마 독특하고 불편한 다음과 같은 문법 을 요구한다.
         auto_ptr<String> ps(String::makeString("Future tense C++"));
         String s("Future tense C++");
         하지만 정확하지 않게 동작하는 유도된 클래스의 사용을 억제하는 것은 문법적으로 상당히 불편함을 낳는다. (String에서 이런 문법적으로 불편한 면이 그리 강조되지 않다. 그렇지만 다른 클래스에서 이러한 문법적인 불편함을 따지는 면이 중요하다.)
         물론, 필요하다면 현재 감안하는 생각으로 접근한다. 당신이 개발중인 소프트웨어는 현재의 컴파일러에서 동작해야만 한다.;당신은 최신의 언어가 해당 기능을 구현할때까지 기다리지 못한다. 당신의 현재 가지고 있는 언어에서 동작해야 하고. 그래서 당신의 클라이언트에서 사용 가능해야 한다.;당신의 고객에게 그들의 시스템을 업그레이드 하거나, 수행 환경을(operating environment) 바꾸게 하지는 못할것이다. 그건은 '''지금''' 수행함을 보증해야 한다.;좀더 작은, 좀더 빠른 프로그램에 대한 약속은 라이프 사이클을 줄이고, 고객에게 기대감을 부풀릴 것이다. 그리고 당신이 만드는 프로그램은 '''곧''' 작동해야만 한다. 이는 종종 "최신의 과거"를 만들어 버린다. 이는 중요한 속박이다. 당신은 이를 무시할수 없다.
  • AcceleratedC++/Chapter7 . . . . 244 matches
         = Chapter 7 Using associative containers =
         기존에 이용한 vector, list는 모두 push_back, insert를 이용해서 요소를 넣어주었을 때,
         (예를 들자면 WikiPedia:Binary_search_tree, WikiPedia:AVL_tree 와 같이 최적화된 알고리즘을 통해서 우리는
         == 7.1 Containers that support efficient look-up ==
         || '''연관컨테이너(Associative Container)''' || 요소들을 삽입한 순서대로 배열하지 않고, 요소의 값에 따라 삽입 순서를 자동적으로 조정한다. 따라서 검색알고리즘의 수행시 기존의 순차컨테이너 이상의 성능을 보장한다. ||
         == 7.2 Counting words ==
         #include <iostream>
         #include <map>
         #include <string>
         using std::cin;
         using std::cout;
         using std::endl;
         using std::map;
         using std::string;
         int main()
          string s;
          map<string, int> counters; // store each word and an associated counter
          // read the input, keeping track of each word and how often we see it
          while (cin >> s)
          for (std::map<string, int>::const_iterator it = counters.begin();
  • 새싹교실/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 함수 사용
  • 2002년도ACM문제샘플풀이/문제A . . . . 227 matches
         #include <iostream>
         using namespace std;
         struct POINT
          int x, y;
         int numOfData;
         POINT inputData[10][4];
         int outputData[10];
         #define max(a,b) (a > b) ? a : b
         #define min(a,b) (a < b) ? a : b
         void input()
          cin >> numOfData;
          for(int i=0;i<numOfData;i++)
          for(int j=0;j<4;j++)
          cin >> inputData[i][j].x;
          cin >> inputData[i][j].y;
          POINT maxPoint, minPoint;
          int overlappedRect;
          for(int i=0;i<numOfData;i++) {
          maxPoint.x = max(inputData[i][0].x,inputData[i][2].x);
          maxPoint.y = max(inputData[i][0].y,inputData[i][2].y);
  • 새싹교실/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
  • 새싹교실/2012/AClass/3회차 . . . . 223 matches
         -#include<stdio.h>
         int main()
          int a,b;
          printf("%d",a+b);
         -#include<stdio.h>
         int main()
         int a,b;
         printf("%d %d",a/b,a%b);
         -#include<stdio.h>
         int main()
         printf("%g ",a*b/2);
         -#include<stdio.h>
         int main()
         printf("%.2f ",c*c*3.14);
         -#include<stdio.h>
         int main()
         printf("%.3f ",(float)(n1+n2+n3)/3);
         -#include<stdio.h>
         void swap(int *a,int *b);
         int main()
  • MedusaCppStudy/석우 . . . . 216 matches
         #include <iostream>
         using std::cout;
         using std::endl;
         using std::cin;
         int square();
         int triangle();
         int main()
         int square()
          int length;
          cin >> length;
          for (int rows = 0 ; rows < length ; rows++)
          for (int cols = 0 ; cols < length ; cols++)
         int triangle()
          int side;
          cin >> side;
          for (int r = 0 ; r < side ; r++)
          for (int c = 0 ; c < 2 * side ; c++)
         #include <algorithm>
         #include <iostream>
         #include <vector>
  • AseParserByJhs . . . . 212 matches
         //#define OBJECT_BEGIN "*NODE_TM"
         #define OBJECT_BEGIN "*GEOMOBJECT"
         #define OBJECT_NAME "*NODE_NAME"
         #define OBJECT_POS "*TM_POS"
         #define NUM_VERTEX "*MESH_NUMVERTEX"
         #define NUM_FACES "*MESH_NUMFACES"
         #define NUM_TVERTEX "*MESH_NUMTVERTEX"
         #define NUM_TFACES "*MESH_NUMTVFACES"
         #define NUM_TEXTURE "*MATERIAL_COUNT"
         #define VERTEX_LIST "*MESH_VERTEX_LIST"
         #define VERTEX "*MESH_VERTEX"
         #define FACE_LIST "*MESH_FACE_LIST"
         #define FACE "*MESH_FACE"
         #define NORMALS "*MESH_NORMALS"
         #define FACE_NORMAL "*MESH_FACENORMAL"
         #define NVERTEX "*MESH_VERTEXNORMAL"
         #define TVERTEX "*MESH_TVERT"
         #define TFACE "*MESH_TFACE"
         #define TEXTURE "*BITMAP"
         #define TEXTURE_ID "*MATERIAL_REF"
  • 오목/진훈,원명 . . . . 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_)
  • AcceleratedC++/Chapter13 . . . . 202 matches
         = Chapter 13 Using inheritance and dynamic binding =
         == 13.1 Inheritance ==
         '''상속(inheritance)'''
          std::string name() const;
          std::string n;
          double midterm, final;
         class Grad:public Core { // 구현(implementation)의 일부가 아닌 인터페이스(interface)의 일부로서 상속받는다는 것을 나타냄.
         Grad 클래스는 Core로 부터 파생되었다(Derived from), 상속받았다(inherits from), 혹은 Core는 Grad의 base class 이다 라는 표현을 사용한다.
          std::string name() const;
          double midterm, final;
          std::string n;
         string Core::name() const { return n; }
          return ::grade(midterm. final, homework);
         istream& Core::read_common(istream& in) {
          in>>n>>midterm>>final;
          return in;
         istream& Core::read(istream& in) {
          read_common(in);
          read_hw(in, homework);
          return in;
  • SpiralArray/Leonardong . . . . 197 matches
         현재는 행렬 구성이 비효율적이다. 움직였던 기록을 가지고 행렬을 구성하기를 반복한다.이것을 수정할 때 좀더 효율적으로 작동하게 만들어야겠다. Mover클래스, Array클래스의 종료검사, 테스트 케이스는 확실히 Refactoring이 필요하다.
          def move(self, coordinate, board):
          if ( board.isWall( self.next(coordinate) ) ):
          return coordinate
          return self.next(coordinate)
          def next(self, coordinate):
          return (coordinate[ROW] + 1, coordinate[COL])
          def next(self, coordinate):
          return (coordinate[ROW] - 1, coordinate[COL])
          def next(self, coordinate):
          return (coordinate[ROW], coordinate[COL] + 1 )
          def next(self, coordinate):
          return (coordinate[ROW], coordinate[COL] - 1 )
          def __init__(self):
          def isWall( self, coordinate ):
          if ( coordinate[ROW] < self.start ):
          elif ( coordinate[ROW] >= self.end ):
          elif ( coordinate[COL] < self.start ):
          elif ( coordinate[COL] >= self.end ):
          def __init__(self):
  • 몸짱프로젝트/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);
  • RandomWalk/임인택 . . . . 187 matches
         #include <iostream>
         #include <ctime>
         #include <cstdlib>
         using namespace std;
         int direction_x[]={-1,0,1,1,1,0,-1,-1};
         int direction_y[]={1,1,1,0,-1,-1,-1,0};
         int board[40][20]; // maximum size of the board is : 40x20
         int sizeX, sizeY, xPos, yPos, NumOfBlock, loop=0;
         const int DIRECTION = 8;
         void input();
         void init_board();
         int main()
          init_board();
          input();
         void init_board()
          for(int i=0; i<sizeX; i++)
          for(int j=0; j<sizeY; j++)
          int k;
          // initial point
          continue;
  • 1002/Journal . . . . 184 matches
         추후 ["Refactoring"] & 다른 위키 페이지에 해당 지식 분양용.
          * 사람수대로 retrofitting 인쇄하기 -> 6부 인쇄하기 - O
          * Retrofitting UT 발표준비
          * dot plotting
          * index card 내용 정리하기
          ~ 11 : 20 retrofitting 인쇄
          ~ 11 : 30 internet 돌아다니기
          ~ 1 : 06 retrofitting 공부 & 이해
          ~ 2 : 16 (지하철) using singleton wisely 읽고 이해
          ~ 2 : 42 (지하철) retrofitting 읽기 & 이해
          * 규영이형이 Working Effectivly With Legacy Code 발표할때를 보면서 그 격에 있어 현격함을 느낌.
         책을 8권 정도 샀다. Input 대비 Output 비율이 이전보다 조금이나마 높았으면 한다.
         읽기 준비 전 Seminar:ThePsychologyOfComputerProgramming 이 어려울 것이라는 생각이 먼저 들어서, 일단 영어에 익숙해져야겠다는 생각이 들어서 Alice in wonderland 의 chapter 3,4 를 들었다. 단어들이 하나하나 들리는 정도. 아직 전체의 문장이 머릿속으로 만들어지진 않는 것 같다. 단어 단위 받아쓰기는 가능하지만, 문장단위 받아쓰기는 힘든중.
         도서관에서 이전에 절반정도 읽은 적이 있는 Learning, Creating, and Using Knowledge 의 일부를 읽어보고, NoSmok:HowToReadaBook 원서를 찾아보았다. 대강 읽어봤는데, 전에 한글용어로는 약간 어색하게 느껴졌던 용어들이 머릿속에 제대로 들어왔다. (또는, 내가 영어로 된 책을 읽을때엔 전공책의 그 어투를 떠올려서일런지도 모르겠다. 즉, 영어로 된 책은 약간 더 무겁게 읽는다고 할까. 그림이 그려져 있는 책 (ex : NoSmok:AreYourLightsOn, 캘빈 & 홉스) 는 예외)
         일단, 좀 쉬운 책들에 대해 어느정도 Input 이 좀 들어왔으니 괜찮겠지 하고 책을 읽었다.
          책을 읽으면서 '해석이 안되는 문장' 을 그냥 넘어가버렸다. 즉, NoSmok:HowToReadaBook 에서의 첫번째 단계를 아직 제대로 못하고 있는 것이다. 그러한 상황에서는 Analyicial Reading 을 할 수가 없다.
          * 그렇다면, 어떻게 NoSmok:HowToReadaBook 이나 'Learning, Creating, and Using Knowledge' 은 읽기 쉬웠을까?
          * 사전지식이 이미 있었기 때문이라고 판단한다. NoSmok:HowToReadaBook 는 한글 서적을 이미 읽었었고, 'Learning, Creating, and Using Knowledge' 의 경우 Concept Map 에 대한 이해가 있었다. PowerReading 의 경우 원래 표현 자체가 쉽다.
          * 현재 내 영어수준을 보건데, 컴퓨터 관련 서적 이외에 쉽고 일상적인 책들에 대한 Input 이 확실히 부족하다. 영어로 된 책들에 대해서는 좀 더 쉬운 책들을 Elementary Reading 단계부터 해봐야겠다.
          * Seminar:ReadershipTraining
  • Kongulo . . . . 181 matches
         #!/usr/bin/env python
         # Copyright (c) 2005, Google Inc.
         # Redistribution and use in source and binary forms, with or without
         # modification, are permitted provided that the following conditions are
         # * Redistributions of source code must retain the above copyright
         # notice, this list of conditions and the following disclaimer.
         # * Redistributions in binary form must reproduce the above
         # copyright notice, this list of conditions and the following disclaimer
         # in the documentation and/or other materials provided with the
         # * Neither the name of Google Inc. nor the names of its
         # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
         # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
         # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
         # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
         # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
         # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
         # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
         import win32com.client
         import pywintypes
         '''A simple web crawler that pushes pages into GDS. Features include:
  • OOP/2012년스터디 . . . . 181 matches
         #include <turboc.h>
         #include <math.h>
         #define CELL 3
          int M;
          int D;
         int mCode[15]={0,6,2,2,5,0,3,5,1,4,6,2,4,5,1};
         int mEnd[13]={29,31,28,31,30,31,30,31,30,30,31,30,31};
         void CalLeafYear(int year);
         int CalDay(int year,int month, int date);
         int PrintOutMonth(int year,int month,int line);
         int isEvent(int month, int date);
         int main()
          int year;
          int i;
          int nLine=0;
          int eMonth,eDate;
          int count=0;
          printf("Year : ");
          nLine=PrintOutMonth(year,i,nLine);
          nLine++;
  • 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)
  • 새싹교실/2012/AClass/4회차 . . . . 181 matches
          11.이번시간에 배웠던 내용을 바탕으로, int* a; int b; int **c;로 선언했을때 &c,c,*c,&a,a에 관해서 각각 설명하고, 어떤 것이 어떤 것과 일치하는 것인지를 이해할 수 있도록 쉬운말로 정리해보세요.
          int* a;
         int b=5;
         int** c;
          printf("%d %d",*c,**c);
         -해설 : 우선 int형 자료형을 가진 데이터의 주소를 가리키는 포인터로 a지정, b의 값에 5를 지정, 포인터의 주소를 가리키는 c를 지정하였다. a의 주소를 이중 포인터 c에 주었다. b의 주소는 포인터 a에 할당하였다. 그리고 이중포인터c에 값을 9로 주었다. 이것은 원래의 a의 주소값을 갖고 있던 c에 9를 대체해준 것이다. 따라서 프린트 *c,**c를 하면 a의 주소와 9가 출력이 된다.
         - c언어에서는 char,int,float 와 같은 많은 수의 기본 데이터 형과 배열, 포인터, 구조체 등의 유도된 데이터형으로부터 새로운 데이터형을 만들 수 있는데, 사용자 측면에서 새로운 데이터 형을 정의 할 수 있도록 typedef선언을 제공한다. typedef은 #define과 달리 이미 존재하는 c언어의 데이터 형만을 취하여 정의하고 typedef은 프리프로세서에 의해 처리되는 것이 아니라 c컴파일러에 의해 처리된다. 또한 #define보다 다양한 형태의 치환이 가능하다.
         #include <stdio.h>
         void main()
          printf("name=%s \n",name);
          printf("color=%s \n",color);
          구조체 내부에 char 배열을 사용해서 이름을 넣어도 좋고, 학번을 int형으로 넣어도 좋다.
         #include<stdio.h>
         int age;
         int main()
         int i;
         printf("age : %d\n name : %s \n",stu[i].age,stu[i].name);
         {{{#include <stdio.h>
         int main()
          int a[6][6];
  • Garbage collector for C and C++ . . . . 176 matches
          * 유닉스나 리눅스에서는 "./configure --prefix=<dir>; make; make check; make install" 으로 인스톨 할수 있다.
          * GNU-win32 에서는 기본으로 있는 Makefile 을 사용하면된다.
          * win32 쓰레드를 지원하려면 NT_THREADS_MAKEFILE 을 사용한다. (gc.mak 도 같은 파일 이다.)
          * 예) nmake /F ".gc.mak" CFG="gctest - Win32 Release"
          * WinXP, MinGW, Msys
          * -DGC_OPERATOR_NEW_ARRAY -DJAVA_FINALIZATION 을 CFLAGS 에 추가.
          * Windows NT 나 Windows 2000 에서 문제가 발생한다면 -DUSE_GLOBAL_ALLOC 나 -DUSE_MUNMAP 옵션을 사용하여 컴파일 한다.
         # -DSILENT disables statistics printing, and improves performance.
         # -DFIND_LEAK causes GC_find_leak to be initially set.
         # This causes the collector to assume that all inaccessible
         # Finalization and the test program are not usable in this mode.
         # (Clients should also define GC_SOLARIS_THREADS and then include
         # gc.h before performing thr_ or dl* or GC_ operations.)
         # Must also define -D_REENTRANT.
         # (Internally this define GC_SOLARIS_THREADS as well.)
         # -DGC_LINUX_THREADS enables support for Xavier Leroy's Linux threads.
         # see README.linux. -D_REENTRANT may also be required.
         # Appeared to run into some underlying thread problems.
         # -DALL_INTERIOR_POINTERS allows all pointers to the interior
         # Alternatively, GC_all_interior_pointers can be set at process
  • MoinMoinFaq . . . . 175 matches
         '''Index'''
         is a database of pages that can be collaboritively edited using a web
         === What is a ''MoinMoin''? ===
         A Moin''''''Moin is a wiki provided by the python wiki program Moin''''''Moin.
         [http://www.lineo.com/ Lineo]
         we have put up a wiki on our internal web site with
         convey information. Other pages are an open invitation for discussion
         In general, a wiki is very much a free-form tool, whose
         value derives from the use to which it is put. For instance, a page in
         Wikis are used internally by the guys who write [http://www.zope.org/ Zope]
          * ability to add new information or modify existing information
         A Wiki can accomplish certain things very easily, but there are
         some things it cannot do. The biggest missing
         feature is some kind of access control, to allow only certain groups
         to see and manipulate informatin.
         === What about Wiki security? Isn't a Wiki subject to complete wipeout or nastiness from a saboteur? ===
         This is an important question. In general, wiki's have
         There are two main ways to devalue a wiki. One is through erasure
         and the other is through corruption. Dealing with erasure is not terribly
         maintained in a location inaccessible to web users. Thus, when page
  • MineFinder . . . . 173 matches
          * 이름 : Mine Finder
          * 시스템 : 듀론 1G 256RAM WIN 2000
          * '눈' 해당 부분 - 지뢰찾기 프로그램으로부터 비트맵을 얻어 데이터로 변환하는 루틴 관련부. 현재 bitmap 1:1 matching 부분이 가장 부하가 많이 걸리는 부분으로 확인됨에 따라, 가장 개선해야 할 부분.
          * 추후 DP 로 확장된다면 StrategyPattern 과 StatePattern 등이 이용될 것 같지만. 이는 추후 ["Refactoring"] 해 나가면서 생각해볼 사항. 프로그램이 좀 더 커지고 ["Refactoring"] 이 이루어진다면 DLL 부분으로 빠져나올 수 있을듯. ('빠져나와야 할 상황이 생길듯' 이 더 정확하지만. -_-a)
          * Main Design, Algorithm 1차 완성. 어느정도 Refactoring의 추구.
          * Begineer mode 최고기록 1초, 평균 4-7초.
         [해성] 오오.. Artificial Intelligence.. -_- 근데 저 스펠링이 맞나..[[BR]]
         == Opening ==
          * 기본적으로는 Begineer Mode 만을 지원한다.
          * CppUnit - 이번 플밍때 윈도우 메세지 관련 처리에 대해서는 코드를 작성못했다. (이 부분에 대해서는 전통적인 Manual Test방법을 쓸 수 밖에. GUI Testing 관련 글을 더 읽어봐야 겠다. 아직 더 지식이 필요하다.) 단, 나중에 비트맵 분석부분 & Refactoring 시에 TFP 를 할 수 있게 되었다.
         지뢰찾기 프로그램의 윈도우클래스 이름이 '지뢰 찾기' 였다. 윈도우 OS 의 특징상 해당 윈도우 핸들간 메세지의 발생에 따라 해당 윈도우프로시저에서 처리가 된다. 해당 윈도우 핸들은 윈도우 클래스 이름을 아는 이상 FindWindow 함수를 이용해서 찾으면 될 것이다.
         beginner 에 해당하는 메뉴클릭시 발생하는 메세지는 WM_COMMAND 이고, ID는 wParam 으로 521이 날라간다. 즉, 해당 메뉴의 ID가 521 인 것이다. (우리는 컨트롤 아이디를 쓰지만 이는 resource.h 에서 알 수 있듯 전부 #define 매크로 정의이다.) 각각 찾아본 결과, 521,522,523 이였다.
          * [http://zeropage.org/~reset/zb/download.php?id=KDP_board_image&page=1&page_num=20&category=&sn=&ss=on&sc=on&keyword=&prev_no=&select_arrange=headnum&desc=&no=57&filenum=1 1차일부분코드] - 손과 눈에 해당하는 부분 코드를 위한 간단한 예제코드들 모음. 그리고 지뢰찾기 프로그램을 제어하는 부분들에 대해 Delegation 시도. (CMinerControler 클래스는 처음 '막 짠' 코드로부터 지뢰찾기 제어부분 함수들을 클래스화한것임)
         == User Story & Engineering Task ==
          * 기본적으로는 Begineer Mode 만을 지원한다.
          * 유의 : 이때는 Windows ME, Windows 2000 이상에서만 실행가능하다. (지뢰찾기 비트맵이 98과 다르다)
         || CMinerBitmapAnalyzer || 비트맵을 분석, 데이터화한다. ||
         || CMinerController || 지뢰찾기 프로그램에 대한 화면 캡쳐, 모드변환, 버튼 클릭 등의 제어를 한다 ||
         || CMineSweeper || 실질적인 두뇌에 해당되는 부분. CMinerController 와 CMinerBitampAnalyzer 를 멤버로 가지며, 이를 이용하여 게임상황분석, 지뢰찾기관련 판단 등을 한다 ||
         일종의 애니메이션을 하는 캐릭터와 같다. 타이머가 Key Frame 에 대한 이벤트를 주기적으로 걸어주고, 해당 Key Frame 에는 현재 상태에 대한 판단을 한뒤 동작을 한다. 여기서는 1초마다 MineSweeper 의 동작을 수행하게 된다.
  • 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;
  • C/C++어려운선언문해석하기 . . . . 171 matches
         원문 : How to interpret complex C/C++ declarations (http://www.codeproject.com/cpp/complex_declarations.asp)
         간혹 int * (* (*fp1) (int) ) [10]; 과 같은 선언문이나 혹은 이와 유사하게 난해한 선언문을 볼 기회가 있습니까? 이 글은 이런 C/C++
         int a;
         위의 문장은 '변수 n 을 int 형으로 선언한다'라고 해석할 수 있습니다.
         int *p;
         '변수 p를 int *형으로 선언한다' 라고 해석할 수 있고 다시 말하면 '변수 p를 int형을 가리키는 포인터로 선언한다'라고 할 수 있습니
         다. 여기서 잠깐 샛길로 빠져서 포인터 연산자(*) 또는 참조 연산자(&)는 변수 형 (int)에 붙이는 것 보다 변수(p)에 붙이는것이 항상
         int* p,q;
         위의 선언문을 처음 보게 되면 변수 p와 변수 q가 마치 int를 가리키는 포인터형 (int *) 변수로 선언된 것 처럼 보입니다. 하지만 사실
         변수 p만 int를 가리키는 포인터형으로 선언되었고 변수q는 int형으로 선언된 것입니다. (역자주: int *p; int *q; 처럼 각각 따로 선언
         int RollNum[30][4];
         int (*p)[4]=RollNum;
         int *q[5];
         변수 p는 int형을 요소로 하는 크기가 4인 배열을 가리키는 포인터(a pointer to an array of 4 ints)이며, 변수 q는 int형 포인터를 요
         소로 하는 크기가 5인 배열(an array of 5 pointer to integers) 입니다.
         const int n = 5;
         int const m = 10;
         const int *p;
         int const *q;
         그럼 여기서 퀴즈, const int형을 가리키는 포인터와 int형을 가리키는 const 포인터를 구별해보세요.
  • 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;
  • InvestMulti - 09.22 . . . . 168 matches
         nations={'KOREA':0 ,'JAPAN':700 , 'CHINA':300, 'INDIA':100}
         items={'INT':400 , 'DOUBLE':800}
          print '*'*25
          print '1. Current Nation states '
          print '2. My business '
          print '3. Move to another Nation '
          print '4. Invest to this Nation '
          print '5. View Ranking '
          print '6. Earn Money '
          print '*'*25
          print '*'*10
          print '1. JAPAN '
          print '2. CHINA '
          print '3. INDIA '
          print '*'*10
          select = input('Select Menu -->')
          user[t2] = 'CHINA'
          user[t2] = 'INDIA'
         def Invest():
          print 'Current Nation is : ',user[t2]
  • MoreEffectiveC++/Efficiency . . . . 166 matches
         '''80-20 규칙''' 이란? 프로그램의 80%의 리소스가 20%의 코드에서 쓰여진다.:실행 시간의 80%가 대략 20%의 코드를 소모한다;80%의 메모리는 어떤 20%의 코드에서 쓴다.;80%의 disk 접근은 20%의 코드에서 이루어진다.:80%의 소프트웨어 유지의 노력은(maintenance effort)는 20%의 코드에 쏟아 부어진다.[[BR]]
         80-20 규칙은 수많은 기계에서, 운영체제(Operating System)에서, 그리고 어플리케이션에서 적용된다. 80-20 규칙은 단지 재미있는 표현보다 더 많은 의미가 있다.;그것은 광범위하고, 실질적인 개념이 필요한 시스템의 성능(능률)에 개선 대한 기준점을 제시한다.
         이런 결과들을 막는데 최선책은 당신의 소프트웨어에 가능한한 많은 데이터 들에게 프로파일을 시도하는것이다. 게다가 당신은 각 데이터들이 소프트웨어가 그것의 클라이언트들(혹은 최소한 가장 중요한 클라인트들에게라도)에게 사용방식을 잘 보여주도록 확신할수 있어야만 한다. 잘표현되는 데이터들은 얻기가 용이하다 왜냐하면 프로파일링 중에는 당신이 그들의 데이터를 사용할수 있기때문에 많은 클라이언트들이 좋기 때문이다. (뭔소리야. --;) 당신은 당신의 소프트웨어를 그들과 만나면서 조정(tuning)을 할것이고, 그것이 오직 당신이나 클라이언트들 양쪽에게 좋은 방법이다.
         == Item 17:Consider using lazy evaluation ==
         능률(efficiency)의 관점에서 최고의 계산은 결코 아무것도 수행하지 않는것이다. 말이 좀 이상한가? 생각해 봐라 당신이 어떤 일도 필요없을때 이건 맞는거다. 왜 당신은 당신의 프로그램안에서 가장 처음에 그것을 수행하려 하는가? 그리고 만약 당신이 어떤 일을 수행하기를 원할때 당신은 그 코드의 실행(excuting)을 피할수는 없을까?
          === Reference Counting (참조 세기) ===
          class String { ... }; // 문자열 클래스 (이건 밑의 언급과 같이 표준 스트링 타입과
          String s1 = "Hello";
          String s2 = s1; // String 복사 생성자를 부른다.
         String 복사 생성자의 적용시, s2는 s1에 의하여 초기화 되어서 s1과 s2는 각각 "Hello"를 가지게된다. 그런 복사 생성자는 많은 비용 소모에 관계되어 있는데, 왜냐하면, s1의 값을 s1로 복사하면서 보통 heap 메모리 할당을 위해 new operator(Item 8참고)를 s1의 데이터를 s2로 복사하기 위해 strcpy를 호출하는 과정이 수행되기 때문이다. 이것은 ''''eager evaluation''''(구지 해석하면 '''즉시 연산''' 정도 일것이다.) 개념의 적용이다.:s1의 복사를 수행 하는 것과, s2에 그 데이터를 집어넣는 과정, 이유는 String의 복사 생성자가 호출되기 때문이다. 하지만 여기에는 s2가 쓰여진적이 없이 새로 생성되는 것이기 때문에 실제로 s2에 관해서 저런 일련의 복사와, 이동의 연산의 필요성이 없다.
         이와 같은 구문의 사용으로, String의 convertToUpperCase 함수를 적용하면, s2의 값의 복사본을 만들어야 하고, 수정되기전에 s2에 그걸 s2의 종속되는 데이터로 만들어야 한다. convertToUpperCase 내부에 우리는 lazy 상태가 더이상 지속되지 않도록 하는 코드를 넣어야 한다.:s2가 마음대로 다룰수 있도록 s2의 공유된 값의 사본을 복사해야 한다. 반면에 만약 s2가 결코 수정되지 않을 것이라면, 이러한 s2만의 값을 복사하는 일련의 과정이 필요 없을 것이다. 그리고 s2가 존재하는 만큼 값도 계속 존재해야 한다. 만약 더 좋게, s2가 앞으로 결코 변하지 않는다면, 우리는 결코 그것의 값에 대한 노력을 할필요가 없을 것이다.
          === Distinguishing Read from Writes ( 읽기와 쓰기의 구분 ) ===
         reference-counting 을 토대로한 문자열의 구현 예제를 조금만 생각해 보면 곧 lazy evaluation의 방법중 우리를 돕는 두번째의 것을 만나게 된다. 다음 코드를 생각해 보자
          String s = "Homer's Iliad"; // 다음 문자열이 reference-counting으로
         첫번째 operator[]는 문자열을 읽는 부분이다,하지만 두번째 operator[]는 쓰기를 수행하는 기능을 호출하는 부분이다. 여기에서 '''읽기와 쓰기를 구분'''할수 있어야 한다.(distinguish the read all from the write) 왜냐하면 읽기는 refernce-counting 구현 문자열로서 자원(실행시간 역시) 지불 비용이 낮고, 아마 저렇게 스트링의 쓰기는 새로운 복사본을 만들기 위해서 쓰기에 앞서 문자열 값을 조각내어야 하는 작업이 필요할 것이다.
          === Lazy Fetching ( 늦은 가져오기) ===
          cosnt string& field1() const; // 필드상의 값1
          int field2() const; // 필드상의 값2
          const string& field4() const;
          const string& field5() const;
  • AcceleratedC++/Chapter6 . . . . 164 matches
         = Chapter 6 Using Library Algorithms =
          == 6.1 Analyzing strings ==
         ret.insert(ret.end(), bottom,begin(), bottom.end());
         copy(bottom.begin(), bottom.end(), back_inserter(ret));
          * 음. 또 새로운 것이 보이지 않는가? copy는 generic algorithm의 예이고, back_inserter는 반복자 어댑터의 예이다. 이게 무엇인지는 차근차근 살펴보도록 하자.
          * 다음으로 반복자 어댑터(Iterator Adapters)를 살펴보자. 반복자 어댑터는 컨테이너를 인자로 받아, 정해진 작업을 수행하고 반복자를 리턴해주는 함수이다. copy알고리즘에 쓰인 back_inserter는 ret의 뒤에다가 copy를 수행한다는 것이다. 그럼 다음과 같이 쓰고 싶은 사람도 있을 것이다.
         copy(bottom.begin(), bottom.end(), ret.end());
          * 5장에서 공부한 것 중에 주어진 string을 공백을 기준으로 잘라서, vector에다 넣은 다음 리턴해주는 함수가 있었다.(split) 이것을 좀 더 간단히 만들어보자. 앞의 것은 굉장히 알아보기 힘들게 되어있다.
         vector<string> split(const string& str)
          typedef string::const_iterator iter;
          vector<string> ret;
          iter i = str.begin();
          i = find_if(i, str.end(), not_space); // 공백이 아닌 부분을 찾고
          iter j = find_if(i, str.end(), space); // 공백인 부분을 찾아서
          ret.push_back(string(i,j)); // 그만큼의 문자열엘 벡터에 넣음
          * 훨씬 알아보기 쉬워졌다. 5장의 split은 find_if마다 열심히 루프를 돌렸었다. 이제 차근차근 살펴보자.
          * find_if의 인자를 보면, 앞의 두개의 인자는 범위를 의미한다. 첫인자~두번째인자 말이다. 마지막 인자는 bool형을 리턴하는 함수를 넣어준다. 즉 predicater이다. 그러면 find_if는 주어진 범위 내에서 predicator를 만족하는 부분의 반복자를 리턴해 준다.
          * 5장에서는 string(i,j) 대신에, substr이라는 함수를 이용했었는데, 이번에 쓰지 않은 이유는 substr은 반복자를 인자로 받지 않기 떄문이다.
          === 6.1.2 Palindromes ===
          * Palindrome이란 앞에서부터 읽어도 뒤에서부터 읽어도 똑같은 단어를 의미한다.
  • [Lovely]boy^_^/EnglishGrammer/PresentAndPast . . . . 164 matches
         == Unit 1. Present Continuous (I am doing) 현재 진행형 ==
          A. Am/is/are + ~ing : Present Continuous
          ex) Ann is in her car. She is on her way to work. she is driving to work.
          This means) She is driving now, at the time of speaking. The action is not finished.
          B. I am doing something = I'm in the middle of doing something; I've started doing it and I haven't finished yet.
          Often the action is happening at the time of speaking.
          ex) Let's go out now. It isn't raining anymore.
          But the action is not necessarily happening at the time of speaking.
          ex) I'm reading an interesting book at the moment. I'll lend it to you when I've finished it.
          This means) Tom is not reading the book at the time of speaking.
          He means that he has started it but has not finished it yet. He is in the middle of reading it.
          C. We use the present continuous when we talk about things happening in a period around now. (today / this week / tonight, etc..)
          ex) "Is Sarah working this week?"
          We use the present contunuous when we talk about changes happening now or around now.
          ex) The population of the world is rising very fast.
          A. ex) Alex is a bus driver, but now he is in bed asleep.
          This Means) He is not driving a bus. but He drives a bus.
          B. We use the simple present to talk about things in general. We use it to say that something happens all the time
          or repeateldy or that something is true in general. It is not important whether the action is happening at the time of speaking
          In the following examples do is also the main verb( do가 메인 동사로 쓰일때도 있다. )
  • 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 )
  • CSP . . . . 160 matches
         import threading, thread
         import netstring, socket
          def __init__(self):
          def __init__(self,processes):
          Process.__init__(self)
          for each in self.ps:
          threads.append(threading.Thread(target=each.run))
          for each in threads:
          for each in threads:
          each.join()
          def __init__(self,processes):
          Process.__init__(self)
          for each in self.ps:
          def __init__(self,buffer=1):
          def __init__(self,socket):
          v=loads(netstring.readns(self.s)) #block
          netstring.writens(self.s,"ACK")
          netstring.writens(self.s,dumps(v))
          ack=netstring.readns(self.s) #block
          def __init__(self,addr,outstream):
  • OpenGL스터디_실습 코드 . . . . 160 matches
         skyLibrary_include
         = Intro =
         #include <gl/glut.h>
         #include <gl/GL.h>
         #include <gl/GLU.h>
         GLfloat windowWidth;
         GLfloat windowHeight;
         //callback for rendering
         void TimerFunction(int value)
          //if rectangle collision to window x-axis wall, then reverse it's x-axis direction
          if(x1 > windowWidth - rsize || x1 < -windowWidth)
          //if rectangle collision to window y-axis wall, then reverse it's y-axis direction
          if(y1 >windowHeight || y1 < -windowHeight + rsize )
          if(x1 > windowWidth - rsize + xstep)
          x1 = windowWidth - rsize - 1;
          else if(x1 < -(windowWidth + xstep))
          x1 = -windowWidth - 1;
          if(y1 > (windowHeight + ystep))
          y1 = windowHeight - 1;
          else if(y1 < -(windowHeight - rsize +ystep))
  • 새싹교실/2012/startLine . . . . 158 matches
         = 새싹교실/startLine =
          * 입, 출력 함수(printf, scanf)와 테스트 함수(assert).
         int main()
          int num1 , num2 = 1, num3, num4 = 2;
          printf("별을 위해서 숫자를 입력해주세요\n");
          printf("*");
          printf("\n");
          * 서민관 - 제어문의 사용에 대한 수업(if문법, switch.. for...) 몇몇 제어문에서 주의해야 할 점들(switch에서의 break, 반복문의 종료조건등..) 그리고 중간중간에 쉬면서 환희가 약간 관심을 보인 부분들에 대해서 설명(윈도우 프로그래밍, python, 다른 c함수들) 저번에 생각보다 진행이 매끄럽지 않아서 이번에도 진행에 대한 걱정을 했는데 1:1이라 그런지 비교적 진행이 편했다. 그리고 환희가 생각보다 다양한 부분에 관심을 가지고 질문을 하는 것 같아서 보기 좋았다. 새내기들이 C를 배우기가 꽤 힘들지 않을까 했는데 의외로 if문이나 for문에서 문법의 이해가 빠른 것 같아서 좀 놀랐다. printf, scanf나 기타 헷갈리기 쉬운 c의 기본문법을 잘 알고 있어서 간단한 실습을 하기에 편했다.
          * 간단한 이전 시간(if문, 반복문)의 복습과 배열의 사용에 대해 알아보았다. 그리고 이번 시간에 주로 한 내용은 함수가 왜 필요한지와 함수를 만드는 법, 함수를 사용하는 법 등이었다. 개인적으로는 함수를 꽤 중요하게 생각하는 만큼 함수의 필요성을 잘 캐치해 줬으면 좋겠다. 그리고 새삼 드는 생각이지만 환희의 질문이 중요한 부분을 잘 찌른다는 생각이 든다. 별다른 언급도 없었는데 함수 내에서 변수의 scope나 함수 내부의 이름 겹침 등에 대한 질문이 있었다. 그리고 중간에 함수 사용의 예제로 printf문을 약간 이상하게 쓴 코드를 보여줬는데 의외로 감을 잘 잡은 것 같았다. 현재 진행상황으로는 다음에 포인터를 다뤄야 할텐데 함수를 쓰는 것을 조금 더 연습을 시킬지 바로 포인터를 나갈지 고민이다. 당장 포인터를 했다가 어려워하지 않을까 모르겠다. - [서민관]
          * 포인터의 정의, 포인터 변수의 정의, malloc 함수, fflush() 함수, getchar() 함수, 메모리의 heap과 stack 영역, (int)a와 *(*(int a))의 차이, 포인터의 OS별 크기(DWORD 크기를 따라간다. 32bit/64bit),
         void reverseArr(int **arr, int arrLen);
         int arr[10];
          Pointer와 배열 = 둘은 결국 같다.
          * 포인터 2회차. 포인터 변수에 대해서 잠깐 리뷰를 하고 그 후에 구조체와 typedef에 대해서 다루었다. 그리고 구조체를 인자로 받는 함수에 대해서도 다루었다. 그 후에 typedef int* SOMETHING이라는 표현을 써서 이중 포인터에 대해서 이야기를 해 봤는데, 이쪽은 역시 약간 난이도가 있는 것 같다. 특히 int **twoDim에서 twoDim[0]에 다시 malloc을 해 줘야 한다는 부분이 어려운 것 같다. 차근차근 해보자. 개인적으로 성훈이가 가르친 부분들을 잘 따라오려고 한다는 것을 (*s).age에서 느꼈다. ->연산자가 아니라 *연산자 후에 .연산자로 내용물을 참조한다는 것은 나름대로 메모리의 구조를 생각하려고 애를 썼다는 얘기다. 좀 고마웠다. - [서민관]
          * 함수 만들기 실습(isPrime, isPalindromePrime 등).
         int reverse(int number);
          * winapi.co.kr
          * Callback(winapi 이야기하면서) + winapi.co.kr
         void printCalender(int nameOfDay, int year, int month);
         void printDate(int nameOfDay, int endDayOfMonth);
  • 김희성/리눅스계정멀티채팅2차 . . . . 154 matches
         #include<stdio.h>
         #include<stdlib.h>
         #include<string.h>
         #include<unistd.h>
         #include<arpa/inet.h>
         #include<sys/types.h>
         #include<sys/socket.h>
         #include<pthread.h>
         #define BUFF_SIZE 1024
         #define ACCEPT 0
         #define REJECT 1
         #define DISCONNECT -1
         int thread_num[25]; //스레드 번호 (해당 스레드 활성화시 번호 값 + 1, 비활성화시 0)
         int thread_id[25]; //스레드 ID 번호
         int client_socket_array[25]; //클라이언트 소캣, 각 스레드 마다 자신의 번호에 해당하는 소캣 사용
         int id_num;
         int stcmp(char* a,char *b)
          int i;
         int send_i(int client_socket,char* arry)//명령어 전송
          sprintf(buff_snd,"i %s\n",arry);
  • 문제풀이/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 . . . . 152 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_UNIX : 유닉스 방식의 프로토콜 체계 사용 (프로세스간 통신)
         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가 같을까?
  • 새싹교실/2011/AmazingC/과제방 . . . . 151 matches
         #title 새싹교실/2011/AmazingC/과제방
         #include <stdio.h>
         int main()
          int star, row1, row2, blank;
          printf("*");
          printf(" ");
          printf("*");
          printf("\n");
          printf("*");
          printf(" ");
          printf("*");
          printf("\n");
         #include <stdio.h>
         int main()
          int star,blank,row;
          printf(" *\n");
          for(blank=1;blank+row<=10;blank++) printf(" ");
          printf("**");
          for(blank=1;blank<=2*row-1;blank++) printf(" ");
          printf("**\n");
  • 미로찾기/상욱&인수 . . . . 150 matches
         import java.awt.Point;
          public int boardMatrix[][];
          public static int WALL = 0;
          public static int PATH = 1;
          public static int END = 2;
          public static int BLOCK = 3;
          public MazeBoard(int boardMatrix[][]) {
          int x = boardMatrix[0].length;
          int y = boardMatrix.length;
          this.boardMatrix = new int[y+2][x+2];
          for(int i = 0 ; i < x ; ++i)
          for(int j = 0 ; j < y ; ++j)
          public boolean isEndPoint(Point point) {
          return getBoardSymbol(point) == END;
          public boolean isOpened(Point pt) {
          public int getBoardSymbol(Point pt) {
         import java.awt.Point;
          public static final int E = 0;
          public static final int S = 1;
          public static final int W = 2;
  • Android/WallpaperChanger . . . . 149 matches
          * Android의 기본 어플로 장착되어있는 Gallery 어플로 Intent넘긴후 리스트 다시 받아오기.
         == Android의 기본 어플로 장착되어있는 Gallery 어플로 Intent넘긴후 리스트 다시 받아오기 ==
          * http://stackoverflow.com/questions/2169649/open-an-image-in-androids-built-in-gallery-app-programmatically
         import android.content.Intent;
          private static final int SELECT_PICTURE = 1;
          private String selectedImagePath;
          public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
          //Intent i = new Intent(Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
          Intent i = new Intent();
          i.setAction(Intent.ACTION_GET_CONTENT);
          startActivityForResult(Intent.createChooser(i, "Select Picture"), SELECT_PICTURE);
          public void onActivityResult(int requestCode, int resultCode, Intent data) {
          public String getPath(Uri uri) {
          String[] projection = { MediaStore.Images.Media.DATA };
          int column_index = cursor
          .getColumnIndexOrThrow(MediaStore.Images.Media.DATA);
          return cursor.getString(column_index);
         import android.view.WindowManager;
  • 새싹교실/2012/주먹밥 . . . . 149 matches
          * Linux에서 GCC를 사용한 컴파일 시범
          * 박도건 : 캡스톤설계실(208-216)에서 김준석 선배님과, 한원표, 용상훈 동기들과 같이 3월 21일 PM6시에 gcc, Linux, android example, wiki작성법 등을 배웠다. 나랑 비슷해보이는 친구가 있어서 같이 프로젝트 할 수 있을것 같다.
          * 이소라 때리기 게임을 Linux gedit를 사용해 코딩을 시켜봄.
          * printf(), scanf()어떻게 쓰는지 알죠?
          * int, char, float, long, double 변수는 무슨 표현을 위해 만들어졌는지 알려주었습니다. 정수, 문자, 실수. 알죠?
          * #define 선언문의 사용법에 대해 알려주었습니다. #define으로 매크로를 선언해놓으면 편하게 선언 단어를 만들음으로 쓸수있지용? 그 응용에 대해서는 다음에 기회가 되면 알려주겠습니다.
         {{{#!plain cpp
         #include<stdio.h>
         int main() {
         int a,b,c,d;
         printf("%d %d %d",a,b,c);
         #include <stdio.h>
         int main(void)
          int num;
          printf("Input integer.");
          printf("Leap");
          printf("Leap");
          printf("Normal");
         #include<stdio.h>
         int main()
  • RandomWalk2/재동 . . . . 148 matches
          def testStartPoint(self):
          self.assertEquals((0,0),self.reader.getStartPoint())
          self.board.initializeBoard()
          self.board.initializeBoard()
          for i in range(3):
          self.board.initializeBoard()
          file = open(os.path.join(TXT))
          self.data = file.readlines()
          rowLength = int(self.data[0].split()[0])
          colLength = int(self.data[0].split()[1])
          def getStartPoint(self):
          row = int(self.data[1].split()[0])
          col = int(self.data[1].split()[1])
          path.append(int(self.data[2][i]))
          def __init__(self):
          def initializeBoard(self):
          self.board = [[0 for i in range(self.col)] for j in range(self.row)]
          def printBoard(self):
          for row in range(self.row):
          for col in range(self.col):
  • Monocycle/조현태 . . . . 146 matches
         #include <iostream>
         #include <Windows.h>
         #include <vector>
         #include <queue>
         #include <map>
         #include <algorithm>
         using namespace std;
         #define CAN_MOVE_POINT 0
         #define DONT_MOVE_POINT 2
         #define MOVED_POINT 1
         #define MAX_X_SIZE 25
         const int MOVE_PLUS_X[4] = {0, 1, 0, -1};
         const int MOVE_PLUS_Y[4] = {-1, 0, 1, 0};
         vector< vector<int> > g_cityMap;
         struct suchPointData {
          int timeCount;
          int seePoint;
          int seeChangeCount;
          int moveDistance;
          POINT nowPoint;
  • 빵페이지/도형그리기 . . . . 144 matches
         #include <iostream.h>
         void main()
          int num;
          cin >> num;
          for (int i = 1; i < num + 1; i++)
          for (int j = 0; j < i; j++)
          for (int a = num + 1; a > i; a--)
          for (int k = 1; k < num + 1; k++)
          for (int l = num + 1; l > k; l--)
          for (int b = 0; b < k; b++)
          for (int m = 1; m < num + 1; m++)
          for (int n = num; n > m; n--)
          for (int o = 0; o < m; o++)
          for (int p = 1; p < num + 1; p++)
          for (int q = 1; q < p; q++)
          for (int r = num + 1; r > p; r--)
         #include <iostream.h>
         void main()
          int num;
          cin >> num;
  • 경시대회준비반/BigInteger . . . . 143 matches
         C++ 용 BigInteger 클래스로 거의 모든 연산을 지원한다. UVA 사이트의 구식(?) 컴파일러에도 문제없이 통과할 뿐 아니라, 성능또한 훌륭하다. 고정도 정수 연산을 하는 문제의 경우, 고정도 연산을 하는 라이브러리를 본인이 직접 짜거나, 이 클래스를 이용하면 된다. 몇 일동안 삽질한 결과 후자가 낫다는 판단이 선다. 되게 잘 짜여진 코드다. 시간 내서 분석해봐야 겠다.
         * BigInteger Class
         * provided that the above copyright notice appear in all copies and
         * in supporting documentation. Mahbub Murshed Suman makes no
         #include <iostream>
         #include <cstdlib>
         #include <cstdio>
         #include <cctype>
         #include <malloc.h>
         #include <cmath>
         #include <cstring>
         #include <ctime>
         #include <strstream>
         #include <string>
         #include <stdexcept>
         using namespace std;
          enum BigMathERROR { BigMathMEM = 1 , BigMathOVERFLOW , BigMathUNDERFLOW, BigMathINVALIDINTEGER, BigMathDIVIDEBYZERO,BigMathDomain};
          const char *BigIntErrDes[] = { "Allocation Failed", "Overflow","Underflow", "Invalid Integer", "Divide by Zero" ,"Domain Error"};
          const char BigIntPROGRAMNAME[] = { "BigInteger" };
          const int BigIntMajorVersion = 6;
  • EightQueenProblem/kulguy . . . . 141 matches
          public static void main(String[] args)
          QueensProblem problem = new QueensProblem(Integer.parseInt(args[0]));
          System.out.println("소요시간(ms) = " + String.valueOf(System.currentTimeMillis() - start));
          System.out.println("가능한 해답 = " + String.valueOf(problem.getSuccessNum()));
          public QueensProblem(int queensNum)
          public int getSuccessNum()
          public boolean locate(int index)
          if (index == queensNum)
          // System.out.println("성공 " + String.valueOf(++successNum));
          // System.out.println(board);
          Chessboard.PointList points = board.getAvailablePoints();
          Point point = null;
          while ((point = points.nextPoint()) != null)
          if(point.getY() == index + 1)
          Queen queen = new Queen(point);
          if (locate(index + 1))
          private int queensNum;
          private int successNum;
          public Chessboard(int size)
          availablePointsStack = new Stack();
  • 권영기/채팅프로그램 . . . . 141 matches
         #include<stdio.h>
         #include<stdlib.h>
         #include<string.h>
         #include<unistd.h>
         #include<arpa/inet.h>
         #include<sys/types.h>
         #include<sys/socket.h>
         #include<pthread.h>
         #define SIZE 1024
         int client_socket, server_socket;
         int client_addr_size, flag = 0;
          sprintf( buff_snd, "%d : %s", strlen( buff_rcv), buff_rcv);
          int temp;
          if(recv(client_socket, buff_rcv, SIZE, 0) <= 0)continue;
          printf( "receive: %s\n", buff_rcv);
          sprintf( buff_snd, "%d : %s", strlen( buff_rcv), buff_rcv);
         int main(void){
          int option = 1;
          struct sockaddr_in server_addr, client_addr;
          server_socket = socket(PF_INET, SOCK_STREAM, 0);
  • 조영준/파스칼삼각형/이전버전 . . . . 140 matches
         using System;
          static void Main(string[] args)
          string s;
          int lines;
          Console.WriteLine("삼각형의 크기를 입력하세요 (0 = exit)");
          s = Console.ReadLine(); //삼각형 크기를 입력받음
          lines = Convert.ToInt32(s);
          if (lines < 0)
          Console.WriteLine(e.Message);
          continue;
          if (lines == 0) return; // 프로그램 종료
          PTriangle pTriangle = new PTriangle(lines);
          Printer printer = new Printer(lines, pTriangle.getMax().ToString().Length+1);
          for (int i = 0; i < lines; i++)
          printer.print(pTriangle.Next());
         using System;
          private int[][] _triangle; //파스칼 삼각형
          private int _row; //삼각형의 총 줄
          private int _count; //현재 반환중인 줄
          private int _max; //삼각형의 최댓값
  • AcceleratedC++/Chapter10 . . . . 139 matches
         = Chapter 10 Managing memory and low-level data structures =
         지금까지는 vector, string등 STL이 기본적으로 제공하는 자료구조를 통해서 프로그래밍을 하였다.
         == 10.1 Pointers and arrays ==
         포인터(pointer) 임의 접근 반복자로서, 배열의 요소들을 접근하기 위해서는 필수, 다른 용도로도 많이 이용된다.
          || 포인터(pointer) || 주소를 나타내는 값 ||
          보통 프로그래머가 포인터를 초기화시키는 값으로 이용하는 값은 0이다. 흔이 이를 '''널 포인터(null pointer)'''라고 부른다.
          {{{~cpp int *p; // *p는 int 타입을 갖는다.
         int* p; // p는 int*라는 것을 강조하는 표현이다. C컴파일러는 * 주변의 공백을 무시하기 때문에 상기의 2개 표현은 완전히 동일하다.
          {{{~cpp int* p, q; // p는 int* 인 포인터 형식, q는 int 형을 가리킨다.
         //pointer_example.cpp
         #include <iostream>
         using std::cout;
         using std::endl;
         int main()
          int x = 5;
          // `p' points to `x'
          int* p = &x;
         int (*fp)(int);
         int next(int n)
         int i = 0;
  • JTDStudy/첫번째과제/원명 . . . . 139 matches
         import javax.swing.JOptionPane;
          private int correctNumber;
          public static void main(String[] args) {
          int guess = 0, result = 0;
          guess = oneGame.inputGuess();
          int setNumber = 0;
          setNumber = (int) (Math.random() * 10);
          setNumber = (int) (Math.random() * 10);
          setNumber = (int) (Math.random() * 10);
          }while (((int)(correctNumber / 10)) == setNumber
          || ((int)(correctNumber % 10)) == setNumber);
          public int inputGuess()
          String input = JOptionPane.showInputDialog("Enter three different number\n");
          int guess = Integer.parseInt(input);
          public int compare(int aGuess)
          int compareResult = 0, cCorrect = correctNumber;
          int firstGuess = (int) (aGuess / 100);
          int secondGuess = ((int) (aGuess / 10)) % 10;
          int thirdGuess = aGuess % 10;
          if (((int)(cCorrect / 100) == firstGuess))
  • 새싹교실/2012/AClass/1회차 . . . . 139 matches
         1. 컴파일(Compile), 빌드(Build), 링크(Linking)에 대해 책에서 찾아보고 써 주세요.
         -상수형 :상수는 변환 할 수 없는 고유의 수, 프로그램을 개발할 때 변경되어 발생 할 수 있는 버그등의 위험을 줄이기 위해 사용(#define,const)
          변수형 (변수의 데이터 타입을 선언해 준다.int, float)
         4.#include, 전처리과정이 무엇인지 쓰고, include의 예를 들어주세요.
         -전처리 과정이랑 컴퓨터가 코딩한 파일을 컴파일 하기 전에 여러 텍스트를 바꾸고 고치는 기능. include<stdio.h>
         5.#define이 무엇을 의미하는지 쓰고, 이것을 사용한 '간단한' 프로그램을 하나 작성해보세요.
         - 확장성이 큰 것으로 , 긴 프로그램을 설계할 때 #define으로 정의된 것을 사용할수 있어서 편리하다.
          ⁃ #include<stdio.h>
          int main(void)
          int num1;
          int num2;
          printf(“relationships they satisfy: ”);
          printf(“%d is equal to %d\n”, num1,num2);
          printf(“%d is not equal to %d\n”, num1, num2);
          printf(“%d is less than %d\n”, num1, num2);
          printf(“%d is greater than %d\n”, num1, num2);
         #include <stdio.h>
         int main()
          int grade;
          printf(“Enter the grades.\n”);
  • LoadBalancingProblem/임인택 . . . . 138 matches
          == LoadBalancingMain.java ==
          * @author Administrator
          * Window>Preferences>Java>Templates.
          * Window>Preferences>Java>Code Generation.
         public class LoadBalancingMain {
          public static void main(String[] args) {
          suite.addTestSuite(TestLoadBalancing.class);
          == TestLoadBalancing.java ==
          * @author Administrator
          * Window>Preferences>Java>Templates.
          * Window>Preferences>Java>Code Generation.
         public class TestLoadBalancing extends TestCase{
          LoadBalancing bal = new LoadBalancing(3);
          int sData[] = {1,3,3};
          int gData[];
          for(int i=0; i<sData.length; i++)
          LoadBalancing bal = new LoadBalancing(3);
          int data[]={1,3,4};
          assertEquals(bal.getMinimumJob(), 1);
          LoadBalancing bal = new LoadBalancing(10);
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/김수경 . . . . 138 matches
         using System;
         using System.Collections.Generic;
         using System.ComponentModel;
         using System.Data;
         using System.Drawing;
         using System.Linq;
         using System.Text;
         using System.Windows.Forms;
          InitializeComponent();
          public int hour;
          public int minute;
          public int second;
          public int milli;
          tickMinute();
          private void tickMinute()
          if (++minute == 60)
          minute = 0;
          hour.Text = string.Format("{0:D2}", time.hour);
          minute.Text = string.Format("{0:D2}", time.minute);
          second.Text = string.Format("{0:D2}", time.second);
  • 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;
  • RandomWalk/영동 . . . . 135 matches
         #include<iostream.h>
         #include<stdlib.h>
         #include<time.h>
         int main()
          int i, j;
          int a, b;
          int way;//이동 방향
          int count=1;//이동 횟수
          int not_go=1;//아직 가지 않은 곳을 셀 때 쓰는 수
          int input;
          cin>>input;
          int **square=new int *[input];
          for(i=0;i<input;i++)
          square[i]=new int [input];
          for(i=0;i<input;i++){
          for(j=0;j<input;j++)
          a=rand()%input;
          b=rand()%input;
          continue;
          continue;
  • Java/CapacityIsChangedByDataIO . . . . 133 matches
         재미로 보는 ["Java"] Container Capacity 변화
         capacity 정보를 제공하는 것이 {{{~cpp StringBuffer }}}, Vector 밖에 없다. 다른 것들을 볼려면 상속받아서 내부 인자를 봐야 겠다.
         Show String Buffer capactity by Data I/O in increment
         Show String Buffer capactity by Data I/O in decrement
         Show Vector capactity by Data I/O in increment
         Show String Buffer capactity by Data I/O in decrement
         import java.io.PrintStream;
         import java.io.PrintWriter;
          private static final int NUMBER_LIMIT_LEN = 10;
          private PrintStream out;
          private PrintWriter k;
          private int totalNumOfData = 1000000;
          public static void main(String[] args) {
          capacity.testStringBuffer();
          public CapacityTest(PrintStream anOut) {
          throw new NullPointerException("out is null");
          public void testStringBuffer() {
          StringBuffer stringBuffer = new StringBuffer();
          showStringBufferIncrease(stringBuffer);
          showStringBufferDecrease(stringBuffer);
  • 새싹교실/2012/AClass . . . . 133 matches
          * 5주차(6/6) - C++ 기초, String + Linked list (쉬는 날도 진행)
          1. 컴파일(Compile), 빌드(Build), 링크(Linking)에 대해 책에서 찾아보고 써 주세요.
          1. #include, 전처리과정이 무엇인지 쓰고, include의 예를 들어주세요.
          1. #define이 무엇을 의미하는지 쓰고, 이것을 사용한 '간단한' 프로그램을 하나 작성해보세요.
          1. 혜림이누나, 상희누나 과제를 for문을 각각 3개, 4개만 써서 해보세요.(hint 2*n-1)
          2.#include란?
         #include <stdio.h>
          int main(){
          int a;
          printf("%d",a*a);
          printf("%d",2*a);
          #include <stdio.h>
          int main(void)
          int i;
          int j;
          int n;
          int k;
          printf(" ");
          printf("*");
          printf("\n");
  • 위키에 코드컬러라이저 추가하기 . . . . 133 matches
         이 문서의 내용은 MoinMoin 1.0 부터 지원하기 시작한 Process 에 기반한다. 그래서 그 이하 버전에서는 불가능하다.
         MoinMoin에 파이선용 코드 컬러라이저는 기본으로 들어있다. 그러나 자바나 C++용 코드 컬러라이저는 기본이 아니다. 그래서 MoinMoin:ParserMarket 에 가서 자바와 C++용 파서를 받아왔다. 그런데 이럴수가 코드블럭문안에서 파서 사용이 안되는것이다.
         그런데 MoinMoin:ParserMarket 에 [http://bbs.rhaon.co.kr/mywiki/moin.cgi/ProgrammingTips_2fCStringFormat Example]이라 된 곳에서는 잘 사용하고 있는것이다...[[BR]]
          * 일단 파서. 다음 3개의 파이선 파일을 MoinMoin/parser 디렉터리에 생성한다.
          * [http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/parser_2fbase_2epy parser/base.py] [http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/parser_2fcplusplus_2epy parser/cplusplus.py] [http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/parser_2fjava_2epy parser/java.py]
          * 다음 2개의 파일을 MoinMoin/processor 디렉터리에 생성한다. (본인은 이름의 통일감을 위해 Colorize.py 도 PythonColorize.py 로 이름을 바꾸었다.)
          MoinMoin - Processor for Syntax Highlighting
          All rights reserved, see COPYING for details.
         import string, sys, cStringIO
         from MoinMoin.parser import cplusplus
         def process(request, formatter, lines):
          if not formatter.in_pre:
          if string.strip(lines[0]) == "#!cplusplus":
          del lines[0]
          buff = cStringIO.StringIO()
          colorizer = cplusplus.Parser(string.join(lines, '\n'), request, out = buff)
          MoinMoin - Processor for Syntax Highlighting
          All rights reserved, see COPYING for details.
         import string, sys, cStringIO
         from MoinMoin.parser import java
  • CppStudy_2002_1/과제1/상협 . . . . 132 matches
         #include <iostream>
         using namespace std;
         void Print(char *in,int i=0);
         int main()
          Print(ex);
          Print(ex,0);
          Print(ex,10);
          Print(ex2,100);
         void Print(char *in,int i)
          static int count=0;
          cout<<in<<"\t"<<count<<"\n";
          int tempcount=count;
          cout<<in<<"\t"<<count<<"\n";
         //Programming8_2.cpp
         #include <iostream>
         using namespace std;
          int Calory;
         void StructFunction(CandyBar &in, char *brand="Millennium Munch",
          double weight=2.85,int calory=350);
         int main()
  • Java/ModeSelectionPerformanceTest . . . . 132 matches
          public void printPerformance(String[] modeExecute) {
          for (int i = 0; i < ModeChoicePerformanceTest.LOOPING_COUNT; i++) {
          System.out.println("if - else elapsed time :" + (end - start) + "ms ");
          private void executeIfElse(String[] modeExecute) {
          for (int i = 0; i < modeExecute.length; i++) {
          public void executeWithIfElse(String mode) {
          public void doOne(int i) {
          public void doTwo(int i) {
          public void doThree(int i) {
          public void doFour(int i) {
          public void doFive(int i) {
          public void doDefault(int i) {
         Seminar:WhySwitchStatementsAreBadSmell 에 걸리지 않을까? 근데.. 그에 대한 반론으로 들어오는것이 '이건 mode 분기이므로 앞에서의 Switch-Statement 에서의 예와는 다른 상황 아니냐. 어차피 분기 이후엔 그냥 해당 부분이 실행되고 끝이다.' 라고 말할것이다. 글쌔. 모르겠다.
         한편으로 느껴지는 것으로는, switch 로 분기를 나눌 mode string 과 웹 parameter 와의 중복이 있을 것이라는 점이 보인다. 그리고 하나의 mode 가 늘어날때마다 해당 method 가 늘어나고, mode string 이 늘어나고, if-else 구문이 주욱 길어진다는 점이 있다. 지금은 메소드로 추출을 해놓은 상황이지만, 만일 저 부분이 메소드로 추출이 안되어있다면? 그건 단 한마디 밖에 할말이 없다. (단, 저 논문을 아는 사람에 한해서) GotoStatementConsideredHarmful.
         import java.lang.reflect.InvocationTargetException;
          public void printPerformance(String[] modeExecute) throws InvocationTargetException, IllegalAccessException {
          for (int i = 0; i < ModeChoicePerformanceTest.LOOPING_COUNT; i++) {
          System.out.println("elapsed time :" + (end - start) + "ms ");
          private void executeReflection(String[] modeExecute) throws InvocationTargetException, IllegalAccessException {
          for (int i = 0; i < modeExecute.length; i++) {
  • SuperMarket/인수 . . . . 132 matches
          else if(command == "inventory")
          string good(&str[token+1], &str[str.size()]);
          string m(&str[token+1], &str[str.size()]);
          int money = StringConvertToInt(m);
          int token2 = getToken(str,2);
          string good(&str[token+1], &str[token2]);
          string cnt(&str[token2+1], &str[str.size()]);
          int count = StringConvertToInt(cnt);
          user.buyGoods(sm, sm.findGoods(good), count);
          int token2 = getToken(str,2);
          string good(&str[token+1], &str[token2]);
          string cnt(&str[token2+1], &str[str.size()]);
          int count = StringConvertToInt(cnt);
          user.cancleGoods(sm, sm.findGoods(good), count);
         // map<string, Cmd*> 이런식으로 string에는 커맨드를,Cmd 클래스는 HelpCmd클래스, Deposit클래스 등등의 부모 클래스, 즉 명령 클래스들의
         #include <iostream>
         #include <string>
         #include <vector>
         #include <cassert>
         #include <map>
  • 서지혜/단어장 . . . . 132 matches
          명령적인 : 1. imperative programming. 2. We use the Imperative for direct orders and suggestions and also for a variety of other purposes
          당황하게 하다 : The thing that baffles me is that the conversations do not center around the adults but almost exclusively about their respective kids
          수업료 : Tuition payments, known primarily as tuition in American English and as tuition fees in British English.
          (세금)추가 부담금 : he does not object to paying the levy
          소집 : a levy brief [ meaning ]
          1. What you need to do, instead, is to abbreviate.
          음절 : 1. Don't breathe a syllable(word) about it to anyone. 2. He explained it in words of one syllable. 3. He couldn't utter a syllable in reply(그는 끽소리도 못했다)
         '''Administration'''
          관리직 : administration officer
          1. I've decided to study full-time to finish my business administration degree
          2. I'm working on a master's degree in business administration.
         '''administer (= administrate)'''
          관리하다 : The pension funds are administered by commercial banks.
          집행하다 : It is no basis on which to administer law and order that people must succumb to the greater threat of force.
          포위 작전 : Our army is laying siege to the enemy.
          인용 : The forms of citations generally subscribe to one of the generally excepted citations systems, such as Oxford, Harvard, and other citations systems, as their syntactic conventions are widely known and easily interrupted by readers.
          The study of history of words, their origins, and how their form and meaning have changed over time.
         '''intrinsic'''
          본래 갖추어진 (<-> extrinsic)
          Density is physical intrinsic property of any physical object, whereas weight is an extrinsic property that varies depending on the strength of the gravitational field in which the respective object is placed.
  • 오목/인수 . . . . 132 matches
          final static int EMPTY = 0;
          int width, height;
          int boardState[][];
          public Board(int width, int height) {
          boardState = new int[height][width];
          public int getState(int x, int y) {
          public void putStone(int turn, int x, int y) {
          public boolean isInBoard(int x, int y) {
          public boolean isSameStone(int turn, int x, int y) {
          return isInBoard(x, y) && getState(x, y) == turn;
          for(int i = 0 ; i < width ; ++i)
          for(int j = 0 ; j < height ; ++j)
          public void clearStone(int x, int y) {
          final static int BLACK = 1;
          final static int WHITE = 2;
          final static int WANTED = 5;
          int curTurn;
          public Omok(int width, int height) {
          private int commonCheck(int x, int y, int wanted,
          int dX1, int dX2, int dY1, int dY2) {
  • AcceleratedC++/Chapter14 . . . . 130 matches
         = Chapter 14 Managing memory (almost) automatically =
         Student_info 클래스는 레코드의 인터페이스. 레코드의 메모리 공간을 관리한다.
         || * 포인터를 복사하는 것은 그 대상 객체를 복사하는 것과는 다름. [[HTML(<BR/>)]] * 포인터의 소멸이 그 객체의 소멸을 의미하지 않는다. (memory leak) [[HTML(<BR/>)]] * 포인터 소멸시키지 않고, 객체를 소멸할경우 dangling pointer 발생. [[HTML(<BR/>)]] * 포인터 생성시 초기화하지 않으면, 포인터를 바인딩되지 않은 상태가된다. ||
         13.5의 Student_info 는 프로그래머가 내부의 Core객체를 볼 수없고, 자동으로 메모리 관리가 되도록은 했으나, 메소드들이 Core클래스의 public연산들을 그대로 따르는 것들이 많다.
         //main.cpp
         #include <algorithm>
         #include <ios>
         #include <iomanip>
         #include <iostream>
         #include <stdexcept>
         #include <vector>
         #include "Handle.h"
         #include "Student_info.h"
         using std::cin;
         using std::cout;
         using std::domain_error;
         using std::endl;
         using std::sort;
         using std::streamsize;
         using std::setprecision;
  • RandomWalk/황재선 . . . . 130 matches
         #include <iostream>
         #include <ctime>
         #include <iomanip>
         using namespace std;
         const int rowMax = 40;
         const int colMax = 20;
         int board[rowMax][colMax];
         int row, col, ibug, jbug, count;
         void init();
         void input();
         bool existZero(int aBoard[rowMax][colMax]);
         void printResult();
         int main()
          init();
          input();
          printResult();
         void init()
          for (int i = 0; i < rowMax; i++)
          for (int j =0; j < colMax; j++)
         void input()
  • 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()
  • ClassifyByAnagram/Passion . . . . 126 matches
         import java.io.ByteArrayInputStream;
         import java.io.FileInputStream;
         import java.io.InputStream;
         import java.io.InputStreamReader;
         import java.io.PrintStream;
          this(new FileInputStream(file));
          InputStream ins;
          * @param in
          public Parser(InputStream in) {
          this.ins = in;
          * @param input
          public Parser(String input) {
          ByteArrayInputStream byteInputStream = new ByteArrayInputStream( input.getBytes() );
          this.ins = byteInputStream;
          List lines = getItemLines();
          String item;
          String itemKey;
          for(int i=0 ; i<lines.size() ; i++)
          item = (String)lines.get(i);
          itemKey = sortString(item);
  • 김희성/리눅스계정멀티채팅 . . . . 126 matches
         #include<stdio.h>
         #include<stdlib.h>
         #include<string.h>
         #include<unistd.h>
         #include<arpa/inet.h>
         #include<sys/types.h>
         #include<sys/socket.h>
         #include<pthread.h>
         #define BUFF_SIZE 1024
         int thread_num[25]; //스레드 번호 (해당 스레드 활성화시 번호 값 + 1, 비활성화시 0)
         int client_socket_array[25]; //클라이언트 소캣, 각 스레드 마다 자신의 번호에 해당하는 소캣 사용
         int id_num;
         void* rutine(void* data)//data = &thread_num[스레드 번호]
          int t_num,i_num;//스레드 번호, 아이디 번호
          int client_socket;
          int rcv;
          int i,j;
          t_num=*((int*)data);
          sprintf(buff_snd,"test\n");
          printf("%dth client connected\n",t_num);
  • 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;
  • MoreEffectiveC++/Exception . . . . 125 matches
         여기에서 재미있는 기법을 이야기 해본다. 차차 소개될 smart pointer와 더불어 Standard C++ 라이브러리에 포함되어 있는 auto_ptr template 클래스를 이용한 해결책인데 auto_prt은 이렇게 생겼다.
          void displayIntoInfo(const Information& info)
          WINDOW_HANDLE w(createWindow());
          display info in window corresponding to w;
          destroyWindow(w);
         일반적으로 C의 개념으로 짜여진 프로그램들은 createWindow and destroyWindow와 같이 관리한다. 그렇지만 이것 역시 destroyWindow(w)에 도달전에 예외 발생시 자원이 세는 경우가 생긴다. 그렇다면 다음과 같이 바꾸어서 해본다.
          WindowHandle(WINDOW_HANDLE handle) : w(handle) {}
          ~WindowHandle() {destroyWindow(w); }
          operator WINDOW_HANDLE() {return w;}
          WINDOW_HANDLE w;
          WindowHandle(const WindowHandle&);
          WindowHandle& operator=(const WindowHandle);
          void displayIntoInfo(const Information& info)
          WINDOW_HANDLE w(createWindow());
          display info in window corresponding to w;
         == Item 10: Prevent resource leaks in constructors. ==
          Image(const string& imageDataFileName);
          AudioClip(const string& audioDataFileName);
          BookEntry(const string& name,
          const string& address = "",
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/김동준 . . . . 124 matches
         Describe 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/김동준 here
         Train.java
         package org.zeropage.machinelearn;
         class Trainer {
          private Map<String,Integer> sectionWord;
          private int sectionWordNum;
          private int sectionArticleNum;
          private boolean isSkipData(String inputStr) {
          if(inputStr.length() == 1 || inputStr.equals("http") || inputStr.equals("blog") || inputStr.equals("com") ||
          inputStr.equals("naver") || inputStr.equals("empas") || inputStr.equals("daum") || inputStr.equals("yahoo") ||
          inputStr.equals("tistory") || inputStr.equals("co") || inputStr.equals("kr") || inputStr.equals("www") || inputStr.equals("ohmynews") ||
          inputStr.equals("//") || inputStr.equals("블로그")) {
          public Trainer(File f) {
          public void TrainData() {
          this.sectionWord = new HashMap<String,Integer>();
          while(sectionLearn.hasNextLine()) {
          String[] a = sectionLearn.nextLine().split("\\s+");
          for(String wordTmp:a) {
          if(isSkipData(wordTmp)) {continue;} // 1글자Data, 사이트, 블로그, 페이지 주소의 경우 연관성및 신뢰성이 떨어지므로 검색에서 제외
          e.printStackTrace();
  • FortuneCookies . . . . 120 matches
          * "It seems strange to meet computer geeks who're still primarily running Windows... as if they were still cooking on a wood stove or something." - mbp
          * "Perl is executable line noise, Python is executable pseudo-code."
          * "Heck, I'm having a hard time imagining the DOM as civilized!" -- Fred L. Drake, Jr.
          * Good fortune in love, as well as a better position.
          * By failing to prepare, you are preparing to fail.
          * He who spends a storm beneath a tree, takes life with a grain of TNT.
          * You attempt things that you do not even plan because of your extreme stupidity.
          * Your mind understands what you have been taught; your heart, what is true.
          * A king's castle is his home.
          * Advancement in position.
          * You will soon meet a person who will play an important role in your life.
          * He who has a shady past knows that nice guys finish last.
          * The universe is laughing behind your back.
          * Money will say more in one moment than the most eloquent lover can in years.
          * You have a will that can be influenced by all with whom you come in contact.
          * You have the power to influence all with whom you come in contact.
          * You will be married within a year.
          * Stop searching forever. Happiness is just next to you.
          * Mind your own business, Spock. I'm sick of your halfbreed interference.
          * You are secretive in your dealings but never to the extent of trickery.
  • 비행기게임/BasisSource . . . . 120 matches
          file = os.path.join('data',file)
          for file in files:
          def __init__(self):
          pygame.sprite.Sprite.__init__(self,self.containers)
          self.reloading = 0;
          self.timing = 0;
          def __init__(self, pos, kind, speedy=0) :
          pygame.sprite.Sprite.__init__(self, self.containers)
          self.image = self.images[kind]
          patientOfInducement = 50
          speedIncreaseRateOfY = 0.1
          def __init__(self, pos, playerPosY) :
          pygame.sprite.Sprite.__init__(self, self.containers)
          if self.rect.centery<(self.playerPosY-self.patientOfInducement):
          self.speedy+=self.speedIncreaseRateOfY
          elif self.rect.centery>(self.playerPosY+self.patientOfInducement):
          self.speedy-=self.speedIncreaseRateOfY
          def __init__(self):
          def setContainers(self,arg):
          self.containers = arg
  • DPSCChapter1 . . . . 119 matches
         == Introduction ==
         Welcome to ''The Design Patterns Smalltalk Companion'' , a companion volume to ''Design Patterns Elements of Reusable Object-Oriented Software'' by Erich Gamma, Richard Helm, Ralph Johnson, and Jogn Vlissides(Gamma, 1995). While the earlier book was not the first publication on design patterns, it has fostered a minor revolution in the software engineering world.Designers are now speaking in the language of design patterns, and we have seen a proliferation of workshops, publications, and World Wide Web sites concerning design patterns. Design patterns are now a dominant theme in object-oriented programming research and development, and a new design patterns community has emerged.
         ''The Design Patterns Smalltalk Companion'' 의 세계에 오신걸 환영합니다. 이 책은 ''Design Patterns Elements of Reusable Object-Oriented Software''(이하 DP) Erich Gamma, Richard Helm, Ralph Johnson, and Jogn Vlissides(Gamma, 1995). 의 편람(companion, 보기에 편리하도록 간명하게 만든 책) 입니다. 앞서 출간된 책(DP)이 디자인 패턴에 관련한 책에 최초의 책은 아니지만, DP는 소프트웨어 엔지니어링의 세계에 작은 혁명을 일으켰습니다. 이제 디자이너들은 디자인 패턴의 언어로 이야기 하며, 우리는 디자인 패턴과 관련한 수많은 workshop, 출판물, 그리고 웹사이트들이 폭팔적으로 늘어나는걸 보아왔습니다. 디자인 패턴은 객체지향 프로그래밍의 연구와 개발에 있어서 중요한 위치를 가지며, 그에 따라 새로운 디자인 패턴 커뮤니티들이 등장하고 있습니다.(emerge 를 come up or out into view 또는 come to light 정도로 해석하는게 맞지 않을까. ''이제 디자인 패턴은 객체지향 프로그래밍의 연구와 개발에 있어서 중요한 위치를 가지고 있으며, 디자인 패턴 커뮤니티들이 새로이 등장하고 있는 추세입니다.'' 그래도 좀 어색하군. -_-; -- 석천 바꿔봤는데 어때? -상민 -- DeleteMe)gogo..~ 나중에 정리시 현재 부연 붙은 글 삭제하던지, 따로 밑에 빼놓도록 합시다.
         ''Design Patterns'' describes 23 design patterns for applications implemented in an object-oriented programming language. Of course, these 23 patterns do not capture ''all'' the design knowledge an object-oriented designer will ever need. Nonetheless, the patterns from the "Gang of Four"(Gamma et al.) are a well-founded starting point. They are a design-level analog to the base class libraries found in Smalltalk development environments. They do not solve all problems but provide a foundation for learning environments. They do not solve all problems but provide a foundation for learning about design patterns in general and finding specific useful architectures that can be incorporated into the solutions for a wide variety of real-world design problems. They capture an expert level of design knowledge and provide the foundation required for building elegant, maintainable, extensible object-oriented programs.
         In the Smalltalk Companion, we do not add to this "base library" of patterns;rather, we present them for the Smalltalk designer and programmer, at times interpreting and expanding on the patterns where this special perspective demands it. Our goal is not to replace Design Patterns; you should read the Smalltalk Companion with Design Patterns, not instead of it. We have tried not to repeat information that is already well documented by the Gang of Four book. Instead, we refer to it requently;you should too.
         Learning an object-oriented language after programming in another paradigm, such as the traditional procedural style, is difficult. Learning to program and compose application in Smalltalk requires a complex set of new skills and new ways of thinking about problems(e.g Rosson & Carroll, 1990; Singley, & Alpert, 1991). Climbing the "Smalltalk Mountain" learning curve is cetainly nontrivial. Once you have reached that plateau where you feel comfortable building simple Smalltalk applications, there is still a significant distance to the expert peak.
         다른 이론적인 테두리안에서 프로그램(''전통적인 절차식 스타일'')을 한 후 객체 지향 언어를 배우는 것은 어렵다. Smalltalk 안에서 복합된 응용 프로그램 하는 것을 배우는 것은 복잡한 새로운 기술과 문제에 대한 새로운 사고 방식을 요구한다.(" e.g Rosson & Carroll, 1990; Singley, & Alpert, 1991") "Smalltalk" 라는 산을 오르는 것은 확실히 사소한 것이 아니다. 일단 당신이 간단한 Smalltalk 응용 프로그램을 만드는 데 자신이 있는 경지에 닿았다고 해도, 아직 전문가의 경지와는 분명한 차이가 있다.
         Smalltalk experts know many things that novices do not, at various abstraction levels and across a wide spectrum of programming and design knowledge and skills:
          * What is available in the form of classes, methods, and functionality in the existing base class libraries
          * How to use the specific tools of the Smalltalk interactive development environment to find and reuse existing functionality for new problems, as well as understanding programs from both static and runtime perspective
          * How to define and implement behavior in new classes and where these classes ought to reside in the existing class hierarchy
          * Recurring patterns of object configurations and interactions and the sorts of problems for which these cooperating objects provide (at least partial) solutions
         Smalltalk 전문가들은 여러가지 다양한 추상적 단계와 폭넓은 programming과 design에 대한 지식과 기술면에서 초심자들이 알지 못하는 많은 것을 알고 있다.
         This is by no means an exhaustive list, and even novices understand and use much of the knowledge. But some items, especially the last -- recurring patterns of software design, or design patterns -- are the province of design expert.
         A '''design pattern''' is a reusable implementation model or architecture that can be applied to solve a particular recurring class of problem. The pattern sometimes describes how methods in a single class or subhierarchy of classes work together; more often, it shows how multiple classes and their instances collaborate. It turns out that particular architectures reappear in different applications and systems to the extent that a generic pattern template emerges, one that experts reapply and customize to new application - and domain-specific problems. Hence, experts know how to apply design patterns to new problems to implement elegant and extensible solutions.
         In general, designers -- in numerous domains, not just software -- apply their experience with past problems and solution to new, similar problems. As Duego and Benson(1996) point out, expert designers apply what is known in cognitive psychology and artificial intelligence as '''case-based reasoning''', remembering past cases and applying what they learned there. This is the sort of reasoning that chess masters, doctors, lawyers, and architects empoly to solve new problems. Now, design patterns allow software designers to learn from and apply the experiences of other designers as well. As in other domains, a literature of proven patterns has emerged. As a result, we can "stand on the shoulders of giants" to get us closer to the expert peak. As John Vlissies (1997) asserts, design patterns "capture expertise and make it accessible to non-experts" (p. 32).
         Design patterns also provide a succinct vocabulary with which to describe new designs and retrospectively explain existing ones. Patterns let us understand a design at a high level before drilling down to focus on details. They allow us to envision entire configurations of objects and classes at a large grain size and communicate these ideas to other designers by name. We can say, "Implement the database access object as a Singleton," rather than, "Let's make sure the database access class has just one instance. The class should include a class variable to keep track of the singl instance. The class should make the instance globally available but control access to it. The class should control when the instance is created and ..." Which would you prefer?
         Christopher Alexander and his colleagues have written extensively on the use of design patterns for living and working spaces-homes, buildings, communal areas, towns. Their work is considered the inspiration for the notion of software design patterns. In ''The Timeless Way of Building''(1979) Alexander asserts, "Sometimes there are version of the same pattern, slightly different, in different cultures" (p.276). C++ and Smalltalk are different languages, different environments, different cultures-although the same basic pattern may be viable in both languages, each culture may give rise to different versions.
         Christopher Alexander와 그의 친구, 동료들은 디자인 패턴이 공간활용과, 건축, 공동체의 구성방법 까지 확장되는 것에 관한 글을 써왔다. 여기에서 그들이 추구하는 바는 이런 분야에 적용을 통하여, 소프트웨어 디자인 패턴을 위한 또 다른 새로운 창조적 생각 즉, 영감을 얻기위한 일련의 작업(궁리)이다. ''The Timeless Way of Building''(1979) 에?? Alexander는 "때로는 서로다른 문화권에서 아주 약간은 다르게 같은 패턴의 버전들이 존재하걸 볼수 있다"(p.276) 라고 언급한다. C++과 Samlltalk는 비록 같은 기본적인 패턴에서의 출발을 해도 다른 언어, 다른 개발환경, 다른 문화로 말미암아 각자 다른 모양새를 보여준다.
         The Gang of Four's ''Design Patterns'' presents design issues and solutions from a C+ perspective. It illustrates patterns for the most part with C++ code and considers issues germane to a C++ implementation. Those issue are important for C++ developres, but they also make the patterns more difficult to understand and apply for developers using other languages.
  • 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);
  • WinampPlugin을이용한프로그래밍 . . . . 117 matches
         winamp 의 plugin 을 이용한 프로그래밍
         winamp 의 경우 다양한 plugin 를 지원한다.
         input plugin은 해당 화일을 읽어드리고 output plugin 으로의 출력을 소스를 제공한다. output plugin 은 출력 소스를 사운드카드나 하드 디스크로의 출력을 관장한다. 이 중간에 DSP 와 Visual plugin 이 callback 으로 결과물을 받은뒤 변수들을 이용한다.
         컴파일하려면 in2.h 와 Out.h 가 필요하다. 이는 http://www.winamp.com/nsdn/ 에서 Winamp SDK를 다운받는다.
         http://download.nullsoft.com/winamp/client/wa502_sdk.zip
         #include <windows.h>
         #include <stdio.h>
         #include "in2.h"
         // define procedures, that'll be found in a .DLL
         typedef In_Module* (*INHDRPROC)(void);
         int dsp_donothing(short int *, int cnt, int, int, int) {
         int dsp_isactive() {
         void SAVSAInit(int maxlatency_in_ms, int srate){
         void SAVSADeInit(){
         void SAAddPCMData(void *PCMData, int nch, int bps, int timestamp){
         // printf ("%d,%d,%d\n", nch,bps,timestamp);
         int SAGetMode(){
         void SAAdd(void *data, int timestamp, int csa){
         void VSAAddPCMData(void *PCMData, int nch, int bps, int timestamp){
         // printf ("%d,%d,%d\n", nch,bps,timestamp);
  • WikiSlide . . . . 115 matches
          * a technology for collaborative creation of internet and intranet pages
         === Principles ===
          * '''Fast''' - fast editing, communicating and easy to learn
          * '''Open''' - everybody may read ''and'' edit everything
          * '''Uncomplicated''' - everything works in a standard browser
          * '''Secure''' - every change is archived, nothing gets lost
          * '''Interlinked''' - Links between pages are easy to make
          * Personal Information Management, Knowledgebases, Brainstorming
          * Collaboration, Coordination and Communication platform
          * Creating documentation and slide shows ;)
          * Email address for subscribing to page change emails and retrieving a lost login/password
          * Link with User-ID ( (!) ''in any case, put a bookmark on that'')
          * Navigation: Quicklinks, Icons link to system actions (HelpOnNavigation)
         Searching and Navigation:
          * Backlinks (click on title)
          * SiteNavigation: A list of the different indices of the Wiki
          * FindPage: Searching the Wiki by various methods
          * TitleIndex: A list of all pages in the Wiki
          * WordIndex: A list of all words in page titles (i.e. a list of keywords/concepts in the Wiki)
         == Using the Editor ==
  • 새싹교실/2012/우리반 . . . . 115 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 참고로 ZeroWiki는 MoniWiki Engine을 사용하며 Google Chrome이나 Mozila Firefox, Safari보다는 Internet Explorer에서 가장 잘 돌아가는 것 같습니다.
         #include ----- => source=code 소스
         coding
          * Coding, 소고기?
         === Ice Breaking ===
         int main()
          * printf를 사용하는 방법, %d란 무엇인가.
          * #include는 뭘 하는 것인가. 좀 더 상세히 말해줄 필요가 있겠다.
          1.int a=10,b=12,temp;가 있는데 a에 있는 값을 b에 넣고, b에 있는 값을 a에 넣는 프로그램을 짜 보세요.
         #include <stdio.h>
         int main(){
          int a=10,b=12,temp;
          printf("%d %d",a,b);
          2.자료형이란 무엇인가, int, float,char,double이 뭔지 생각해보도록 합시다.(모르면 물어봐요~ :) )
         #include <stdio.h>
         int main(){
          int a=21,b=2,c;
          printf("안녕하세요, 우리반입니다. 1+3=%d",c+b);
         (추가 compile이란 High level language , 즉 인간이 구분하기 쉬운 언어로 작성된 프로그램을 Machine language(기계어)로 번역하여 처리하는 작업이라고 생각합니다.-[권도현]
  • 오목/재선,동일 . . . . 115 matches
         // singleView.h : interface of the CSingleView class
         #if !defined(AFX_SINGLEVIEW_H__E826914F_AE74_11D7_8B87_000102915DD4__INCLUDED_)
         #define AFX_SINGLEVIEW_H__E826914F_AE74_11D7_8B87_000102915DD4__INCLUDED_
         class CSingleView : public CView
          int arr[100][100];
          int i,j;
          int x,y;
          int a,b;
          int count,count1,count2;
          CSingleView();
          DECLARE_DYNCREATE(CSingleView)
          CSingleDoc* GetDocument();
          //{{AFX_VIRTUAL(CSingleView)
          virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
          virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
          virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
          virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
          virtual ~CSingleView();
          //{{AFX_MSG(CSingleView)
          afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  • WOWAddOn/2011년프로젝트/초성퀴즈 . . . . 114 matches
         그래서 Programming in Lua라는 책을 도서관에서 빌려왔다. 아마 빌려온지 1주일은 됬겠지.
         Eclipse에서 Java외의 다른것을 돌리려면 당연 인터프리터나 컴파일러를 설치해주어야 한다. 그래서 Lua를 설치하려했다. LuaProfiler나 LuaInterpreter를 설치해야한다는데 도통 영어를 못읽겠다 나의 무식함이 들어났다.
         에서 루아 Windows 인스톨러를 받아서 설치하게됬다.
         LuaForWindows_v5.1.4-35.exe
         설치된경로를 따라 Eclipse의 Profiler말고 Interpreter로 lua.exe로 path를 설정해주면 Eclipse에서 Project를 만든뒤 출력되는 Lua파일을 볼수 있다.
         package utfencoding;
         import java.io.UnsupportedEncodingException;
         public class UtfEncoding {
          final static char[] first = {
          final static char[] middle = {
          final static char[] last = {
          public static void main(String[] args) {
          String temp = "바";
          int cho = a/21/28;
          int joong = ( (a %(21*28))/28);
          int jong = (a%28);
          System.out.println(""+ (char)first[cho] + (char)middle[joong] + (char)last[jong]);
         현재 Eclipse개발환경중 문자 Encoding은 UTF-8방식이다.
         그리고 UI와 LUA를 Mapping 시켜주는 *.xml
         기본적으로 "/World of Warcraft/interface/addons/애드온명" 으로 폴더가 만들어져있어야한다.
  • 변준원 . . . . 113 matches
         (define (f x)
          (when (< x 10) (begin (print 2) (print *)(print x) (print =)(print (* 2 x)) (newline) (f (+ x 1)))))
         (define (f y)
          (when (< y 10) (begin
          (define (f x) (when (< x 10) (begin (print y)
          (print *)
          (print x)
          (print =)
          (print (* 2 x))
          (newline)
         #include<iostream>
         #include<ctime>
         using namespace std;
         int move();
         int check();
         int x,y;
         int number=0;
         int matrix[5][5];
         int main()
          const int max=5;
  • LinkedList/영동 . . . . 111 matches
         #include<iostream>
         using namespace std;
         struct Node{ //Structure 'Node' has its own data and link to next node
          int data; //Data of node
          Node(int initialData){ //Constructor with initializing data
          data=initialData; //Assign data
          Node(){} //An empty constructor to reduce warning in compile time
         int enterData(); //Function which enter the data of node
         void displayList(Node * argNode); //Function which displays the elements of linked list
         Node * allocateNewNode(Node * argNode, int argData);//Function which allocate new node in memory
         int main()
          Node * firstAddress=new Node(enterData());//Create the first address to linked list
          Node * currentNode;//Create temporary node which indicates the last node of linked list
          //Create the next node to linked list
          for(int i=0;i<7;i++)
          Node * tempNode; //Temporary node to tour linked list
         Node * allocateNewNode(Node * argNode, int argData)
         int enterData()
          int returnData;
          cin>>returnData;
  • 덜덜덜/숙제제출페이지 . . . . 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 ()
  • BabyStepsSafely . . . . 110 matches
         Introduction
         This article outlines the refactoring of an algorithm that generate the prime numbers up to a user specified maximum. This algorithm is called the Sieve of Eratosthenes. This article demonstrates that the granularity of the changes made to the source code are very small and rely completely on the ability to recompile and test the code after every change no matter how small. The step where the code is tested insures that each step is done safely. It is important to note that the execution of tests do not actually guarantee that the code is correct. The execution of the tests just guarantees that it isn't any worse that it used to db, prior to the change. This is good enough for the purposes of refactoring since we are tring to not damage anything thay may have worked before Therefore for each change in the code we will be recompilling the code and running the tests.
         The code that is to be refactored has existed in the system for awhile. It has undergone a couple of transformations. Initially it returned an array of int variables that are the prime numbers. When the new collection library was introduced in Java2 the interface was changed to return a List of Integer objects. Going forward the method that returns a List is the preferred method, so the method that returns an array has been marked as being deprecated for the last couple of releases. During this release the array member function will be removed. Listing1, "Class GeneratePrimes," contains the source code for both methods.
         The algorithm is quite simple. Given an array of integers starting at 2.Cross out all multiples of 2. Find the next uncrossed integer, and cross out all of its multiples. Repeat until you have passed the square root of the maximum value. This algorithm is implemented in the method generatePrimes() in Listing1. "Class GeneratePrimes,".
         inport java.util.*;
          public static List primes(int maxValue)
          LinkedList result = new LinkedList();
          int [] primes = generatePrimes(maxValue);
          for(int i = 0; i <primes.length; ++i)
          result.add(new Integer(primes[i]));
          public static int [] generatePrimes(int maxValue)
          int s = maxValue+1; // size of array
          int i;
          // initialize array to true.
          int j;
          int count = 0;
          int [] primes = new int[count];
          // move the primes into the result
          return new int[0]; return null array if bad input.
         The test cases for the GeneratePrimes class are implemented using the JUnit testing framework. The tests are contained in class called TestGeneratePrames. There are a 5 tests for each return type (array and List), which appear to be similiar. Our first step to insure보증하다, 책임지다 that we are starting from a stable base is to make sure what we have works.
  • MobileJavaStudy/SnakeBite/Spec3Source . . . . 110 matches
          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;
          public Snake(int length, int xRange, int yRange) {
          for(int i = length ; i >= 1 ; i--)
          headIndex = 0;
          public int length() {
          public SnakeCell getSnakeCell(int index) {
          return (SnakeCell)cellVector.elementAt((headIndex + index) % length());
          public int getDirection() {
          public void setDirection(int direction) {
          int length = length();
  • IndexedTree/권영기 . . . . 109 matches
         IndexedTree
         #include<iostream>
         #include<cmath>
         #define max(s, w) ((s>w)?(s):(w))
         #define N 100020
          int level;
          int item;
         struct Indexed_tree{
          int count;
         Indexed_tree it;
         int find(node *current, int sp, int ep, int st, int ed)
          return find(current->left, sp, ep, st, (st+ed)/2);
          return find(current->right, sp, ep, (st+ed)/2 + 1, ed);
          return find(current->left, sp, (st+ed)/2, st, (st+ed)/2) + find(current->right, (st+ed)/2 + 1, ep, (st+ed)/2 + 1, ed);
         void Init_IndexedTree(node *current, int limit, int *count, int *items){
          Init_IndexedTree(current->left, limit, count, items);
          Init_IndexedTree(current->right, limit, count, items);
         void insert_item(node *current, int item, const int address, int st, int end, const int *count, const int *level){
          insert_item(current->left, item, address, st, (st+end)/2, count, level);
          insert_item(current->right, item, address, (st+end)/2 + 1, end, count, level);
  • OurMajorLangIsCAndCPlusPlus/print/이도현 . . . . 109 matches
         #include <iostream>
         #include <cstdlib>
         #include <stdarg.h>
         #include <cctype>
         using namespace std;
         void print(const char *, ...);
         int main()
          int a = 10;
          print("number: %d, string: %s, real number: %f\n", a, b, c);
          print("%d. 1234 string %s %f\n", 1234, "test", 1234.124124);
          int aa[3] = {1, 2, 3};
          print("array: @d\n", aa, 3);
          print("array: @s\n", bb, 2);
          print("array: @f\n", cc, 5);
          int aaa = 123;
          int bbb = 12345;
          int ccc = 12345678;
          print("number: %5d\n", aaa);
          print("number: %5d\n", bbb);
          print("number: %5d\n", ccc);
  • c++스터디_2005여름/실습코드 . . . . 109 matches
         #include <iostream.h>
         #include <string.h>
         #include "cpp.h"
         void main()
          Mystring mystr;
          mystr.input();
         #include <iostream.h>
         #include "cpp.h"
         #include <string.h>
         void Mystring::str_reverse()
          int i = 0;
         void Mystring::input()
          cin>>ch;
         void Mystring::output()
          int i = 0;
         class Mystring
          int str_len;
          void input();
          void input();
         #include <math.h>
  • EffectiveSTL/Container . . . . 108 matches
          * STL을 구성하는 핵심 요소에는 여러 가지가 있다.(Iterator, Generic Algorithm, Container 등등). 역시 가장 핵심적이고, 조금만 알아도 쓸수 있고, 편하게 쓸수 있는 것은 Container다. Container는 Vector, List, Deque 과 같이 데이터를 담는 그릇과 같은 Object라고 보면 된다.
          * STL의 Container들의 장점이라고 한다면, 역시 유연성, 메모리 관리 알아서 하기, 자신이 알아서 늘었다 즐었다 하기 등등이 있겠다. 또한 인터페이스가 이거나 저거나 비슷비슷해서 하나만 공부하면, 쉽게 다른것도 쓸수 있다는 것도 또 하나의 장점이 될수 있겠다.
          * 큰 1장 Containers에서는 상황에 맞는 적절한 Container 고르는 법, 효율성 극대화 하기 등등을 다룬다.
         = Item1. Choose your containers with care. =
         == STL이 지원하는 Containers ==
          * Sequence Containers - vector, deque, list, string( vector<char> ) 등등
          * Associative Containers - set, multiset, map, multimap 등등
          * vector가 좋다고 써있다. 잘 쓰자. 가끔가다 시간,저장공간 등등에 있어서 Associative Containers를 압도할때도 있다고 한다.
          * vector 는 Sequence Container 니까 보통 Associative Container 들(주로 Map)보다 메모리낭비가 덜함. 그대신 하나 단위 검색을 할때에는 Associative Container 들이 더 빠른 경우가 있음. (예를 들어 전화번호들을 저장한 container 에서 024878113 을 찾는다면.? map 의 경우는 바로 해쉬함수를 이용, 한큐에 찾지만, Sequence Container 들의 경우 처음부터 순차적으로 좌악 검색하겠지.) --[1002]
         == Contiguous-memory Containers & Node-based Containers ==
          * 전자는 배열을 기반으로 하는 Container(즉, 동적 메모리 할당을 할때 할당된 메모리들이 연속적이 된다), 후자는 노드를 기반으로 하는 Container(노드의 경우는 반드시 연속적인 메모리가 아닐 수 있다.)다. 노드가 뭔지는 링크드 리스트를 짜보면 알게 된다.
          * 전자에는 vector, string, deque 등이 있다. 뭔가 또 복잡한 말이 있긴 한데 그냥 넘어가자. 대충 insert, delete가 일어나면 기존의 원소가 이동한다는 말 같다.
          * 후자에는 list 등이 있다. 노드는 그냥 포인터만 바꿔 주면 insert, delete가 자유자재로 된다는거 다 알것이다.
         == STL Container 고르는 팁 ==
          * 양끝에서 insert, delete 하려면? Associative Containers는 쓰면 안된다.
          * Random Access Iterator(임의 접근 반복자)가 필요하다면, vector, deque, string 써야 한다. (rope란것도 있네), Bidirectional Iterator(양방향 반복자)가 필요하다면, slist는 쓰면 안된다.(당연하겠지) Hashed Containers 또 쓰지 말랜다.
          * Insert, Delete 할때 원소의 인덱스 위치가 변하면 안된다? 그러면 Contiguous-memory Containers는 쓰면 안된다. (해당 원소의 인덱스 위치가 변한다.)
          * Search 속도가 중요하다면 Hashed Containers, Sorted Vector, Associative Containers를 쓴다. (바로 인덱스로 접근, 상수 검색속도)
          * Insert, Delete를 효율적으로 쓰려면, Node Based Containers를 쓰자.
          * Iterator, Pointer, Reference 갱신을 최소화 하려면 Node Based Containers를 쓴다.
  • 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"'
  • 정모/2013.5.6/CodeRace . . . . 108 matches
          * 프레젠테이션 : http://intra.zeropage.org:4000/CodeRace?presentation
         #include <stdio.h>
         int main(int argc, const char * argv[])
          int aa=0,ab=0,ac=0,i=0;
          printf("%s %d\n",a,aa);
          printf("%s %d\n",b,ab);
          printf("%s %d",c,ac);
         using System;
         using System.IO;
          public string word;
          public int count;
          static void Main(string[] args)
          int size = 100;
          int point = 0;
          string[] s;
          string line;
          while ((line = sr.ReadLine()) != null)
          s = line.Split(' ');
          for (int i = 0; i < s.Length; i++)
          for (int j = 0; j < p.Length; j++)
  • BigBang . . . . 107 matches
          * ALGOL계 언어라고도 한다고 한다.. [http://hkpark.netholdings.co.kr/web/inform/default/inform_view.asp?menu_id=9730&id=1456&parent_id=1517 궁금해 할 사람을 위해]
         #include <iostream>
         using namespace std;
         int main(){
          * #include, #define, #ifndef 등...
          * using namespace NAME; -> NAME의 namespace를 해당 scope 안에서 이용하겠다는 것
          * using
          * char의 배열, '''null terminated''' char sequence
          * string Class
          * UNIX/LINUX 계열에서는 중요한 정보
          * [http://thenine.egloos.com/430823 main 함수의 리턴값]
          * int, long, long long, short, char
          * int크기는 CPU가 한번에 처리할수 있는 정수 - 당연히 16bit에서는 다를수 있다.
          * java에서는 int와 boolean은 호환되지 않는다. while(1) {}는 컴파일에러.
         ==== 포인터 (Pointer) ====
          * void pointer 사용 자제합시다. void pointer가 가리키는 값의 타입을 추론할 수 없다. [http://stackoverflow.com/questions/1718412/find-out-type-of-c-void-pointer 참고]
          * function이란 input과 output이 있는 기능 단위
          1. call by pointer
          * C/C++의 함수 호출 방법(Calling Convention)
          * [http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3485.pdf c++11(아마도?) Working Draft]의 7.5절 linkage specification 참고
  • MobileJavaStudy/SnakeBite/Spec2Source . . . . 106 matches
          public int snakeCellX;
          public int snakeCellY;
          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 snakeCellXRange;
          private final int snakeCellYRange;
          private int snakeHeadIndex;
          private int snakeDirection;
          public Snake(int length, int xRange, int yRange) {
          for(int i = length ; i >= 1 ; i--)
          snakeHeadIndex = 0;
          public int length() {
          public SnakeCell getSnakeCell(int index) {
          return (SnakeCell)snakeCellVector.elementAt((snakeHeadIndex + index) % length());
          public int getDirection() {
          public void setDirection(int direction) {
          int length = length();
  • whiteblue/파일읽어오기 . . . . 106 matches
         #include <iostream>
         #include <fstream>
         #include <cmath>
         #include <string>
         using namespace std;
         #include <vector>
         class UserInfo
          string szName; // User's name
          unsigned int nSchoolNumber; // User's school number
          UserInfo() {}
          UserInfo( string szN, unsigned int nSN )
          unsigned int getSchoolNumber() { return nSchoolNumber; }
          string getName() { return szName; }
         class BookInfo
          int nBookNumber;
          string szBookName;
          string szWriter;
          string szPublishingCompany;
          UserInfo * pLendPeople;
          BookInfo() {}
  • 10학번 c++ 프로젝트/소스 . . . . 105 matches
         == main.cpp ==
         #include <windows.h>
         #include "now_time.h"
         #include "alarmsetting.h"
         #include "cho.h"
         void main() {
          a.print_now_time();
          alarmsetting c;
         #include <iostream>
         #include <time.h>
         #include <stdio.h>
         #include <conio.h>
         #include <windows.h>
         #include "now_time.h"
         using namespace std;
         extern int ah;
         extern int am;
         extern int as;
         void gotoxy(int x, int y)
          CONSOLE_CURSOR_INFO CurInfo;
  • AcceleratedC++/Chapter4 . . . . 105 matches
         = Chapter 4 Organizing programs and data =
          == 4.1 Organizing computations ==
          cout << "Your final grade is " << setprecision(3)
          << 0.2 * midterm + 0.4 * final + 0.4 * median
         double grade(double midterm, double final, double homework)
          return 0.2 * midterm + 0.4 * final + 0.4 * homework;
         int main()
          cout << "Your final grade is " << setprecision(3)
          << grade(midterm, final, sum / count)
          === 4.1.1. Finding medians ===
          throw domain_error("median of an empty vector.");
          sort(vec.begin(), vec.end());
          === 4.1.2 Reimplementing out grading policy ===
         double grade(double midterm, double final, const vector<double>& hw)
          throw domain_error("student has done no homework");
          return grade(midterm, final, median(hw));
          * grade() function : 우리는 아까 grade라는 함수를 만들었었다. 그런데 이번에 이름은 같으면서 parameter는 조금 다른 grade()를 또 만들었다. 이런게 가능한가? 가능하다. 이러한 것을 함수의 overloading이라고 한다. 함수 호출할때 어떤게 호출될까는 따라가는 parameter lists에 의해 결정된다.
          === 4.1.3 Reading homework grades ===
         istream& read_hw(istream& in, vector<double>& hw)
          while(in >> x) // 차차 살펴볼테지만 이건 잘못되었다.
  • MineSweeper/황재선 . . . . 105 matches
         == MineSweeper ==
         === {{{~cpp MineSweeper.java}}} ===
         import java.io.InputStreamReader;
          * Window - Preferences - Java - Code Style - Code Templates
         public class MineSweeper {
          String [][] mineArr;
          public int [] inputSize() {
          String input = input();
          String [] array = input.split(" ");
          int len = array.length;
          int [] intArray = new int[len];
          for (int i = 0; i < len; i++)
          intArray[i] = Integer.parseInt(array[i]);
          return intArray;
          public String[][] inputChar(int []array) {
          int row = array[0];
          int col = array[1];
          mineArr = new String[row][col];
          for(int i = 0; i < row; i++) {
          String input = input();
  • 데블스캠프2004/금요일 . . . . 105 matches
         Eclipse : http://zeropage.org/~neocoin/eclipse3.0rc3/eclipse-SDK-3.0RC3-win32.zip
         JDK 1.5 : http://zeropage.org/~neocoin/eclipse3.0rc3/jdk-1_5_0-beta2-windows-i586.exe
          에서는 유래가 없군요. C기반이 아니라, C++(문법), Smalltalk(vm) 의 철학을 반영합니다. Early History 는 마치 제임스 고슬링이 처음 만든것 처럼 되어 있군요. (SeeAlso [http://en.wikipedia.org/wiki/Java_programming_language#Early_history Java Early history]
         --NeoCoin
          저는 발표를 못봐서, 미숙한지 모릅니다. 그러나 PT가 그대로 진행되었다면, 사실과 다른 내용은 충격적이군요. 다음부터라도 반드시 타인에게 감수를 받거나, 자신에게 납득할수 있는 내용을 담으세요. --NeoCoin
          public static void main(String argv[]) {
          System.out.println("Hello world!");
          * JFrame의 setBounds(int x, int y, int weight, int height) 메소드
          -> int 전달인자가 순서대로 창을 띄우는 'x좌표', 'y좌표', '창넓이', '창높이' 를 가리킨다
         import javax.swing.*;
          public static void main(String args[]) {
         package WindowFrame;
         import java.io.InputStreamReader;
         import javax.swing.JFrame;
         public class WindowFrame {
          public WindowFrame(String title, int width, int height) {
          public static int inputInt() throws IOException {
          = new BufferedReader(new InputStreamReader(System.in));
          return Integer.parseInt(breader.readLine());
          public static String inputString() throws IOException {
  • 보드카페 관리 프로그램/강석우 . . . . 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;
  • 자바와자료구조2006 . . . . 105 matches
         [http://www.gayhomes.net/debil/amoxicillin.html amoxicillin]
         [http://www.gayhomes.net/debil/clarinex.html clarinex]
         [http://www.gayhomes.net/debil/cyclobenzaprine.html cyclobenzaprine]
         [http://www.gayhomes.net/debil/fluoxetine.html fluoxetine]
         [http://www.gayhomes.net/debil/motrin.html motrin]
         [http://buy-carisoprodol-online.xxl.st/ buy carisoprodol]
         [http://buy-cialis-online.ze.cx/ buy cialis]
         [http://buy-fioricet-online.ze.cx/ buy fioricet]
         [http://buy-levitra-online.fr.nf/ buy levitra]
         [http://buy-phentermine-online.fr.nf/ buy phentermine]
         [http://buy-phentermine-online.ze.cx/ buy phentermine]
         [http://buy-phentermine.biz.st/ buy phentermine]
         [http://buy-phentermine.fr.nf/ buy phentermine]
         [http://buy-propecia-online.infos.st/ buy propecia]
         [http://buy-soma-online.biz.st/ buy soma online]
         [http://buy-tramadol-online.fr.nf/ buy tramadol]
         [http://buy-viagra-online.fr.nf/ buy viagra]
         [http://phentermine-information.ze.cx/ phentermine information]
         [http://phentermine-pharmacy.fr.nf/ phentermine pharmacy]
         [http://phentermine55.fr.nf/ phentermine]
  • ClassifyByAnagram/김재우 . . . . 104 matches
         import StringIO
          def testPrintAnagram( self ):
          outStr = StringIO.StringIO()
          a.printAnagram( output = outStr )
          def testMainFunc( self ):
          inStr = StringIO.StringIO()
          outStr = StringIO.StringIO()
          inStr.write( """ab
          inStr.pos = 0
          a.main( input = inStr, output = outStr )
         if __name__ == '__main__':
          unittest.main()
         import string
          def __init__ ( self ):
          return string.join( lst, '' ).replace( ' ', '' )
          def printAnagram( self, output = sys.stdout ):
          for list in self.dictionary.values():
          for word in list:
          def main( self, input = sys.stdin, output = sys.stdout ):
          for line in input.readlines():
  • MedusaCppStudy/신애 . . . . 104 matches
         #include <iostream>
         #include <string>
         using std::cin;
         using std::endl;
         using std::cout;
         using std::string;
         int main()
          int num;
          cin >> num;
          int rows = num;
          int cols = num * 2 - 1;
          for (int r = 0; r != rows; r++) {
          string::size_type c = 0;
         #include <iostream>
         #include <string>
         using std::cin;
         using std::endl;
         using std::cout;
         using std::string;
         int main()
  • 복/숙제제출 . . . . 104 matches
         #include <stdio.h>
         int main(void){
         int input;
         printf("1에서 9까지 수를 입력하십시오.\n");
         scanf("%d",&input);
         }while(input<1 || input>9);
         int i;
         printf("%dX%d=%d\n",input,i,input*i);
         #include <stdio.h>
         int main()
          int in,out;
          printf("구구단의 세계에 오신것을 환영합니다. 숫자를 입력해주세요. \n");
          scanf("%d",&in);
          printf("%d * %d = %d\n", in, out, in*out);
         #include <stdio.h>
         int main(){
          int i;
          printf("구구단의 세계 단을 처 주세요:\n");
          int j;
          printf("%d*%d=%d\n",i,j,i*j);
  • TFP예제/WikiPageGather . . . . 103 matches
         집에서 모인모인을 돌리다가 전에 생각해두었었던 MindMap 이 생각이 났다. Page간 관계들에 대한 Navigation을 위한. 무작정 코딩부터 하려고 했는데 머릿속에 정리가 되질 않았다. 연습장에 이리저리 쓰고 그리고 했지만. -_-; '너는 왜 공부하고 실천을 안하는 것이야!' 공부란 머리로 절반, 몸으로 절반을 익힌다. 컴공에서 '백견이 불여일타' 란 말이 괜히 나오는 것은 아니리라.
          * '생각할 수 있는 가장 단순한 것부터 생각하라.' 디자인은 TFP 와 Refactoring의 과정만으로 어느정도 보장이 된다. TFP을 추구하는 이상 기능와 의도에 의한 모듈화가 기본적으로 이루어진다. (여태껏의 경험 -- 그래봤자 3번째지만 -- 에 의하면, TFP를 하면서 LongMethod 냄새가 난 적이 없었다. (LongMethod와 Bad Smell 에 대해서는 BadSmellsInCode를 참조하라.) 만일 중복코드 등의 문제가 발생하더라도 기존의 막무가내식 방식에 비해 그 빈도가 적다. 만일 Bad Smell 이 난다면 ["Refactoring"] 을 하면 된다. (참고로 밑의 소스는 ["Refactoring"]의 과정은 거치지 않았다.)
          def testConvertWikiPageNameToMoinFileName (self):
          self.assertEquals (self.pageGather.WikiPageNameToMoinFileName ('''한글테스트'''), '''_c7_d1_b1_db_c5_d7_bd_ba_c6_ae''')
          self.assertEquals (self.pageGather.WikiPageNameToMoinFileName ("FrontPage"), "FrontPage")
          self.assertEquals (self.pageGather.GetPageNamesFromPage (), ["LearningHowToLearn", "ActiveX", "Python", "XPInstalled", "TestFirstProgramming", "한글테스트", "PrevFrontPage"])
          def testGetPageNamesFromString (self):
          strings = "Test First In TestFirstIn TesF TestFi guuweo StringIn"
          self.assertEquals (self.pageGather.GetPageNamesFromString (strings), ["TestFirstIn", "TestFi", "StringIn"])
          strings = '''["Testing"] ["Testing The Program"] higu TestFirst twet'''
          self.assertEquals (self.pageGather.GetPageNamesFromString (strings), ["Testing", "Testing The Program", "TestFirst"])
          def testIsHeadTagLine (self):
          strings = "== testing =="
          self.assertEquals (self.pageGather.IsHeadTagLine (strings), 1)
          strings = "tese ewfe ewfw"
          self.assertEquals (self.pageGather.IsHeadTagLine (strings), 0)
          def testRemoveHeadLine (self):
          strings = '''=== ExtremeProgramming ===\ntesting.. -_-a\n== TestFirst Programmin ==\nfwe\n'''
          self.assertEquals (self.pageGather.RemoveHeadLine (strings), "testing.. -_-a\nfwe\n")
          self.assertEquals (self.pageGather.GetWikiPage ("FrontPage"), '=== Reading ===\n' +
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/강성현 . . . . 103 matches
          * HashMap을 사용하여 단어와 빈도수를 저장함. 저장할 빈도수가 2개라 int형 2개를 저장하는 Int2 클래스를 만듦.
          * train 데이터를 읽어들여서 일단 문자열과 빈도수를 csv 파일로 저장. 이를 Analyze 클래스에서 csv 파일을 읽어들여 test 데이터를 판별.
         package org.zeropage.devils.machine;
         import java.io.FileInputStream;
         import java.io.InputStreamReader;
         import java.io.UnsupportedEncodingException;
          public FileData(String filename) throws FileNotFoundException, UnsupportedEncodingException {
          scan = new Scanner(new InputStreamReader(new FileInputStream(filename),"UTF-8"));
          public String next() { return scan.next(); }
          public String nextLine() { return scan.nextLine(); }
         === Train File Analysis ===
         package org.zeropage.devils.machine;
         import java.io.PrintWriter;
         import java.io.UnsupportedEncodingException;
         import java.util.StringTokenizer;
         public class Main {
          public static HashMap<String, Int2> words = new HashMap<String, Int2>();
          public static void main(String[] args) {
          FileData politics = new FileData("train/politics/index.politics.db");
          FileData economy = new FileData("train/economy/index.economy.db");
  • AcceleratedC++/Chapter3 . . . . 102 matches
         = Chapter 3 Working with batches of data =
         == 3.1 Computing student grades ==
         #include <iostream>
         #include <iomanip>
         #include <string>
         using std::cin;
         using std::setprecision;
         using std::streamsize;
         using std::cout;
         using std::string;
         using std::endl;
         int main() {
          string name;
          cin >> name;
          const string greeting = "Hello, " + name + "!";
          // ask for and read the midterm and final grades
          cout << "Please enter your midterm and final exam grades: ";
          double midterm, final;
          cin >> midterm >> final;
          int count = 0;
  • 허아영/C코딩연습 . . . . 102 matches
         #include <stdio.h>
         #include <stdlib.h>
         int main()
          int pattern_num;
          int i, j;
          int blank;
          printf("출력 할 마름모 변의 패턴수를 입력하십시오(정수>0) :");
          printf("출력 할 마름모 패턴 모양을 입력하십시오(문자) :");
          printf(" ");
          printf("%c", pattern_shape);
          printf("n");
          printf(" ");
          printf("%c", pattern_shape);
          printf("n");
         #include <stdio.h>
         #include <string.h>
         void main()
          int i, j, k;
          printf("패턴모양을 입력하십시오 :");
          printf(" ");
  • 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] ||
  • D3D . . . . 101 matches
         "Advanced 3D Game Programming using DirectX" - study.
         이런 종류의 책들이 다 그렇듯이, winapi를 사용한다.[[BR]]
         그렇기 때문에, 초반의 한 chapter는 거의다 winapi를 사용해서 [[BR]]
         추천 도서: Inside DirectX (필요로 한다면 말하시오. 전자책으로 있어요. --;;)
          Tricks of the Windows Game Programming Gurus : Fundamentals of 2D and 3D Game Programming. (DirectX, DirectMusic, 3D sound)
         ==== point3 구조체 ====
         struct point3
          point3 () {}
          point3 (float X, float Y, float Z) : x(X), y(Y), z(Z) {} // 초기화 목록을 사용. (compiler가 작업을 더 잘 수행할 수 있도록 해준다더군.)
         ==== point3의 연산자와 기본적 함수 ====
         struct point3
          point3 operator +(point3 const &a, point3 const &b);
          point3 operator -(point3 const &a, point3 const &b);
          point3 operator *(point3 const &a, float const &b);
          point3 operator *(float const &a, point3 const &b);
          point3 operator /(point3 const &a, float const &b);
         inline void point3::Assign (float X, float Y, float Z)
         inline float point3::Mag () const
         inline float point3::MagSquared () const
         inline void point3::Normailze ()
  • OurMajorLangIsCAndCPlusPlus/stdlib.h . . . . 101 matches
          == 함수 (Functions) - String Functions ==
         || int atoi(const char *str); || 문자열을 정수(integer)로 변환 ||
         || long int strtol(const char *str, char **endptr, int base); || 문자열을 정수(long integer)로 변환 ||
         || unsigned long int strtoul(const char *str, char **endptr, int base); || 문자열을 정수(unsigned long)로 변환 ||
         || int atexit(void (*func)(void)); || 프로그램이 정상적으로 종료될 때 전달인자로 넘겨진 함수포인터를 이용해서 특정 함수 실행 ||
         || void exit(int status); || 정상적인 프로그램 종료를 발생시킨다 ||
         || int system(const char *string); || 전달인자로 받은 명령 실행 ||
         == 함수 (Functions) - Searching and Sorting Functions ==
         || void *bsearch(const void *key, const void *base, size_t nitems, size_t size, int (*compar)(const void *, const void *)); || 이진검색 수행 ||
         || void qsort(void *base, size_t nitems, size_t size, int (*compar)(const void *, const void*)); || 퀵 소트 수행 ||
         || int abs(int x); || 정수형 절대값 리턴 ||
         || div_t div(int numer, int denom); || 전달인자의 numer를 denom으로 나눈 값과 나머지를 구조체형식으로 리턴 ||
         || long int labs(long int x); || long형 정수의 절대값을 리턴 ||
         || ldiv_t ldiv(long int numer, long int denom); || div()와 동일하고 변수 타입만 long int ||
         || int rand(void); || 0부터 RAND_MAX까지의 범위사이의 난수 리턴||
         || void srand(unsigned int seed); || rand()에 의해 사용되는 난수 생성기에 인자 공급 ||
         || int mblen(const char *str, size_t n); || 다중 바이트 문자의 길이 리턴 ||
         || int mbtowc(whcar_t *pwc, const char *str, size_t n); || 다중 바이트 문자를 wide 문자로 변환 ||
         || int wctomb(char *str, wchar_t wchar); || wide 문자를 다중 바이트 문자로 변환 ||
         #include <stdlib.h>
  • 김희성/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__':
  • 새싹교실/2012/해보자 . . . . 100 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 참고로 ZeroWiki는 MoniWiki Engine을 사용하며 Google Chrome이나 Mozila Firefox, Safari보다는 Internet Explorer에서 가장 잘 돌아가는 것 같습니다.
          * sizeof(int) = 4, sizeof(char) = 1, sizeof(short) = 2 etc.
          1. #define pi 3.141592를 이용하여 구의 겉넓이, 부피를 계산하고 출력하는 프로그램을 만드시오.(코드를 여기에 올려주세요)
          2. swap(int num1, int num2)함수를 구현하시오. 함수 호출을 배우지 않았기 때문에, 그리고 포인터를 아직 배우지 않았기 때문에 기본적인 코드를 제공합니다.
         void swap(int num1,int num2);
         int main(void){
         int num1, num2;
         printf("정수 2개를 입력하시오: ");
         printf("num1: %d, num2: %d\n",num1, num2);
         void swap(int num1,int num2){
         printf("after swap\nnum1: %d, num2: %d\n",num1, num2);
         #include <stdio.h>
         int main(void){
          int num;
          printf("짝수");
          printf("홀수");
         #include <stdio.h>
         int main(void){
          int year;
  • VendingMachine/세연 . . . . 99 matches
         #include <iostream>
         using namespace std;
         #include <string>
         class VendingMachine
          int _money;
          int _temp_money;
          int _select_money, _select_drink, _insert_amount;
          struct drink
          int price, amount;
          drink s_drink[5];
          int _max_num;
          VendingMachine();
          int showMenu();
          void insertDrink();
         int VendingMachine::showMenu()
          int choice;
          cin >> choice;
         VendingMachine::VendingMachine()
          char * drink_name[] = {"coke", "juice", "tea" , "cofee", "milk"};
          int price[] = {400, 600, 500, 450, 350};
  • 성우용 . . . . 99 matches
         #include <iostream>
         using namespace std;
         #define stack_size 100
         int top=-1;
         int pop();
         void main()
          //int index;
          int i;
          printf("%c",arraytemp);
         int pop()
         #include <iostream>
         using namespace std;
         #define SIZE 19
         int matrix[SIZE][SIZE];
         void initial();
         void print();
         int main()
          int i,j,x_point,y_point;
          initial();
          cin>>i;
  • AcceleratedC++/Chapter8 . . . . 98 matches
         = Chapter 8 Writing generic functions =
         WikiPedia:Generic_function : 함수의 호출시 인자 타입이나 리턴타입을 사용자가 알 수없다. ex)find(B,E,D)
          union(A:string, " is...") (O), concaternate("COL", " is...") (X)}}}
         #define GUARD_median_h
         #include <algorithm>
         #include <stdexcept>
         #include <vector>
         using std::domain_error;
         using std::sort;
         using std::vector;
          throw domain_error("median of an empty vector");
          sort(v.begin(), v.end());
          return size % 2 == 0 ? (v[mid] + v[mid-1]) / 2 : v[mid]; // double, int에는 유효, string은 operator / 가 없기 때문에 무효
          || find(B, E, D) || D의 인자료 [B, E)를 비교하여 값을 찾는다. 비교를 하는 것은 크게 문제되지 않는다. ||
          {{{~cpp ex) accumulate(v.begin(), v.end(), 0.0); // 만약 0:int를 사용했다면 올바른 동작을 보장할 수 없다.}}}
         == 8.2 Data-structure independence ==
          || find(c.begin(), c.end(), val) || 일반적인 함수의 작성 가능. 반복자를 통해서 반복자가 제공하는 방식으로 동작가능 ||
          || c.find(val) || 특정형의 인스턴스인 c를 통해서만 접근가능. 내장배열에 적용 불가능 ||
          || find(c, val) || 범위 지정이 불가능하고, 유용성이 첫번째의 경우보다 적다. ||
          * 1의 방식으로 작성된 함수으이 rbegin() 같은 템플릿 멤버 함수를 이용해서 역순 검색도 가능하게 작성된다.
  • GuiTestingWithMfc . . . . 98 matches
         CppUnit 을 이용한 MFC 에서의 GuiTesting (시도중. 결과는?)
         http://zeropage.org/pub/GuiTesting/GuiTest1.gif
         === 1. GUI Runner Setting ===
         이는 App 클래스의 InitInstance 함수에서 해준다.
         #include "stdafx.h"
         #include "GuiTestingOne.h"
         #include "GuiTestingOneDlg.h"
         #include "cppunit\ui\mfc\TestRunner.h"
         #include "GuiTestCase.h"
         #define new DEBUG_NEW
         BEGIN_MESSAGE_MAP(CGuiTestingOneApp, CWinApp)
          //{{AFX_MSG_MAP(CGuiTestingOneApp)
          // NOTE - the ClassWizard will add and remove mapping macros here.
          // DO NOT EDIT what you see in these blocks of generated code!
          ON_COMMAND(ID_HELP, CWinApp::OnHelp)
         CGuiTestingOneApp::CGuiTestingOneApp()
         CGuiTestingOneApp theApp;
         BOOL CGuiTestingOneApp::InitInstance()
          AfxEnableControlContainer();
          Enable3dControls(); // Call this when using MFC in a shared DLL
  • 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;
  • Memo . . . . 98 matches
         http://www.freenetpages.co.uk/hp/alan.gauld/tutintro.htm
         http://search.costcentral.com/search?p=Q&srid=S9%2d3&lbc=costcentral&ts=custom&w=ThinkPad&uid=975848396&method=and&isort=price&srt=150
         [http://kin.naver.com/knowhow/entry.php?eid=sXanZUDMReh3tKhs1VJ30OlMQ3piSgKm 마지막 사진의 진실은...?]
         RFC 791 Internet Protocol
         RFC 792 Internet Control Message Protocol
         #define MAX_PACKET_SIZE 65525
         #define BIND2IP "165.194.17.76" //Put you'r IP in her
         #include <stdio.h>
         #include <winsock2.h>
         #include <mstcpip.h>
         #include <ws2tcpip.h>
          //unsigned long Options_and_Padding;
         void ProcessPacket(char* Buffer, int Size)
          struct sockaddr_in SockAddr;
          SockAddr.sin_addr.s_addr = iphdr->SrcIP;
          printf("Packet From: %s ", inet_ntoa(SockAddr.sin_addr));
          SockAddr.sin_addr.s_addr = iphdr->DstIP;
          printf("To: %s ", inet_ntoa(SockAddr.sin_addr));
          printf("Protocol: ICMP ");
          printf("Protocol: IGMP ");
  • 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)
  • UML . . . . 96 matches
         == Unified Modeling Language(UML) ==
         In software engineering, Unified Modeling Language (UML) is a non-proprietary, third generation modeling and specification language. However, the use of UML is not restricted to model software. It can be used for modeling hardware (engineering systems) and is commonly used for business process modeling, organizational structure, and systems engineering modeling. The UML is an open method used to specify, visualize, construct, and document the artifacts of an object-oriented software-intensive system under development. The UML represents a compilation of best engineering practices which have proven to be successful in modeling large, complex systems, especially at the architectural level.
         This diagram describes the functionality of the (simple) Restaurant System. The Food Critic actor can Eat Food, Pay for Food, or Drink Wine. Only the Chef Actor can Cook Food. Use Cases are represented by ovals and the Actors are represented by stick figures. The box defines the boundaries of the Restaurant System, i.e., the use cases shown are part of the system being modelled, the actors are not.
         The OMG defines a graphical notation for [[use case]]s, but it refrains from defining any written format for describing use cases in detail. Many people thus suffer under the misapprehension that a use case is its graphical notation; when in fact, the true value of a use case is the written description of scenarios regarding a business task.
         This diagram describes the structure of a simple Restaurant System. UML shows [[Inheritance_(computer_science)|Inheritance]] relationships with a [[triangle]]; and containers with [[rhombus|diamond shape]]. Additionally, the role of the relationship may be specified as well as the cardinality. The Restaurant System has any number of Food dishes(*), with one Kitchen(1), a Dining Area(contains), and any number of staff(*). All of these objects are associated to one Restaurant.
         This diagram describes the sequences of messages of the (simple) Restaurant System. This diagram represents a Patron ordering food and wine; drinking wine then eating the food; finally paying for the food. The dotted lines extending downwards indicate the timeline. The arrows represent messages (stimuli) from an actor or object to other objects. For example, the Patron sends message 'pay' to the Cashier. Half arrows indicate asynchronous method calls.
         Above is the collaboration diagram of the (simple) Restaurant System. Notice how you can follow the process from object to object, according to the outline below:
         *2. Serve Wine
         A Collaboration diagram models the interactions between objects in terms of sequenced messages. Collaboration diagrams represent a combination of information taken from [[#UML_Class Diagram|Class]], [[#UML_Sequence_Diagram|Sequence]], and [[#UML_Use_Case_Diagram|Use Case Diagrams]] describing both the static structure and dynamic behavior of a system.
         Collaboration and sequence diagrams describe similiar information, and as typically implemented, can be transformed into one another without difficulty.
         However, collaboration diagrams use the free-form arrangement of objects and links as used in Object diagrams. In order to maintain the ordering of messages in such a free-form diagram, messages are labeled with a chronological number and placed near the link the message is sent over. Reading a Collaboration diagram involves starting at message 1.0, and following the messages from object to object.
         In UML 2.0, the Collaboration diagram has been simplified and renamed the Communication diagram.
         Activity diagrams represent the business and operational workflows of a system. An Activity diagram is a variation of the state diagram where the "states" represent operations, and the transitions represent the activities that happen when the operation is complete.
         This activity diagram shows the actions that take place when completing a (web) form.
         The user starts by filling out the form, then it is checked; the result of the check determines if the form has to be filled out again or if the activity is completed.
         Deployment diagrams serve to model the hardware used in system implementations and the associations between those components. The elements used in deployment diagrams are nodes (shown as a cube), components (shown as a rectangular box, with two rectangles protruding from the left side) and associations.
         This deployment diagram shows the hardware used in a small office network. The application server (node) is connected to the database server (node) and the database client (component) is installed on the application server. The workstation is connected (association) to the application server and to a printer.
         Although UML is a widely recognized and used standard, it is criticized for having imprecise semantics, which causes its interpretation to be subjective and therefore difficult for the formal test phase. This means that when using UML, users should provide some form of explanation of their models.
         Another problem is that UML doesn't apply well to distributed systems. In such systems, factors such as serialization, message passing and persistence are of great importance. UML lacks the ability to specify such things. For example, it is not possible to specify using UML that an object "lives" in a [[server]] process and that it is shared among various instances of a running [[process]].
         At the same time, UML is often considered to have become too bloated, and fine-grained in many aspects. Details which are best captured in source code are attempted to be captured using UML notation. The [[80-20 rule]] can be safely applied to UML: a small part of UML is adequate for most of the modeling needs, while many aspects of UML cater to some specialized or esoteric usages.
  • 오목/곽세환,조재화 . . . . 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"
  • 오목/민수민 . . . . 96 matches
         // sampleView.h : interface of the CSampleView class
         #if !defined(AFX_SAMPLEVIEW_H__7D3F7617_AE70_11D7_A975_00010298970D__INCLUDED_)
         #define AFX_SAMPLEVIEW_H__7D3F7617_AE70_11D7_A975_00010298970D__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);
          int count;
          int board[20][20];
          afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
          afx_msg void OnMouseMove(UINT nFlags, CPoint point);
          int win;
          int cnt;
          int y;
          int x;
         #ifndef _DEBUG // debug version in sampleView.cpp
         inline CSampleDoc* CSampleView::GetDocument()
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         #endif // !defined(AFX_SAMPLEVIEW_H__7D3F7617_AE70_11D7_A975_00010298970D__INCLUDED_)
  • MedusaCppStudy/세람 . . . . 95 matches
         #include <iostream>
         using std::cout;
         using std::cin;
         using std::endl;
         int main ()
          int num;
          cin >> num;
          int rows = num ;
          int cols = num ;
          for( int r=0; r!=rows; r++)
          for (int c=0; c != cols; c++)
         #include <iostream>
         using std::cout;
         using std::cin;
         using std::endl;
         int main ()
          int width, length ;
          cin >> width >> length ;
          int rows = length ;
          int cols = width ;
  • 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(형변환)을 컴파일러가 암시적으로 해줄수 있다. 이제 사태의 심각성을 알겠는가?
  • 정수민 . . . . 94 matches
         #include <stdio.h>
         #include <stdlib.h>
         int main()
          int i, j;
          for ( j = 2 ; j < 10 ; j++ )printf("%d*%d=%2d ", j, i, i*j );
          printf("n");
         #include <stdio.h>
         #include <stdlib.h>
         void randem_x(int count);
         void randem_y(int count, int save);
         void winning_number();
         void make_number(int k);
         const int max_position = 6;
         int randemsoo[2][6];
         int main()
          int count, save;
          printf("중복 횟수입력 : ");
          printf("n");
          winning_number();
         void make_number(int k){
  • MoinMoinTodo . . . . 93 matches
         This is a list of things that are to be implemented. If you miss a feature, have a neat idea or any other suggestion, please put it on MoinMoinIdeas.
         To discuss the merit of the planned extensions, or new features from MoinMoinIdeas, please use MoinMoinDiscussion.
         A list of things that are added to the current source in CVS are on MoinMoinDone.
         MoinMoinRelease describes how to build a release from the SourceForge repository.
         Things to do in the near future:
          * add a means to build the dict.cache file from the command line
          * Macro that lists all users that have an email address; a click on the user name sends the re-login URL to that email (and not more than once a day).
          * Send a timestamp with the EditPage link, and then compare to the current timestamp; warn the user if page was edited since displaying.
          * Now that we can identify certain authors (those who have set a user profile), we can avoid to create a backup copy if one author makes several changes; we have to remember who made the last save of a page, though.
          * Implement the update script (copying new images etc.) described elsewhere on this page or MoinMoinIdeas.
          * Replace SystemPages by using the normal "save page" code, thus creating a backup copy of the page that was in the system. Only replace when diff shows the page needs updating.
          * Send a regular "changes" mail? (checkbox, plus frequency setting hourly/daily/weekly/etc.)
          * Other things like color, icons, menu?
          * On request, send email containing an URL to send the cookie
          * Steal ideas from [http://www.usemod.com/cgi-bin/mb.pl?action=editprefs MeatBall:Preferences]
          * MoinMoinRefactoring
          * create a dir per page in the "backup" dir; provide an upgrade.py script to adapt existing wikis
          * Add backlink patch by Thomas Thurman
          * Page info: links to / from page.
          * Add a link to Wiki:EditThePageSimultaneously (or a link to a local copy) to the edit conflict message.
  • SummationOfFourPrimes/1002 . . . . 93 matches
         for eachGenNumberFour in GenNumbersFour
          print eachGenNumberFour
         print "impossible"
          def __init__(self,aNum):
          for i in range(2,self.size+1):
          for eachValue in self.resultTable:
          for i in range(sizeOfList):
          for j in range(sizeOfList):
          for k in range(sizeOfList):
          for l in range(sizeOfList):
          def __init__(self,aNum):
          for i in range(2,self.size+1):
          for eachValue in self.resultTable:
          for i in range(sizeOfList):
          for j in range(sizeOfList):
          for k in range(sizeOfList):
          for l in range(sizeOfList):
         def main():
          n = int(raw_input('input number : '))
          for eachPrimeNumberSeq in selectionFour(primeNumberList.getList()):
  • 몸짱프로젝트/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)
  • 조영준/다대다채팅 . . . . 93 matches
         using System;
         using System.Collections.Generic;
         using System.Linq;
         using System.Text;
         using System.Threading.Tasks;
         using System.Net;
         using System.Net.Sockets;
         using System.Threading;
          static void Main(string[] args)
         using System;
         using System.Collections.Generic;
         using System.Linq;
         using System.Text;
         using System.Threading.Tasks;
         using System.Net.Sockets;
         using System.Net;
         using System.Threading;
          Console.WriteLine(TimeStamp() + "[]Server started");
          t1.Join();
          t3.Join();
  • 토이/숫자뒤집기/김정현 . . . . 93 matches
         임의의 int 변수를 받아서 그것의 역순을 다시 int 로 리턴
         public int reverseNo1(int num) {
          int input = num;
          int reversed= 0;
          final int scale= 10;
          while(input%scale>0) {
          reversed = reversed + input%scale;
          input /= scale;
         public int reverseNo2(int num) {
          String input= String.valueOf(num);
          char[] reversedChar= new char[input.length()];
          for(int i=0;i<input.length();i++) {
          reversedChar[input.length-i-1]= input.charAt(i);
          return Integer.parseInt(new String(reversedChar));
         public int reverseNo3(int num) {
          char[] numChars= String.valueOf(num).toCharArray();
          int range= numChars.length;
          for(int i=0;i<range/2;i++) {
          String stringNum= new String(numChars);
          return Integer.parseInt(stringNum);
  • MoreMFC . . . . 92 matches
         Programming with Mfc - Jeff prosise (책 요약 정도 or 책장사.. --;)
         그럼.. to be continue.. [[BR]]
         == Programming with MFC ==
         언제나 그렇듯, Window programming을 할때 처음 등장하는 예제는. Hello~ 시리즈다. 그 source를 통해 MFC프로그램에 첫발을 디딜것이며.. 요책에 나온 윈도우의 이모저모에 관해 설명할것이다. 뭐 .. 대충대충 해나갈 것이지만.. 그럼.. windows programming의 세계로. gogogo -- v [[BR]][[BR]]
         그리고, MFC를 하기전에 꼭 한번씩 나오는 SDK로 하는 windows programming. source. [[BR]]
         MFC자체는 이런 WinMain이나 WndProc 는 감추지만 밑단에서 이런 식으로 돌아간다는 것을 조금이라도 알게 하기 위해서 포함. 무시해도 상관 없음. ㅋㅋ
         // 주석 없음.. 그냥.. WinMain과 WndProc가 있구나만 보고 넘어 가시길.. 키키
         #include <windows.h>
         int WINAPI WndProc (HWND, UINT, WPARAM, LPARAM);
         int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
         wc.hInstance = hInstance;
         wc.hIcon = LoadIcon (NULL, IDI_WINLOGO);
         wc.hbrBackground = (HBRUSH) (COLOR_WINDOW + 1);
         hwnd = CreateWindow (_T("MyWndClass"), "SDK Application",
          WS_OVERLAPPEDWINDOW,
          hInstance,
          NULL ); // window를 만들었지만 보이지는 않는다.
         ShowWindow (hWnd, nCmdShow); // window 보여주기. --;
         UpdateWindow (hWnd);
         LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
  • Linux/RegularExpression . . . . 91 matches
         = Mastering Regular Expressions, 2nd Edition =
         == Ch1 Introduction to Regular Expressions ==
          * ^(caret) : 시작을 의미함. ^cat은 cat으로 시작하는 문자...(cats,cater,caterer...).in the line rather real text
          * $(dollar) : 끝을 의미함. cat$은 cat으로 끝나는 문자 ...(blackcat, whitecat, ....) in the line rather real text
         print, space, uppper, xdigit가 있다.
         korea|japan|chinese (korea, japan, chinese 중 하나)
         정규식은 Unix의 대표적인 유틸리티인 vi, emacs, ed, sed, awk, grep, egrep 등에서 사용할 수 있다. 다음은 grep에서 정규식을 활용한 예를 보여 주고 있다.
         예 : $ who | grep 'hgkim' <= hgkim이라는 사용자가 login 해 있는지를 알아봄
         예: $ grep 'telnet' /etc/inetd.conf
         int ereg(string givenPattern, string givenString, array matched);
         - givenString을 "string1stringAstring2stringBstring3 ... string9stringI" 로 주어져 있다고 하자. 이때 stringA, stringB, ... , stringI는 NULL 이어도 상관이 없다(즉 givenString은 "string1string2string3 ... string9" 인 경우임).
         - givenString이 위와 같이 주어진 경우,
         givenPattern은 "(pattern1)stringA(pattern2)stringB(pattern3) ... (pattern9)stringI"로 입력하여야 한다. 즉 pattern1, pattern2, ..., pattern9는 각각 string1, string2, ... , string9에서 찾고자하는 정규식인 것이다.
         - 이때 pattern1이 string1에서 발견한 패턴은 $matched[1]에 저장되고, pattern2가 string2에서 발견한 패턴은 $matched[2]에 저장되고, ..., pattern9가 string9에서 발견한 패턴은 $matched[9]에 저장된다. PHP3의 경우 ereg에서는 최대 9개 까지의 pattern을 찾을 수 있도록 설정되어 있음에 유의하자.
         - 그리고 $matched[0]에는 $matched[1]stringA$matched[2]stringB ... $matched[9]stringI가 저장된다.
         - eregi는 case insensitive
         코드 => print(ereg ("(.*)ef([abc].*)","abcdefabc",$matched));
         print("<br>");
         print("$a, $b <br>");
         코드 => print(ereg ("(.*)d(.*)e(.*)qrs(.*)","abcdefghijklmnopqrstuvwxyz",$matched));
  • ChocolateChipCookies/조현태 . . . . 90 matches
         #include <iostream>
         #include <string>
         #include <vector>
         #include <cmath>
         #include <Windows.h>
         using namespace std;
         struct SMyPoint{
          SMyPoint(double inputX, double inputY)
          x = inputX;
          y = inputY;
          bool operator == (const SMyPoint& target)
         vector<SMyPoint> g_points;
         vector< vector<SMyPoint> > g_hitPoints;
         double GetLength(SMyPoint& one, SMyPoint another)
         void initHitPoints()
          g_hitPoints.clear();
          for (register int i = 0; i < (int)g_points.size(); ++i)
          vector<SMyPoint> temp;
          temp.push_back(g_points[i]);
          g_hitPoints.push_back(temp);
  • 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>
  • SmalltalkBestPracticePatterns/DispatchedInterpretation . . . . 90 matches
         Encoding is inevitable in programming. At some point you say, "Here is some information. How am I going to represent it?" This decision to encode information happens a hundred times a day.
         Back in the days when data was separated from computation, and seldom the twain should meet, encoding decisions were critical. Any encoding decision you made was propagated to many different parts of the computation. If you got the encoding wrong, the cost of change was enormous. The longer it took to find the mistake, the more ridiculous the bill.
         과거로 돌아가서 데이타가 연산으로부터 불리되었을 때, 그리고 종종 그 둘이 만나야 했을 때, 인코딩 결정은 중대한 것이었다. 너의 어떠한 인코딩 결정은 연산의 많은 다른 부분들을 점차적으로 증가시켜나아갔다. 만약 잘못된 인코딩을 한다면, 변화의 비용은 막대하다. The longer it took to find the mistake, the more ridiculous the bill.
         Objects change all this. How you distribute responsibility among objects is the critical decision, encoding is a distant second. For the most part, in well factored programs, only a single object is interested in a piece of information. That object directly references the information and privately performs all the needed encoding and decoding.
         Sometimes, however, information in one object must influence the behavior of another. When the uses of the information are simple, or the possible choices based on the information limited, it is sufficient to send a message to the encoded object. Thus, the fact that boolean values are represented as instances of one of two classes, True and False, is hidden behind the message #ifTrue:ifFalse:.
         Sets interact with their elements like this. Regardless of how an object is represented, as long it can respond to #=and #hash, it can be put in a Set.
         Sometimes, encoding decisions can be hidden behind intermediate objects. And ASCII String encoded as eight-bit bytes hides that fact by conversing with the outside world in terms of Characters:
         String>>at: anInteger
          ^Character asciiValue: (self basicAt: anInteger)
         When there are many different types of information to be encoded, and the behavior of clients changes based on the information, these simple strategies won't work. The problem is that you don't want each of a hundred clients to explicitly record in a case statement what all the types of information are.
         For example, consider a graphical Shape represented by a sequence of line, curve, stroke, and fill commands. Regardless of how the Shape is represented internally, it can provide a message #commandAt: anInteger that returns a Symbol representing the command and #argumentsAt: anInteger that returns an array of arguments. We could use these messages to write a PostScriptShapePrinter that would convert a Shape to PostScript:
         PostScriptShapePrinter>>display: aShape
          command = #line if True:
          printPoint: (arguments at: 1);
          printPoint: (arguments at: 2);
          nextPutAll:'line'].
         Every client that wanted to make decisions based on what commands where in a Shape would have to have the same case statement, violating the "once and only once" rule. We need a solution where the case statement is hidden inside of the encoded objects.
         The simplest example of this is Collection>>do:. By passing a one argument Block(or any other object that responds to #value:), you are assured that the code will work, no matter whether the Collection is encoded as a linear list, an array, a hash table, or a balanced tree.
         This is a simplified case of Dispatched Interpretation because there is only a single message coming back. For the most part, there will be several messages. For example, we can use this pattern with the Shape example. Rather than have a case statement for every command, we have a method in PostScriptShapePrinter for every command, For example:
         PostScriptShapePrinter>>lineFrom: fromPoint to: toPoint
  • TwistingTheTriad . . . . 90 matches
         http://www.object-arts.com/Papers/TwistingTheTriad.PDF
         http://www.esug.org/summerschools/2000_Southampton/twistingTheTriad/twistingTheTriad.pdf
         C++ 시스템의 Taligent 로부터 유래. Dolphin Smalltalk 의 UI Framework. 논문에서는 'Widget' 과 'MVC' 대신 MVP 를 채택한 이유 등을 다룬다고 한다. 그리고 MVC 3 요소를 rotating (or twisting)함으로서 현재 존재하는 다른 Smalltalk 환경보다 쓰기 쉽고 더 유연한 'Observer' based framework 를 만들 것을 보여줄 것이다.
         with a widget-based system it is easy to avoid having to think about the (required) separation between the user interface and the application domain objects, but it is all too easy to allow one's domain code to become inextricably linked with the general interface logic.
         it was much more that the widget system was just not flexible enought. We didn't know at the time, but were just starting to realise, that Smalltalk thrives on plugability and the user interface components in out widget framework were just not fine-grained enough.
         One example of this deficiency surfaced in SmalltalkWorkspace widget. This was originally designed as a multiline text-editing component with additional logic to handle user interface commands such as Do-it, Show-it, Inspect-it etc. The view itself was a standard Windows text control and we just attached code to it to handle the workspace functionality. However, we soon discovered that we also wanted to have a rich text workspace widget too. Typically the implementation of this would have required the duplication of the workspace logic from the SmalltalkWorkspace component or, at least, an unwarranted refactoring session. It seemed to us that the widget framework could well do with some refactoring itself!
         In MVC, most of the application functionality must be built into a model class known as an Application Model. It is the reponsibility of the application model to be the mediator between the true domain objects and the views and their controllers. The views are responsible for displaying the domain data while the controller handle the raw usr gestures that will eventually perform action on this data. So the application model typically has method to perform menu command actions, push buttons actions and general validation on the data that it manages. Nearly all of the application logic will reside in the application model classes. However, because the application model's role is that of a go-between, it is at times necessary for it to gain access to the user interface directly but, because of the Observer relationship betweeen it and the view/controller, this sort of access is discouraged.
         For example, let's say one wants to explicitly change the colour of one or more views dependent on some conditions in the application model. The correct way to do this in MVC would be to trigger some sort of event, passing the colour along with it. Behaviour would then have to be coded in the view to "hang off" this event and to apply the colour change whenever the event was triggered. This is a rather circuitous route to achieving this simple functionality and typically it would be avoided by taking a shoutcut and using #componentAt : to look up a particular named view from the application model and to apply the colour change to the view directly. However, any direct access of a view like this breaks the MVC dictum that the model should know nothing about the views to which it is connected. If nothing else, this sort of activity surely breaks the possibility of allowing multiple views onto a model, which must be the reason behind using the Observer pattern in MVC in the first place.
         === TwistingTheTriad : ModelViewPresenter ===
         This is the data upon which the user interface will operate. It is typically a domain object and the intention is that such objects should have no knowledge of the user interface. Here the M in MVP differs from the M in MVC. As mentioned above, the latter is actually an Application Model, which holds onto aspects of the domain data but also implements the user interface to manupulate it. In MVP, the model is purely a domain object and there is no expectation of (or link to) the user interface at all.
         The behaviour of a view in MVP is much the same as in MVC. It is the view's responsibility to display the contents of a model. The model is expected to trigger appropriate change notification whenever its data is modified and these allow the view to "hang off" the model following the standard Observer pattern. In the same way as MVC does, this allows multiple vies to be connected to a single model.
         One significant difference in MVP is the removal of the controller. Instead, the view is expected to handle the raw user interface events generated by the operating system (in Windows these come in as WM_xxxx messages) and this way of working fits more naturally into the style of most modern operating systems. In some cases, as a TextView, the user input is handled directly by the view and used to make changes to the model data. However, in most cases the user input events are actually routed via the presenter and it is this which becomes responsible for how the model gets changed.
         While it is the view's responsibility to display model data it is the presenter that governs how the model can be manipulated and changed by the user interface. This is where the heart of an application's behaviour resides. In many ways, a MVP presenter is equivalent to the application model in MVC; most of the code dealing with how a user interface works is built into a presenter class. The main difference is that a presenter is ''directly'' linked to its associated view so that the two can closely collaborate in their roles of supplying the user interface for a particular model.
         Compared with our orignnal widget framework, MVP offers a much greater separation between the visual presentation of an interface and the code required to implement the interface functionality. The latter resides in one or more presenter classes that are coded as normal using a standard class browser.
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/송지원 . . . . 90 matches
          * 가장 느리고 무식한 Linear Search로도 문제해결 했다를 보여주는 의지의 한국인 코드
          * 다른 분들과 달리, 저는 한 글자인 문자와 특수문자를 첫 글자로 포함하는 단어들은 Train Data 및 Test Data 분석에 포함시키지 않았습니다.
         === Train File Analysis ===
         import java.util.StringTokenizer;
          String filename;
          List<String> articles;
          public List<String> data;
          public List<Integer> frequency;
          FileAnalasys(String f){
          articles = new ArrayList<String>();
          data = new ArrayList<String>();
          frequency = new ArrayList<Integer>();
          String line;
          String str;
          line = br.readLine();
          while(line != null){
          articles.add(line);
          StringTokenizer st = new StringTokenizer(line, " ");
          for(int i=0; i<data.size(); i++){
          line = br.readLine();
  • 주민등록번호확인하기/김태훈zyint . . . . 90 matches
         #include <stdio.h>
         #include <string.h>
         #define TRUE 1
         #define FALSE 0
         int is_int(char c);
         void intval(char* from);
         int main(int argc, char* argv[])
          int i;
          char jumin[13];
          int chk;
          printf("주민등록번호 13자리 입력하세요(하이픈 '-' 제외) : ");
          scanf("%s",jumin);
          if(strlen(jumin)!=13) chk=FALSE;
          if(!is_int(jumin[i]))
          printf("숫자만 입력해야 합니다\n\n");
          intval(jumin);
          for(i=0;i<=7;i++) chk += jumin[i] * (i+2);
          for(i=8;i<=11;i++) chk += jumin[i] * (i-6);
          if(jumin[12]==chk)
          printf("대한민국 국민이네요~ ^^ 안녕하세요!\n");
  • Linux/MakingLinuxDaemon . . . . 89 matches
         root 1 0 0 0 TS 23 Oct15 ? 00:00:00 init [2]
         daemon 1191 1 1191 1191 TS 22 Oct15 ? 00:00:00 /sbin/portmap
         root 1314 1 1313 1313 TS 24 Oct15 ? 00:00:00 /usr/sbin/syslogd
         bind 1323 1 1323 1323 TS 21 Oct15 ? 00:00:00 /usr/sbin/named -u bind
         105 1334 1 1334 1334 TS 21 Oct15 ? 00:00:00 /usr/bin/dbus-daemon-1 --system
         104 1366 1 1366 1366 TS 23 Oct15 ? 00:00:00 /usr/sbin/exim4 -bd -q30m
         root 1372 1 1371 1371 TS 18 Oct15 ? 00:00:00 /usr/sbin/inetutils-inetd
         root 1387 1 1303 1303 TS 14 Oct15 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe
         root 1417 1387 1303 1303 TS 14 Oct15 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe
         mysql 1418 1417 1303 1303 TS 23 Oct15 ? 00:06:23 /usr/sbin/mysqld --basedir=/usr --datad
         root 1461 1 1461 1461 TS 24 Oct15 ? 00:00:00 /usr/sbin/sshd
         root 1475 1 1303 1303 TS 14 Oct15 ? 00:03:00 /usr/local/jdk/jre/bin/java -Djava.util
         root 1481 1 1481 1481 TS 23 Oct15 ? 00:00:00 /usr/sbin/vsftpd
         root 1485 1 1485 1485 TS 21 Oct15 ? 00:00:00 /usr/sbin/famd -T 0
         daemon 1497 1 1497 1497 TS 23 Oct15 ? 00:00:00 /usr/sbin/atd
         root 1500 1 1500 1500 TS 23 Oct15 ? 00:00:00 /usr/sbin/cron
         root 1538 1 1538 1538 TS 23 Oct15 tty1 00:00:00 /sbin/getty 38400 tty1
         root 1540 1 1540 1540 TS 23 Oct15 tty2 00:00:00 /sbin/getty 38400 tty2
         root 1541 1 1541 1541 TS 23 Oct15 tty3 00:00:00 /sbin/getty 38400 tty3
         root 1542 1 1542 1542 TS 23 Oct15 tty4 00:00:00 /sbin/getty 38400 tty4
  • TicTacToe/임인택 . . . . 89 matches
         import javax.swing.JFrame;
          private int board[][];
          private int x, y;
          private static final int __O = 1;
          private static final int __X = -1;
          private static final int __NONE = 0;
          init();
          private void init() {
          board = new int[3][3];
          for(int i=0; i<3; ++i) {
          for(int j=0; j<3; ++j) {
          repaint();
          int result = someoneWin(x,y);
          System.out.println("흑 승");
          System.out.println("백 승");
          public int someoneWin(int x, int y) {
          int checkPoint = 0;
          for(int i=x,j=y; i<3 && j<3 && i>=0 && j>=0; --i, --j) {
          checkPoint += board[i][j];
          if( winLose(checkPoint) ) return checkPoint;
  • VendingMachine_참관자 . . . . 89 matches
         # include <string.h>
         # include <stdio.h>
         # include <stdlib.h>
         # define HELLO 1
         # define PUT 2
         # define RETURN 3
         # define PUSH 4
         # define OFF 5
         # define TOKEN_NUM 5
         # define MENU_NUM 5
          char InputStr[100];
          int index;
          int ReceiveCommand();
         class VendingMachine{
          int Money;
          int MinPrice;
          int Menu_num;
          int Price[10];
          int M[10];
          void SetMenuM(int i);
  • AcceleratedC++/Chapter11 . . . . 88 matches
         = Chapter 11 Defining abstract data types =
         3장에서 작성한 Student_info 타입은 복사, 대입, 소멸시에 어떤 일이 수행되는지 명세되어있지 않음.
         vector<Student_info> vs;
         vector<Student_info>::const_iterator b, e;
         vector<Student_info>::size_type i = 0;
         //vector의 각요소를 살펴보기 위해, size 및 index 연산자를 사용
         b=vs.begin();
         == 11.2 Implementing the Vec class ==
          //interface
          begin, end, size 함수를 구현해야 하므로 이러한 작업을 위해서 '''첫 요소의 주소, 마지막 요소를 하나 지난 주소, 요소들의 개수'''를 저장할 수 있어야한다.
          size는 begin, end 를 통해서 그 크기를 구하는 것이 가능하므로 여기서는 '''첫 요소의 주소, 마지막 요소를 하나 지난 주소'''를 저장하고 개수는 계산을 통해서 구현한다.
          //interface
          따라서 어떤 타입이 Vec에서 사용되는진는 정의부가 instiation 되기 전에는 알 수 없다.
         Vec<Student_info> vs; // default constructor
         Vec<Student_info> vs(100); // Vec의 요소의 크기를 취하는 생성자
         Vec<int> vi(100); // Working. int 를 통해 명시적인 생성
         Vec<int> vi = 100; // not working. 암묵적으로 Vec를 생성하고 그 값을 vi 에 복사한다. refer 11.3.3
          back_inserter(T)함수를 통해서 동적으로 크기를 변경시키기 위해서 '''value_type, push_back''' 타입을 정의함. (value_type 은 현재 저장된 요소가 어떤 타입인지를 알려줌)
          iterator begin() { return data; }
          const_iterator begin() const { return data; }
  • C++스터디_2005여름/도서관리프로그램/조현태 . . . . 88 matches
         === main.cpp ===
         #include <iostream>
         #include "class.h"
         using namespace std;
         int input_book();
         int book_process(int);
         void main()
          int select=0;
          cin >> select;
          fflush(stdin);
          input_book();
         void print_line(char* temp_name, char* temp_writer, char* temp_isbn)
         int input_book()
          cin.getline(temp_name,256);
          cin.getline(temp_writer,256);
          cin.getline(temp_isbn,256);
          print_line(temp_name,temp_writer,temp_isbn);
          cin >> y_n;
          fflush(stdin);
          datas->input_data(temp_name,temp_writer,temp_isbn);
  • CToAssembly . . . . 88 matches
         기계어 프로그램은 컴퓨터가 이해하고 직접 실행할 수 있는 프로그램이다. 어셈블리어 명령어는 기계어 명령어와 보통 일대일 관계로 대응하지만, 우리가 쉽게 이해할 수 있는 문자열을 사용한다. 고급언어 명령어는 영어에 매우 가까워서 프로그래머가 생각하는 방식과 자연스럽게 대응한다. 결국 어셈블리어나 고급언어 프로그램은 변환기라는 프로그램에 의해 기계어로 변환되야 한다. 이 변환기를 각각 어셈블러(assembler), 컴파일러(compiler) 혹은 인터프리터(interpreter)라고 한다.
         C/C++같은 고급언어의 컴파일러는 고급언어를 어셈블리코드로 변환할 수 있다. GNU C/C++ 컴파일러의 -S 옵션은 프로그램 소스에 해당하는 어셈블리코드를 생성한다. 반복, 함수 호출, 변수 선언과 같은 기본적인 구조가 어셈블리어로 어떻게 대응하는지 알면 C 내부를 이해하기 쉽다. 이 글을 이해하기위해서는 컴퓨터구조와 Intel x86 어셈블리어에 익숙해야 한다.
         .globl main
         main:
         프로그램의 첫번째 줄은 주석이다. 어셈블러 지시어 .globl은 심볼 main을 링커가 볼 수 있도록 만든다. 그래야 main을 호출하는 C 시작라이브러리를 프로그램과 같이 링크하므로 중요하다. 이 줄이 없다면 링커는 'undefined reference to symbol main' (심볼 main에 대한 참조가 정의되지않음)을 출력한다 (한번 해봐라). 프로그램은 단순히 레지스터 eax에 값 20을 저장하고 호출자에게 반환한다.
         .globl main
         main:
         = 함수(subroutine) =
         .globl main
         main:
         call 명령어는 실행을 함수 foo로 옮긴다. foo의 ret 명령어는 실행을 다시 main의 호출 다음에 나오는 명령어로 옮긴다.
         프로그램의 메모리 일부를 스택으로 사용하기위해 비워두었다. Intel 80386 이상의 마이크로프로세서에는 스택 최상위 주소를 저장하는, 스택포인터(stack pointer)라는 esp 레지스터가 있다. 아래 그림 1은 스택에 저장된 세 정수값 49, 30, 72를 보여준다 (정수는 각각 4 바이트를 차지한다). esp 레지스터는 스택 최상위 주소를 저장한다.
         위로 쌓여가는 벽돌과 달리 Intel 컴퓨터의 스택은 아래방향으로 자란다. 그림 2는 명령어 pushl $15를 실행한후 스택을 보여준다.
         .globl main
         main:
         먼저 스택포인터의 값을 기준포인터 레지스터(base pointer register) ebp에 복사한다. 기준포인터는 스택의 다른 위치를 접근할때 사용할 고정된 기준점이다. foo를 호출한 코드에서도 ebp를 사용하므로, 값을 esp 값으로 대체하기 전에 스택에 복사한다. 명령어 subl $4, %esp는 스택포인터를 감소하여 정수를 담기위한 (4 바이트) 공간을 만든다. 다음 줄은 값 10을 ebp에서 4를 뺀 (4 바이트) 주소에 복사한다. 명령어 movl %ebp, %esp는 스택포인터를 foo 시작시 가졌던 값으로 되돌리고, popl %ebp는 기준포인터 레지스터의 값을 되돌린다. 스택포인터는 이제 foo를 시작하기 전과 같은 값을 가진다. 아래 표는 main 시작과 목록 4의 (main에서 반환을 제외한) 각 명령어 실행후 레지스터 ebp, esp와 3988에서 3999까지 스택 주소의 내용이다. 우리는 main의 첫 명령어 실행전에 ebp는 값 7000, esp는 값 4000을 가지며, 스택 주소 3988에서 3999까지 임의의 값 219986, 1265789, 86이 저장되있다고 가정한다. 또, main에서 call foo 다음에 나오는 명령어의 주소가 30000이라고 가정한다.
         .globl main
         main:
         목록 6은 C 프로그램과 어셈블리어 함수를 보여준다. 파일 main.c에 C 함수가 있고 sqr.s에 어셈블리어 함수가 있다. cc main.c sqr.s를 입력하여 파일들을 컴파일하고 같이 링크한다.
         반대도 매우 간단하다. 목록 7은 C 함수 print와 이 함수를 호출하는 어셈블리어를 보여준다.
  • 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;
  • 데블스캠프2006/목요일/winapi . . . . 88 matches
         #include <Windows.h>
         int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
          PSTR szCmdLine, int iCmdShow)
         = sample2. hello_win =
         #include <Windows.h>
         LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ;
         int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
          PSTR szCmdLine, int iCmdShow)
          static char szAppName[] = "HelloWin" ;
          wndclass.hInstance = hInstance ;
          hwnd = CreateWindow (szAppName, // window class name
          "The Hello Program", // window caption
          WS_OVERLAPPEDWINDOW, // window style
          CW_USEDEFAULT, // initial x position
          CW_USEDEFAULT, // initial y position
          CW_USEDEFAULT, // initial x size
          CW_USEDEFAULT, // initial y size
          NULL, // parent window handle
          NULL, // window menu handle
          hInstance, // program instance handle
  • ContestScoreBoard/조현태 . . . . 87 matches
         #include <stdio.h>
         #include <iostream>
          int team_number;
          int score;
          int used_time;
         void input_data();
         datas* such_and_malloc_point(int);
         void print_data();
         datas* start_point=NULL;
         datas* end_point=NULL;
         const int WRONG_TIME=20;
         void main()
          int test_number;
          printf("몇번 테스트 하시겠습니까?");
          printf("\n");
          input_data();
          print_data();
         void input_data()
          printf("데이터를 입력해 주세요.맨 앞이 0은 취소\n");
          int input_team_number, input_temp, input_time; char input_e;
  • OurMajorLangIsCAndCPlusPlus/Class . . . . 87 matches
          int d, m, y;
         void init_date(Date *date, int d, int m, int y)
         void add_year(Date *date, int n)
         void add_month(Date *date, int n)
         void add_day(Date *date, int n)
          int d, m, y;
          void init(int dd, int mm, int yy);
          void add_year(int n);
          void add_month(int n);
          void add_day(int n);
         void Date::init(int dd, int mm, int yy)
         void Date::add_year(int n)
         void Date::add_month(int n)
         void Date::add_day(int n)
          int d, m, y;
          Date(int dd, int mm, int yy);
          void add_year(int n);
          void add_month(int n);
          void add_day(int n);
         Date::Date(int dd, int mm, int yy)
  • OurMajorLangIsCAndCPlusPlus/string.h . . . . 87 matches
         string.h - string과 관련된 라이브러리
         || void * memccpy(void * dest, const void * scr, int c, unsigned int count) || Copies characters from a buffer. ||
         || int memcmp(const void * buf1, const void * buf2, size_t count) || Compare characters in two buffers. ||
         || int memicmp(const void * buf1, const void * buf2, unsigned int count) || Compares characters in two buffers (case-insensitive). ||
         || void * memset(void * dest, int c, size_t count) || Sets buffers to a specified character. ||
         || void * memchr(const void * buf, int c, size_t count) || Finds characters in a buffer. ||
         || char * strcpy(char * strDestination , const char * strSource ) || Copy a string. ||
         || char * strncpy(char * strDestination, const char * strSource, size_t count) || Copy characters of one string to another ||
         || char * strcat(char * strDestination, const char * strSource) || Append a string. ||
         || char * strncat(char * strDestination, const char * strSource, size_t count) || Append characters of a string. ||
         || int strcmp(const char *stirng1, const char *string2) || Compare strings. ||
         || int strcmpi(const char *stirng1, const char *string2) || Compares two strings to determine if they are the same. The comparison is not case-sensitive. ||
         || int stricmp(const char *stirng1, const char *string2) || Perform a lowercase comparison of strings. ||
         || int strncmp(const char *string1, const char *string2, size_t count) || Compare characters of two strings. ||
         || int strnicmp(const char *string1, const char *string2, size_t count) || Compare characters of two strings without regard to case. ||
         || char * strset(char *string, int c) || Set characters of a string to a character. ||
         || char * strnset(char *stirng, int c, size_t count) || Initialize characters of a string to a given format. ||
         || size_t strlen(const char *string) || Get the length of a string. ||
         || int strcoll(const char * stirng1, const char * stirng2) || Compare strings using locale-specific information. ||
         || char * strchr(const char *string, int c) || Find a character in a string. ||
  • 오목/재니형준원 . . . . 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"
  • BusSimulation/상협 . . . . 86 matches
         /* 계산하는 모든 단위는 Meter 와 minute 이다.
         단지 입력을 받을때는 Km 와 Hour, Minute 등으로 받는다.*/
          int m_people; //버스안에 있는 사람의 수
          long m_Minute; //출발후 부터 흘러간 시간
          int m_currentDistance; //버스가 출발한 곳으로부터 몇 Meter 갔는지 거리
          int m_totalSectionLength; //버스가 운행되는 총 구간 km
          void SetMinute(int m) {m_Minute=m;}; //버스의 출발한 후부터 흐른 시간을 지정
          void IncreasePassenger(int n) {m_people+=n;}; //승객수를 증가 시킨다.
          void IncreaseMinute(int t) ; //시간을 증가 시킨다.
          long GetMinute() {return m_Minute;}; //시간(분) 값을 리턴한다.
          int GetDistance() {return m_currentDistance;}; //거리(미터)값을 리턴한다.
          int GetPeopleNumber() {return m_people;}; //사람수를 리턴한다.
          void IncreaseDistance(double n) {m_currentDistance+=n;}; //출발점으로 부터의 거리를 증가시킨다.
          m_Minute=0;
         void Bus::IncreaseMinute(int t) //중요한 부분.. 시간이 증가하는 이벤트는 다른 데이터에 어떠한 영향을 끼치고 또다른
          m_Minute+=t; // 시간이 증가 할것이고
          IncreaseDistance(t*((m_velocity*1000)/60)); //그때 버스의 거리도 증가할 것이다
          double m_MeterPerMinute_Bus; //버스의 속도 m/m
          int m_IncreasePerMinute_People; //버스 정류장에 사람들이 1분당 증가하는 정도
          int m_MinuteOfInterval; //버스 배차 간격
  • 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)):
  • MySQL 설치메뉴얼 . . . . 86 matches
         A more detailed version of the preceding description for installing a
         binary distribution follows:
          1. Add a login user and group for `mysqld' to run as:
          different versions of Unix, or they may have different names such
          You might want to call the user and group something else instead
          of `mysql'. If so, substitute the appropriate name in the
          following steps.
          and change location into it. In the following example, we unpack
          the distribution under `/usr/local'. (The instructions, therefore,
          assume that you have permission to create files and directories in
          installation as `root'.)
          3. Obtain a distribution file using the instructions in *Note
          getting-mysql::. For a given release, binary distributions for all
          4. Unpack the distribution, which creates the installation directory.
          Then create a symbolic link to that directory:
          The `ln' command makes a symbolic link to that directory. This
          lets you refer more easily to the installation directory as
          With GNU `tar', no separate invocation of `gunzip' is necessary.
          You can replace the first line with the following alternative
          5. Change location into the installation directory:
  • 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) || 표준 입출력으로 문자를 한개 출력한다. ||
  • 김희성/리눅스멀티채팅 . . . . 86 matches
         #include<stdio.h>
         #include<stdlib.h>
         #include<string.h>
         #include<unistd.h>
         #include<arpa/inet.h>
         #include<sys/types.h>
         #include<sys/socket.h>
         #include<pthread.h>
         #define BUFF_SIZE 1024
         int thread_num[25];//스레드 번호 (해당 스레드 활성화시 번호 값 + 1, 비활성화시 0)
         int client_socket_array[25];//클라이언트 소캣, 각 스레드 마다 자신의 번호에 해당하는 소캣 사용
         void* rutine(void* data)//data = &thread_num[스레드 번호]
          int num;
          int client_socket;
          int rcv;
          int i;
          num=*((int*)data);
          printf("%s\n",buff_rcv);
          sprintf(buff_snd,"test\n");
          printf("%dth client connected\n",num);
  • BlueZ . . . . 85 matches
         The overall goal of this project is to make an implementation of the Bluetooth™ wireless standards specifications for Linux. The code is licensed under the GNU General Public License (GPL) and is now included in the Linux 2.4 and Linux 2.6 kernel series.
         #include <stdio.h>
         #include <stdlib.h>
         #include <unistd.h>
         #include <sys/socket.h>
         #include <bluetooth/bluetooth.h>
         #include <bluetooth/hci.h>
         #include <bluetooth/hci_lib.h>
         int main(int argc, char **argv)
          inquiry_info *ii = NULL;
          int max_rsp, num_rsp;
          int dev_id, sock, len, flags;
          int i;
          perror("opening socket");
          ii = (inquiry_info*)malloc(max_rsp * sizeof(inquiry_info));
          num_rsp = hci_inquiry(dev_id, len, max_rsp, NULL, &ii, flags);
          if( num_rsp < 0 ) perror("hci_inquiry");
          printf("%s %s\n", addr, name);
         #include <stdio.h>
         #include <unistd.h>
  • 02_C++세미나 . . . . 84 matches
         #include <iostream>
         using namespace std;
         int main()
          int a=3;
          * cin
         #include <iostream>
         using namespace std;
         int main()
          int age;
          cin>>age;
          * 기본형(int,long 등등)
         int a=5;
         // 구조체는 사용자 정의 데이터 형이다. 구조체를 설정해 놓으면 그것을 int나 long같은 기본 데이터형처럼 쓸수있다. 예제를 봅시다.
          int HP; // 멤버들
          int Shield;
          int Damage;
         // 자 질롯 구조체가 만들어졌습니다. 이제 Zealot이라는 단어를 int나 long처럼 쓸수 있는거지요.
         #include <iostream>
         using namespace std;
         int main()
  • JavaNetworkProgramming . . . . 84 matches
         *'''지금은 여기서 접는것이고. 누군가 Java Network Programming을 본다면 참여하기 바란다 ^^;;'''
         JAVA Network Programming
          public AuthException(String detail){
          public static void main(String[] args){
          public synchronized void begin(){ //동기화
          execution.setPriority(Thread.MIN_PRIORITY); //우선수위를 정함
          execution.interrupt(); //stop()을 쓰는 것은 별로 바람직하지 않다 stop()은 쓰레드가 어떤 상황에 있더라도 쓰레드를 바로 멈추어 버리기 때문에,
          } //사용하는 방법이 더좋다. 가장 권장되는 방법은 위와 같은 플래그와 함께 interrupt()를 사용하는 것이다.
          }finally{
          *OutpuStream,InputStream : 모든 다른 스트림 클래스들의 수퍼클래스이다. 이 Chapter에서는 이둘 클래스 설명
          public static void println(String msg) throws IOException{
          synchronized(System.out){ //메시지를 터미널에 출력하던 도중에 다른 쓰레드에 의해 String이 출력될수 없도록 동기화처리
          for(int i=0; i<msg.length(); ++i)
          System.out.write(msg.charAt(i) & 0xff); //16비트 유니코드로 구성된 String은 연속한 바이트로 매스킹한후 출력
          public static void main(String[] args) throws IOException {
          for(int i=0; i<args.length;i++){
          println(args[i]); //넘겨받은 문자를 하나씩 넘김
          *InputStream 클래스 : InputStream 클래스는 통신 채널로부터 데이터를 읽어 내는 관문을 의미한다. OutputStream에 의해 통신 채널로 쓰여진 데이터는 해당하는 InputStream에 의해 읽혀진다.
          public class SimpleIn { //간단한 InputStream 예제
          public static void main(String[] args) throws IOException {
  • InternalLinkage . . . . 83 matches
         [MoreEffectiveC++]의 Item 26 'Limiting the number of objects of a class. 를 보면 다음과 같은 부분이 있다.
         The second subtlety has to do with the interaction of inlining and static objects inside functions. Look again at the code for the non-member version of thePrinter: ¤ Item M26, P17
         Printer& thePrinter()
          static Printer p;
         Except for the first time through this function (when p must be constructed), this is a one-line function — it consists entirely of the statement "return p;". If ever there were a good candidate for inlining, this function would certainly seem to be the one. Yet it's not declared inline. Why not? ¤ Item M26, P18
         Consider for a moment why you'd declare an object to be static. It's usually because you want only a single copy of that object, right? Now consider what inline means. Conceptually, it means compilers should replace each call to the function with a copy of the function body, but for non-member functions, it also means something else. It means the functions in question have internal linkage.
         You don't ordinarily need to worry about such linguistic mumbo jumbo, but there is one thing you must remember: functions with internal linkage may be duplicated within a program (i.e., the object code for the program may contain more than one copy of each function with internal linkage), and this duplication includes static objects contained within the functions. The result? If you create an inline non-member function containing a local static object, you may end up with more than one copy of the static object in your program! So don't create inline non-member functions that contain local static data.(9)
         9) In July 1996, the °ISO/ANSI standardization committee changed the default linkage of inline functions to external, so the problem I describe here has been eliminated, at least on paper. Your compilers may not yet be in accord with °the standard, however, so your best bet is still to shy away from inline functions with static data. ¤ Item M26, P61
         C++ 에서 SingletonPattern 을 구현할때 다음과 같은 방식을 사용하고는 한다.
         와 같은 의미가 된다. 이것은 inline 으로 선언할거리가 될것 같기도 하지만 inline 으로 선언되지 않았다. 왜일까? (Except for the first time through this function (when p must be constructed), this is a one-line function — it consists entirely of the statement "return p;". If ever there were a good candidate for inlining, this function would certainly seem to be the one. Yet it's not declared inline. Why not? )
         그것은 바로 InternalLinkage 때문이다. InternalLinkage 란, 컴파일 단위(translation unit -> Object Code로 생각해 보자) 내에서 객체나 함수의 이름이 공유되는 방식을 일컫는다. 즉, 객체의 이름이나 함수의 이름은 주어진 컴파일 단위 안에서만 의미를 가진다.
         예를들어, 함수 f가 InternalLinkage를 가지면, 목적코드(Translation Unit) a.obj 에 들어있는 함수 f와 목적코드 c.obj 에 들어있는 함수 f는 동일한 코드임에도 별개의 함수로 인식되어 중복된 코드가 생성된다.
          ''DeleteMe 이 말도 이해가 안갑니다. 주제로 시작한 inline은 중복 코드를 감안하고 성능을 위해서 쓰는 것이 아니 었던가요? 무엇이 문제인가요? inline 이 아닌 함수들은 ExternalLinkage로 전제 되었다고 볼수 있는데, 지적해야 할것은 inline의 operation에 해당하는 코드가 아니라, static 같은 변수가 중복을 예로 들어야 할것을... --NeoCoin''
         하지만 InternalLinkage가 초례하는 문제는 1996 {{{~cpp ISO/ANSI C++ }}} 표준화 작업에서 인라인함수(InlineFunction)를 ExternalLinkage 로 변경해서 문제가 되지 않는다.(최근의 컴파일러들은 지원한다.).
          ''암튼,결론이 어떻게 되나요? singleton 을 구현하는 용도로 자주 쓰는 static 변수를 사용하는 (주로 getInstance류) 메소드에서는 inline 을 쓰지 말자 인가요? --[1002]''
          ''여기서 말하는 구형이란, 1996년에 변경된 표준을 지키지 않은 컴파일 것이다. 99년에 이책을 처음 접할때 오래되었다는 생각은 안들었는데... MEC++ 는 고전이 될수는 없는걸까.. --NeoCoin''
         == InternalLinkage문제가 등장하는 다른 케이스 ==
  • ProjectPrometheus/Journey . . . . 83 matches
          * 윈도우에서 작업한 ["Java"] 화일이 의외로 한방에 ["Ant"] 로 빌드하고, ZeroPage 의 Resin 서버에서 동작하는 것을 보며, 다시금 자바의 위력이 실감난다.
          * Mypage 에서의 Best Point 순위.
         오늘은 일의 진행이 정말 일사천리로 이루어졌다. 모이고 처음 일을 시작할때 상민이와 이전에 했던 일들과 오늘 해야 할일에 대해 간단하게 정리를 한 점이 주효한것 같다. 간단한 일이긴 하지만, 그날의 할 일에 대해 미리 머릿속에 그림을 그려둔다는 점에서 5분 Stand Up Meeting 은 의외로 효과를 주는것 같다. 그리고 Pair 를 하는중 디버깅이나 기타 일을 할때 미리 자신이 어떠한 일을 하려고 하는지 짧으면서도 자주 대화가 오고 갔던 점, 프로그래밍때 자주 체인지 한것도 오늘 일이 잘 진행되는데 도움이 컸다고 생각. --["1002"]
          * 한동안 PairProgramming 할때 주로 관찰자 입장에 있어서인지. (이상하게도. 창준이형이랑 할때나 상민이랑 할때나. 그나마 저번 르네상스 클럽때는 아무도 주도적으로 안잡아서 그냥 내가 잡긴 했지만, 다른 사람들이 적극적으로 나서지 않을때엔 웬지 그 사람들과 같이 해야 한다는 강박관념이 있어서.)
         그동안의 Pair 경험에 의하면, 가장 Pair 가 잘 되기 어려운 때는, 의외로 너무 서로를 잘 알고 Pair를 잘 알고 있는 사람들인 경우인것 같다는. -_-; (Pair 가 잘 안되고 있다고 할때 소위 '이벤트성 처방전'을 써먹기가 뭐하니까. 5분 Pair를 하자고 하면 그 의도를 너무 쉽게 알고 있기에.) 잘 아는 사람들과는 주로 관찰자 입장이 되는데, 잘 아는 사람일수록 오히려 개인적으로 생각하는 룰들을 잘 적용하지 않게 된다. (하는 일들에 대한 Tracking 이라던지, 다른 사람이 먼저 Coding 을 하는중 이해 못할때 질문을 한다던지 등등. 차라리 그냥 '저사람 코딩 잘 되가나본데..'. 오히려 예전에 '문제'라고 생각하지 않았던 부분이 요새 '문제' 로 다가 온다.)
         1002 개인적으로 진행. 뭐 진행이라기 보다는, 오랜만에 Solo Programming 을 해봤다. 장점으로는 느긋하게 소스를 리뷰하고 대처할 시간을 천천히 생각해볼 수 있던점. (보통은 상민이가 이해를 빨리 하기 때문에 먼저 키보드를 잡는다.) 단점으로는 해결책에 대한 Feedback 을 구할 곳이 없다는 점이 있다. (평소 물어보고 둘이 괜찮겠다 했을때 구현을 하면 되었는데, 이경우에는 책임 소재랄까.. 웬지 혼자서 생각한 것은 의외의 틀린 답이 있을 것 같은 불안감이 생긴다. 테스트 중독증 이후 이젠 페어 중독증이려나..)
         다행히 모듈화가 잘 되어있었고, Test 들이 있었기에 ["neocoin"] 과 ["1002"] 는 주로 깨진 테스트들을 바로잡기로 했다. 일단 도서관들의 HTML 을 얻고, Local HTML 문서에 대해 데이터들을 잘 추출해내는지에 대한 테스트를 먼저 복구했다.
         Object-RDB Mapping 에 대해서는 ["PatternsOfEnterpriseApplicationArchitecture"] 에 나온 방법들을 읽어보고 그중 Data Mapper 의 개념을 적용해보는중. Object 와 DB Layer 가 분리되는 느낌은 좋긴 한데, 처음 해보는것이여서 그런지 상당히 복잡하게 느껴졌다. 일단 처음엔 Data Gateway 정도의 가벼운 개념으로 접근한뒤, Data Mapper 로 꺼내가는게 나았을까 하는 생각.
          * Side Effect 는 Refactoring 의 적이라는 생각이 오늘처럼 든 적이 없었다. -_-; Extract Method 같은 일을 하는 경우 더더욱.! --["1002"]
          * AcceptanceTest login , view page 테스트 추가
          * MPP 에 login, SimpleSearch 구성과 결과 출력
          * Server Refactoring
         서버쪽 클래스들에 대해서 Refactoring 을 시도 데이터클래스이면서 그 용도가 조금씩 달랐던 클래스들을 하나로 묶었다. (일단 모여해쳐 시도용으로) 그러면서 안쓰는 클래스들을 조금씩 지워나갔다. 패키지들중 Test 패키지와 메인 소스 패키지, 임시 코드 패키지들에 대해서 화일들을 옮기고 정리했다. 아직 완벽하게 정리된것 같진 않지만, 개인적으로는 이전에 비해 만족스러웠다. (이제 Target은 Resin 쪽과 임시소스들 디렉토리.)
          * Code Review 로서 Refactoring 이 이용된다고 했다시피, Refactoring을 해 나가면서 전체 프로그램의 그림이 좀 더 이해가 갔다. 한동안 해당 프로그램에 대해서 플밍 리듬을 놓쳤을때 Refactoring 을 시도하는것도 좋은 전략이라 생각.
          * Task 를 작성할때 Refactoring 을 명시적으로 써 놔야 하겠다. Acceptance Test 처럼. 써놓지 않으니까 잊어먹고 자주 안해준 것 같다. 그리고 생각보다 시간이 걸리는 만큼. (이건 Refactoring 을 플밍 중에 자주 해주지 않아서인것 같다. 2시간정도 걸렸으니)
          * DB Schema 궁리 & Recommendation System 을 DB 버전으로 Integration 시도
          * Pair 중간에 ["1002"] 는 목소리가 커질때가 있다. 하나는, 내가 놓치고 있을 경우에 대해 다른 사람이 이야기를 제대로 안해줬다고 생각되는 경우. 뭐 보통은 ["1002"]의 잘못을 다른 사람에게 떠넘기기 위한 방편인 경우가 많다 -_-; (찔린다; 나도 JuNe 형이랑 Pair 할때 무방비상태인 경우가 많아서;) 뭐, 같이 무방비였다가 못느끼고 넘어간 경우라면 아하~ 하면서 플밍하겠지만, 하나를 고치고 나서, 다른 사람이 당연한 듯이 좋은 방법으로 해결해낼때엔. ("왜 아까는 이야기안해?" "당연한거잖나."). 일종의 경쟁심리이려나. 에고 를 잊어야 하는게 PairProgramming 이지만, 사람 마음이 그렇기엔 또 다른것 같다. 코드 기여도에 대해서 보이지 않는 경쟁이 붙는다고 할까나.
          * MockObjects 를 이용, Database 에 대해서 MockObjects Test 와 Real DB Test 를 같이 해 나가보았다. DB - Recommendation System 연결을 위해서는 RS 에서의 object 들과 DB 와의 Mapping 이 필요하다고 판단, DB Schema 를 같이 궁리한 뒤, Test 를 작성하였다. 이때 이전 기억을 떠올리면서 MockObjects Test 를 상속받아서 Real DB Test 를 작성하는 식으로 접근해봤는데 좋은 방법이라 생각.
          * Martin Fowler 의 PatternsOfEnterpriseApplicationArchitecture 를 읽어보는중. 우리 시스템의 경우 DataMapper 의 개념과 Gateway 의 개념을 적용해볼 수 있을 것 같다. 전자는 Data Object 를 얻어내는데에 대해 일종의 MediatorPattern 을 적용함. DB 부분과 소켓으로부터 데이터를 얻어올 때 이용할 수 있을 것 같다. 후자의 경우는 일반적으로 Object - RDB Data Mapping (또는 다른 OO 개념이 아닌 데이터들) 인데, RowDataGateway, TableDataGateway 의 경우를 이용할 수 있을것 같다.
          * {{{~cpp BookContainerLocalTest}}} ( 테스트 작성 시작, DB연동 부분 생각해야 함 )
  • SolarSystem/상협 . . . . 83 matches
         #include <windows.h>
         #include <gl\gl.h>
         #include <gl\glu.h>
         #include <gl\glaux.h>
         #include <stdio.h>
         #include <cmath>
         HINSTANCE hInstance;
         LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);
          // Calculate The Aspect Ratio Of The Window
         int InitGL(GLvoid)
          glEnable(GL_LIGHTING);
          glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
         void CorrectOfCoordinate(float distance,float x,float y, float z)
          float cosin = x/absolute;
          float sin = y/absolute;
          glTranslatef(-distance*cosin*cosin,-distance*sin*cosin,0.0f);
         int DrawGLScene(GLvoid)
          gluQuadricDrawStyle(obj,GLU_LINE);
          gluCylinder(obj,1.0f,1.0f,0.1,24,24);
          CorrectOfCoordinate(distance2,1.0f,1.0f,0.0f);
  • 작은자바이야기 . . . . 83 matches
          * SpringSource Tool Suite(Eclipse IDE)의 기본 설정과 프로젝트 설정에 필요한 기본적인 정보를 설명했습니다.
          * http://springsource.org/
          * http://springsource.com/
          * abstract, final, static
          * Python 은 PEP에 절대 권한을 가진 귀도가 그냥 의견을 모아서 정한겁니다. 원숙한 언어일수록 스펙 자체가 '원래 그런 것'은 없고, '사람간의 약속'입니다. 이하 참고자료. --NeoCoin
          * http://stackoverflow.com/questions/68282/why-do-you-need-explicitly-have-the-self-argument-into-a-python-method
          * static에는 이런 용법도 있습니다. [StaticInitializer] - [안혁준]
          * [Singleton] 패턴과 lazy initialization의 필요성에 대해 이야기했습니다.
          * Serializable 인터페이스와 ObjectOutput, ObjectInput을 사용한 직렬화, 역직렬화에 대해 공부했습니다.
          * 대표적인 불변객체인 String 클래스가 내부적으로 어떻게 구현되고, 어떻게 불변성을 유지하는 지를 살펴보았습니다.
          * 다양한 String 객체의 활용 과정에서 객체들의 동일성과 동등성을 알아보았습니다.
          * String객체라니..! 자바 스트링은 편하면서도 불편했는데 뭔가 그 이유를 들을 수 있었을 법한 주제네요..-[김태진]
          * interface
          * inner class
          * annonymous inner class
          * 응집도up와 결합도dw (cohesion&coupling)
          * '''S'''RP (Single responsibility principle)
          * '''O'''CP (Open/closed principle)
          * '''L'''SP (Liskov substitution principle)
          * '''I'''SP (Interface segregation principle)
  • LinkedList/학생관리프로그램 . . . . 82 matches
          (검색-binary search??, sequential search...)
         #include <stdio.h>
         #define HEAD 0
         #define TAIL 1
         #define ORIGINALSEARCH 0
         #define DELETIONSEARCH 1
          int number;
         int Menu(int aPopulation);//메뉴선택
         int Process(int aMenu, int aPopulation, Student* aListPointer[]);
         int AddStudent(int aPopulation, Student* aListPointer[]);//새로운 학생 추가
         int DelStudent(int aPopulation, Student* aListPointer[]);//찾아서 지우기
         void InputStudentInfo(Student* aStudent);//정보 입력
         Student* Searching(int aNumber, Student* aHead, int aType);//찾기
         int main()
          Student* listPointer[2];//리스트의 머리와 꼬리
          int population = 0;//등록된 학생수
          population = Process(Menu(population), population, listPointer);
          printf("\n");//보기 좋게 한 칸 띈다.
          FreeMemory(listPointer[HEAD]);//메모리 해제
         int Menu(int aPopulation){
  • 기본데이터베이스/조현태 . . . . 82 matches
         #include <stdio.h>
         #include <string.h>
         const int MAX_DATA_SIZE=100;
         const int HANG_MOK=4;
         const int MAX_MENU=8;
         const int QUIT=6;
         const char menu[MAX_MENU][20]={"insert","modify","delete","undelete","search","list","quit","?"};
         const char print_outs[HANG_MOK][5]={"id","name","tel","add"};
         const int MAX_BLOCK_SIZE=256;
         const int FALSE=-1;
         const int ALL=-1;
         int how_many_data=0;
         int prv_del=-1;
         int select_menu();
         void function_insert();void function_modify();void function_delete();void function_undelete();void function_search();void function_list();void function_quit();void function_help();
         int such_data();
         void print_list(int);
         void modify_data(int);
         void print_cursur();
         void main()
  • 니젤프림/BuilderPattern . . . . 82 matches
         쉽게 말해서, 아주 복잡한 오브젝트를 생성해야하는데, 그 일을 오브젝트를 원하는 클래스가 하는게 아니라, Builder 에게 시키는 것이다. 그런데 자꾸 나오는 생성/표현 의 의미는, 바로 director 의 존재를 설명해 준다고 할 수 있다. director 는 Building step(construction process) 을 정의하고 concrete builder 는 product 의 구체적인 표현(representation) 을 정의하기에.. 그리고, builder 가 추상적인 인터페이스를 제공하므로 director 는 그것을 이용하는 것이다.
         http://www2.ing.puc.cl/~jnavon/IIC2142/patexamples_files/pateximg2.gif
         Product 를 생성하는 템플릿. Abstract Interface 라고도 할 수 있다.
         Builder 를 구현한 부분. 일반적으로 다수개의 Concrete Builder 가 존재하며, Builder 가 제공하는 인터페이스를 이용해서 late binding 의 형식으로 사용하게 된다. 물론, builder pattern 에서의 주 관심하는 Product 를 만들어내는 것이다.
          private String dough = "";
          private String sauce = "";
          private String topping = "";
          public void setDough (String dough) { this.dough = dough; }
          public void setSauce (String sauce) { this.sauce = sauce; }
          public void setTopping (String topping) { this.topping = topping; }
          public abstract void buildTopping();
          public void buildTopping() { pizza.setTopping("ham+pineapple"); }
          public void buildTopping() { pizza.setTopping("pepperoni+salami"); }
          pizzaBuilder.buildTopping();
         /** A customer ordering a pizza. */
          public static void main(String[] args) {
          protected String name;
          protected String description;
          public PlanComponent(String name, String description) {
          public PlanComponent getChild(int index) {
  • BusSimulation/태훈zyint . . . . 81 matches
         == main.cpp ==
         #include <iostream>
         #include <fstream>
         #include <vector>
         #include <windows.h> //sleep
         #include <string>
         #include <conio.h>
         const int BusStationNo = 10; // 버스 정류장의 개수
         const int BusNo = 10; // 버스의 대수
         #include "class.h"
         #include "function.h"
         using namespace std;
         void gotoxy(int x, int y);
         int main()
          int MinuteOfInterval=12*60; //버스 배차 간격 sec
          long waitingPeopleInBusStation[BusStationNo] = {0,0,}; //각 정류장에서 기다리는 사람수
          int IncreasePerMinute_People = 4; //버스 정류장에 사람들이 1분당 증가하는 정도
          int ridingSecond = 2; //1사람이 버스에 타는데 걸리는 시간(초)
          int LastMovingBusIndex=-1; //마지막 움직이기 시작한 버스의 인덱스
          int LastMovingBusStartTime= -1 * MinuteOfInterval;
  • EcologicalBinPacking/강희경 . . . . 81 matches
         #include<iostream>
         using namespace std;
         int bottle[9];
         int noMove[6];
         int movedBottle;
         int input();
         int minimumMove();
         void output(int noMove);
         void main()
          output(minimumMove());
         int input()
          int totalBottle = 0;
          for(int i = 0; i < 9; i++)
          cin >> bottle[i];
          cin.get();
         int minimumMove()
          int MAX = 0;
          movedBottle = input();
          int minimum;
          for(int i = 0; i < 6; i++)
  • 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:
  • Calendar성훈이코드 . . . . 80 matches
         #include <stdio.h>
         void printCalender(int year, int first);
         void printFirstTab(int month, int year);
         int printDays(int month, int year, int leftDays);
         void print_space();
         void print_days(int day);
         int daysOfMonth(int month, int year);
         int IsLeafYear(int year);
         #include "Calender.h"
         void printCalender(int year, int first)
          int month, leftDays;
          printFirstTab(month, year);
          leftDays = printDays(month, year, first);
         void printFirstTab(int month, int year)
          printf(" January %d \n", year);
          printf(" February %d \n", year);
          printf(" March %d \n", year);
          printf(" April %d \n", year);
          printf(" May %d \n", year);
          printf(" June %d \n", year);
  • OurMajorLangIsCAndCPlusPlus/errno.h . . . . 80 matches
         || extern int errno || 리턴값으로 에러 획인 ||
         ||1||int EPERM||허가되지 않은 작동; 파일의 소유자(또는 다른 자원)나 명령을 수행할수 있는 특별한 권리를 가진 프로세스.||
         ||2||int ENOENT||그러한 파일이나 디렉토리 없음: 이것은 이미 존재하고 있을 걸로 예상한 파일이 없는 경우에 일어 나는 "파일이 존재하지 않습니다"라는 에러이다.||
         ||3||int ESRCH||처리가 지정된 처리 ID와 합치되지 않는다.||
         ||4||int EINTR||가로채기 함수 호출;발생한 비동기 신호와 호출의 방해된 종료. 이럴 경우에 당신은 다시 호출을 시도해보라.||
         ||5||int EIO||입출력 에러;언제나 물리적인 입출력 에러에 사용됨.||
         ||6||int ENXIO||그런 장치나 주소가 없음. 시스템이 당신이 파일에서 설정한 장치를 사용하고자 하나 그러한 장치 를 찾을 수 없었다. 이것은 장치파일이 잘못 인스톨되었거나, 물리적인 장치를 빠뜨렸거나 또는 컴 퓨터와 제대로 부합되지 않았음을 의미한다. ||
         ||7||int E2BIG||인수가 너무 길다;실행함수에 의해서 실행되는 새로운 프로그램에 주어진 인수가 너무 큰 메모리 공간을 사용할 때.||
         ||8||int ENOEXEC||유효하지 않은 실행파일 포맷.||
         ||9||int EBADF||잘못된 파일 기록; 예를 들어,닫혀진 파일을 기록하려고 하든지 쓰기 모드로 열려진 파일을 읽으려 고 하는 경우(그 반대의 경우도)||
         ||10||int ECHILD||자식 프로세스(child process)가 없다. 이 에러는 자식 프로세스를 다루는 오퍼레시션을 사용했는 데 다루기위한 어느 프로세스도 존재하재 않을 때 발생한다.||
         ||11||int EAGAIN||자원을 일시적으로 사용할수 없다.; 그 호출은 나중에 당신이 다시 재시도 할수 있도록 한다. 오 직 분기점에서 이러한 이유로 EAGAIN에러 코드를 리턴한다.||
         ||12||int ENOMEM||이용할 메모리가 없음. 메모리 용량을 다 썼으므로 시스템이 더이상 메모리를 할당할 수 없다.||
         ||13||int EACCES||허용되지 않음;파일이 시도하려는 작동을 허용하지 않는다.||
         ||14||int EFAULT||주소 오류; 유효하지 않은 포인터가 발견됨.||
         ||16||int EBUSY||시스템 자원 사용중; 분배될 수 없는 시스템 자원이 이미 사용중일 때, 예를 들어: 현재 마 운트된 파일시스템의 루트에서 한개의 파일을 지우려 할 때에 이 에러를 만난다.||
         ||17||int EEXIST||파일이 존재: 새로운 파일로 만들겠다고 한 파일이 이미 존재한다.||
         ||18||int EXDEV||파일시스템이 인지할수 없는 영역에 부적당한 링크를 만들려고 시도할 때 이 에러메세지가 나온 다. 이것은 링크를 사용할때만 발생하지만 또, rename으로 파일을 재명명할 때 발생하기도 한다.||
         ||19||int ENODEV||디바이스의 특별한 정렬을 하는 함수에 주어진 디바이스가 잘못된 타입이다.||
         ||20||int ENOTDIR||필요하다고 요청된 디렉토리가 존재하지 않을 때 발생.||
  • PragmaticVersionControlWithCVS/Getting Started . . . . 80 matches
         = Getting Started =
         == Installing CVS ==
         CVS서버 설치는 알아서 잘해라. -_-; 리눅스에서는 패키지로 설치하면 되고, 윈도우에서는 알아서 받아서 설치하면 된다. 이미 서버가 있으면 더 좋다. 내 경우에는 데비안 리눅스를 사용하는 관계로 apt-get install cvs로 간단히 설치를 끝냈다.
         == Creating a Repository ==
         Unix: cvs -d ~/sandbox init // 나의 경우에는 /home/CVSHOME 로 지정하였다.
         Wind: cvs -d d:sandbox init
         CVS클라이언트는 현재 우리가 쓰는 커맨드 형태의 클라이언트도 있지만, GUI형태의 TortoiseCVS, WinCVS등도 있다. (sourceforge.net에서 확인) 또한 IDE 자체가 CVS 클라이언트의 기능을 하는 것들도 있다. (ex. eclipse, dev-cpp)
         == Creating a Simple Project ==
         tmpdir#cvs -d /home/CVSHOME/ import -m " " sesame sesame initial
         마지막 2개의 파라메터(sesame initial) tag이다.
         == Starting to Work With a Project ==
         cvs checkout: Updating sesame
         == Making Changes ==
          Working revision: 1.1.1.1 Tue Aug 2 05:50:14 2005
         Index: color.txt
         retrieving revision 1.1.1.1
         Index: color.txt
         retrieving revision 1.1.1.1
         == Updating the Repository ==
         cvs commit: Examining .
  • 만년달력/김정현 . . . . 80 matches
         TimeInfo에서 시간 정보를 얻어와
         public class TimeInfo {
          private static final int BLANK = 1;
          private int[] days= {31,28,31,30,31,30,31,31,30,31,30,31};
          private String[] dayNames= {
          public int getDaysInMonth(int month) {
          public int getDaysInYearMonth(int year, int month) {
          return getDaysInMonth(month)+1;
          return getDaysInMonth(month);
          private boolean isSpecialYear(int year) {
          public int getDaysInYear(int year) {
          private boolean isProperMonth(int year, int month) {
          private boolean isProperDate(int year, int month, int day) {
          && ( 0 < day && day <= getDaysInYearMonth(year, month) );
          public String getDayName(int year, int month, int day) {
          int reducedDays= getTotalDaysUntil(year, month, day)%dayNames.length;
          private String getDayName(int sequence) {
          public int getTotalDaysUntil(int year, int month, int day) {
          int totalDays= 0;
          for(int i=1;i<year;i++) {
  • FromDuskTillDawn/조현태 . . . . 79 matches
         #include <iostream>
         #include <vector>
         #include <string>
         using namespace std;
         const char DEBUG_READ[] = "2\n3\nUlm Muenchen 17 2\nUlm Muenchen 19 12\nUlm Muenchen 5 2\nUlm Muenchen\n10\nLugoj Sibiu 12 6\nLugoj Sibiu 18 6\nLugoj Sibiu 24 5\nLugoj Medias 22 8\nLugoj Medias 18 8\nLugoj Reghin 17 4\nSibiu Reghin 19 9\nSibiu Medias 20 3\nReghin Medias 20 4\nReghin Bacau 24 6\nLugoj Bacau";
         const int BUFFER_SIZE = 255;
         #define TRUE 1
         #define FALSE 0
          STown(const char* inputName)
          name = inputName;
          string name;
          vector<int> startTime;
          vector<int> timeDelay;
         string g_suchStartTown;
         string g_suchEndTown;
         int g_minimumDelayTime = 0;
          for (register unsigned int i = 0; i < g_myTowns.size(); ++i)
          int startTime;
          int delayTime;
          int sizeOfTimeTable;
  • 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_
  • 손동일 . . . . 79 matches
         == Coding.... ==
          실컷 잠자기, LINUX, VB
         #include <iostream>
         using namespace std;
         const int Max = 11 ;
          int going;
          int goal;
          int length;
         int Vertex[Max][Max] =
         int temp;
         int temp1[10] = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1};
         int soo = 0;
         int soo2 = 1;
         int first = 0;
         int last = 0;
         int n = Max;
         int between[Max];
         int check[Max];
         void shortpath(int Vertex[Max][Max],int between[Max], int n, int check[Max]);
         void using_v(int n);
  • CheckTheCheck/문보창 . . . . 78 matches
         King의 check상태를 좀더 쉽게 알 수 있으려면 어떻게 해야 할까?
         #include <iostream>
         #include <cstring>
         using namespace std;
         const int MAX_CASE = 300;
         const int TIED = -1;
         const int BLACK = 0;
         const int WHITE = 1;
         inline void eatline() { while(cin.get() != '\n') continue; };
         int WhoIsWin();
         int Pawn(int row, int col, char enemy);
         int Rook(int row, int col, char enemy);
         int Bishop(int row, int col, char enemy);
         int Queen(int row, int col, char enemy);
         int Knight(int row, int col, char enemy);
         int main()
          int win[MAX_CASE];
          int nCase = 0;
          win[nCase++] = WhoIsWin();
          eatline();
  • ErdosNumbers/황재선 . . . . 78 matches
          private TreeMap<String, String> tm;
          private ArrayList<String> nameList;
          tm = new TreeMap<String, String>();
          public String readLine() {
          Scanner sc = new Scanner(System.in).useDelimiter("\n");
          private String[] extractNames(String line) {
          String[] divide = line.split(":");
          String[] peopleName = divide[0].split(",");
          for (int i = 0; i < peopleName.length; i++)
          String[] people = new String[peopleName.length/2];
          for (int i = 0; i < peopleName.length; i+=2) {
          private void setErdosNumber(String[] people) {
          for(String name : people) {
          boolean joint = false;
          nameList = new ArrayList<String>();
          for(String name : people) {
          if (tm.containsKey(name)) {
          joint = true;
          if (joint) withCoWorker(people);
          private void withErdos(String[] people) {
  • 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() {
  • MoinMoinBugs . . . . 78 matches
         Back to MoinMoinTodo | Things that are MoinMoinNotBugs | MoinMoinTests contains tests for many features
         === Tables broken by trailing spaces ===
         Tables don't work right if there are trailing spaces.
         ''Yes, by design, just like headings don't accept trailing spaces. In the case of headings, it is important because "= x =" is somewhat ambiguous. For tables, the restriction could be removed, though.''
         || OK || again ||
         And as a fun sidenote, the UserPreferences cookie doesn't seem to work. The cookie is in my ~/.netscape/cookies file still. My EfnetCeeWiki and XmlWiki cookies are duplicated!? It is kind of like the bug you found when I, ChristianSunesson, tried this feature with netscape just after you deployed it.
         Hehe, and my changes are not logged to the RecentChanges database, I'll hope you find these changes this year. :) BUG BUG BUG!
         ''Well, Netscape suxx. I send the cookies with the CGI'S path, w/o a hostname, which makes it unique enough. Apparently not for netscape. I'll look into adding the domain, too.''
         Hmmm...I use NetScape, MsIe, MoZilla and Galeon. I haven't had a problem but some other's using MoinMoin 0.8 have intermittently lost cookies. Any ideas?
         -- BruceDurling
          * Solve the problem of the Windows filesystem handling a WikiName case-indifferent (i.e. map all deriatives of an existing page to that page).
          * Check whether the passed WikiName is valid when editing pages (so no pages with an invalid WikiName can be created); this could also partly solve the case-insensitive filename problem (do not save pages with a name only differing in case)
          * InterWiki links should either display the destination Wiki name or generate the A tag with a TITLE attribute so that (at least in IE) the full destination is displayed by floating the cursor over the link. At the moment, it's too hard to figure out where the link goes. With that many InterWiki destinations recognised, we can't expect everyone to be able to recognise the URL.
          * Hover over the interwiki icon and you'll already get a tooltip, I'll look into the title attribute stuff.
          * RecentChanges can tell you if something is updated, or offer you a view of the diff, but not both at the same time.
          * That's what I'm doing for the time being, but by the same rationale you don't need to offer diffs from RecentChanges at all.
          * The intent is to not clutter RecentChanges with functions not normally used. I do not see a reason you want the lastest diff when you have the much better diff to your last visit.
          * It'd be really nice if the diff was between now and the most recent version saved before your timestamp (or, failing that, the oldest version available). That way, diff is "show me what happened since I was last here", not just "show me what the last edit was."
          * Hmmm, that '''is''' so. :) Take a look at the message at the top of the diff page after clicking on "updated", it'll often show text like "spanning x versions". You need the current CVS version for that, though.
          * Oh, okay. Is this MoinMoin CVS enabled? Reason being: I did a few updates of a page, and was only being shown the last one. I'll try that some more and get back to you.
  • TheJavaMan/지뢰찾기 . . . . 78 matches
         [http://zeropage.org/~darkduck/mine.html 실행]
         import javax.swing.*;
         public class Mine extends JApplet {
          private int row, col, numMines;
          private Vector mines = new Vector();
          //private Point firstClick = new Point();
          private int map[][];
          private int numClick; // 왼쪽 버튼 누른 수
          // numClick + numMines == row * col => 겜종료
          private int numFlags; // 깃발 꼿은 수
          // numMines - numFlags = 남은 폭탄 수
          numLeftMines = new JTextField(3),
          public void init() {
          Container cp = getContentPane();
          mines.clear();
          setMapSize(row, col, numMines);
          setMines();
          numLeftMines.setText(String.valueOf(numMines));
          top.add(numLeftMines, BorderLayout.WEST);
          setMines();
  • 고한종/십자가돌리기 . . . . 78 matches
         #include<stdio.h>
         #include<Windows.h>
         // ㄴ#include<windows.h> 선언후 사용.
         // #include<conio.h>의 clrscr();은 비쥬얼 C++에서는 안써진다더라. 왜그럴까 ㅠㅜ
         int scale;// 전역 변수를 써야 한다니 ㅜㅠ
         int i,j; //i는 행, j는 열.
         int k,z; //각각 그냥 변수.
          if(i<scale && j==scale){printf("%2.d\n",1+k++);}
          if(i==scale && j!=scale&&j!=2*scale-1){printf("%2.d",2*scale+z++);}
          if(i==scale && j==2*scale-1){printf("%2.d\n",2*scale+z++);} // 우왕 ()안에서도 연산이 되네?
          if(i==scale && j==scale){printf("%2.d",1+k++);}
          if(i>scale && j==scale){printf("%2.d\n",1+k++);}
          if(j<scale && i!=scale){printf(" ");}
          if(i==j && i<scale){printf("%2.d",2*scale+z++);}
          if(i==j && i>scale){printf("%2.d\n",2*scale+z++);}
          if((i+j)==2*scale && i<=scale){printf("%2.d\n",1+k++);}
          if((i+j)==2*scale && i>scale){printf("%2.d",1+k++);}
          if(i>j || i+j<2*scale){if(i!=j && i+j!=2*scale){printf(" ");}}//잉여칸
          if(i<scale && j==scale){printf("%2.d\n",2*scale+k++);}
          if(i==scale && j!=2*scale-1){printf("%2.d",2*scale-1-(z++));}
  • 스네이크바이트/C++ . . . . 78 matches
         #include<iostream>
         using namespace std;
          int ID; //학번
          int Math; //수학성적
          int Korean; //국어성적
          int English; //영어성적
          student(char *name, int id, int math, int kor, int eng);//생성자
          int getTotal(); //총점을 구하는 함수
          int getMath(); //수학점수에 접근
          int getKor(); //국어점수에 접근
          int getEng(); //영어점수에 접근
         student::student(char *name, int id, int math, int kor, int eng)
         int student::getTotal()
         int student::getMath()
         int student::getKor()
         int student::getEng()
         void main()
          int Max;
          int bestStu;
          int i;
  • 2002년도ACM문제샘플풀이/문제D . . . . 77 matches
         #include <iostream>
         #include <algorithm>
         #include <functional>
         using namespace std;
         struct InputData
          int n;
          int x;
          int weight[30];
         int numberOfData;
         InputData inputData[10];
         void input()
          cin >> numberOfData;
          for(int i = 0 ; i < numberOfData ; i++)
          cin >> inputData[i].n;
          cin >> inputData[i].x;
          for(int j = 0 ; j < inputData[i].n; j++)
          cin >> inputData[i].weight[j];
          for(int i = 0 ; i < numberOfData ; i++)
          sort(&inputData[i].weight[0],&inputData[i].weight[inputData[i].n],greater<int>());
          int team1 = inputData[i].weight[0], team2 = inputData[i].weight[1];
  • EightQueenProblem/da_answer . . . . 76 matches
         interface
          Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
          X: integer;
          Y: integer;
          function getNextQueenPos(index, X, Y:integer):boolean;
          function checkRule(X,Y:integer):boolean;
         begin
          i, j: integer;
         begin
          begin
          begin
          showMessage(inttostr(i));
          begin
          begin
          showMessage(inttostr(QueenPosArr[j].X)+'-'+inttostr(QueenPosArr[j].Y));
          begin
         function TForm1.getNextQueenPos(index, X, Y:integer):boolean;
          i: integer;
          nowIndex: integer;
         begin
  • JavaStudy2002/영동-3주차 . . . . 76 matches
         3번째의 코드는 comment solving을 보인거니 감안하십시오. 3번을 그대로 한다면, 입력 데이터와, Bug 사이의 인터페이스를 맞추는 함수가 필요할것입니다.
         사소한 것이지만 지적한다면 class main 의 이름을 Main 으로 바꾸시기를 강력(?) 추천합니다. Java 에는 지켜야하는 규칙인 문법외에 [http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html 코딩 약속]을 추천하고 있씁니다. 과거 MS라면 헝가리안표기법 이겠지요? 현재의 .net 에서 헝가리안표기법은 없어졌습니다. --["neocoin"]
         Class main
         public class main{
          public static void main(String[] args)
          System.out.println("RandomWalk");
          for(int i=0;bug1.journey[i]!='\0';i++)
          public int x=0;
          public int y=0;
          public int count=0;
          System.out.print("\n");
          public int board[][]={
          for(int i=0;i<board.length;i++)
          for(int j=0;j<board.length;j++){
          System.out.print(board[i][j]);
          System.out.print("\t");
          System.out.print("\n");
          public int x = 0;
          public int y = 0;
          public int board[][] = { { 0, 0, 0, 0, 0 }, {
  • OurMajorLangIsCAndCPlusPlus/print/조현태 . . . . 76 matches
         == OurMajorLangIsCAndCPlusPlus/print/조현태 ==
         #include <stdio.h>
         #include <stdarg.h>
         #include <math.h>
         void PrintNumber(int leftGab, int number, double lowNumber)
          int numberSize = 0;
          for (int tempNumber = number; tempNumber > 0; ++numberSize)
          int powNumber = (int)pow((int)10, numberSize);
          for (register int i = 0; i < leftGab - numberSize; ++i)
          for (register int i = 0; i < numberSize; ++i)
          int printNumber = (int)lowNumber;
          fputchar(printNumber + '0');
          lowNumber -= printNumber;
         void print(const char* outData, ...)
          for (register int readPoint = 0; 0 != outData[readPoint]; ++readPoint)
          if ('%' == outData[readPoint])
          ++readPoint;
          int spaceSize = 0;
          for (; '0' <= outData[readPoint] && '9' >= outData[readPoint]; ++readPoint)
          spaceSize = spaceSize * 10 + (outData[readPoint] - '0');
  • 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];
  • 데블스캠프2011/셋째날/String만들기/서지혜 . . . . 76 matches
          C++로 Java의 String 클래스 구현하기
          * String.h 헤더파일
         class String {
          int length;
          int offset;
          int lengthForSubs;
          String();
          String(const char* origin);
          String(const String str, const int offset, const int length);
          ~String();
          const char charAt(const int offset);
          bool equals(String str);
          void print();
          * String.cpp 소스파일
         {{{#include <stdio.h>
         #include <malloc.h>
         #include <stdlib.h>
         #include "String.h"
         String::String()
         String::String(const char* origin)
  • 새싹교실/2011/쉬운것같지만쉬운반/2011.4.6 . . . . 76 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         #include <stdio.h>
         int main(void) {
          int i, j;
          printf("----- %d단 -----\n", i);
          printf("%d * %d = %d\n", i, j, i*j);
         #include <stdio.h>
         int main(void) {
          int i;
          printf("%d\n", i);
         #include <stdio.h>
         int main(void) {
          int i=100;
          printf("%d\n", i);
         #include <stdio.h>
         int main(void) {
          printf("100\n10\n1\n");
         #include <iostream>
         using std::cout;
         using std::endl;
  • CppUnit . . . . 75 matches
         VC 7.0 용 세팅 화면 들만 추가합니다. --NeoCoin
         [http://janbyul.com/moin/moin.cgi/CppUnit/HowTo/Kor 이곳]에 VS2005용 설정방법을 간단하게 정리해둠. - 임인택
          === include, library directory 맞춰주기 (둘중 하나를 선택한다.) ===
          Include : {{{~cpp ...\cppunit-x.x.xinclude }}}
          a. Tools -> Options -> Directories -> Include files 에서 해당 cppunit
          a. Project -> Settings -> C/C++ -> Preprocessor -> Additional include directories
          a. Project -> Settings -> Link -> Input -> Additional Library directories
          * Project Setting - Link - General - object/library 에 cppunitd.lib, testrunnerd.lib 를 추가해준다.
          * 해당 프로젝트가 있는 곳의 debug 등의 디렉토리에 해당 lib 디렉토리에 있는 testrunnerd.dll 을 복사해준다. 이는 Project Setting - Post-Build-step 의 Post-build-command 에 다음을 추가해주면 컴파일 할때마다 dll 화일을 자동으로 복사해준다.
          * Project Setting - Code Generation - Use Run-Time library 를 다음으로 맞춰준다.
         #include <msvc6/testrunner/testrunner.h>
         #include <cppunit/extensions/testfactoryregistry.h>
         BOOL CMyApp::InitInstance () {
         #define CPP_UNIT_EXAMPLETESTCASE_H
         #include <cppunit/TestCase.h>
         #include <cppunit/extensions/HelperMacros.h>
         #include "stdafx.h" // MFC 인 경우.
         #include "hostapp.h" // MFC 인 경우 해당 App Class
         #include "ExampleTestCase.h"
         #include <iostream>
  • 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()
  • TheJavaMan/숫자야구 . . . . 75 matches
         public class BBGameFrame extends Frame implements WindowListener{
          public BBGameFrame(String aStr){
          addWindowListener(this);
          public static void main(String[] args) {
          TextField input = new TextField();
          lp.add(input, "West");
          public void windowClosing(WindowEvent e) {
          public void windowOpened(WindowEvent e) { }
          public void windowIconified(WindowEvent e) { }
          public void windowDeiconified(WindowEvent e) { }
          public void windowClosed(WindowEvent e) { }
          public void windowActivated(WindowEvent e) { }
          public void windowDeactivated(WindowEvent e) { }
          * Window - Preferences - Java - Code Generation - Code and Comments
          * Window - Preferences - Java - Code Generation - Code and Comments
          public static String correct_answer;
          int temp[] = new int[3];
          for ( int i = 0 ; i < 3 ; i++)
          temp[i] = rmd.nextInt(9);
          for ( int i = 0 ; i < 3 ; i++ )
  • TriDiagonal/1002 . . . . 75 matches
          * 느낀점 - LU 분해를 일반화시키는 부분에 대해서는 연습장에서 계산을 시키고 대입을 해보고 패턴을 찾아낸 뒤 일반화시켰다. 만일 이 부분을 코드를 짜면서 ["TestFirstProgramming"] * ["Refactoring"] 의 방법으로 풀었더라면 어떠했을까. (두 개의 과정이 비슷하다고 여겨진다. 코드가 줄어들고 OAOO 의 원칙을 지킬 수 있을테니까.) -- 석천
         if __name__=="__main__":
          unittest.main()
         from ArrayPrinter import *
          def __init__(self, aSquareArray):
          for i in range(self.n):
          for i in range(0,n):
          for j in range(0,n):
          for i in range(self.n):
          for eachRow in range(aCol, self.n):
          self.l[eachRow][aCol] = self.array[eachRow][aCol] - self._minusForWriteL(eachRow, aCol)
          def _minusForWriteL(self, aRow, aCol):
          totalMinus = 0
          for n in range(0, aCol):
          totalMinus += self.l[aRow][n] * self.u[n][aCol]
          return totalMinus
          for eachCol in range(aRow+1, self.n):
          self.u[aRow][eachCol] = float(self.array[aRow][eachCol] - self._minusForWriteU(eachCol, aRow)) / float(self.l[aRow][aRow])
          def _minusForWriteU(self, aCol, aRow):
          totalMinus = 0
  • 이영호/미니프로젝트#1 . . . . 75 matches
         OS : Linux 체제
         Language : C & Linux System Function
         1. Client Console에 메세지를 입력하면 IRC Server로 문자열을 전송한다. -> Main Process
         2. 서버로부터 메세지 중 PING 부분 처리 -> 1번째 Child Process
         main.c -> IRC Server로 메세지를 보내는 역할을 하고 자식 프로세스를 생성한다.
         request.c -> IRC Server로 부터 날아오는 PING에 대한 PONG 처리.
         우선 구현할 부분 : main의 일부, parse의 PING 처리부분, request 부분
         // 자동으로 #linux 채널까지 접속 됨.
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
         #include <sys/wait.h>
         #include <sys/types.h>
         #include <sys/socket.h>
         #include <netdb.h>
         #include <unistd.h>
         #include <arpa/inet.h>
         #define MSG_MAX 1024
         #define NICK "whoami_"
         #define HOST "irc.hanirc.org"
  • 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++)
  • DesignPatternsAsAPathToConceptualIntegrity . . . . 74 matches
         원문 : http://www.utdallas.edu/~chung/patterns/conceptual_integrity.doc
         Design Patterns as a Path to Conceptual Integrity
         During our discussions about the organization of design patterns there was a comment about the difficulty of identifying the “generative nature” of design patterns. This may be a good property to identify, for if we understood how design patterns are used in the design process, then their organization may not be far behind. Alexander makes a point that the generative nature of design patterns is one of the key benefits. In practice, on the software side, the generative nature seems to have fallen away and the more common approach for using design patterns is characterized as “when faced with problem xyz…the solution is…” One might say in software a more opportunistic application of design patterns is prevalent over a generative use of design patterns.
         The source of this difference may be the lack of focus on design patterns in the design process. In fact, we seldom see discussions of the design process associated with design patterns. It is as though design patterns are a tool that is used independent of the process. Let’s investigate this further:
         A comment from Carriere and Kazman at SEI is interesting: “What Makes a Good Object Oriented Design?”
         · The internal regularity (….or conceptual integrity) of the architectural design
          아키텍쳐 디자인의 내부적 정규성(또는 ConceptualIntegrity)
         This is what Brooks wrote 25 years ago. "… Conceptual integrity is the most important consideration in system design."[Brooks 86] He continues: “The dilemma is a cruel one. For efficiency and conceptual integrity, one prefers a few good minds doing design and construction. Yet for large systems one wants a way to bring considerable manpower to bear, so that the product can make a timely appearance. How can these two needs be reconciled?”
         이는 Brooks 가 25년 전에 쓴 말이다. "ConceptualIntegrity 는 시스템 디자인에서 가장 중요한 일이다." 그는 계속 말한다. "이 딜레마는 잔인한 것이다. 효율성과 개념적 완전성중 혹자는 디자인과 구축을 하는 것을 선호할 것이다. 큰 시스템에 대해 혹자는 책임을 맡을 중요한 맨 파워를 가져올 방법을 원할 것이다. 그래서 프로덕트는 적시에 출현할 것이다. 어떻게 이 두 필요요소들이 조화를 이룰 거인가?
         One approach would be to identify and elevate a single overriding quality (such as adaptability or isolation of change) and use that quality as a foundation for the design process. If this overriding quality were one of the goals or even a specific design criteria of the process then perhaps the “many” could produce a timely product with the same conceptual integrity as “a few good minds.” How can this be accomplished and the and at least parts of the “cruel dilemma” resolved?
         The following summary is from “Design Patterns as a Litmus Paper to Test the Strength of Object-Oriented Methods” and may provide some insight:
         http://www.econ.kuleuven.ac.be/tew/academic/infosys/Members/Snoeck/litmus2.ps
         1. Some O-O design methodologies provide a systematic process in the form of axiomatic steps for developing architectures or micro-architectures that are optimality partitioned (modularized) according to a specific design criteria.
         2. The following methodologies are listed according to their key design criteria for modularization:
         a. Booch in OOSE relies heavily on expert designers and experience to provide the system modularization principle.
         OOSE 의 Booch 는 system modularization principle 을 제공하기 위해 전문가 디자이너와 경험에 매우 의존적이다.
         b. OMT, Coad-Yourdon, Shaer-Mellor are data driven and as such raise data dependency as the system modularization principle.
         OMT, Coad-Yourdon, Shaer-Mellor 의 경우 data driven 이며, system modularization principle 로서 데이터 의존성을 들었다.
         c. Wirfs-Brock with Responsibility Driven Design (RDD) raises contract minimization as the system modularization principle.
         d. Snoeck with Event Driven Design (EDD) raises existence dependency as the system modularization principle.
  • GDBUsage . . . . 74 matches
         The GNU Debugger, usually called just GDB, is the standard debugger for the GNU software system. It is a portable debugger that runs on many Unix-like systems and works for many programming languages, including C, C++, and FORTRAN.
         #include <stdio.h>
         #include <unistd.h>
         #include <stdlib.h>
         #define BUFSIZE 30
         int main(int argc, char** argv)
          int fd[2];
          int state;
         Copyright 2005 Free Software Foundation, Inc.
         welcome to change it and/or distribute copies of it under certain conditions.
         Type "show copying" to see the conditions.
         This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
         6 #define BUFSIZE 30
         8 int main(int argc, char** argv)
         10 int fd[2];
         13 int state;
         Starting program: /home/staff/sapius/source/ipc_test/pipe1 15
         Breakpoint 1 at 0x80484cc: file pipe1.c, line 21.
         == print # ==
         Breakpoint 1 at 0x80484cc: file pipe1.c, line 21.
  • NSIS/Reference . . . . 73 matches
         == Installer attributes ==
         || || || 1 - Installation Options ||
         || || || 2 - Installation Directory ||
         || || || 3 - Installing Files ||
         || BrandingText || "ZeroPage Installer System v1.0" || 인스톨러 하단부에 보여지는 텍스트 ||
         || Icon || "setup.ico" || Installer 의 아이콘. 반드시 32*32*16 color 이여야 한다. ||
         || WindowIcon || on | off || Icon 을 표시할 것인지 말것인지 결정 ||
         || InstallButtonText || "설치 || Install 버튼에 대한 text 의 설정 ||
         === Install Directory ===
         || InstallDir || $PROGRAMFILES\example || 기본 설치 디렉토리 ||
         || InstallDirRegKey || . || . ||
         || InstType || "Full Install" || Install 관련 component type 에 대한 정의. 순서대로 1,2,3,4...8 까지의 번호들이 매겨지며, 이는 추후 SectionIn 에서 해당 component 에 대한 포함관계시에 적용된다. ||
         || AllowRootDirInstall || false || 루트디렉토리에 설치할 수 있도록 허용할것인지에 대한 여부 ||
         === Install Page - 실질적인 Install 화면을 표시하는 페이지에 쓰이는 속성들 ===
         || InstallColors || FFFF00 000000 || foregroundcolor backgroundcolor. 또는 /windows 옵션을 이용가능 ||
         || InstProgressFlags || smooth colored|| smooth, colored. colored 를 설정시는 InstallColors 의 색으로 적용 ||
         || AutoCloseWindow || false || 인스톨 완료시 자동으로 인스톨 윈도우를 닫을것인지에 대한 여부 ||
         || ShowInstDetails || show || hide | show | nevershow . install 되는 화면을 보여줄 것인지에 대한 여부 ||
         === Uninstall ===
         Uninstall 화면에 대한 설정들.
  • PNGFileFormat/FormatUnitTestInPythonLanguage . . . . 73 matches
         # -*- coding: utf-8 -*-
          for i in range(8):
          chunkInfo = self.png.nextChunk()
          self.assertEqual(13, chunkInfo[0]) # 0 = chunkLen
          chunkInfo = self.png.nextChunk()
          imageWidth = ord(chunkInfo[2][0]) * (256**3)
          imageWidth += ord(chunkInfo[2][1]) * (256**2)
          imageWidth += ord(chunkInfo[2][2]) * (256**1)
          imageWidth += ord(chunkInfo[2][3])
          imageHeight = ord(chunkInfo[2][4]) * (256**3)
          imageHeight += ord(chunkInfo[2][5]) * (256**2)
          imageHeight += ord(chunkInfo[2][6]) * (256**1)
          imageHeight += ord(chunkInfo[2][7])
          bitDepth = ord(chunkInfo[2][8])
          self.assertEqual(True, bitDepth in [1,2,4,8,16])
          colorType = ord(chunkInfo[2][9])
          self.assertEqual(True, colorType in [0,2,3,4,6])
          compressionMethod = ord(chunkInfo[2][10])
          filterMethod = ord(chunkInfo[2][11])
          # InterlaceMethod
  • 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/개차반 . . . . 72 matches
          * High-level의 programming skill보단 low-level의 HW적인 구조를 설명하여 low-level에서 접근하는 독특한(...) 코딩 스타일 전수
          * C언어는 UNIX 개발을 목적으로 만들어진 언어이기 때문에 OS의 기초가 되는 기초적인 컴퓨터시스템은 이해할 필요가 있다고 판단
          * binary digit를 비롯한 컴퓨터 시스템의 기초적인 개념 또한 설명
          * variable 및 main function의 역할 설명
          * #include가 무엇인지 header file이 무엇인지 설명
          * 컴파일러의 역할과 compile -> link -> build 과정 설명
          * Low-Level 언어에 가까울수록 기계가 이해하기 쉬워진다 (Machine Friendly)
          * int, float, char 등
          * int는 정수를 나타내고자 할 때 사용하며 출력시 %d를 사용
          * int: integer type, 4 bytes
          * char: It used to express a character, but also used to express a integer. 1 byte
          * float: 4 byte, floating type number. Specification in IEEE 754-2008
          * function: input -> output
          * Main function
          * It has start and end point of a program.
          * return 0; : 0 is a flag noticing OS that program is ended.
          * Integer type: int(4 bytes), char(1 byte, be often used to express a character)
          * Maximum, minimum value of int(경우의 수 이용)
          * printf, scanf
          * #define
  • 새싹교실/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>
  • Gof/Adapter . . . . 71 matches
         == Intent ==
         adapter 클래스는 하나의 interface를 다른 interface 에 적합하게 맞춰주기 위해 (말 그대로 어뎁터 역할~) 다중상속을 이용한다.
          - 클라이언트가 이용한 domain-specific한 인터페이스를 정의한다.
          * Client (DrawingEditor)
          - adapting이 필요한 현존하는 interface를 정의한다.
         We'll give a brief sketch of the implementation of class and object adapters for the Motivation example beginning with the classes Shape and TextView.
          virtual void BoundingBox(Point& bottomLeft, Point& topRight) const;
          void GetOrigin (Coord& x, Coord& y) const;
         Shape assumes a bounding box defined by its opposing corners. In contrast, TextView is defined by an origin, height, and width. Shape also defines a CreateManipulator operation for creating a Manipulator object, which knowns how to animate a shape when the user manipulates it. TextView has no equivalent operation. The class TextShape is an adapter between these different interfaces.
         A class adapter uses multiple inheritance to adapt interfaces. The key to class dapters is to use one inheritance branch to inherit the interface and another branch to inherit the implementation. The usual way to make this distinction in C++ is to inherit the interface publicly and inherit the implementation privately. We'll use this convention to define the TextShape adapter.
          virtual void BoundingBox (Point& bottomLeft, Point& topRight) const;
         The BoundingBox operation converts TextView's interface to conform to Shape's.
         void TextShape::boundingBox (Point& bottomLeft, Point& topRight) const {
          GetOrigin (bottom, left);
          bottomLeft = Point (bottom, left);
          topRight = Point (bottom + height, left + width);
         The IsEmpty operations demonstrates the direct forwarding of requests common in adapter implementations:
         Finally, we define CreateManipulator (which isn't supported by TextView) from scratch. Assume we've already implemented a TextManipulator class that supports manipulation of a TextShape.
         The object adapter uses object composition to combine classes with different interfaces. In this approach, the adapter TextShape maintains a pointer to TextView.
          virtual void BoundingBox (Point& bottomLeft, Point& topRight) const;
  • NSIS/예제3 . . . . 71 matches
         [http://zeropage.org/~reset/zb/download.php?id=KDP_board_image&page=1&page_num=20&category=&sn=&ss=on&sc=on&keyword=&prev_no=&select_arrange=headnum&desc=&no=50&filenum=1 만들어진Installer] - 실행가능.
         ; define 상수.. 버전 표시용.
         !define VER_MAJOR 1
         !define VER_MINOR 0
         Caption "Tetris Install"
         BrandingText "ZeroPage Install v1.0"
         ; Installer 의 아이콘. 반드시 32 * 32 * 16 color 이여야 한다.
         WindowIcon on
         ; Install 버튼에 대한 text
         InstallButtonText "설치"
         InstallDir $PROGRAMFILES\zp_tetris
         ComponentText "Testing ver ${VER_MAJOR}.${VER_MINOR} 설치 합니다. 해당 컴포넌트를 골라주세요~"
         ; Install 관련 Type 의 셋팅
         InstType "Normal Install"
         InstType "Full Install"
         ;InstType /NOCUSTOM
         ;InstType /COMPONENTSONLYONCUSTOM
         AutoCloseWindow false
         ShowInstDetails show
         ShowUninstDetails show
  • StringOfCPlusPlus/영동 . . . . 71 matches
         #include<iostream.h>
         #include<string.h>
         class Anystring
          int count;
          Anystring();
          Anystring(const char*);
          ~Anystring();
          Anystring operator+(const Anystring &string1); //const;
          friend ostream& operator<<(ostream & os, const Anystring & a_string);
         Anystring::Anystring()
         Anystring::Anystring(const char* tempstr)
         Anystring::~Anystring()
         void Anystring::str_length()
         void Anystring::str_reverse()
         void Anystring::str_count_same_char()
          char input_char;
          cin>>input_char;
          cout<<input_char<<"n";
          for(int i=0;i<30;i++){
          if(str[i]==input_char)
  • 새싹교실/2012/아우토반/앞반/4.19 . . . . 71 matches
         #include <stdio.h> // getchar()
         #include <stdlib.h>
         #include <time.h>
         #include <conio.h> // getche(), getch()
         #define S_HP 1000
         #define P_HP 500
         int main(void) {
          int shp = S_HP;
          int php = P_HP;
          int damage;
          char input;
          printf("선대 때리기 게임을 시작합니다\n");
          printf("선대의 체력 : %d\n플레이어의 체력 : %d\n", shp, php);
          printf("\n");
          printf("선대의 공격! 플레이어는 %d 만큼의 피해를 입었다! \n", damage);
          printf("플레이어는 체력이 다해 쓰러졌다! 선대의 승리!\n");
          printf("-> 펀치는 p, 킥은 k를 입력하세요\n");
          input = getch();
          switch (input) {
          printf("플레이어의 공격! 선대는 %d만큼의 피해를 입었다! \n", damage);
  • PokerHands/문보창 . . . . 70 matches
         #include <iostream>
         #include <cstdlib>
         using namespace std;
         const int NONE = 0;
         const int TIED = 2;
         const int BLACK = -1;
         const int WHITE = 1;
          int value[5];
          int rank[6];
         inline int comp(const void *i,const void *j) { return *(int *)i-*(int *)j; };
         int compare(Poker & b, Poker & w);
         void interpret(bool b, bool w, int & result);
         void rankCompare(Poker & b, Poker & w, int & result);
         void showResult(int & result);
         int main()
          int count, i, j;
          while(cin.getline(str, 30, '\n'))
          qsort(black.value, 5, sizeof(int), comp);
          qsort(white.value, 5, sizeof(int), comp);
          int result = compare(black, white);
  • UpgradeC++/과제1 . . . . 70 matches
         #include<iostream>
         #include<string>
         using namespace std;
         int main()
          for(int i=0; i<5; i++)
          string space(4-i,' ');
          string star(2*i+1,'*');
          for(int k =0 ; k< i ; k++)
          for(int j=0;j<9-2*i; j++)
          int size = 11;
          string space(abs(size/2-i),' ');
          for(int j=0; j< (2*i+1) ; j++)
          for(int j=0; j< size-2*(i-size/2) ; j++)
         #include <iostream>
         using namespace std;
         int main()
          int row;
          cin >> row;
          for (int i=0;i<row;i++)
          for (int j=i+1;j<row;j++)
  • 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 ):
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/변형진 . . . . 70 matches
          public static void main(String[] args) throws IOException {
          Tester tester = new Tester(new Trainer[] {
          new Trainer("package/train/economy/index.economy.db").load(),
          new Trainer("package/train/politics/index.politics.db").load() });
          for (int i = 0; i < readers.length; i++) {
          int right = 0, wrong = 0;
          for (String line; (line = reader.readLine()) != null;) {
          if (tester.getWeight(i, line) > 0) {
          System.out.println(right + "\t" + wrong + "\t" + ((double)right/(right+wrong)));
         public class Trainer {
          private String fileName;
          private int docsCount;
          private int wordsCount;
          private Map<String, Integer> wordCount = new HashMap<String, Integer>();
          public Trainer(String fileName) {
          public Trainer load() throws IOException {
          for (String line; (line = reader.readLine()) != null;) {
          for (String word : line.split("\\s+")) {
          Integer count = wordCount.get(word);
          public int getDocsCount() {
  • 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++)
  • 압축알고리즘/주영&재화 . . . . 69 matches
         #include <iostream>
         #include<string>
         using namespace std;
         int main()
          string input;
          cin >> input;
          cout << input[0];
          for(int i=0;i<input.size() ;i++)
          cout << (int)(input[i] - input[0]);
         #include <iostream>
         #include<string>
         using namespace std;
         int main()
          string input;
          cin >> input;
          cout << input[0];
          char standard = input[0];
          for(int i=0;i<input.size() ;i++)
          if((int)(input[i] - standard)<10)
          cout << (int)(input[i] - standard);
  • PPProject/Colume2Exercises . . . . 68 matches
          === 저글링 방식 (JugglingAction) ===
         #include <iostream>
         #include <string>
         using namespace std;
         string roll( string str,int n, int i );
         int getGcd(int aN, int aM);
         void main()
          string str = "abcdefg";
          int n = str.length();
          int i;
          cin >> i;
          cout << "after shifting : " << roll(str, n, i) << endl;
         string roll( string str, int n, int i )
          int gcd = getGcd(n, i);
         // for ( int count = 0 ; count * gcd < i ; count ++ )
          for ( int count = 0 ; count < i ; count += gcd)
          for ( int tag = 0 ; tag < gcd ; tag++ ){
          for ( int base = tag ; base + gcd < n ; base += gcd)
         int getGcd(int aN, int aM)
          int remain;
  • Where's_Waldorf/곽병학_미완.. . . . . 68 matches
          int m;
          int n;
          int k;
          String[] str;
          int index;
          /*int[][] direction= {{-1,-1}, {0,1}, {1,1},
          int[] y = {-1, -1, -1, 0, 1, 1, 1, 0};
          int[] x = {-1, 0, 1, 1, 1, 0, -1, -1};
          int length;
          Case(int m, int n, char[][] grid, int k, String[] str) {
          /*index = 0;*/
          /*direction = new int[2][4];*/
          for(int i=0; i<str.length; i++) { //찾을 단어 개수만큼
          index = 0; //다음 단어의 첫 글자
          for(int row=0; row<m; row++) {
          for(int col=0; col<n; col++) {
          if(grid[row][col] == str[i].charAt(index)) { // 첫 단어가 맞으면
          /*System.out.println(str[i].charAt(index));
          System.out.println((row+1) + " " + (col+1));*/
          System.out.println("444 : " + (row+1) + " " + (col+1) );
  • 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
  • aekae/code . . . . 67 matches
         #include <iostream>
         using namespace std;
         int main()
          int i;
          int a,b,c,d;
         #include <iostream>
         using namespace std;
         #include <ctime>
         int table[5][5] = {0,};
         int main()
          int x, y;
          cin >> x >> y;
          int a = rand() % 3 - 1;
          int b = rand() % 3 - 1;
          for (int i=0; i<5; i++)
          for (int j=0; j<5; j++)
          for (int i=0; i<5; i++)
          for (int j=0; j<5; j++)
         #include <iostream>
         using namespace std;
  • 빵페이지/숫자야구 . . . . 67 matches
         난수생성 참고자료 : RandomFunction , WindowsConsoleControl
          DeleteMe 내용이 중복되어서 문제정의와 참고자료 부분을 지웠습니다. 위키라는 지식 풀속에 중복되는 지식은 링크로 충분하겠지요. 아래의 문제들 역시 {{{~cpp 숫자야구/유주영}}} 식으로 하는 편이 차후 접근성 측면에서 더 좋을것 같습니다.--NeoCoin
          * ctime 를 include 하고 srane(time(0)); 을 선언해주면 바뀔걸~ - 민수
         #include <iostream>
         #include <stdlib.h>
         #include <time.h>
         using namespace std;
          int main()
          int num[3];
          for(int i=0; i<3; i++)
          int ch;
          cin >> ch;
          int person[3];
          int bcount=0;
          int scount=0;
          for(int i=0;i<3;i++)
          for(int j=0;j<3;j++)
         #include <iostream.h>
         #include <stdlib.h>
         #include <time.h>
  • 새싹교실/2012/ABC반 . . . . 67 matches
         int myfunction(int a, int b); 라고 하면 int 자료형을 반환하며 int자료형 2개를 파라미터로 하는 myfuction이라는 함수를 정의한 것이다.
         #include <stdio.h>
         int myfunc(int num1, int num2){
         int main(void){
          int a= 2, b= 3;
          int c= myfunc(a, b);
          printf("%d", c);
         위 코드에서 보면 myfunc라는 함수는 int자료형 자료 2개를 각각 num1과 num2라는 이름으로 넘겨 받아 두개를 더해서 반환한다.
         int c= myfunc(a, b);
         #include <stdio.h>
         int myfunc(int num1, int num2);
         int main(void){
          int a= 2, b= 3;
          int c= myfunc(a, b);
          printf("%d", c);
         int myfunc(int num1, int num2){
         int myfunc(int num1, int num2);는 myfunc라는 함수를 만들겠다고 선언만 해 놓은 것이다.
         int myfunc(int num1, int num2){
         #include <stdio.h>
         int num1= 6;
  • JavaStudy2003/세번째과제/노수민 . . . . 66 matches
         import javax.swing.JOptionPane;
          public String word="Hello, World!";
          public void setName(String name) {
          public static void main() {
         //Line.java
         import javax.swing.*;
         public class Line {
          private Point p1 = new Point();
          private Point p2 = new Point();
          private String info = "";
          public Line() {
          public void setData(int p1_xValue, int p1_yValue, int p2_xValue, int p2_yValue) {
          public void setInfo() {
          info += "Line point_1 x : " + p1.getX() + "\n" +
          "Line point_1 y : " + p1.getY() + "\n" +
          "Line point_2 x : " + p2.getX() + "\n" +
          "Line point_2 y : " + p2.getY() + "\n";
          setInfo();
          JOptionPane.showMessageDialog(null, info);
          public void move(int xValue, int yValue) {
  • Spring/탐험스터디/wiki만들기 . . . . 66 matches
         === Spring Framework ===
         === Spring Security ===
         Object principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal();
          String name;
          if (principal instanceof UserDetails) {
          name = ((UserDetails)principal).getUsername();
          name = principal.toString();
          1. Spring dependency injection을 이용하는 법
         public String write(@RequestParam("title") String title, @RequestParam("contents") String contents, Model model, Principal principal) {
         page.edit(contents, userRepository.get(principal.getName()));
          * spring security tab library
          * spring security에 관련된 기능들을 html/js에서 쓸 수 있다.
         <%@ taglib uri="http://www.springframework.org/security/tags" prefix="sec" %>
          <input id="contents_edit" type="textarea" class="page_edit" value="${page.contents}" />
          <sec:authorize url="/login">
          * Spring Security의 Role Voter는 "ROLE_" 접두어를 사용한 접근 속성만 처리한다. 단 접두어는 커스터마이징이 가능하다.
          * ORM(Object Relation Mapping) 프레임워크. Java persistence, EJB3.0을 같이 알면 좋다.
         String html = new PegDownProcessor().markdownToHtml("markdown text");
          * 아무튼 pegdown은 무지무지 쉬웠는데(new Pegdown().markdownToHTML(/* String 콘텐츠 */) 적용하는데까지 시간이 오래걸렸다. 하나 고치면 다른 에러가 나고 에러랑 스무고개했음ㅋㅋ
          * 좀 오래한 Spring, Hibernate도 어려움. CGLib, Spring Security, JSP, Session 찾아봐야겠다.
  • BuildingWikiParserUsingPlex . . . . 65 matches
         import cStringIO, StringIO
          def __init__(self, anInterWikiMap={}, aScriptName='', aMacros={}):
          self.interWikiMap = anInterWikiMap
          return cStringIO.StringIO(aText)
          return WikiParser(stream, self.interWikiMap,self.scriptName, self.macros).linkedLine()
          def getLinkStr(self, anUrl):
          extension = aFileUrl[aFileUrl.rfind(".")+1:]
          return extension in imgExtensions
          return self.getLinkStr(aText)
          def repl_interwiki(self, aText):
          if self.interWikiMap.has_key(wikiMapName):
          url = self.interWikiMap[wikiMapName]
          imageTag = "<IMG SRC=../intertag.gif BORDER=0>"
          url = self.scriptName+"/InterMap"
          imageTag = "<IMG SRC=../intertag.gif BORDER=1 ALT='Bad:%s'>"%(wikiMapName)
          def repl_pagelink(self, aText):
          def repl_pagelinkUsingUnderbar(self, aText):
          def repl_normalString(self, aText):
          # for auto link
          stringUntilSpace = Rep(AnyBut(" "))
  • CPPStudy_2005_1/STL성적처리_1_class . . . . 65 matches
         = inputData =
         #define GUARD_Student
         #include <string>
         #include <vector>
         using namespace std;
          string m_name;
          vector<int> m_subjects;
          int m_total;
          void setName(string name);
          string getName() {return m_name;};
          int getTotal() {return m_total;};
          vector<int> getSubjectScore() {return m_subjects;};
          void addSubjectScore(int score);
          int sum();
         #include <algorithm>
         #include <numeric>
         #include "Student.h"
         void Student::setName(string name)
         void Student::addSubjectScore(int score)
         int Student::sum()
  • DNS와BIND . . . . 65 matches
         서버관리자가 DNS와 BIND에 대해 공부한 내용
         책 - DNS와 BIND, Paul Albitz & Cricket Liu, 이성희 역, 한빛미디어
         = 4. BIND 셋업하기 =
         192.249.249.3 terminator.movie.edu terminator bigt
         192.253.253.3 shining.movie.edu shining
         robocop terminator diehard
         misery shining carrie
          호스트->주소 맵핑하는 파일 - db.DOMAIN
          네임서버환경설정파일 - /etc/named.conf (BIND 버전 8)
          => (책에는 BIND 버전 4와 BIND 버전 8 모두 설명하고 있는데 버전 8만 정리하겠음)
          리소스 레코드들의 (일반적)순서 - SOA(start of authority) 레코드, NS(name server) 레코드, 기타 레코드, A(address), PTR(pointer), CNAME(canonical name)
         movie.edu. IN SOA terminator.movie.edu. al.robocop.movie.edu. (
          terminator.movie.edu => 주 마스터 네임 서버의 이름
         movie.edu. IN SOA terminator.movie.edu. al.robocop.movie.edu. (
         movie.edu. IN NS terminator.movie.edu.
         movie.edu. IN NS wormhole.movie.edu.
         localhost.movie.edu. IN A 127.0.0.1
         robocop.movie.edu. IN A 192.249.249.2
         terminator.movie.edu. IN A 192.249.249.3
         diehard.movie.edu. IN A 192.249.249.4
  • PragmaticVersionControlWithCVS/CommonCVSCommands . . . . 65 matches
         || [PragmaticVersionControlWithCVS/AccessingTheRepository] || [PragmaticVersionControlWithCVS/UsingTagsAndBranches] ||
         == Checking Things Out ==
         cvs checkout: Updating sesame
         cvs checkout: Updating sesame2
         cvs checkout: Updating sesame2/sesame2
         cvs checkout: Updating sesame2/sesame2/templates
         cvs log: Logging sesame
         Working file: sesame/color.txt
          initial: 1.1.1.1
         date: 2005-08-02 13:16:58 +0000; author: sapius; state: Exp; lines: +4 -0
         Initial revision
         date: 2005-08-02 05:50:14 +0000; author: sapius; state: Exp; lines: +0 -0
         cvs checkout: Updating sesame
         || Relative || 1 day ago [[HTML(<BR/>)]] 27 minutes ago [[HTML(<BR/>)]] last monday [[HTML(<BR/>)]] yesterday [[HTML(<BR/>)]] third week ago ||
         == Keeping Up To Date ==
         cvs update: Updating template
         cvs update: Updating .
         cvs update: Updating template
         cvs server: Updating .
         retrieving revision 1.16
  • 이영호/My라이브러리 . . . . 65 matches
         // 성공시 0, 실패시 -1 반환. (socket에서 에러가 났는지 bind에서 에러가 났는지 구분이 힘들겠지만, socket이 할당 되지 않는 경우는 적으므로 bind 에러임.)
         // Bind 에러에서도 서버를 재가동 할 경우 resueaddr 로 flag를 설정했기 때문에, Port 에러 뿐임. 이미 Port를 사용할 때만 에러가 남.
         int tcp_server_init(int *sockfd, struct sockaddr_in *ina, uint16_t port);
         int udp_server_init(int *sockfd, struct sockaddr_in *ina, uint16_t port);
         int set_reuseaddr(int *sockfd); // 성공시 0반환 실패시 -1 반환.
         int send_msg(int sockfd, const *msg);
         #include <sys/types.h>
         #include <sys/socket.h>
         #include <netdb.h>
         #include <arpa/inet.h>
         #if !defined(TURE)
         #define TRUE 1
         #if !defined(FALSE)
         #define FALSE 0
         int tcp_server_init(int *sockfd, struct sockaddr_in *ina, uint16_t port)
          int option;
          *sockfd = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
          memset((struct sockaddr *)ina, 0, sizeof(struct sockaddr));
          (*ina).sin_family = AF_INET;
          (*ina).sin_addr.s_addr = INADDR_ANY;
  • CivaProject . . . . 64 matches
         #ifndef CIVA_CIVADEF_INCLUDED
         #define CIVA_CIVADEF_INCLUDED
         #include <boost/smart_ptr.hpp>
         using boost::shared_ptr;
         using boost::shared_ptr;
         //#define Array_Handle(ElementType) boost::shared_ptr< civa::lang::Array<ElementType> >
         class String;
         typedef shared_ptr<String> String_Handle;
         #endif // CIVA_CIVADEF_INCLUDED
         #ifndef CIVA_IO_SERIALIZABLE_INCLUDED
         #define CIVA_IO_SERIALIZABLE_INCLUDED
         #include "../lang/Object.h"
         #endif // CIVA_IO_SERIALIZABLE_INCLUDED
         #ifndef CIVA_LANG_ARRAY_INCLUDED
         #define CIVA_LANG_ARRAY_INCLUDED
         #include "Object.h"
          int length;
          Array(int length) throw() : length(length) {
          for (index = 0; index < length; index++) {
          values[index] = newValuse[index];
  • 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();
  • JSP/SearchAgency . . . . 64 matches
         import="java.util.*, java.io.BufferedReader, java.io.InputStreamReader, java.io.FileReader,
          org.apache.lucene.index.IndexReader,
          org.apache.lucene.index.FilterIndexReader,
          org.apache.lucene.search.IndexSearcher,
         pageEncoding="UTF-8"%>
          out.write(" <input type=text name='keyword'>");
          class OneNormsReader extends FilterIndexReader {
          private String field;
          public OneNormsReader(IndexReader in, String field) {
          super(in);
          public byte[] norms(String field) throws IOException {
          return in.norms(this.field);
         // String index = "/home/httpd/index";
          String index = "index";
          String field = "contents";
          String queries = null;
          int repeat = 0;
          String normsField = null;
          IndexReader reader = IndexReader.open(index);
          Searcher searcher = new IndexSearcher(reader);
  • OurMajorLangIsCAndCPlusPlus/ctype.h . . . . 64 matches
         || intsalnum(int c) || 알파벳 숫자임을 체크한다. ||
         || int isalpha(int c) || 주어진 문자가 알파벳 인지 검사한다. A-Z a-z ||
         || int islower(int c) || 소문자인지 검사한다. a-z ||
         || int isupper(int c) || 대문자인지 검사한다. A-Z ||
         || int isdigit(int c) || 주어진 문자가 숫자인지 검사한다. 0-9 ||
         || int isxdigit(int c) || 16진수 를 표한할 수 있는 문자인지 확인한다. 0-9 a-f A-F ||
         || int isspace(int c) || 공백문자들을 검사한다.('\f'), ('\n'), ('\r'),('\t'),('\v'). ||
         || int ispunct(int c) || 알파벳문자 혹은 공백문자가 아닌 출력가능한 문자인지 확인한다. ||
         || int isalnum(int c) || 주어진 문자가 알파벳 또는 숫자인지 검사한다. A-Z a-z 0-9 ||
         || int isprint(int c) || 공백문자를 포함한 출력가능한 문자인지 검사한다. ||
         || int isgraph(int c) || 공백문자를 제외한 출력가능 문자인지 검사한다. ||
         || int iscntrl(int c) || 제어(control) 문자인지를 검사한다. ||
         || int toupper(int c) || 입력된 문자를 소문자로 변경한다. ||
         || int tolower(int c) || 입력된 문자를 대문자로 변경한다. ||
         || int iswalpha(wint_t) || Uncode 인지 확인 (한글 등) ||
         || int iswupper(wint_t) || 소문자인지 검사한다. ||
         || int iswlower(wint_t) || 대문자인지 검사한다. ||
         || int iswdigit(wint_t) || 주어진 문자가 숫자인지 검사한다.||
         || int iswxdigit(wint_t) || 16진수 를 표한할 수 있는 문자인지 확인한다. ||
         || int iswspace(wint_t) || 공백문자들을 검사한다.||
  • 그래픽스세미나/3주차 . . . . 64 matches
          PPT파일: Upload:CGseminar3.zip
          || 강인수 || [http://zeropage.org/wiki/moin.cgi/_5bLovely_5dboy_5e_5f_5e_2f3DLibrary 옛날에 만들어놓은거] ||
         # include "math.h"
         # define DG 4
         # define EPSILON 0.000001
         # define GX_V_E_MULT(AA,B,C){AA[0]=B[0]*C[0]; AA[1]=B[1]*C[1]; AA[2]=B[2]*C[2]; AA[3]=1;}
         # define M_PI 3.141592
          CGX_Vector<T> operator+(CGX_Vector<T> in);
          CGX_Vector<T> operator+(T* in);
          CGX_Vector<T> operator-(CGX_Vector<T> in);
          CGX_Vector<T> operator-(T* in);
          CGX_Vector<T> operator*(T in);
          CGX_Vector<T> operator/(T in);
          void operator=(CGX_Vector<T> in);
          void operator=(T* in);
          T& operator[](int in);
          CGX_Vector<T> operator*(CGX_Vector<T> in);//cross product
          T operator^(CGX_Vector<T> in);//dot product
          friend CGX_Vector<T> operator-(CGX_Vector<T> in);
          for(int i=0;i<3;i++) if (e[i]- b[i] > EPSILON) return FALSE;
  • 수학의정석/집합의연산/조현태 . . . . 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)
  • CPPStudy_2005_1/STL성적처리_1 . . . . 63 matches
         = InputText =
         #include <iostream>
         #include <string>
         #include <fstream>
         #include <vector>
         #include <algorithm>
         #include <numeric>
         using namespace std;
         #define SUBJECT_SIZE 4
         struct Student_info {
          string name;
          vector<int> subjects;
          int total;
         double Sum(Student_info &s);
         void totalSum(vector<Student_info> &students);
         double average(Student_info &s);
         void totalAverage(vector<Student_info> &students);
         bool totalCompare(const Student_info &s1, const Student_info &s2);
         void sortBySum(vector<Student_info> &students);
         ostream& displayScores(ostream &out, const vector<Student_info> &students);
  • DelegationPattern . . . . 63 matches
         또한, 클래스 하나가 방대해질때, 적절하게 그 클래스의 책임을 다른 클래스들에게 위임해주는 것은 ["Refactoring"] 의 방법이 된다.
         ObjectOrientedProgramming 을 할때 자주 쓰이는 코딩 스타일. 아마 사람들이 무의식중에 자주 쓸 것이다.
         example) 예전에 VonNeumannAirport 을 JuNe 과 ["1002"] 가 Pair 하던중 JuNe 이 작성했던 Refactoring 으로서의 Delegation.
          private int _traffic;
          private int [] _arrivalGate;
          private int [] _departureGate;
          public int getTraffic() {
          int [] passenger;
          passenger = (int [])iter.next();
          public void setArrivalGates(int [] aCity) {
          public void setDepartureGates(int [] aCity) {
          public int [] getArrivalGates() {
          public int [] getDepartureGates() {
          public int getDistance(int fromCity, int toCity){
          int distance=java.lang.Math.abs(_getArrivalCityGate(fromCity)
          private void movePassenger(int fromCity, int toCity, int aNumber) {
         여기까지는 Airport 이다. 하지만 VonNeumannAirport 문제에서도 보듯, 실제 Input 에 대해서 Configuration 은 여러 Set 이 나온다.
         이 기능을 추가하기 위해 일단 Airport Code 를 Refactoring 하기로 했다. 이를 위해 Airport 의 기능중 Configuration 과 관련된 기능에 대해 Configuration 을 Extract 하고, 내부적으로는 Delegation 함으로서 외부적으로 보이는 기능에 대해서는 일관성을 유지한다. (Test Code 가 일종의 Guard 역할을 했었음)
          private int [] _arrivalGate;
          private int [] _departureGate;
  • Gof/Strategy . . . . 63 matches
         == Intent ==
         텍스트 스트림을 줄 단위로 나누는 많은 알고리즘들이 있다. (이하 linebreaking algorithm). 해당 알고리즘들이 그것을 필요로 하는 클래스에 긴밀하게 연결되어있는 것은 여러가지 이유 면에서 바람직하지 못하다.
          * linebreaking이 필요한 클라이언트이 그 알고리즘을 직접 포함하고 있는 경우에는 클라이언트들이 더 복잡해질 수 있다. 이는 클라이언트들을 더 커지거나 유지가히 힘들게 한다. 특히 클라이언트가 여러 알고리즘을 제공해야 하는 경우에는 더더욱 그렇다.
          * linebreaking이 클라이언트코드의 일부인 경우, 새 알고리즘을 추가하거나, 기존 코드를 확장하기 어렵다.
         이러한 문제는, 각각의 다른 linebreaking을 캡슐화한 클래스를 정의함으로 피할 수 있다. 이러한 방법으로 캡슐화한 알고리즘을 stretegy 라 부른다.
         Composition 클래스는 text viewer에 표시될 텍스틀 유지하고 갱신할 책임을 가진다고 가정하자. Linebreaking strategy들은 Composition 클래스에 구현되지 않는다. 대신, 각각의 Linebreaking strategy들은 Compositor 추상클래스의 subclass로서 따로 구현된다. Compositor subclass들은 다른 streategy들을 구현한다.
          * TexCompositor - linebreaking 에 대해 TeX 알고리즘을 적용, 구현한다. 이 방법은 한번에 문단 전체에 대해서 전반적으로 linebreak를 최적화하려고 한다.
          * subclassing 의 대안
          int _componentCount;
          int _lineWidth;
          int* _lineBreaks;
          int _lineCount;
          virtual int Compose (
          Coord natural[], Coord stretch[], Coord shrink[],
          int componentCount, int lineWidth, int breaks[]
          Coord* shrinkability;
          int componentCount;
          int* breaks;
          // determine where the breaks are:
          int breakCount;
  • LinuxProgramming/SignalHandling . . . . 63 matches
          SIGBUS - bus error "access to undefined portion of memory object"(SUS)
          SIGCHLD - child process terminated, stopped (*or continued)
          SIGCONT - continue if stopped
          SIGFPE - floating point exception -- "erroneous arithmetic operation"(SUS)
          SIGILL - illegal instruction
          SIGINT - interrupt
          SIGPIPE - write to pipe with no one reading
          SIGSTOP - stop executing
          SIGTERM - termination
          SIGTSTP - terminal stop signal
          SIGTTIN - background process attempting to read ("in")
          SIGTTOU - background process attempting to write ("out")
          SIGUSR1 - user defined 1
          SIGUSR2 - user defined 2
          SIGPROF - profiling timer expired
          SIGTRAP - trace/breakpoint trap
          SIGVTALRM - signal raised by timer counting virtual time -- "virtual timer expired"(SUS)
         int signal() 예제
         desc: ctrl + c handling
         #include <stdio.h>
  • [Lovely]boy^_^/USACO/PrimePalinDromes . . . . 63 matches
         #include <iostream>
         #include <string>
         #include <fstream>
         #include <cmath>
         using namespace std;
         ifstream fin("pprime.in");
         void InputMinMax(int& n, int& m);
         string IntConvertToString(int n);
         bool IsPrime(const int& n);
         bool IsPalinDromes(const string& str);
         void OutputResult(const int& n, const int& m);
         void FillPrimeList(const int& n, const int& m);
         int main()
          int max,min;
          InputMinMax(min, max);
          OutputResult(min,max);
         void InputMinMax(int& min, int& max)
          fin >> min;
          fin >> max;
         void OutputResult(const int& min, const int& max)
  • 만년달력/인수 . . . . 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()
  • TicTacToe/zennith . . . . 62 matches
         import javax.swing.*;
          final int markX = 1, markO = 2;
          int x, y;
          boolean win = false;
          int block[][] = new int[][] {
          int blockDecider(int x, int y) {
          int retTable[][] = new int[][] {
          int xline, yline;
          for (xline = 0; x > 0; xline++)
          for (yline = 0; y > 0; yline++)
          return retTable[--yline][--xline];
          int getX(int blockNum) {
          int ret;
          int getY(int blockNum) {
          int ret;
          void markX(int blockNum) {
          int x, y;
          void markO(int blockNum) {
          int x, y;
          boolean checkBlockIsVoid(int blockNum) {
  • 간단한C언어문제 . . . . 62 matches
         16Bit 체제의 Windows
         #include <stdio.h>
         main(){
         int i;
          printf("%d", i);
         C언어의 컴파일러에 따라 메인함수는 저렇게 쓰일 수가 있어요;;; 특정 컴파일러는 return형이 int형이 아니라고 warnning을 내기도 하죠;; - [이영호]
         #include <stdio.h>
         main(){
         int a, b;
          printf("%f", c);
         signed int형인 a와 b를 더하면 (65535/2)에서 데이터가 넘치게 되어 -숫자가 나온다. (-65536/2)+((30000+30000)-(65536/2-1)) <- 제대로 설명을 못하겠다;;; - [이영호]
         #include <stdio.h>
         main(){
         #include <stdio.h>
         main(){
          printf("%f", num);
         옳지않다. atof함수로 float변환은 되었지만, atof함수의 프로토 타입이 있는 헤더를 추가하지 않았기 때문에 int형으로 return된다. 즉, num엔 숫자 123이 담긴다. ANSI C99에서는 프로토타입이 선언되지 않으면 컴파일되지 않도록 변했다. - [이영호]
         main(){
         int a, b, c;
          printf("a=%d b=%d c=%dn", a, b, c);
  • 데블스캠프2006/화요일/tar/김준석 . . . . 62 matches
         #include<iostream>
         #include<stdio.h>
         #include<io.h>
         #include<stdlib.h>
         using namespace std;
         void main(){
          _finddata_t data_dir;
          int h;
          int char_cpy;
          printf("파일이 열리지 않습니다.33");
          if(!(-1==(h =_findfirst("tar\*",&data_dir))))
          if((data_dir.attrib & _A_SUBDIR) != 0) continue;
          sprintf(fileName, "..\tar\%s", data_dir.name);
          printf("파일이 열리지 않습니다.");
          fprintf(write_f,"%d ",data_dir.size);
          }while(!(_findnext(h,&data_dir)));
          else printf("There is no serching!");
         #include<iostream>
         #include<stdio.h>
         #include<io.h>
  • 미로찾기/정수민 . . . . 62 matches
         #include <stdio.h>
         const int miro[13][17]={
         int main () {
          int x, y, n=0, j=0;
          printf("처음");
          printf("완료");
          printf("(%d, %d) \n",x , y);
          printf("%d 번째에 미로 탈출\n",j);
         #include <stdio.h>
         const int miro[13][17]={
         void find1();
         void find2();
         void find3();
         void find4();
         void find6();
         void find7();
         void find8();
         void find9();
         void finish();
         int x=1, y=1, j=0, finish_X=11, finish_Y=15;
  • 3N+1Problem/황재선 . . . . 61 matches
         #include <iostream>
         using namespace std;
         void input();
         int process();
         int findMaxCycle(int aNum, int aCount);
         void output(int aMaxCycle);
         int inputNum[2];
         int main()
          input();
          int max = process();
         void input()
          cin >> inputNum[0] >> inputNum[1];
         int process()
          int interNum = inputNum[0];
          int maxCycle;
          int temp;
          int count = 1;
          while (interNum <= inputNum[1])
          temp = findMaxCycle(interNum, count);
          interNum++;
  • OurMajorLangIsCAndCPlusPlus/print/김상섭 . . . . 61 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
         #include <stdarg.h>
         #include <ctype.h>
         #include <string.h>
         void print_d(int temp, int sort)
          for(int i = 0; i < sort - strlen(buffer); i++)
         void print_d_a(int * temp, int num)
          for(int i =0; i < num; i++)
          print_d(*(temp+i), 0);
         void print_s(const char * temp, int sort)
          for(int i = 0; i < sort - strlen(temp); i++)
         void print_s_a(const char ** temp, int num)
          for(int i =0; i < num; i++)
          print_s(*(temp+i), 0);
         void print_f(double temp, int sort)
          int decimal, sign;
          for(int i = 0; i < decimal;i++)
         void print_f_a(double * temp, int num)
  • TheJavaMan/스네이크바이트 . . . . 61 matches
          public int MAX = 20;
          public int[][] board = new int [MAX][];
          for(int i=0; i<MAX; i++)
          board[i] = new int[MAX];
          public void PrintScreen()
          for(int i=0; i<MAX; i++)
          for(int j=0; j<MAX; j++)
          System.out.print(board[i][j] + " ");
          System.out.println();
          System.out.println();
          int x;
          int y;
          int count = 0;
          x = rmd.nextInt(20);
          y = rmd.nextInt(20);
          int x, y, bx, by;
          System.out.println("움직이고자 하는 방향을 입력하세요");
          System.out.println("a : 왼쪽 " + "d : 오른쪽 " + "w : 위쪽 " + "x : 아래쪽");
          int select = System.in.read();
          while(System.in.read()!='\n')
  • VonNeumannAirport/인수 . . . . 61 matches
         // 끝부분에 소트시키는 부분이 있는데.. 귀찮아서 그냥 map에 때려넣었다. map<int,int> 해서 키값은 traffic양, 값은 테스트번호, 이런식으로 하면 지가 알아서 정렬한다.
         //만약 지능(intelligence)를 좀 더 분배하거나, 책임(responsibility)을 더 줄 수 없다면
         #include <iostream>
         #include <fstream>
         #include <vector>
         #include <cmath>
         #include <map>
         using namespace std;
         class Admin;
          int _departureGateNum;
          int _arrivalGateNum;
          int _passengerNum;
          Traffic(int departureGateNum, int arrivalGateNum, int passengerNum)
          int getPassengerNum() const
          int getDepartureGateNum() const
          int getArrivalGateNum() const
          vector<int> _arrivalGateNums;
          vector<int> _departureGateNums;
          int _totalTraffic;
          int _numCity;
  • 미로찾기/영동 . . . . 61 matches
         #include<iostream>
         #include<fstream>
         using namespace std;
         #define DIRECTION 4
         #define UP 0
         #define RIGHT 1
         #define DOWN 2
         #define LEFT 3
         const int MOVE_X[DIRECTION]={0, 1, 0, -1};
         const int MOVE_Y[DIRECTION]={-1, 0, 1, 0};
         #define SIZE_X 6
         #define SIZE_Y 7
         #define EMPTY 0
         #define BLOCKED 1
         #define MARKED 1
         #define STACK_SIZE SIZE_X*SIZE_Y
          int x;
          int y;
          int dir;
          Element(int aX, int aY, int aDir)
  • CppStudy_2002_2/객체와클래스 . . . . 60 matches
         == vending.h ==
         #ifndef _VENDING_H_
         #define _VENDING_H_
         class Vending
          int m_money;
          int m_price[3];
          int m_quantity[3];
          Vending();
          void insertCoin();
          void extortCoin();
          void mainMenu();
         == vending.cpp ==
         #include <iostream>
         #include <cstring>
         using namespace std;
         #include "vending.h"
         Vending::Vending()
         void Vending::insertCoin()
          int money;
          cin >> money;
  • DevelopmentinWindows/UI . . . . 60 matches
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/Window1.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/Window2.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/Menu.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/Button.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/EditBox.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/ComboBox.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/ListBox.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/ScrollBar.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/TrackBar.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/ProgressBar.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/Tab.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/TreeView.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/Open.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/Font.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/Color.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/Print.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/Find.jpg
          http://zeropage.org/~lsk8248/wiki/Seminar/DevelopmentinWindows/UI/Replace.jpg
         ["DevelopmentinWindows"]
  • 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;
  • Graphical Editor/Celfin . . . . 60 matches
         #include <iostream>
         #include <queue>
         using namespace std;
         char instruction;
         int x1, x2, y1, y2;
         int size_x, size_y;
         int i, j;
         void brush(int x_1, int y_1, int x_2, int y_2, char b_color)
          int tempInt;
          tempInt = x_1;
          x_2 = tempInt;
          tempInt = y_1;
          y_2 = tempInt;
         void printing()
         void regionBrush(int x, int y, char b_color)
          const int PLUS_X[8] = {+0, +1, +1, +1, +0, -1, -1, -1};
          const int PLUS_Y[8] = {+1, +1, +0, -1, -1, -1, +0, 1};
          queue<int> pointList_X;
          queue<int> pointList_Y;
          pointList_X.push(x);
  • LoveCalculator/조현태 . . . . 60 matches
         #include <stdio.h>
         const int MAX_SIZE_NAME=25;
         const int BACK_SPACE=8;
         int calculator(int);
         void main()
          int name_score[2];
          for (register int i=0; i<2; ++i)
          printf ("%d번째 사람의 이름을 입력해주세요.\n>>",i+1);
          for (register int j=0; j<MAX_SIZE_NAME; ++j)
          printf("두사람의 사랑은 %.2f%%입니다.",result_percent);
         int calculator(int number)
          int temp_number=0;
         #include <stdio.h>
         #include <ctype.h>
         #include <conio.h>
         const int MAX_SIZE_NAME=25;
         const int BACK_SPACE=8;
         const int ENTER=13;
         void input_and_calculate(int*);
         int input_and_return_cursur(char*, int);
  • MedusaCppStudy/희경 . . . . 60 matches
         #include<iostream>
         using namespace std;
         int main()
          int x;
          cin >> x;
          for(int i = 0; i < x; i++)
          for(int j = 0; j < (x-2); j++)
          for(int k = 0; k < (x-2); k++)
          for(int l = 0; l < x; l++)
         #include<iostream>
         using namespace std;
         int main()
          int x;
          cin >> x;
          for(int i = 0; i < x-1; i++)
          for(int j = (x-i-1); j > 0; j--)
          for(int j = (x-i-1); j > 0; j--)
          for(int k = 0; k < (2*i-1); k++)
          for(int l = 0; l < x; l++)
         #include<iostream>
  • PythonNetworkProgramming . . . . 60 matches
         만일 winsock 을 쓰고 싶다면 windows extension libary 들을 설치해주면 된다.
         sock = socket(AF_INET, SOCK_STREAM)
         sock = socket(AF_INET, SOCK_STREAM)
         sock.bind(("localhost",port))
          print "Client connected:",client_addr
          print data
         UDPSock = socket(AF_INET, SOCK_DGRAM)
         UDPSock.bind(addr)
          print "Client has exited!"
          print "\n Received message '", data,"'"
         UDPSock = socket(AF_INET, SOCK_DGRAM)
         print "\n", def_msg
          data = raw_input('>> ')
          print "Sending message '",data,"'..."
         from threading import *
          def __init__(self, aServer):
          Thread.__init__(self)
          print address
          self.listenSock = socket(AF_INET, SOCK_STREAM, IPPROTO_IP)
          self.listenSock.bind(here)
  • RandomWalk/ExtremeSlayer . . . . 60 matches
         #define _BOARD_H_
          int _nRow;
          int _nCol;
          int** _nBlockFrequency;
          int _nCurRow;
          int _nCurCol;
          int _nTotalMovement;
          RandomWalkBoard(int& nRow, int& nCol, int& nCurRow, int& nCurCol);
          void SetArrayAsZero(int& nCurRow);
          int GetRandomDirection() const;
          bool CheckCorrectCoordinate(int& nDelRow, int& nDelCol) const;
         #include <iostream>
         #include <cmath>
         #include <ctime>
         using namespace std;
         #include "RandomWalkBoard.h"
         RandomWalkBoard::RandomWalkBoard(int& nRow, int& nCol, int& nCurRow, int& nCurCol)
          _nBlockFrequency = new int*[_nRow];
          for(int i = 0 ; i < _nRow ; i ++)
          _nBlockFrequency[i] = new int[_nCol];
  • WinSock . . . . 60 matches
         Windows Socket API. Win32 API 에 기본적으로 지원한다.
         일반적인 버클리 소켓 스타일과 Windows 자체 스타일의 비동기소켓 (윈도우 메세지를 이용하는 방법, IOCP) API 를 제공해준다.
         다음은 화일보내고 받기 관련 Winsock API 간단 예제. (옛날 예제삼아 만든 소스여서 직관적이지가 않긴 하군 -_-; 그냥 이해의 차원정도)
         #include <winsock2.h>
         #include <windows.h>
         #include <stdio.h>
         #include <process.h>
         DWORD WINAPI Threading (LPVOID args)
          HANDLE hFileIn;
          int nSended;
          hFileIn = CreateFile ("d:\test.mp3", GENERIC_READ, FILE_SHARE_READ,
          NULL, OPEN_EXISTING, NULL, NULL);
          dwLow = GetFileSize (hFileIn, &dwHigh);
          SetFilePointer (hFileIn, i, NULL, FILE_BEGIN);
          ReadFile (hFileIn, szBuffer, sizeof (szBuffer), &nRead, NULL);
          printf ("Error : %d n", WSAGetLastError ());
          printf ("Current : %d / %d (%d)n", dwLow, i, nSended);
          CloseHandle (hFileIn);
         int main (void)
          sockaddr_in local, from;
  • 새싹교실/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)
  • EightQueenProblem/강석천 . . . . 59 matches
          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))
          self.assertEquals (self.bd.GetFirstCornerInCrossLeftTopToRightBottom (1,5), (0,4))
  • EightQueenProblem/이선우2 . . . . 59 matches
         import java.io.PrintStream;
          public static final char DEFAULT_BOARD_MARK = '.';
          public static final char DEFAULT_QUEEN_MARK = 'Q';
          public static final char DEFAULT_LINE_BREAK = '\n';
          private int size;
          private int [] board;
          private int numberOfAnswers;
          private int hasAnswer;
          private char lineBreak;
          private PrintStream out;
          public NQueen2( int size ) throws Exception
          board = new int[size];
          public int getSize()
          lineBreak = DEFAULT_LINE_BREAK;
          public void setOutputFormat( final char boardMark, final char queenMark, final char lineBreak )
          this.lineBreak = lineBreak;
          public int countAnswers()
          public int countAnswers( final PrintStream out )
          private void setQueenAt( int line )
          if( line == size ) {
  • EightQueenProblem/이선우3 . . . . 59 matches
         == Point.java ==
         public class Point
          private int x;
          private int y;
          public Point() {}
          public Point( int x, int y )
          public int getX()
          public int getY()
          public void setX( int x )
          public void setY( int y )
          public void setPoint( int x, int y )
          public boolean isSamePoint( Point another )
         public abstract class Chessman extends Point
          public Chessman( int x, int y )
         import suwlee.game.nqueen.Point;
          public Queen( int x, int y )
          private int sizeOfBoard;
          public Board( int sizeOfBoard ) throws Exception
          public int getSizeOfBoard()
          public int countChessman()
  • Fmt . . . . 59 matches
         [http://online-judge.uva.es/p/v8/848.html 원문보기]
         === Sample Input ===
          Unix fmt
         The unix fmt program reads lines of text, combining
         and breaking lines so as to create an
         output file with lines as close to without exceeding
         72 characters long as possible. The rules for combining and breaking
         lines are as follows.
          1. A new line may be started anywhere there is a space in the input.
         If a new line is started, there will be no trailing blanks at the
         end of the previous line or at the beginning of the new line.
          2. A line break in the input may be eliminated in the output, provided
         it is not followed by a space or another line break. If a line
         break is eliminated, it is replaced by a space.
          Unix fmt
         The unix fmt program reads lines of text, combining and breaking lines
         so as to create an output file with lines as close to without exceeding
         72 characters long as possible. The rules for combining and breaking
         lines are as follows.
          1. A new line may be started anywhere there is a space in the input.
  • JavaStudy2004/클래스상속 . . . . 59 matches
          이러한 메커니즘을 subclassing이라고부른다.
          예를 들어 Motorcycle클래스와 같이 Car라는 클래스를 만드는 것을 생각하자. Car와 Motorcycle은비슷한 특징들이 있다. 이 둘은 엔진에 의해 움직인다. 또 변속기와 전조등과 속도계를 가지고 있다. 일반적으로 생각하면, Object라는클래스 아래에 Vehicle이라는 클래스를 만들고 엔진이 없는 것과 있는 방식으로 PersonPoweredVehicle과 EnginePoweredVehicle 클래스를 만들 수 있다. 이 EnginePoweredVehicle 클래스는 Motorcycle, Car, Truck등등의 여러 클래스를 가질 수 있다. 그렇다면 make와 color라는 속성은 Vehicle 클래스에 둘 수 있다.
          만일 하위클래스에서 상위클래스의 메소드의 이름과 인자의 타입을 똑같이 가진 메소드를 정의한다고 하면 어떻게 되는가? 이것은 계층적으로 아래에 있는 것이 먼저 실행되게 되어 있다. 이러한 방식으로 임의로 상의클래스의 메소드를 감추고 하위클래스에 필요한 메소드를 정의할 수 있다. 바로 중복(overriding)이라고 부르는 것이다.
         === Point 클래스 ===
         import javax.swing.JOptionPane;
         public class Point {
          private int x;
          private int y;
          public Point() {
          public Point(int aX, int aY) { //생성자 입니다.
          public int getX() {
          public int getY() {
          public void setX(int Ax) {
          public void setY(int Ay) {
          public String getName() {
          return "Point";
          public void Say(String str) {
          public void Say(int temp) {
          String str = Integer.toString(temp);
          public static void main(String[] args) {
  • MineSweeper/문보창 . . . . 59 matches
         // no10189 - Minesweeper(a)
         #include <iostream>
         #include <vector>
         using namespace std;
         const int MAX = 100;
         bool inMine(vector<int> & mine, int & nField, int * size);
         void mineSweep(vector<int> & mine, int & nField, int * size);
         int main()
          vector<int> mine; // 입력을 저장할 벡터
          int size[MAX]; // 행과 열만을 저장할 배열
          int nField = 0; // 지뢰 게임 수
          if(!inMine(mine, nField, size))
          mineSweep(mine, nField, size);
         bool inMine(vector<int> & mine, int & nField, int * size)
          int i, n, m;
          int count = 0;
          while(cin >> n >> m) // 입력
          cin >> temp;
          mine.push_back(1); // * -> 1
          mine.push_back(0); // . -> 0
  • TheGrandDinner/조현태 . . . . 59 matches
         == TheGrandDinner/조현태 ==
         #include <iostream>
         #include <vector>
         #include <algorithm>
         #include <numeric>
         using namespace std;
         #define TRUE 1
         #define FALSE 0
         const char DEBUG_INPUT[] = "4 5\n4 5 3 5\n3 5 2 6 4\n4 5\n4 5 3 5\n3 5 2 6 3\n0 0\n";
          SNumberAndPosition(int inputNumber, int inputPosition)
          number = inputNumber;
          position = inputPosition;
          int number;
          int position;
         char* InputBaseData(char* readData, vector<SNumberAndPosition>& tableSize, vector<SNumberAndPosition>& teamSize)
          int numberOfTable = 0;
          int numberOfTeam = 0;
          int buffer;
          for (register int i = 0; i < numberOfTeam; ++i)
          for (register int i = 0; i < numberOfTable; ++i)
  • 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 이라고 분류하는 듯하다.
  • i++VS++i . . . . 59 matches
          * 사용한 컴파일러 : Microsoft 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86 (Microsoft Visual C++ 6.0 에 Service Pack 5 를 설치했을때의 컴파일러)
         #include <stdio.h>
         void main()
          int i;
          printf("%d", i);
         #include <stdio.h>
         void main()
          int i;
          i++; // 이렇게 하면 차이가 당연히 없지 않을까요? 이럴때는 선행이든 후행이든 증가한뒤에 printf에서 그 변수를 사용했으니..
          printf("%d", i); // 문제가 되는건 함수(i++)또는 함수(++i)이런데에서 문제가 생길거 같은데..
          간단히 생각하면 되는 것이었습니다.. i++ 이나 ++i 모두 값(value)을 생성하는 연산자 입니다. 그러므로.. i 가 5 일때 i++ 의 값은 5이므로.. printf("%d", i) 는 5를 찍어주겠지요.
          inc DWORD PTR _i$[ebp] ; 변수 i 인 _i$[ebp] 를 1 만큼 증가시킴
          inc DWORD PTR _i$[ebp] ; 차이 없음
          inc eax ; eax 를 1 만큼 증가시킴
          inc eax
         #include <stdio.h>
         void main()
          for(int i = 0 ; i < 10 ; ++i)
          printf("%d", i);
         #include <stdio.h>
  • 코드레이스/2007.03.24상섭수생형진 . . . . 59 matches
         #include <iostream>
         using namespace std;
         bool getColor(int sec)
         void main(){
          int sec;
          cin >> sec;
         #include <iostream>
         using namespace std;
         bool getColor(int sec)
         int getSec(int Y, int m, int d, int H, int i, int s)
         void main(){
          int year, month, day, hour, min, sec;
          cin >> year >> month >> day >> hour >> min >> sec;
          sec = getSec(year, month, day, hour, min, sec);
         #include <iostream>
         using namespace std;
         bool getColor(int sec)
         int getSec(int Y, int m, int d, int H, int i, int s)
         void main(){
          int num, year, month, day, hour, min, sec, cnt = 0;
  • JavaScript/2011년스터디/김수경 . . . . 58 matches
          <link rel="stylesheet" type="text/css" href="2011.css" />
          for(var i in score){
          for(var j in score[i]){
          * [http://ejohn.org/blog/simple-javascript-inheritance/ Simple JavaScript Inheritance]
          init: function(isDancing){
          this.dancing = isDancing;
          return this.dancing;
         var Ninja = Person.extend({
          init: function(){
          // Call the inherited version of dance()
          swingSword: function(){
         var n = new Ninja();
         n.swingSword(); // => true
         p instanceof Person && p instanceof Class &&
         n instanceof Ninja && n instanceof Person && n instanceof Class
          * Simple Class Creation and Inheritance
          var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/;
          // The base Class implementation (does nothing)
          // Create a new Class that inherits from this class
          // Instantiate a base class (but only create the instance,
  • RandomWalk2/ClassPrototype . . . . 58 matches
         #include <iostream>
         #include <assert.h>
         using namespace std;
         typedef struct __IntPair {
          int n1;
          int n2;
         } IntPair;
          int m_nMaxCol;
          int m_nMaxRow;
          IntPair m_nRoachPos;
          for (int i=0;i<100;i++) {
          for (int j=0;j<100;j++) {
          int boardArray[100][100];
          void setSize (int nCol, int nRow) {
          void printBoardStatus () {
          for (int i=0;i<m_nMaxRow;i++) {
          for (int j=0;j<m_nMaxCol;j++) {
          int isCheckedAllCells () {return 0; }
          void setRoachPosition(int nRow, int nCol) {
          IntPair getRoachPosition () {
  • XMLStudy_2002/XML+CSS . . . . 58 matches
         <HTML:A href="http://msdn.microsoft.com/xml/xslguide/browsing-css.asp">How to Write a CSS StyleSheet for Browsing XML</HTML:A>
         <?xml version="1.0" encoding="KSC5601"?>
         <DATE TYPE="BEGINNING_DATE">
         <PA>현재의 IE5.0에서는 XLink는 지원하지 않는다. 그런데, 네임스페이스를 이용하여
         XLink에서 제안되는 확장된 개념의 링크를 사용하는 것은 아직은 IE5.0브라우저
         에서는 지원이 되지않기때문에, 현재로서는 여전히 단방향의 end link가 하나로 지정되는 simple link를
         <HTML:A href = "xml_hlink.xml">여기</HTML:A>에 설명되어있다.</PA>
         [1]<HTML:A href="http://msdn.microsoft.com/xml/xslguide/browsing-css.asp ">
         How to Write a CSS Style Sheet for Browsing XML</HTML:A>
         [2]<HTML:A href="http://msdn.microsoft.com/xml/xslguide/browsing-overview.asp">
         Browsing XML Documents in Internet Explorer 5</HTML:A>
         <HTML:A href = "xmllink.xml">여기</HTML:A>에 설명되어있다.</PA>
         <!ATTLIST DATE TYPE (LAST_MODIFIED|BEGINNING_DATE) #REQUIRED>
          margin-top :2em;
          margin-bottom :1em;
          margin-top :0.5em;
          margin-bottom :0em;
          display :inline;
          display :inline;
          display :inline;
  • 3N+1Problem/강희경 . . . . 57 matches
          print aNumber,
         def TreeNPlusOne(aNumber, aMin, aMax, aBinaryMap):
          if(IsInRange(aMin, aMax, aNumber) and aBinaryMap[aNumber-aMin]):
          aBinaryMap[aNumber-aMin] = False
         def InputRange():
          min, max = input('최소, 최대: ')
          while IsCorrectInput(min, max) == False:
          min, max = input('최소, 최대: ')
          return min, max
         def MakeBinaryMap(aMin, aMax):
          rangeOfMap = aMax - aMin + 1
          binaryMap = range(rangeOfMap)
          for i in range(rangeOfMap):
          binaryMap[i] = True
          return binaryMap
         def FindMaxCycleLength(aMin, aMax, aBinaryMap):
          for i in range(aMin, aMax+1):
          if(aBinaryMap[i-aMin]):
          cycleLength = TreeNPlusOne(i, aMin, aMax, aBinaryMap)
         def OutputResult(aMin, aMax, aMaxCycleLength):
  • Bicoloring/문보창 . . . . 57 matches
         // no10004 - Bicoloring
         #include <iostream>
         using namespace std;
         #define RED 1
         #define BLACK 2
         #define MAX_VERTEX 200
         bool input(int edge[][2], int * nVertex, int * nInputLine);
         bool isBicolorale(int edge[][2], int nVertex, int nInputLine);
         bool paintColor(int count, int vertex, int * color);
         int main()
          int nVertex;
          int nInputLine;
          int edge[MAX_VERTEX][2];
          while (input(edge, &nVertex, &nInputLine))
          if (isBicolorale(edge, nVertex, nInputLine))
         bool isBicolorale(int edge[][2], int nVertex, int nInputLine)
          bool check[MAX_VERTEX] = {0,}; // using node = nInputLine
          int color[MAX_VERTEX] = {0,}; // using vertex = nVertex
          int count = 0; // count = vertex number
          for (int i = 0; i < nInputLine; i++)
  • C++스터디_2005여름/학점계산프로그램/허아영 . . . . 57 matches
         #include <fstream>
         #include "const.h"
         #include "student.h"
          void input();//파일입력, 학점으로 전환
         #define STUDENT_H_
         #include "const.h"
          void name_find(); // 이름을 파일에서 받아서 저장.
         #define SUBJECT_NUM 4
         #define STUDENT_NUM 120
         #define SCHOLARSHIP_NUM 12
         #include <iostream>
         using namespace std;
         #include <fstream>
         #include "calculate.h"
         #include "student.h"
         void Calculate::input()
          char grade_input[SUBJECT_NUM][3];
          fstream fin("input.txt");
          for(int student_num = 0; student_num < 120; student_num++)
          fin.getline(temp, 20, ':');
  • Doublets/황재선 . . . . 57 matches
          * Sample Input은 동작하는데 모든 경우에 되는지는 모르겠다.. 채점 사이트가 SE5.0을 지원하면 올려봐야지..
          private List<String> wordList;
          private Stack<String> solutionStack;
          private Stack<String> stack;
          private int minWordCount;
          private int start;
          private int end;
          private int[][] doublet;
          wordList = new ArrayList<String>();
          stack = new Stack<String>();
          solutionStack = new Stack<String>();
          minWordCount = Integer.MAX_VALUE;
          public String readWord() {
          return new Scanner(System.in).useDelimiter("\n").next().trim();
          public boolean isDoublet(String word1, String word2) {
          int differentBitCount = 0;
          public void storeWord(String word) {
          int n = wordList.size();
          doublet = new int[n + 1][n + 1];
          for(int from = 1; from <= n; from++) {
  • OperatingSystemClass/Exam2002_2 . . . . 57 matches
          * 앞에서 완성된 class를 상속받아서 binary semaphore class 를 구현.
          // do something
          Thread.sleep(( (int)(3*Math.random()) )*1000);
          catch (InterruptedException e) { }
          System.out.println("threadA got first mutex");
          // do something
          System.out.println ("threadA got second mutex");
          // do something
          Thread.sleep(( (int)(3*Math.random()) )*1000);
          catch (InterruptedException e) {}
          System.out.println ("threadB got second mutex");
          // do something
          System.out.println ("threadB got first mutex");
          public static void main (String[] args) {
         4. Consider a paging system with the page table stored in memory.
          * If we add associative registers and 75 percent of all page-table references are found in the associative regsters, what is the effective memory time? (Assume that finding a page-table entry in the associative registers takes zero time, if the entry is there)
         5. Consider the following page reference string:
         How many page faults would occur for the following replacement algorithm, assuming one, three, five, seven frames? Remember all frames are initially empty, so your first unique pages will all cost one fault each.
         6. Consider a file currently consisting of 100 blocks. Assume that the file control block(and the index block, in the case of indexed allocation) is already in memory, Calculate how many disk I/O operations are required for contiguous, linked and indexed (single-level) allocation strategies, if for one block, the following conditions hold. In the contiguous allocation case, assume that there is no room to grow in the beginning, but there is room to grow in the end. Assume that the block information to be added in stored in memory.
          * The block is added at the beginning.
  • REFACTORING . . . . 57 matches
         ISBN:0201485672 , [http://www.wowbook.com/generic/book/info/book_detail.asp?isbn=ISBN89-87939-60-X 리팩토링]
         http://www.refactoring.com/catalog/index.html - Refactoring 에 대해 계속 정리되고 있다.
         == Refactoring 이란 무엇인가? ==
          * 기존의 "디자인 후 코딩' 법칙과 반대된다. (TestFirstProgramming 에서 UnitTest - ["Refactoring"] 이 맞물려 돌아간다)
          * Refactoring 을 하기 위해서는 UnitTest code가 필수적이다. 일단 처음 Refactoring에 대한 간단한 원리를 이해하고 싶다면 UnitTest 코드 없이 해도 좋지만, UnitTest code를 작성함으로서 Refactoring 에 대한 효과를 높일 수 있다. (Refactoring 중 본래의 외부기능을 건드리는 실수를 막을 수 있다.)
         == Refactoring 을 함으로써 얻는 이득 ==
         == Refactoring은 언제 하는가? ==
          * 다시 또 뭔가 비슷한 일을 한다. - Refactoring을 할 때이다. Refactoring 하라.
         Three Strike 법칙은 외우기 쉬워서 처음 Refactoring 을 하는 사람들에겐 적당하다. 하지만, 저 법칙은 주로 중복이 일어날 때의 경우이고, Rename Method/Field/Variable 같은 Refactoring 은 지속적으로 해주는 것이 좋다.
         그리고 다음과 같은경우 Refactoring을 함으로써 이득을 얻을 수 있다.
          * Bad Smell 이 날때. - ["Refactoring/BadSmellsInCode"]
         == Refactoring 공부하기 ==
         Refactoring 책을 읽는 사람들을 위해. Preface 의 'Who Should Read This Book?' 을 보면 책을 읽는 방법이 소개 된다.
          * Refactoring이 무엇인지 알고 싶다면 Chapter 1의 예제를 읽어나간다.
          * 왜 Refactoring을 해야 하는지 알고 싶다면 Chapter 1,2를 읽어라.
          * 어떤 부분을 Refactoring 해야 하는지 찾기 원한다면 Chapter 3를 읽어라.
          * 실제로 Refactoring을 하기 원한다면 Chapter 1,2,3,4를 정독하고 RefactoringCatalog 를 대강 훑어본다. RefactoringCatalog는 일종의 reference로 참고하면 된다. Guest Chapter (저자 이외의 다른 사람들이 참여한 부분)도 읽어본다. (특히 Chapter 15)
         그리고 Refactoring 을 이해하는데 ExtremeProgramming 을 이해하면 도움이 될 것이다.
         == Refactoring 관련 토론 ==
         ["RefactoringDiscussion"]
  • 데블스캠프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
  • .bashrc . . . . 56 matches
         shopt -s checkwinsize
          case $TERM in
          case $TERM in
          linux )
         alias r='rlogin'
         alias print='/usr/bin/lp -o nobanner -d $LPDEST' # LPDEST 가 정의되어 있다고 가정
         alias pjet='enscript -h -G -fCourier9 -d $LPDEST' # enscript 로 예쁜 출력하기(Pretty-print)
         export LESSCHARSET='latin1'
         export LESSOPEN='|/usr/bin/lesspipe.sh %s 2>&-' # lesspipe.sh 이 있다면 이걸 쓰세요
         :stdin .?pb%pb\%:?lbLine %lb:?bbByte %bb:-...'
          case $TERM in
         alias make='xtitle Making $(basename $PWD) ; make'
         function ff() { find . -name '*'$1'*' ; } # 파일 찾기
         function fe() { find . -name '*'$1'*' -exec $2 {} \; ; } # 파일을 찾아서 $2 의 인자로 실행
          find . -type f -name "${2:-*}" -print | xargs grep -sin "$1" | \
          nlines=${2:-10}
          sed -n -e :a -e "1,${nlines}!{P;N;D;};N;ba" $1
          case "$filename" in
          for pid in $(my_ps| awk '!/awk/ && $0~pat { print $1 }' pat=${!#} ) ; do
          pname=$(my_ps | awk '$1~var { print $5 }' var=$pid )
  • BeeMaja/허준수 . . . . 56 matches
         #include <iostream>
         using namespace std;
         int x, y;
         void firstStep(int count, int &start, int input)
          if(start == input) break;
         void secondStep(int count, int &start, int input)
          if(start == input) break;
         void thirdStep(int count, int &start, int input)
          if(start == input) break;
         void firthStep(int count, int &start, int input)
          if(start == input) break;
         void fifthStep(int count, int &start, int input)
          if(start == input) break;
         void sixthStep(int count, int &start, int input)
          if(start == input) break;
         void process(int input)
          int count = 0;
          if((3*(count*count + count) + 1) >= input)
          int start = (3*(count*count + count)+1) - 6*count + 1;
          int index = (input-start)/count + 1;
  • CPPStudy_2005_1/STL성적처리_4 . . . . 56 matches
         #include <iostream>
         #include <fstream>
         #include <string>
         #include <vector>
         #include <algorithm>
         #include <numeric>
         using namespace std;
         struct Student_info
          string name;
          vector<int> score;
          int total_score;
         void input_score(vector<Student_info> & students);
         void calculate_total_score(vector<Student_info> & students);
         bool compare(const Student_info& student1, const Student_info& student2);
         void print_students(vector<Student_info> & students);
         int main()
          vector<Student_info> students;
          input_score(students);
          sort(students.begin(),students.end(),compare);
          print_students(students);
  • DirectDraw/Example . . . . 56 matches
         // SimpleDX.cpp : Defines the entry point for the application.
         #include "stdafx.h"
         #include "resource.h"
         #include <ddraw.h>
         #include <ddutil.h>
         #include <dxutil.h>
         #define MAX_LOADSTRING 100
         int x = 100;
         int y = 100;
         HINSTANCE hInst; // current instance
         TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
         TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text
         // Foward declarations of functions included in this code module:
         ATOM MyRegisterClass(HINSTANCE hInstance);
         BOOL InitInstance(HINSTANCE, int);
         LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
         LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM);
         int APIENTRY WinMain(HINSTANCE hInstance,
          HINSTANCE hPrevInstance,
          LPSTR lpCmdLine,
  • Gof/Visitor . . . . 56 matches
         == Intent ==
         [컴파일러]가 abstact syntax tree로 프로그램을 표현한다고 하자. 컴파일러는 모든 변수들이 정의가 되어있는 지를 검사하는 것과 같은 '정적인 의미' 분석을 위해 abstract syntax tree에 대해 operation을 수행할 필요가 있을 것이다. 컴파일러는 또한 code 변환을 할 필요가 있다. 또한 컴파일러는 type-checking, code optimization, flow analysis 와 해당 변수가 이용되기 전 선언되었는지 등의 여부를 검사하기 위해서 해당 operations들을 수행할 필요가 있다. 더 나아가 우리는 pretty-printing, program restructuring, code instrumentation, 그리고 프로그램의 다양한 기준들에 대한 계산을 하기 위해 abstract syntax tree를 이용할 것이다.
         http://zeropage.org/~reset/zb/data/visit006.gif <- [DeadLink]
         이 다이어그램은 Node class 계층구조의 일부분을 보여준다. 여기서의 문제는 다양한 node class들에 있는 이러한 operation들의 분산은 시스템으로 하여금 이해하기 어렵고, 유지하거나 코드를 바꾸기 힘들게 한다. Node 에 type-checking 코드가 pretty-printing code나 flow analysis code들과 섞여 있는 것은 혼란스럽다. 게다가 새로운 operation을 추가하기 위해서는 일반적으로 이 클래스들을 재컴파일해야 한다. 만일 각각의 새 operation이 독립적으로 추가될 수 있고, 이 node class들이 operation들에 대해 독립적이라면 더욱 좋을 것이다.
         예를든다면, visitor를 이용하지 않는 컴파일러는 컴파일러의 abstact syntax tree의 TypeCheck operation을 호출함으로서 type-check 을 수행할 것이다. 각각의 node들은 node들이 가지고 있는 TypeCheck를 호출함으로써 TypeCheck를 구현할 것이다. (앞의 class diagram 참조). 만일 visitor를 이용한다면, TypeCheckingVisior 객체를 만든 뒤, TypeCheckingVisitor 객체를 인자로 넘겨주면서 abstract syntax tree의 Accept operation을 호출할 것이다. 각각의 node들은 visitor를 도로 호출함으로써 Accept를 구현할 것이다 (예를 들어, assignment node의 경우 visitor의 VisitAssignment operation을 호출할 것이고, varible reference는 VisitVaribleReference를 호출할 것이다.) AssignmentNode 클래스의 TypeCheck operation은 이제 TypeCheckingVisitor의 VisitAssignment operation으로 대체될 것이다.
         type-checking 의 기능을 넘어 일반적인 visitor를 만들기 위해서는 abstract syntax tree의 모든 visitor들을 위한 abstract parent class인 NodeVisitor가 필요하다. NodeVisitor는 각 node class들에 있는 operation들을 정의해야 한다. 해당 프로그램의 기준 등을 계산하기 원하는 application은 node class 에 application-specific한 코드를 추가할 필요 없이, 그냥 NodeVisitor에 대한 새로운 subclass를 정의하면 된다. VisitorPattern은 해당 Visitor 와 연관된 부분에서 컴파일된 구문들을 위한 operation들을 캡슐화한다.
         http://zeropage.org/~reset/zb/data/visit113.gif <- [DeadLink]
         http://zeropage.org/~reset/zb/data/visit112.gif <- [DeadLink]
          - declares a Visit operations for each class of ConcreteElement in the object structure. The operation's name and signature identifies the class that sends the Visit request to the visitor. That lets the visitor determine the concrete class of the element being visited. Then the visitor can access the element directly through its particular interface.
          * ConcreteVisitor (TypeCheckingVisitor)
          - implements each operation declared by Visitor. Each operation implements a fragment of the algorithm defined for the corresponding class of object in the structure. ConcreteVisitor provides the context for the algorithm and stores its local state. This state often accumulates result during the traversal of the structure.
          - defines an Accept operation that takes a visitor as an argument.
          - may provide a high-level interface to allow the visitor to visit its elements. [[BR]]
         class PricingVisitor : public EquipmentVisitor {
          PricingVisitor ();
         void PricingVisitor::VisitFloppyDisk (FloppyDisk* e) {
         void PricingVisitor::VisitChassis (Chassis* e) {
         class InventoryVisitoy : public EquipmentVisitor {
          InventoryVisitor ();
          Inventory& GetInventory ();
  • LC-Display/문보창 . . . . 56 matches
         #include <iostream>
         #include <cstdlib>
         #include <cstring>
         using namespace std;
         const int MAX_LINE = 2000; // test case의 수
         const int MAX_ROW = 23;
         const int MAX_COL = 103;
          int size; // 크기
         int inAnaloge(Digit * d);
         void makeDisplay(Digit * d, const int line);
         void showDisplay(char pd[][MAX_COL], int row, int index);
         void toDigital(char pd[][MAX_COL], int row, int col, int index, char c);
         int main()
          Digit digits[MAX_LINE]; // 입력받을 Analoge 숫자
          int line = inAnaloge(digits); // 처리해야 될 줄 수
          makeDisplay(digits, line);
         int inAnaloge(Digit * d)
          int count = 0;
          int size;
          while(cin >> size >> str)
  • LongestNap/문보창 . . . . 56 matches
         #include <iostream>
         #include <algorithm>
         using namespace std;
          int start;
          int end;
         const int MAX = 100;
         const int START_TIME = 10;
         const int END_TIME = 18;
         inline void eatline() { while (cin.get() != '\n' && cin.peek() != EOF) continue; };
         int make_schedule(Promise * pro);
         Promise set_naptime(const Promise * pro, const int & nPromise);
         void show(const Promise & nap, const int & index);
         int main()
          int i = 0;
          while (cin.peek() != EOF)
          int nPromise = make_schedule(promise);
         int make_schedule(Promise * pro)
          int nPromise;
          cin >> nPromise;
          int i;
  • MedusaCppStudy/재동 . . . . 56 matches
         #include <iostream>
         #include <vector>
         #include <ctime>
         #include <stdexcept>
         using namespace std;
         const int DIRECTION_ROW[8] = {-1, -1, 0, 1, 1, 1, 0, -1};
         const int DIRECTION_COL[8] = {0, 1, 1, 1, 0, -1, -1, -1};
          int curRow;
          int curCol;
          int count;
         void showBoard(const vector< vector<int> >& board);
         bool isAllBoard(const vector< vector<int> >& board);
         void moveRoach(vector< vector<int> >& board, sRoach& roach);
         void inputRoachPosition(sRoach& roach, const vector< vector<int> >& board);
         int main()
          int rows, cols;
          cin >> rows >> cols;
          vector< vector<int> > board(rows);
          for(int i = 0; i < rows; i++)
          inputRoachPosition(roach, board);
  • MineSweeper/Leonardong . . . . 56 matches
         class MineGround:
          def __init__(self, aRowSize, aColSize, aInfo ):
          for row in range( aRowSize ):
          for row in range( aRowSize ):
          for col in range( aColSize ):
          self.ground[row][col] = Room( aInfo[row][col] )
          def __init__(self, aKind):
          self.kind = aKind
          return self.kind is aRoom.kind
          def mine(): # static method
          mine = staticmethod( mine )
         class MineSweeper:
          def __init__(self, aGround):
          def computeMineCount( self, aRow, aCol ):
          for d in self.direction:
          if Room.mine().equals(self.ground.getZone( aRow + d[0], aCol + d[1])):
          for row in range( self.ground.rowSize ):
          for col in range ( self.ground.colSize ):
          result[row] = result[row] + str( self.computeMineCount(row, col) )
          rowSize = input()
  • MoreEffectiveC++/Basic . . . . 56 matches
         == Item 1: Distinguish between pointers and references. ==
          * Item 1: Pointer와 Reference구별해라.
          Pointers use the "*" and "->" operators, references use "." [[BR]]
          string& rs; // Reference(참조)가 초기화가 되지 않아서 에러
          string s("xyzzy"); // 이건 된다 신기하네
          string& rs = s;
         아직 string써본적 한번도 없다. 반성..
          void printDouble(const double& rd)
          void printDouble (const double* pd)
          cout << *pd // pd가 null인지 검사 해야 한다. pointer니까.
         pointer의 유의 사항인 null에 관한 내용을 다시 알려준다.
          string s1("Nancy"); // 이제는 무슨 퀴즈 같다.
          string s2("Clancy");
          string& rs = s1;
          string* ps = &s1;
         사견: Call by Value 보다 Call by Reference와 Const의 조합을 선호하자. 저자의 Effective C++에 전반적으로 언급되어 있고, 프로그래밍을 해보니 괜찮은 편이었다. 단 return에서 말썽이 생기는데, 현재 내 생각은 return에 대해서 회의적이다. 그래서 나는 COM식 표현인 in, out 접두어를 사용해서 아예 인자를 넘겨서 관리한다. C++의 경우 return에 의해 객체를 Call by Reference하면 {} 를 벗어나는 셈이 되는데 어디서 파괴되는 것인가. 다 공부가 부족해서야 쩝 --;
          오해의 소지가 있도록 글을 적어 놨군요. in, out 접두어를 이용해서 reference로 넘길 인자들에서는 in에 한하여 reference, out은 pointer로 new, delete로 동적으로 관리하는것을 의도한 말이었습니다. 전에 프로젝트에 이런식의 프로그래밍을 적용 시켰는데, 함수 내부에서 포인터로 사용하는 것보다 in에 해당하는 객체 사용 코딩이 편하더군요. 그리고 말씀하신대로, MEC++ 전반에 지역객체로 생성한 Refernece문제에 관한 언급이 있는데, 이것의 관리가 C++의 가장 큰 벽으로 작용하는 것이 아닐까 생각이 됩니다. OOP 적이려면 반환을 객체로 해야 하는데, 이를 포인터로 넘기는 것은 원칙적으로 객체를 넘긴다고 볼수 없고, 해제 문제가 발생하며, reference로 넘기면 말씀하신데로, 해당 scope가 벗어나면 언어상의 lifetime이 끝난 것이므로 영역에 대한 메모리 접근을 OS에서 막을지도 모릅니다. 단, inline에 한하여는 이야기가 달라집니다. (inline의 코드 교체가 compiler에 의하여 결정되므로 이것도 역시 모호해 집니다.) 아예 COM에서는 OOP에서 벗어 나더라도, 범용적으로 쓰일수 있도록 C스펙의 함수와 같이 in, out 의 접두어와 해당 접두어는 pointer로 하는 규칙을 세워놓았지요. 이 설계가 C#에서 buil-in type의 scalar형에 해당하는 것까지 반영된 것이 인상적이 었습니다.(MS가 초기 .net세미나에서 이 때문에 String 연산 차이가 10~20배 정도 난다고 광고하고 다녔었는데, 지금 생각해 보면 다 부질없는 이야기 같습니다.) -상민
         reinterpret_cast<type>(expression)
          * ''reinterpret_cast<type>(expression)'' 은 차후 다시 읽은뒤 정리한다.
         #define static_cast(TYPE, TEXPR) ((TYPE) (EXPR))
  • 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)
  • OurMajorLangIsCAndCPlusPlus/print/허준수 . . . . 56 matches
         #include <iostream>
         #include <stdarg.h>
         #include <stdio.h>
         #include <stdlib.h>
         #include <cmath>
         using namespace std;
         void print(const char* first,...)
          for(int i = 0; i<strlen(first); i++) {
          int d = va_arg(l, int);
          int decimal, sign;
          for(int j = 0; j<decimal; j++)
          for(int k = j; k<5; k++)
          int itemp = va_arg(l, int);
          int len = strlen(temp);
          int num_underBar = atoi(&first[i]);
          for(int m = 0; m<num_underBar; m++) {
          continue;
          int *i_array = va_arg(l, int*);
          int index = va_arg(l, int);
          for(int x = 0; x<index; x++) {
  • SeminarHowToProgramIt/Pipe/vendingmachine.py . . . . 56 matches
         #vendingmachine.py
         class VendingMachine:
          def __init__(self):
          def putCoin(self, aMoney):
          def verifyCoin(self, aMoney):
          def verifyDispenser(self, aKind):
          return self.dispenser == aKind
         class TestVendingMachine(unittest.TestCase):
          def testPutCoin(self):
          vm = VendingMachine()
          vm.putCoin(10)
          vm = VendingMachine()
          vm.putCoin(100)
          vm = VendingMachine()
          vm.putCoin(90)
          vm = VendingMachine()
          vm.putCoin(500)
          vm = VendingMachine()
          vm.putCoin(500)
         class TestVendingMachineVerification(unittest.TestCase):
  • TFP예제/Omok . . . . 56 matches
          for i in range (0,19):
          for j in range (0,19):
          def testIsExistDolInPosition (self):
          self.assertEquals (self.dolboard.IsExistDolInPosition(1,1),1)
          self.assertEquals (self.dolboard.IsExistDolInPosition(3,6),0)
          def testPrintEmptyBoard (self):
          self.assertEquals (self.dolboard.Print(), '''+++++++++++++++++++
          def testIsExistDolInPosition (self):
          self.assertEquals (self.omok.IsExistDolInPosition (2,2),1)
          self.assertEquals (self.omok.IsExistDolInPosition (0,0),1)
          self.assertEquals (self.omok.IsExistDolInPosition (16,16),0)
          def testFirstDolIsBlackInStart (self):
          def __init__(self):
          for i in range (0,19):
          for j in range (0,19):
          def IsExistDolInPosition (self,x,y):
          def Print (self):
          PrintString = ''
          for i in range (0,19):
          for j in range (0,19):
  • 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;
  • 압축알고리즘/홍선,수민 . . . . 56 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         int max,count;
         int start_Number, end_Number;
         bool ing_Number=false;
         bool test(int index)
          if ( index <max && 48<= (int)buffer[index] && (int)buffer[index] <= 57 ){
          if(ing_Number)
          end_Number= index;
          if(!ing_Number)
          ing_Number=true;
          start_Number = index;
          end_Number= index;
          test(index+1);
          else if(ing_Number)
          ing_Number=false;
          ifstream fin("input_e.txt");
          int i=0,j, number;
          while(fin.get(buffer[i]))
  • AproximateBinaryTree/김상섭 . . . . 55 matches
         #include <iostream>
         #include <string>
         #include <vector>
         #include <algorithm>
         #include <numeric>
         #include <math.h>
         using namespace std;
         typedef struct data * data_pointer;
          string name;
          int value;
          data_pointer left_child, right_child;
         void init(data_pointer dp)
         void createABT(data_pointer dp)
          int left_sum = 0, right_sum= 0, min_index = 0;
          double min_total_weight_sum, temp;
          for(int i = 1; i < dp->nodes.size(); i++)
          min_total_weight_sum = right_sum*sqrt(dp->nodes.size()-1);
          if(temp < min_total_weight_sum)
          min_total_weight_sum = temp;
          min_index = i;
  • AustralianVoting/곽세환 . . . . 55 matches
         #include <iostream>
         using namespace std;
         #include <stdlib.h>
         #include <string.h>
         int main()
          int numberOfCase;
          cin >> numberOfCase;
          int i, tc;
          int numberOfCandidates;
          int votes[1000][20] = {{0}};
          int rank[1000] = {{0}};
          int votesPerCandidates[20] = {{0}};
          cin >> numberOfCandidates;
          cin.get();
          cin.getline(candidates[i], 81);
          int numberOfVoters = 0;
          while (cin.getline(temp, 60) && strcmp(temp, ""))
          bool foundWinner = false;
          int winner;
          int sameVote;
  • Boost/SmartPointer . . . . 55 matches
         #include <boost/smart_ptr.hpp>
         using namespace boost;
         // copyright notice appears in all copies. This software is provided "as is"
         // See http://www.boost.org for most recent version including documentation.
         // 21 May 01 Initial complete version (Beman Dawes)
         // The original code for this example appeared in the shared_ptr documentation.
         // Ray Gallimore pointed out that foo_set was missing a Compare template
         // argument, so would not work as intended. At that point the code was
         // turned into an actual .cpp file so it could be compiled and tested.
         #include <vector>
         #include <set>
         #include <iostream>
         #include <algorithm>
         #include <boost/shared_ptr.hpp>
         // and by ordering relationship (std::set).
          Foo( int _x ) : x(_x) {}
          ~Foo() { std::cout << "Destructing a Foo with x=" << x << "\n"; }
          int x;
         int main()
          foo_set.insert( foo_ptr );
  • BoostLibrary/SmartPointer . . . . 55 matches
         #include <boost/smart_ptr.hpp>
         using namespace boost;
         // copyright notice appears in all copies. This software is provided "as is"
         // See http://www.boost.org for most recent version including documentation.
         // 21 May 01 Initial complete version (Beman Dawes)
         // The original code for this example appeared in the shared_ptr documentation.
         // Ray Gallimore pointed out that foo_set was missing a Compare template
         // argument, so would not work as intended. At that point the code was
         // turned into an actual .cpp file so it could be compiled and tested.
         #include <vector>
         #include <set>
         #include <iostream>
         #include <algorithm>
         #include <boost/shared_ptr.hpp>
         // and by ordering relationship (std::set).
          Foo( int _x ) : x(_x) {}
          ~Foo() { std::cout << "Destructing a Foo with x=" << x << "\n"; }
          int x;
         int main()
          foo_set.insert( foo_ptr );
  • DataStructure/List . . . . 55 matches
          int lalala; // 넣고 싶은 데이터
          int data;
          Node * link;
          * 위와 같이 다음 또는 먼저번 노드를 가르키는 포인터가 하나만 있는 것을 Single Linked List라고 한다.
          * 반면에 둘 다 있는 것을 Double Linked List라 한다.
          * Single Linked List에서는 한 쪽으로만 이동이 가능하기 때문에 멀리 있는 노드를 찾아가는데에 시간이 좀 오래걸린다.
          * 이를 보완하기 위해 나온 것이 Double Linked List이다.
          * Double Linked List에서는 맨 마지막 노드의 다음 노드가 NULL이 아닌 맨 처음 노드를 가르킨다.
          * 결론적으로 Single은 체인모양 Double은 고리모양이 된다.
          * Double Linked List를 사용한 간단한 예(3개의 노드를 예로 듬)
          int lalala;
          private int ndata;
          public Node(int ndata)
          public int getData()
         class MyLinkedList
          private static int nNumber=0;
          public MyLinkedList()
          public void insertNode(int ndata,int nSequence)
          for(int i=0;i<nSequence;i++)
          public boolean deleteNode(int nSequence)
  • Gof/FactoryMethod . . . . 55 matches
         == Intent : 의도 ==
         여러 문서를 사용자에게 보여줄수 있는 어플리케이션에 대한 Framework에 대하여 생각해 보자. 이러한 Framework에서 두가지의 추상화에 대한 요점은, Application과 Document클래스 일것이다. 이 두 클래스다 추상적이고, 클라이언트는 그들의 Application에 알맞게 명세 사항을 구현해야 한다. 예를들어서 Drawing Application을 만들려면 우리는 DrawingApplication 과 DrawingDocument 클래스를 구현해야 한다. Application클래스는 Document 클래스를 관리한다. 그리고 사용자가 Open이나 New를 메뉴에서 선택하였을때 이들을 생성한다.
         A potential disadvantage of factory methods is that clients might have to subclass the Creator class just to create a particular ConcreteProduct object. Subclassing is fine when the client has to subclass the Creator class anyway, but otherwise the client now must deal with another point of evolution.
          병렬 클래스 상속은 클래스가 어떠한 문제의 책임에 관해서 다른 클래스로 분리하고, 책임을 위임하는 결과를 초례한다. 조정할수 있는 그림 도형(graphical figures)들에 관해서 생각해 보자.;그것은 마우스에 의하여 뻗을수 있고, 옮겨지고, 회정도 한다. 그러한 상호작용에 대한 구현은 언제나 쉬운것만은 아니다. 그것은 자주 늘어나는 해당 도형의 상태 정보의 보관과 업데이트를 요구한다. 그래서 이런 정보는 상호 작용하는, 객체에다가 보관 할수만은 없다. 게다가 서로다른 객체의 경우 서로다른 상태의 정보를 보관해야 할텐데 말이다. 예를들자면, text 모양이 바뀌면 그것의 공백을 변화시키지만, Line 모양을 늘릴때는 끝점의 이동으로 모양을 바꿀수 있다.
          if (id == MINE) return new MyProduct;
          if (id == MINE) return new YourProduct;
          DeleteMe 모호)마지막 부분에서 부모 클래스의 인자를 수행하는 것을 주목해라. MyCreator::Create는 오직 YOURS, MINE, THEIRS를 잡을수 있고, 부모클래스는 잡지 못한다. 다른 클래스는 이를 수행하지 못한다. 그러므로, MyCreator는 생성된 product의 한 종류를 확장하고, 그것은 생성에 대한 책임을 연기한다. 하지만, product가 그것의 부모인것은 적다.
         MyCreator::Create handles only YOURS, MINE, and THEIRS differently than the parent class. It isn't interested in other classes. Hence MyCreator extends the kinds of products created, and it defers responsibility for creating all but a few products to its parent.
         You can avoid this by being careful to access products solely through accessor operations that create the product on demand. Instead of creating the concrete product in the constructor, the constructor merely initializes it to 0. The accessor returns the product. But first it checks to make sure the product exists, and if it doesn't, the accessor creates it. This technique is sometimes called lazy initialization. The following code shows a typical implementation:
          4. Using templates to avoid subclassing. As we've mentioned, another potential problem with factory methods is that they might force you to subclass just to create the appropriate Product objects. Another way to get around this in C++ is to provide a template subclass of Creator that's parameterized by the Product
         With this template, the client supplies just the product class?no subclassing of Creator is required.
          5. Naming conventions. It's good practice to use naming conventions that make it clear you're using factory methods. For example, the MacApp Macintosh application framework [App89] always declares the abstract operation that defines the factory method as Class* DoMakeClass(), where Class is the Product class.
         The function CreateMaze (page 84) builds and returns a maze. One problem with this function is that it hard-codes the classes of maze, rooms, doors, and walls. We'll introduce factory methods to let subclasses choose these components.
         First we'll define factory methods in MazeGame for creating the maze, room, wall, and door objects:
          virtual Room* MakeRoom(int n) const
         Each factory method returns a maze component of a given type. MazeGame provides default implementations that return the simplest kinds of maze, rooms, walls, and doors.
         Different games can subclass MazeGame to specialize parts of the maze. MazeGame subclasses can redefine some or all of the factory methods to specify variations in products. For example, a BombedMazeGame can redefine the Room and Wall products to return the bombed varieties:
          virtual Room* MakeRoom(int n) const
         An EnchantedMazeGame variant might be defined like this:
          virtual Room* MakeRoom(int n) const
  • 권영기/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()
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/서민관 . . . . 55 matches
         #include <iostream>
         #include "zergling.h"
         int main(void)
          //zergling** z = NULL;
          //z[0] = createZergling();
          //z[1] = createZergling();
          zergling* z1 = createZergling(1);
          zergling* z2 = createZergling(2);
         == zergling.cpp ==
         #include <iostream>
         #include "zergling.h"
         #include <time.h>
         using namespace std;
         zergling* createZergling(int num)
          zergling* z1 = (zergling*)malloc(sizeof(zergling));
         void attack(zergling* z1, zergling* z2)
         void fight(zergling* z1, zergling* z2)
         void fightwith(zergling* z1, zergling* z2)
         void new_fightwith(zergling* z1, zergling* z2)
          int which = rand() % 2;
  • 새싹C스터디2005/pointer . . . . 55 matches
         int a = 1;
         int b = 2;
         int* c;
         int* d;
         #include <stdio.h>
         void Swap(int* aX, int* aY);
         int main()
          int x = 1;
          int y = 2;
          printf("x = %d\ny = %d\n이 변수의 값을 교환합니다.\n", x, y);
          printf("x = %d\ny = %d\n", x, y);
         void Swap(int* aX, int* aY){
          int temp;
         #include <stdio.h>
         void Swap(int aX, int aY);
         int main()
          int x = 1;
          int y = 2;
          printf("x = %d\ny = %d\n이 변수의 값을 교환합니다.\n", x, y);
          printf("x = %d\ny = %d\n", x, y);
  • 새싹교실/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)
  • 알고리즘8주숙제/문보창 . . . . 55 matches
         #include <iostream>
         using namespace std;
         #include <algorithm>
         #include <fstream>
         #include <string>
         #include <vector>
         #include <cmath>
         ifstream fin("test.txt");
          string data;
          int p;
          string data;
          int p;
          int level;
         vector <Data*> indata;
         int sum;
         void input()
          int number;
          fin >> number;
          string data;
          int p;
  • 압축알고리즘/슬이,진영 . . . . 55 matches
         #include <iostream>
         #include <string>
         #include <cstdlib>
         using namespace std;
         void main()
          char input[20];
          cin >> input;
          int count=0;
          int output=0;
          char first = input[0];
          int index = 0;
          int temp =0;
          while(input[index]!=NULL)
          if(input[index]==first){
          cout << (int)(input[index] - first);
          index++;
          char input2[20];
          cin >> input2;
          char firch = input2[0];
          index = 1;
  • 진법바꾸기/김영록 . . . . 55 matches
         #include <stdio.h>
         static int input_10,input_num;
         int get_maxjarisu(int num1,int num2);
         int get_jegob(int num,int count);
         void behavior(int num1,int num2);
         int get_count(int num1,int num2,int num3);
         int get_maxjarisu(int num1,int num2)// num1 = 숫자 num2 = 진법
         int count=1;
         int dividing;
          dividing = get_jegob(num2,count);
          if (num1>=dividing){
         int get_count(int num1,int num2,int num3) //num1 = 숫자 ,num2 = 진법,num3 = 자리수
          int temp;
         int get_jegob(int num,int count) //num =제곱할수 num2 =제곱할횟수
          int i;
          int sum=1;
         void behavior(int num1,int num2) //num1 = 숫자 ,num2 = 나눌수
          int i;
          int temp=0;
          printf("%d ",temp);
  • ACM_ICPC/2012년스터디 . . . . 54 matches
          * 문제를 지정해서, 풀어오고, 분석. (Programming Challenges와 더블릿 홈페이지 사용)
          * Programming Challenge에서 알고리즘 당 두문제 정도 풀기.
          * Programming Challenge 문제에 더욱 높은 우선순위를 둠. - [http://uva.onlinejudge.org/]
          * Doublets - [http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=31&page=show_problem&problem=1091]
          * Where's Waldorf - [http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=31&page=show_problem&problem=951]
          * Doublets - [http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=31&page=show_problem&problem=1091] //화요일까지 풀지 못하면 소스 분석이라도 해서..
          * A Multiplication Game - [http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=33&page=show_problem&problem=788]
          * Shoemaker's Problem - [http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=32&page=show_problem&problem=967]
          * Binary Indexed Tree
          * [IndexedTree/권영기]
          * Binary Indexed Tree
          * Programming Challenges에서 기하 파트 맘에 드는 문제 하나 풀어오기.
         링크드리스트 (Linked List)
          - Binary Heap
          - Binomial Heap
          - (Binary) Indexed Tree (이건 알아둬야 합니다. 실제로 Binary Indexed Tree는 Binomial에 가깝지만..)
          - Interval Tree (이것 또한 Indexed Tree가 이녀석의 역할을 대신할정도로 만능이지만.)
          - Minimum Cut (최소 절단 문제)
          - 최대 이분매칭 (Bipartite Maximum Matching)
          - Gale-Shapely Matching
  • AustralianVoting/문보창 . . . . 54 matches
         // no10142 - Australian Voting
         #include <iostream>
         #include <string>
         using namespace std;
         bool elect(const char can[][81], const int & nCan, const int bal[][20], const int & nBal, string & win);
         int main()
          int nCase;
          cin >> nCase;
          cin.get();
          cin.get();
          int nCandidate;
          int ballot[1000][20];
          string winner;
          int i, j;
          cin >> nCandidate;
          cin.get();
          cin.getline(candidate[j], 81, '\n');
          int nBallot = 0;
          cin >> ballot[nBallot][j];
          cin.get();
  • CPP_Study_2005_1/BasicBusSimulation/남상협 . . . . 54 matches
         #include <fstream>
         #include <vector>
         #include <iostream>
         #include "BusSimulation.h"
         using namespace std;
         void main()
          ifstream fin("data.txt");
          BusSimulation busSimulation(fin);
          busSimulation.readTimeInput(cin,cout);
          busSimulation.printResult(cout);
         #define _BUS_SIMULATION_H_
         #include <iostream>
         #include <vector>
         #include <fstream>
         #include "Bus.h"
         using namespace std;
          ifstream &m_fin;
          BusSimulation(ifstream &fin) : m_fin(fin) {}
          istream& readTimeInput(istream &in, ostream &out);
          void increaseTime(int time);
  • DebuggingSeminar_2005/AutoExp.dat . . . . 54 matches
         = step into ? -_-;; =
         ; AutoExp.Dat - templates for automaticially expanding data
         ; While debugging, Data Tips and items in the Watch and Variable
         ; windows are automatically expanded to show their most important
         ; in this file. You can add rules for your types or change the
         ; predefined rules.
         ; For good examples, read the rules in this file.
         ; To find what the debugger considers the type of a variable to
         ; be, add it to the Watch window and look at the Type column.
         ; An AutoExpand rule is a line with the name of a type, an equals
         ; sign, and text with replaceable parts in angle brackets. The
         ; part in angle brackets names a member of the type and an
         ; AutoExpand rules use the following syntax. The equals sign (=),
         ; brackets ([]) indicate optional items.
         ; format Watch format specifier. One of the following:
         ; d,i Signed decimal integer 0xF000F065,d -268373915
         ; u Unsigned decimal integer 0x0065,u 101
         ; o Unsigned octal integer 0xF065,o 0170145
         ; x,X Hexadecimal integer 61541,X 0X0000F065
         ; f Signed floating-point 3./2.,f 1.500000
  • NSIS . . . . 54 matches
         === Opening Statement ===
         보통 프로그램을 개발하고 나서 '만들었다' 로 끝나는 경우가 많다. 하지만, 정작 배포때에는 할일이 많다. 특히 제어판 프로그램 등록/삭제 에 등록되는 방식이라던지, 레지스트리를 건드린다던지, Program Files 폴더에 복사한다던지. 이 경우에는 보통 전용 Installer 프로그램을 쓰게 되지만, 아직 제대로 써본 적이 없었던 것 같다.
          * http://forums.winamp.com/forumdisplay.php?forumid=65 - nsis discussion
          * 하나의 Install 화일 생성. 완료. (뿌리자~ -_-v)
         NSIS installer들은 'MakeNSIS' 프로그램에 의해서 NSI script (.NSI) 를 컴파일함으로서 만들어진다.
         Makensis [/Vx] [/Olog] [/LICENSE] [/PAUSE] [/NOCONFIG] [/CMDHELP [command]] [/HDRINFO] [/CD] [/Ddefine[=value] ...]
          2 : warnings and errors
          3 : info, warnings, and errors
          * /PAUSE - Makensis 가 종료되기 전 중간에 일시정지해준다. 이는 Windows 에서 직접 실행할 때 유용하다.
          * 표현하고자하는 string 에 공백이 있으면 따옴표를 이용한다.
          MessageBox MB_OK "I'll be happy" ; this one puts a ' inside a string
          MessageBox MB_OK 'And he said to me "Hi there!"' ; this one puts a " inside a string
          MessageBox MB_OK `And he said to me "I'll be fucked!"` ; this one puts both ' and "s inside a string:
          "$INSTDIR\source\zip2exe\zip2exe.dsw"
          "Remove all files in your NSIS directory? (If you have anything \
         NSIS 의 windows installer 버전을 설치하면 NSIS.CHM 화일이 같이 있다.
         http://nsis.sourceforge.net/archive/nsisweb.php?page=111&instances=0,11
         http://nsis.sourceforge.net/archive/nsisweb.php?page=633&instances=0,110
         ;move system addtinoal dlls to system folder
         Rename "$INSTDIR\MSVCP60.dll" "$SYSDIR\MSVCP60.dll"
  • NotToolsButConcepts . . . . 54 matches
         [임인택]이 위키 항해를 하던중 xper seminar wiki에서 다음과 같은 글을 보았다.
         > I wanna start learning some real programming language (I know now only
         > Visual Basic , but i don't find it interesting, sorry for the vb
         > programmers, but this is my opinion).
         > And I was reading some docs, which were talking about lots of programming
         > don't know if this language is well-accepted in the market and if having
         As for the job market, Python isn't among the buzzwords that you'll find in
         about particular technologies, the important part is learning concepts. If
         you learn Python, you won't be able to avoid learning (at least):
         - Object Oriented Programming (OOP)
         - Procedural Programming
         There's a lot more concepts that you can learn while using Python, as you
         - Functional Programming
         - Dividing software into components
         > I am only 17 and I'm only making plans, so if you have any suggestions
         Learn concepts, not tools. At least in the long run, this will make you
         more attractive to employers who have a clue about what's important in the
         software industry.
         - Team work: dividing up tasks. Defining the interfaces up front to avoid
          blocking other team members who wait for you. Using a source code control
  • 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 문제를 푸는 일을 했다.
  • PerformanceTest . . . . 54 matches
         Windows 에서의 수행시간측정 방법.
          BOOL QueryPerformanceFrequency(LARGE_INTEGER* param)
          BOOL QueryPerformanceCounter(LARGE_INTEGER* param)
         상기 두 Windows API함수를 사용해서 수행 시간을 측정 할 수 있습니다.
         다음은 Binary Search 의 퍼포먼스 측정관련 예제. CTimeEstimate 클래스를 만들어 씁니다.
          #include <windows.h>
          #include <time.h>
          #include <stdio.h>
          __int64 m_nStart, m_nEnd, m_nFreq;
          QueryPerformanceFrequency((LARGE_INTEGER*)&m_nFreq);
          QueryPerformanceCounter((LARGE_INTEGER*)&m_nStart);
          QueryPerformanceCounter((LARGE_INTEGER*)&m_nEnd);
          void Init (int S[]);
          int getRandNum (int nBoundary);
          int BinarySearch (int nBoundary, int S[], int nKey);
          int main (void)
          int S[30001];
          int i, nRandNum, nLocation;
          int nBoundary = 2000;
          Init (S);
  • ShellSort/문보창 . . . . 54 matches
         #include <iostream>
         #include <cstring>
         using namespace std;
         const int MAX_NAME = 81;
         const int MAX_TURTLE = 200;
         void input_turtle(char turt[][MAX_NAME], const int & nTurt);
         void move_turtle(const int * code, const int & nTurt, bool * isMove);
         void incoding(const char oldTurt[][MAX_NAME], const char newTurt[][MAX_NAME], const int & nTurt, int * code);
         void print_turtle(const char turt[][MAX_NAME], const int * code, const bool * isMove, const int & nTurt);
         inline void show_turtle(const char turt[]) { cout << turt << endl; };
         int main()
          int incode[MAX_TURTLE];
          int nCase, nTurt;
          cin >> nCase;
          int i;
          cin >> nTurt;
          cin.get();
          input_turtle(oldTurt, nTurt);
          input_turtle(newTurt, nTurt);
          incoding(oldTurt, newTurt, nTurt, incode);
  • SpiralArray/영동 . . . . 54 matches
         #include<iostream>
         using namespace std;
         const int RIGHT=0;
         const int DOWN=1;
         const int LEFT=2;
         const int UP=3;
         const int DIRECTION=4;//이동 가능한 총 방향수
         const int MOVE_X[DIRECTION]={1, 0, -1, 0};
         const int MOVE_Y[DIRECTION]={0, 1, 0, -1};
         const int MAX_X=5;
         const int MAX_Y=5;
          int currentX;//현재 x좌표
          int currentY;//현재 y좌표
          int currentDirection;//현재 이동 방향
          Mover(int startingX, int startingY)
          currentX=startingX;
          currentY=startingY;
         void showBoard(int aBoard[][MAX_X]);//배열을 보여준다
         void setEmptyBoard(int aBoard[][MAX_X]);//배열 초기화
         int setStartingX();//시작 위치 설정: x
  • StacksOfFlapjacks/문보창 . . . . 54 matches
         #include <iostream>
         using namespace std;
         #define SWAP(x, y, t) ((t) = (x), (x) = (y), (y) = (t))
         #define MAX_SIZE 30
         int input_stack(int * s, int * sort_s);
         void show_stack(int * s, int size);
         void sort_stack(int * s, int size);
         void flip_cake(int * s, int * sort_s, int size);
         void flip(int * s, int size);
         int main()
          int stack[MAX_SIZE];
          int sortStack[MAX_SIZE];
          int sizeStack;
          sizeStack = input_stack(stack, sortStack);
         void flip_cake(int * s, int * sort_s, int size)
          for (int i = size - 1; i >= 0; i--)
          for (int j = 1; j < i; j++)
         void flip(int * s, int size)
          int temp;
          for (int i = 0; i <= size/2; i++)
  • 김재현 . . . . 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()
  • Calendar환희코드 . . . . 53 matches
         #include <stdio.h>
         #include "랄랄라랄라랄랄.h"
         int main(void){
          int numberofDay, year, month;
          printf("원하시는 년도를 입력해주세요 : ");
          printf("1월 1일의 요일을 적어주세요(일요일:0 ~ 토요일 : 6) : ");
          printf("다시 입력하세요 : ");
          printf("\n");
         #include <stdio.h>
         int 윤달계산(int year);
         int 달력형식(int nameofDay, int year, int month);
         int 달력출력(int 몇요일, int 몇년, int 몇월);
         int 몇요일로시작할까(int 요일, int 년도, int 월);
         #include "랄랄라랄라랄랄.h"
         int 윤달계산(int year){
         int 달력형식(int nameofDay, int year, int month){
          printf(" %d월, %d\n", month, year);
          printf("---------------------------------------------------\n");
          printf("Sun Mon Tue Wed Thu Fri Sat\n");
          printf("\t");
  • Chopsticks/문보창 . . . . 53 matches
         {{| D[a][n-3a+2 ~ (k+9-a)*2] = (L(i) - L(i-1))^2 + min<sub>i+2<=k</sub>{ D[a-1][k] } |}}
         {{| min<sub>i+2<=k</sub>{ D[a-1][k] } |}}은 앞의 계산 결과를 이용하여 O(1) 시간만에 계산 할 수 있고, a 는 K + 8 번 있으므로 O(kn) 복잡도가 걸린다.
         #include <iostream>
         using namespace std;
         #define MAX_NUM 1000000000
         #define MAX_STICK 5003
         static int nPerson, nStick; // 손님수, 젓가락 수
         static int stick[MAX_STICK+1]; // 젓가락
         static int d[2][MAX_STICK+1]; // 다이나믹 테이블
         inline int calcDegree(int i)
          int x = stick[i] - stick[i-1];
         inline int findMin(int k, int x, int n)
          int min = d[k][x];
          for (int i = x + 1; i <= n; i++)
          if (min > d[k][i])
          min = d[k][i];
          return min;
         void input()
          cin >> nPerson >> nStick;
          for (int i = 1; i <= nStick; i++)
  • CodeRace/20060105/아영보창 . . . . 53 matches
         #include <iostream>
         using namespace std;
         #include <fstream>
         #include <string>
         #include <vector>
         #include <algorithm>
          string data;
          int count;
          int asciiSum;
         fstream fin("Alice.txt");
         vector<Word*> container;
         void input()
          bool isFind;
          while(fin >> word->data)
          isFind = false;
          for (int i = 0; i < container.size(); i++)
          if (container[i]->data == word->data)
          isFind = true;
          container[i]->count++;
          if (isFind == false)
  • JTDStudy/첫번째과제/상욱 . . . . 53 matches
         import javax.swing.JOptionPane;
          private String resultNumber;
          private String userNumber;
          public static void main(String[] args) {
          // input number from user
          inputNumber();
          public String inputNumber() {
          return userNumber = JOptionPane.showInputDialog(null, "Enter number what you think");
          String fstNum, secNum, trdNum;
          public String checkScore() {
          int numOfStrike = 0;
          int numOfBall = 0;
          for (int i = 0 ; i < 3 ; i++) {
          for (int j = 0 ; j < 3 ; j++) {
          public void setResultNumber(String resultNumber) {
          public String getUserNumber() {
          public String getResultNumber() {
          public void testInputNumber() {
          String testString = object.inputNumber();
          if (testString.charAt(0) == '1' &&
  • Linux . . . . 53 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 :-(.
         리눅스는 현재 컴퓨터의 커다란 흐름중의 하나이다. FSF에 의해서 지원을 받는 핵심적인 운영체제로 현재 기능적, 보안적 측면이 기존의 [Unix] 시스템에 버금갈 정도 발전하였고 [GNU]의 사상하에 만들어진 [GPL]을 따르기 때문에 무료로 사용이 가능하여 서버 운영체제로 많은 인기를 누리고 있다. 본디 리눅스라는 하는 것은 운영체제의 [Kernel] 명칭이며, 주로 접하게 되는 패키지 형태로 이루어진 배포판의 전체 구성을 리눅스라고 여기는 경우가 있으나 이는 리눅스의 광의적 정의라고 생각하면 될듯 싶다.
         리눅스와 비슷한 운영체제로는 정통적인 유닉스 클론 이라고 평가받는 [: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/필수명령어]
  • SmithNumbers/이도현 . . . . 53 matches
         #include <stdio.h>
         #include <string.h>
         #define ArSize 30
         int digit_separation(int, int, int*);
         void prime_factor(int, int*);
         int prime(int); /* 소수 : 200, 소수 아님 : 100 */
         int arr_add(int*);
         int main(void)
          int arr_separation[ArSize] = { 0 }, arr_prime[ArSize] = { 0 };
          int arr_separation_prime[ArSize] = { 0 };
          int input_number, input_case, i, j, k;
          scanf("%d", &input_number);
          for (i = 0; i < input_number; i++)
          scanf("%d", &input_case);
          for (j = input_case + 1; j < 1000000000; j++)
          printf("%dn", j);
         int digit_separation(int start_index, int num, int *array)
          char string[ArSize];
          int i, size;
          // int형 num를 10진 정수형식으로 char형 string배열에 저장
  • 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])
  • WorldCupNoise/권순의 . . . . 53 matches
         ||Problem||1953||User||finchpark||
         #include <iostream>
         using namespace std;
         int trumpet(int num);
         int main()
          int getLineNum = 0;
          int getPatternNum = 0;
          int *scenario;
          cin >> getLineNum;
          scenario = (int*)malloc(sizeof(int) * getLineNum);
          for(int i = 0; i < getLineNum; i++)
          cin >> getPatternNum;
          for(int i = 0; i < getLineNum; i++)
         int trumpet(int num)
          int temp = 0;
          int result_1 = 2;
          int result_2 = 3;
          for(int i = 2; i < num; i++) {
         #include <iostream>
         using namespace std;
  • 압축알고리즘/정욱&자겸 . . . . 53 matches
         #include <iostream>
         using namespace std;
         int main(){
          int i=1;
          int num, count=1;
          cin >> zip;
         #include <iostream>
         #include <cstdlib>
         using namespace std;
         int main(){
          int i = 0, j = 0;
          cin >> zip;
          int num = strlen(zip);
          if (int(temp) >= 48 && int(temp) <= 57) dig[j++] = temp;
          for (int k = 0; k < atoi(dig); k++){
         #include <iostream>
         using namespace std;
         int main(){
          int i = 1, j = 0;
          int temp;
  • 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 링크]
  • AdventuresInMoving:PartIV/문보창 . . . . 52 matches
         // 10201 - Adventures in Moving: Part IV
         #include <iostream>
         using namespace std;
         //#include <fstream>
         //fstream cin("in.txt");
         #define MAX_OIL 200
         #define MAX_SIZE 101
         #define MAX_NUM 1000000000
          int length;
          int price;
         static int totalLength; /* 워털루에서 대도시까지의 거리 */
         static int numStation; /* 주유소 수 */
         static int d[2][MAX_OIL+1]; /* 다이나믹 테이블 */
         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;
  • AustralianVoting/Leonardong . . . . 52 matches
         #include <iostream>
         #include <vector>
         using namespace std;
         #define IntVector vector<int>
         #define CandidatorVector vector<Candidator>
         #define VoteSheetVector vector<VoteSheet>
          int votedCount;
          IntVector candidateNum;
         bool isWin( const Candidator & candidator, int n )
         int current( const VoteSheet & sheet )
         int pop_front( VoteSheet & sheet )
          return *sheet.candidateNum.erase( sheet.candidateNum.begin() );
         void collectVoting( CandidatorVector & candidators, const VoteSheetVector & sheets )
          for ( int i = 0 ; i < sheets.size() ; i++ )
         void markFall( CandidatorVector & candidators, const int limit )
          for ( int i = 0 ; i < candidators.size() ; i++ )
         int minVotedNum( const CandidatorVector & candidators )
          int result = INT_MAX;
          for ( int i = 0 ; i < candidators.size() ; i++ )
         bool isUnionWin( const CandidatorVector & candidators )
  • ErdosNumbers/임인택 . . . . 52 matches
         # -*- coding: UTF-8 -*-
          lines = []
          line = f.readline()
          while line!='' :
          lines.append(line)
          line = f.readline()
          return lines
         def extractInfo(lines):
          sNum = int(lines[idx])
          sInfo = lines[idx].split()
          nPaper = int(sInfo[0])
          nPerson = int(sInfo[1])
          for i in range(0, len(names)):
          lines = readFile(fileName)
          sNum, nPaper, nPerson = extractInfo(lines)
          for i in range(2, 2+nPaper):
          names = extractNames(lines[i])
          minErdosNum = -1
          for name in names:
          if allNames.has_key(name) and (minErdosNum == -1 or minErdosNum>allNames[name]) :
  • 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 ||
  • PrimaryArithmetic/sun . . . . 52 matches
         지금 생각해보면 {{{~cpp testNoNumber}}}는 필요없는것 같다. 나중에 글을 쓰다보니, 같이 쓰게 됬는데 원래는 위의 테스트를 먼저 작성하고 테스트 통과후 아래쪽 테스트를 추가했다. 이번 작업과 별도로 '''코딩후에 뭔가하자'''는 결국 놓치는게 많다는걸 다시한번 증명하게 된다. :) ''see [http://jania.pe.kr/wiki/jwiki/moin.cgi/NowOrNever NowOrNever]''
          private int number;
          private int numPointer;
          public NumberGenerator( int number ) {
          init();
          private void init() {
          numbers = String.valueOf(number).getBytes();
          numPointer = numbers.length - 1;
          return numPointer >= 0;
          public int next() {
          return numbers[numPointer--] - '0';
          int [][] sets = {
          for( int i=0; i<sets.length; i++ ) {
          int expected = sets[i][0];
          int num1 = sets[i][1];
          int num2 = sets[i][2];
          private void verify(int expected, int num1, int num2) {
          int result = PrimaryArithmetic.add(num1, num2);
          public static int add( int num1, int num2 ) {
          NumberGenerator ng2 = new NumberGenerator( Math.min(num1, num2) );
  • RandomWalk/임민수 . . . . 52 matches
         #include <iostream>
         using namespace std;
         #include <ctime>
         int const arsize = 11;
         void main()
          int num,x,y,cnt=0,total=0,end=1,temp;
          cin >> num;
          int square[arsize][arsize] ={0,};
          cin >> x;
          cin >> y;
          for (int i = 0 ; i<num ; i++)
          for (int j=0 ; j<num ; j++)
         #include <iostream>
         using namespace std;
         #include"Board.h"
         #include"Bug.h"
          for (int i = 0; i < MAX_BOARD ; i++)
          for (int j = 0; j < MAX_BOARD ; j++)
          for (int i = 0; i < MAX_BOARD ; i++)
          for (int j = 0; j < MAX_BOARD ; j++)
  • 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))
  • Slurpys/신재동 . . . . 52 matches
          def isSlump(self, string):
          if((len(string) == 0) or\
          (string[0] != 'D' and string[0] != 'E') or\
          (string[1] != 'F') or\
          (string[len(string) - 1] != 'G')):
          for i in range(2, len(string)):
          if(string[i] == 'F'):
          continue
          elif(string[i] == 'G'):
          return self.isSlump(string[i:])
          def isSlimp(self, string):
          if(len(string) == 0 or string[0] != 'A'):
          if(len(string) == 2 and string == 'AH'):
          elif(len(string) > 2):
          if(string[1] == 'B' and string[len(string) - 1] == 'C'):
          return self.isSlimp(string[2:len(string)-1])
          elif(string[len(string) - 1] == 'C'):
          return self.isSlump(string[1:len(string)-1])
          def isSlurpy(self, string):
          if(len(string.split('C')) == 1):
  • 데블스캠프2011/둘째날/Machine-Learning/SVM/namsangboy . . . . 52 matches
          * SVM Train 파일 생성하기
         #-*-coding:utf8-*-
         def readtrain():
          path1 = "/home/newmoni/workspace/svm/package/train/economy/index.economy.db"
          path2 = "/home/newmoni/workspace/svm/package/train/politics/index.politics.db"
          makedir = lambda i : "/home/newmoni/workspace/svm/package/train/"+i+"/index."+i+".db"
          for eachclass in classlist:
          for line in doclist:
          for word in line.split(" "):
          for word in document.replace("\n"," ").split(" "):
         if __name__=="__main__":
          classfreqdic, wordfreqdic, prob1, classprob1, classprob2 = readtrain()
          for eachclass in classlist:
          for line in doclist:
          totalprob = classifydocument(line)
          print eachclass, totalprob
          print correctct,totalct, correctct/float(totalct)
         #-*-coding:utf8-*-
         if __name__=="__main__":
          classfreqdic, wordfreqdic, prob1, classprob1, classprob2 = readtrain()
  • 2학기파이선스터디/클라이언트 . . . . 51 matches
          * Login : 현재 채팅에 사용중인 ID와 사용하고자 하는 ID를 비교하여, 채팅 참가 허가 유무를 확인한다.
          * ChatMain? : 채팅의 주 인터페이스를 관리하는 클래스이다. 이 클래스에서 대부분의 GUI를 관리하고, 채팅메세지보여준다. 또한 채팅에 접속한 사람들의 ID를 보여준다.
          * ReceiveMessage? : 서버로부터 전달되는 메시지를 받아서 ChatMain? 클래스의 메시지 출력 화면에 보여주는 역할을 한다.
          * UserList? : ChatMain? 클래스의 사용자 List에 접속한 사용자 ID를 보여주는 기능을 한다.
         from Tkinter import *
         class Main:
          def __init__(self, master):
          for i in range(400):#test scrollbar
          self.show.insert(END, str(i))
          for i in range(400):#test scrollbar
          self.list.insert(END, str(i))
         #for input a string(?)
          print self.edit.get()
          def __init__(self, aID):
          self.isinEntry = True
         if __name__ == "__main__":
          login = tkSimpleDialog
         ## login.Place.place_configure( root, x = 100, y = 100) #position
         ## csock = socket(AF_INET, SOCK_STREAM)
          ID = login.askstring(title = "Login", prompt="Enter ID", parent = root)
  • AcceleratedC++/Chapter5 . . . . 51 matches
         = Chapter 5 Using sequential containers and analyzing strings =
          * 여태까지 vector랑 string 갖고 잘 놀았다. 이제 이것들을 넘어서는 것을 살펴볼 것이다. 그러면서 라이브러리 사용법에 대해 더 깊게 이해하게 될것이다. 라이브러리는 자료구조?함수만을 제공해주는 것이 아니다. 튼튼한 아키텍쳐도 반영해준다. 마치 vector의 사용법을 알게 되면, 다른것도 쉽게 배울수 있는것처럼...
          == 5.1 Separating students into categories ==
         bool fgrade(const Student_info& s)
         vector<Student_info> extract_fails(vector<Student_info>& students)
          vector<Student_info> pass, fail;
          for(vector<Student_info>::size_type i = 0; i != students.size() ; ++i)
          === 5.1.1 Erasing elements in place ===
         vector<Student_info> extract_fails(vector<Student_info>& students)
          vector<Student_info> fail;
          vector<Student_info>::size_type i = 0
          students.erase(students.begin() + i);
         vector<Student_info> extract_fails(vector<Student_info>& students)
          vector<Student_info> fail;
          vector<Student_info>::size_type i = 0;
          vector<Student_info>::size_type size = students.size();
          students.erase(students.begin() + i);
         for(vector<Student_info>::size_type i = 0 ; i != students.size() ; ++i)
         for(vector<Student_info>::const_iterator i = students.begin() ; i != students.end() ; ++i)
          * begin()과 end()는 각각 컨테이너의 맨 처음 요소를 가리키는 반복자와, 맨 마지막에서 한칸 지난 것을 가리키는 반복자를 리턴해준다.
  • EightQueenProblem/최태호소스 . . . . 51 matches
         # include <stdio.h>
         # include <conio.h>
         # define SIZE 8
         int c;
         int Check(int in)
          int re=0;
          for(int i=c;i>0;i--){
          if((in-i)>=0 && P[c-i][in-i] ==1){//왼쪽으로..
          if( (in+i)<SIZE && P[c-i][in+i]==1 ){//오른쪽으로..
         int EQ()
          int re;
          for(int i=0;i<SIZE;i++){
          if(Q[i]==1) continue;// 그 줄에 queen 이있는것이므로 다음칸으로..
         void Init()
          for (int i=0;i<SIZE;i++){
          for(int j=0;j<SIZE;j++) P[i][j]=0;
          for(int i=0;i<SIZE;i++){
          for(int j=0;j<SIZE;j++)printf("%d ",P[i][j]);
          printf("\n");
         void main(void)
  • ExtremeProgramming . . . . 51 matches
         ExtremeProgramming 은 경량개발방법론으로서, RUP 등의 방법론에 비해 그 프로세스가 간단하다. XP 에서의 몇몇 개념들은 일반적인 프로그래밍에서도 유용하게 쓰일 수 있다. 특히 TestDrivenDevelopment(TestFirstProgramming) 의 개념과 Refactoring, UnitTest는 초기 공부할때 혼자서도 실습을 해볼 수 있는 내용이다. 개인 또는 소그룹의 훈련으로도 이용할 수 있을 것이다.
         http://extremeprogramming.org/map/images/project.gif
         초기 Customer 요구분석시에는 UserStory를 작성한다. UserStory는 추후 Test Scenario를 생각하여 AcceptanceTest 부분을 작성하는데 이용한다. UserStory는 개발자들에 의해서 해당 기간 (Story-Point)을 예측(estimate) 하게 되는데, estimate가 명확하지 않을 경우에는 명확하지 않은 부분에 대해서 SpikeSolution 을 해본뒤 estimate을 하게 된다. UserStory는 다시 Wiki:EngineeringTask 로 나누어지고, Wiki:EngineeringTask 부분에 대한 estimate를 거친뒤 Task-Point를 할당한다. 해당 Point 의 기준은 deadline 의 기준이 아닌, programminer's ideal day (즉, 아무런 방해를 받지 않는 상태에서 프로그래머가 최적의 효율을 진행한다고 했을 경우의 기준) 으로 계산한다.
         그 다음, 최종적으로 Customer 에게 해당 UserStory 의 우선순위를 매기게 함으로서 구현할 UserStory의 순서를 정하게 한다. 그러면 UserStory에 대한 해당 Wiki:EnginneringTask 를 분담하여 개발자들은 작업을 하게 된다. 해당 Task-Point는 Iteration 마다 다시 계산을 하여 다음 Iteration 의 estimate 에 적용된다. (해당 개발자가 해당 기간내에 처리 할 수 있는 Task-Point 와 Story-Point 에 대한 estimate) (Load Factor = 실제 수행한 날 / developer's estimated 'ideal' day. 2.5 ~ 3 이 평균) Iteration 중 매번 estimate 하며 작업속도를 체크한뒤, Customer 와 해당 UserStory 에 대한 협상을 하게 된다. 다음 Iteration 에서는 이전 Iteration 에서 수행한 Task Point 만큼의 일을 할당한다.
         Iteration 중에는 매일 StandUpMeeting 을 통해 해당 프로그램의 전반적인 디자인과 Pair, Task 수행정도에 대한 회의를 하게 된다. 디자인에는 CRCCard 과 UML 등을 이용한다. 초기 디자인에서는 세부적인 부분까지 디자인하지 않는다. XP에서의 디자인은 유연한 부분이며, 초반의 과도한 Upfront Design 을 지양한다. 디자인은 해당 프로그래밍 과정에서 그 결론을 짓는다. XP의 Design 은 CRCCard, TestFirstProgramming 과 ["Refactoring"], 그리고 StandUpMeeting 나 PairProgramming 중 개발자들간의 대화를 통해 지속적으로 유도되어지며 디자인되어진다.
         개발시에는 PairProgramming 을 한다. 프로그래밍은 TestFirstProgramming(TestDrivenDevelopment) 으로서, UnitTest Code를 먼저 작성한 뒤 메인 코드를 작성하는 방식을 취한다. UnitTest Code -> Coding -> ["Refactoring"] 을 반복적으로 한다. 이때 Customer 는 스스로 또는 개발자와 같이 AcceptanceTest 를 작성한다. UnitTest 와 AcceptanceTest 로서 해당 모듈의 테스트를 하며, 해당 Task를 완료되고, UnitTest들을 모두 통과하면 Integration (ContinuousIntegration) 을, AcceptanceTest 를 통과하면 Release를 하게 된다. ["Refactoring"] 과 UnitTest, CodingStandard 는 CollectiveOwnership 을 가능하게 한다.
         그리하여 각 Wiki:EngineeringTask 들이 구현되고, 궁극적으로 UserStory 의 Story들이 모두 진행되면 Mission Complete. (아.. 어제 Avalon 의 영향인가. --;)
          * ThePlanningGame: 개발자는 UserStory들에 대해서 구현, 예측, 지시들에 대해 토론한다.
          * TestDrivenDevelopment : Programming By Intention. 프로그래머의 의도를 표현하는 테스트코드를 먼저 작성한다. 그렇게 함으로서 단순한 디자인이 유도되어진다. (with ["Refactoring"])
          * ["Refactoring"] : 코드를 향상시키기 위한 프로세스
          * PairProgramming: 프로그램코드는 두명 (driver, partner)이 하나의 컴퓨터에서 작성한다.
          * CodingStandard: CollectiveOwnership 을 위한. 누구나 이해하기 쉽도록 코딩스타일 표준의 설정.
          * ContinuousIntegration: 매일 또는 수시로 전체 시스템에 대한 building 과 testing을 수행한다.
          * ["Metaphor"] : Object Naming 과 프로그램의 해당 수행에 대한 커뮤니케이션의 가이드 역할을 해줄 개념의 정의.
          * http://extremeprogramming.org - 처음에 읽어볼만한 전체도.
          * [http://www.trireme.com/whitepapers/process/xp-uml/xp-uml-short_files/frame.htm eXtremeProgrammingMeetsUML] - 아직 읽어보지 않았음.
          * http://objectmentor.com - Robert Martin 의 글들. OOP 관련 기사들도 많음.
          * http://xprogramming.com - Ron Jeffries 의 글들이 많다.
          * http://www.martinfowler.com/articles/newMethodology.html#N1BE - 또다른 '방법론' 이라 불리는 것들. 주로 agile 관련 이야기들.
          * http://www.xprogramming.com/xpmag/kings_dinner.htm - 원문
  • HowToBuildConceptMap . . . . 51 matches
         from Learning, Creating, Using Knowledge
          1. Identify a focus question that addresses the problem, issues, or knowledge domain you wish to map. Guided by this question, identify 10 to 20 concepts that are pertinent to the question and list these. Some people find it helpful to write the concept labels on separate cards or Post-its so taht they can be moved around. If you work with computer software for mapping, produce a list of concepts on your computer. Concept labels should be a single word, or at most two or three words.
          * Rank order the concepts by placing the broadest and most inclusive idea at the top of the map. It is sometimes difficult to identify the boradest, most inclusive concept. It is helpful to reflect on your focus question to help decide the ranking of the concepts. Sometimes this process leads to modification of the focus question or writing a new focus question.
          * Begin to build your map by placing the most inclusive, most general concept(s) at the top. Usually there will be only one, two, or three most general concepts at the top of the map.
          * Next selet the two, three or four suboncepts to place under each general concept. Avoid placing more than three or four concepts under any other concept. If there seem to be six or eight concepts that belong under a major concept or subconcept, it is usually possible to identifiy some appropriate concept of intermediate inclusiveness, thus creating another level of hierarchy in your map.
          * Connect the concepts by lines. Label the lines with one or a few linking words. The linking words should define the relationship between the two concepts so that it reads as a valid statement or proposition. The connection creates meaning. When you hierarchically link together a large number of related ideas, you can see the structure of meaning for a given subject domain.
          * Rework the structure of your map, which may include adding, subtracting, or changing superordinate concepts. You may need to do this reworking several times, and in fact this process can go on idenfinitely as you gain new knowledge or new insights. This is where Post-its are helpful, or better still, computer software for creating maps.
          * Look for crosslinks between concepts in different sections of the map and label these lines. Crosslinks can often help to see new, creative relationships in the knowledge domain.
          * Concept maps could be made in many different forms for the same set of concepts. There is no one way to draw a concept map. As your understanding of relationships between concepts changes, so will your maps.
  • Monocycle/김상섭 . . . . 51 matches
         #include <iostream>
         #include <string>
         #include <list>
         using namespace std;
         #define Max 25
         #define north 0
         #define east 1
         #define south 2
         #define west 3
         #define right 1
         #define left -1
         #define Max_turn 3
         #define Direction 4
         int now_row, now_col, terminal_row, terminal_col;
         int direction_row[4] = {-1,0 , 1,0 };
         int direction_col[4] = {0,1 ,0 ,-1 };
          int row;
          int col;
          int direction;
          int length;
  • NeoCoin/Server . . . . 51 matches
          * 8080 포트에 접속해 보고, 자칫 노출될수 있는 정보에 대하여 막는다. resin, tomcat 모두 8080 포트를 이용한 테스트를 한다.
         === Resin Restart ===
         ..resin/bin/httpd.sh start
         http://www-903.ibm.com/developerworks/kr/linux/library/l-fs.html [[BR]]
         http://www-903.ibm.com/developerworks/kr/linux/library/l-fs2.html [[BR]]
         http://www-903.ibm.com/developerworks/kr/linux/library/l-fs3.html [[BR]]
         http://www-903.ibm.com/developerworks/kr/linux/library/l-fs4.html [[BR]]
         http://www-903.ibm.com/developerworks/kr/linux/library/l-fs5.html [[BR]]
         http://www-903.ibm.com/developerworks/kr/linux/library/l-fs6.html [[BR]]
         http://www-903.ibm.com/developerworks/kr/linux/library/l-fs7.html [[BR]]
         http://www-903.ibm.com/developerworks/kr/linux/library/l-fs8.html [[BR]]
         http://www-903.ibm.com/developerworks/kr/linux/library/l-fs9.html [[BR]]
         http://www-903.ibm.com/developerworks/kr/linux/library/l-fs10.html [[BR]]
          * apt 주소 세팅시에, ftp://ftp.nuri.net/pub/debian woody main contrib non-free 를 입력하는 방법에 대하여 너무 난감했다.
         bin86, binutils, libc6-dev, gcc, make, kernel-package, bzip2
         linux-2.4.7.tar.bz2 혹은 linux-2.4.7.tar.gz 를 받으면 된다.
         ftp://ftp.nuri.net/pub/linux-kernel/v2.4/
         ftp://ftp.kr.kernel.org/pub/linux/kernel/v2.4/
         ftp://ftp.kernel.org/pub/linux/kernel/v2.4/
         /usr/src/linux는 실제 커널 소스 디렉토리에 대한 링크여야 한다.
  • OurMajorLangIsCAndCPlusPlus/Function . . . . 51 matches
         static int func(int a, int b)
         #include <stdio.h>
         #include <stdarg.h>
         int sum(int n, ...)
          int sum = 0;
          for(int i = 0 ; i < n ; i++)
          sum += va_arg(list, int);
         void main()
          int s = sum(5, 10, 20, 30, 40, 50);
          printf("s = %d\n", s);
         int func(int a, int b = 10, int c = 30);
         int abs(int v)
         #include <stdio.h>
         void main()
          int a = abs(-10);
          printf("%d\n", a);
         #include <stdio.h>
         void main()
          printf("%f\n", a);
         #include <stdio.h>
  • ProgrammingPearls/Column3 . . . . 51 matches
          * 주로 Refactoring과 Table Driven Programming을 설명하고 있다.
         === Form-Letter Programming ===
          * 출력 양식 : 변하는 것은 Kang-In-Su, Computer, Seoul, Su-saek이다.
         Hello, Kang-In-Su.
         #include <iostream>
         #include <fstream>
         #include <string>
         using namespace std;
         int main()
          string name, good, dong, city;
          ifstream fin("data.dat");
          getline(fin, name);
          getline(fin, good);
          getline(fin, city);
          getline(fin, dong);
         // Programming Pearls에서 제시하는 방법은
         #include <iostream>
         #include <string>
         #include <fstream>
         using namespace std;
  • ReverseAndAdd/문보창 . . . . 51 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         int makePalim(unsigned int * pal, unsigned int originN, int count);
         void showPalim(const unsigned int * pal, const int * nadd, const int n);
         int main()
          int n; // test의 수
          int i;
          unsigned int num; // test
          cin >> n;
          unsigned int * palim = new unsigned int[n]; // palindrome
          int * nAdd = new int[n]; // add의 수
          cin >> num;
         int makePalim(unsigned int * pal, unsigned int originN, int count)
          int nadd = 0; // add의 수
          unsigned int reverseN; // reverse한 수
          int len, i; // 자리수
          unsigned int temp, t;
          temp = originN;
          temp = originN;
  • [Lovely]boy^_^/EnglishGrammer/Passive . . . . 51 matches
          A. ex) This house(subject) was built in 1930. (passive)
          ex) Somebody(subject) built this house in 1930. (active)
          ex) A lot of money was stolen in the robbery.
         == Unit40. Passive(2) (be / been / being done) ==
          A. After will / can / must / going to / want to, etc...
          D. Present continuous
          active) Somebody is cleaning the room right now.
          passive) The room is being cleaned right now.
          Past continuous
          active) Somebody was cleaning the room when I arrived.
          passive) The room was being cleaned when I arrived.
          ex) We gave the police the information. (We gave the information to the police.)
          ex1) The police were given the information.
          ex2) The information was given to the police.
          When we use these verbs in the passive, most often we begin with the person.
          C. The passive of doing/seeing -> being done/being seen
          ex-active) I don't like people telling me what to do.
          ex-passive) I don't like being told what to do.
          D. Get : Sometimes you can use get instead of be in the passive:
          You can use get to say that something happens to somebody or something, especially if this is unplanned or unexpected.
  • [Lovely]boy^_^/USACO/MixingMilk . . . . 51 matches
         #include <iostream>
         #include <fstream>
         #include <map>
         #include <vector>
         #include <algorithm>
         using namespace std;
         ifstream fin("milk.in");
         void InputInitData(int& suf, int& numf, map<int,int>& data, vector<int>& numlist);
         int Process(int& suf, int& numf, map<int,int>& data, vector<int>& numlist);
         void OutputData(int& numf, map<int,int>& data, vector<int>& numlist);
         int main()
          int numf, suf;
          map<int,int> data;
          vector<int> numlist;
          InputInitData(suf, numf, data, numlist);
         void InputInitData(int& suf, int& numf, map<int,int>& data, vector<int>& numlist)
          fin >> suf;
          fin >> numf;
          int cost, amount;
          for(int i = 0 ; i < numf ; ++i)
  • 새싹교실/2012/아우토반/뒷반/3.30 . . . . 51 matches
          * printf, scanf
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         #include <stdio.h>
         int main( void )
          int a;
          printf("십");
          printf("이십");
          printf("삼십");
          printf("사십");
          printf("오십");
          printf("육십");
          printf("칠십");
          printf("팔십");
          printf("구십");
          printf("백");
          printf("일");
          printf("이");
          printf("삼");
          printf("사");
          printf("오");
  • 큐와 스택/문원명 . . . . 51 matches
         여기서 의문점은 string헤더 파일을 include하지 않고 배열을 char *형으로 하고 #1,#2,#3을 strcpy를 사용하여 고치고 실행한 후,
         가능하다면, 전체 코드를 올려주세요. 지금 제 생각대로라면, 불가능한 코드를 말씀하시는 것 같아서요. --NeoCoin
          밤(10시 이후)에 답변드리겠습니다. 저에게는 상당한 학습의 기회가 될것 같군요. 재미있네요. 일단, 글로 표현하기에 자신이 없거든요. 주변의 사람들을 붙잡고 물어보는 것도 좋은 방법이 될것 같습니다. 그리고, 학교 교제의, call By Value, call By reference 와 Pointer 관련 부분을 읽으시면 좋겠습니다. --NeoCoin
         #include <iostream>
         #include <string>
         using namespace std;
         const int ASIZE = 5;
         void main()
          std::string a;
          char * array[ASIZE]; // Pointer의 배열입니다. 즉, 문자를 저장할 공간은 아닙니다.
          // char 를 가리킬수 있는 주소를 저장할수 있는 32bit 값들의 Pointer들 5개
          // 각 Pointer들은 의미 없는 값들로 채워져 있습니다.(컴파일러 의존)
          int tail = 0, status = 3;
          int select, count;
          for(int i = 0 ; i < ASIZE ; i++)
          strcpy(array[i], "empty"); // Pointer가 가르키는 부분이 우연히 접근 가능한 메모리 공간이라면
          cin >> select;
          cin >> array[tail]; // array[tail] 은 아직까지 의미없는 메모리 영역을 가리키는
          // 하나의 Pointer입니다. 그 영역에 임의로 문자를 채우는 것이므로
          array[count] = array[count+1]; // string의 경우와 달리, Pointer 값만 복사됩니다.
  • 토이/메일주소셀렉터/김정현 . . . . 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;
  • 5인용C++스터디/템플릿 . . . . 50 matches
         #include <iostream>
         using namespace std;
         int absi(int value)
         void main()
         #include <iostream>
         using namespace std;
         int abs(int value)
         void main()
         #include <iostream>
         using namespace std;
          int Items[5];
          void SetItem(int index, int item);
          int GetItem(int index);
         void Array5::SetItem(int index, int item)
          if(index >= 0 && index <= 4)
          Items[index] = item;
         int Array5::GetItem(int index)
          if(index >= 0 && index <= 4)
          return Items[index];
         void main()
  • 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.
  • RandomWalk2/영동 . . . . 50 matches
         #include<iostream.h>
         int main()
          int input_y, input_x;//좌표의 총개수
          int start_y, start_x;//시작점의 좌표
          int journey=0;
          int y, x;//좌표의 현재 위치
          int i, j;//for문 돌리는 데 필요한 변수
          int count=0;//총 움직인 수
          int first_go=0;
          cin>>input_x;
          cin>>input_y;
          int **base=new int *[input_y];
          for(i=0;i<input_x;i++)
          base[i]=new int [input_x];
          for(i=0;i<input_y;i++){
          for(j=0;j<input_x;j++)
          cin>>start_x;
          cin>>start_y;
          cin>>way;
          y=input_y-1;
  • 손동일/TelephoneBook . . . . 50 matches
         == Coding .. ==
         #include <iostream>
         using namespace std;
          int count; // 등록되는 전화번호의 개수 ( 한명 등록시 1씩 증가 )
          int mode; // 항목 선택시에 사용되는 변수
          int menu_num; // menu 선택시에 사용되는 변수
          void input(); // 전화번호부에 적을 수 있는 환경을 만든다.
          int mnreturn(); // menu_num 리턴해주는 함수
         #include <iostream>
         using namespace std;
         #include <fstream>
         #include "TelephoneBook.h"
         #include <cstring>
         ifstream fin;
         const int base_save = 4; // 처음 기본으로 저장되어있는 전화번호 숫자.
         void TelephoneBook::input() // 전화번호부에 적을 수 있는 환경을 만든다.
          cin >> tel_num;
          cin >> name;
          cin >> group;
          cin >> memo;
  • 코드레이스/2007.03.24정현영동원희 . . . . 50 matches
          int firstTime, secondTime, thirdTime;
          String color, color2, color3;
          public Signal(int firstTime, String color, int secondTime, String color2, int thirdTime, String color3) {
          public String getColor(int time) {
          int adjustedTime= time%(firstTime+ secondTime + thirdTime);
          public String getColorWithDate(int year, int month, int day, int hour, int minute, int second)
          int totalSecond=((((365*(year-2000)+(month-1)*30+(day-1)*24+hour)*60)+minute)*60+second);
          public void insertCrosser(Time[] times ) {
          public int checkViolation()
          int number= 0;
          private String getColorWithDate(Time time) {
          return getColorWithDate(time.year, time.month, time.day, time.hour, time.minute, time.second);
          public static void main(String []args)
          System.out.println(signal.getColor(30));
          System.out.println(signal.getColor(120));
          System.out.println(signal.getColorWithDate(2007, 3, 24, 12, 30, 24));
          System.out.println(signal.getColorWithDate(2000, 1, 1, 0, 0, 0));
          signal.insertCrosser(times2);
          System.out.println(signal.checkViolation());
          public int year;
  • 2002년도ACM문제샘플풀이/문제B . . . . 49 matches
         #include <iostream>
         #include <string>
         using namespace std;
         int numOfData;
         string inputData[10];
         int outputData[10];
         string pattern;
         int getIndex(char c)
          int index;
          index=pattern.find_first_of(c);
          pattern = pattern.substr(0, index) + pattern.substr(index + 1);
          return index;
         void input()
          cin >> numOfData;
          for(int i=0;i<numOfData;i++)
          cin >> inputData[i];
          for(int i=0;i<numOfData;i++)
          int index;
          int addNumber = 40320;
          for(int j=0;j<8;j++)
  • C++스터디_2005여름/도서관리프로그램/남도연 . . . . 49 matches
          int situation,selection;
          void input();
         #include <iostream>
         #include "useclass.h"
         using namespace std;
         void main()
          int number = 0;
          cin >> number;
          b.input();
         #include <iostream>
         #include <string.h>
         #include "useclass.h"
         using namespace std;
         void book :: input()
          cin >> k->book_name;
          cin >> k->book_writer;
          cin >> k->book_ISBN;
          cin >> selection;
          cin>>name;
          book *find;
  • FocusOnFundamentals . . . . 49 matches
         '''Software Engineering Education Can, And Must, Focus On Fundamentals.'''
         When I began my EE education, I was surprised to find that my well-worn copy of the "RCA
         would be of no interest in a decade. Instead, I learned fundamental physics, mathematics, and a
         way of thinking that I still find useful today.
         Clearly, practical experience is essential in every engineering education; it helps the students to
         learn how to apply what they have been taught. I did learn a lot about the technology of that day in
         laboratory assignments, in my hobby (amateur radio), as well as in summer jobs, but the lectures
         taught concepts of more lasting value that, even today, help me to understand and use new
         the fundamentals that will be valid and useful over that period and emphasise those principles in
         the lectures. Many programmes lose sight of the fact that learning a particular system or language
         is a means of learning something else, not an goal in itself.
         --David Parnas from [http://www.cs.utexas.edu/users/almstrum/classes/cs373/fall98/parnas-crl361.pdf Software Engineering Programmes Are Not Computer Science Programmes]
         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.
         우리가 조심해야 할 것은 어느 한 방법이 절대적이라고 하는 것과, 반대로 상대주의에 매몰되는 것 두가지 입니다. 무엇이건 괜찮다(anything goes)와 이것만이 유일하다 중 하나만 골라야 하는 것은 아닙니다.
         Q: What advice do you have for computer science/software engineering students?
         A: Most students who are studying computer science really want to study software engineering but they don't have that choice. There are very few programs that are designed as engineering programs but specialize in software.
         I would advise students to pay more attention to the fundamental ideas rather than the latest technology. The technology will be out-of-date before they graduate. Fundamental ideas never get out of date. However, what worries me about what I just said is that some people would think of Turing machines and Goedel's theorem as fundamentals. I think those things are fundamental but they are also nearly irrelevant. I think there are fundamental design principles, for example structured programming principles, the good ideas in "Object Oriented" programming, etc.
         --David Parnas, from http://www.cs.yorku.ca/eiffel/teaching_info/Parnas_on_SE.htm
         see also Seminar:AgilityForStudents
  • HelloWorld . . . . 49 matches
         프로그래밍의 첫걸음으로 HelloWorld를 출력하는 관습은 1978년에 출판된, 브라이언 커니핸과 데니스 리치가 쓴 "The C Programming Language"라는 책에서 비롯되었다.
         #include <stdio.h>
         int main(void)
          printf("Hello, World!n");
         #include <iostream>
         using namespace std;
         int main() {
         print "Hello, World!"
         #/usr/bin/perl
         print "Hello World!n";
         class String
          public static void main(String[] args) {
          System.out.println("Hello, World!");
          public static void main(String[] args){
          public void say(String what){
          System.out.println(what);
          include_once "class.CHTemplate.inc";
          $tpl->register("MessageString", "Hello, World!");
          $tpl->pprint();
         <H1> {MessageString} </H1>
  • 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];
  • NUnit/C++예제 . . . . 49 matches
         === 예제 소스 실행법 (Using C++) ===
          * 속성 페이지 가서 C/C++로 간다음, #using 참조확인에다가 NUnit이 깔린 폴더의 bin 폴더를 넣어준다.
          * NUnit이 깔린 폴더의 bin안에 보면 NUnit-gui.exe을 실행한다. 컴파일해서 나온 dll을 로딩해주고 run하면 테스트들을 실행해준다.
         #using <nunit.framework.dll>
         using namespace System;
         using namespace NUnit::Framework;
          int a, b;
          [SetUp] void Init();
         #include "stdafx.h"
         #include "NUnit6.h"
          void Calculator::Init() {
         #using <nunit.framework.dll>
         using namespace System;
         using namespace NUnit::Framework;
          int a, b;
          void Calculator::Init() {
         #include "stdafx.h"
         #include "NUnit6.h"
          3. 테스트 프로젝트의 속성으로 들어가서 #using 참조에 nunit\bin폴더를 넣어준다.
         메인프로젝트에서 만든 새 클래스를 테스트 프로젝트에서 테스트하고 싶다. 어떻게 해야할까? 순진한 인수군은 #include <domain.h> 이렇게 하고, 테스트 클래스에 .h랑 .cpp 참조 넣어주면 될줄 알았다. 이것땜에 어제밤부터 삽질했다. 이렇게만 하면 안되고... 새로 만든 클래스를 일단 보자.
  • Refactoring/MakingMethodCallsSimpler . . . . 49 matches
         = Chapter 10 Making Method Calls Simpler =
         A method needs more information from its caller.
          ''Add a parameter for an object that can pass on this information''
         Several methods do similar things but with different values contained in the method body.
         You have a method that runs different code depending on the values of an enumerated parameter.
         void setValue (String name, int value) {
         void setHeight (int arg) {
         void setWidth (int arg) {
         You are getting several values from an object and passing these values as parameters in a method call.
          ''Send the whole object instead''
         int low = daysTempRange().getLow();
         int high = days.TempRange().getHight();
         withinPlan = plan.withinRange (low, high);
         withinPlan = plan.withinRange (daysTempRange());
         An object invokes a method, then passes the result as a parameter for a method. The receiver can also invoke this method.
          ''Remove the parameter and let the receiver invoke the method''
         int basePrice = _quantity * _itemPrice;
         double finalPrice = discountedPrice (basePrice, discountLevel);
         int basePrice = _quantity * _itemPrice;
         double finalPrice = discountedPrice (basePrice);
  • SoJu/숙제제출 . . . . 49 matches
         #include <stdio.h>
         int i,j;
         int main()
          printf("\n이 프로그램은 구구단 프로그램 입니다.");
          printf("\n보고싶은 구구단의 숫자를 입력하시오.\n\n");
          printf("\n");
          printf("%d단입니다.\n",i);
          printf("%d X %d = %d\n",i,j,i*j);
          printf("\n이 프로그램은 구구단 프로그램입니다. 1~9까지의 숫자중 하나를 입력하세요.\n\n");
          printf("\n다시 하시겠습니까? (예=y ,아니오=n)\n\n");
         #include <stdio.h>
         int main()
          int i; //구구단의 뒷쪽숫자입니다.
          int j; //구구단의 앞쪽숫자입니다.
          printf("안녕하세요? 구구단 출력 프로그램입니다.\n시킨대로 하지않으면 다운의 소지가..\n1~9사이의 정수를 입력해주세요.\n");
          printf("\n");
          printf(" %d x %d = %d \n",j,i,j*i);
          printf("\n");
          printf ("숫자가 너무 큽니다. 1-9사이의 정수를 입력해주세요~\n"); //입력받은 숫자가 9초과일경우의 오류메시지를 출력합니다.
          printf ("숫자가 너무 작습니다. 1-9사이의 정수를 입력해주세요~\n"); //입력받은 숫자가 1미만일경우의 오류메시지를 출력합니다.
  • UDK/2012년스터디/소스 . . . . 49 matches
         // EmeraldStage/ESGameInfo.uc
         class ESGameInfo extends UTDeathmatch;
         // definition of member variable, assigning value is done at defaultproperties function
         var int a;[[Media(Example.mp3)]]
         // Event occured when character logged in(or creation). There are existing function PreLogin, PostLogin functions.
         event PlayerController Login(string portal, string options, const UniqueNetId uniqueID, out string errorMsg)
          pc = super.Login(portal, options, uniqueID, errorMsg);
         event PostLogin(PlayerController pc)
          `log(pc.Name@"logged in");
          super.PostLogin(pc);
          if ( (Health <= 0) || bFeigningDeath ) {
          // Move camera to prevent pinning by world
          // @todo fixmesteve. If FindSpot fails, then (rarely does) camera pinned continously.
          FindSpot(GetCollisionExtent(), CamStart);
          CurrentCameraScale = FMin(CameraScale, CurrentCameraScale + 5 * FMax(CameraScale - CurrentCameraScale, 0.3)*fDeltaTime);
         class SeqAct_ConcatenateStrings extends SequenceAction;
         var() String ValueA;
         var() String ValueB;
         var string StringResult;
          StringResult = (ConcatenateWithSpace) ? ValueA@ValueB : ValueA$ValueB;
  • WeightsAndMeasures/황재선 . . . . 49 matches
          def __init__(self):
          def inputEachData(self, weight, strength):
          def putInStack(self, i):
          def findNextDataIndex(self):
          nextDataIndex = -1
          minWeight = 0
          for each in self.dataList:
          if not self.isInStack(weight) and
          if weight < minWeight:
          minWeight = weight
          nextDataIndex = self.dataList.index(each)
          continue
          minWeight = weight
          nextDataIndex = self.dataList.index(each)
          return nextDataIndex
          def isInStack(self, aWeight):
          for each in self.stack:
          for each in self.stack:
          if self.stack.index(each) < end:
          for each in self.stack:
  • ZeroPageHistory . . . . 49 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 세미나 개최. ||
         ||2학기 ||C 중급 강좌, Unix 세미나 개최. ||
         ||겨울방학 ||Data Structure, Clipper, UNIX, Game, Graphic 세미나 개최. ||
          * C, C++, X-Windows, Utility
          * C, UNIX
          * Data Structure, Clipper, UNIX, Game, Computer Graphics
         ||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 강좌. ||
         ||2학기 ||Delpya, OS, 그래픽, Assembly, Coprocessor 강좌. UNIX, 통신 스터디. ||
         ||겨울방학 ||UNIX, Delpya, Netword Visual Basic 세미나. 객체지향, C, C++, 게임 제작 강좌. ||
          * C, Assembly Language, Inside PC
          * C, C++, Network Programming
  • ZeroPage성년식/거의모든ZP의역사 . . . . 49 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 세미나 개최. ||
         ||2학기 ||C 중급 강좌, Unix 세미나 개최. ||
         ||겨울방학 ||Data Structure, Clipper, UNIX, Game, Graphic 세미나 개최. ||
          * C, C++, X-Windows, Utility
          * C, UNIX
          * Data Structure, Clipper, UNIX, Game, Computer Graphics
         ||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 강좌. ||
         ||2학기 ||Delpya, OS, 그래픽, Assembly, Coprocessor 강좌. UNIX, 통신 스터디. ||
         ||겨울방학 ||UNIX, Delpya, Netword Visual Basic 세미나. 객체지향, C, C++, 게임 제작 강좌. ||
          * C, Assembly Language, Inside PC
          * C, C++, Network Programming
  • 날다람쥐 6월9일 . . . . 49 matches
         = 포인터(Pointer)에 대해서. =
         int a = 13; int b = 14; 이라는 선언을 통해 가능하며, 메모리 상의 어떤 주소에 있는 13 이라는 데이터는 a라는 변수의 이름을 통해서 나타내어진다.
          여기서 주소가 1000 이후에 1004 인 이유는 int가 4byte이기 때문이다.(여기서 주소는 예를 든 것임)
         그리고 printf("%d", a); 라는 명령어를 통해 바뀐 것을 확인할 수 있다.
         printf("%u", &a);의 결과값은 1000이다.(%u 맞나? ㅋㅋ 찾아보길. 맞을꺼야 %u는 주소값을 표현하는 표현식.)
          만약에 INT형의 주소를 나타내는 변수 IP를 선언하고 싶으면 int* ip; 라고 표현하면 된다.
          int *ip; 도 가능한 표현이다.(이게 약간 더 옳은 표현.)
         예를 들어 int *ip, i; 이렇게 하면 뒤의 i는 일반적인 int로, 앞의 ip는 포인터 INT형으로 선언이 된다.
         포인터가 가리키는 곳의 값을 쓸 때는 앞에 *을 붙인다. 예) int a = 13; int* ap = &a; printf("%d %d", a, *ap);
          void add(int a, int b, int* cp) {
         *cp = a + b; // cp라는 포인터가 가리키는 주소의 값을 a + b로 바꿔준다(main 함수 안의 c).
         int main() {
          int a = 13, b = 14, c;
         printf("%d", c); // 결과값 : 27
         은 int a[5] = {3, 4, 2, 1, 8};을 선언한 형태이다.
         printf("%d", a[0]);
          왜 printf("%d", a); 와 같이 적으면 안되는지 알아보자.
         int* ap = a;
         물론 출력할 때는 printf("%d", *ap); 와 같이 a[0]을 출력할 수도 있다.
         바로 위의 배열을 모두 출력하는데, printf("%d", *(ap + @))의 형태로 출력해보자. 여기서 모든 값들을 출력하려면 @에 각각 어떤 수가 들어가는지 직접 해보고 왜 그런지 설명하기.
  • 데블스캠프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()
  • 새싹교실/2013/라이히스아우토반/2회차 . . . . 49 matches
          * printf, scanf 가르치기
          * printf, scanf 가르치기
          * printf, ~~scanf~~를 쓰는 법을 배웠습니다.
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         #include<stdio.h>
         int main()
          int i,j,k,l,m;
          printf("문자입력 : ");
          printf("문자입력2 : ");
          printf("%c",j);
          printf("%c",i);
          printf("%c",i);
          printf("%c",j);
          printf("\n");
         #include <stdio.h>
         int main()
          int a=1,b=0,c=10;
          {printf(" ");}
          {printf("*");}
          printf("\n");}
  • 서지혜/Calendar . . . . 49 matches
          public static void main(String[] args) {
          System.out.println("Input year pleas : ex) 2013");
          System.out.print(">> ");
          Scanner scanner = new Scanner(System.in);
          int year = Integer.parseInt(scanner.nextLine());
          new Year(year).print();
          private int month;
          private int length;
          private int startDate; // 1:mon 2:tue 3:wed 4:thu 5:fri 6 :sat 0:sun
          public Month(int month, int length, int startDate) {
          public void print() {
          System.out.println("MONTH : " + month);
          System.out.println("sun\tmon\ttue\twed\tthu\tfri\tsat");
          String days = "";
          for (int i = 1; i <= startDate; i++) {
          for (int i = 1; i <= length; i++) {
          System.out.println(days + "\n");
          private int year;
          public Year(int year) {
          public void print() {
  • 압축알고리즘/희경&능규 . . . . 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++)
  • 토비의스프링3/오브젝트와의존관계 . . . . 49 matches
         package springbook.user.domain;
          String id;
          String name;
          String password;
          public String getId() {
          public void setId(String id) {
          public String getName() {
          public void setName(String name) {
          public String getPassword() {
          public void setPassword(String password) {
         package springbook.user.dao;
         import springbook.user.domain.User;
          Connection c = DriverManager.getConnection("jdbc:mysql://localhost/springbook", "spring", "book");
          PreparedStatement ps = c.prepareStatement("insert into users(id, name, password) values(?,?,?)");
          ps.setString(1, user.getId());
          ps.setString(2, user.getName());
          ps.setString(3, user.getPassword());
          public User get(String id) throws ClassNotFoundException, SQLException{
          Connection c = DriverManager.getConnection("jdbc:mysql://localhost/springbook", "spring", "book");
          ps.setString(1, id);
  • ComputerNetworkClass/Report2006/PacketAnalyzer . . . . 48 matches
         WSA prefix 를 가진 함수의 경우 대부분 Winsock 2에서 제공 되기 시작한 것이며, 이 WSAIoctl 역시도 윈속 2에서 지원된다.
         자세한 사항은 MSDN 혹은 Network Programming For Microsoft Windows 를 참조하기 바란다.
         ※ 윈도우 소켓 프로그래밍을 위해서는 윈속 라이브러리를 같이 linking 해야하며, WSActrl 을 사용하기 위해서는 winsock2 라이브러리인 ws2_32.lib 를 포함해야한다.
         #include <mstcpip.h>
         #define SIO_RCVALL _WSAIOW(IOC_VENDOR,1)
         int _cdecl main(int argc, char **argv)
          SOCKADDR_IN if0;
          int ret,
          unsigned int optval;
          // Load Winsock
          printf("WSAStartup() failed: %d\n", GetLastError());
          // Parse the command line
          printf("Source Port: %d\n", usSourcePort);
          printf("Dest Port: %d\n", usDestPort);
          // Create a raw socket for receiving IP datagrams
          s = WSASocket(AF_INET, SOCK_RAW, IPPROTO_IP, NULL, 0, WSA_FLAG_OVERLAPPED);
          if (s == INVALID_SOCKET)
          printf("WSASocket() failed: %d\n", WSAGetLastError());
          // Get an interface to read IP packets on
          if (GetInterface(s, &if0, dwInterface) != 0)
  • Counting/황재선 . . . . 48 matches
          * BigInteger 매우 강력하다!
         import java.math.BigInteger;
         public class Counting {
          public String readLine() {
          return new Scanner(System.in).useDelimiter("\n").next().trim();
          public BigInteger count(int n) {
          BigInteger zero = new BigInteger("0");
          BigInteger one = new BigInteger("1");
          BigInteger two = new BigInteger("2");
          BigInteger[] sum = new BigInteger[n + 1];
          for(int input = 2; input <= n; input++) {
          BigInteger numOfEachCounting = zero;
          for(int i = 1; i <= 3 && i <= input; i++) {
          BigInteger first = zero;
          if (i > 1 && input - i == 0) {
          BigInteger second = i == 1 ?
          two.multiply(sum[input - i]) : sum[input - i];
          numOfEachCounting = numOfEachCounting.add(first.add(second));
          sum[input] = numOfEachCounting;
          public void printCount(BigInteger number) {
  • Cpp에서의멤버함수구현메커니즘 . . . . 48 matches
         #include <iostream>
         using namespace std;
          int id;
         int main(int argc, char** argv)
         Press any key to continue
         DeleteMe 이렇게 보이는 것도 좋지만, '''실행할수 있는 완전한 소스''' 형태를 제시하는 편이 더 좋을것 같습니다. --NeoCoin
          int id; // <- 이 부분의 정보 입니다.
         new 키워드로 할당시에는 runtime 에 class 의 instance 를 찍어 낼수 있어야 합니다. 이를 위해 프로그램 안에는 위의 id가 int 라는 정보를 담는 class의 "class 틀" 정보를 담는 곳이 필요합니다.
         그외 class와 instance의 생성시 vpt와, 상속 관계에 대한 pointer 정보가 더 들어 가야 합니다. 그러나 여기에서는 생각하지 않습니다. 둘째로 넘어갑니다
         ==== instance 에 귀속된 멤버 함수들을 실행해 봅시다. ====
         C++ 표준안에서 전역에서 함수 호출과, instance에 귀속된 멤버 함수들의 호출을 가리지 않습니다. 함수 선언과 멤버 함수 선언의 함수 실행 코드는 모두 동일 방법으로 선언되고, 모두 동일한 메커니즘의 함수 포인터를 이용해서 호출합니다.
         '''전역 함수와 동일한 함수 선언의 형태라면 각각의 instance에 어떻게 접근하는가?'''
          int id;
         라는 함수는 각 instance의 id 라는 인자에 접근합니다.
          사족. 이러한 사연이 class내에서 static 멤버 함수를 선언하고 instance에서 호출할때 instance 의 멤버 변수에 접근하지 못하는 이유가 됩니다. static 함수로 선언 하면 묵시적으로 pointer 를 세팅하지 않고 함수를 호출합니다.
         sayHello()는 instance variable에 접근하지 않는다는 것이고, {{{~cpp sayMyId()}}} 는 접근한다는 점이지요.
         따라서, 삭제후에 메모리를 청소(?) 해버리고 난후 해당 instance 부분을 실행해 보리니 id가 다음과 같이 엉뚱하게 나오지요.
         instance에 사용되었던 메모리는, 해당 process의 가용 메모리로 돌아가지, 접근 금지 영역으로 세팅되지 않습니다. 이 부분은 delete this 시 해당 instance 영역의 값을 어떻게 "청소"하느냐에 따라서, 플랫폼 별로 다르게 나옵니다.
         이 된것이고, sayHello 내에는 pointer 값 NULL 을 이용한 접근이 없으므로 아무런 에러가 발생하지 않습니다.
         OOP적인 사고로 실행할 instance가 없으므로 불가능한 코드지만, 잘 실행됩니다. C++에서 함수 실행시 해당 instance의 존재 유무를 검사하지 않습니다. 검사 할 수도 없겠지요. NULL 조차 0 이라는 pointer 값에 해당하니까요.
  • DermubaTriangle/조현태 . . . . 48 matches
         #include <iostream>
         #include <Windows.h>
         #include <math.h>
         using namespace std;
         POINT GetTrianglePoint(int houseNumber)
          POINT trianglePoint;
          trianglePoint.x = 0; trianglePoint.y = 0;
          for (; trianglePoint.y * trianglePoint.y <= houseNumber; ++trianglePoint.y);
          --trianglePoint.y;
          houseNumber -= trianglePoint.y * trianglePoint.y;
          for (trianglePoint.x = trianglePoint.y * (-1); 0 < houseNumber; ++trianglePoint.x)
          return trianglePoint;
         double GetHousePointX(POINT trianglePoint)
          return trianglePoint.x * 0.5;
         double GetHousePointY(POINT trianglePoint)
          if ((0 == abs(trianglePoint.y) % 2 && 0 == abs(trianglePoint.x) % 2) ||
          (1 == abs(trianglePoint.y) % 2 && 1 == abs(trianglePoint.x) % 2))
          return trianglePoint.y * (sqrt(3.0) / 2);
          return ((trianglePoint.y - 1) * (sqrt(3.0) / 2)) + (sqrt(3.0) / 3);
         double GetHouseDistance(POINT trianglePointOne, POINT trianglePointAnother)
  • EditStepLadders/황재선 . . . . 48 matches
          private List<String> wordList;
          private Stack<Integer> stack;
          private int[][] connection;
          private int startingPoint;
          private int longestPassedWordCount;
          wordList = new ArrayList<String>();
          stack = new Stack<Integer>();
          public String readWord() {
          return new Scanner(System.in).nextLine();
          public void storeWord(String word) {
          int size = wordList.size();
          connection = new int[size + 1][size + 1];
          for(int from = 1; from <= size; from++) {
          String word = wordList.get(from - 1);
          for(int to = from + 1; to <= size; to++) {
          String nextWord = wordList.get(to - 1);
          if (startingPoint == 0) {
          startingPoint = from;
          public boolean isEditStep(String word1, String word2) {
          int length1 = word1.length();
  • HardcoreCppStudy/첫숙제/ValueVsReference/변준원 . . . . 48 matches
         바로 main()함수로 처음 시작할 때 main()이 자동적으로 불려지고 또 main()이 다른 함수를 부를 수가
         gramming의 기초가 됩니다.
         전처리계인 #define에 의해 정의되는 함수.
         3) inline함수
          - 포인터 참조에 의한 호출(Call by pointer reference)
         #include
         void main()
          double power(double base, int exponent); // 함수의 선언(원형)
          int exponent;
          while (cin >> base >> exponent)
         double power (double x, int y) // 함수의 정의
          for (int i=1;i < y;i++)
          * 여기서 power(double x, int y) 안에서 따옴표가 없어야 할 거 같은데...? -영동
         위의 예제에서 함수의 선언부분인 double power(double base, int exponent); 에서 double은 반환값의 형
         을 의미하고 power은 함수명을 의미하며 double base, int exponent은 매개변수를 의미한다. power()라는
         먼저 전역 변수란 것은 어떤 특정 함수의 바깥에서 정의된 변수는 전역 범위 규칙을 가지고 main()함수를
         #include
          int x=1,y=2; // 전역변수
         void main()
          int x="3;" // 지역 변수
  • HowManyPiecesOfLand?/문보창 . . . . 48 matches
         === BigInteger.h ===
         // Big Integer Class - C++
         #include <iostream>
         using namespace std;
         #include <cstring>
         #define MAXDIGITS 100
         #define PLUS 1
         #define MINUS -1
         #define MAX(a,b) (((a) > (b)) ? (a) : (b))
         class BigInteger
          int signbit;
          int lastdigit;
          BigInteger(int n)
          int i;
          signbit = (n < 0) ? MINUS : PLUS;
          BigInteger()
          int i;
          void print()
          if (signbit == MINUS) cout << "-";
          for (int i = lastdigit; i >= 0; 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):
  • SmallTalk/강좌FromHitel/강의2 . . . . 48 matches
          Dolphin Smalltalk를 사용할 것이므로, 자료실에서 Dolphin Smalltalk를 내
          원래 Dolphin Smalltalk는 상용과 공개용 Smalltalk 환경을 같이 배포하고
          있습니다. Dolphin Smalltalk 1.1판은 공개용이며, 2.1판은 상용입니다. 현
          원래 Object Arts에서 제공하는 배포판의 파일 이름은 Dolphin981Setup.Exe
          이지만, 자료실의 파일명 길이 제한 때문에 위의 실행 파일을 다시 WinZip으
          로 압축하여 올린 것입니다. 그러므로 Dolphin Smalltalk를 설치하기 위해서
          1. 자료실에서 Dolphin Smalltalk와 Dolphin Education Center를 찾
          2. 내리받은 파일은 zip 압축파일이므로 WinZip 등과 같이 긴 파일
          5. 설치를 마무리하면 Dolphin Smalltalk의 바로 가기를 시작 메뉴
          든지 Dolphin Smalltalk를 제어판의 "프로그램 추가/삭제"를 통해서 제거할
          Dolphin Smalltalk를 시작하기 위해서는 "시작 → 프로그램 → Dolphin
          Smalltalk 98"을 가리킨 다음 안에 들어있는 "Dolphin Smalltalk 98" 아이콘
          처음 Dolphin Smalltalk를 설치하여 실행할 때에 화면에 경고 상자가 나타납
          니다. 대강의 내용은, 지금 사용하고 있는 Dolphin Smalltalk는 아직 등록
          Workspace'라는 이름을 가진 창입니다. 이 창에는 아마 "Welcome to Dolphin
          "First evaluated by Smalltalk in October 1972, and by Dolphin in
          내려진 명령이라고 합니다. Object Arts사는 1995년 2월에 자사의 Dolphin
          ☞ a SortedCollection(_FPIEEE_RECORD AbstractCardContainer
          Class allClasses asSortedCollection. ☞ "Inspector 창 열림"
          어떻습니까? "Inspecting a SortedCollection"이라는 제목의 창이 화면에 나
  • TowerOfCubes/조현태 . . . . 48 matches
         #include <iostream>
         #include <vector>
         using namespace std;
         const int BOX_FACE_NUMBER = 6;
         const int FRONT = 0;
         const int BACK = 1;
         const int LEFT = 2;
         const int RIGHT = 3;
         const int TOP = 4;
         const int BOTTOM = 5;
          SMyBox(int front, int back, int left, int right, int top, int bottom)
          int color[BOX_FACE_NUMBER];
          SBoxBlock(int inputNumber, int inputTopFace)
          number = inputNumber;
          topFace = inputTopFace;
          int number;
          int topFace;
          int front, back, left, right, top, bottom;
          //printf("%2d %2d %2d %2d %2d %2d\n", front, back, left, right, top, bottom);
         inline int GetOppositeFace(int faceNumber)
  • WebGL . . . . 48 matches
         [Javascript]임에도 불구하고 마치 C프로그래밍 스타일의 함수들이 존재한다. [WinAPI]가 C스타일의 [OOP]이듯 WebGL 또한 C스타일의 OOP이다. 모든 함수는 WebGLcontext라는 객체에 있는데 보면 그냥 접두어를 붙이는 느낌이다.
         위의 코드를 보면 [쉐이더] 프로그램에 fragmentShader와 vertexShader를 Link 시키는 구문인데 주체인 shaderProgram은 첫번쨰 인자이고 gl은 그냥 접두어 처럼 보인다. 저 구문만 그런것이 아니라 다른 모든 함수들이 저 gl 객체에 붙어있다. 하지만 정작 gl이 주체가 아닌 것들이 많다. 따라서 래핑한 객체를 만들어 쓰는 것이 속편한데 어설프게 했다가는 무척 꼬이게 된다.
          * WebGL은 기존 OpenGL과 다르게 직접 그리기가 지원되지 않는다. 기존의 glBegin()와 glEnd()사이에서 값을 계속적으로 전달하수 없고 오직 glDrawElement()를 통한 배열을 한꺼번에 전달하는 것'만' 지원한다. 초보자들의 첫난관이다.
         Attribute는 각 포인트 별로 전달되는 정보이고 uniform 은 전체에서 공통적인 정보이다. 일반적으로 Attribute는 각 정점의 위치 정보와 각 지점의 법선 벡터 정보를을 전달한다. uniform은 일반적으로 카메라의 위치나 환경광의 위치처럼 전체적인 것을 전달한다. Attribute나 uniform은 일종의 변수인데 핸들을 얻어와서 그것을 통해 값을 전달할수 있다. 즉 Atrribute나 Uniform은 Javascript측에서 쉐이더로 정보를 보내는 것이다. varying은 쉐이더 간의 정보 전달에 사용된다. vertex shader에서 fragment shader로 값이 전달되며 반대는 불가능하다(파이프라인 구조상 당연한 것이다). 이때 vertex shader는 각 정점(꼭지점) fragment shader는 각 픽셀에 한번 호출되게 되는데 각 정점 사이의 값들은 [보간법]을 거쳐 전달되게 된다(그라디언트 같은 느낌이다 중간값을 알아서 만들어 준다).
         각 정점 사이에 있는 픽셀 마다 호출된다. 주로 광원효과를 적용한 픽셀의 최종적인 색깔이나 텍스쳐 연산에 사용된다. varying변수를 vertex shader에서 fragment shader로 넘겨주면 각 정점 사이에는 보간법으로 변환된 값이 넘어 온다.
         varying vec4 vFinalColor;
         varying vec3 vNormal;
         void main(void){
          vFinalColor = Id;
          vFinalColor.a = 1.0;
         varying vec4 vFinalColor;
         varying vec3 vNormal;
         void main(void) {
          gl_FragColor = vFinalColor + vec4(0.01,0.01,0.01, 1.0);
          "indices" : [
         var init = function(){
         setTimeout(init, 0);
          gl.bindBuffer(gl.ARRAY_BUFFER, buffer.vertex);
          gl.vertexAttribPointer(shader.aVertexPosition, 3, gl.FLOAT, false, 0, 0);
          gl.bindBuffer(gl.ARRAY_BUFFER, buffer.normal);
  • 강희경/메모장 . . . . 48 matches
         #include <stdio.h>
         #include <stdlib.h>
         #define NUMBER_OF_SCORES 5
          int sum;
          int max;
          int min;
          int score;
          int rank;
         void InputScores(struct ArratData* aArrayData, struct ScoreData* aArray);
         void PrintArray(struct ArratData* aArrayData, struct ScoreData* aArray);
         void PrintRanks(struct ScoreData* aArray);
         int main(){
          InputScores(&arrayData, scoreArray);
          PrintArray(&arrayData, scoreArray);
          PrintRanks(scoreArray);
         void InputScores(struct ArratData* aArrayData, struct ScoreData* aArray){
          int count = 0;
          printf("\nEnter a number for score[%d] : ", count);
          aArrayData->min = aArray[count].score;
          if(aArray[count].score < aArrayData->min){
  • 덜덜덜/숙제제출페이지2 . . . . 48 matches
         #include <stdio.h>
         #include <stdlib.h>
         int main()
          int pattern_num;
          int i, j;
          int blank;
          printf("출력 할 마름모 변의 패턴수를 입력하십시오(정수>0) :");
          printf("출력 할 마름모 패턴 모양을 입력하십시오(문자) :");
          printf(" ");
          printf("%c", pattern_shape);
          printf("n");
          printf(" ");
          printf("%c", pattern_shape);
          printf("n");
         #include <stdio.h>
         #include <string.h>
         void main()
          int i, j, k;
          printf("패턴모양을 입력하십시오 :");
          printf(" ");
  • 데블스캠프2005/java . . . . 48 matches
         '''Early history of JavaLanguage (quoted from [http://en.wikipedia.org/wiki/Java_programming_language#Early_history wikipedia] ):
         The Java platform and language began as an internal project at Sun Microsystems in the December 1990 timeframe. Patrick Naughton, an engineer at Sun, had become increasingly frustrated with the state of Sun's C++ and C APIs and tools. While considering moving to NeXT, Patrick was offered a chance to work on new technology and thus the Stealth Project was started.
         The Stealth Project was soon renamed to the Green Project with James Gosling and Mike Sheridan joining Patrick Naughton. They, together with some other engineers, began work in a small office on Sand Hill Road in Menlo Park, California to develop a new technology. The team originally considered C++ as the language to use, but many of them as well as Bill Joy found C++ and the available APIs problematic for several reasons.
         Their platform was an embedded platform and had limited resources. Many members found that C++ was too complicated and developers often misused it. They found C++'s lack of garbage collection to also be a problem. Security, distributed programming, and threading support was also required. Finally, they wanted a platform that could be easily ported to all types of devices.
         According to the available accounts, Bill Joy had ideas of a new language combining the best of Mesa and C. He proposed, in a paper called Further, to Sun that its engineers should produce an object-oriented environment based on C++. James Gosling's frustrations with C++ began while working on Imagination, an SGML editor. Initially, James attempted to modify and extend C++, which he referred to as C++ ++ -- (which is a play on the name of C++ meaning 'C++ plus some good things, and minus some bad things'), but soon abandoned that in favor of creating an entirely new language, called Oak named after the oak tree that stood just outside his office.
         Like many stealth projects working on new technology, the team worked long hours and by the summer of 1992, they were able to demo portions of the new platform including the Green OS, Oak the language, the libraries, and the hardware. Their first attempt focused on building a PDA-like device having a highly graphical interface and a smart agent called Duke to assist the user.
         In November of that year, the Green Project was spun off to become a wholly owned subsidiary of Sun Microsystems: FirstPerson, Inc. The team relocated to Palo Alto. The FirstPerson team was interested in building highly interactive devices and when Time Warner issued an RFP for a set-top box, FirstPerson changed their target and responded with a proposal for a set-top box platform. However, the cable industry felt that their platform gave too much control to the user and FirstPerson lost their bid to SGI. An additional deal with The 3DO Company for a set-top box also failed to materialize. FirstPerson was unable to generate any interest within the cable TV industry for their platform. Following their failures, the company, FirstPerson, was rolled back into Sun.
  • 데블스캠프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");
  • 중위수구하기/나휘동 . . . . 48 matches
         = Using Swap ver.1 =
         #!/usr/bin/python
          maxIndex = aList.index(max(aList[0:k]))
          minIndex = aList.index(min(aList[k+1:n+1]))
          if aList[maxIndex] <= aList[k] <= aList[minIndex]:
          elif aList[maxIndex] <= aList[minIndex]:
          if aList[maxIndex] > aList[k]:
          swapList(aList, k, maxIndex)
          elif aList[minIndex] < aList[k]:
          swapList(aList, k, minIndex)
          else:# aList[maxIndex] > aList[minIndex]:
          swapList(aList, maxIndex, minIndex)
          for i in range(n):
          for i in range(0,k+1):
         if __name__ == '__main__':
          for i in range(1, int(sys.argv[1])):
          print i, metric(i), i**2, i*math.log(i)
          test= range(int(sys.argv[1]))
          print getMedian(test)
          test= range(int(sys.argv[1]))
  • AcceleratedC++/Chapter2 . . . . 47 matches
         #include <iostream>
         #include <string>
         using std::cin;
         using std::cout;
         using std::string;
         using std::endl;
         int main() {
          string name;
          cin >> name;
          // build the message that we intend to write
          const string greeting = "Hello, " + name + "!";
          // the number of blacks surrounding the greeting
          const int pad = 1;
          const int rows = pad * 2 + 3;
          const string::size_type cols = greeting.size() + pad * 2 + 2;
          // write blank line to separate the output from the input
          // invariant: we have written r rows so far
          for (int r = 0; r != rows ; ++r) {
          string::size_type c = 0;
          // invariant: we have written c
  • ClassifyByAnagram/인수 . . . . 47 matches
         #include <map>
         #include <string>
         #include <iostream>
         #include <fstream>
         using namespace std;
          typedef map< string, map<char, int> >::iterator MSMCII;
          typedef map< char, int > MCI;
          map< string, map<char, int> > _anagramTable;
          void CalWhatAnagram(const string& str)
          for(int i = 0 ; i < str.size() ; ++i)
          MCI value = _anagramTable.begin()->second;
          for(MSMCII i = _anagramTable.begin() ; i != _anagramTable.end() ; )
         int main()
          ifstream fin("input.dat");
          string t;
          while(!fin.eof())
          getline(fin, t);
          fin.close();
         #include <map>
         #include <string>
  • CodeRace/20060105/도현승한 . . . . 47 matches
         #include <fstream>
         #include <vector>
         #include <algorithm>
         #include <iostream>
         #include <string>
         #include <ctype.h>
         using namespace std;
          int count;
          string word;
         void showStrVec(vector<string>& aVec)
          for (int i = 0; i < aVec.size(); i++)
          for(vector<string>::iterator iter = aVec.begin(); iter!=aVec.end(); iter++)
          for (int i = 0; i < aVec.size(); i++)
          for(vector<string>::iterator iter = aVec.begin(); iter!=aVec.end(); iter++)
         int findWord(vector<leonardong>& findVec, string str)
          for (int i = 0; i < findVec.size(); i++)
          if (findVec[i].word == str)
         string clearString(string str)
          int index = 0;
          string temp;
  • CryptKicker2/문보창 . . . . 47 matches
         #include <iostream>
         #include <cstring>
         #include <string>
         #include <cctype>
         using namespace std;
         const int MAX_LEN = 81;
         const int PROPER_LEN = 43;
         bool input(string & s, char * rul);
         void findRule(char * str, char * rul);
         void decoding(string & s, char * rul);
         inline void output(string & s) { cout << s; }
         int main()
          int nCase;
          cin >> nCase;
          cin.get(), cin.get();
          int i;
          string s;
          if (input(s, rule))
          decoding(s, rule);
         bool input(string & s, char * rul)
  • JavaStudy2004/조동영 . . . . 47 matches
          protected int unitHp;
          protected int unitShield;
          protected int attackPoint;
          protected String nowState;
          public String name;
          public Unit(int hp, int shield, int attack, String state, boolean air) {
          this.attackPoint = attack;
          * public String changeState(String aState) { this.nowState = aState; return
          public void underattack(int aAttackPoint) {
          int totalHp;
          totalHp -= aAttackPoint;
          System.out.println("공격받은후의 Dragoon의 Hp와 Shield");
          System.out.print(unitHp);
          System.out.print(unitShield);
          System.out.println("공격받은후의 Dragoon의 Hp와 Shield");
          System.out.print(unitHp);
          System.out.print(unitShield);
          System.out.println("공격받은후의 Dragoon의 Hp와 Shield");
          System.out.print(unitHp);
          System.out.print(unitShield);
  • Lotto/강소현 . . . . 47 matches
         ||Problem||2245||User||talin0528||
         public class Main{
          public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
          while(sc.hasNextInt()){
          int k = sc.nextInt();
          int[] S = new int [k];
          for(int i=0; i<k; i++)
          S[i] = sc.nextInt();
          printPossibleNum(S);
          private static void printPossibleNum(int[] S) {
          int num = (int) (Math.pow(2,S.length-6)-1);
          int [] bin = decToBin(num);
          int count = 0;
          for(int i=0; i<S.length; i++){
          if(bin[S.length-i-1]==0){
          System.out.print(S[i]+" ");
          System.out.println(S[i]);
          num = increase(bin);
          System.out.println("");
  • Omok/상규 . . . . 47 matches
         #include <iostream.h>
         #include <conio.h>
         #define UP_KEY 0x48
         #define DOWN_KEY 0x50
         #define LEFT_KEY 0x4B
         #define RIGHT_KEY 0x4D
         #define ESC_KEY 0x1B
         #define SPACE_KEY 0x20
         int check(int board[19][19], int x, int y, int n, int skip=-1);
         int check33(int board[19][19], int x, int y);
         void main()
          for(int i=0;i<19;i++)
          for(int j=0;j<19;j++) cout << " +";
          int x=0, y=0;
          int key;
          int player=0;
          int board[19][19]={0,};
          cout << playerchar[player] << " WIN";
         int check(int board[19][19], int x, int y, int n, int skip)
          int move[4][2][2]={ { { 1, 0 }, { -1, 0 } },
  • 렌덤워크/조재화 . . . . 47 matches
         #include <iostream>
         #include<cstdlib> // For rand() and srand()
         #include<ctime> //For time(0)
         using namespace std;
         int count[40][20]; //maximum size of the count array is 40*20
         int imove[8] = {-1,0,1,1,1,0,-1,-1};
         int jmove[8] = {1,1,1,0,-1,-1,-1,0};
         int counter = 0;
         int ibug, jbug; //start point(x,y)
         int n,m; //array's range is n*m
         void input();
         void init();
         int main()
          init(); //inital count array
          input(); //input the board size
          output(); //print result about count_array and Total_count_Number
         void init() //inital count array
          for(int i=0; i<n; i++)
          for (int j=0; j<m;j++)
         void input()
  • 문자반대출력/허아영 . . . . 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>
  • 새싹교실/2011/무전취식/레벨9 . . . . 47 matches
          * pointer
         == Ice Breaking ==
          * 아악~ Ice Breaking이 저장이 안됬어 ㅠㅠ!!!!!
         #include <stdio.h>
         #define N 10
         void selectionSort(int A[], int size);
         int main()
          int i;
          int a[N];
          printf("%d\n",a[i]);
         void selectionSort(int A[], int size)
          int i,j,temp;
          // sort in increasing order
         #include <stdio.h>
         #include <math.h>
         int main()
          int i,count = 0 ;
          float savePoint[20];
          savePoint[count] = float_val;
          val += pow((savePoint[i] - ave),2);
  • Classes . . . . 46 matches
         === [EngineeringMathmethicsClass] ===
         [http://www.yes24.com/Goods/FTGoodsView.aspx?goodsNo=1949638&CategoryNumber=002001026004 Advanced Engineering Mathematics 9/E]
         [http://www.aladdin.co.kr/shop/wproduct.aspx?ISBN=8971291346 최신 공업수학]
         [http://www.xper.org/wiki/seminar/TheDragonBook]
         [http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200012050016 Compilers]
         [http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-045JSpring-2005/CourseHome/index.htm MIT open course ware] [[ISBN(0534950973)]]
         [http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200309190006 Database Design Concept]
          * Final Demonstration is 5 Jun.
         [http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200401090003 Computer Graphics with Open GL 3rd Ed]
         [http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-837Fall2003/CourseHome/index.htm MIT open course ware]
         [http://ocw.mit.edu/OcwWeb/Mathematics/18-06Spring-2005/CourseHome/index.htm Linear Algebra]
          * Assingment
          * Intersection - adaptive depth control, bounding volumes, first-hit Speedup
          * Anti-aliasing - distributed RT
          * Coloring - reflection, shade, texture...
          * http://en.wikipedia.org/wiki/Ray_tracing
          * http://en.wikipedia.org/wiki/Anti-aliasing
          * http://www.3dsmax.net/4_article/rendering.htm
         [http://orchid.cse.cau.ac.kr/course/cn/index.php Home]
          * [http://orchid.cse.cau.ac.kr/course/cn/index.php?code=project1 #1] is due to 27 Mar.
  • DevelopmentinWindows/APIExample . . . . 46 matches
         #include <windows.h>
         #include "resource.h"
         HINSTANCE hInst;
         LPCSTR szWindowClass = "API Window Class";
         ATOM MyRegisterClass(HINSTANCE hInstance);
         BOOL InitInstance(HINSTANCE, int);
         LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
         LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM);
         int APIENTRY WinMain(HINSTANCE hInstance,
          HINSTANCE hPrevInstance,
          LPSTR lpCmdLine,
          int nCmdShow)
          MyRegisterClass(hInstance);
          if (!InitInstance (hInstance, nCmdShow))
         ATOM MyRegisterClass(HINSTANCE hInstance)
          wcex.hInstance = hInstance;
          wcex.lpszClassName = szWindowClass;
         BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
          hInst = hInstance;
          hWnd = CreateWindow(szWindowClass, "API", WS_OVERLAPPEDWINDOW,
  • Refactoring/OrganizingData . . . . 46 matches
         ["Refactoring"]
         = Chapter 8 Organizing Data p169 =
          * You are accessing a field directly, but the coupling to the field is becoming awkward. [[BR]] ''Create getting and setting methods for the field and use only those to access the field.''
          private int _low, _high;
          boolean includes (int arg){
          private int _low, _high;
          boolean includes (int arg){
          int getLow() {return _low;}
          int getHigh() {return _high;}
          * You have a data item that needs additional data or behavior. [[BR]] ''Turn the data item into an object.''
          * You have a class with many equal instances that you want to replace with a single object. [[BR]] ''Turn the object into a reference object.''
          * You have a reference object that is small, immutable, and awkward to manage. [[BR]] ''Turn it into a balue object.''
          * You have an array in which certain elements mean different things. [[BR]]''Replace the array with an object that has a field for each element.''
          String[] row = new String[3];
          row.setWins("15");
          * You have domain data available only in a GUI control, and domain methods need access. [[BR]] ''Copy the data to a domain object. Set up an observer to synchronize the two pieces of data.''
          * You have two classes that need to use each other's features, but there is only a one-way link.[[BR]]''Add back pointers, and change modifiers to update both sets.''
          * You have a literal number with a paricular meaning. [[BR]] ''Crate a constant, name it after the meaning, and replace the number with it.''
          static final double GRAVITATIONAL_CONSTANT = 9,81;
          public String _name;
  • SmithNumbers/신재동 . . . . 46 matches
         #include <iostream>
         #include <vector>
         using namespace std;
         const int MAX_TEST = 100;
         const int MAX_PRIME_NUMBER = 100000;
         int MAIN_PRIME_NUMBER[MAX_PRIME_NUMBER] = {0,};
         int testCase;
         int number;
         int smithNumbers[MAX_TEST] = {0,};
         void input();
         void process(int i);
         int sumPositionOfNumber(int testNumber);
         int sumFactorizationOfNumber(int testNumber);
         bool isSmithNumber(int n);
         int factorization(int testNumber);
          int primeCount = 0;
          MAIN_PRIME_NUMBER[primeCount++] = 2;
          for (int i = 3; primeCount < MAX_PRIME_NUMBER; i += 2)
          for (int j = 0; j < primeCount; j++)
          if (i % MAIN_PRIME_NUMBER[j] == 0)
  • TestDrivenDatabaseDevelopment . . . . 46 matches
         TDD 로 Database Programming 을 진행하는 방법 & 경험들.
          private String writer;
          private String title;
          private String body;
          public void setUp() throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException {
          initConnection();
          repository.initialize();
          uninitConnection();
          String writerEdited = "writerEdited";
          String titleEdited = "titleEdited";
          String bodyEdited = "bodyEdited";
          public void testArticleTableInitialize() throws ClassNotFoundException, IllegalAccessException, InstantiationException, SQLException {
          repository.initialize();
          String articleTableName = "articlelist";
          String sqlStr="select id, writer, title, body from " + articleTableName;
          private void initConnection() throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException {
          String hostname = "localhost";
          String dbname = "reset";
          String userId = "reset";
          String userPass = "reset";
  • 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) {
  • whiteblue/NumberBaseballGame . . . . 46 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int random_input[3];
         int input[3];
         int strike,ball;
         int main()
          int question;
          random_input[0] = rand()%10;
          random_input[1] = rand()%10;
          random_input[2] = rand()%10;
          } while(random_input[0] == random_input[1] || random_input[1] == random_input[2] || random_input[0] == random_input[2]);
          cout << "\t" << random_input[0] << random_input[1] << random_input[2] << endl;
          for (int i = 1 ; i<= 8 ; i++)
          cin >> question;
          input[2] = question%10;
          input[1] = (question%100 - input[2])/10;
          input[0] = (question - input[1]*10 - input[2])/100;
          if (input[0] == input[1] || input[1] == input[2] || input[0] == input[2])
          for (int i = 0 ; i <= 2 ; i++)
  • 만년달력/곽세환,조재화 . . . . 46 matches
         #include<iostream>
         using namespace std;
         bool isYunYear(int x); // 윤년인지 여부를 판별
         int monthDays(int x,int y); // 월의 일수를 계산하는 함수
         int main()
          int year, month; // year,month는 입력받은 년,월
          cin >> year >> month; // year 은 알고 싶은 년도, month 는 알고 싶은 달.
          int yunYear4Year = year / 4;
          int yunYear100Year = year / 100;
          int yunYear400Year = year / 400;
          int yunYearTotal = yunYear4Year - yunYear100Year + yunYear400Year;
          int weekDay = (year + yunYearTotal) % 7; // (year+z)%7은 년의 1월의 요일
          for(int i = 0 ; i < month-1 ; i++)
         bool isYunYear(int x)//윤년을 계산하는 함수
         int monthDays(int x, int y)//월의 일수를 계산하는 함수
         #include<iostream>
         using namespace std;
         bool isYunYear(int x); // 윤년인지 여부를 판별
         int monthDays(int x,int y); // 월의 일수를 계산하는 함수
         int getMonthWeekDay(int x, int y);
  • 새싹교실/2012/앞부분만본반 . . . . 46 matches
         Linear Algebra and C programming
         == 1회차 - 3/17(Linear Algebra) ==
         Linear Algebra에 대한 전체적인 구성
         1장 Linear Equations in Linear Algebra 에서
         Linear Equations 와 Matrices 의 비교,
         Linear System이 무엇인지 설명 -> Linear Equation의 집합
         그에 따른 Linear System이 가지고 있는 해 종류
         3. infinitely many solution
         1 -> inconsistent
         == 1회차 - 3/18(Linear Algebra) ==
         Linear System 과 Matrix equation사이의 상관관계를 설명함.
         *elimination(소거법) 에 대한 설명
         E.R.O는 reversible 하므로 그에 대한 inverse E.R.O를 설명함.
         ||E.R.O||inverse E.R.O||
         == 1회차 - 3/18(C programming) ==
         5. printf 함수의 기본적인 이해
         #include <stdio.h>
         int main(void)
          printf("Hello world! \n");
         #include<stdio.h>
  • 정모/2011.4.4/CodeRace . . . . 46 matches
          * PairProgramming
          static private String name = "";
          public String city;
          public person(String name){this.name = name;}
          System.out.println(name + "은/는 지금 "+city+"에있다");
          private static String city = "A";
          public static void main(String[] args) {
         // System.out.println(city);
         // System.out.println(city);
         // System.out.println(city);
         #include<iostream>
         using namespace std;
         void main(){
          int i1 = -1, i2 = -1;
          cin >> i1;
          cin >> i2;
         #include <stdio.h>
          int id;
         int main(int argc, const char **argv) {
          public int maxNum;
  • 큰수찾아저장하기/김태훈zyint . . . . 46 matches
         #include <stdio.h>
         #define ROW 4
         #define COL 4
         void prt_array(int value[ROW][COL]);
         int main(int argc, char* argv[])
          //int value[4][4]={ {1,2,3}, {3,4,5}, {4,5,6}};
          int max;
          int i,j;
          int value[ROW][COL];
         void prt_array(int value[ROW][COL])
          int i=ROW,j=COL;
          printf("%d ",value[i][j]);
          printf("\n");
         #include <stdio.h>
         #define ROW 4
         #define COL 4
         #define DEBUG
         void prt_array(int value[ROW][COL]); //행렬 출력
         void swap(int* x,int* y); //두 파라미터를 바꾸기
         void transpose(int (*value)[COL]); //행렬의 diagonal을 기준으로 transpose
  • 5인용C++스터디/소켓프로그래밍 . . . . 45 matches
          Socket 생성 -> Socket 에 이름연결 (bind)
          [Dialog based] -> [Windows Sockets]를 설정
         #include "ChildSock.h"
         #include "ListenSock.h"
          void InitServer();
          void SendData(CString& strData);
         void CServerApp::InitServer()
          m_pMainWnd->GetDlgItem(IDC_SEND)->EnableWindow(TRUE);
         void CServerApp::SendData(CString& strData)
          CString strText;
          UINT nPort;
          ((CListBox*)m_pMainWnd->GetDlgItem(IDC_LIST1))->InsertString(-1, strText);
          CString strText;
          UINT nPort;
          ((CListBox*)m_pMainWnd->GetDlgItem(IDC_LIST1))->InsertString(-1, strText);
          m_pMainWnd->GetDlgItem(IDC_SEND)->EnableWindow(FALSE);
          다이얼로그가 초기화될 때 서버로 작동하도록 CServerDlg 클래스의 OnInit Dialog()함수에 다음 코드를 삽입한다.
          ((CServerApp*)AfxGetApp)->InitServer();
          GetDlgItem(IDC_SEND)->EnableWindow(FALSE);
          CString strData;
  • 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;
  • CVS/길동씨의CVS사용기ForRemote . . . . 45 matches
         먼저 다음 내용의 cvs login을 위한 cvs_set_remote.bat 란 세팅 배치 파일을 만들었다.
         SET PATH=%PATH%;"C:\Program Files\GNU\WinCvs 1.3"
         .\>cvs login
         Logging in to :pserver:neocoin2@165.194.17.15:2401/home/CVS
         cvs server: Updating HelloWorld
         #include <stdio.h>
         int main(int argc, char* argv[]){
          printf("Hello World\n");
         cvs server: scheduling file `HelloWorld.cpp' for addition
         cvs commit: Examining .
         Checking in HelloWorld.cpp;
         initial revision: 1.1
         C:\User>cvs login
         Logging in to :pserver:neocoin2@165.194.17.15:2401/home/CVS
         cvs server: Updating HelloWorld
         #include <iostream>
         using namespace std;
         int main(int argc, char* argv[]){
         cvs commit: Examining .
         Checking in HelloWorld.cpp;
  • EightQueenProblem/이선우 . . . . 45 matches
          public static final char BLANK_BOARD = '.';
          public static final char QUEEN_MARK = 'Q';
          private int numberOfBoard;
          private int sizeOfBoard;
          private int [] board;
          public NQueen( int sizeOfBoard )
          board = new int[sizeOfBoard];
          protected void initBoard()
          initBoard( 0 );
          protected void initBoard( int from )
          for(int i=from; i<sizeOfBoard; i++ ) board[i] = -1;
          public void findPosition()
          initBoard();
          setLinePosition( 0 );
          private void setLinePosition( int line )
          if( line == sizeOfBoard ) {
          //printBoard();
          initBoard( line-1 );
          for( int i=0; i<sizeOfBoard; i++ ) {
          board[line] = i;
  • 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)
  • JavaScript/2011년스터디/URLHunter . . . . 45 matches
         [http://probablyinteractive.com/url-hunter URLHunter]를 만들어보자!!
          var maintimer=null;
          function init(){
          if(maintimer==null){
          maintimer=setInterval("gametimer();", 1000);
          clearInterval(maintimer);
          maintimer=null;
          <body onload="init();" onkeydown="keyevent();">
          <input type="button" value="pause" onclick="pause();"/>
          Your gun point is 'O' and Others are Monsters.
          setInter = setInterval("URLChange();",100);
         var CrtURL = (document.URL.indexOf('#') == -1)? document.URL+'#': document.URL.slice(0,document.URL.indexOf('#')+1);
          clearInterval(setInter);
          location.href = CrtURL + " You caught \'" + map.r.join('') + "\'";
          alert("Press F5 to play again");
          location.href = CrtURL + " "+timer.t +"|" + map.s.join('') + "|"+timer.t + " You caught \'" + map.r.join('') + "\'";
         document.onkeydown = KeyInput;
         function KeyInput(e){
          var code = (window.event)? window.event.keyCode: e.which;
         function init(){
  • CrackingProgram . . . . 44 matches
         발표자료 : Upload:CrackingProgram.ppt
         #include <iostream>
         using namespace std;
         int add(int a, int b);
         int main()
          int a, b, c;
         int add(int a, int b)
          int c;
         1: #include <iostream>
         2: using namespace std;
         4: int add(int a, int b);
         6: int main()
         8: int a, b, c;
         16: int add(int a, int b)
         18: int c;
         #include <iostream>
         using namespace std;
         void main()
          cout << "input password : ";
          cin >> pass;
  • Emacs . . . . 44 matches
          * [http://ftp.gnu.org/pub/gnu/emacs/windows/ Download]는 여기서 하면 됩니다. 윈도우즈 용이라 버전이 약간 낮네요.
         받아서 압축을 풀고 바로 사용할 수 있습니다. 하위 폴더중에 bin 폴더가 있는데 그 안에 있는 실행파일이 있습니다.
         === Minor Mode ===
          * [http://wiki.zeropage.org/wiki.php/Emacs/Mode/MinorMode/hs-minor-mode hs-minor-mode]
         이를 위해 먼저 [http://www.emacswiki.org/cgi-bin/wiki/PythonMode PythonMode]를 [http://sourceforge.net/projects/python-mode/ Download]합니다.
          (add-to-list 'interpreter-mode-alist '("python" . python-mode))
          * GNU Emacs 사용시 Windows 7 환경에서 c:\Users\[UserName]\AppData\Roaming 디렉토리에 저장됩니다.
          * .emacs 파일을 작성하거나 편집할 필요가 있을 경우에는 C-x-f ~/.emacs로 해 주면 Windows 환경에서도 알아서 HOME 디렉토리 밑에 만들어 줍니다.
          * ntemacs 에서는 C:\Documents and Settings\UserName\Application Data 에 저장됩니다.
         ; Initialize
         (package-initialize)
          * 해당 패키지 줄에서 i(install)로 설치할 패키지의 선택, d(delete)로 지울 패키지 선택, x(execute)로 선택된 작업들 실행.
          * 추천 패키지 : [Anything] or [helm], [auto-complete], [tabbar], [ecb], [yasnippet]
          4. emacs 설정 파일인 .emacs 혹은 init.el 파일에 설치한 cedet을 로드하기위한 elisp코드를 다음과 같이 써준다.
         ;; 'warning: cedet-called-interactively-p called with 0 arguments, but requires 1' error repairing
         (setq byte-compile-warnings nil)
         ;; See cedet/common/cedet.info for configuration
         (semantic-load-enable-minimum-features)
         참고#2. lisp코드중에서 load file 하는 부분을 나같은 경우는(load-file "~/.emacs.d/cedet/common/cedet.el")과 같이 적었다. 경로의 ~/는 나는 윈도우에서 cygwin을 통해서 emacs를 쓰고 있어서 환경변수 HOME의 경로를 저렇게 표현할 수 있다.
         참고#3. lisp 코드의 (setq byte-compile-warning nil)은 이 코드 바로 위의 주석에 해당하는 오류가 발생하여서 해결책으로 작성한 코드이다. 혹시 이 코드로 인해 다른 오류가 발생하거나 한다면, 이를 지우거나 구글링을 통해 다른 방법을 찿길 바란다.ㅠㅜ
  • GTK+ . . . . 44 matches
         GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites.
         GTK+ is free software and part of the GNU Project. However, the licensing terms for GTK+, the GNU LGPL, allow it to be used by all developers, including those developing proprietary software, without any license fees or royalties.
         GLib is the low-level core library that forms the basis of GTK+ and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.
         Pango is a library for layout and rendering of text, with an emphasis on internationalization. It forms the core of text and font handling for GTK+-2.0.
         The ATK library provides a set of interfaces for accessibility. By supporting the ATK interfaces, an application or toolkit can be used with such tools as screen readers, magnifiers, and alternative input devices.
         GTK+ has been designed from the ground up to support a range of languages, not only C/C++. Using GTK+ from languages such as Perl and Python (especially in combination with the Glade GUI builder) provides an effective method of rapid application development.
         #include <gtk/gtk.h>
         static void hello(GtkWidget *widget, gpointer data)
          g_print("Hello, World!!\n");
         static gboolean delete_event(GtkWidget *widget, GdkEvent *event, gpointer data)
          g_print("delete event occurred\n");
         static void destroy(GtkWidget *widget, gpointer data)
          gtk_main_quit();
         int main(int argc, char* argv[])
          GtkWidget *window;
          gtk_init(&argc, &argv);
          window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
          g_signal_connect(G_OBJECT(window), "delete_event", G_CALLBACK(delete_event), NULL);
          g_signal_connect(G_OBJECT(window), "destroy", G_CALLBACK(destroy), NULL);
          gtk_container_set_border_width(GTK_CONTAINER(window), 10);
  • Hartals/조현태 . . . . 44 matches
         #include <stdio.h>
         #include <iostream>
         const int NUMBER_NOMAL_DAY=2;
         const int NOMAL_DAYS[NUMBER_NOMAL_DAY]={6,7};
         int day_simulate(int, int, int*);
         void main()
          int stage;
          int* mans;
          int* days;
          int** mans_days;
          printf("횟수를 입력하십시오.\n>>");
          days=(int*)malloc(sizeof(int)*stage);
          mans=(int*)malloc(sizeof(int)*stage);
          mans_days=(int**)malloc(sizeof(int*)*stage);
          for (int i=0; i<stage; ++i)
          printf("시뮬레이션 할 날의 수를 입력하십시오.\n>>");
          printf("연합의 수를 입력하십시오.\n>>");
          mans_days[i]=(int*)malloc(sizeof(int)*mans[i]);
          printf("각 연합들의 파업주기를 입력하십시오.\n");
          for (int j=0; j<mans[i]; ++j)
  • JTDStudy/첫번째과제/장길 . . . . 44 matches
          public int[]ball = new int[3];
          public int count= 0;
          public int creatBall() {
          return (int) (Math.random()*1000);
          public int getBall(int i) {
          public void setBall(int number) {
          for(int i = 1 ; i < 101 ; i*=10){
          ball[count++]= ((int)number/(100/i));
          public int dBall[]= new int[3];
          public int pBall[]= new int[3];
          private int strike=0;
          private int ball= 0;
          private boolean win= true;
          public Judgement(int[] dealer, int[] player) {
          for(int i = 0; i < 3; i++){
          for(int j= 0; j<3 ; j++){
          if( strike == 3) win= false;
          public int getStrikeConclusion() {
          public int getBallConclusion() {
          return win;
  • 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]);
  • MagicSquare/재동 . . . . 44 matches
          def testInitializeBoard(self):
          def __init__(self):
          self.initializeBoard()
          for i in range(self.boardLength+1):
          for j in range(self.boardLength+1):
          def initializeBoard(self):
          for i in range(self.boardLength+1):
          for j in range(self.boardLength+1):
          def printBoard(self):
          for i in range(1,self.boardLength+1):
          for j in range(self.boardLength):
          print self.board[i][j],"\t",
          print
         if __name__ == "__main__":
          #unittest.main()
          input = int(raw_input('Input(odd number): '))
          if input % 2 == 1:
          magicSquare.setBoard(input)
          magicSquare.printBoard()
          print 'Input must be odd number'
  • MobileJavaStudy/NineNine . . . . 44 matches
         public class NineNine extends MIDlet implements CommandListener{
          private String[] dan;
          private String str;
          public NineNine() {
          dan = new String[8];
          for(int i=2;i<10;i++)
          dan[i-2] = String.valueOf(i) + " dan";
          list = new List("NineNine",List.IMPLICIT,dan,null);
          public void calculNineNine() {
          int dan = list.getSelectedIndex() + 2;
          form = new Form(String.valueOf(dan)+" dan");
          for(int i=1;i<10;i++)
          str += String.valueOf(dan)+" * "+i+" = "+String.valueOf(dan*i)+"\n";
          calculNineNine();
         public class NineNine extends MIDlet implements CommandListener {
          List nineDanList;
          public NineNine() {
          nineDanList = new List("NineNine", List.IMPLICIT);
          for(int i = 2 ; i <= 9 ; i++) {
          nineDanList.append(String.valueOf(i) + " dan", null);
  • TugOfWar/이승한 . . . . 44 matches
         #include <iostream>
         using namespace std;
         const int MAX= 100;
         int maxToZero(int input[]); //가장큰수를 0로 바꾸어주는 함
         int returnAver(int input[]);
         void main(){
          int weight[MAX] = {0};
          int outA[MAX] = {0};
          int outB[MAX] = {0};
          int teamA, teamB;
          int aver = 0;
          int maxInInput = 0;
          int N = 0;
          int inputN = 0;
          int input = 0;
          int A, B;
          cin>>N;
          for(int n = 0; n< N; n++)
          cin.get();
          cin>> inputN;
  • 데블스캠프2006/월요일/함수/문제풀이/이장길 . . . . 44 matches
         #include <iostream.h>
         bool team684(int, int, int);
         int main(void)
          int people, gun, boat;
          cin>>people>>gun>>boat;
         bool team684(int l, int m, int n)
         #include <iostream>
         using namespace std;
         #include <time.h>
         int ran();
         int main(void)
         int ran()
         #include <iostream>
         using namespace std;
         #include <time.h>
         int short1();
         int short2();
         int short3();
         int short4();
         int short5();
  • 새싹교실/2011/學高/1회차 . . . . 44 matches
          * printf()를 사용하기 위해 include 시켜야하는 library(~.h로 끝나는 파일)은 무엇인가?
          * Memory address, binary bits
          * Kinds of programming language: C, C++, Java, Assembly, Python etc.
          * High-level Language VS Low-level Language: Human-kindly VS Machine-Kindly
          * 4 levels of programming: coding -> compile -> linking -> debugging(running). and type of error of an each level.
          * printf("Hello World!\n");: #include<stdio.h>?
         === 자기 반성 및 수정할 점(feeling/finds) ===
          * 잘 쓰지도 못하는 gcc가지고 가르치려면 공부를 해오던가 아니면 아예 windows로 부팅해서 visual studio를 써서 확실하게 가르치겠다.
         === 자기 반성 및 고칠 점(feeling/finds) ===
          * Main Memory
         #include <stdio.h>
         int main()
         printf("hello world!"\n);
         === 자기 반성 및 고칠 점(findings/feelings) ===
          * printf()를 사용하기 위해 include 시켜야하는 library(~.h로 끝나는 파일)은 무엇인가?
          메모리 > CPU, Cache, Main memory (ex RAM..), Secondary memory..
          * #include <stdio.h> : stdio라는 헤더파일의 함수를 사용하기 위해 include 하겠다
          * printf("출력할 내용"); : 기본적으로 출력하는 함수
         === 자기 반성 및 고칠 점(feeling/finds) ===
          * printf()를 사용하기 위해 include 시켜야하는 library(~.h로 끝나는 파일)은 무엇인가?
  • 주민등록번호확인하기/조현태 . . . . 44 matches
         #include <iostream>
         #include <conio.h>
         using namespace std;
         const int BACK_SPACE=8;
         const int CHAR_TO_NUMBER=48;
         void main()
          int cursur=0;
          int input_number[13];
          int sum=0;
          for (register int i=0; i<12; ++i)
          sum+=input_number[i];
          else input_number[cursur]=number*(cursur%8+2);
         #include <iostream>
         #include <conio.h>
         using namespace std;
         const int BACK_SPACE=8;
         const int CHAR_TO_NUMBER=48;
         void main()
          int cursur=0;
          int put_num[13];
  • 5인용C++스터디/윈도우에그림그리기 . . . . 43 matches
         GDI(Graphics Device Interface)란 윈도우의 클라이언트 영역에 그리기를 하는데 사용되는 함수이다. 비디오 출력과 프린터에 그래픽 출력을 책임지고 있는 부분이다. 사용자가 Windows용으로 작성하는 응용 프로그램이 GDI를 사용하여 시각적인 정보를 출력할 뿐 아니라 Windows 자체도 GDI를 사용하여 메뉴, 스크롤 바, 아이콘, 그리고 마우스 커서 같은 사용자 인터페이스 아이템의 시각적인 출력을 수행한다.
         DC(Device Context)는 GDI에 의해 내부적으로 관리되는 데이터 구조체이며 '''그래픽 작업을 하기 위해서 필요한 것'''이다. 그림을 그리고자 할 때에는 반드시 먼저 DC에 대한 핸들을 얻어야 한다. 프로그램에 이 핸들을 주는 것으로 Windows는 사용자가 그 장치를 사용할 수 있도록 허가해 준다. 그러면 핸들을 GDI 함수의 인자로 사용하여 현재 그리고자 하는 장치를 Windows가 식별할 수 있도록 한다.
         DC 핸들을 얻고 해제하는 가장 일반적인 방법은 WM_PAINT 메시지 처리 도중 BeginPaint와 EndPaint 호출을 사용하는 것이다.
         hdc = BeginPaint (hwnd, &ps);
         EndPaint (hwnd, &ps);
         변수 ps는 PAINTSTRUCT 형식의 구조체이다. PAINTSTRUCT 구조체에는 윈도우 프로시저가 클라이언트 영역을 그리는 데 사용할 수 있는 정보들이 저장되어 있다.
         == WM_PAINT ==
         보통 프로그램이 WinMain에서 UpdateWindow를 호출할 때 발생한다. 이것은 윈도우 프로시저로 하여금 클라이언트 영역에 무엇인가를 그리게 한다.
         WM_PAINT 처리는 거의 항상 BeginPaint에 대한 호출로 시작된다.
         hdc = BeginPaint (hwnd, &ps);
         그리고 다음과 같이 EndPaint를 호출하여 끝난다.
         EndPaint (hwnd, &ps);
         두 경우에 있어서 첫번째 인자는 프로그램의 윈도우에 대한 핸들이다. 두번째 인자는 PAINTSTRUCT 형식의 구조체에 대한 포인터이다. PAINTSTRUCT 구조체에는 윈도우 프로시저가 클라이언트 영역을 그리는 데 사용할 수 있는 정보들이 저장되어 있다.
         WndProc은 BeginPaint를 호출하고 난 후 GetClientRect를 호출한다.
         #include <windows.h>
         LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);
         int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmdLine, int nCmdShow)
          char szTitleName[]="Drawing Line";
          wc.hInstance=hInst;
          hWnd=CreateWindow(szClassName,szTitleName, WS_OVERLAPPEDWINDOW,100,90,320,240,NULL,NULL,hInst,NULL);
  • 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(); // 점수을 입력받는 함수
  • Code/RPGMaker . . . . 43 matches
         = Orthogonal projection coordinate system 만들기 =
          public void onSurfaceChanged(GL10 gl, int width, int height) {
          // making background plane
          float[] coordinates = { // position of vertices
          int[] indices = { // index of each coordinate
          Object3D plane = new Object3D(coordinates, uvs, indices, RMObject2D.getTextureIDByColor(Color.white));
          // FOV settings
          buffer = new FrameBuffer(m_width, m_height, FrameBuffer.SAMPLINGMODE_NORMAL);
          init(x1, y1, x2, y2, color);
          init(vStart.x, vStart.y, vEnd.x, vEnd.y, color);
          private void init(float x1, float y1, float x2, float y2, Color color)
          int[] indices = {
          m_polygon = new Object3D(coords, uvs, indices, getTextureIDByColor(color));
         = 2D line class =
         public class RMLine extends RMObject2D {
          private static final Vector3f vectorZ = new Vector3f(0, 0, -1);
          public RMLine(Vector2f vStart, Vector2f vEnd, float width, Color color)
          // line vector
          Vector3f lineVector = new Vector3f();
          lineVector.sub(v3End, v3Start);
  • Marbles/조현태 . . . . 43 matches
         #include <stdio.h>
         int Get_answer(int, int, int, int, int);
         void main()
          int x_1, x_2, y_1, y_2, beads, answer_1=0, answer_2=0;
          printf("구슬의 개수를 입력하세요.(단, 0은 종료)\n>>");
          printf("테스트 케이스의 내용을 입력해 주세요.\n>>");
          printf(">>");
          printf("failed\n");
          printf("결과 : %d, %d",answer_1,answer_2);
         int Get_answer(int answer_1, int answer_2, int x_2, int y_2, int breeds)
          int temp=answer_2*y_2*(-1)+breeds;
         #include <stdio.h>
         int Get_answer(int*, int*, int, int, int);
         const int FALSE=-1;
         const int TRUE=0;
         void main()
          int x_1, x_2, y_1, y_2, beads, answer_1=0, answer_2=0;
          printf("구슬의 개수를 입력하세요.(단, 0은 종료)\n>>");
          printf("테스트 케이스의 내용을 입력해 주세요.\n>>");
          printf(">>");
  • 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
  • TheGrandDinner/김상섭 . . . . 43 matches
         #include <iostream>
         using namespace std;
         #include <vector>
         #include <algorithm>
          int Num;
          int maxNum;
          int Num;
          int maxNum;
          vector<int> tableNum;
         int tableNum, teamNum, i, j, k, l;
          int totalcount = 0;
          sort(test_table.begin(),test_table.end(), compare_table);
          sort(test_team.begin(), test_team.end(), compare_team_max);
          sort(test_table.begin(),test_table.end(), compare_table);
          sort(test_team.begin(), test_team.end(), compare_team_num);
          sort(test_team[i].tableNum.begin(),test_team[i].tableNum.end());
         int main()
          cin >> teamNum >> tableNum;
          cin >> temp1.maxNum;
          cin >> temp2.maxNum;
  • [Lovely]boy^_^/3DLibrary . . . . 43 matches
         #ifndef _3D_INSU_LIB_
         #define _3D_INSU_LIB_
         #include <cmath>
         #include <vector>
         #include <iostream>
         using namespace std;
          int _nRow;
          int _nCol;
          void Init(int nRow, int nCol);
          Matrix(int nRow, int nCol);
          void Init();
          void SetMem(int pivot, float n) { _vec[pivot] = n; }
         #include "3d.h"
         void Matrix::Init(int nRow, int nCol)
          for(int i = 0 ; i < _nRow ; ++i)
          Init(4,4);
          Init(4,4);
         Matrix::Matrix(int nRow, int nCol)
          Init(nRow,nCol);
          Init(m._nRow, m._nCol);
  • 새싹교실/2011/무전취식/레벨2 . . . . 43 matches
          == ICE Breaking ==
         Ice Breaking
          * printf()와 scanf()함수의 쓰임에 대해 말해주었습니다. %c %d %l %f %%등등.
          * 간단한 Array에대한 소개. 다음시간에 더 자세히 말해주겠습니다. int {{{a[10];}}}
          * unsinged int와 int의 차이점? 표현 범위가 어디서부터 어디까지?
         #include<stdio.h>
         int main(){
          int select;
          printf("1이나 2중에 선택해라!");
          scanf("%d",&select); <- input 1
          printf("강원석 바보");
          printf("진영이는 긔엽긔");
         #include<stdio.h>
         int main(){
          int select;
          printf("1이나 2중에 선택해라!");
          scanf("%d",&select); <- input 3
          default : printf("강원석 바보 ");
          case 1: printf("소라는 이쁘지"); break;
          case 2: printf("진영이는 긔엽긔"); break;
  • 이승한/질문 . . . . 43 matches
         void Test(int * Ascores)
          cout << "in function : ";
         void main()
          int scores[4]={1,2,3,4};
          cout<<"in main : ";
         strlen 처럼 int 형 배열의 길이를 구하는 함수를 짜던중 이해 안되는 부분.
         메인에서 들어간 sizeof(scores)는 배열 전체 크기를 리턴하는 반면에 함수에 들어간 sizeof(scores)는 int* 형의 크기를 리턴한다.
         #include<iostream>
         using namespace std;
         void Test(int *aArray, int aLength)
          int *copyArray = new int[aLength];//전달 배열과 같은 크기의 새로운 배열 생성
          for(int index = 0; index < aLength; index++)
          copyArray[index] = aArray[index];//값 복사
          cout << "in function : ";
          for(index = 0; index < aLength; index++)
          cout << copyArray[index] << " ";
          for(index = 0; index < aLength; index++)//copyArray의 모든 값을 0으로 초기화
          copyArray[index] = 0;
          for(index = 0; index < aLength; index++)
          cout << copyArray[index] << " ";
  • 프로그래밍/장보기 . . . . 43 matches
         public class Shopping {
          public static int processOneCase(int num) {
          String line = null;
          String [] contents;
          for(int i = 0; i < num; i++) {
          line = br.readLine();
          e.printStackTrace();
          contents = line.split(" ");
          int price = Integer.parseInt(contents[1]);
          int weight = Integer.parseInt(contents[0]);
          double minRate = rates[0][0];
          int minRateIndex = 0;
          for(int i = 1; i < num; i++) {
          if (rates[i][0] < minRate) {
          minRate = rates[i][0];
          minRateIndex = i;
          else if (rates[i][0] == minRate) {
          if (rates[i][1] < rates[minRateIndex][1]) {
          minRate = rates[i][0];
          minRateIndex = i;
  • BeeMaja/문보창 . . . . 42 matches
         || 2006-02-04 Accepted 0.016 Minimum ||
         #include <iostream>
         using namespace std;
         #define MAXN 100000
          int x;
          int y;
         void set_coord(int& n, const Coord curCoord)
         void go_down(const int len, int& n, Coord& curCoord)
          for (int i = 0; i < len; i++)
         void go_left_up(const int len, int& n, Coord& curCoord)
          for (int i = 0; i < len; i++)
         void go_up(const int len, int& n, Coord& curCoord)
          for (int i = 0; i < len; i++)
         void go_right_up(const int len, int& n, Coord& curCoord)
          for (int i = 0; i < len; i++)
         void go_right_down(const int len, int& n, Coord& curCoord)
          for (int i = 0; i < len; i++)
         void go_left_down(const int len, int& n, Coord& curCoord)
          for (int i = 0; i < len; i++)
         void cruise_comb(const int len, int& n, Coord& curCoord)
  • Bioinformatics . . . . 42 matches
          * 이름 : Bioinformatics
          * 프로젝트 시작동기와 목적 : 본 연구는 차세대 Bio기술에서 컴퓨터 전공자로서 접근할 수 있는 기술인 Bioinformatics에 대한 기초를 닦는 것을 목적으로 한다.
          * 교재 : “Bioinformatics: A practical guide to the analysis of genes and proteins”, Second Edition edited by Baxevanis & Ouellette
         이런 취지에서 NCBI는 sequence-related information에 관한 모델을 만들었다. 그리고 이런 모델을 이용해서 Entrez(data retrieval system)나 GenBank DB(DNA seq.를 저장해둔 DB, 두 가지는 유전자 연구의 중요한 data들이다.)와 같이 소프트웨어나 통합 DB시스템을 가능하게 만들었다.
         GenBank flatfile은 DNA-centered의 보고서이다. DNA중심이라는 것은 어떤 단백질의 유전자 정보를 저장하고 있는 DNA영역이 DNA위의 coding region이라고 불린다. 반대로 대부분의 Protein seq. DB들은 Protein-centered의 관점이며, 이는 단백질과 유전자 사이는 accesion number(유전자를 접근하기위한 DB의 key값) ... 진행중
         National Center for Biotechnology Information 분자 생물 정보를 다루는 국가적인 자료원으로서 설립되었으며, NCBI는 공용 DB를 만들며, 계산에 관한 생물학에 연구를 이끌고 있으며, Genome 자료를 분석하기 위한 software 도구를 개발하고, 생물학 정보를 보급하고 있습니다. - 즉, 인간의 건강과 질병에 영향을 미치는 미세한 과정들을 보다 더 잘 이해하기 위한 모든 활동을 수행
         Established in 1988 as a national resource for molecular biology information, NCBI creates public databases, conducts research in computational biology, develops software tools for analyzing genome data, and disseminates biomedical information - all for the better understanding of molecular processes affecting human health and disease.
         Entrez는 통합 데이터베이스 retrieval 시스템으로서 DNA, Protein, genome mapping, population set, Protein structure, 문헌 검색이 가능하다. Entrez에서 Sequence, 특히 Protein Sequence는 GenBank protein translation, PIR, PDB, RefSeq를 포함한 다양한 DB들에 있는 서열을 검색할 수 있다.
         DNA에 존재하는 4종류의 염기는 아데닌(adenine), 구아닌(guanine), 티민(thymine), 시토신(cytosine), 우라실(uracil)이다. 이들 중에서 피리미딘(pyrimidine)이라고 부르는 thymine, cytosine, uracil은 질소와 탄소로 구성된 6각형의 고리로 되어 있다. 퓨린(purine)이라고 부르는 adenine, guanine은 더 복잡하여, 질소와 탄소로 구성된 6각형과 5각형의 이중 고리로 이루어진다. nucleotide에서 이들 염기들은 deoxyribose의 1번 탄소에 공유결합으로 연결되어 있으며, 인산기는 5번 탄소에 역시 공유결합으로 연결되어 있다. adenine, guanine, cytosine, thymine, uracil은 각각 A, G, C, T,U 로 표기된다.<그림 1>
         유전 형질을 말하며 유전에 관여하는 특정 물질이다. Gene의 모임이 Genome이다. 또한 이 Gene는 DNA에 그 내용이 암호화 되어 있다. 이미 알고 있을지도 모르겠지만, Gene이라는 것은 DNA의 염기 배열이다. 이 염기 배열(base sequence)이 어떤 과정을 통해서 대응되는 순서로 아미노산(amino acid)끼리의 peptide결합을 하여 단백질로 나타는 것을 유전 형질 발현이라고 한다.
         그림 1을 참조하면 DNA는 2중 나선형 구조로 되어있다. 이것이 세포 분열 과정에서 DNA에 유전암호를 복사한 mRNA로 바뀌며 이 mRNA가 Ribosome에 들어가면 tRNA는 mRNA에 담겨있는 DNA유전암호를 분석하여서 대응되는 amino acid를 가져온다. 이런 과정이 반복되고, amino acid사이에는 peptide결합을 이루면서 이는 단백질로 형질 발현이 된다. -- 진행중..
         '''Bioinformatics를 공부하려는 사람들을 위해'''
         절대 컴퓨터 지식만으로 승부걸려고 하지 말아야 할 것 입니다. 컴퓨터 지식만으로는 정말 기술자 수준 밖에 되지 못합니다. 그쪽 지식이 필요하다고 해도 이건 기술적 지식이라기보다는 과학, 즉, 전산학(Computer Science)의 지식이 필요합니다. 그리고 Bioinformatics를 제대로 '''공부'''하려면 컴퓨터 분야를 빼고도 '''최소한''' 생물학 개론, 분자 생물학, 생화학, 유전학, 통계학 개론, 확률론, 다변량 통계학, 미적분을 알아야 합니다. 이런 것을 모르고 뛰어들게 되면 가장자리만 맴돌게 됩니다. 국내에서 Bioinformatics를 하려는 대부분의 전산학과 교수님들이 이 부류에 속한다는 점이 서글픈 사실이죠.
         제대로 된 안내를 받으려면, 원세연 박사님의 사이트를 추천합니다. http://www.bioinformatics.pe.kr/ -- 김창준
  • C++스터디_2005여름/학점계산프로그램/정수민 . . . . 42 matches
         #define GRADE_H_
         #include "student.h"
         #include <iostream>
         using namespace std;
         #include "grade.h"
         #define MAX_STUDENT 121
          for (int i=1;i<MAX_STUDENT;i++) {
          students[i].input();
          int num=MAX_STUDENT/10;
          int good_student_number=0;
          int i,j;
          for (int i=1;i<MAX_STUDENT;i++)
          for (int i=1;i<MAX_STUDENT;i++)
         #define STUDENT_H_
          int school_number;
          void input();
         #include <iostream>
         #include <fstream>
         using namespace std;
         #include "student.h"
  • CarmichaelNumbers/문보창 . . . . 42 matches
         중간에 발생하는 버그를 잡는데 대부분의 시간을 허비했다. 65000 이란 수는 작지만 65000의 제곱은 int형의 범위를 벗어난다. ㅡㅡ; 오버플로우를 교모히 이용한 함정에 고생했다.
         #include <iostream>
         #include <cmath>
         using namespace std;
         const int NORMAL = 1;
         const int CARMICHAEL = 2;
         bool isPrime(int n);
         void show(int n, int type);
         bool isCarmichael(int n);
         bool passFermatTest(int a, int n);
         int findModulo(unsigned int a, unsigned int n);
         int main()
          int n; // n = input integer ( 2 < n < 65,000)
          while (cin >> n && n != 0)
          continue;
         bool isPrime(int n)
          for (int i = 3; i <= sqrt(n) + 1; i += 2)
         void show(int n, int type)
         bool isCarmichael(int n)
          for (int i = 2; i <= n - 1; i++)
  • ContestScoreBoard/차영권 . . . . 42 matches
         #include <iostream>
         using namespace std;
         #define nTeam 101 // 팀 수
         #define nProblem 9 // 문제 번호
          int solvedProblem; // 푼 문제의 수
          int timePenalty; // 시간 패널티
          bool incorrectSubmit[nProblem];
         void init(Team *team);
         void InputInformation(Team *team, bool *joined);
         void RankTeam(Team *team, bool *joined);
         int main()
          bool joined[nTeam] = {false, };
          int nCase;
          int count = 0;
          cin >> nCase;
          cin.get();
          cin.get();
          init(team);
          InputInformation(team, joined);
          RankTeam(team, joined);
  • 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으로 구현된다.
  • HowManyZerosAndDigits/임인택 . . . . 42 matches
         import java.io.InputStreamReader;
         import java.util.LinkedList;
          private int _n;
          private int _b;
          private int _fact;
          private LinkedList numbers;
          public HowManyZerosAndDigits(int n, int b) {
          numbers = new LinkedList();
          System.out.println(howManyZeros() + " " + numDigit());
          public int factorial(int n) {
          int result = 1;
          for(int i=1; i<n+1; ++i) {
          int quotient = _fact / _b;
          int remainder = _fact % _b;
          if( remainder != 0 )
          numbers.add(new Long(remainder));
          remainder = quotient % _b;
          if( !(quotient==0 && remainder==0)) // 제일 상위자리가 0인 경우는 넣지 않는다.
          numbers.add(new Long(remainder));
          public int howManyZeros(long num) {
  • 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()
  • LinkedList/세연 . . . . 42 matches
          DeleteMe ) 내용은 LinkedList 가 아니라 Stack의 구현 사항인데, 문제 사항에는 LinkedList라고 해놨네요.
         #include <iostream.h>
          int data;
          node * node_pointer;
         node * INSERT(node * head_pointer, int num);
         node * DELETE(node * head_pointer);
         int main()
          node * head_pointer = new node;
          head_pointer = NULL;
          int num, choice;
          cin >> choice;
          cin >> num;
          head_pointer = INSERT(head_pointer, num);
          head_pointer = DELETE(head_pointer);
          cin >> choice;
         node * INSERT(node * head_pointer, int num)
          if(head_pointer == NULL)
          head_pointer = temp;
          head_pointer->data = num;
          head_pointer->node_pointer = NULL;
  • OurMajorLangIsCAndCPlusPlus/print/이상규 . . . . 42 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
         #include <stdarg.h>
         #include <ctype.h>
          int dec, sign;
         void print(const char *format, ...)
          int align = 0;
          if(isdigit((int)*c))
          int d = va_arg(args, int);
          int space = align - strlen(str);
          for(int i = 0 ; i < space ; i++)
          fputc((int)' ', stdout);
          int *darr = va_arg(args, int *);
          int len = va_arg(args, int);
          for(int i = 0 ; i < len ; i++)
          int len = va_arg(args, int);
          for(int i = 0 ; i < len ; i++)
          int len = va_arg(args, int);
          for(int i = 0 ; i < len ; i++)
  • 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> 태그 안쪽에 삽입)
  • RandomWalk/대근 . . . . 42 matches
         #include <iostream>
         #include <cstdlib>
         #include <ctime>
         using namespace std;
         int test(int);
         int main()
          srand ( (unsigned int) time (NULL) );
          int line;
          cin >> line;
          int ** rands = new int *[line+2];
          for(int i=0;i<line+2;i++)
          rands[i] = new int [line+2];
          for(i=0;i<line+2;i++)
          for(int j=0;j<line+2;j++)
          for(i=0;i<line+2;i++)
          rands[i][line+1] = -1;
          rands[line+1][i] = -1;
          int x = rand() % line + 1;
          int y = rand() % line + 1;
          int bang;
  • SummationOfFourPrimes/곽세환 . . . . 42 matches
         #include <iostream>
         #include <cmath>
         #include <ctime>
         using namespace std;
         #define PRIME_TABLE_SIZE 100
         int primeTable[PRIME_TABLE_SIZE];
         int primeCnt = 0;
          int i, j;
         bool isPrime(int n)
          int i;
         int main()
          int input;
          int sumOfThreePrimes;
          int primes[4] = {0};
          int i, j, k;
          while (cin >> input)
          for (i = input - 6; i >= 2; i--)
          sumOfThreePrimes = input - i;
          continue;
         #include <iostream>
  • ricoder . . . . 42 matches
         #include <iostream>
         using namespace std;
         int main()
          int a,b,c,d,e,f;
         #include <iostream>
         #include < cstdlib >
         using namespace std;
         int main()
          int k;
          int number,i = 0;
          int array[5] = {0,};
          cin >> number;
          cin >> array[i];
          continue;
          continue;
          continue;
          continue;
         #include <iostream>
         using namespace std;
         #include <cstdlib>
  • 가위바위보/영동 . . . . 42 matches
         #include<iostream.h>
         #include<fstream.h>
         int gawibawibo(char, char);
         void main()
          int result;
          int sunho_win=0;
          int sunho_lose=0;
          int sunho_draw=0;
          char insu;
          ifstream fin("data1.txt");
          fin.getline(name[0], 10);
          fin.getline(name[1], 10);
          while(!fin.eof()){
          fin.get(sunho);
          fin.get(ch);
          fin.get(insu);
          fin.get(ch);
          result=gawibawibo(sunho, insu);
          sunho_win++;
          cout<<"sunho의 승수: "<<sunho_win<<endl;
  • 개인키,공개키/류주영,문보창 . . . . 42 matches
         #include <iostream>
         #include <fstream>
         #include<string>
         using namespace std;
         int main()
          ifstream fin("source.txt"); // fininput.txt를 연결
          string input;
          int key = 74;
          //cin >> key;
          while(!fin.eof())
          fin.get(ch);
          if(fin.eof())
          if((int(ch) + key) < 256)
          for(int j=0;j<key;j++)
          for(int j=0;j<((int(ch) + key)%256);j++)
         #include <iostream>
         #include <fstream>
         #include<string>
         using namespace std;
         int main()
  • 데블스캠프2005/게임만들기/제작과정예제 . . . . 42 matches
          우선 랜덤하게 블럭을 생성하기 위해서 start()함수에 srand((int)time(NULL));라고 적어서, 시간을 이용해서 랜덤하게 나오게 한 다음,
          int block_id;
          for (register int i=0;i<3;++i)
          for (register int j=0; j<4; ++j)
          for (register int i=0;i<3; ++i)
          for (register int j=0; j<4; ++j)
         int move_block(int where)// -1좌 0아래 1우
          int temp_x=x+where;
          int temp_y=y-(where+1)%2;
          int temp_block[4][4]={0,};
          int ground[4]={0,};
          int side[2][4]={0,};
          int swit[2][4]={0,};
          for (register int i=0;i<4; ++i)
          for (register int j=0; j<4; ++j)
          for (register int j=0; j<4; ++j)
          for (register int j=0; j<4; ++j)
          for (register int j=0; j<4; ++j)
          int temp_x=x;
          int temp_y=y;
  • 데블스캠프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])
  • 새싹교실/2011/Pixar/3월 . . . . 42 matches
          * IceBreaking : 진실 혹은 거짓으로 간단히 서로에 대해 알아보았습니다.
          * IceBreaking : 외국인과 만나본 적이 있는지 이야기했습니다.
          * Keywords : 컴파일러, 프로그래밍 언어, printf 함수, main 함수, #include, assert 함수, 변수, 자료형
         int main() {
          printf("Hello world!");
          * main 함수는 프로그램이 시작하는 부분이예요. 앞으로 함수를 배우기 전까지 모든 코드는 main 함수 안에 작성합니다.
          * printf 함수는 콘솔에 내용을 출력해주는 역할을 합니다.
          * printf 함수가 내용을 출력해준다는 것을 컴퓨터가 모르니까요!
         #include <stdio.h>
         int main() {
          printf("Hello world!");
          * 사실 printf가 어떻게 내용을 출력해주는지는 똑똑한 아저씨들이 stdio.h에 미리 써놓았어요. 우리는 #include <stdio.h>라는 코드를 써서 저 파일을 컴퓨터가 읽어볼 수 있도록 알려주기만 하면 됩니다.
          * 위에서 분명 모~든 코드는 main 함수 안에 쓴다고 했는데 #include <stdio.h>는 맨 위에 썼어요.
         #include <stdio.h>
         int main() {
          printf("%d", 3+4);
         #include <assert.h>
         int main() {
         #include <assert.h>
         int main() {
  • 새싹교실/2011/무전취식/레벨7 . . . . 42 matches
         int a[10];
         == Ice Breaking ==
         ICE Breaking
          * Pointer :
         int *p ;
          * 변수에 있는 이름. 2가지. int a and 주소값!!!
         #include <stdio.h>
         void printArray(int x[], int size){
          int i;
          printf("%d",x[i]);
          printf("\n");
         void printArrayByPointer(int *x, int size){
          int i;
          printf("%d",x[i]);
          printf("\n");
         void changeXY(int *x, int * y) //x와 y에는 main에서 넘겨주는 변수의 "주소값"이 복사되는겁니다!
          int temp;
         void changeSimple(int x,int y){
          int temp;
         int main(){
  • 이영호/개인공부일기장 . . . . 42 matches
         ☆ 구입해야할 책들 - Advanced Programming in the UNIX Environment, Applications for Windows, TCP/IP Illustrated Volume 1, TCP/IP Protocol Suite, 아무도 가르쳐주지않았던소프트웨어설계테크닉, 프로젝트데드라인, 인포메이션아키텍쳐, 초보프로그래머가꼭알아야할컴퓨터동작원리, DirectX9Shader프로그래밍, 클래스구조의이해와설계, 코드한줄없는IT이야기, The Art of Deception: Controlling the Human Element of Security, Advanced Windows (Jeffrey Ritcher), Windows95 System Programming (Matt Pietrek)
         ☆ 앞으로 공부해야할 책들(사둔것) - Effective C++, More Effective C++, Exeptional C++ Style, Modern C++ Design, TCP/IP 네트워크 관리(출판사:O'Reilly), C사용자를 위한 리눅스 프로그래밍, Add-on Linux Kernel Programming, Physics for Game Developers(출판사:O'Reilly), 알고리즘(출판사:O'Reilly), Hacking Howto(Matt 저), Windows 시스템 실행 파일의 구조와 원리, C언어로 배우는 알고리즘 입문
         ☆ 레퍼런스 - 리눅스 공동체 세미나 강의록, C언어 함수의 사용법(함수 모음), 데비안 GNU/LINUX, C사용자를 위한 리눅스 프로그래밍, Add-on Linux Kernel Programming, Secure Coding 핵심원리
         2005년 7월 4일 시작(주말마다) : Socket Programming
         2005년 7월 30일 시작(주말마다) : TCP/IP SOCKET PROGRAMMING(Bible)
         6 PE 구조 공부(마스터 수준). & Windows Kernel(리눅스 커널과의 차이점)
         7 API 공부(마스터 수준). & Windows Kernel(리눅스 커널과의 차이점)
         3일 - 대항해시대 온라인 새 버전 Reverse Engineering 준비.
         8일~~31일 - Reverse Engineering (Assembly + PE + Kernel + Packing + Unpacking + Encrypt + Decrypt), 몇몇개의 Game Cracking. 몇몇개의 하드에 저장된 쉐어웨어 시리얼 제작.
         1일 (월) - System Programming
         1일 (월) - 한차례 내 실력이 워핑 했다. 높은 수준으로 올랐다. PCB와 Linux Kernel에 관한 것을 배웠다.
         31 (일) - Network Programming(멀티쓰레드 - POSIX, MUTEX, SEMAPORE), System Programming(Kernel)
         29 (금) - C++(템플릿, Exceptional Handling)
         28 (목) - C++(연산자 오버로딩, 연산자 오버로딩으로 String 클래스 디자인 해보기.)
         23 (토) - Compilers(정말... 정말 이 책 못보겠다. 어렵다. 미치겠다. 같은 부분 3번 읽고서 반정도 이해 되니 이거 무슨 왜 배워야되는지 이유를 알아야 머리에 들어오는데 그냥 무지막지하게 이론만 쓰다니.), Socket/System Programming in C (지난주 복습, 고급입출력, Broadcast/Multicast)
         21 (목) - Compilers, C++공부 시작(C++자체가 쉬워 7일만에 끝낼거 같음. -> C언어를 안다고 가정하고 C++를 가르쳐 주는 책을 보기 시작.), 기본문법, namespace, function overloading, class 추상화, 은닉성까지 완벽하게 정리.
         ☆ 18 (월) - binaryfile to textfile && textfile to binaryfile 소스를 짬. eady.sarang.net계정의 sources에 있음. 모든 커맨드를 막아둔 곳에서 유용하게 쓰임.
         ☆ 18 (월) - /usr/bin/wall Command에 관심을 보임. bof만 제대로 먹히면 root를 먹을 수 있을 것 같음. (binutils 소스를 구해서 분석해봐야겠음.)
         17 (일) - Socket/System Programming in C (Multiplexing)
         16 (토) - Socket/System Programming in C (Signal 처리와 Process간의 Pipe 사용법(IPC)), 유리수, 카네기 행복론.
  • 진법바꾸기/허아영 . . . . 42 matches
         #include <stdio.h>
         void jinsu_change(int, int);
         void main()
          int ten_jinsu, any_jinbeob;
          printf("끝내려면 '0 0' 입력.n");
          printf("5자리이하 10진수, 바꿀 진법 입력(ex: 55 2) : ");
          scanf("%d %d", &ten_jinsu, &any_jinbeob);
          if(any_jinbeob < 0 || any_jinbeob > 24){
          printf("다시 입력해 주세요...");
          if(ten_jinsu == 0)
          jinsu_change(ten_jinsu, any_jinbeob);
         void jinsu_change(int ten_jinsu, int any_jinbeob)
          int temp[50] = {0, };
          int temp_jinsu, turn = 0, i = 0;
          temp_jinsu = ten_jinsu;
          temp[i] = temp_jinsu % any_jinbeob;
          temp_jinsu = temp_jinsu/any_jinbeob;
          }while(temp_jinsu >= any_jinbeob);
          temp[turn] = temp_jinsu;
          printf("10진수 : %d n진법 : %d n결과 : ", ten_jinsu, any_jinbeob);
  • ASXMetafile . . . . 41 matches
          * <ASX>: Indicates an ASX metafile.
          * <Copyright>: Detailed copyright information (e.g., company name and copyright year).
          * <MoreInfo href = "path of the source" / >: Adds hyperlinks to the Windows Media Player interface in order to provide additional resources on the content.
          * <Entry>: Serves a playlist of media by inserting multiple "Entry" elements in succession.
          * <Duration value = "00:00:00">: Sets the value attribute for the length of time a streaming media file is to be played.
          * <Logo href = "path of the logo source" Style = "a style" / >: Adds custom graphics to the Windows Media player by choosing either a watermark or icon style. The image formats that Windows Media Player supports are GIF, BMP, and JPEG.
          o MARK: The logo appears in the lower right corner of the video area while Windows Media Player is connecting to a server and opening a piece of content.
          * How to define the path of source:
          o Windows Media Services Server: File names will start with mms://.
          o ASX files, on the other hand, are small text files that can always sit on an HTTP server. When the browser interprets the ASX file, it access the streaming media file that is specified inside the ASX file, from the proper HTTP, mms, or file server.
          * ?sami="path of the source": Defines the path of a SAMI caption file within the <ref href> tag for media source.
          <Abstract>: This text will show up as a Tooltip and in the Properties dialog box
          <MoreInfo href="http://www.microsoft.com/windows/windowmedia" />
          <MoreInfo href="http://www.microsoft.com/windows/windowsmedia" />
          <MoreInfo href="http://www.microsoft.com/windows/windowsmedia" />
         === ASX Authoring Tools ===
          * [http://cita.rehab.uiuc.edu/mediaplayer/text-asx.html Creating ASX files with a text editor] - [DeadLink]
          * [http://cita.rehab.uiuc.edu/mediaplayer/captionIT-asx.html Creating ASX files with Caption-IT] - [DeadLink]
          * [http://msdn.microsoft.com/workshop/imedia/windowsmedia/crcontent/asx.asp Windows Media metafile] - [DeadLink]
          * [http://msdn.microsoft.com/downloads/samples/internet/imedia/netshow/simpleasx/default.asp MSDN Online Samples : Simple ASX] - [DeadLink]
  • CeeThreadProgramming . . . . 41 matches
         //http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt__beginthread.2c_._beginthreadex.asp
         #include <windows.h>
         #include <stdio.h>
         #include <process.h>
          printf( "In second thread...n" );
          printf( "Thread ID %d => %dn", pArguments, Counter);
         int main()
          printf( "Creating second thread...n" );
          hThread = (HANDLE)_beginthreadex( NULL, 0, &ThreadedFunction, NULL, 0, &threadID );
          hThread2 = (HANDLE)_beginthreadex( NULL, 0, &ThreadedFunction, NULL, 0, &threadID2 );
          InitializeCriticalSection(&cs);
          // Wait until second thread terminates. If you comment out the line
          // terminated, and Counter most likely has not been incremented to
          //WaitForSingleObject( hThread, INFINITE );
          //printf( "Counter should be 1000000; it is-> %dn", Counter );
         = Linux pthread =
         #include <stdio.h>
         #include <stdlib.h>
         #include <pthread.h>
         void *print_message_function( void *ptr );
  • CodeRace/20060105/민경선호재선 . . . . 41 matches
          private Hashtable<String, Integer> map;
          e.printStackTrace();
          map = new Hashtable<String, Integer>();
          public String readLine() {
          String line = null;
          line = br.readLine();
          e.printStackTrace();
          return line;
          String line = null;
          line = readLine();
          if(line == null)
          Scanner sc = new Scanner(line);
          String word = sc.next();
          if (map.containsKey(word)) {
          int n = map.get(word);
          public static void main(String[] args) {
          alice.print(list);
          private void print(ArrayList<Data> list) {
          int size = list.size();
          for(int i = 0; i < size; i++) {
  • 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]
  • MineSweeper/신재동 . . . . 41 matches
         === MineSweeper/신재동 ===
         #include <iostream>
         #include <vector>
         using namespace std;
         const int MINE = -1;
         const int MOVE[3] = {-1, 0, 1};
         void initializeBoard(int maxRow, int maxCol, vector< vector<int> >& board)
          for(int i = 0; i < maxRow; i++)
         bool isInBoard(int row, int col, int moveRow, int moveCol, const vector< vector<int> >& board)
         void checkMine(int row, int col, vector< vector<int> >& board)
          for(int i = 0; i < 3; i++)
          for(int j = 0; j < 3; j++)
          isInBoard(row, col, i, j, board) ||
          (board[row + MOVE[i]][col + MOVE[j]] == MINE))
          continue;
         void setMinesOnBoard(vector< vector<int> >& board)
          for(int i = 0; i < board.size(); i++)
          cin.get(); // 이 한 줄이 삽질의 원흉!!
          for(int j = 0; j < board[0].size(); j++)
          char c = cin.get();
  • OurMajorLangIsCAndCPlusPlus/print/하기웅 . . . . 41 matches
         #include <iostream>
         #include <stdarg.h>
         #include <stdlib.h>
         using namespace std;
         int decimal, sign;
         #define limit 5
         #define IntSize 12
         void print(char *n, ...)
          char st[IntSize];
          itoa(va_arg(l,int), st, 10);
          for(int i=0; i<(number-48-strlen(st)); i++)
          for(int k=decimal+limit; k>=0; k--)
          char st[IntSize];
          itoa(va_arg(l,int), st, 10);
          for(int k=decimal+limit; k>=0; k--)
          int *number = va_arg(l,int*);
          int count = va_arg(l, int);
          for(int i=0; i<count; i++)
          char st[IntSize];
          int count = va_arg(l, int);
  • PairProgramming토론 . . . . 41 matches
         PairProgramming 자체에 대해 조금 설명을 드리자면, 우선 이건 Driver와 Observer로 역할 분담이 되는데 정해진 게 아니고, 계속 바뀝니다. 운전하는 사람이 있고, 옆에서 코치하는 사람이 있는 거죠. 실제로 타이핑을 하는 사람은 타이핑이란 작업에 몰두하느라 지력을 좀 빼앗깁니다. 대신 이걸 관찰하는 사람은 여유가 있으므로 이것 저것 객관적인 코치를 해줄 가능성이 높죠. 그런데, 예를 들어, Driver가 코딩을 하다가 Observer가 "그게 아냐 이렇게 하면 더 좋아"하면서 설명을 하는데 잘 이해를 못하겠다 싶으면 키보드를 밀어주며 "니가 해봐"라고 말합니다. 역할 바꾸기가 되는 거죠. 이게 아니더라도, 가능하면 두 사람이 지속적으로 역할 바꾸기를 하면 좋습니다. (ExtremeProgramming에선 타이머를 이용해서 정해진 시간이 되면 역할 바꾸기를 하는 예도 있습니다) 뭐 어찌되었건, 피곤하다 싶거나 지금 머리가 잘 안돌아간다 싶으면 옆 사람에게 키보드를 넘기면 되죠.
         그리고 전문가와 비숙련자가 pairing을 해도, 전문가한테도 도움이 많이 됩니다. 예를 들어 변수이름 같은 것은 전문가도 실수할 수 있죠. 이걸 지켜보던 비숙련자가, "어라.. 아까는 PrinterStatus라고 치더니 지금은 PrintersStatus라고 치시네요..."라고 하면, '아차!'하는 거죠. 또 비숙련자가 코드를 이해를 못해서 설명을 해주게 되면, 전문가 스스로도 많은 공부를 하게 되고, 설령 그 사람이 그 설명을 이해를 못해도, "아 이런 부분은 이해를 잘 못하는구나. 앞으로 이건 더 쉽게 설명해야겠군"하고 잘못을 스스로에게 구하면서, 또 학습이 발생하죠.
         PairProgramming 자체에 대해서는 http://www.pairprogramming.com 를 참조하시고, IEEE Software에 실렸던, 로리 윌리엄스 교수의 글을 읽어보세요 http://www.cs.utah.edu/~lwilliam/Papers/ieeeSoftware.PDF. 다음은 UncleBob과 Rob Koss의 실제 PairProgramming을 기록한 대본입니다. http://www.objectmentor.com/publications/xpepisode.htm
         한편, 보통 숙련자/비숙련자 가 pairing 할때는 한쪽 방향으로 프로그래밍 스타일 등의 무게가 치우쳐지기 쉽다고 생각하는데요. 보통 비숙련자인 사람이 수동적인 입장을 취하는 경우가 많기 때문에.. 다른 한편, 숙련자인 사람이 마음의 벽을 넘지 못하는 우를 범할때에도 비숙련자인 사람이 '내가 저 사람보다 잘 모르니까...' 식으로 끌려가는 경우가 있을수 있다고 봅니다. (실제로 가끔 제가 '설명할 수 없는 부분은 혼란시켜라' 라는 말을 실천에 옮기는 경우가 종종 발생한다는.. -_-;;) -- 강석천
         겉으로 보기엔, 왕초보/왕도사의 짝은 상당히 비효율적일 것 같지요. PairProgramming을 한다고 해도, 왕도사가 키보드를 거의 독차지하고, 왕초보가 간간히 던지는 멍청한 질문은 둘(정확히는 왕도사)의 프로그래밍 속도를 늦출 것이고요. 또, 아무것도 못하고 멍청히 지켜봐야만 하는 왕초보 역시 답답할 겁니다. 괜히 질문했다가는 핀잔받기 일수이고. 둘 다 짜증나는 상황이죠.
         이런 상황에서는 SoloProgramming이 낫다는 말을 하고 싶을 겁니다. 왕초보는 왕초보대로 짜고, 왕도사는 또 자기 마음대로(full-speed로) 짜고. 하지만, 이건 기본적으로 잘못된 관점에서 오는 문제입니다. 제대로 된 PairProgramming은 전체 팀은 물론 각 개인에게도 모두 이득을 줍니다.
         조금 장기적인 면에서 그리고 팀의 수준에서 생각해 보세요. 문제많은 코드만 만들어내는 사람과, 남들이 이해하기 힘든 코드만 만들어내는 사람이 각자 나름의 코드를 만들어내는 팀의 전체 효율과, 항상 왕도사의 코치를 받는 왕초보와, 왕초보의 이해도에 맞추기 위해 노력하는 왕도사로 이루어진 팀(왕초보/왕도사 모두 "뭔가 학습"하는 것이 있게되죠)의 전체 효율. 어떨까요? 더군다나, 그 둘이 PairProgramming을 하면 할 수록 왕초보는 왕도사 수준에 근접합니다 -- 엄청나게 빠른 성장을 목격할 수 있죠. 굳이 초기 단계의 비용이 있다고 쳐도, 그건 일종의 투자로 봐야 할 겁니다. --김창준
         PairProgramming 을 위해 특별히 필요한 지식이 있는지 궁금합니다. (주로 자연스럽게 따라오는 것들이 XP 관련쪽 이야기여서.. XP에 대한 구체적인 지식이 필요한지 궁금합니다.)
         XP 방법 중에서 가장 손쉽게, 곧바로 적용할 수 있는 것 중 하나가 PairProgramming입니다. 물론 여타의 XP 방법들과 마찬가지로 최고의 효과를 위해서는 다른 실행법을 함께 수행해야 합니다만, 이것 하나만이라도 제대로 하면 가시적인 차이를 느낄 것입니다. 특별히 어떤 지식보다는 마음 자세와 태도가 더 중요합니다. --김창준
         Strengthening the Case for Pair-Programming(Laurie Williams, ...)만 읽어보고 쓰는 글입니다. 위에 있는 왕도사와 왕초보 사이에서 Pair-Programming을 하는 경우 생각만큼 좋은 성과를 거둘 수 없을 것이라고 생각합니다. 문서에서는 Pair-Programming에서 가장 중요한 것을 pair-analysis와 pair-design이라고 보고 말하고 있습니다.(좀 큰 프로젝트를 해 본 사람이라면 당연히 가장 중요하다고 느끼실 수 있을 것입니다.) 물론 pair-implementation도 중요하다고는 말하고 있으나 앞서 언급한 두가지에 비하면 택도 없지요. 그러니 왕도사와 왕초보와의 결합은 아주 미미한 수준의 이점만 있을뿐 실제 Pair-Programming이 주창하는 Performance는 낼 수 없다고 생각됩니다. 더군다가 이 경우는 왕도사의 Performance에 영향을 주어 Time dependent job의 경우 오히려 손실을 가져오지 않을까 생각이 됩니다. Performance보다는 왕초보를 왕도사로 만들기 위한 목적이라면 왕초보와 왕도사와의 Pair-Programming이 약간의 도움이 되기는 할 것 같습니다. 그러나 우리가 현재 하는 방식에 비해서 얼마나 효율이 있을까는 제고해봐야 할 것 같습니다. - 김수영
         Pair 할때의 장점으로 저는 일할때의 집중도에 있다고 보고 있습니다. (물론 생각의 공유와 버그의 수정, 시각의 차이 등도 있겠지만요.) 왕도사/왕초보 Pair 시의 문제점은 왕도사가 초보자가 coding 때에 이미 해야 할 일을 이미 알고 있는 경우 집중도가 떨어지게 된다는 점에 있습니다. Pair 의 기간이 길어지면서 초보쪽이 중고급으로 올라가는 동안 그 문제들이 해결이 될 것 같은데, 아쉬운 점은 Pair 를 긴 기간을 두고 프로그래밍을 한 적이 없다는 점입니다. (하나의 프로젝트를 끝내본 역사가 거의 없다는.)
         ''왕도사와 왕초보 사이에서 Pair-Programming을 하는 경우 생각만큼 좋은 성과를 거둘 수 없을 것이라고 생각합니다.''
         이 세상에서 PairProgramming을 하면서 억지로 "왕도사 왕초보"짝을 맺으러 찾아다니는 사람은 그렇게 흔치 않습니다. 설령 그렇다고 해도 Team Learning, Building, Knowledge Propagation의 효과를 무시할 수 없습니다. 장기적이고 거시적인 안목이 필요합니다.
         ''문서에서는 Pair-Programming에서 가장 중요한 것을 pair-analysis와 pair-design이라고 보고 말하고 있습니다.(좀 큰 프로젝트를 해 본 사람이라면 당연히 가장 중요하다고 느끼실 수 있을 것입니다.) 물론 pair-implementation도 중요하다고는 말하고 있으나 앞서 언급한 두가지에 비하면 택도 없지요.''
         ''그러니 왕도사와 왕초보와의 결합은 아주 미미한 수준의 이점만 있을뿐 실제 Pair-Programming이 주창하는 Performance는 낼 수 없다고 생각됩니다. 더군다가 이 경우는 왕도사의 Performance에 영향을 주어 Time dependent job의 경우 오히려 손실을 가져오지 않을까 생각이 됩니다.''
         제가 여러번 강조했다시피 넓게 보는 안목이 필요합니다. 제가 쓴 http://c2.com/cgi/wiki?RecordYourCommunicationInTheCode 나 http://c2.com/cgi/wiki?DialogueWhilePairProgramming 를 읽어보세요. 그리고 사실 정말 왕초보는 어떤 방법론, 어떤 프로젝트에도 팀에게 이득이 되지 않습니다. 하지만 이 왕초보를 쓰지 않으면 프로젝트가 망하는 (아주 희귀하고 괴로운) 상황에서 XP가 가장 효율적이 될 수 있다고 봅니다.
         ''Performance보다는 왕초보를 왕도사로 만들기 위한 목적이라면 왕초보와 왕도사와의 Pair-Programming이 약간의 도움이 되기는 할 것 같습니다. ''
         저는 PairProgramming의 희망을 왕도사와 왕도사가 같이 했을 때 정말 그 힘이 발휘될 것이라는 것에서 찾고 싶습니다. 형이 말하는 왕도사와 왕초보 그룹은 학교나 제자를 기르고 싶은 왕도사에게 해당하는 사항이 아닐까요? 실제 사회에서 왕도사와 왕초보 그룹이 얼마나 효용성이 있을까요?
         결국 제가 말하고 싶은 것은 PairProgramming은 왕도사와 왕도사 그룹이 할 수 있는 최상의 해법(제 생각입니다만)이라는 것입니다.. 모든 방법론이 모든 경우에 적합하지는 않은 것을 생각해본다면 PairProgramming이 왕도사와 왕초보 그룹이 아닌 왕도사와 왕도사 그룹에 가장 적합한 것이 아닐까 생각해봅니다.
         왕도사와 왕초보를 어떻게 정의하느냐에 따라 좀 다를 수 있겠습니다. 제가 늘 말하듯이 "전문가"끼리의 PairProgramming은 일반적으로 성공적일 확률이 높습니다. 하지만 전문가일수록 자신의 프라이드와 에고가 강하기 때문에 PairProgramming의 장점을 충분히 이용 못하는 경우도 있습니다.
  • ProjectEazy/Source . . . . 41 matches
         # coding: euc-kr
          def __init__( self ):
         # coding: euc-kr
         if __name__ == '__main__':
          unittest.main()
         # coding: euc-kr
          def __init__(self):
         # coding: euc-kr
         if __name__ == '__main__':
          unittest.main()
         # coding: euc-kr
         import string
          def findFundermentalForm(self, aWord):
          johabWord = hangul.disjoint(u(aWord))
          for each in roots:
          if hangul.disjoint(u(each)) in johabWord:
          def findVerb(self, aSentence):
          return self.findFundermentalForm(
          for mark in string.punctuation:
          if mark in aPhrase:
  • ReleasePlanning . . . . 41 matches
         A release planning meeting is used to create a release plan, which lays out the overall project. The release plan is then used to create iteration plans for each individual iteration.
         It is important for technical people to make the technical decisions and business people to make the business decisions. Release planning has a set of rules that allows everyone involved with the project to make their own decisions. The rules define a method to negotiate a schedule everyone can commit to.
         The essence of the release planning meeting is for the development team to estimate each user story in terms of ideal programming weeks. An ideal week is how long you imagine it would take to implement that story if you had absolutely nothing else to do.
         No dependencies, no extra work, but do include tests. The customer then decides what story is the most important or has the highest priority to be completed.
         User stories are printed or written on cards. Together developers and customers move the cards around on a large table to create a set
         of stories to be implemented as the first (or next) release. A useable, testable system that makes good business sense delivered early is desired.You may plan by time or by scope. The project velocity is used to determine either how many stories can be implemented before a given date (time) or how long a set of stories will take to finish (scope). When planning by time multiply the number of iterations by the project velocity to determine how many user stories can be completed. When planning by scope divide the total weeks of estimated user stories by the project velocity to determine how many iterations till the release is ready.
          Individual iterations are planned in detail just before each iteration begins and not in advance. The release planning meeting was called the planning game and the rules can be found at the Portland Pattern Repository.
         When the final release plan is created and is displeasing to management it is tempting to just change the estimates for the user stories. You must not do this. The estimates are valid and will be required as-is during the iteration planning meetings. Underestimating now will cause problems later. Instead negotiate an acceptable release plan. Negotiate until the developers, customers, and managers can all agree to the release plan.
         The base philosophy of release planning is that a project may be quantified by four variables; scope, resources, time, and quality. Scope is how much is to be done. Resources are
         Management can only choose 3 of the 4 project variables to dictate, development always gets the remaining variable. Note that lowering quality less than excellent has unforeseen impact on the other 3. In essence there are only 3 variables that you actually want to change. Also let the developers moderate the customers desire to have the project done immediately by hiring too many people at one time.
  • ScheduledWalk/욱주&민수 . . . . 41 matches
         #include<iostream>
         using namespace std;
         void output(int board[20][20]);
         int main()
          int board[20][20]={0,};
          int x,y;
          char input;
          cin >> x;
          cin >> y;
          while(input!='9')
          cin >> input;
          switch(input)
         void output(int board[20][20])
          for (int i=0; i<20; i++)
          for(int j=0; j<20; j++)
         #include<iostream>
         #include<fstream>
         using namespace std;
         int main()
          int i=0,j=0;
  • 기술적인의미에서의ZeroPage . . . . 41 matches
         6502 는 16bit addressing이 가능한 CPU 였습니다. 즉, $0000 ~ $FFFF 였죠.
         6502 는 13가지 메모리 access 방식이 있었는데, 그중 하나가 zero page addressing 입니다.
         주소 영역을 8bit 만 사용, 상위 8bit 은 00 으로 가정하고 addressing 을 하면
         The zero page instructions allow for shorter code and excution times by only feching the
         second byte of the instruction and assumming a zero high address byte.
         Careful use of the zero page can result in significant increase in code efficient.
         The zero page is the memory address page at the absolute beginning of a computer's address space (the lowermost page, covered by the memory address range 0 ... page size?1).
         In early computers, including the PDP-8, the zero page had a special fast addressing mode, which facilitated its use for temporary storage of data and compensated for the relative shortage of CPU registers. The PDP-8 had only one register, so zero page addressing was essential.
         Possibly unimaginable by computer users after the 1980s, the RAM of a computer used to be faster than or as fast as the CPU during the 1970s. Thus it made sense to have few registers and use the main memory as substitutes. Since each memory location within the zero page of a 16-bit address bus computer may be addressed by a single byte, it was faster, in 8-bit data bus machines, to access such a location rather than a non-zero page one.
         For example, the MOS Technology 6502 has only six non-general purpose registers. As a result, it used the zero page extensively. Many instructions are coded differently for zero page and non-zero page addresses:
         The above two instructions both do the same thing; they load the value of $00 into the A register. However, the first instruction is only two bytes long and also faster than the second instruction. Unlike today's RISC processors, the 6502's instructions can be from one byte to three bytes long.
         Zero page addressing now has mostly historical significance, since the developments in integrated circuit technology have made adding more registers to a CPU less expensive, and have made CPU operations much faster than RAM accesses. Some computer architectures still reserve the beginning of address space for other purposes, though; for instance, the Intel x86 systems reserve the first 512 words of address space for the interrupt table.
         http://lxr.linux.no/source/Documentation/i386/zero-page.txt
  • 데블스캠프2009/목요일/연습문제/MFC/송지원 . . . . 41 matches
         #if !defined(AFX_TESTDLG_H__B619E89A_C192_46A8_8358_6AC21A6D48CC__INCLUDED_)
         #define AFX_TESTDLG_H__B619E89A_C192_46A8_8358_6AC21A6D48CC__INCLUDED_
          int opFlag;
          virtual BOOL OnInitDialog();
          afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
          afx_msg void OnPaint();
          afx_msg void OnBUTTONminus();
          afx_msg void fourOp(int num);
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         #endif // !defined(AFX_TESTDLG_H__B619E89A_C192_46A8_8358_6AC21A6D48CC__INCLUDED_)
         #include "stdafx.h"
         #include "test.h"
         #include "testDlg.h"
         #define new DEBUG_NEW
          //{{AFX_DATA_INIT(CAboutDlg)
          //}}AFX_DATA_INIT
         BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
          //{{AFX_DATA_INIT(CTestDlg)
          //}}AFX_DATA_INIT
  • 새싹교실/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()
  • 새싹교실/2013/록구록구/3회차 . . . . 41 matches
          printf 노가다는 ㄴㄴ 해요 ^^
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         #include<stdio.h>
         int main()
         int a,b,c;
         printf("두수를 입력하세요\n");
         printf("연산방법을 입력 하세요\n");
         printf("%d",a+b);
         printf("%d",a-b);
         printf("%d",a*b);
         printf("%d",a/b);
         #include<stdio.h>
         int main()
         int num = 0;
         printf("☆★☆★☆\n", num);
         #include<stdio.h>
         int main()
         int i,j =0;
         printf("☆");
         printf("\n");
  • 수학의정석/행렬/조현태 . . . . 41 matches
         #include <time.h>
         #include <stdio.h>
         #include <iostream>
         const int BAE_YOL_SU=2;
         int size_x[BAE_YOL_SU];
         int size_y[BAE_YOL_SU];
         int *baeyol[BAE_YOL_SU];
         void input_data();
         int main()
          input_data();// 기본 변수들
          int time_in; // 초기 시작 시간.
          time_in = clock(); // 초기 시작 시간을 입력한다.
          printf("불가능\n");
          for (register int i=0; i<size_y[0]; ++i)
          for (register int j=0; j<size_x[1]; ++j)
          printf("%d ",*(baeyol[0]+i*size_x[0]+j)+*(baeyol[1]+i*size_x[1]+j));
          printf("\n");
          printf("불가능\n");
          for (register int i=0; i<size_y[0]; ++i)
          for (register int j=0; j<size_x[1]; ++j)
  • 실습 . . . . 41 matches
         국어 점수 int m_nKorean
         영어 점수 int m_nEnglish
         수학 점수 int m_nMath
         총점 int m_nTotal
         평균 int m_dAvg
         입력함수 void Input(char szName[],int nKorean, int nEnglish,int nMath);
         총점 함수 int GetTotal(void);
         등수 함수 int GetRank(void);
         등수 기록 함수 void SetRank(int nRank);
         결과출력 함수 void PrintResult();
         2. 컴파일러 세팅 (Compiler Setting)
         4) ListBox에서 Win32 Console Application을 선택한다.
         8) An empty project를 선택하고, Finish를 선택한다.
         int m_nKorean,m_nEnglish,m_nMath;
         int m_nTotal;
         int m_nRank;
         void Input(char szName[],int nKorean,int nEnglish,int nMath);
         int GetTotal(void);
         int GetRank(void);
         void SetRank(int nRank);
  • 압축알고리즘/수진,재동 . . . . 41 matches
         #include <iostream>
         using namespace std;
         int main()
          char input[20];
          cin >> input;
          int i=0;
          while(input[i] != '\0'){
          int n = atoi(&input[i]);
          char c = input[i + 1];
          for(int j=0;j < n;j++)
         #include <iostream>
         using namespace std;
         int main()
          char input[20];
          cin >> input;
          int i=0, count=1;
          while(input[i]!='\0'){
          if(input[i]==input[i+1])
          cout << count << input[i];
         #include <iostream>
  • ContestScoreBoard/신재동 . . . . 40 matches
         #include <iostream>
         using namespace std;
         const int MAX_TEAM = 100;
          bool isJoin;
          int totalScore;
          int totalSolveProblem;
         void initTeams()
          for(int i = 0; i < MAX_TEAM; i++)
          teams[i].isJoin = false;
         char testLine[5][20] = {
         void input()
          int teamNumber;
          int problemNumber;
          int solveTime;
          int max_line = 20;
          char line[20];
          cin.getline(line, max_line);
          //int i = 0;
          //strcpy(line, testLine[i++]);
          while(strcmp(line,""))
  • 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)
  • EcologicalBinPacking/곽세환 . . . . 40 matches
         #include <iostream>
         using namespace std;
         #define BROWN 0
         #define GREEN 1
         #define CLEAR 2
         int main()
          int bottle[3][3]; // 병
          int bin[3]; // 통
          int min_move = 0; // 최소 이동수 = 전체 병 수 - 이동하지 않는 병 수
          int total_bottle = 0;
          int not_move_bottle = 0;
          int i, j;
          if (!(cin >> bottle[i][j]))
          bin[0] = BROWN;
          bin[1] = CLEAR;
          bin[2] = GREEN;
          bin[0] = BROWN;
          bin[1] = GREEN;
          bin[2] = CLEAR;
          bin[0] = CLEAR;
  • EightQueenProblem . . . . 40 matches
         === Input ===
         이 프로그램은 Input을 요구하지 않는다.
         시간을 잴 때에는 Wiki:SandglassProgramming 에 소개된 프로그램을 이용하면 편리합니다. 화장실을 다녀온다든가 할 때 필요한 중간 멈춤(pause) 기능도 있습니다.
         ||이준욱|| 3h:20m || 40 lines || C || ["EightQueenProblem/이준욱"] ||
         ||iCarus|| 0h:30m || 30 lines || C || ["EightQueenProblem/lasy0901"] ||
         ||["이덕준"]|| 1h:10m || 73 lines || C++ || ["EightQueenProblem/이덕준소스"] ||
         ||최태호|| 0h:35m || 71 lines || C++ || ["EightQueenProblem/최태호소스"] ||
         ||["최광식"]|| 2h:38m || 141 lines || C++ || . ||
         ||이선호|| 2h:29m || 58 lines || C++ || ["EightQueenProblem/이선호"] ||
         ||강석천|| 4h:50m || 135 lines (+ 82 line for testcode. total 217 lines)|| python || ["EightQueenProblem/강석천"] ||
         ||강석천|| 0h:47m || 72 lines (+ 58 line for testcode. total 132 lines)|| python || . ||
         ||임인택|| 2h:00m || 75 lines || C++ || ["EightQueenProblem/임인택"] ||
         ||이선우|| 1h:05m || 114 lines || java || ["EightQueenProblem/이선우"] ||
         ||최봉환|| 2h:30m || 71 lines || C++ || ["EightQueenProblem/최봉환"] ||
         ||이창섭|| 1h:9m || 73 lines || C++ || ["EightQueenProblem/이창섭"] ||
         ||이강성|| 1h:50 || 36 lines || python || ["EightQueenProblem/이강성"] ||
         ||햇병아리|| 10h:50m || 111 lines || C || ["EightQueenProblem/햇병아리"] ||
         ||kulguy|| 10h:00m || 229 lines || java || ["EightQueenProblem/kulguy"] ||
         ||김형용|| 8h:00m || 115 lines (+ 63 line for testcode. total 178 lines) || python || ["EightQueenProblem/김형용"]||
         ||서상현|| 2h:18m || 62 lines || C || ["EightQueenProblem/서상현"] ||
  • STL/string . . . . 40 matches
         = string =
         string a("인수 천재")
         string b = a
         string name("1234567890");
         string c(name.begin() + 3, name.begin() + 7) ;
          * new - char* 로 만든 문자열은 프로그램 사용후 delete 해줘야 되지만, string은 소멸자에서 알아서 해준다. 생산성 증가!
          * string 클래스라고 해서 공백을 무시할수 있는것은 아니다. 학교 교재에 보면 getline()과 get()이 나온다. string 변수로 입력을 받는다 해도 cin >>을 사용하면 공백을 입력 받을수 없다. 따라서 getline() 써줘야 한다.
          ["[Lovely]boy^_^"]는 이걸 망각하고 1시간동안 삽질을 한 경험이 있다. 이럴때는 일단 char input[255]정도로 큰 배열 잡아 놓은 다음 string으로 변환 시켜준다. 예제를 보자.
         #include <iostream>
         #include <string>
         using namespace std;
         int main()
          char input[255];
          cin.getline(input, 255);
          cout << string(input);
          * string을 이용해서 직접 입력 받을려면 이렇게 할수 있다.
         #include <iostream>
         #include <string>
         using namespace std;
         int main()
  • Self-describingSequence/황재선 . . . . 40 matches
         public class DescribingSequence {
          private final int MAX = 673366;
          public int readNumber() {
          return new Scanner(System.in).nextInt();
          public int getSequence(int n) {
          int[] describing = new int[MAX + 1];
          describing[3] = 2;
          int input = 4;
          int output = 3;
          int numRepeat;
          numRepeat = describing[output];
          for(int i = 0; i < numRepeat; i++) {
          if (input == n) {
          if (input > MAX) {
          input++;
          describing[input++] = output;
          public void printValue(int value) {
          System.out.println(value);
          public static void main(String[] args) {
          DescribingSequence ds = new DescribingSequence();
  • TicTacToe/임민수,하욱주 . . . . 40 matches
         import javax.swing.JFrame;
         import javax.swing.JOptionPane;
          int count = 0;
          int board[][] = new int[3][3];
          for (int i = 0; i < 3; i++)
          for (int j = 0; j < 3; j++)
          int x = e.getX();
          int y = e.getY();
          System.out.println("x 좌표 : " + x);
          System.out.println("y 좌표 : " + y);
          repaint();
          for (int i = 0; i < 3; i++) // 가로 승리 조건
          for (int k = 0; k < 3; k++) {
          for (int j = 0; j < 3; j++) {
          for (int k = 0; k < 3; k++)
          for (int j = 0; j < 3; j++)
          for (int i = 0; i < 3; i++) // 세로 승리 조건
          for (int k = 0; k < 3; k++)
          for (int j = 0; j < 3; j++)
          for (int k = 0; k < 3; k++)
  • 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;
  • [Lovely]boy^_^/[Lovely]boy^_^/USACO/Barn . . . . 40 matches
         #include <iostream>
         #include <fstream>
         #include <vector>
         #include <algorithm>
         #include <functional>
         using namespace std;
         vector<int> getDistance(const vector<int>& ar)
          vector<int> ret( ar.size() - 1 );
          for(int i = 0 ; i < ar.size() - 1 ; ++i)
         vector<int> getPivot(int numPivot, const vector<int>& distance)
          vector<int> ret(distance);
          sort(ret.begin(), ret.end(), greater<int>());
          ret.erase(ret.begin() + numPivot - 1, ret.end());
         vector<int> getDatas(int& numPivot)
          int max, iter;
          ifstream fin("barn1.in");
          fin >> numPivot >> max >> iter;
          vector<int> ar(iter);
          for(int i = 0 ; i < iter ; ++i)
          fin >> ar[i];
  • 구구단/Leonardong . . . . 40 matches
         #include <iostream>
         using namespace std;
         int main()
          for (int by=1 ; by<10 ; by++)
          for (int i=2 ; i<6 ; i++)
          for (int i=6 ; i<10 ; i++)
         (define (niner by plus) (when (< by 10)
          (cond ((< plus 10) (begin (print by) (print *) (print plus) (print =) (print (* by plus)) (newline) (niner by (+ plus 1))))
          ((>= plus 10) (niner (+ by 1) 1))
         (niner 2 1)
         (define (niner by plus)
          (cond ((< plus 10) (begin (print by) (print *) (print plus) (print =) (print (* by plus)) (newline) (niner by (+ plus 1))))
          ((>= plus 10) (niner (+ by 1) 1))
          ) (print "end") ))
         (niner 2 1)
          * Niner 클래스
          instanceVariableNames: ''
          * Niner2to9 메소드
         Niner2to9
         niner := Niner new.
  • 새싹교실/2012/나도할수있다 . . . . 40 matches
          *ICE Breaking : 일요일에 영화를 보기러해서 예매율이 가장 높은 화차를 봣는데, 재미가 없어서 실망했다. -추성준
          int b = 2;
          printf("%c",name);
          printf("문자:%c\n정수:%d\n실수1:%f\n실수2:%.2f",a,b,c,d);
          printf("무한루프");
          printf("무한루프");
          int i;
          printf("for문\n");
          * 새싹 첫수업을 했다. 도중에 현민이가 영어 수업을 받으러가서 한시간 비었다. 다음주부터는 시간을 한시간 연기하여 세시부터 시작할 예정이다. gcc의사용법을 간단히 설명했고, gdb는 학생들이 디버깅을 몰라서 설명해주지 않았다. printf사용법부터 시작해서 연산자, 데이터 타입, while,do-while,for문을 설명했다. 현민이는 쉰게 잘 따라오고, 윤호도 천천히 따라오고 있어서 앞으로 수업하는데에 지장은 없을 것 같다. 수업을 다 하고 생각해보니 너무 우왕좌왕하게 가르쳤던것 같다. 다음시간은 더욱 열심히 준비해야겠다. - 추성준
          int i,sum=0;
          printf("%d",sum);
          int i=1,sum=0;
          printf("%d",sum);
          * #define
          * 시작하자마자 while로 1부터 10까지 더했다. 나는 버벅거렸다. 근데 조언을 구하면서 해봤다. 게임코드도 베껴써봤다. define은 메인함수 바껭서 하는 거라고 배웠다. select=getch() 이거가 좀 헷갈렸다. break가 나오면 멈춘다고 한다. 오늘 정말 여러가지를 배운거 같다. 때리기 게임안에 많은 함수가 들어있는게 신기했다. 복습도 좀 더 열심히 해야겠다. 집에 비쥬얼스튜디오도 깔고 스스로 하는 습관을 들여야겠다. -신윤호
         #include <stdio.h>
         char isOne (int num1) {
         int main () {
          int a,b=1;
          printf("%c",a);
  • 새싹교실/2013/록구록구/4회차 . . . . 40 matches
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         수업시간에 내가 printf를 사용할 때 for문을 사용하는 친구들을 봤었는데 직접 사용해보니 뿌듯했고 while문보다 보기 편하고 더 간편했다.:)
         나도 이제 수업시간에 printf대신 for문을 사용해야겠다.
         #include<stdio.h>
         int main()
         int i;
         printf("☆★☆★☆\n");
         #include<stdio.h>
         int main()
         int i,j;
         printf("★");
         printf("\n");
         #include<stdio.h>
         int main()
         int i,j;
         printf("%d*%d =%d\n", i,j,i*j);
         printf("\n");
         실습시간에 나는 printf로 노가다하는데 잘하는 애들이 for문 쓰는거 보면서 부러웠는데,
         #include<stdio.h>
         int main()
  • 파스칼삼각형/허아영 . . . . 40 matches
         #include <stdio.h>
         void pascal_tri(int pascaltri[][100], int row);
         void main()
          int pascaltri[100][100];
          int row;
          printf("행을 입력 :");
         void pascal_tri(int pascaltri[][100], int row)
          int i,j;
          for(i = 0; i < row; i++)// print
          printf(" ");
          printf("%d ", pascaltri[i][j]);
          printf("n");
         #include <stdio.h>
         void pascal_tri(int pascaltri[][100], int row, int col);
         void main()
          int pascaltri[100][100]; // 이 부분을 어떻게 더 효율적으로 바꿀 것인가..->ver.3
          int row, col;
          printf("찾고자 하는 열, 행을 차례로 입력 :");
          printf("다시 입력해 주세요...n");
         void pascal_tri(int pascaltri[][100], int col, int row)
  • 2010php/방명록만들기 . . . . 39 matches
         $link = mysql_connect('mysql5.hosting.paran.com', 'linflus', '****');
         if (!$link) {
         $db = mysql_select_db("linflus_db");
          (no integer not null,
          status integer,
         $sql = "INSERT INTO guest
         = 메인화면 ( index.php ) =
         include "dbconnect.php";
         이름  <input type='text' name='input_name' maxlength='10' size='10'>    
         비밀번호  <input type="password" name='input_pw'size='4' maxlength='4'>
         <input type = "radio" name = "status" value = "1" size = "40" checked><img src="http://cfile234.uf.daum.net/image/152622034C88B1DC682870">
         <input type = "radio" name = "status" value = "2" size = "40"><img src="http://cfile223.uf.daum.net/image/162622034C88B1DC696BEC">
         <input type = "radio" name = "status" value = "3" size = "40"><img src="http://cfile206.uf.daum.net/image/142622034C88B1DC6AA52F">
         <input type = "radio" name = "status" value = "4" size = "40"><img src="http://cfile232.uf.daum.net/image/152622034C88B1DC6BFF47">
         <input type = "radio" name = "status" value = "5" size = "40"><img src="http://cfile234.uf.daum.net/image/162622034C88B1DC6C0395">
         <input type='submit' value='전송'>
         include "print.php";
         $dbconn = mysql_connect("intra.zeropage.org", "csephp", "2010php");
         $unix_ts=mktime();
         $date=date('Y-m-d', $unix_ts);
  • AVG-GCC . . . . 39 matches
          --help Display this information'''도움말'''[[BR]]
          --target-help Display target specific command line options[[BR]]
          (Use '-v --help' to display command line options of sub-processes)[[BR]]
          -dumpspecs Display all of the built in spec strings[[BR]]
          -dumpmachine Display the compiler's target processor[[BR]]
          -print-search-dirs Display the directories in the compiler's search path[[BR]]
          -print-libgcc-file-name Display the name of the compiler's companion library[[BR]]
          -print-file-name=<lib> Display the full path to library <lib>[[BR]]
          -print-prog-name=<prog> Display the full path to compiler component <prog>[[BR]]
          -print-multi-directory Display the root directory for versions of libgcc[[BR]]
          -print-multi-lib Display the mapping between command line options and[[BR]]
          -Wl,<options> Pass comma-separated <options> on to the linker[[BR]]
          -Xlinker <arg> Pass <arg> on to the linker[[BR]]
          -save-temps Do not delete intermediate files[[BR]]
          -pipe Use pipes rather than intermediate files[[BR]]
          -specs=<file> Override builtin specs with the contents of <file>[[BR]]
          -std=<standard> Assume that the input sources are for <standard>[[BR]]
          -b <machine> Run gcc for target <machine>, if installed[[BR]]
          -V <version> Run gcc version number <version>, if installed[[BR]]
          -v Display the programs invoked by the compiler[[BR]]
  • 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))
  • CuttingSticks/문보창 . . . . 39 matches
         // 10003 - Cutting Sticks
         #include <iostream>
         using namespace std;
         //#include <fstream>
         #define MAX_CUT 53
         #define MAX_NUM 0x7fffffff
         //fstream fin("in.txt");
         static int lenStick, numCut;
         static int cut[MAX_CUT];
         static int d[MAX_CUT][MAX_CUT];
         bool input()
          cin >> lenStick;
          cin >> numCut;
          for (int i = 1; i <= numCut; i++)
          cin >> cut[i];
         void initTable()
          for (int i = 0; i <= numCut; i++)
         int process()
          initTable();
          int j, min;
  • 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 위치
  • MicrosoftFoundationClasses . . . . 39 matches
         Microsoft Foundation Classes 를 줄여서 부른다. 기정의된 클래스의 집합으로 Visual C++이 이 클래스들을 가반으로 하고 있다. 이 클래스 군은 MS Windows API를 래핑(Wrapping)하여서 객체지향적 접근법으로 프로그래밍을 하도록 설계되어 있다. 예전에는 볼랜드에서 내놓은 OWL(Object Windows Library)라는 것도 쓰였던 걸로 아는데... -_-; 지금은 어디로 가버렸는지 모른다. ㅋㅋ
          ''백과사전) WikiPedia:Microsoft_Foundation_Classes, WikiPedia:Object_Windows_Library ''
         = Simple MFC Window =
         #include <afxwin.h> //about class library
         class CExApp : public CWinApp {
          virtual BOOL InitInstance();
         BOOL CExApp::InitInstance(void) {
          m_pMainWnd = new CExWnd; // 생성된 프레임을 윈도우에 붙인다.
          m_pMainWnd->ShowWindow(m_nCmdShow);
         //WinMain() 함수는 MFC 의 클래스 안에 구현이 되어있기 때문에 API로 윈도우를 만들때보다 간편하게 작성하는 것이 가능하다.
          Upload:simple_mfc_window_showing.JPG [[BR]]
          ''컴파일 해보고자 하는 분들은 Project/Setting/General 항목에서 MFC DLL을 사용한다는 설정을 해야한다.
          nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
          Upload:simple_mfc_painter.rar
         응용프로그램에서 document를 몇개를 다루느냐에 따라서 SDI(single document interface), MDI(multiple document interface)로 구분하여 사용한다.
         == Link ==
          하나의 document와 frame window는 한개의 document template에 의해서 생성되며 view는 frame window객체가 생성되면서 자동으로 생성되게 된다.
          {{{~cpp DocumentTemplateClass : CSingleDocTemplate, CMultiDocTemplate}}}
          * {{{~cpp MFC에 의해서 기 제공되는 WinMain() 실행}}}
          * {{{~cpp WinMain() 에서 InitInstance() 수행, document template, main frame window, document, view 를 생성한다.}}}
  • Pairsumonious_Numbers/김태진 . . . . 39 matches
         #include <iostream>
         #include <stdio.h>
         #include <math.h>
         using namespace std;
         int arr[50],a[10],n;
         int comp(int a,int b)
         int findThird(int Aindex,int i3)
          int x,i,j,flag=0,k;
          if(Aindex==n)return 1;
          if(abs(arr[i]-arr[j])==abs(a[Aindex-2]-a[Aindex-1])){
          x=abs(arr[i]-a[Aindex-2]);
          for(k=0;k<Aindex;k++){
          a[Aindex]=x;
          findThird(Aindex+1,1);
         int findFirstThree(int i1,int i2,int i3)
          int i,tmp;
          findThird(3,1);
         int isValid()
          int i,j,k=0;
          int checkArr[50];
  • ProjectZephyrus/Server . . . . 39 matches
          +---- bin : 실행 파일들의 저장고, 현재 빌드에서는 저장하지 않는다
          +---- information : DB와 같은 사용자 정보 관리 패키지
          java_win.bat : Windows용 RunServer 실행 batch파일
          javac_win.bat : Windows용 프로젝트 컴파일 batch파일
          java_zp : ZeroPage Server 실행 bash script (zp에서만 돈다. bin이 classpath에 안들어가서 꽁수로 처리,port번호를 변경할수 없다.)
          * Perspective를 CVS Repositary Explorering에서 {{{~cpp CheckOut}}}을 한다음, 컴파일이 안된다면 해당 프로젝트의 JRE_LIB가 잘못 잡혀 있을 가능성이 크다. (Win98에서 JRE가 잘못 설치되어 있을때) 방법은 ["Eclipse"]에서 Tip중 설치 부분을 찾아 보라
          * JCreator가 컴파일할 java파일의 선후 관계를 파악하지 못하여, 컴파일이 되지 못하는 경우가 있다. 이럴 경우 만들어둔 스크립트 javac_win.bat 을 수행하고, 이 스크립트가 안된다면, 열어서 javac의 절대 경로를 잡아주어서 실행하면 선후관계에 따른 컴파일이 이루어 진다. 이후 JCreator에서 컴파일 가능
         http://165.194.17.15/~neocoin/ProjectZephyrus/Server/doc/index.html
         ||05.23|| [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer-0523-aSC.gif gif] || [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer_20020523-a.mdl Rose]||.||
         ||05.24|| [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer-0524-aSC.gif gif] || [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer_20020602-a.mdl Rose] ||.||
         ||05.27|| [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer-0527-aSC.gif gif] || [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer_20020527-a.mdl Rose]||.||
         ||06.02|| [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer-0602-aSC.gif gif] || [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer_20020602-a.mdl Rose] || [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer_20020602-a30.mdl MS VM] ||
         ||06.03|| [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer-0603-aSC.gif gif] || [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer_20020603-a.mdl Rose] || [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer_20020603-a30.mdl MS VM] ||
         ||06.07|| [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer-0607-aSC.gif gif] || [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer_20020607-a.mdl Rose] || [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/ProjectZephyrusServer_20020607-a30.mdl MS VM] ||
          * 현재 ZeroPage와 Windows 2k상에 한글 인코딩 문제로 후자로 해야 ZeroPage서버에서 한글로 안내 메세지가 나옴. 컴파일시 해결할수 있지만 귀찮아서 --;; --상민
         ||java -jar {{{~cpp PZServerForWin.jar}}} Port번호(Default 22000)||[http://165.194.17.15/~neocoin/ProjectZephyrus/Server/PZServerForWin.jar jar]||Windows||
         ||java -jar {{{~cpp PZServerForZeroPage.jar}}} Port번호(Default 22000)|| [http://165.194.17.15/~neocoin/ProjectZephyrus/Server/PZServerForZeroPage.jar jar]||ZeroPage용||
         ||로그인 객체의 생성, {{{~cpp InfoManager}}}에게 자료 요청||{{{~cpp LoginCmd}}}||류상민||90%||
         ||로그인 객체에 정보 기록||{{{~cpp InfoManager}}}||이상규||90%||
         ||로그 아웃시 {{{~cpp LogoutCmd}}}에 정보 기록 || {{{~cpp InfoManager}}} ||이상규||90%||
  • StructuredText . . . . 39 matches
         Structured text is text that uses indentation and simple
         symbology to indicate the structure of a document. For the next generation of structured text, see [http://dev.zope.org/Members/jim/StructuredTextWiki/StructuredTextNG here].
         A structured string consists of a sequence of paragraphs separated by
         one or more blank lines. Each paragraph has a level which is defined
         as the minimum indentation of the paragraph. A paragraph is a
         preceding paragraph that has a lower level.
         Special symbology is used to indicate special constructs:
          * A single-line paragraph whose immediately succeeding paragraphs are lower level is treated as a header.
          * A paragraph that begins with a '-', '*', or 'o' is treated as an unordered list (bullet) element.
          * A paragraph that begins with a sequence of digits followed by a white-space character is treated as an ordered list element.
          * A paragraph that begins with a sequence of sequences, where each sequence is a sequence of digits or a sequence of letters followed by a period, is treated as an ordered list element.
          * A paragraph with a first line that contains some text, followed by some white-space and '--' is treated as a descriptive list element. The leading text is treated as the element title.
          * Sub-paragraphs of a paragraph that ends in the word 'example' or the word 'examples', or '::' is treated as example code and is output as is.
          * Text enclosed single quotes (with white-space to the left of the first quote and whitespace or puctuation to the right of the second quote) is treated as example code.
          * Text surrounded by '_' underscore characters (with whitespace to the left and whitespace or punctuation to the right) is made underlined.
          * Text encloded by double quotes followed by a colon, a URL, and concluded by punctuation plus white space, *or* just white space, is treated as a hyper link. For example:
          Is interpreted as '<a href="http://www.zope.org/">Zope</a> is ....'
          * Text enclosed by double quotes followed by a comma, one or more spaces, an absolute URL and concluded by punctuation plus white space, or just white space, is treated as a hyper link. For example:
          Is interpreted as '<a href="mailto:amos@digicool.com">mail me</a>.'
          * Text enclosed in brackets which consists only of letters, digits, underscores and dashes is treated as hyper links within the document. For example:
  • SuperMarket/재니 . . . . 39 matches
         #include <iostream>
         #include <cstring>
         using namespace std;
          int input;
          int mainMenuInput(){
          cin >> input;
          if (input < 1 || input > 5){
          input = 0;
          return input;
          int money, cash, wantProduct, wantNum;
          int price;
          int num;
          for (int i = 0 ; i < 3 ; i++)
          void mainMenuView() {
          cin >> cash;
          for (int i = 0 ; i < 3 ; i++)
          cin >> wantProduct;
          cin >> wantNum;
          for (int i = 0 ; i < 3 ; i++)
          cin >> wantProduct;
  • UbuntuLinux . . . . 39 matches
         [[include(틀:OperatingSystems)]]
         공식 사이트는 역시 기대를 저버리지 않았다. [https://wiki.ubuntu.com/ShareInternetConnection]와
         [https://wiki.ubuntu.com/ThinClientHowtoNAT] 이 두 문서를 따라하다 보니 어느새 다른 컴퓨터에서 인터넷에 연결할 수 있는 것이 아닌가!
         iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
         title Windows 2000 Advanced Server SP4
         chainloader +1
         $ip link
         그런 뒤에야 이제 맨날 들날날락했던 /etc/network/interfaces 안에 내용을 고치고 다시 네트워크를 시작했더니 ㅇ이제 되는구나...
         /etc/init.d/networking stop
         /etc/init.d/networking restart
         http://yourdomain:8000/YourProjectNameHere/wiki
         Include /etc/apache2/sites-available/trac
          Options Indexes MultiViews
         # You need something like this to authenticate users
         ScriptAlias /trac/leonardong /usr/share/trac/cgi-bin/trac.cgi
         <Location "/trac/leonardong/login">
         [http://dev.mysql.com/doc/refman/5.0/en/installing-binary.html MySQL binary install]
         /etc/init.d/mysql start
         [http://www.dougsparling.com/comp/howto/linux_java.html]
         must install jdk or jre
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/변형진 . . . . 39 matches
          * after [REFACTORING]
         #include <stdio.h>
         struct zergling {
          int no;
          int hitP;
          int attP;
          int defP;
         } zerglings[2];
         void init_unit_stats() {
          zerglings[0].no = 0;
          zerglings[1].no = 1;
          zerglings[0].hitP = zerglings[1].hitP = 50;
          zerglings[0].attP = zerglings[1].attP = 5;
          zerglings[0].defP = zerglings[1].defP = 0;
         int get_damage(zergling z1, zergling z2) {
         void attack(zergling z1, zergling & z2) {
          int damage = get_damage(z1, z2);
          printf("저글링 %d이 저글링 %d에게 데미지 %d를 입혀 HP가 %d가 되었습니다.\n", z1.no, z2.no, damage, z2.hitP);
         int is_dead(zergling z) {
         int main() {
  • 문자반대출력/최경현 . . . . 39 matches
         #include <stdio.h>
         #include <string.h>
         #include <stdlib.h>
         void main()
          char string[200];
          int numberOfString;
          fgets(string, 200, before);
          printf("%s\n",string);
          numberOfString = strlen(string);
          for (int i = 0; i < numberOfString; i++)
          if (string[i] < 0 && string[i+ 1] < 0)
          swap2(&string[i],&string[i+1]);
          if(numberOfString%2==0)
          int i;
          for(i=1;i<numberOfString/2+1;i++)
          broker = string[numberOfString-i];
          string[numberOfString-i] = string[i-1];
          string[i-1] = broker;
          int i;
          for(i=1;i<numberOfString/2+2;i++)
  • 새싹교실/2011/Pixar/실습 . . . . 39 matches
         Write a program that reads a four digit integer and prints the sum of its digits as an output.
         #include <stdio.h>
         #include <math.h>
         int main(){
          int four_digit_num, sum = 0, i, positional;
          printf("%d\n", sum);
         #include <stdio.h>
         int main(){
          int four_digit_num, sum = 0, i, positional, j;
          printf("%d\n", sum);
         #include <stdio.h>
         #include <math.h>
         int main(){
          int n_digit_num, sum = 0, positional, n;
          printf("%d\n", sum);
         #include <stdio.h>
         int main()
          int i,j;
          for (j = 4; j > i; j--) printf(" ");
          for (j = 0; j < 2*i+1; j++) printf("*");
  • 수/구구단출력 . . . . 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()
  • 수/별표출력 . . . . 39 matches
         #include <stdio.h>
         #include <stdlib.h>
         int main()
          int a,b,c;
          printf("*");
          printf("-");
          printf("\n");
         #include <stdio.h>
         int main(void)
          int l,m,n;
          printf("*");
          printf("-");
          printf("\n");
         #include <stdio.h>
         int main(void)
          int star;
          int s;
          int t;
          printf("*");
          printf("-");
  • 조금더빠른형변환사용 . . . . 39 matches
         # define FTOI_LONG reserved, l
         # define FTOI_LONG l
         #define USE_FTOI register union{ double r; struct { _integer4 FTOI_LONG; } l; } __ftoitmp;
         #define OP_FTOI(val)\
         #include <stdio.h>
         #include <stdlib.h>
         #ifndef _WIN32
         /* for linux/unix */
         #include <time.h>
         #include <sys/time.h>
         static void printf_localtime()
          printf("%.4d-%.2d-%.2d %.2d:%.2d:%.2d.%.3d", ttt->tm_year, ttt->tm_mon, ttt->tm_mday, ttt->tm_hour, ttt->tm_min, ttt->tm_sec, tv.tv_usec/1000);
         static unsigned int get_clock()
          unsigned int t;
         /* for windows */
         #define get_clock clock
         # define FTOI_LONG reserved, l
         # define FTOI_LONG l
         #define USE_FTOI union{ double r; struct { long FTOI_LONG; } l; } __ftoitmp;
         #define OP_FTOI(val) \
  • CleanCode . . . . 38 matches
          * [https://code.google.com/p/google-styleguide/ google coding style guide]
          * [http://refactoring.com/ Martin Fowler의 refactoring home]
          * [http://blog.goyello.com/2013/05/17/express-names-in-code-bad-vs-clean/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+goyello%2FuokR+%28Goyelloblog%29 Express names in code: Bad vs Clean]
          * Chapter 2 Meaningful Names - Naming Convention
          * 클래스의 이름을 지을 때는 -info, -data와 같은 일반적인 이름을 쓰지 말라.
          * Account를 만들면 되지 AccountInfo라는 클래스를 만들 필요는 없다. Account 클래스 내부에 들어가는 정보가 Info니까.
          * 아래와 같은 식으로 Account내부의 정보를 하나로 묶으면 AccountInfo 클래스와 getAccountInfo()등이 있을법하지 않은가? -> 저런 구조 자체가 잘못됐을 수 있다. getAccountInfo()와 같은 방법이 아니라 다른 방법으로 일을 시키는 모양이 더 낫다.
         private AccountInfo info;
          * 테스트 시에는 올바른 input이 제대로 들어오는지를 먼저 확인하고 나서 코드가 잘못되었는지 생각해볼 것.
          * [http://alblue.bandlem.com/2011/02/gerrit-git-review-with-jenkins-ci.html 참고 데모 동영상]
          * [http://www.filewiki.net/xe/index.php?&vid=blog&mid=textyle&act=dispTextyle&search_target=title_content&search_keyword=gerrit&x=-1169&y=-20&document_srl=10376 gerrit install guide]
          * Git + Gerrit + Jenkins 전체 결합을 통해 코드 버그를 줄여보자
          * [http://rein.kr/blog/archives/3156]
          * String.append와 PathParser.render는 둘이 서로 문자열을 합치는 작업을 하더라도 직접적인 연산을 하는 것과 추상적인 연산을 하는 것의 차이로 서로 추상화 수준이 다르다고 할 수 있다.
          * Error Handling
          * Consider using try-catch-finally instead of if statement.
          * Returning null or undefined (Javascript) {{{
         var array = stringObject.match(/regexp/); // if there is no match, then the function returns null, if not returns array.
         array.forEach(/* handle found strings */)
          * Returning emtpy object (Javascript) {{{
  • 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))
  • ErdosNumbers/차영권 . . . . 38 matches
         #include <iostream.h>
         #include <cstring>
         #define MAX_LENGTH 100
          int erdosNumber;
         void checkErdosNumberTo0(Author *p, int n);
         void checkErdosNumberTo1(Author *p, char *c, int n);
         void checkErdosNumberTo2(Author *p, int n);
         bool isThere(Author *p, int n);
         int main()
          int scenario=1;
          int nDataBase, nSearch;
          int count = 0, n = 0, m = 0, number = 0;
          int i, j, k, l;
          int saveBound[10];
          cin >> nDataBase >> nSearch;
          cin.get();
          cin.getline(temp, MAX_LENGTH);
          int save[10] = {0, };
          int count2 = 0;
          continue;
  • MoreEffectiveC++ . . . . 38 matches
         http://zeropage.org/~neocoin/data/MoreEffectiveC++.jpg
          * 작성자:류상민(["neocoin"]) [[BR]]
         == Link ==
          * Item 1: Distinguish between pointers and references. - Pointer와 Reference구별해라.
          * Item 5: Be wary of user-defined conversion functions. - 사용자 정의 형변환(conversion) 함수에 주의하라!
          * Item 6: Distinguish between prefix and postfix forms of increment and decrement operators. - prefix와 postfix로의 증감 연산자 구분하라!
          * Item 8: Understand the differend meanings of new and delete - new와 delete가 쓰임에 따른 의미들의 차이를 이해하라.
          * Item 10: Prevent resource leaks in constructors. - 생성자에서 자원이 세는걸 막아라.
          * Item 11: Prevent exception from leaving destuctors. - 파괴자로 부터의 예외 처리를 막아라.
          * Item 12: Understand how throwing an exception differs from passing a parameter or calling a virtual function [[BR]] - 가상 함수 부르기나, 인자 전달로 처리와 예외전달의 방법의 차이점을 이해하라.
          * Item 15: Understand the costs of exception handling. - 예외 핸들링에 대한 비용 지불 대한 이해
          * Item 17: Consider using lazy evaluation - lazy evaluation의 쓰임에 대하여 생각해 보자.
          * Item 19: Understand the orgin of temporary objects.- 임시 객체들의 기본을 이해하자.
          * Item 22: Consider using op= instead of stand-alone op.- 혼자 쓰이는 op(+,-,/) 대신에 op=(+=,-=,/=)을 쓰는걸 생각해 봐라.
          * Item 24: Understand the costs of virtual functions, multiple ingeritance, virtual base classes, and RTTI [[BR]] - 가상 함수, 다중 상속, 가상 기초 클래스, RTTI(실시간 형 검사)에 대한 비용을 이해하라
          * Item 25: Virtualizing constructors and non-member functions. - 생성자와 비멤버 함수를 가상으로 돌아가게 하기.
          * Item 26: Limiting the number of objects of a class - 객체 숫자 제한하기.
          * Item 27: Requiring or prohibiting heap-based objects. - Heap영역을 사용하는 객체 요구하기 or 피하기.
          * Item 28: Smart pointers - 똑똑한 포인터:스마트 포인터
          * Item 29: Reference counting - 참조 세기
  • 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];
  • One/김태형 . . . . 38 matches
         #include <stdio.h>
         int main()
         int number; /*각각의 수*/
          printf("%d ", number);
         #include <stdio.h>
         int main()
         int number=1; /* 1부터 10까지 각각의 수*/
          printf("%d\n", number);
         #include <stdio.h>
         int main()
          int number; /* 각각의 수 */
          continue;
          printf("%d ", number);
         #include <stdio.h>
         int main()
         int number; /*1부터 10까지 각각의 수*/
         int total=0; /*1부터 10까지의 총합*/
          printf("1부터 10까지의 합은 %d 입니다.", total);
         #include <stdio.h>
         int main()
  • PrimeNumberPractice . . . . 38 matches
         #include <iostream>
         using namespace std;
         const int scope = 2000;
         void SetScope(int scope[], int length);
         void CalculatePrimeNumber(int scope[], int length);
         void PrintPrimeNumber(int scope[], int lengh);
         // this program print prime number in scope 1 to 2000
         int main(void) {
          int targetNumberScope[scope + 1];
          PrintPrimeNumber(targetNumberScope, scope);
         void SetScope(int scope[], int length) {
          for (int i = 0; i < length; i++)
         void CalculatePrimeNumber(int scope[], int length) {
          for (int masterIter = 2; masterIter < length; masterIter++) {
          for (int i = 2, secondIter = masterIter * i; secondIter < length; secondIter = masterIter * ++i) {
         void PrintPrimeNumber(int scope[], int length) {
          for (int i = 1; i < length; i++) {
          static final int SCOPE = 2000;
          private static void InitializeNumberPool() {
          for (int i = 0; i <= SCOPE; i++)
  • 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)
  • Slurpys/이상규 . . . . 38 matches
         #include <stdio.h>
         bool checkSlump(char str[], int index, int *end)
          if(str[index] == 'D' || str[index] == 'E')
          index++;
          if(str[index] == 'F')
          while(str[index] == 'F')
          index++;
          if(str[index] == 'G')
          *end = index + 1;
          else if(checkSlump(str, index, end))
         bool checkSlimp(char str[], int index, int *end)
          if(str[index] == 'A')
          index++;
          if(str[index] == 'H')
          *end = index + 1;
          else if(str[index] == 'B')
          index++;
          if(checkSlimp(str, index, end))
          index = *end;
          if(str[index] == 'C')
  • 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.
  • TheJavaMan/테트리스 . . . . 38 matches
          int blockType;
          int []blockX;
          int []blockY;
          int blockDirection;
          int delayTime;
          public void init() {
          blockX = new int[4];
          blockY = new int[4];
          blockType = Math.abs(r.nextInt() % 7);
          for(int i=0;i<12;i++) {
          for(int j=0;j<21;j++) {
          for(int i=0;i<4;i++) {
          for(int i=0;i<12;i++) {
          for(int j=0;j<21;j++) {
          for(int i=0;i<4;i++) {
          blockType=Math.abs(r.nextInt() % 7);
          delLine();
          for(int i=0;i<4;i++) {
          public void delLine()
          for(int row=20; row>=0; row--) {
  • 김동준/Project/OOP_Preview/Chapter1 . . . . 38 matches
          private String serialNumber;
          private String builder;
          private String model;
          private String type;
          private String backWood;
          private String topWood;
          public String getserialNumber(){
          GuitarProperty(String SN, double price, String builder, String model, String type,
          String backWood, String topWood) {
          public String getserialNumber() {return this.serialNumber; }
          public String getBuilder() { return this.builder; }
          public String getModel() { return this.model; }
          public String getType() { return this.type; }
          public String getBackWood() { return this.backWood; }
          public String getTopWood() { return this.topWood; }
         class Inventory{
          private GuitarList GLPointer;
          this.GLPointer = this.GuitarList;
          while (this.GLPointer.next != null) {
          this.GLPointer = this.GLPointer.next;
  • 서민관 . . . . 38 matches
         "Test String"
         ||[http://zeropage.org/seminar/95651 XML-RPC을 이용한 네이버 블로그 글 올리기]||
          * Map in C
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
         typedef int BOOL;
         #define TRUE 1
         #define FALSE 0
          void (*put)(char *key, int value);
          int (*get)(char *key);
          BOOL (*contains)(char *key);
         // Commented for private using in Map.
         void put(char *key, int value);
         int get(char *key);
         BOOL contains(char *key);
         #include "Map.h"
          int value;
         KeyValuePair *createPair(char *key, int value) {
         void put(char *key, int value) {
  • 자료병합하기/조현태 . . . . 38 matches
         #include <iostream>
         #include <stdio.h>
         using namespace std;
         int a[] = {10, 40, 70, 80, 90, 99};
         int b[] = {20, 30, 40, 50, 60, 70, 85, 90, 95, 97, 99};
         int *result_data;
         int write_point=0;
         void print_data(char, int* , int );
         void save_data(int);
         const int END_OF_DATA=99;
         void main()
          int read_point=0;
          result_data=(int*)malloc((sizeof(a)+sizeof(b))*sizeof(int));
          for (register int i=0; a[i]!=END_OF_DATA; ++i)
          while (a[i]>=b[read_point])
          save_data(b[read_point]);
          if (a[i]==b[read_point])
          ++read_point;
          print_data('a', a , sizeof(a)/sizeof(int) );
          print_data('b', b , sizeof(b)/sizeof(int) );
  • .vimrc . . . . 37 matches
         set autoindent " 자동으로 들여쓰기를 한다.
         set bs=2 " allow backspacing over everything in insert mode
         set viminfo='20,"50 " read/write a .viminfo file, don't store more
         set incsearch
         let TE_WinWidth = 20 " TagExplorer 창크기 조절
         map <F3> [{v]}zf " file folding
         map <F4> zo " file unfolding
         map <C-F12> :make again<CR> " 모두 새로 빌드
         vnoremap <c-a> :IncN<CR>
         filetype indent on
         filetype plugin on
         au BufWinLeave *.py mkview " 보던 .py 파일의 예전 위치에 커서 위치시키기
         au BufWinEnter *.py silent loadview "
         au BufWinLeave *.c mkview " 보던 .c 파일의 예전 위치에 커서 위치시키기
         au BufWinEnter *.c silent loadview "
         au BufNewFile *.cpp call InsertSkeleton()
         au BufNewFile *.h call InsertHeaderSkeleton()
         function! InsertSkeleton()
          call InsertInclude()
         function! InsertHeaderSkeleton()
  • 02_Python . . . . 37 matches
         = 02 Python Seminar =
          * 대부분의 정보는 Learning Python 에서 발최 .. 그책이 가장 쉬울꺼 같습니다.
         = Date of Seminar =
         = Main Contents =
          * 가장 정확하게 말하자면 객체 지향 스크립 언어이다. (see also Ousterhout's IEEE Computer article ''Scripting: Higher Level Programming for the 21st Century'' at http://home.pacbell.net/ouster/scripting.html )
         see also http://fallin.lv/PythonRumors
          * Infoseek 이란 포탈 싸이트는 일부 검색엔진을 파이썬 기반으로 사용한다
          * Industrial Light and Magic 사는 파이썬을 사용하여 광고용 에니메이션을 제작한다
          #include <stdio.h>
          int main(void)
          printf("Hello World\n");
          #include <iostream.h>
          int main()
          public static void main(String[] args)
          System.out.println("Hello World");
          Print "Hello World"
         === Quick Sort in Python ===
          ltList=[y for y in aList[1:] if y<aList[0]]
          gtList=[y for y in aList[1:] if y>=aList[0]]
          '' 기존 C 나 C++ 의 경우는 어떠한 변수를 지정할떄 타입을 꼭 지정해 줘야했다 그 예로 int 나 char 이 있다 하지만 파이썬의 경우는
  • AcceleratedC++/Chapter12 . . . . 37 matches
         = Chapter 12 Making class objects act like values =
         12장에서는 string 클래스의 클론 버전인 Str 클래스를 제작한다. Str 클래스는 string 클래스의 형변환과 연산자의 구현에 초점을 맞추어서 제작한다.
         == 12.1 A simple string class ==
          std::copy(cp, cp+std::strlen(cp), std::back_inserter(data));
          template<class In> Str(In b, In e) {
          std::copy(b, e, std::back_inserter(data));
         상기의 클래스에는 Str(const char*) 타입의 생성자가 존재하기 때문에 이 생성자가 Str 임시 객체를 생성해서 마치 '''사용자 정의 변환(user-define conversion)'''처럼 동작한다.
         '''string 에서 가능했던 연산들'''
         cin>>s;
          Vec<int> data;
         이 구현의 세부적인 작동방식은 모두 Vec 클래스로 위임하였다. 대신에 const 클래스와 const 가 아닌 클래스에 대한 버전을 제공하였고, 표준 string 함수와의 일관성 유지를 위해서 string 대신에 char& 형을 리턴하도록 하였음.
         cin>>s;
         cin.operator>>(s); // istream 을 우리가 만든 객체가 아니기 때문에 재정의할 수 없다.
         s.operator>>(cin); // 표준 istream 의 형태가 아니다.
         s>>cin
          // input operator implemented in 12.3.2/216
          std::copy(s.data.begin(), s.data.end(),
          std::back_inserter(data));
          std::copy(cp, cp + std::strlen(cp), std::back_inserter(data));
          template <class In> Str(In i, In j) {
  • 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
  • InterMap . . . . 37 matches
         #format plain
         PyWiki http://www.voght.com/cgi-bin/pywiki?
         UseMod http://www.usemod.com/cgi-bin/wiki.pl?
         MeatBall http://www.usemod.com/cgi-bin/mb.pl?
         MoinMoin http://purl.net/wiki/moin/
         PythonInfo http://www.python.org/cgi-bin/moinmoin/
         SoomSori http://soomsori.net/moin.cgi/
         Seminar http://xper.org/wiki/seminar/
         Caucse http://www.caucse.net/cgi-bin/moin/moin.cgi/
         Aladdin http://www.aladdin.co.kr/catalog/book.asp?ISBN=
         Nappingin http://nappingin.cafe24.com/wiki/wiki.php/
         Acup http://zeropage.org/~gochi/cgi-bin/wiki/moin.cgi/ # 자판기(객체모델링)프로젝트, 인공지능 오델로 프로젝트 위키
         SmallGaia http://neocoin.nameip.net:8000/w / #NeoCoin 의 개인 위키로 주소가 확정되지 않음
         PurePond http://purepond.cafe24.com/wiki/moin.cgi/ # 임인택의 개인위키
         Wiz http://zeropage.org/~wiz/cgi-bin/MoinMoin/wiki-moinmoin/moin.cgi/ # Wiz(창섭) 의 개인 위키
         XperSeminar http://xper.org/wiki/seminar/ # Xper Seminar
         BioinfoWiki http://biohackers.net/wiki/
  • IpscLoadBalancing . . . . 37 matches
         """b.py Load Balancing
         from cStringIO import StringIO
         def doAll(aString):
          lines=parseLines(aString)
          for eachLine in lines:
          yield getRounds(eachLine)
         def parseLines(aString):
          stream=StringIO(aString)
          numOfElements=int(lexer.get_token())
          thisLine=[]
          for i in range(numOfElements):
          thisLine.append(int(lexer.get_token()))
          yield thisLine
          numOfElements=int(numOfElements)
         class BalancingImpossibleException(Exception):
          raise BalancingImpossibleException
          except BalancingImpossibleException:
          for i in range(listLen):
          last=min(leftSum-avg*i,rightSum-avg*(listLen-i-1),last)
         class TestLoadBalancing(unittest.TestCase):
  • JavaScript/2011년스터디/서지혜 . . . . 37 matches
          function init() {
          <body onload=init();>
          <input type=text name=t value="" size=30>
          <input type=button onclick=putn(7) value=7 class=btn>
          <input type=button onclick=putn(8) value=8 class=btn>
          <input type=button onclick=putn(9) value=9 class=btn>
          <input type=button onclick=operator("/") value="/" class=btn>
          <input type=button value="pow" class=btn>
          <input type=button onclick=putn(4) value=4 class=btn>
          <input type=button onclick=putn(5) value=5 class=btn>
          <input type=button onclick=putn(6) value=6 class=btn>
          <input type=button onclick=operator("*") value="*" class=btn>
          <input type=button value="sqrt" class=btn>
          <input type=button onclick=putn(1) value=1 class=btn>
          <input type=button onclick=putn(2) value=2 class=btn>
          <input type=button onclick=putn(3) value=3 class=btn>
          <input type=button onclick=operator("-") value="-" class=btn>
          <input type=button value="log" class=btn>
          <input type=button onclick=putn(0) value=0 class=btn>
          <input type=button onclick=putn('.') value="." class=btn>
  • JollyJumpers/서지혜 . . . . 37 matches
         {{{#include <stdio.h>
         #include <memory.h>
         #include <math.h>
         int main(){
          int count;
          int a[3000];
          if(feof(stdin)) break;
          if(feof(stdin)) break;
          for(int i=0; i<count; i++){
          for(int i=1; i<count; i++){
          int index = abs(a[i]-a[i-1]);
          if(isJ[index]) {
          isJ[index] = true;
          for(int i=1; i<count; i++){
          printf("Not jolly\n");
          continue;
          printf("jolly\n");
          continue;
         #include <stdio.h>
         #include <memory.h>
  • LoveCalculator/zyint . . . . 37 matches
         #include <iostream>
         #include <string>
         #include <vector>
         #include <math.h>
         #include <iomanip> //setprecision
         #include <ios> //precision
         using namespace std;
         size_t strlen(const string str);
         string upper(string str);
         size_t getValue(string c);
         int make1digit(int a);
         int main()
          string tmp;
          vector<string> instr;
          while(cin >> tmp) instr.push_back(tmp);
          for(vector<string>::iterator i=instr.begin();i<instr.end();++i)
         size_t strlen(const string str)
          int i=0;
         string upper(string str)
          int i;
  • ProjectSemiPhotoshop/SpikeSolution . . . . 37 matches
          BOOL InitDIB(BOOL bCreatePalette = TRUE);
          int GetBitCount();
          int GetHeight() {return m_Size.cy;}
          int GetWidth() {return m_Size.cx;}
          int GetRealWidth() {return WIDTHBYTES((GetWidth()*GetBitCount()));}
         LPSTR WINAPI FindDIBBits(LPSTR lpbi)
         DWORD WINAPI DIBWidth(LPSTR lpDIB)
          LPBITMAPINFOHEADER lpbmi; // pointer to a Win 3.0-style DIB
          LPBITMAPCOREHEADER lpbmc; // pointer to an other-style DIB
          /* point to the header (whether Win 3.0 and old) */
          lpbmi = (LPBITMAPINFOHEADER)lpDIB;
          /* return the DIB width if it is a Win 3.0 DIB */
          if (IS_WIN30_DIB(lpDIB))
         DWORD WINAPI DIBHeight(LPSTR lpDIB)
          LPBITMAPINFOHEADER lpbmi; // pointer to a Win 3.0-style DIB
          LPBITMAPCOREHEADER lpbmc; // pointer to an other-style DIB
          /* point to the header (whether old or Win 3.0 */
          lpbmi = (LPBITMAPINFOHEADER)lpDIB;
          /* return the DIB height if it is a Win 3.0 DIB */
          if (IS_WIN30_DIB(lpDIB))
  • SmithNumbers/조현태 . . . . 37 matches
         #include <stdio.h>
         #include <iostream>
         unsigned int Sum_jari(unsigned int);
         unsigned int Creat_base_and_process(unsigned int number);
         unsigned int Get_right(unsigned int, unsigned int*);
         const int MAX_NUMBER=10000000;
         void main()
          int number_simulation;
          printf("테스트를 시행할 횟수를 입력하세요.\n>>");
          unsigned int minimum_number;
          printf ("\n숫자를 입력하세요.\n>>");
          scanf("%d",&minimum_number);
          printf("결과 : %d\n",Creat_base_and_process(minimum_number+1));
         unsigned int Get_right(unsigned int number, unsigned int* log_number)
          unsigned int sum=0;
         unsigned int Sum_jari(unsigned int number)
          unsigned int sum=0;
         unsigned int Creat_base_and_process(unsigned int number)
          unsigned int *log_number=(unsigned int*)malloc((MAX_NUMBER+2)*sizeof(unsigned int));
          unsigned int gab;
  • TicTacToe/김홍선 . . . . 37 matches
         import javax.swing.*;
          int board[][];
          int x,y;
          int z[];
          int count =1 ;
          int i;
          int a,b,winner;
          board =new int [6][6];
          z = new int [9];
          win();
          repaint();
          System.out.println("승자는 " + winner + "입니다");
          for(int w=0;w<3;w++)
          for(int q=0;q<3;q++)
          repaint();
          public static void main(String args[]) {
          public void win()
          winner=2;
          winner=1;
          winner=2;
  • TicTacToe/조재화,신소영 . . . . 37 matches
         import javax.swing.*;
          int x,y;
          int counter=0;
          int array[][] = new int [3][3];
          for(int j=0;j<3; j++)
          for(int i=0; i<3;i++)
          System.out.println("x 좌표 : " + x);
          System.out.println("y 좌표 : " + y);
          repaint();
          public static void main(String args[]) {
          public void paint(final Graphics g)
          g.drawLine(100,0,100,300);
          g.drawLine(200,0,200,300);
          g.drawLine(0,100,300,100);
          g.drawLine(0,200,300,200);
          g.drawLine(25,25,75,75);
          g.drawLine(125,25,175,75);
          g.drawLine(225,25,275,75);
          g.drawLine(25,125,75,175);
          g.drawLine(125,125,175,175);
  • 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> )]]
  • aekae/RandomWalk . . . . 37 matches
         #include <iostream>
         using namespace std;
         #include <ctime>
         int table[5][5] = {0,};
         int main()
          int x, y;
          cin >> x >> y;
          int a = rand() % 3 - 1;
          int b = rand() % 3 - 1;
          for (int i=0; i<5; i++)
          for (int j=0; j<5; j++)
          for (int i=0; i<5; i++)
          for (int j=0; j<5; j++)
         #include <iostream>
         using namespace std;
         #include <ctime>
         bool IsExistZero(int table[5][5]);
         void ShowTable(int table[5][5]);
         void SetCoordinate(int& coord);
         int main()
  • 고한종/팩토리얼 . . . . 37 matches
         #include <stdio.h>
         int multi;
         int fact(int a);
         int main()
          int input;
          scanf("%d",&input);
          printf("%d",fact(input));
         int fact(int num)
         #include <stdio.h>
         int fact(int num);
         int main()
          int input;
          scanf("%d",&input);
          printf("%d",fact(input));
         int fact(int num)
         #include <stdio.h>
         int fact(int num1)
          int num2 = 1;
          int multi = 1;
         int main()
  • 데블스캠프/2013 . . . . 37 matches
          || 1 |||| [Opening] |||| [새내기의,새내기에의한,새내기를위한C언어] |||| [http://zeropage.org/seminar/91465#0, GUI 다뤄보기] |||| |||| [Clean Code with Pair Programming] |||| OOP || 8 ||
          || 2 |||| [http://zeropage.org/seminar/91479#0 페이스북 게임 기획] |||| [새내기의,새내기에의한,새내기를위한C언어] |||| [http://zeropage.org/seminar/91465#0, GUI 다뤄보기] |||| |||| [Clean Code with Pair Programming] |||| OOP || 9 ||
          || 3 |||| [http://intra.zeropage.org:4000/DevilsCamp Git] |||| [새내기의,새내기에의한,새내기를위한C언어] |||| [http://zeropage.org/devils/91470#0, HTTP 프로토콜, C언어를 이용한 웹 서버 만들기] |||| |||| [Clean Code with Pair Programming] |||| [:WebKitGTK WebKitGTK+] || 10 ||
          || 4 |||| [http://intra.zeropage.org:4000/DevilsCamp Git] |||| [http://zeropage.org/seminar/91448 로우레벨로 보는 Physical MAC Cross Layer] |||| [http://zeropage.org/devils/91470#0, HTTP 프로토콜, C언어를 이용한 웹 서버 만들기] |||| |||| [진격의안드로이드&Java] |||| [:WebKitGTK WebKitGTK+] || 11 ||
          || 5 |||| [http://intra.zeropage.org:4000/DevilsCamp Git] |||| [http://zeropage.org/seminar/91448 로우레벨로 보는 Physical MAC Cross Layer] |||| [http://zeropage.org/devils/91470#0, HTTP 프로토콜, C언어를 이용한 웹 서버 만들기] |||| |||| [진격의안드로이드&Java] |||| 밥 or 야식시간! || 12 ||
          || 6 |||||||||||||||||||| 밥 or 야식시간! |||| [:ParadigmProgramming Paradigm Programming] || 1 ||
          || 7 |||| [:데블스캠프2013/첫째날/ns-3네트워크시뮬레이터소개 ns-3 네트워크 시뮬레이터 소개] |||| [:데블스캠프2013/둘째날/API PHP + MySQL] |||| [:아두이노장난감만드는법 아두이노 장난감 만드는 법] |||| |||| [:개발과법 개발과 법] |||| [:ParadigmProgramming Paradigm Programming] || 2 ||
          || 8 |||| ns-3 네트워크 시뮬레이터 소개 |||| [:데블스캠프2013/둘째날/API PHP + MySQL] |||| [http://zeropage.org/index.php?mid=seminar&document_srl=91554 Machine Learning] |||| |||| [MVC와 Observer 패턴을 이용한 UI 프로그래밍] |||| [아듀 데블스캠프 2013] || 3 ||
          || 9 |||| [개발업계 이야기] |||| [:데블스캠프2013/둘째날/API PHP + MySQL] |||| [http://zeropage.org/index.php?mid=seminar&document_srl=91554 Machine Learning] |||| |||| MVC와 Observer 패턴을 이용한 UI 프로그래밍 |||| [아듀 데블스캠프 2013] || 4 ||
          || 10 |||||||||||||||||||| |||| [Ending] || 5 ||
         || 김민재(22기) || Opening ||
         || 박지상(5기) || [http://zeropage.org/seminar/91479#0 페이스북 게임 기획] ||
         || 안혁준(18기) || [http://intra.zeropage.org:4000/DevilsCamp Git] ||
         || 윤종하(20기) || [http://zeropage.org/seminar/91448 로우레벨로 보는 Physical MAC Cross Layer] ||
         || 김홍기(18기) || [http://zeropage.org/seminar/91465#0, GUI 다뤄보기] ||
         || 김태진(21기) || [http://zeropage.org/index.php?mid=seminar&document_srl=91554 Machine Learning] ||
         || 송지원(16기) || [Clean Code with Pair Programming] ||
         || 서지혜(17기) || Paradigm Programming ||
         || 김민재(22기) || Ending ||
  • 데블스캠프2002/진행상황 . . . . 37 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"]
          * ["FoundationOfUNIX"] - Unix
          * 본래 Unix 실습때 쉘 스크립트를 이용, 쓰레기통 작성을 하려고 했지만, 실제 실습때 하지 못했다.
          * 이날 했던 UNIX가 쉽게 신입 회원들에게 느껴졌고, 컴퓨터 구조는 좀 어렵게 느껴진거 같다. 쉬운것과 어려운 세미나가 이렇게 섞인것이 내가 보기에는 쉬운것만 하는거나 어려운것만 하는것보다 더 좋았던거 같다. - 상협
          -- 왜 어려웠을까, 왜 쉬웠을까에 대해서 생각해봤으면 좋겠다. 그리고 또한 '정말 쉬웠을까?' 라는 점도. 이건 사람들에게 물어보며 Feedback 을 얻어야 할 것이다. 개인적인 생각으론 Unix 또한 그리 많이 쉬운 세미나는 아니였다고 생각한다. 다음에 것들에 대해 답할 수 있는지.
          * Unix 가 뭐하는거에요? Linux 랑 다른거에요?
          * 상대경로와 절대경로가 Unix에만 쓰여요?
  • 만년달력/강희경,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)//지난 달 날수를 계산
  • 비밀키/권정욱 . . . . 37 matches
         === string 비이용 ===
         #include <iostream>
         #include <fstream>
         using namespace std;
         int main(){
          cin >> secret;
          ifstream fin(secret);
          int key1, key2;
          cin >> key1;
          fin.get(text);
          while (!fin.eof()){
          fin.get(text);
          fin.close();
          cin >> unsecret;
          ifstream ffin(unsecret);
          cin >> key2;
          ffin.get(text);
          while (!ffin.eof()){
          ffin.get(text);
         === string 이용 ===
  • 새싹교실/2011/무전취식/레벨4 . . . . 37 matches
          == ICE Breaking ==
         정진경 : 목요일에 서강대가서 소프트웨어 마에스트로 설명회 갔는데 작년에 소프트웨어 마에스트로 면접관이 날 알아봐서 감격이었다. 토요일에 집에 내려갔다왔는데 형 친구들을 봤다. 형친구가 겜 프로젝트하는데 실무적인 도움되는것을 들었다. Zp정모는 가서 ICE Breaking 진실혹은 거짓을 하고 스피드 게임을 했다. 분위기는 재밋고 좋은것 같다.
          * http://winapi.co.kr <- 사이트에 대해 설명해주었습니다. 처음에 매우 유용한 사이트지요!
          int sum(int x, int y){ <<-- 입력 파라매터는 int타입 x와 y.
          return x+y; <- return 타입은 x+y의 결과 타입인 int;
         #include<stdio.h>
         #include<math.h> //Rand를 가져오는 헤더파일
         #include<stdlib.h>
         #include<time.h>
         #define KICK 350
         #define PUNCH 200
         #define SORAKICK 900
         #define SORAPUNCH 1000
         int main(){
          int Sora = 2500, My = 5000;
          int temp; //임시 계산할 변수
          printf("소라때리기 게임 시작합니다.\n");
          printf("제작자 : 06 김준석 11 강원석 이진영 서원태 Target : 11 이소라\n");
          printf("이소라 체력 : %d\n",Sora);
          printf("내 체력 : %d\n",My);
  • 컴퓨터공부지도 . . . . 37 matches
         Scientist . Engineer . Programmer 의 영역. (꼭 이분법적으로 나누는건 좀 그렇지만. 일종의 간단한 분류체계정도?)
         === Windows Programming (Windows Platform Programming) ===
         Windows Programming 이라고 한다면 Windows 운영체제에서 Windows 관련 API 를 이용 (혹은 관련 Framework), 프로그래밍을 하는 것을 의미한다. 보통 다루는 영역은 다음과 같다. (이 영역은 꼭 Windows 이기에 생기는 영역들이 아니다. Windows 이기에 생기는 영역들은 Shell Extension 이나 ActiveX, DirectX 정도? 하지만, 가로지르기는 어떻게든지 가능하다)
         ==== GUI Programming ====
         예전에 Windows Programming 을 배운다고 한다면 기본적으로 GUI Programming 을 의미했다. Windows 가 기본적으로 GUI OS 이기에 기본이 이것이라고 생각하는 것이다. 하지만, GUI 는 어디까지나 'User Interface' 이다. 즉, 이건 Input/Output 에 대한 선택사항이다. 필요할때 공부하자. (하지만, 보통 User-Friendly 한 프로그램들은 대부분 GUI 이다.)
         Windows 에서 GUI Programming 을 하는 방법은 여러가지이다. 언어별로는 Python 의 Tkinter, wxPython 이 있고, Java 로는 Swing 이 있다. C++ 로는 MFC Framework 를 이용하거나 Windows API, wxWindows 를 이용할 수 있으며, MFC 의 경우 Visual Studio 와 연동이 잘 되어서 프로그래밍 하기 편하다. C++ 의 다른 GUI Programming 을 하기위한 툴로서는 Borland C++ Builder 가 있다. (C++ 중급 이상 프로그래머들에게서 오히려 더 선호되는 툴)
         가장 쉽게 GUI Programming 을 배우는방법이라 생각되는건, Python 에서의 Tkinter Programming 또는 Jython Interpreter 에서 Swing Tutorial 을 이용하는것이다. (["Jython"] 페이지의 JythonTutorial 참조)
         GUI Programming 을 하면서 익힐 수 있는 소중한 개념으로서 Event Driven Programming, Design 으로는 CompositePattern 이 있다. 대부분의 GUI Framework 들은 Event Driven Style 의 프로그래밍 방식이며, 대부분 CompositePattern 을 이용한다. Framework 들의 디자인 개념들이 비슷하므로, 하나의 GUI 관련 Framework 에 익숙해지면 다른 Framework 도 쉽게 익힐 수 있다.
         Windows GUI Programming 관련 서적으로는 찰스페촐드의 책을 추천한다. 책 내용이나 번역(!)글이 어렵지만 개념설명이 잘 되어 있으며, 실려있는 예제들이 좋다.
         ==== Windows API ====
         ==== Network Programming ====
         ==== Multi Thread Programming ====
         === 3D Programming ===
         === Network Programming ===
         이를 위해 Interactive Shell이 지원되는 인터프리터 언어(e.g. Python)와 패킷 스니퍼(e.g. tcpdump, ethereal, etherpeek, ...), 웹 브라우져, FTP, TELNET 클라이언트 등을 이용할 수 있다.
         See Also HowToStudyXp, HowToReadIt, HowToStudyDataStructureAndAlgorithms, HowToStudyDesignPatterns, HowToStudyRefactoring
  • 현종이 . . . . 37 matches
          int m_nNumber, m_nKorean, m_nEnglish, m_nMath;
          int m_nTotal; //점수 합계를 나타냅니다.
          SungJuk(const char *name,int nNumber, int nKorean, int nEnglish, int nMath);
          int GetTotal(); //점수합계를 호출하는 매써드입니다.
          void PrintResult(); //결과를 출력합니다.
          void TopTotal_Print();
          void Top_Print(); //전체수석을 출력합니다.
          void TopKorean_Print(); //국어점수 수석을 출력합니다.
          void TopEnglish_Print(); //영어점수 수석을 출력합니다.
          void TopMath_Print(); //수학점수 수석을 출력합니다.
          void Input(int nNumber, char szName[], int nKorean, int nEnglish, int nMath);
         #include<iostream>
         using namespace std;
         #include<iostream> //strcpy()
         #include"SungJuk.h"
         int SungJuk::GetTotal()
         void SungJuk::PrintResult()
         void SungJuk::TopTotal_Print()
         void SungJuk::TopKorean_Print()
         void SungJuk::TopEnglish_Print()
  • 희경/엘레베이터 . . . . 37 matches
         #include<iostream>
         #include<fstream>
         using namespace std;
         int main()
          ifstream fin("input.txt");
          int number;
          int floor;
          int people = 0;
          int in;
          int out;
          fin >> number;
          while(fin >> floor >> in >> out)
          people = people + in - out;
          << in << "명이 타고 " << out << "명이 내려서" << endl
         #include<iostream>
         #include<fstream>
         using namespace std;
         int main()
          ifstream fin("input.txt");
          int number;
  • 05학번만의C++Study/숙제제출4/최경현 . . . . 36 matches
         #include <iostream>
         using namespace std;
         class String
          int m_number;
          String(int input_number);
          String();
          ~String();
          int check(int check_number);
         String::String(int input_number)
          m_number = input_number;
         String::String()
         String::~String()
         int String::check(int check_number)
         int main()
          String *test[255];
          int number;
          for( int i = 0; i < 255; i++)
          cin >> number;
          int check2=0;
          int check_number[255] ;
  • AnEasyProblem/강소현 . . . . 36 matches
         ||Problem|| 2453||User||talin0528||
         public class Main{
          public static void main(String[] args){
          Scanner sc = new Scanner(System.in);
          while(sc.hasNextInt()){
          int i = sc.nextInt();
          printJ(i);
          private static void printJ(int i){
          int [] bin = binI(i);
          int num = 0, count=0;
          while(num<bin.length-1){
          if(bin[num] == 1){
          if(bin[num+1] == 0){
          bin[num+1] = 1;
          bin[num] = 0;
          bin[num] = 0;
          bin[count++] = 1;
          int result = 0;
          for(int k=0; k<bin.length;k++){
          result += bin[k]*Math.pow(2,k);
  • 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()
  • HowToStudyDesignPatterns . . . . 36 matches
          결국 제 후배가 한달 정도만에 그렇게 껍질을 깨고 나오는 발전을 할 수 있었던 것은 그 자신이 늘 "반성적인 학습"을 해오며 자기 영어 공부에 대한 문제의식을 형성했고 궁리해 왔기 때문입니다. 물론 절대적인 영어 공부량(input)이 이미 어느 정도 되어 있었기 때문이기도 합니다. 물길을 열어줄 "열쇠"가 필요했었던거죠. 이미 물은 어느 정도 차 있었고요.
          ''We were not bold enough to say in print that you should avoid putting in patterns until you had enough experience to know you needed them, but we all believed that. I have always thought that patterns should appear later in the life of a program, not in your early versions.''
          ''The other thing I want to underscore here is how to go about reading Design Patterns, a.k.a. the "GoF" book. Many people feel that to fully grasp its content, they need to read it sequentially. But GoF is really a reference book, not a novel. Imagine trying to learn German by reading a Deutsch-English dictionary cover-to-cover;it just won't work! If you want to master German, you have to immerse yourself in German culture. You have to live German. The same is true of design patterns: you must immerse yourself in software development before you can master them. You have to live the patterns.
          Read Design Patterns like a novel if you must, but few people will become fluent that way. Put the patterns to work in the heat of a software development project. Draw on their insights as you encounter real design problems. That’s the most efficient way to make the GoF patterns your own.''
         이런 식의 "사례 중심"의 공부를 위해서는 스터디 그룹을 조직하는 것이 좋습니다. 혼자 공부를 하건, 그룹으로 하건 조슈아 커리프스키의 유명한 A Learning Guide To Design Patterns (http://www.industriallogic.com/papers/learning.html'''''')을 꼭 참고하세요. 그리고 스터디 그룹을 효과적으로 꾸려 나가는 데에는 스터디 그룹의 패턴 언어를 서술한 Knowledge Hydrant (http://www.industriallogic.com/papers/khdraft.pdf'''''') 를 참고하면 많은 도움이 될 겁니다 -- 이 문서는 뭐든지 간에 그룹 스터디를 한다면 적용할 수 있습니다.
         sorry라는 단어를 모르면서 remorseful이라는 단어를 공부하는 학생을 연상해 보세요. 제 강의에서도 강조를 했지만, 외국어 공부에서는 자기 몸에 가까운 쉬운 단어부터 공략을 하는 것이 필수적입니다 -- 이런 걸 Proximal learning이라고도 하죠. 등급별 어휘 목록 같은 게 있으면 좋죠. LG2DP에서 제안하는 순서가 그런 것 중 하나입니다.
          ''...but I always teach Composite Pattern, Strategy Pattern, Template Method Pattern, and Factory Method Pattern before I teach Singleton Pattern. They are much more common, and most people are probably already using the last two. ... ''
         우리가 갖고 있는 지식이라는 것은 한가지 표현양상(representation)으로만 이뤄져 있지 않습니다. "사과"라는 대상을 음식으로도, 그림의 대상으로도 이해할 수 있어야 합니다. 실제 패턴이 적용된 "다양한 경우"를 접하도록 하라는 것이 이런 겁니다. 동일 대상에 대한 다양한 접근을 시도하라는 것이죠. 자바로 구현된 코드도 보고, C++로 된 것도 보고, 스몰토크로 된 것도 봐야 합니다. 설령 "오로지 자바족"(전 이런 사람들을 Javarian이라고 부릅니다. Java와 barbarian을 합성해서 만든 조어지요. 이런 "하나만 열나리 공부하는 것"의 병폐에 대해서는 존 블리스사이즈가 C++ Report에 쓴 Diversify라는 기사를 읽어보세요 http://www.research.ibm.com/people/v/vlis/pubs/gurus-99.pdf) 이라고 할지라도요. 그래야 비로소 자바로도 "상황에 맞는" 제대로 된 패턴을 구현할 수 있습니다. 패턴은 그 구현(implementation)보다 의도(intent)가 더 중요하다는 사실을 꼭 잊지 말고, 설명을 위한 방편으로 채용된 한가지 도식에 자신의 사고를 구속하는
          1. Design Patterns Explained by Shalloway, and Trott : 최근 DP 개론서로 급부상하고 있는 명저
          1. ["Refactoring"] by Martin Fowler : DP 공부 이전에 봐서 문제의식 형성하기 (망치를 들면 모든 것이 못으로 보이는 오류 탈피)
          1. Pattern Hatching by John Vlissides : DP 심화학습
          1. Concurrent Programming in Java by Doug Lea
          1. Analysis Patterns by Martin Fowler : 비지니스 분석 패턴 목록
          1. A Timeless Way of Building by Christopher Alexander : 프로그래머들이 가장 많이 본 건축서적. 패턴의 아버지
          * LearningGuideToDesignPatterns - 각각의 패턴 학습순서 관련 Article.
         알렉산더가 The Timeless Way of Building의 마지막에서 무슨 말을 하는가요?
         ||''At this final stage, the patterns are no longer important ... [[BR]][[BR]]The patterns have taught you to be receptive to what is real.''||
         see also HowToStudyRefactoring, HowToStudyXp
  • LearningToDrive . . . . 36 matches
         I can remeber clearly the day I first began learning to drive. My mother and I were driving up Interstate 5 near Chico, California, a horizon. My mom had me reach over from the passenger seat and hold the steering wheel. She let me get the feel of how motion of the wheel affected the dirction of the car. Then she told me, "Here's how you drive. Line the car up in the middle of the lane, straight toward the horizon."
         I very carefully squinted straight down the road. I got the car smack dab in the middle of the lane, pointed right down the middle of the road. I was doing great. My mind wandered a little...
         I jerked back to attention as the car hit the gravel. My mom (her courage now amazes me) gently got the car back straight on the road. The she actually taught me about driving. "Driving is not about getting the car goint in the right direction. Driving is about constantly paying attention, making a little correction this way, a little correction that way."
         This is the paradigm for XP. There is no such thing as straight and level. Even if things seem to be going perfectly, you don't take your eyes off the road. Change is the only constant. Always be prepared to move a little this way, a little that way. Sometimes maybe you have to move in a completely different direction. That's life as a programmer.
         Everythings in software changes. The requirements change. The design changes. The business changes. The technology changes. The team changes. The team members change. The problem isn't change, per se, because change is going to happen; the problem, rather, is the inability to cope with change when it comes.
         The driver of a software project is the customer. If the software doesn't do what they want it to do, you have failed. Of course, they don't know exactly what the software should do. That's why software development is like steering, not like getting the car pointed straight down the road. Out job as programmers is to give the customer a steering wheel and give them feedback about exactly where we are on the road.
         from "Learning To Drive - XP explained"
         안되는 영어로 읽고 있는 중인 XP Explained 중. (제대로 뜻을 이해한건지. -_-;)
         소프트웨어 개발을 운전을 배우는 것에 비유한 설명이 재미있네요. software project 의 Driver 는 customer 라는 말과.. Programmer 는 customer 에게 운전대를 주고, 그들에게 우리가 정확히 제대로 된 길에 있는지에 대해 feedback 을 주는 직업이라는 말이 인상적이여서. 그리고 customer 와 programmer 와의 의견이 수렴되어가는 과정이 머릿속으로 그려지는 것이 나름대로 인상적인중. 그리고 'Change is the only constant. Always be prepared to move a little this way, a little that way. Sometimes maybe you have to move in a completely different direction. That's life as a programmer.' 부분도.. 아.. 부지런해야 할 프로그래머. --;
         ["ExtremeProgramming"]
  • MineSweeper/이승한 . . . . 36 matches
         = Mine Sweeper/이승한 =
          for i in range(height):
          for j in range(width):
         for i in range(height):
          for j in range(width):
          M[i][j]=int(0)
         for i in range(height):
          print M[i]
          quantityMine=100;// 지뢰의 갯수 설정
         function setMine(){
          mine_count = 0;
          while(mine_count<quantityMine){
          if( map[i][j]!= -1 && mine_count < quantityMine && !( random(100) % 5 ) ){
          trace("지뢰 배치 " + i + " " + j + " 지금 까지 배치된 지뢰의 갯수 : " + ++mine_count);
         function showMineMap(){
          showMap=temp.join(" ");
         function checkMineMap(){
          minecount = 0;
          if(map[i-1][j-1]=='*')minecount++;
          if(map[i-1][j]=='*')minecount++;
  • 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
  • ReverseAndAdd/이승한 . . . . 36 matches
          reNum = int(reNum[::-1])
          print reNum
         if __name__ == '__main__':
          num = input()
         #include <iostream>
         using namespace std;
         #include <assert.h>
         const int TEN = 10;
         int reverse(int number); //뒤바꾼 수가 원래 수와 같다면 -1 이 리턴
         void main(){
          int N;
          int input[10] = {0};
          int output[10] = {0};
          int outputN[10] = {0};
          int trial = 0;
          cin>> N;
          for(int cycle=0; cycle< N; cycle++ ){
          cin>>input[cycle];
          if( reverse( input[cycle] ) == -1){
          output[cycle] = input[cycle];
  • Spring/탐험스터디/2011 . . . . 36 matches
         [[pagelist(^Spring)]]
          * [Spring Framework 3]를 탐험해보자!
          * [Spring]의 핵심 가치와 원리에 대한 이해
          * Spring Framework 3 다루는 다른 교재 가능
          * 과제: SpringSource Tool Suite에서 Spring MVC Template 프로젝트 생성
          DB의 4가지 method : Insert, Select, Update, Delete
          1.3 Resttemplate : spring에서 RESTful에 접근하기 위한 template. spring에서 데이터를 받아오는 방법.
          1.1. 전략 패턴 : 전략(알고리즘)의 분리를 한다는 의미. 언어에 따라 패턴을 적용하는 방법이 조금씩 다를 수도 있다. 책에서는 interface를 사용해서 전략을 분리하였는데, 이것은 자바에 어울리는 전략의 분리라고 한다.
          1.2. Runtime Injection : 다형성을 만들기 위해서 사용한 방법. 개인적으로 코딩할 때 다형성의 사용이 좀 부족하다고 느꼈는데, Runtime시에 오브젝트간의 관계를 맺게 하지 않고 그냥 클래스에 맞춘 코딩을 했기 때문인 것 같다. 앞으로 코딩을 하는데 머릿속에 넣어두고 자주 써 보는 것이 좋을 것이라 생각된다.
          1.4. Connection c = DriverManager.getConnection(...); 문장에서 에러가 나는데 문자열의 localhost/springbook 부분을 자신이 사용할 테이블의 이름으로 바꾸어 주어야 한다. localhost/test로 바꿔준다. 이후의 문자열 두 개는 각각 자신의 MySQL 계정 이름(기본값 root), MySQL 비밀번호를 적어주면 된다.
          2.1. 우선 책에서 외부 라이브러리를 사용하고 있는데, STS에는 필요한 라이브러리가 들어있지 않은 것 같다. 이쪽 페이지(http://www.tutorials4u.net/spring-tutorial/spring_install.html)를 보고 라이브러리를 받아야 한다. 받아서 압축을 풀고 spring-framework-3.0.5.RELEASE/dist 폴더에 있는 jar 파일들을 프로젝트에 포함시켜주면 AnnotationContext, AnnotationConfigApplicationContext, @Configuration, @Bean 등을 사용할 수 있게 된다.
          2.1. 스프링의 ConfigurationContext 내부의 Bean에서 Context를 생성해서 DI를 하려고 했을 때 오류 발생 : Context 내부에서 Context를 생성하는 코드를 사용했기 때문에 생성이 재귀적으로 이루어져서 무한 반복된다. 그리고 디버그 시 main 이전에 에러가 일어났는데, 그것은 스프링의 Context는 시작 전에 Bean들을 생성하기 때문이다. main에 진입하기 이전의 스프링 초기화 단계에서 오류가 일어났다는 얘기.
          1. Spring MVC Template Project 생성하여 실행해보려다 실패.
          1. Spring Project를 생성하고 실행하는데 Tomcat 설치가 필요하여 플러그인 설치함.
          1. Spring Project를 생성하고 실행하는데 포트가 이미 사용중이라 되지 않음.
         spring-framework-3.0.5.RELEASE/dist 폴더에 있는 jar 파일들을 프로젝트에 포함시켰는데,
         책에 jar 파일 목록에 있던 것 중 org.springframework.~~ 가 아닌 것들이 빠져있어서 그런가 아래와 같은 오류가 나는..
         Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
          at org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:160)
          at org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:213)
  • TicTacToe/후근,자겸 . . . . 36 matches
         import javax.swing.*;
          int x, y;
          int missClicked = 0;
          int arr[][] = new int[3][3];
          public void init() {
          for ( int i=0;i<3;i++ ) {
          for ( int j=0;j<3;j++ )
          int iNyou = 1;
          arr[0][0]=iNyou;
          arr[0][1]=iNyou;
          arr[0][2]=iNyou;
          arr[1][0]=iNyou;
          arr[1][1]=iNyou;
          arr[1][2]=iNyou;
          arr[2][0]=iNyou;
          arr[2][1]=iNyou;
          arr[2][2]=iNyou;
          if(iNyou==1)
          iNyou = 2;
          else if(iNyou==2)
  • TugOfWar/문보창 . . . . 36 matches
         #include <iostream>
         #include <cstdlib>
         using namespace std;
          int left;
          int right;
         const int MAX_CASE = 100;
         const int MAX = 100;
         inline void eatline() { while(cin.get() != '\n') continue; };
         inline int comp(const void *i,const void *j) { return *(int *)i-*(int *)j; };
         int main()
          int nCase;
          int weight[MAX];
          int left[MAX/2];
          int right[MAX/2];
          int nPeople;
          cin >> nCase;
          int i, j, k;
          int sumleft, sumright;
          int lcount, rcount;
          int tempSwap;
  • ZP도서관 . . . . 36 matches
         [[include(틀:Deprecated)]]
         || Applications for Windows Fourth Edition || Jeffrey Richter || MS Press || ["1002"] || 원서 ||
         || C++로 배우는 PC 하드웨어 || 김성환 ||.|| ["fnwinter"] || 한서 ||
         || Embedded Systems Building Blocks, ||.|| ... || ["fnwinter"] || 원서 ||
         || Essential System Administration || AEeen Frisch ||O'Reilly || ["혀뉘"], ["ddori"] || 원서 ||
         || inside C# || Tom Archer || 정보문화사 || ["1002"],류상민 || 한서 ||
         || JAVA and XML (1st ed.) || Brett McLaughlin || O'REILLY || 이선우 || 원서 ||
         || Java Network Programming 2nd Ed. ||.|| O'Reilly ||["nautes"]||원서||
         || Programming Python || Mark Lutz || O'REILLY || ddori || 원서 ||
         || Solaris Internals || Jim Mauro, Richard 맥도걸|| Prentice Hall || ["혀뉘"], ["ddori"] || 원서 ||
         || Swing || Matthew Robinson, Pavel Vorobiev || Manning || ["혀뉘"] || 원서 ||
         || The C Programming Language 2nd Ed. || Kernighan, Ritchie || Prentice Hall || ["zennith"] || 원서 ||
         || Windows NT 프로그래밍 || Julian Templeman || 정보문화사 || ["1002"] || 한서. Wrox 번역판 ||
         || Writing Solid Code||.||.||류상민||한서||
         || 자바 네트워크프로그래밍 2ed || Merlin Hughes 외 ||Manning||["혀뉘"],["erunc0"],["구근"]||인포북 번역서||
         || 어셈블리 언어(가장 좋은 어셈책) || IRVINE || 교보문고 || 정직 || 한서||
         || Understanding The Linux || Bovet&Cesati ||.|| ["fnwinter"] || 원서(비쌈)||
         || MicroC/OS-II || ... || . || ["fnwinter"]|| 원서 ||
         || Operating Systems Design and Implemenation || TANENBAUM ||.|| ["fnwinter"] || 원서 ||
         || 리눅스 디바이스 드라이버 || RUBINI ||.|| ["fnwinter"] || 한서 ||
  • subsequence/권영기 . . . . 36 matches
         #include<iostream>
         #include<vector>
         using namespace std;
         vector <int> e, sum;
         int main(void)
          int n, s;
          int l, h, m, i, ans = 100020;
          cin>>n>>s;
          cin>>e[i];
         * drying
         #include<iostream>
         #include<vector>
         using namespace std;
         vector <int> laundry;
         int main(void)
          int n, k, i, ans, temp = 0;
          int low, high = 0, mid;
          cin>>n;
          cin>>laundry[i];
          cin>>k;
  • 데블스캠프2010/일반리스트 . . . . 36 matches
         // #include <unistd.h>
         #include <stdio.h>
         #include <stdlib.h>
         #include <time.h>
         #define MAX 1000000
         int fn_qsort_intcmp( const void *a, const void *b )
          return( *(int *)a - *(int *)b);
         int main()
          int *a;
          int i;
          int *c;
          a = (int *)malloc(sizeof(int)*MAX);
          qsort( a, MAX, sizeof(int), fn_qsort_intcmp );
         // printf("Time : %.3fs\n",(double)(etime - stime)/CLOCKS_PER_SEC);
         #include <iostream>
         #include <list>
         #include <string>
         #include <cctype>
         using namespace std;
         bool compare_nocase (string first, string second)
  • 새싹교실/2012/새싹교실강사교육/2주차 . . . . 36 matches
         -과제 확인, 프로젝트 생성, GCC사용법, 컴파일, main함수, 변수, Data Type, 연산자, 입출력 기본 함수, 제어문 -
         1. Ice Breaking Wiki에 적기.
         4. 모르는 API 문법 직접 찾아보게 하기 http://winapi.co.kr -> 관련 2 코딩 Q&A
         #include<stdio.h>
         #include<math.h> //Rand를 가져오는 헤더파일
         #include<stdlib.h>
         #include<time.h>
         #define KICK 350
         #define PUNCH 200
         #define SORAKICK 900
         #define SORAPUNCH 1000
         int main(){
          int Sora = 2500, My = 5000;
          int temp; //임시 계산할 변수
          printf("소라때리기 게임 시작합니다.\n");
          printf("제작자 : 06 김준석 11 강원석 이진영 서원태 Target : 11 이소라\n");
          printf("이소라 체력 : %d\n",Sora);
          printf("내 체력 : %d\n",My);
          printf("발로차기 : k 주먹 : p\n");
          default: printf("잘못된 입력입니다\n"); break;
  • 정모/2011.4.4/CodeRace/강소현 . . . . 36 matches
         == Main.java ==
         public class Main {
          public static void main(String[] args) {
          Scanner input = new Scanner(System.in);
          while(b.getPeopleIndex() < 3){
          System.out.println("Luke가 강에 빠졌습니다ㅠㅠ");
          System.out.print("강 건널 사람 몇 명(0~2)? ");
          int num = input.nextInt();
          int [] name = new int[num];
          for(int i=0; i<num; i++){
          System.out.print("건널 사람 이름?(Layton: 1, Luke: 2, Bad: 3)->");
          name[i] = input.nextInt();
          for(int i=0; i<num; i++){
          public static boolean mustCheck(int num, int [] name){
          System.out.println("[Error] 배는 2인승이야!");
          System.out.println("[Error] Luke 혼자 못탐ㅋ");
          private String name;
          public void setName(String name){
          public String getName(){
          private String townName;
  • 진격의안드로이드&Java . . . . 36 matches
          * [http://www.slideshare.net/novathinker/1-java-key Java-Chapter 1]
          * [http://www.slideshare.net/novathinker/2-runtime-data-areas Java-Chapter 2]
          * [http://www.kandroid.org/board/data/board/conference/file_in_body/1/8th_kandroid_application_framework.pdf Android]
         javac -encoding utf8 ByteCode.java
          System.out.println("hello");
          int a, b, c;
          1: invokespecial #1 // Method java/lang/Object."<init>":()V
          4: getstatic #2 // Field java/lang/System.out:Ljava/io/PrintStream;
          7: ldc #3 // String hello
          9: invokevirtual #4 // Method java/io/PrintStream.println:(Ljava/lang/String;)V
          System.out.println("hello");
          int a, b, c;
          1: invokespecial #1 // Method java/lang/Object."<init>":()V
          4: getstatic #2 // Field java/lang/System.out:Ljava/io/PrintStream;
          7: ldc #3 // String hello
          9: invokevirtual #4 // Method java/io/PrintStream.println:(Ljava/lang/String;)V
          System.out.println("hello");
          private static final boolean optimize = false;
          private final void methodOperandStack(){
          int a, b, c;
  • AndOnAChessBoard/허준수 . . . . 35 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         int findLine(int input)
          double num = ceil((double)sqrt(input)) ;
          return (int)num;
         void process(int input)
          int line = findLine(input);
          int num = line*line;
          for( int i = 1; i<=(2*line); i++) {
          if(input == num - i + 1) break;
          if(i >= line)
          cout << line << " " << 2*line - i <<endl;
          cout << i << " " << line <<endl;
         int main()
          int input;
          while(cin >> input) {
          if(input == 0) break;
          process(input);
  • C++스터디_2005여름/도서관리프로그램/문보창 . . . . 35 matches
         #define BOOK_H_
          void input();
         #include "book.h"
         #include <iostream>
         #include <cstring>
         using namespace std;
         void Book::input()
          cin >> name;
          cin >> writer;
          cin >> ISBN;
         #define MANAGEBOOK_H_
         #include "book.h"
          void insert_list(Book & b);
          void search(Book & b, bool kind_order);
         #include "manageBook.h"
         #include <iostream>
         #include <cstring>
         using namespace std;
          (*b).input();
          insert_list(*b);
  • 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){
  • NumberBaseballGame/영동 . . . . 35 matches
         #include<iostream.h>
         #include<stdlib.h>
         #include<time.h>
         int main()
          int i, j;
          int input, input_1, input_2, input_3;
          int pitcher[3]={0,};
          int batter[3]={0,};
          int strike=0;
          int ball=0;
          cin>>input;
          input_1=input/100;
          input_2=(input%100)/10;
          input_3=(input%100)%10;
          }while(input==0 || input>987 || input_1==input_2 || input_2==input_3 || input_1==input_3);
          batter[0]=input_1;
          batter[1]=input_2;
          batter[2]=input_3;
          cout<<"\nYou Win!\n";
  • OurMajorLangIsCAndCPlusPlus/locale.h . . . . 35 matches
         location specific information 를 setting 하는데 유용한 라이브러리
         #define LC_ALL (integer constant expression) 모든 카테고리에 대한 로케일 설정을 위한 환경변수이다
         #define LC_COLLATE (integer constant expression) 스트링(string)의 정렬 순서(sort order 또는 collation)를 위한 로케일 설정을 위해 사용
         #define LC_CTYPE (integer constant expression) 문자 분류(알파벳, 숫자, 한글 또는 소문자, 대문자 등등), 변환, 대소문자 비교을 위한 로케일 설정을 의미
         #define LC_MONETARY (integer constant expression) 금액 표현(천단위 구분 문자, 소수점 문자, 금액 표시 문자, 그 위치 등)을 위한 로케일 설정
         #define LC_NUMERIC (integer constant expression) 금액이 아닌 숫자 표현(천단위, 소수점, 숫자 그룹핑 등)을 위한 로케일 설정
         #define LC_TIME (integer constant expression) 시간과 날짜의 표현(년, 월, 일에 대한 명칭 등)을 위한 로케일 설정 예를 들어 strftime(), strptime()
         #define NULL (either 0, 0L, or (void*)0) (0 in C++)
         char* decimal_point; "." LC_NUMERIC
         char* grouping; "" LC_NUMERIC
         char* int_curr_symbol; "" LC_MONETARY
         char* mon_decimal_point; "" LC_MONETARY
         char* mon_grouping; "" LC_MONETARY
         char int_frac_digits; CHAR_MAX LC_MONETARY
         || struct lconv* localeconv(void); || lconv 구조체를 현재의 location setting 에 맞게 값을 설정한다. ||
         || char* setlocale(int category, const char* locale); || category에 대해 로케일 locale을 설정하고 (물론, 사용 가능한 로케일인 경우), 설정된 로케일값을 리턴. ||
          #include <stddef.h>
          #include <locale.h>
          #include <stdlib.h>
          #include <string.h>
  • Pairsumonious_Numbers/권영기 . . . . 35 matches
         #include<stdio.h>
         #include<memory.h>
         #include<algorithm>
         #include<list>
         #define M 100
         #define N 12
         using namespace std;
         list <int> sum;
         int ans[N], n, flag = 0, checkans[M], temp[M], cnt = 0;
         int checker(){
          memset(checkans, 0, sizeof(int) * M);
          for(int i = 1; i<=n; i++){
          for(int j = i+1; j<=n; j++){
          for(int i = 0; i<cnt; i++){
         void back(int s, list <int>::iterator iter){
          list <int>::iterator it1, it2, temp, tempit;
          int tempsum;
          tempit = find(it2, sum.end(), ans[s-1] + ans[s]);
          //back(s+1, find(it2, sum.end(), ans[s-1] + ans[s]));
         int main(void)
  • 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() {
  • ScheduledWalk/창섭&상규 . . . . 35 matches
          * 여정이 끝났는지 확인할 수 있다.(IsFinished)
         #include <iostream>
         #include <cstring>
         using namespace std;
          int width;
          int height;
          int x;
          int y;
          int *JourneyArray;
          int Length;
          int CurrentPosition;
          JourneyArray=new int[Length];
          for(int i=0;i<Length;i++)
          int GetNextDirection()
          if(IsFinished())
          bool IsFinished()
          int **BoardArray;
          int TraceCount;
          BoardArray = new int* [size.height];
          for (int i = 0; i < size.height; i++)
  • SeminarHowToProgramIt . . . . 35 matches
         see also SeminarHowToProgramItAfterwords
          * ["CrcCard"] (Index Card -- The finalist of Jolt Award for "design tools" along with Rational Rose Enterprise Edition)
          * Paper Shell Programming -- Becoming a Pseudo-Turing Machine Yourself
          * Stepwise Refinement -- 진부한 미래, 신선한 과거 (see also NoSmok:ProgrammingOnPurpose )
          * PairProgramming -- 1+1 > 2
          * ["Refactoring"] -- 후각 개발법
          * Coding Style -- esp. How to Name it (프로그래머를 위한 정명학. "子曰 必也正名乎...名不正則言不順 言不順則事不成" <논어> 자로편)
          * Managing To Do List -- How to Become More Productive Only With a To-do List While Programming
          * Programmer's Journal -- Keeping a Diary (see also NoSmok:KeepaJournalToLiveBetter )
          * Lifelong Learning as a Programmer -- Teach Yourself Programming in Ten Years (http://www.norvig.com/21-days.html )
          * What to Read -- Programmer's Reading List
         세미나는 실습/토론 중심의 핸드온 세미나가 될 것이며, 따라서 인원제한이 있어야 할 것임. 약 20명 내외가 적당할 듯. ("Tell me and I forget, teach me, and I may remember, involve me and I learn." -- Benjamin Franklin)
         === 프로그램 (pun intended) ===
          * [http://zeropage.org/~sun/eclipse-SDK-20020321-win32.zip Eclipse]
          ["neocoin"]:위키에 특정 로그인이 존재 하지 않고,열어논 이유가 글을 쓰고 의견을 주십사 해서 입니다. 저번달 누군가 함부로 지우는 사태가 발생해서 일단 지우는 권한에 대하여 HGC(Human Garbage Collector- 아니라 KHGC인가.--a)체제로 바꾸었지만요. --상민
         ||Crc Card & Index Card & White Board||1 ||
         ||Paper Shell Programming ||1 ||
         ||Stepwise Refinement ||1 ||
         ||PairProgramming ||6 ||
         ||["Refactoring"] ||3 ||
  • 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();
  • html5/form . . . . 35 matches
          * http://nz.pe.kr/wordpress/programming/html5/번역-지금-바로-cross-browser-html5-form-만드는-방법
          * max and min - 유요한 날짜, 시간 그리고 숫자 값
          * placeholder - field에 text hint를 보여 줌
          * {{{<input type="range" min=0 max=10 step=2 value=2>}}}
          * {{{<input type="number" min=1 max=10 step=1 value=5>}}}
          * {{{<input type="date" min="2001-01-01" max="2010-08-31" step=1 value="2010-08-26">}}}
          * {{{<input type="datetime"><input type="datetime-local"><input type="month">}}}
          * {{{<input type="week"><input type="time">}}}
         == input-type ==
          * 참고: 새로운 입력(input) 양식에 대한 다음 글을 참고하기 바란다
          * http://www.w3schools.com/html5/html5_form_input_types.asp
         = input support =
         <input type='search' autofocus>
         <input type='email' placeholder="이메일 주소 입력">
         <input type='tel' placeholder="전화번호 입력">
          * {{{<input type='file' multiple>}}}
          * file filtering
          * {{{<input type='file' accept="image/gif">}}}
          <input type="submit" formmethod="POST" formaction="/formOk.html">
          * input 박스에 포커스가 오면 이 리스트를 보여준다
  • 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]=='*')
  • 데블스캠프2009/목요일/연습문제/다빈치코드/박준호 . . . . 35 matches
         #include <stdio.h>
         int index = 0;
         int num;
         int b_block[13] = {0 , 1 , 2, 3, 4, 5, 6 , 7, 8, 9, 10, 11, -1};
         int w_block[13] = {0 ,1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ,11 ,-1};
          int cardnum = 3;
          int number;
         void CmpColor(hand handsort[], int i);
         void DrawCard(hand hand[], int index);
         int main()
          for(index = 0; index <= cardnum; index++)
          DrawCard(handsort,index);
          for(index = 0; index <= cardnum; index ++)
          printf("%c%d ",handsort[index].color1, handsort[index].number);
         void DrawCard(hand handsort[], int index)
          printf("받고 싶으신 색과 숫자를 적으시오.");
          fflush(stdin);
          handsort[index].number = w_block[num];
          handsort[index].color1 = 'w';
          handsort[index].number = b_block[num];
  • 문자반대출력/문보창 . . . . 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();
  • 비밀키/최원서 . . . . 35 matches
         #include <fstream>
         #include <iostream>
         #include <stdlib.h>
         using namespace std;
         int main()
          ifstream fin("input.txt"); // fininput.txt를 연결
          int f;
          cin >> f;
          for (int i = 0; ; i++)
          fin.getline(a,20);
          if (fin.eof())
          int c = strlen(a);
          for (int d=0;d<c;d++)
         #include <fstream>
         #include <iostream>
         #include <stdlib.h>
         using namespace std;
         int main()
          ifstream fin("output.txt"); // fininput.txt를 연결
          int f;
  • 새싹교실/2012/사과나무 . . . . 35 matches
         과제로는 printf()와 scanf()의 사용법을 정리해오는 것을 주었습니다.
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 반이 바뀌었다. 우선은 '이소라 때리기 게임'을 직접 손으로 쓰게 하고 #include 나 #define 같이 코드에 쓰여져 있는 문법들에 대해서 설명해주었다. 자료형의 종류와 전처리기가 하는 일들, switch문과 if문의 용도차이 등을 설명해주었다. 수업이 끝난 뒤 책을 정하고 책에 맞춰 수업을 진행하자는 피드백이 들어와서 교재를 열혈강의로 정했다.
         {{{#include <stdio.h>
         int main()
          int i,j,k=0;
          printf("%d * %2d = %3d\t",k,j,k*j);
          printf("%d * %2d = %3d\t",k,j,k*j);
          printf("%d * %2d = %3d\n",k,j,k*j);
          printf("%d * %2d = %3d\t",i,j,i*j);
          printf("%d * %2d = %3d\t",i,j,i*j);
          printf("%d * %2d = %3d\n",i,j,i*j);
          printf("\n");
          printf("\n");
          printf("%d * %2d = %3d\n",i,j,i*j);
         {{{#include <stdio.h>
         #include <stdlib.h>
         #include <time.h>
         int main()
          int i;
  • 새싹교실/2012/아우토반/뒷반/5.11 . . . . 35 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         #include<stdio.h>
         int main(void)
          int l;
          int n;
          int s;
          printf(" ");
          printf("%c",'a'+n-l);
          printf(" ");
          printf("%c",'a'+n-2+l);
          printf("\n");
          printf(" ");
          printf("%c",'a'+4*n-4-l);
          printf(" ");
          printf("%c",'a'+2*n-2+l);
          printf("\n");
         #include<stdio.h>
         int main() {
          int main() {
          int j,t;
  • 중위수구하기/문보창 . . . . 35 matches
          final int MAX_SIZE = 100000;
          final int SENTINEL_NUM = -999;
          private int elements[];
          private int length;
          elements = new int[MAX_SIZE];
          public void inputNumber()
          Scanner input = new Scanner(System.in);
          for (int i = 0; i < MAX_SIZE; i++)
          elements[i] = input.nextInt();
          if (elements[i] == SENTINEL_NUM)
          public int findMidiumNumber()
          int mid = (int)Math.floor(0.5 * length + 0.5);
          public void sortElement(int start, int end)
          int min;
          for (int i = start; i < end - 1; i++)
          min = i;
          for (int j = i + 1; j < end; j++)
          if (elements[min] > elements[j])
          min = j;
          swapElement(i, min);
  • 중위수구하기/조현태 . . . . 35 matches
         -999를 넣으면 바로 종료되라는 말이 없었기에 그냥 세번 물어보고 끝내려다, 왠지 이상해서 바꾸려고 하다보니 input을 밖으로 꺼내버렸..
         #include <iostream>
         using namespace std;
         const int MAX_NUMBER=3;
         const int BREAK_NUMBER=-999;
         void change(int *number1, int *number2)
          int temp=*number1;
         int input(int *input_number)
          for (int i=0; i<MAX_NUMBER; ++i)
          cin >> input_number[i];
          if (0==i && input_number[0]==BREAK_NUMBER)
         void main()
          int input_number[MAX_NUMBER]={0,};
          while (input(input_number))
          for (int i=0; i<MAX_NUMBER-1; ++i)
          for (int j=0; j<MAX_NUMBER-i-1; ++j)
          if (input_number[j]>input_number[j+1])
          change(&input_number[j],&input_number[j+1]);
          cout << "가운데 값은 " << input_number[MAX_NUMBER/2] << "입니다.\n";
         while (input(input_number)) 요거 이해하는데 버벅거렸다; 입력값을 -999를 입력받을때까지 계속 입력받는걸로 했구낭ㅇㅅㅇ
  • 05학번만의C++Study/숙제제출4/조현태 . . . . 34 matches
          === main.cpp ===
         #include <iostream>
         #include "TestClass.h"
         using namespace std;
         const int MAX_CLASS=255;
         void main()
          int intinput;
          int classNumber=0;
          cin >> intinput;
          if (0==intinput)
          int suchNumber=-1;
          for (register int i=0; i<classNumber; ++i)
          if (intinput==makedClass[i]->GetNumber())
          makedClass[classNumber]=new TestClass(intinput);
          for (register int i=suchNumber+1; i<classNumber; ++i)
          for (register int i=0; i<classNumber; ++i)
          int m_haveInt;
          TestClass(int inputNumber);
          int GetNumber();
         #include "TestClass.h"
  • AcceleratedC++ . . . . 34 matches
         책설명 Seminar:AcceleratedCPlusPlus
          || ["AcceleratedC++/Chapter0"] || Getting started || 1주차 ||
          || ["AcceleratedC++/Chapter1"] || Working with strings || ||
          || ["AcceleratedC++/Chapter2"] || Looping and counting || ||
          || ["AcceleratedC++/Chapter3"] || Working with batches of data || 2주차 ||
          || ["AcceleratedC++/Chapter4"] || Organizing programs and data || ||
          || ["AcceleratedC++/Chapter5"] || Using sequential containers and analyzing strings || ||
          || ["AcceleratedC++/Chapter6"] || Using library algorithms || 3주차 ||
          || ["AcceleratedC++/Chapter7"] || Using associative containers || ||
          || ["AcceleratedC++/Chapter8"] || Writing generic functions || 4주차 ||
          || ["AcceleratedC++/Chapter9"] || Defining new types || ||
          || ["AcceleratedC++/Chapter10"] || Managing memory and low-level data structures || ||
          || ["AcceleratedC++/Chapter11"] || Defining abstract data types || ||
          || ["AcceleratedC++/Chapter12"] || Making class objects act like values || ||
          || ["AcceleratedC++/Chapter13"] || Using inheritance and dynamic binding || ||
          || ["AcceleratedC++/Chapter14"] || Managing memory (almost) automatically || ||
          || ["AcceleratedC++/Chapter15"] || Revisiting character pictures|| ||
         = Code Build & Running =
          || [http://sourceforge.net/projects/mingw/ MinGW] || GCC의 Windows 포팅 ||
          '''Visual C++ 6에서 굳이 하실 분들은 ''#pragma warning(disable: 4786)'' 전처리기로 컴파일러 warning을 죽이면 기타 잡스런 워닝을 없애는 것이 가능합니다.'''
  • Basic알고리즘/팰린드롬/허아영 . . . . 34 matches
         #include <iostream>
         using namespace std;
         bool isPalindrome(char *string, int len)
          for(int i = 0; i < len/2; i++)
          if(string[i] == string[len-i-1])
         int main()
          int len;
          while(cin >> str)
          if(isPalindrome(str, len))
         #include <iostream>
         using namespace std;
         bool isPalindrome(char *string, int len)
          if(string[0] >= 'a' && string[0] <= 'z' || string[0] >= 'A' && string[0] <= 'Z')
          for(int i = 0; i < len/2; i++)
          if(string[i] == string[len-i-1])
          for(int i = 0; i < (len-1)/2; i += 2)
          for(int j = 0; j < 2; j++)
          if(string[i+j] == string[len-i-2+j])
         int main()
          int len;
  • 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"] - 소스 보기
  • Eclipse . . . . 34 matches
         ["Eclipse"] 프로젝트는 통합 개발 환경(IDE)을 위한 플렛폼을 목표하는 오픈소스 프로젝트 이다. [http://www.eclipse.org/projects/index.html 부분인용]
          * 2006년 5월 - eclipse 3.2 RC5 [http://zeropage.org/~rhasya/eclipse3.2RC5.zip Win32용, PyDev, SubClipse포함]
          * 2005년 6월 - eclipse 3.1 RC2 등장( [http://zeropage.org/pub/eclipse/eclipse-SDK-3.1RC2-win32.zip zp내 다운받아놓은 것 (win32용만)])
          * [http://www.eclipse.org/downloads/index.php 다운로드]
          * [http://eclipse-plugins.2y.net/eclipse/plugins.jsp 플러그인 사이트]
          * [http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-ui-home/accessibility/keys.html Eclipse 단축키 모음] [http://eclipse-tools.sourceforge.net/shortcuts.html Eclipse Keyboard Shortcuts]
          * [http://www.eclipsepowered.org/archives/2004/11/18/best-jvm-settings-for-eclipse/ Best JVM Setting for Eclipse]
          * http://eclipsians.net/index.php
         ["SWT"], ["Eclipse/PluginUrls"]
          1. Menu -> Window -> Open Perspective -> CVS Repositary (없으면 Other)에서
          * Eclipse를 설치할때 JRE를 Eclipse가 못찾아서 실행 되지 않는 경우가 있다. 특히 학교의 Win98에서 이러하다. 이럴 경우 '''Eclipse 폴더 내에 jdk1.4이상의 jre폴더를 복사'''하면 Install Complete라는 이미지와 함께 Eclipse가 세팅되고 실행 된다. 이후 해당 Eclipse의 실행 포인트 역시 jre의 vm이 되는데,
          * 외부 {{{~cpp JavaDoc}}} ''Preferences -> Java -> Installed JREs -> Javadoc URL''
          * Ctrl + H Search에서 파일 검색, *.java 파일 검색, * 로 검색한다. String Set을 검색한다.
          * Heap Status 라는 플러그인을 설치하면 [IntelliJ] 에서처럼 GarbageCollecting 을 force 할 수 있다.
         ||Alt +F6|| Windows간 전환||
         || Alt+Shift+Q + ? || Window->Preference->workspace->key->Advenced 의 Help Me... 옵션을 키고 Alt+Shift+Q를 누르고 기다려 보자 ||
         [1002]의 경우 jmechanic, pmd, 그리고 잘 모르겠는 profiler (패키지 이름은 ru.nlmk 였는데) plugin 랑 Eclipse Tail 깔아서 쓰는중. 그리고 FreeMarker 작업시 FreeMarker plugin 설치해서 작업중.
          * [neocoin]:정말 Java Source Editor면에서는 이것보다 나은것을 찾지 못하겠다. CVS 지원 역시 훌륭하고, Project파일 관리 면에서도 우수하다. 하지만 가장 인상 깊었던건 오픈 프로젝트라서, 이걸 볼수 있다는 점이다. 바로 [http://64.38.198.171/downloads/drops/R-2.0-200206271835/testResults.php org.eclipse.core.tests] 이런것을 각 분야별로 수백개씩 하고 있었다. 이런것은 나에게 힘을 준다. --상민
          * 기능으로 보나 업그레이드 속도로 보나 또하나의 Platform; 플러그인으로 JUnit 이 아에 들어간것과 리펙토링 기능, Test Case 가 new 에 포함된 것 등 TDD 에서 자주 쓰는 기능들이 있는건 반가운사항. (유난히 자바 툴들에 XP 와 관련한 기능들이 많이 추가되는건 어떤 이유일까. MS 진영에 비해 자바 관련 툴의 시장이 다양해서일까) 아주 약간 아쉬운 사항이라면 개인적으로 멀티 윈도우 에디터라면 자주 쓸 창 전환키들인 Ctrl + F6, Ctrl + F7 은 너무 손의 폭 관계상 멀어서 (반대쪽 손이 가기엔 애매하게 가운데이시고 어흑) ( IntelliJ 는 Alt + 1,2,3,.. 또는 Alt + <- , ->) 단축키들이 많아져 가는 상황에 재정의하려면 끝도 없으시고. (이점에서 최강의 에디터는 [Vi] 이다;) 개인적 결론 : [Eclipse] 는 Tool Platform 이다; --석천
         Eclipse is an open platform for tool integration built by an open community of tool providers. ...
  • 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;
  • HowManyFibs?/문보창 . . . . 34 matches
         || 2006-01-06 Accepted 0.008 Minimum ||
         #include <iostream>
         using namespace std;
         #include <vector>
         #include <cstring>
         #define BIG 1
         #define SMALL 2
         #define TIE 3
         class BigInteger
          int len;
          void nextBigInteger()
          cin >> temp;
          for (int i = 0; i < len; i++)
          void findPibNum(BigInteger& a, BigInteger& b)
          int carry = 0;
          int isBigThan(BigInteger& a)
          for (int i = len - 1; i >= 0; i--)
         static BigInteger inA, inB;
         static BigInteger pib[481];
          for (int i = 3; i <= 480; i++)
  • IntelliJ . . . . 34 matches
          * http://intellij.com, http://intellij.net
          * http://intellij.org - IntelliJ Community Wiki
          * http://www.jguru.com/forums/home.jsp?topic=IntellijIDEA
          * http://www.intellij.org/twiki/bin/view/Main/IdeaToAntPlugin - IntelliJ Project 화일로 Ant build 화일을 작성해주는 플러그인.
         Refactoring 기능과 깔끔한 UI, Inspection 기능 등이 돋보인다. 2002년 Jolt Award 수상.
         http://www.intellij.net/eap - [IntelliJ] Early Access Program. Aurora project 가 진행중. JUnit Runner 추가.(이쁘다!) CVS 지원. AspectJ 지원. Swing GUI Designer 지원 (IntelliJ에서는 UI Form 기능). Plugin Manager 기능 추가.
         Upload:intellijpluginman.gif
         Upload:intellijuiform.gif
         Upload:intellijcvsman.gif
         Wiki:WhyIntellijIdeaIsCool , Wiki:ImprovementsNeededForIntellijIdea
         === Analyze - Find Duplicates ===
         === Intelli J Idea 의 Inspection ===
         개인적으로 IntelliJ 는 정말 TestDrivenDevelopment 와 Simplicity 를 위한 에디터라고 생각하는데, 이유는 리팩토링 기능이나 화면상 UI (쓰이지 않는 필드 등에 대해선 회색으로 표시됨), 그리고 Inspection 기능때문이다.
         Inspection 을 이용하면, 현재 실제로 접근하지 않는 메소드들, private 으로 둘 수 있는 메소드들, static 으로 둘 수 있는 필드 등을 체크하고, 해당 메소드 등을 주석처리하거나 영구삭제, 또는 접근권한을 private 으로 변환하는 등 여러가지 대처를 할 수 있다.
         그리고 Programming By Intention 을 툴 차원에서 철학으로 지원하는 IDE 라는 점이 가장 마음에 든다. IntelliJ 로 프로그래밍을 할때는 툴과 대화를 하며 프로그래밍한다는 느낌이 든다고 할까. --[1002]
         === Intelli J Idea 에서 CVS 연동 ===
         Intelli J 에서는 외부 cvs client 를 이용한다. 고로, wincvs 등을 깔고 난뒤 도스 프롬프트용 cvs 를 연결해줘야 한다. (CVS - Project 연동부분에 대해서는 ["IntelliJ"] 쪽이 빨리 버전업이 되었으면 한다는.. ["Eclipse"]의 CVS 연동기능을 보면 부러운지라~)
          0. CVS 셋팅 : File - Project Properties - CVS 텝에서 Enable CVS Integration 체크
          3. CVS 이용 - 3번의 과정을 하고 나면, IntelliJ 의 Tools 에 CVS 관련 메뉴들이 생길것이고, CVS Panel 이 열릴 것이다.
          4. Checkout - 이는 CVSROOT의 modules 에 등록된 project 들만 가능하다. CVS 관리자는 CVSROOT 의 modules 화일에 해당 프로젝트 디렉토리를 추가해준다.([http://cvsbook.red-bean.com/cvsbook.html#The_modules_File module file]) 그러면 IntelliJ 에 있는 CVS의 Checkout 에서 module 을 선택할 수 있다. Checkout 한다.
  • JSP/FileUpload . . . . 34 matches
          String contentType = request.getContentType();
          System.out.println("Content type is :: " +contentType);
          if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0))
          DataInputStream in = new DataInputStream(request.getInputStream());
          int formDataLength = request.getContentLength();
          int byteRead = 0;
          int totalBytesRead = 0;
          byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
          String file = new String(dataBytes);
          String saveFile = file.substring(file.indexOf("filename="") + 10);
          saveFile = saveFile.substring(0, saveFile.indexOf("\n"));
          saveFile = saveFile.substring(saveFile.lastIndexOf("\") + 1,saveFile.indexOf("""));
          //out.print(dataBytes);
          int lastIndex = contentType.lastIndexOf("=");
          String boundary = contentType.substring(lastIndex + 1,contentType.length());
          //out.println(boundary);
          int pos;
          pos = file.indexOf("filename="");
          pos = file.indexOf("\n", pos) + 1;
          pos = file.indexOf("\n", pos) + 1;
  • MoniWikiACL . . . . 34 matches
         /!\ since MoniWiki 1.1.2
         모니위키의 SecurityPlugin의 한가지
         `config.php`에 다음을 넣으면 ACL SecurityPlugin이 활성화됩니다.
         @Kiwirian foobar,kiwi,hello123 20 # @Kiwirain 그룹의 priority를 잡는다.
         FoobarPage babo deny edit,diff,info
         * @ALL allow read,userform,rss_rc,aclinfo,fortune,deletepage,fixmoin,ticket // 여러 줄로 나눠쓰기 가능
         WikiSandBox @Guest allow edit,info,diff
         // WikiSandBox 페이지를 @Guest 그룹에 edit,info,diff 액션을 허용(allow)
         # Please don't modify the lines above
         WikiSandBox @Guest allow edit,info,diff
         // WikiSandBox 페이지를 @Guest 그룹에 edit,info,diff 액션을 허용(allow)
         # some POST actions support protected mode using admin password
         * @ALL allow read,userform,rss_rc,aclinfo,fortune,deletepage,fixmoin,ticket
          * {{{deny *}}} + {{{allow edit,info}}} = edit와 info 액션만 가능: '''explicit하게 지정된''' 액션만 허락
          * {{{allow *}}} + {{{deny info,diff}}} = info/diff 이외의 액션이 모두 허용: '''explicit하게 지정된''' 액션만 거부
          * {{{deny info,diff}}} + {{{allow *}}} = 위의 경우와 같다. explicit하게 지정된 액션인 info, diff만 거부
         * @ALL allow read,ticket,info,diff,titleindex,bookmark,pagelist
         ProtectedPage @All deny read,ticket,info,diff,titleindex,bookmark,pagelist
         * @ALL allow show,ticket,titleindex,bookmark,pagelist
         * @Group1 deny * # User defined @Group1 group
  • ProjectZephyrus/ClientJourney . . . . 34 matches
          * 일이 거의 막마지에 다다른다. 12시 이후 본격적 작업. 이틀간의 스케줄에서 둘이 참여를 하지 않았으므로, 작업은 주로 코드 설명이 주가 될 수 밖에 없었다. Pair로 ["Refactoring"] 해나가며 설명하기에 내가 너무 많이 코드를 고쳤나. -_-; (나도 할말있는것이, 가장 중요사항중 하나인 패킷 핸들러 처리부분할때 다들빠지냐는것이다. -_-; 제일 얻을 것도 많은 부분일건데 쩝. 개인적으로 만들면서 흐뭇(^^;) 했던 부분이고;)
          * 이전에 wiki:NoSmok:InformationRadiator 를 붙일 수 있는 벽과 화이트보드가 그립다; 방학중엔 피시실 문짝에라도 붙여보던지 궁리를;
          * 이번 프로젝트의 목적은 Java Study + Team Project 경험이라고 보아야 할 것이다. 아쉽게도 처음에 공부할 것을 목적으로 이 팀을 제안한 사람들은 자신의 목적과 팀의 목적을 일치시키지 못했고, 이는 개인의 스케줄관리의 우선순위 정의 실패 (라고 생각한다. 팀 입장에선. 개인의 경우야 우선순위들이 다를테니 할말없지만, 그로 인한 손실에 대해서 아쉬워할정도라면 개인의 실패와도 연결을 시켜야겠지)로 이어졌다고 본다. (왜 초반 제안자들보다 후반 참여자들이 더 열심히 뛰었을까) 한편, 선배의 입장으로선 팀의 목적인 개개인의 실력향상부분을 간과하고 혼자서 너무 많이 진행했다는 점에선 또 개인의 목적과 팀의 목적의 불일치로서 이 또한 실패이다. 완성된 프로그램만이 중요한건 아닐것이다. (하지만, 나의 경우 Java Study 와 Team Project 경험 향상도 내 목적중 하나가 되므로, 내 기여도를 올리는 것은 나에게 이익이다. Team Project 경험을 위해 PairProgramming를 했고, 대화를 위한 모델링을 했으며, CVS에 commit 을 했고, 중간에 바쁜 사람들의 스케줄을 뺐다.) 암튼, 스스로 한 만큼 얻어간다. Good Pattern 이건 Anti Pattern 이건.
          * 암튼. 이렇게 해봤으니, 앞으로는 더 잘할수 있도록, 더욱더 잘할수 있도록. ["DoItAgainToLearn"] 했으면 한다. 앞으로 더 궁리해봐야 할 일들이겠지. -- 석천
          * 움.. 아무래도 난 말빨 글빨 다 딸리는거같다.. 위에글처럼 멋있게 쓰고싶은데, 그냥 내식대로 써야겠다.. 간만에 내가 또 형보다 일찍왔다. 이틀동안 빠진게 타격이 너무 컸나보다.. MainSource에 새로 추가된 파일도 꽤되고 기존파일도 업데이트된 내용이 많아서 이해가 아니라 읽어보는것만해도 엄청난 시간이 들었다.. --;; 정통부 회의겸 기짱턱땜에 일찍갔는데 아무래도 금요일로 완료가 된 모양이다.. 이번이 나로선 거의 처음 해본 프로젝트였는데, 내가 별로 한건없지만, 솔직히 뭔가 만든것보단 배운게 더 많은거같다.. 하긴 프로젝트를 해본다는거 자체가 배운다는거였으니깐.. 꼭 자바에 대해서 배운것보다도 Design이라던지 Architecture(맞나?) 같은것에 대해서도 배웠고.. 프로젝트란 이렇게 진행해야 하는거구나라는것도 느꼈다. 뭔가 많이 쓰고싶은데 머리속이 정리가 안된다.. 이럴때 정말~~ ㅠ.ㅠ 아우~ 나중에 더 써야겠다..
          * 중간 중간 테스트를 위해 서버쪽 소스를 다운받았다. 상민이가 준비를 철저하게 한 것이 확실히 느껴지는 건 빌드용/실행용 배치화일, 도큐먼트에 있다. 배치화일은 실행한번만 해주면 서버쪽 컴파일을 알아서 해주고 한번에 실행할 수 있다. (실행을 위한 Interface 메소드를 정의해놓은것이나 다름없군.) 어떤 소스에서든지 Javadoc 이 다 달려있다. (Coding Standard로 결정한 사항이긴 하지만, 개인적으로 코드의 Javadoc 이 많이 달려있는걸 싫어하긴 하지만; 코드 읽는데 방해되어서; 하지만 javadoc generator 로 document 만들고 나면 그 이야기가 달라지긴 하다.)
          * TDD 가 아니였다는 점은 추후 모듈간 Interface 를 결정할때 골치가 아파진다. 중간코드에 적용하기 뭐해서 궁여지책으로 Main 함수를 hard coding 한뒤 ["Refactoring"] 을 하는 스타일로 하긴 하지만, TDD 만큼 Interface가 깔끔하게 나오질 않는다고 생각. 차라리 조금씩이라도 UnitTest 코드를 붙이는게 나을것 같긴 하다. 하지만, 마감이 2일인 관계로. -_- 스펙 완료뒤 고려하던지, 아니면 처음부터 TDD를 염두해두고 하던지. 중요한건 모듈자체보다 모듈을 이용하는 Client 의 관점이다.
          ''어차피 창섭이가 주점이 아니라 하더라도 자네는 소켓을 공부해야 했을걸. -_-v (왜냐. 중간에 창섭이랑 너랑 Pair 할것이였으니까. 창섭이도 Swing 관련 공부를 해둬야 하긴 마찬가지) 참, 그리고 해당 코드대비 완성시간은 반드시 체크하도록. 참고로 1:1 Dialog 는 1시간 10분정도 이용했음. --석천''
          * PairProgramming 을 할때 가장 답답해지는 상황은 잘 이해 안가면서 넋놓고 있을때랑, 둘이 같이 있어도 Solo Programming 하느 사람 마냥 혼자서 문제를 끙끙거리며 풀려고 하는 모습이다. 꼭 문제를 스스로 삽질해서 풀어야만 자기실력이 향상되는것일까? 다른 사람에게 올바른 질문을 할 수 없는 사람은 혼자서 문제 푸는데에도 오래걸리게 된다고 생각한다. 상대방에게 질문을 하면서 자신이 모르는 것 자체를 구체화하고 (문제 자체가 모호한상태 자체가 문제다. 무엇이 문제인지, 자신이 모르는 것이 구체적으로 무엇인지 모르면서 어떻게 문제를 해결할까? 자신이 모르는게 버클리소켓 전체 사용과정인지 소켓 API의 인자들을 모르면서 네트웍 프로그래밍을 할 수 있을까. 그런사람들에게 '지금 모르겠는게 뭐지?' 라고 물으면 80-90%는 '다 몰라요' 이다. 모르겠는 부분에 대해서 하나하나 구체화시켜나가라. 구체화시킨 예로서 생각을 해봐도 좋을것이다. 시나리오를 만들어보면서, 그림을 그려보면서, 아니면 자기 자신이 그 시스템의 일부가 되어 보면서.) 다른 사람의 아이디어를 자신의 사고에 붙여나가면서 '더 좋은 방법' 을생각해낼 수는 없을까? 언제나 문제의 답을 내는 방법은 '이사람의 방식' 아니면 '저사람의 방식' 뿐일까.
          * PairProgramming 의 교대시간을 5분으로 해봤다. 한 사람이 5분동안 해당 부분을 플밍하다가 다 못짜면 다음사람이 다시 5분의 시간을 가지고 이어서 짜고 하며 교대로 프로그래밍을 이어나가는 (마치 릴레이경주와도 같다) 방법이다. 사람들에게 제안했을때 그 표정들이 심상치 않다;; 그래 너희들은 실험용 모르모트다;; 흐흐.
          * 5분간격으로 Pair Programming을 했다.. 진짜 Pair를 한 기분이 든다.. Test가 아닌 Real Client UI를 만들었는데, 하다보니 Test때 한번씩 다 해본거였다.. 그런데 위와 아래에 1002형이 쓴걸 보니 얼굴이 달아오른다.. --;; 아웅.. 3일전 일을 쓰려니 너무 힘들다.. 일기를 밀려서 쓴기분이다.. 상상해서 막 쓰고싶지만 내감정에 솔직해야겠다.. 그냥 생각나는것만 써야지.. ㅡ.ㅡ++ 확실히 5분간격으로 하니 속도가 배가된 기분이다.. 마약을 한상태에서 코딩을 하는 느낌이었다.. 암튼 혼자서 하면 언제끝날지 알수없고 같이 해도 그거보단 더 걸렸을듯한데, 1시간만에 Login관련 UI를 짰다는게 나로선 신기하다.. 근데 혼자서 나중에 한 Tree만들땐 제대로 못했다.. 아직 낯선듯하다. 나에게 지금 프로젝트는 기초공사가 안된상태에서 바로 1층을 올라가는 그런거같다.. 머리속을 짜내고있는데 생각이 안난다 그만 쓰련다.. ㅡㅡ;; - 영서
          처음에는 영서와 GUI Programming을 했다. Main Frame class 의 메뉴붙이고 리스너 연결하는 것부터 시작, 입력 다이얼로그를 노가다 코딩해서 만드는데 서로 교대해서 1시간이 걸렸다. 코딩 속도도 저번에 비해 더욱 빨랐고, 대화할때도 그 질문이 간단했다. (5분간격이니 아무리 플밍이 익숙한 사람이 진행해도 그 진행양이 많지가 않다. 그리고 자신이 그 사람의 미완성 코드를 완성해야 하기에 모르면 바로 질문을 하게 된다.)
         (그 이후 창섭이가 와서 영서에게 JTree관련 Solo Programming 을 시켰는데, 말이 안되는 프로그래밍을 했다. -_-; 아직 영서가 Swing 에 익숙하지 않아서 그런데, 앞의 프로그램은 어떻게 만들어졌을까 의문이 들 정도였다; 아마 5분 간격 플밍시에는 서로 앞 사람 소스작성을 한 것을 기준으로 붙여나가는 방식이기에 그 흐름을 잡고 프로그래밍을 해서 Pair 가 성립이 가능했던것 같다는 생각도 해본다. 이는 처음 프로그래밍을 하는 사람과의 PairProgramming 시 궁리해봐야 할 사항인듯)
         다음번에 창섭이와 Socket Programming 을 같은 방법으로 했는데, 앞에서와 같은 효과가 나오지 않았다. 중간에 왜그럴까 생각해봤더니, 아까 GUI Programming 을 하기 전에 영서와 UI Diagram 을 그렸었다. 그러므로, 전체적으로 어디까지 해야 하는지 눈으로 확실히 보이는 것이였다. 하지만, Socket Programming 때는 일종의 Library를 만드는 스타일이 되어서 창섭이가 전체적으로 무엇을 작성해야하는지 자체를 모르는 것이였다. 그래서 중반쯤에 Socket관련 구체적인 시나리오 (UserConnection Class 를 이용하는 main 의 입장과 관련하여 서버 접속 & 결과 받아오는 것에 대한 간단한 sequence 를 그렸다) 를 만들고, 진행해 나가니까 진행이 좀 더 원할했다. 시간관계상 1시간정도밖에 작업을 하지 못한게 좀 아쉽긴 하다.
          * PairProgramming를 하면서 SpikeSolution 으로 한번 구성했던 소스를 다시 만들어보고, 여러번 말로 설명해보고, 더 쉬운 방법으로 설명해보려고 하는 동안 알고있는것에 대해 생각이 빨리 정리된다.
          * 다른 MFC나 ["wxPython"] 등의 다른 GUI Framework와 ["디자인패턴"] 에 익숙하면 이러한 Swing 에 익숙해지는데에도 도움이 되었다. 대부분의 GUI 에선 ["CompositePattern"] 으로 윈도우들을 구성하기에. 그리고 Java API를 공부하는 동안 ["IteratorPattern"] 이나 ["DecoratorPattern"], MVC 등에 대해서도 이해하기 용이했다.
          DeleteMe) ''참고로 자바에서는 순수한 형태의 MVC 모델을 사용하지 않습니다. 변형된 형태의 MVC 모델을 사용합니다 [http://java.sun.com/products/jfc/tsc/articles/getting_started/getting_started2.html Introducing Swing Architecture]. 이론과 실제의 차이랄까요. --이선우''
         Client 팀은 일단 메신저와 관련한 자신들의 디자인을 설명해보는 시간을 가졌다. 사람들은 프로그래밍을 하기 전에 어떤 스타일로 구상을 하게 될까. Agile Modeling 에서 봤던가. 모델 보다는 모델링이 중요하다고 했었던 이야기. 모델링을 해 나가면서 자신의 생각을 정리하고, 프로그램을 이해해 나가는 것이 중요하기에.[[BR]]
         1002의 경우 UML을 공부한 관계로, 좀 더 구조적으로 서술 할 수 있었던 것 같다. 설명을 위해 Conceptual Model 수준의 Class Diagram 과 Sequence, 그리고 거기에 Agile Modeling 에서 잠깐 봤었던 UI 에 따른 페이지 전환 관계에 대한 그림을 하나 더 그려서 설명했다. 하나의 프로그램에 대해 여러 각도에서 바라보는 것이 프로그램을 이해하는데 더 편했던 것 같다. [[BR]]
         1002는 CVS 사용방법에 대한 예를 보이고 설명을 했다. wincvs 윈도우 버전에 익숙하지 않았던 관계로 command 입력방법을 가르쳐줬다. 그리고 영서와는 주로 Swing쪽을, 창섭과는 Java Socket Class 에 익숙해지기 위해 Socket 관련 SpikeSolution 을 했다.
  • STLErrorDecryptor . . . . 34 matches
         = Before Reading =
         본 문서는 [http://www.kwak101.pe.kr/kwak101/works/InternData/STLDecryptor_QuickGuide.html QuickInstallation For STLErrorDecryptor] 의 '''내용을 백업하기 위한 목적'''으로 만든 페이지입니다. 따라서 원 홈페이지의 자료가 사라지지 않은 이상 가능하면 원 홈페이지에서 글을 읽으셨으면 합니다.
         Upload:WorkingMethod.gif
          * STL 에러 해독기 패키지 (Win32용) : STLfilt.zip이란 이름을 가지고 있습니다 (http://ww.bdsoft.com/tools/stlfilt.html)
          * 펄 스크립트 인터프리터(Win32용) : 여기서는 ActivePerl을 사용합니다. (http://ww.activestate.coml)
          * Proxy-CL.INI : 프록시 CL이 작동하는 환경을 제공하는 INI 파일.
         가) Visual C++가 설치된 디렉토리로 이동하고, 여기서 \bin 디렉토리까지 찾아 들어갑니다. (제 경우에는 D:\Program Files2\Microsoft Visual Studio .NET\Vc7\bin입니다.) 제대로 갔으면, 원래의 CL을 백업용으로 모셔다 놓을 폴더를 하나 만듭니다. (제 경우에는 '''native_cl'''이란 이름으로 만들었습니다.) 그리고 나서 CL.EXE를 그 폴더에 복사해 둡니다.
         Upload:OriginalCLFolderMaking.gif
         나) \bin 디렉토리에 있는 CL.EXE를 CL2.EXE로 이름을 바꾸어 줍니다.
         다) 이젠 프록시 CL의 동작에 필요한 환경 옵션을 제공하는 Proxy-CL.INI 파일을 여러분의 개발환경에 맞게 고쳐야 합니다. 텍스트 편집기로 Proxy-CL.INI를 열면 아래의 [common], [proxy.cl], [stltask.exe] 부분이 모두 비어 있는데, 윗부분의 주석문을 참고하면서 환경 변수를 고쳐줍니다. 반드시 설정해야 하는 옵션은 다음과 같습니다.
         아래의 그림은 저의 Proxy-CL.INI 파일입니다.
         라) 이렇게 편집한 Proxy-CL.INI를 윈도우 디렉토리에 복사합니다. 윈도우 디렉토리란 윈도우 98/ME 등에선 \WINDOWS이겠고, 윈도우 NT/2000/XP 등에선 \WINNT 이겠지요. 즉 운영체제와 프로파일 파일들이 들어 있는 곳입니다. 프록시 CL은 기본적으로 이 윈도우 디렉토리에서 읽은 Proxy-CL.INI을 가지고 동작 옵션을 정합니다.
         마) 이제, STLfilt.zip의 압축을 푼 디렉토리에서 프록시 CL을 복사해서 VC의 \bin 디렉토리에 붙입니다.
         여기서 "Enable Filtering"을 선택하면 그때부터 STL 에러 필터링이 가능해집니다. 그리고, 앞으로 STL 에러 필터링을 활성화하거나 비활성화할 때에는 이 태스크바의 아이콘을 사용하면 됩니다(Enable filtering/Disable filtering을 선택하면 되겠죠). 필터링이 활성화 되어 있느냐 그렇지 않으냐의 여부는 작업 표시줄의 아이콘 색깔( Upload:STLTaskActIcon.gif 은 활성화되었다는 뜻)로 확인할 수 있습니다.
         #include<string>
         using namespace std;
         int main()
          string s(10); // 컴파일 에러를 일으키는 문장, 하나의 매개 변수를 받는 string 생성자는 할당자만을 받습니다.
         h:\MyProgrammingLab\JunkRoom\Weired_C++\Test.cpp(6) :
         error C2664: 'std::basic_string<_Elem,_Traits,_Ax>::basic_string(const std::basic_string<_Elem,_Traits,_Ax>::_Alloc &) with [_Elem=char,_Traits=std::char_traits<char>,_Ax=std::allocator<char>]' : 매개 변수 1을(를) 'int'에서 'const std::basic_string<_Elem,_Traits,_Ax>::_Alloc & with [_Elem=char,_Traits=std::char_traits<char>,_Ax=std::allocator<char>]'(으)로 변환할 수 없습니다.; 원인: 'int'에서 'const std::basic_string<_Elem,_Traits,_Ax>::_Alloc with [_Elem=char,_Traits=std::char_traits<char>,_Ax=std::allocator<char>]'(으)로 변환할 수 없습니다.; 소스 형식을 가져올 수 있는 생성자가 없거나 생성자 오버로드 확인이 모호합니다.
  • Slurpys/황재선 . . . . 34 matches
          def __init__(self):
          index = 0
          for ch in aStr[1:]:
          index = aStr.find(ch,1)
          if aStr[index] == 'G':
          elif self.isSlump(aStr[index:]):
          slump = self.findSlumpStartIndex(aStr)
          def findSlumpStartIndex(self, aStr):
          if aStr.find('CD') != -1:
          return aStr.find('CD') + 1
          elif aStr.find('CE') != -1:
          return aStr.find('CE') + 1
         def main():
          size = input()
          else: print 'input size again'
          for num in range(size):
          string = raw_input()
          if 1 <= len(string) <= 60:
          else: print 'input string again'
          if slurpy.isSlurpy(string):
  • TheGrandDinner/하기웅 . . . . 34 matches
         #include <iostream>
         #include <algorithm>
         using namespace std;
         int input1, input2;
         int i, j;
          int number;
          int memberNum;
          int person[101];
          int number;
          int chairNum;
          int chair[101];
         void printTeam()
          for(i=1; i<input1+1; i++)
         bool matchingTable()
          for(i=1; i<input1+1; i++)
          if(team[i].memberNum>input2)
         int main()
          while(cin >> input1 >> input2)
          if(input1==0 && input2==0)
          for(i=1; i<input1+1; i++)
  • [Lovely]boy^_^/EnglishGrammer/PresentPerfectAndPast . . . . 34 matches
          A. Tom is looking for his key. He can't find it. He has lost his key.(= He lost it and he still doesn't hav it.)
          B. When we use the peresent perfect, there is a connection with now. The action in the past has a result now.
          We often use the present perfect to give new information or to announce a recent happening.(새로운 정보나, 최근의 사건을 보도할때도 쓰인답니다.)
          ex2) (from the news) The police have arrested two men in connection with the robbery.
          We use already to say that something happened sooner than expected.(예상했던것보다 더 빨리 사건이 터졌을때 쓴다)
          Yet = until now. It shows that the speaker is expecting something to happen. Use yet only in questions and negative sentences.
          ex1) Has it stopped raining yet? (simple past도 가능!)
          D. Don't use the present perfect when you talk about a finished time.(이미 끝난일 가지고 현재 완료 쓰지말란다. 당연한 얘기)
          A. When we talk about a period of time that continues from the past until now, we use the present perfect.(앞에 나온말)
          ex) I've never been to China. Have you been there?
          Here are more examples of speakers talking about a period that continues until now(recently/ in the last few days/ so far/ since breakfast, etc.)
          ex) Everything is going well. We haven't had any problems so far.
          B. We use the present perfect with today/ this morning/ this evening, etc. when these periods are not finished at the time of speaking.(그렇대요;;)
          C. We say, "It's the first time something has happened."(present perfect) (이건 뭐하자는 건지..;;)
          ex) Sarah has lost her passport again. It's the second time this has happened.(not happens)
         == Unit9. Present Perfect Continuous (I have been doing) ==
         == Unit10. Present Perfect Continuous and Present Perfect Simple (I have been doing and I have done) ==
         == Unit12. For and since, When ...?, and How long ...? ==
         == Unit15. Past Perfect Continuous ( I had been doing ) ==
  • study C++/ 한유선 . . . . 34 matches
         == Mystring.h ==
         class Mystring {
          void input();
         == Mystring.cpp ==
         #include <iostream>
          using namespace std;
         #include "MyString.h"
         void Mystring::reverse() {
          int len;
          for (int i=0; i<=20; i++){
         void Mystring::input(){
          cin >> ch;
         void Mystring::show(){
         void Mystring::search(){
          cin >> cha;
          int len;
          for (int i=0; i<=20; i++){
         void Mystring::change(){
          cin >> newch;
          for(int i=0; i<20; i++){
  • 문자열검색/조현태 . . . . 34 matches
         #include <iostream>
         #include <string.h>
         #include <fstream>
         using namespace std;
         const int MAX_LONG=40;
         const int TRUE=1;
         const int FALSE=0;
         void result_write( int , char* , char* );
         int main()
          char x[MAX_LONG] = "His teaching method is very good.";
          cin >> y;
          int where_word=0;
          int such_word=0;
         void result_write(int where, char *original, char *such_word)
          outputFile << "자료 -> " << original << "\n찾을 문자열 -> " << such_word << "\n";
         -export([findString/2]).
         getText(Index) when 0 < Index -> Index - 1;
         getText(Index) -> "Not found!".
         findString(String, SubString) -> getText(string:rstr(String, SubString)).
         ./pr_7.erl:4: Warning: variable 'Index' is unused
  • 미로찾기/김민경 . . . . 34 matches
         #include <stdio.h>
         #include <stdlib.h>
         void input();
         void process(int x,int y);
         int print[100][2],cnt,finish_x,finish_y;
         int data[51][51];
         void main()
          input();
         void input()
          fscanf (fp,"%d %d",&finish_x,&finish_y);
          for (int i=1;i<=finish_x;i++){
          for (int j=1;j<=finish_y;j++){
         void process(int x,int y)
          int dx[8]={-1,-1,-1,0,0,1,1,1},dy[8]={-1,0,1,-1,1,-1,0,1};
          if (x==finish_x && y==finish_y) {
          for (int i=0;i<8;i++)
          if (!data[x+dx[i]][y+dy[i]] && x+dx[i]>=1 && x+dx[i]<=finish_x && y+dy[i]>=1 && y+dy[i]<=finish_y){
          print[cnt][0]=x+dx[i];
          print[cnt++][1]=y+dy[i];
          printf ("1,1\n");
  • 새싹교실/2012/아우토반/뒷반/4.13 . . . . 34 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         #include <stdio.h>
         int main(void) {
          int i, j;
          printf("%c", i);
          printf("\n");
         [Input] 5
         [Input] 5
         #include<stdio.h>
         int main(void)
          int a;
          int b;
          int c;
          int number;
          int v;
          printf("number? : ");
          printf(" ");
          printf("%d",a);
          printf(" ");
          printf("%d",a);
  • 압축알고리즘/동경,세환 . . . . 34 matches
         #include<iostream>
         using namespace std;
         int main()
          cin >> Str;
          int a;
          int count=0;
          int i=0;
          int b;
          int c=0;
         #include<iostream>
         using namespace std;
         int main()
          cin >> Str;
          int i=0;
         #include<iostream>
         using namespace std;
         int main()
          cin >> Str;
          int i=1;
         #include<iostream>
  • 허아영/Cpp연습 . . . . 34 matches
         #include <iostream.h>
         int square(int);
         void main()
          int number, result;
          cin>>number;
         int square(int number)
          int square_num = number * number;
         #include <iostream.h>
         void main()
          cout<<"int = "<<sizeof(int)<<"byte"<<endl;
          cout<<"short int = "<<sizeof(short)<<"byte"<<endl;
          cout<<"long int = "<< sizeof(long)<<"byte"<<endl;
         int = 4byte
         short int = 2byte
         long int = 4byte
         #include <iostream.h>
         #include <iostream>
         using namespace std;
         int err(int subject);
         double avg(int *subject_data);
  • 3n 1/이도현 . . . . 33 matches
         #include <iostream>
         using namespace std;
         int cycle_length(int input);
         int main()
          int input1, input2;
          while (cin >> input1 >> input2)
          int i;
          int max_count = -1;
          int temp = 0;
          cout << input1 << " " << input2 << " ";
          if (input1 > input2)
          int swap = input1;
          input1 = input2;
          input2 = swap;
          for (i = input1; i <= input2; i++)
         int cycle_length(int input)
          int argument = input; // 전달인자로 넘어온 수 저장
          int count = 0; // 카운트 변수
  • CVS . . . . 33 matches
          * [http://www.csc.calpoly.edu/~dbutler/tutorials/winter96/cvs/ Yet another CVS tutorial (a little old, but nice)]
          * [http://www.cs.utah.edu/dept/old/texinfo/cvs/FAQ.txt An old but very useful FAQ about CVS]
          * http://www.chonga.pe.kr/document/programming/cvs/index.php 해당 사이트에서 제작한 한글 Reference
         == For Win ==
          * [WinCVS]
         설치는 간단하다. install script 를 이용, CGI 가 돌아가는 경로에 설치한뒤, viewcvs.conf 에서 CVS ROOT 를 설정해주면 끝.
          * 현재 ZeroPage 에서는 CVS 서비스를 하고 있다. http://zeropage.org/viewcvs/cgi/viewcvs.cgi 또는 ZeroPage 홈페이지의 왼쪽 메뉴 참조. 웹 클라이언트로서 viewcvs 를 이용중이다. 일반 CVS Client 로서는 Windows 플랫폼에서는 [TortoiseCVS](소위 '터틀'로 불린다.) 를 강력추천! 탐색기의 오른쪽 버튼과 연동되어 아주 편리하다.
          * ZeroPage의 CVS 계정을 원하는 회원은 서버관리자(["neocoin"])에게 연락 바람 자세한 내용은 홈페이지 왼쪽 메뉴 참고
         || ["CVS/길동씨의CVS사용기ForLocal"] || WinCVS 설치 전제, CVS를 처음 접하는 사람이라면, Local을 이용해서 감을 잡으세요. ||
         || ["CVS/길동씨의CVS사용기ForRemote"] || WinCVS 설치 전제 ZeroPage CVS를 ||
         === Trouble shooting ===
         This problem is quite common apparently... <the problem>snip > I've been trying to use CVS with the win-cvs client without much > success. I managed to import a module but when I try to do a > checkout I get the following error message: > > cvs checkout chargT > > cvs server: cannot open /root/.cvsignore: Permission denied > > cvs [server aborted]: can't chdir(/root): Permission denied > > I'm using the cvs supplied with RedHat 6.1 - cvs 1.10.6 /snip</the> ---------
         It is not actually a bug. What you need to do is to invoke your pserver with a clean environment using 'env'. My entry in /etc/inetd.conf looks like this:
         cvspserver stream tcp nowait root /usr/sbin/tcpd /usr/bin/env - /usr/bin/cvs -f --allow-root=/usr/local/cvsroot pserver
         Apparently, the problem is actually with Linux - daemons invoked through inetd should not strictly have any associated environment. In Linux they get one, and in the error case, it is getting some phoney root environment.
         Robert Cragie Design Engineer, Jennic Ltd. Sheffield UK
         버전 관리 프로그램 몇가지 : IBM의 CLEAR/CASTER, AT&T의 SCCS, CMU(카네기 멜론 대학)의 SDC, DEC의 CMS, IBM Rational의 {{{~cpp ClearCase}}}, MS의 {{{~cpp Visual SourceSafe}}}, [Perforce], SubVersion, AlianBrain
         GameCodingComplete 왈,
         돈이 남아 도는 프로젝트 경우 {{{~cpp ClearCase}}}를 추천하고, 오픈 소스는 돈안드는 CVS,SubVersion 을 추천하고, 게임업체들은 적절한 가격과 성능인 AlianBrain을 추천한다. Visual SourceSafe는 쓰지 말라, MS와 함께 개발한 적이 있는데 MS내에서도 자체 버전관리 툴을 이용한다.
  • CppStudy_2002_2/STL과제/성적처리 . . . . 33 matches
         #include <iostream>
         #include <vector>
         #include <algorithm>
         #include <string>
         #include <fstream>
         using namespace std;
          string _StudentName;
          vector<int> _Scores;
          int _TotalScore;
          ScoresTable(const string& aStudentName) : _StudentName(aStudentName)
          void addScoreToVector(int aScore)
          for(unsigned int i = 0 ; i < _Scores.size() ; ++i)
          const string& getName() const
          int getnthScore(int n) const
          int getTotalScore() const
          for(unsigned int i = 0 ; i < _StudentList.size() ; ++i)
          ifstream anInputer("test.txt");
          while(!anInputer.eof())
          string aName;
          int aScore;
  • CuttingSticks/하기웅 . . . . 33 matches
         #include <iostream>
         using namespace std;
          int len;
          int cost;
         int stickLen, cuttingTime, cuttingPart, preCutting;
         int i,j,k,stickNum;
         int calculate()
          while(stickNum!=cuttingTime+2)
          for(i=0,j=stickNum; i<cuttingTime-stickNum+2; i++,j++)
          return stick[0][cuttingTime+1].cost;
         int main()
          while(cin>>stickLen)
          cin>>cuttingTime;
          preCutting=0;
          for(i=0; i<cuttingTime; i++)
          cin >> cuttingPart;
          stick[i][i+1].len=cuttingPart-preCutting;
          preCutting = cuttingPart;
          stick[cuttingTime][cuttingTime+1].len=stickLen-preCutting;
          stick[cuttingTime][cuttingTime+1].cost=0;
  • EightQueenProblem/lasy0901 . . . . 33 matches
         두번째 프로그램은 ... 이상하게 컴파일이 안되더군요.. 알고보니 #include <stdafx.h> 을 안 넣어서 (VC6.0) 낭패-_-a
         #include <stdio.h>
         int t[8],check(int),is_finished=0;
         void make(int);
         int check(int pos)
          int i,j;
         void make(int pos)
          int i;
          if (is_finished==0)
          {is_finished=1; // 하나의 해만 찾음 <- 이 부분이 없으면 여러가지 해 출력
          printf("%3d",t[i]);}
         int main(int argc, char* argv[])
         #include <stdio.h>
         #include <conio.h>
         int t[8],check(int),count=0;
         void make(int);
         int check(int pos)
          int i,j;
         void make(int pos)
          int i;
  • 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()); {}
  • Java/문서/참조 . . . . 33 matches
         채팅 UI를 짜려고 여러가지를 하다가 대화명을 입력하였을 경우에 그 대화명을 저장하려고 String 형태의 대화명을 전달인자로 사용하려고 하였는데 되지 않았다. 그래서 MSN을 통해서 상민이 형에게 그에 대해서 물어보았다. 상민이형이 MSN으로 몇십분에 걸쳐서 알려 주었다.(감사~) 이 문서에 나와 있는 내용에 대해서 아시는 분들도 있겠지만, 저와 같이 잘 모르는 분도 또한 있을거 같기에 도움이 되기를 바라면서 상민이 형이 알려준 내용을 간추려 보았다.
         참조형은 C++에서 int &a와 같이 by-value가 아닌 by-reference로
         기본 자료형은 byte, short, int, long, double, char, boolean
         참조형은 Class, Array, interface (예외 String은 기본 자료형으로 취급한다.
         String은 기본 자료형만큼 자주 쓰기 때문에 클래스 임에도 불구하고
         이런 reference자료형은 Class, 배열(Array) interface이며
          public int a = 1;
          public void setA( int A ) { a = A; }
         을 호출하는 경우에는 NullPointerException이라면서 에러 객체를 발생시킨다.
         int a;
         이건 성립한다. 이유는 int는 기본 자료형으로서 스칼라 값이기 때문이다.
         그리고 위에서 살포시 언급했던 String형은 기본자료형과 비슷하게 스칼라형으로
         취급하기 때문에 call by-reference로 못넘긴다. 그래서 final로 선언할 수 있다.
         (final이란 그냥 #define이라고 생각해도 무방하다. Java 컴파일러가 해당 final들을
         위에서 언급했지만 다시 말하자면 String이 스칼라 취급을 받는 이유는 다음과 같다.
         많은 언어에서 string형도 기본자료로 쓸려는 노력을 많이 해두었다. (이유는 많이 쓰이기 때문이다.)
         인터넷이 보급되면서 java 설계자들은 String도 기본자료형 취급을 해도 현재의
          String a = 200KB 자료
          이렇게 되면 기본 자료형으로 취급 받는 String은 통째로 200KB를 갈아 버린다.
          여기서의 의미는, String이 imutable하게 취급 받기 때문에, 해당 객체의 저장소가 완전 초기화 되고
  • 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;
  • STLPort . . . . 33 matches
         = Introduce =
         본 문서는 Win32 환경에서 Visual C++ 를 사용하시는 분들이 STLport의 STL 라이브러리를 설치하여 사용하는데 도움을 주기 위하여 작성되었습니다. 가장 최소한의 설치 과정만을 싣는데 초점을 두었으며, Visual C++ 6 이하의 버전에서는 테스트하지 않았음을 미리 알려 드립니다. 기타 세세한 정보는 외부 자료 문서화 페이지 혹은 게시판에서 얻고, 나누어 주시기 바랍니다. 감사합니다.
          1. MSVC 컴파일러의 자질구레한 경고 메시지를 막을 수 있다 ({{{~cpp _msvc_warnings_off.h}}}가 준비되어 있음)
          1. 만만해 보이는 디렉토리에 압축을 풉니다.(참고로, 제 Visual Studio는 D:\Programming Files2 에 있습니다)
          * Tools 메뉴 > Options 항목 > Directories 탭에서, Include Files 목록에 stlport 디렉토리를 추가하고 나서 이것을 첫 줄로 올립니다.
          Upload:3-prebuild_includePath.GIF
          이 절의 설명과 이후의 설명을 모두 건너 뛰시고, '''stlport''' 폴더 전체를 VC++ 폴더의 /include 폴더에 복사하십시오. 그리고 "프로그램 관련 세팅" 절부터 읽으시면 됩니다. 단, 라이브러리 관련 부분은 관련이 없습니다.
          1. 도스 프롬프트에서 nmake install을 입력합니다.
          {{{~cpp E:\STLport-4.5.3\src\nmake -f vc6.mak install
          Upload:7-makeInstall.GIF
          * Tools > Options 메뉴 > Directories 탭에서, Include Files 목록에 방금 추가된 stlport 디렉토리(대개 ''C:/Program Files/Microsoft Visual Studio/VC98/include/stlport''이겠지요)를 추가하고 나서, 이 항목을 가장 첫 줄로 올립니다.
         STLport는 상용이 아니기 때문에, 링크 시 사용하는 STLport 전용 C++ 런타임 라이브러리(입출력스트림이 있는) 직접 설정해 주어야 합니다. 이것을 제대로 이해하려면 우선 VC++가 사용하는 런타임 라이브러리를 알아 봐야 합니다. VC++6의 런타임 라이브러리는 VC98/lib 디렉토리에서 확인할 수 있는데, 정적/동적 링크여부에 따라 크게 {{{~cpp LIBxxx.lib}}} 버전과 {{{~cpp MSVCxxx.lib}}} 버전으로 나뉩니다. 프로젝트에서 조정하는 부분은 Project > Setting 메뉴로 열리는 C/C++ 탭입니다. C/C++ 탭에서 "Code Generation" 카테고리를 선택하면 '''Use Run-time Library''' 드롭다운 박스를 조정해 줄 수 있습니다. 여기서 디버그 정보 포함('''debug''') 유무, 런타임 라이브러리의 스레딩('''thread''') 모드, 동적 링크 여부('''DLL''')의 조합을 결정해 줄 수 있습니다. 긴 설명은 빼고, 간단히 정리하면 다음과 같습니다. (MSDN의 설명을 참고하여 정리하였습니다)
          ||Single-Threaded|| LIBC.LIB || 단일 스레드, 정적 링크 || /ML || ||
          ||Single-Threaded|| LIBCP.LIB || 단일 스레드, 정적 링크 || /ML || ||
          LIBCMT.lib(osfinfo.obj) : error LNK2005: __alloc_osfhnd already defined in LIBC.lib(osfinfo.obj)
          LIBCMT.lib(osfinfo.obj) : error LNK2005: __set_osfhnd already defined in LIBC.lib(osfinfo.obj)
          LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
          <실행파일경로> : fatal error LNK1169: one or more multiply defined symbols found
          Error executing link.exe.
         이는, '''VC가 코드 생성 옵션을 무시하고 LIBCMT.lib을 기본적으로 덧대어 넣어주기 때문입니다'''. 실행파일을 만드는 경우라면 에러가 가장 성가실 테지만, 배포용 라이브러리를 만들 경우엔 경고도 없애 주어야 합니다. 이 에러와 경고를 없애기 위해서는, 위에 나온 링커 메시지 대로 /NODEFAULTLIB 옵션을 써야 합니다. VC IDE를 쓰고 계시다면 Project->Setting 메뉴를 선택하고 나오는 대화상자에서 '''"Link"''' 탭을 선택하시고, '''"Input"''' 드롭다운 항목을 고른 후에 '''"Ignore Libraries"''' 에디트 상자에 LIBCMT.lib를 써 넣으시면 됩니다.
  • SuperMarket/세연/재동 . . . . 33 matches
         #include<iostream>
         using namespace std;
          int cost;
          int quanty;
          int _money;
          int _max_num;
          int getMyMoney() { return _money; }
          void inventory();
          void showMainMenu();
          for(int i=0;i<_max_num;i++)
          int tempMoney;
          cin >> tempMoney;
          int choice;
          int quanty;
          for(int i = 0 ; i < _max_num ; i++)
          cin >> choice;
          cin >> quanty;
         void Supermarket::inventory() {
          for(int i = 0 ; i < _max_num ; i++)
          int choice;
  • TheTrip/황재선 . . . . 33 matches
         import java.io.InputStreamReader;
          * Window - Preferences - Java - Code Style - Code Templates
          int studentNum;
          public int inputStudentNum() {
          studentNum = (int) inputNum();
          private double inputNum() {
          BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
          String line = in.readLine();
          num = Double.parseDouble(line);
          e.printStackTrace();
          public double[] inputMoney() {
          for(int i = 0; i < studentNum; i++) {
          money[i] = inputNum();
          System.out.println("$10000.00을 넘을수없으니 다시 입력해");
          money[i] = inputNum();
          for(int i = 0; i < money.length; i++) {
          for(int i = 0; i < money.length; i++)
          private void printResult(ArrayList list) {
          for(int i = 0; i < list.size(); i++) {
          System.out.println("$" + num.doubleValue());
  • TicTacToe/박진영,곽세환 . . . . 33 matches
         import javax.swing.JFrame;
          int array[][] = new int[3][3];
          int a = 0;
          for (int i = 0; i < 3; i++)
          for (int j = 0; j < 3; j++)
          int x = e.getX();
          int y = e.getY();
          System.out.println("play 2 WIN !!! ");
          System.out.println("play 2 WIN !!! ");
          System.out.println("play 2 WIN !!! ");
          System.out.println("play 2 WIN !!! ");
          System.out.println("play 2 WIN !!! ");
          System.out.println("play 2 WIN !!! ");
          System.out.println("play 2 WIN !!! ");
          System.out.println("play 2 WIN !!! ");
          System.out.println("play 1 WIN !!! ");
          System.out.println("play 1 WIN !!! ");
          System.out.println("play 1 WIN !!! ");
          System.out.println("play 1 WIN !!! ");
          System.out.println("play 1 WIN !!! ");
  • TicTacToe/유주영 . . . . 33 matches
          import javax.swing.*;
          int realx;
          int realy;
          int x;
          int y;
          int count=0; // 이쪽은 계속 갱신되는 것은 아닌듯.
          int [][]ticbox = new int[3][3];
          for(int i=1;i<4;i++)
          for(int j=1;j<4;j++)
          System.out.println("x 좌표 : " + x);
          System.out.println("y 좌표 : " + y);
          repaint();
          public static void main(String argv[]){
          public void paint(Graphics g)
          g.drawLine(100,200,400,200);
          g.drawLine(100,300,400,300);
          g.drawLine(200,100,200,400);
          g.drawLine(300,100,300,400);
          //g.drawString("X가 이겼습니다!",100,450);
          {g.drawLine(realx,realy,realx+60,realy+60);
  • VonNeumannAirport/남상협 . . . . 33 matches
         Input 과 output 예제가 왜 그렇게 나왔는지 이해 하는데에서 많은 오해를 해서 의도하지 않은 삽질을 하게 되었습니다. 나름대로 시작은 testCase 만들면서 했지만 제대로 테스트 케이스 만들면서 진행은 하지를 못했습니다. 그래서 테스트 케이스는 올리지 않았습니다.
          def __init__(self,cityNum,trafficList, configureList):
          for trafficData in trafficList:
          for traffic in trafficData[:-1]:
          trafficOfCity.append(int(traffic))
          for configureData in configureList:
          for configure in configureData:
          for conf in configure[:-1]:
          eachConfigure.append(int(conf))
          for configure in self.configureList:
          for con in configure[0]:
          for i in range(2,len(self.trafficList[departureGate-1]),2):
          traffic+=(abs(configure[1].index(arrivalGate)-configure[0].index(departureGate))+1)*self.trafficList[departureGate-1][i+1]
          def __init__(self):
          Data = file("airport.in")
          cityNum = int(Data.readline().split(" ")[0])
          for i in range(0,cityNum):
          trafficList.append(Data.readline().split(" "))
          while Data.readline().split(" ")[0] != '0':
          readLineOne = Data.readline().split(" ")
  • [Lovely]boy^_^/USACO/GreedyGiftGivers . . . . 33 matches
          * 혹시 map에 삽입할때 정렬 안되게 하는 법 없나요?;; 아무리 해도 방법이 안 떠올라서 따로 string 벡터를 만들어서 저장했는데;; 너무 더러워져서;;
         #include <iostream>
         #include <fstream>
         #include <string>
         #include <vector>
         #include <map>
         using namespace std;
         map<string,int> List;
         vector<string> ManList;
         int max_num = 0;
         ifstream fin("gift1.in");
         void InputData();
         int main()
          InputData();
          fin.close();
         void InputData()
          fin >> max_num;
          string name;
          for(int k = 0 ; k < max_num ; ++k)
          fin >> name;
  • 데블스캠프2009/목요일/연습문제/MFC/김태욱 . . . . 33 matches
         #include "stdafx.h"
         #include "zxczxc.h"
         #include "zxczxcDlg.h"
         #define new DEBUG_NEW
          //{{AFX_DATA_INIT(CAboutDlg)
          //}}AFX_DATA_INIT
         BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
          //{{AFX_DATA_INIT(CZxczxcDlg)
          //}}AFX_DATA_INIT
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
          m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
         BEGIN_MESSAGE_MAP(CZxczxcDlg, CDialog)
          ON_WM_PAINT()
         BOOL CZxczxcDlg::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
  • 데블스캠프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");
  • 데블스캠프2013/다섯째날/구구단 . . . . 33 matches
          print dan, i, dan*i;
         #include <stdio.h>
         int main()
          int i,j;
         void recur(int i,int j)
          printf("\n");
         void recur2(int i,int j)
          printf("%dx%d = %d ",i,j,i*j);
         #include <stdio.h>
         void gu(int base, int inc) {
          if(inc==10) {
          printf("\n");
          printf("%d x %d = %d\n", base, inc, base*inc);
          gu(base, inc+1);
         int main(void) {
         #include <stdio.h>
         void printRow(int Num){
          printf("%d * %d = %d\n", (Num/9+1), (Num)%9+1 , (Num/9+1)*((Num)%9+1));
          printRow( ++Num );
         int main(){
  • 이연주/공부방 . . . . 33 matches
         [[HTML(<span style="font-size:9pt; letter-spacing:-1px;"><font face="Verdana" color=black><b>)]]
         #include <stdio.h>
         #include <stdlib.h>
         int main()
          int multiply_prev;
          int multiply_next;
          printf("%dX%d=%2d ",multiply_prev,multiply_next,multiply_prev*multiply_next);
          printf("\n");
         [[HTML(<span style="font-size:9pt; letter-spacing:-1px;"><font face="Verdana" color=blue><b>)]]헉; 뭔가 바껴서 된다;; 헉; [JuNe]님 감사합니다.^^~[[HTML(</b></font></span>)]]
          [[HTML(<span style="font-size:9pt; letter-spacing:-1px;"><font face="Verdana" color=ff4500><b>)]](손도 못대겠슈=,.=;)[[HTML(</b></font></span>)]]
          http://prof.cau.ac.kr/~sw_kim/include.htm
         #include <stdio.h>
         void main(void)
          int i, *pi, ix[3]={1, 2, 3};
          printf("(pi+%d) = %p *(pi+%d) = %d (pf+%d) = %p *(pf+%d)
         #include <stdio.h>
         void main(void)
          int abc[3]={1, 2, 3}, *bcd;
          printf("___Name___ _Size_\n");
          printf(" abc %d\n", sizeof(abc));
  • 임시 . . . . 33 matches
         http://cs.sungshin.ac.kr/~jwlee/os/chap9.ppt
         http://infosec.kut.ac.kr/sangjin/class/os/
         SearchIndex: Books
         Business & Investing: 3
         Computers & Internet: 5
         Cooking, Food & Wine: 6
         Engineering: 13643
         Entertainment: 86
         Health, Mind & Body: 10
         Medicine: 13996
         Parenting & Families: 20
         http://www.dasomnetwork.com/~leedw/mywiki/moin.cgi/NetworkProgramming
         http://crab.chungbuk.ac.kr/%7Ejchern/ vi명령어, Windows Network Programming API, ..
         String myIP = inet_ntoa(*(in_addr*) *(gethostbyname(myName))->h_addr_list);
         '''WinSock'''
         In the first stage, you will write a multi-threaded server that simply displays the contents of the HTTP request message that it receives. After this program is running properly, you will add the code required to generate an appropriate response.
         &Operation=ItemSearch &SearchIndex=SportingGoods
         &SearchIndex=Books 고정
         an Amazon Standard Item Number (ASIN)
         API Reference - Search Index Values
  • 파스칼삼각형/김수경 . . . . 33 matches
         #include <stdio.h>
         int Pascal(int m, int n){
         void main(){
          int m,n;
          printf("행, 열 차례대로 입력 ex/3,2\n>>>>");
          printf("%d행 %d열의 파스칼의 삼각형 숫자는 %d 입니다.\n",m, n, Pascal(m,n));
         def pascal(line, element):
          if not isinstance(element, int):
          print "E = " , element , " : Please input an Integer"
          print "E = " , element , " : Please input an Integer greater than 0"
          if line < element:
          print "Element must less than line"
          if (line == 1) or (element == 1) or (line == element):
          return pascal(line-1, element-1) + pascal(line-1, element)
          if not isinstance(n, int):
          print "N = " , n , " : Please input an Integer"
          print "N = " , n , " : Please input an Integer greater than 0"
          for j in range(0, n-i):
          print "",
          for j in range(1, i+1):
  • 3DGraphicsFoundationSummary . . . . 32 matches
          * x = ρsinθcosφ
          * y = ρsinθsinφ
          * 벡터의 크기 : |ⓐXⓑ| = |ⓐ||ⓑ|sinθ
          * 윈도우 위에서 x값의 최소값을 x(min), 최대값을 x(max), y값의 최소값을 y(min), 최대값을 y(max) 라 하자.
          * 뷰포트의 사각형의 최소,최대값을 X(min), X(max), Y(min), Y(max) 라 하자.
          * delx = (X(max) - X(min)) / (x(max) - x(min))
          * dely = (Y(max) - Y(min)) / (y(max) - y(min))
          * x(c) = (x(max) + x(min)) / 2
          * y(c) = (y(max) + y(min)) / 2
          * X(c) = (X(max) + X(min)) / 2
          * Y(c) = (Y(max) + Y(min)) / 2
          * 어떤 물체를 그것을 둘러싸고 있는 면으로 나타낸 다음 은선, 은면제거 알고리즘이나 Shading 알고리즘을 가미하여 보다 현실감 있게 그 물체를 표현하는 'Surfaced 모델'
          * 광원 모델 사용(Ray-Tracing법 많이 사용)
          | -sinθ -cosφcosθ -sinφcosθ 0 |
          | cosθ -cosφsinθ -sinφsinθ 0 |
          = | 0 sinφ -cosφ 0 |
          * 대상(destination) : 프레임 버퍼에 이미 그려져 있는 픽셀
         || GL_ONE_MINUS_DST_COLOR || 원본 색상과 ((1,1,1,1)-대상 색상)을 곱한다 ||
         || GL_ONE_MINUS_SRC_ALPHA || 원본 색상에 (1-원본 알파값)을 곱한다 ||
         || GL_ONE_MINUS_DST_ALPHA || 원본 색상에 ((1,1,1,1)-대상 색상 알파값)을 곱한다 ||
  • CPPStudy_2005_1/질문 . . . . 32 matches
         #include <algorithm>
         #include <iomanip>
         #include <ios>
         #include <iostream>
         #include <string>
         #include <vector>
         using std::cin; using std::sort;
         using std::cout; using std::streamsize;
         using std::endl; using std::string;
         using std::setprecision; using std::vector;
         int main()
          string name;
          cin >> name;
          cout << "Please enter yourmidterm and final exam grades: ";
          double midterm, final;
          cin >> midterm >> final;
          while (cin >> x)
          "Please try again." << endl;
          sort(homework.begin(),homework.end());
          cout << "Your final grade is " << setprecision(3)
  • CVS/길동씨의CVS사용기ForLocal . . . . 32 matches
         SET PATH=%PATH%;"C:Program FilesGNUWinCvs 1.3"
          * in Windows
          * in Bash Shell ( 프롬프트에서 직접 실행 해야 적용됨 )
         C:User>cvs init
         cvs init
         cvs -d c:CVSLocal init // -d 태그를 설정안하면 환경변수 CVSROOT의 값을 가져와 쓴다. 모든 cvs사용에 해당한다.
         C:UserHelloJava>cvs import -m "Hello Java를 출력하는 모듈" HelloJava zeropage neocoin
         cvs checkout: Updating HelloJava
          public static void main(String[] args){
          System.out.println("Hello Java");
         cvs add: scheduling file `HelloJava.java' for addition
         Checking in HelloJava.java;
         initial revision: 1.1
         cvs checkout: Updating HelloJava
          String helloScript = "Hello Java";
          System.out.println(helloScript);
          public static void main(String[] args){
         Checking in HelloJava.java;
         Working file: HelloJava.java
         date: 2002/07/31 15:36:21; author: Administrator; state: Exp; lines: +6 -1
  • CubicSpline/1002/test_NaCurves.py . . . . 32 matches
          for x in dataset:
          def testInsertPointX(self):
          self.assertEquals (l.getControlPointListX(), self.dataset)
          def testInsertPointY(self):
          for x in self.dataset:
          self.assertEquals (l.getControlPointListY(), listY)
          for i in range(0, len(self.dataset)):
          for j in range(0, len(self.dataset)):
          for i in range(1, len(self.dataset)):
          for i in range(0, len(self.dataset)):
          def testInterpolation(self):
          for x in self.dataset:
          def testInsertPointX(self):
          self.assertEquals (pl.getControlPointListX(), self.dataset)
          def testInterpolation(self):
          for x in self.dataset:
          def testControlPointPiece(self):
         class TestSpline(unittest.TestCase):
          self.s = Spline(self.dataset)
          def testInterpolation(self):
  • EightQueenProblem/김형용 . . . . 32 matches
         from pprint import pprint
          for num in range(x,-1,-1):
          for num in range(y-1,-1,-1):
          for num in range(x,8):
          for num in range(y-1,-1,-1):
          def __init__(self, name):
          if (ax not in range(8)) or (ay not in range(8)):
          def isInRow(self):
          for tempy in range(8):
          def isInColumn(self):
          for tempx in range(8):
          def isInRightDig(self):
          for tempx,tempy in makeRightDigTuple(self.getPosition()):
          def isInLeftDig(self):
          for tempx,tempy in makeLeftDigTuple(self.getPosition()):
          return self.isInRow() or self.isInColumn() or \
          self.isInRightDig() or self.isInLeftDig()
          continue
          for name in range(1,9):
          for i in range(8):
  • EightQueenProblem/임인택 . . . . 32 matches
          8bit == 1byte 라는 생각을 하고 비트연산만으로 할 수 있을것 같다는 생각을 하였다. 하지만 이 경우는 n-Queen 으로까지 확장하기까지 힘들고 간단한 index 로 값을 참조할수 있는 배열에 비해 비능률적인 방법이다. 단지 속도가 조금 빠를 것으로 믿었는데.. 빨라봤자 얼마나 빠르겠어.--;
         #include <iostream.h>
         #define QUEEN 8
         int Queen[QUEEN][QUEEN]={0};
         int total=0;
         void print_result();
         void reset(int fromline=0);
         void get_Queen(int x, int y);
         int check(int i, int j);
         int main()
          for(int i=0; i<QUEEN; i++)
         void get_Queen(int x, int y)
          if(y==QUEEN-1) print_result();
          for(int i=0; i<QUEEN; i++)
         void print_result()
          int i,j;
          cin.get();
         void reset(int fromline)
          int i,j;
          for(j=fromline; j<QUEEN; j++)
  • MajorMap . . . . 32 matches
         It's related ProgrammingLanguage, DigitalLogicDesign(, and...)
         == Instructions:language of the Computer ==
         Keywords are InstructionSetArchitecture, Register, Memory, Address(,and...)
         InstructionSetArchtecture(ISA) is an abstract interface between the hardware and the lowest-level sogtware. Also called simply architecture.
         Registers are a limited number of special locations built directly in hardware. On major differnce between the variables of a programming language and registers is the limited number of registers, typically 32(64?) on current computers.
         Memory is the storage area in which programs are kept when they are runngin and that contains the data needed by the running programs. Address is a value used to delineate the location of a specific data element within a memory array.
         ALU is is a part of the execution unit, a core component of all CPUs. ALUs are capable of calculating the results of a wide variety of basic arithmetical computations such as integer and floating point arithmetic operation(addition, subtraction, multiplication, and division), bitwise logic operation, and bit shitf operation. Therefore the inputs to the ALU are the data to be operated on (called operands) and a code from the control unit indicating which operation to perform. Its output is the result of the computation.--from [http://en.wikipedia.org/wiki/ALU]
         Two's complement is the most popular method of representing signed integers in computer science. It is also an operation of negation (converting positive to negative numbers or vice versa) in computers which represent negative numbers using two's complement. Its use is ubiquitous today because it doesn't require the addition and subtraction circuitry to examine the signs of the operands to determine whether to add or subtract, making it both simpler to implement and capable of easily handling higher precision arithmetic. Also, 0 has only a single representation, obviating the subtleties associated with negative zero (which is a problem in one's complement). --from [http://en.wikipedia.org/wiki/Two's_complement]
         A Gray code is a binary numeral system where two successive values differ in only one digit. --from [http://en.wikipedia.org/wiki/Gray_code]
  • MineSweeper/곽세환 . . . . 32 matches
         MineSweeper 문제풀이
         변수 i 선언 밖으로 빼고, mainint리턴하도록 변경해서 해결
         #include <iostream>
         using namespace std;
         int findNumberOfMine(char input[][100], int n, int m, int y, int x)
          int number = 0;
          for (int i = y - 1; i <= y + 1; i++)
          for (int j = x - 1; j <= x + 1; j++)
          if (i >= 0 && i < n && j >= 0 && j < m && input[i][j] == '*')
         int main()
          int n, m;
          int field = 0;
          char input[100][100];
          cin >> n >> m;
          int i, j;
          cin >> input[i][j];
          if (input[i][j] == '*')
          output[i][j] = findNumberOfMine(input, n, m, i, j) + '0';
          cin >> n >> m;
         [MineSweeper]
  • MineSweeper/김회영 . . . . 32 matches
         = MineSweeper =
         == {{{~cpp MineSweeper.cpp}}} ==
         #include<iostream>
         using namespace std;
         #define BOMB 100
         void main()
          int count=0;
          int width,height;
          cin>>height;
          cin>>width;
          int* arrayOfMine=new int[width*height];
          for(int a=0;a<height;a++)
          for(int b=0;b<width;b++)
          arrayOfMine[a*width+b]=0;
          for(int i=0;i<height;i++)
          cin>>temp;
          for(int j=0;j<width;j++)
          arrayOfMine[(i-1)*width+(j-1)]++;
          arrayOfMine[(i)*width+(j-1)]++;
          arrayOfMine[(i+1)*width+(j-1)]++;
  • 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>
  • ProgrammingLanguageClass/2006/Report3 . . . . 32 matches
         C supports two kinds of parameter passing mode, pass-by-value and pass-byreference,
         but not pass-by-name. A technique for implementing pass-by-name is to
         treat the actual parameters as thunks. Whenever a formal parameter is referenced in a
         subprogram, the corresponding thunk compiled for that parameter is executed. Even
         though it is difficult to avoid run-time overhead in the execution of thunks, sometimes it
         provides a very powerful feature for some applications like a generic summation routine.
         Suppose that whenever a programmer wants to pass a parameter by name in C, it is
         required to prefix the keyword name just in front of both the actual and formal
         conventional compiler, syntax errors should occur since it violates the syntactical rules
         parameter-passing method. The preprocessor should transform C programs with name
         parameters into pure C programs so that the transformed programs manage to handle
         parameters prefixed with name as if they were called by name without causing any
         properly by testing it for various summation below.
         by passing parameters by name.
         3) You have to show off the robustness of your program by checking various
         Jensen's Machine 은 Jørn Jensen라는 사람이 Algol 60을 제안하는 보고서에서 제시한 프로그래밍 테크닉을 말합니다.
          begin integer i;
          value lo, hi; integer i, lo, hi; real term;
          begin real temp; temp := 0;
          print( sum(i, 1, 100, 1/i))
  • ReverseAndAdd/Celfin . . . . 32 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         int testcase, number, i, counting;
         int input[10], temp[10], carry[10];
         int tempNum;
         bool isPanline;
          counting=0;
          while(!isPanline)
          isPanline=true;
          if(input[i]+input[number-i+9]+carry[i]>9)
          temp[i] = (input[i]+input[number-i+9]+carry[i])%10;
          temp[i] = input[i]+input[number-i+9]+carry[i];
          input[i] = temp[i];
          counting++;
          isPanline=false;
          cout << counting << " ";
          cout << input[i];
         int main()
          cin >> testcase;
  • STL/vector . . . . 32 matches
          * include : vector
         #include <vector>
         vector<int> ar; // int형 데이터를 넣을 vector 컨테이너 ar을 생성.
         vector<int>::iterator iter; // 내부의 데이터들을 순회하기 위해 필요한 반복자.
         vector<int>::const_iterator i; // 벡터의 내용을 변경하지 않을 것임을 보장하는 반복자.
         int data[3] = {1,2,3};
         vector<int> ar(&data[0], &data[3]); // data내의 정보가 세팅된다.
          질문 : 상식에 의거해서 실습 해볼 때 저 부분을 {{{~cpp vector<int> ar( &data[0], &data[2] ); }}} 로 했더니 계속 문제가 생겨서.. 오랜 삽질끝에 &data[3] 으로 해야한다는 걸 발견 했습니다. 좀 이상한 것 같네요. {{{~cpp data[3]}}} 이라는 것은 배열의 범위를 벗어나는 연산일텐데요.. 그곳의 리퍼런스를 얻어서 생성자로 넘겨주는게.. 상식에서 거부했나 봅니다. 두번째 인자로 배열 범위를 벗어나는 값을 받는 이유를 혹시 아시는 분 계십니까? --zennith
          Iterator 들이나, 배열의 영역설정은 그 모호성을 배제하기 위해서, 마지막 자료형 + 1의 index 를 가지는 것을 상식으로 취급합니다. MFC, Java 등 여타 라이브러리들의 index접근 하는법 마찬가지 입니다. 익숙해 지는 수 밖에 없지 않을까요? --NeoCoin
         vector<int>::const_iterator i;
         for(i = ar.begin() ; i != ar.end() ; ++i)
         i = ar.begin();
         for(int j = 0 ; j < ar.size() ; ++j)
         ar.erase(ar.begin()+5);
         vector<int>::iterator start, end;
         start = ar.begin() + 1; // 2번째
         #include <vector>
         #include <iostream>
         using namespace std;
         typedef vector<int> vecCont;
  • 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();
  • ScheduledWalk/재니&영동 . . . . 32 matches
         #include <iostream>
         using namespace std;
         class Inputer{
          int col, row; // 판 크기
          int startx, starty; // 바퀴 시작 좌표
          Inputer(){
          cin>> col >> row;
          cin >> startx >> starty;
          cin >> journey;
          int* BoardArray;
          int maxCol, maxRow;
          Board (int col, int row)
          BoardArray = new int[row * col + row];
          for (int i = 0 ; i < col ; i++)
          for (int j = 0 ; j < row ; j++)
          void start(int x, int y, char* journey)
          int move[8][2]={{0, -1}, {1, -1}, {1, 0}, {1, 1}, {0, 1}, {-1, 1}, {-1, 0}, {-1, -1}};
          for (int check, direction, i=0 ; check != maxRow * maxCol && CurrentMove != '' ; i++)
          for (int j = 0 ; j < maxRow * maxCol ; j++) // 빈 셀이 있는지 확인
          void print()
  • SummationOfFourPrimes/김회영 . . . . 32 matches
         #include<iostream>
         using namespace std;
         int* set_prime_array(int* prime_array,int number);
         bool check_prime_number(int n);
         void find_four_number(int* prime_array,int count,int number);
         int count=0; //만들어진 소수의 총 수를 구한다.
         void main()
          int number = 0;
          cin>>number;
          find_four_number(prime_array,count,number);
         int* set_prime_array(int* prime_array,int number)
          int* prime_array = new int[number];
          for(int i=1 ; i<number ; i++)
         bool check_prime_number(int n)//전달된 값이 소수인지를 판별합니다.
          for(int j=2 ; j<n ; j++)
         void find_four_number(int* prime_array,int count,int number)
          int temp=0;
          for(int a=0;a<count;a++)
          for(int b=0;b<count;b++)
          for(int c=0;c<count;c++)
  • 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'
  • TopicMap . . . . 32 matches
         TopicMap''''''s are pages that contain markup similar to ['''include'''] (maybe ['''refer'''] or ['''toc''']), but the normal page layout and the ''print layout'' differ: expansion of the includes only happens in the print view. The net result is that one can extract nice papers from a Wiki, without breaking its hyper-linked nature.
         ''Nice idea. But i would just make it the normal behavior for external links. That way you don't clutter MoinMoin with too many different features. --MarkoSchulz''
         I plan to use [ ] with a consistent syntax for such things. How do you mean the external link thing? Including other web pages, or "only" other Wiki pages?
         OK, for the simple stuff (i.e. local links), how about this:
          * [ include:WikiName] always includes the referred page
          * [ map:WikiName] for print inclusion (better names than ''map''?)
         Could you provide a more involved example markup and its corresponding rendering? As far as I understand it, you want to serialize a wiki, correct? You should ask yourself what you want to do with circular references. You could either disallow them or limit the recursion. What does "map" do? See also wiki:MeatBall:TransClusion''''''. -- SunirShah
         '''Moin Moin Manual'''
          1. Wiki Introduction
          1. InterWiki
          1. MoinMoinBugs
          1. InterWiki list
         This is useable for navigation in the '''normal''' view. Now imagine that if this is marked as a TopicMap, the ''content'' of the WikiName''''''s that appear is included ''after'' this table of contents, in the '''print''' view.
  • ZPBoard/APM/Install . . . . 32 matches
         === Windows에 Apache+PHP+MySQL 설치하기 ===
          * Apache를 다운 받아 설치한다. (http://www.apache.org/dist/httpd/binaries/win32/apache_1.3.26-win32-x86-no_src.exe)
          * PHP를 다운 받아 c:\php 정도의 적당한 디렉토리에 압축을 푼다. (http://us3.php.net/do_download.php?download_file=php-4.2.2-Win32.zip)
          * PHP 디렉토리에 있는 php4ts.dll 파일을 Windows 디렉토리의 System(Windows 98의 경우) 또는 System32(Windows NT, XP의 경우) 디렉토리에 복사한다.
          * PHP 디렉토리에 있는 php.ini-dist 파일을 Windows 디렉토리에 php.ini 라는 이름으로 바꾸어 복사한다.
          * MySQL을 다운 받아 설치한다. (http://www.mysql.com/downloads/download.php?file=Downloads/MySQL-3.23/mysql-3.23.52-win.zip&download=http://mysql.holywar.net/Downloads/MySQL-3.23/mysql-3.23.52-win.zip)
         phpinfo();
         $link=mysql_connect() or die ("MySQL을 다시 설치하세요.");
         print ("MySQL이 정상적으로 설치되었습니다.");
         mysql_close($link);
         === Windows에 IIS+PHP+MySQL 설치하기 ===
          * 제어판 -> 프로그램 추가/제거 -> Windows 구성 요소 추가/제거 에서 IIS를 설치한다.
          * PHP를 다운 받아 c:\php 정도의 적당한 디렉토리에 압축을 푼다. (http://us3.php.net/do_download.php?download_file=php-4.2.2-Win32.zip)
          * PHP 디렉토리에 있는 php4ts.dll 파일을 Windows 디렉토리의 System(Windows 98의 경우) 또는 System32(Windows NT, XP의 경우) 디렉토리에 복사한다.
          * PHP 디렉토리에 있는 php.ini-dist 파일을 Windows 디렉토리에 php.ini 라는 이름으로 바꾸어 복사한다.
          * MySQL을 다운 받아 설치한다. (http://www.mysql.com/downloads/download.php?file=Downloads/MySQL-3.23/mysql-3.23.52-win.zip&download=http://mysql.holywar.net/Downloads/MySQL-3.23/mysql-3.23.52-win.zip)
         phpinfo();
         $link=mysql_connect() or die ("MySQL을 다시 설치하세요.");
         print ("MySQL이 정상적으로 설치되었습니다.");
         mysql_close($link);
  • [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.--;
  • whiteblue/MyTermProject . . . . 32 matches
         #include <iostream>
         #include <cstdlib>
         using namespace std;
          int number;
          int kor;
          int eng;
          int math;
          int total;
         void sort (int *);
         int input();
         void result_1(student l[] , int *);
         int select, i, j, check=0;
         int main()
          switch (input())
          switch (input())
          switch (input())
         void result_1(student l[] , int * n)
          cout.setf(ios_base::showpoint);
         void sort(int * x) // 소트 함수
          for (int i = 0 ; i <= 19 ; i++ )
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/강소현 . . . . 32 matches
         #include <stdio.h>
         #include <stdlib.h>
         typedef struct zergling{
          int attack;
          int protect;
          int HP;
         int main(){
          int order;
          order = (int) rand() % 2;
          printf("%s가 %s에게 데미지 %d를 입혀 HP가 %d가 되었다.\n",zerg1.name, zerg2.name, zerg1.attack, zerg2.HP);
          printf("%s가 %s에게 데미지 %d를 입혀 HP가 %d가 되었다.\n",zerg2.name, zerg1.name, zerg2.attack, zerg1.HP);
          printf("게임 끝 ㅇㅇ\n");
         #include <stdio.h>
         #include <stdlib.h>
         #include<time.h>
         typedef struct zergling{
          int attack;
          int protect;
          int HP;
         void init(zerg *newZerg, zerg *newZerg2){
  • 데블스캠프2011/넷째날/Git/권순의 . . . . 32 matches
         #include "stdafx.h"
         #include <iostream>
         using namespace std;
         #include <string.h>
         #include "cmdTest.h"
         #include "rei.h"
         typedef int (*PF)(int, ARGV);
         int parseCommand(char* str, ARGV argv);
         int _tmain(int argc, _TCHAR* argv[])
          char input[256];
          char inputArgv[ARG_NUM][ARG_SIZE] = {0,};
          cout<<"input your command : ";
          cin>>input;
          int inputArgc = parseCommand(input, inputArgv);
          PF pf = getCommander(inputArgv);
          pf(inputArgc, inputArgv);
         int parseCommand(char* str, ARGV argv){
          int i;
          for( int i=0; i<sizeof(cmds)/sizeof(Cmds); i++)
         #include "rei.h"
  • 무엇을공부할것인가 . . . . 32 matches
         SeparationOfConcerns로 유명한 데이비드 파르나스(David L. Parnas)는 FocusOnFundamentals를 말합니다. (see also ["컴퓨터고전스터디"]) 최근 작고한 다익스트라(NoSmok:EdsgerDijkstra )는 수학과 언어적 능력을 말합니다. ''Besides a mathematical inclination, an exceptionally good mastery of one's native tongue is the most vital asset of a competent programmer. -- NoSmok:EdsgerDijkstra '' 참고로 다익스트라는 자기 밑에 학생을 받을 때에 전산학 전공자보다 수학 전공자에게 더 믿음이 간다고 합니다.
         ([http://groups.google.co.kr/groups?hl=ko&lr=&ie=UTF-8&inlang=ko&newwindow=1&frame=right&th=382f243e8edce15a&seekm=slrnam7pfh.ds.gerhard.haering%40haering.opus-gmbh.net#link1 관련 원문])
         As for the job market, Python isn't among the buzzwords that you'll find in
         about particular technologies, the important part is learning concepts. If
         you learn Python, you won't be able to avoid learning (at least):
         - Object Oriented Programming (OOP)
         - Procedural Programming
         There's a lot more concepts that you can learn while using Python, as you
         - Functional Programming
         - Dividing software into components
         Learn concepts, not tools. At least in the long run, this will make you
         more attractive to employers who have a clue about what's important in the
         software industry.
         - Team work: dividing up tasks. Defining the interfaces up front to avoid
          blocking other team members who wait for you. Using a source code control
         - Communication/efficient problem solving: not trying yourself for days to
          solve a problem that could be solved a lot more efficiently by calling
          the client or writing an email - I've had problems with this myself in
          concentration, unit tests, and always trying to improve on yourself help
  • 반복문자열/김대순 . . . . 32 matches
         #include<stdio.h>
         int y(int n);
         main()
          int z;
         int y(int n)
          printf(" %d CAUCSE LOVE.\n",n+1);
         [http://blogfiles1.naver.net/data13/2006/3/29/80/warning-1006kds.jpg]
         실행은 되는데, warning 이~~~!!!
         #include<stdio.h>
         void y(int n);
         int main()
          int z;
         void y(int n)
          printf(" %d CAUCSE LOVE.\n",n+1);
         #include<stdio.h>
         void y(int n);
         int main()
          for(int z=0;z<5;z++)
         void y(int n)
          printf(" %d CAUCSE LOVE.\n",++n);
  • 방울뱀스터디/만두4개 . . . . 32 matches
         from Tkinter import *
          print key
          if key in ['Right', 'Left', 'Up', 'Down', 'Space']:
          print row, col
          print traceList
          #ball = canvas.create_oval(x - 1, y - 1, x + CELL + 1, y + CELL + 1, fill='white', outline = 'white')
          #img2 = canvas.create_oval(1, 1, 13, 13, fill='white', outline = 'white')
          canvas.create_line(row, col, row+speed, col, fill="red")
          canvas.create_line(row, col, row-speed, col, fill="red")
          #canvas.create_line(x, y, row, col, fill="red")
          #print row, col, x, y
          canvas.create_line(row, col, row, col-speed, fill="red")
          canvas.create_line(row, col, row, col+speed, fill="red")
          # canvas.create_line(row, col+8, row + speed, col+8, fill="red")
          # canvas.create_line(row + speed + 8, col+8, row + 8, col+8, fill="red")
          # canvas.create_line(row + 8, col+ speed + 8, row + 8, col + 8 , fill="red")
          # canvas.create_line(row + 8, col, row + 8, col +speed, fill="red")
          print i
          #elif key in ['Space']:
          # if key in ['Right', 'Left', 'Up', 'Down']:
  • 새싹교실/2011/씨언어발전/2회차 . . . . 32 matches
         #include <stdio.h>
         void main(){
          int x,y;
          int result;
          printf("밑변의 길이를 입력하세요 :");
          printf("높이를 입력하세요 :");
          printf("밑변 = %d 높이 = %d 넓이 = %d",x,y,result);
         #include <stdio.h>
         void main(){
          int a,b,c;
          int temp;
          printf("%d %d %d",a,b,temp);
         일단 기타코드를 배울때 밑도끝도없이 C코드부터 가르치는것처럼 printf와 scanf는 일단 이렇게 쓰는거니
         #include<stdio.h>
         void main()
          int a;
          if(a>=90)printf("넌 A다.\n");
          else if(90>a && a>=80)printf("넌 B다.\n");
          else if(80>a && a>=70)printf("넌 C다.\n");
          else if(70>a)printf("넌 F다.\n");
  • 새싹교실/2013/라이히스아우토반/3회차 . . . . 32 matches
          * int에서 탈출해 봅시다.
         #include<stdio.h>
         int main()
          printf("%s%f",asdf,NulbI);
          printf("%s%lf",asdf,NulbI);
          printf("%s%d",asdf,NulbI);
         #include<stdio.h>
         int main()
          int num1 = rand()%10000; //rand()는 임의의 수를 돌려주는 함수.
          int num2 = rand()%10000;
          int sub = num1-num2;
          int ans;
          printf("%d-%i는 뭘까요? : ",num1,num2);
         #include<stdio.h>
         #include<stdlib.h>
         #include<Windows.h>
         #define TURN_GAP 500
         int main()
          int myHP = 10000;
          int GwaJaeHP = 10000;
  • 새싹교실/2013/록구록구/8회차 . . . . 32 matches
         1. 5칸짜리 int형 배열을 선언합니다. 값은 임의로 정합니다.
         2. 5칸짜리 int형 배열을 선언합니다. 값은 scanf와 반복문을 사용하여 입력받습니다.
          int형 이기 때문에 소수점 이하가 잘리는 문제는 그냥 무시합니다. (출력 예시 참고!)
         #include <stdio.h>
         int main()
          int a[]={3,4,12,9,1};
          printf("%d\n", a[0]);
          printf("%d\n", a[1]);
          printf("%d\n", a[2]);
          printf("%d\n", a[3]);
          printf("%d\n", a[4]);
         #include <stdio.h>
         int main()
          int a[5]={0};
          int i;
          int sum=0,average=0;
          printf("합=%d\n",sum);
          printf("평균=%d\n",average);
         #include<stdio.h>
         int main()
  • 압축알고리즘/태훈,휘동 . . . . 32 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         void main()
          ifstream fin("input.txt"); //형식은 3b11a같이
          int num;
          fin >> num; // 포인트...
          fin.get(ch);
          for ( int i = 0 ; i < num ; i++ )
          }while( !fin.eof() );
         #include <iostream>
         using namespace std;
         void main()
          ch = cin.get();
          char initial = ch;
          cout << initial - ch;
          cin.get(initial);
          }while(!(initial == '\n'));
         #include <iostream>
         using namespace std;
  • 이차함수그리기/조현태 . . . . 32 matches
         #include <iostream>
         #include <windows.h>
         using namespace std;
         const int MIN_X=-5;
         const int MAX_X=5;
         int banollim(float number)
          float temp_sosu=number-(int)number;
         void gotoxy(int x, int y)
         void make_image(int where_x, int where_y, float min_x, float max_x, float tab_x, float tab_y)
          int max_y=0;
          int min_y=function_x_to_y(min_x);
          for (register float x=min_x; x<=max_x; x+=tab_x)
          else if (min_y>function_x_to_y(x))
          min_y=function_x_to_y(x);
          for (register float x=min_x; x<=max_x; ++x)
          gotoxy(banollim(x-min_x+1+where_x),(where_y+max_y*tab_y));
          printf (".");
          for (register float y=min_y; y<=max_y; ++y)
          gotoxy(banollim(-min_x+1+where_x),(where_y-banollim(y)*tab_y+max_y*tab_y));
          printf (".");
  • 토이/숫자뒤집기/김남훈 . . . . 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) {
  • 호너의법칙/조현태 . . . . 32 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         int input[11] = {3,3,3,3,3,3,3,3,3,3,3} ;
         const int INPUT_MAX=11;
         int x;
         int number_of_sum=0;
         int number_of_multiply=0;
         int Horner(int);
         void main()
          const int SIZE_OF_LINE=5;
          const int NUMBER_TO_CHAR=48;
          const int SIZE_OF_BLOCK=4;
          cin >> x;
          char write_temp[SIZE_OF_LINE][8+INPUT_MAX*SIZE_OF_BLOCK];
          for (register int i=0; i<8+INPUT_MAX*4; i++)
          strcpy(write_temp[1]," |index|");
          for (register int i=0; i<INPUT_MAX; i++){
          if (10<=input[i])
          write_temp[3][i*SIZE_OF_BLOCK+8]=input[i]/10+NUMBER_TO_CHAR;
  • 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;
  • CPP_Study_2005_1/Basic Bus Simulation/김태훈 . . . . 31 matches
         #include <iostream>
         #include <fstream>
         #include <vector>
         #include <iomanip> //setprecision
         #include <ios> //precision
         using namespace std;
          void change_speed(const int n) { speed=n; }
          float buspos(const int min,const int lanelen) {
          float hour = ((float)min)/60.0;
          int speed;
         int main()
          ifstream fin("input.txt");
          int lanelen,i;
          fin >> lanelen; //버스노선 길이
          int tmpint;
          fin >> tmpint;
          tmpclass.change_speed(tmpint);
          int min;
          int hour;
          cin >> hour;
  • EightQueenProblem2/이덕준소스 . . . . 31 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[]);
         void PrintResult(int queens[]);
         int main(int argc, char* argv[])
          int queens[8],i;
         bool EightQueens(int level, int queens[])
          int i;
          if (Promissing(level,queens))
          PrintResult(queens);//return true;
         bool Promissing(int level, int queens[])
          int i;//,j;
         bool WellPutted(int level1, int level2, int queens[])
         void PrintResult(int queens[])
          for (int i=0;i<8;i++)
  • Gnutella-MoreFree . . . . 31 matches
          {{{~cpp Connection String : GNUTELLA CONNECTION/<version>/nn}}}
         || ping || 네트워크상의 호스트를 찾을 때 쓰인다. Payload가 없기 때문에 header의 Payload_Length = 0x00000000 로 설정된다. ||
         || pong || Ping을 받으면 주소와 기타 정보를 포함해 응답한다.Port / IP_Address / Num Of Files Shared / Num of KB Shared** IP_Address - Big endian||
         || query ||네트워크상에서 검색에 쓰이고 검색 Minimum Speed ( 응답의 최소 속도 ), Search Criteria 검색 조건 ||
         || queryHit || 검색 Query 조건과 일치한 경우 QueryHit로 응답한다. Num Of Hits 조건에 일치하는 Query의 결과 수 Port / IP_Address (Big-endian) / Speed / Result Set File Index ( 파일 번호 ) File Size ( 파일 크기 )File Name ( 파일 이 / 더블 널로 끝남 ) Servent Identifier 응답하는 Servent의 고유 식별자 Push 에 쓰인다. ||
         || push || 방화벽이 설치된 Servent와의 통신을 위한 DescriptorServent Identifier / File Index / IP_Address(Big-endian)/Port ||
          1. Pong 은 Ping이 왔던 같은 길을 따라 전송된다. 만약 DescriptorID가 n
          인 Pong을 받았는 데 Descriptor ID가 n인 Ping 보지 못했다면 Ping을 보
          4. 전달 되었던 Ping과 Query를 제외하고 모든 Ping과 Query는 연결 된
          GET/get/<File Index>/<File Name>/HTTP/1.0rn
          <File Index>는 파일 번호이고 이는 QueryHit Result에 포함된 내용이다.
          Content-type:application/binaryrn
          GIV<File Index>:<Severnt Identifier>/<File Name>nn 를 보내 파일
          GET/get/<File Index>/<File Name>/HTTP1.0rn
          GnutellaPacket packet_Header / packet_Ping / packet_Pong
         CVS// http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gnucleus/(최근의 소스코드)
         int nItem = m_lstResults.GetNextSelectedItem(pos);
         for(int i = 0; i < Item.ResultList.size(); i++)
         OnReceive(int nErrorCode) 에서 Content-length 만큼의 버퍼 데이타를 받아 청크와 연결 시킨다.
         for(int i = 0; i < m_pShell->m_ChunkList.size(); i++)
  • Gof/Composite . . . . 31 matches
         == Intent ==
         드로우 에디터나 회로설계 시스템과 같은 그래픽 어플리케이션은 단순한 컴포넌트들의 차원을 넘어서 복잡한 도표들을 만들어내는데 이용된다. 사용자는 더 큰 컴포넌트들을 형성하기 위해 컴포넌트들을 그룹화할 수 있고, 더 큰 컴포넌트들을 형성하기 위해 또 그룹화 할 수 있다. 단순한 구현방법으로는 Text 나 Line 같은 그래픽의 기본요소들에 대한 클래스들을 정의한 뒤, 이러한 기본요소들에 대해 컨테이너 역할을 하는 다른 클래스에 추가하는 방법이 있다.
         Line, Rectangle, Text 와 같은 서브 클래스들은 (앞의 class diagram 참조) 기본 그래픽 객체들을 정의한다. 이러한 클래스들은 각각 선이나 사각형, 텍스트를 그리는 'Draw' operation을 구현한다. 기본적인 그래픽 구성요소들은 자식요소들을 가지지 않으므로, 이 서브 클래스들은 자식요소과 관련된 명령들을 구현하지 않는다.
          * Leaf (Rectangle, Line, Text, etc.)
          * Child ordering
          * 성능향상을 위한 caching
         우리는 간단한 방법으로 Cabinet 나 Bus 와 같은 다른 equipment 컨테이너를 정의할 수 있다. 이로서 우리가 개인용 컴퓨터에 equipment들을 조립하기 위해 (꽤 간단하게) 필요로 하는 모든 것들이 주어졌다.
         Cabinet* cabinet = new Cabinet ("PC Cabinet");
         cabinet->Add (chassis);
         bus->Add (new Card("16Mbs Token Ring"));
         chassis->Add (new FloppyDisk ("3.5in Floppy"));
         CompositePattern의 예는 거의 모든 객체지향 시스템에서 찾을 수 있다. Smalltalk 의 Model/View/Container [KP88] 의 original View 클래스는 Composite이며, ET++ (VObjects [WGM88]) 이나 InterViews (Styles [LCI+92], Graphics [VL88], Glyphs [CL90])등 거의 대부분의 유저 인터페이스 툴킷과 프레임워크가 해당 과정을 따른다. Model/View/Controller 의 original View에서 주목할만한 점은 subview 의 집합을 가진다는 것이다. 다시 말하면, View는 Component class 이자 Composite class 이다. Smalltalk-80 의 Release 4.0 은 View 와 CompositeView 의 서브클래스를 가지는 VisualComponent 클래스로 Model/View/Controller 를 변경했다.
         RTL Smalltalk 컴파일러 프레임워크 [JML92] 는 CompositePattern을 널리 사용한다. RTLExpression 은 parse tree를 위한 Component 클래스이다. RTLExpression 은 BinaryExpression 과 같은 서브클래스를 가지는데, 이는 RTLExpression 객체들을 자식으로 포함한다. 이 클래스들은 parse tree를 위해 composite 구조를 정의한다. RegisterTransfer 는 프로그램의 Single Static Assignment(SSA) 형태의 중간물을 위한 Component 클래스이다. RegisterTransfer 의 Leaf 서브클래스들은 다음과 같은 다른 형태의 static assignment 를 정의한다.
          * source register 를 가지지만, destination register 를 가지지 않는, register가 해당 루틴이 리턴 된 뒤에 이용되는 assignment
          * destination register 를 가지지만, source register 를 가지지 않는, 해당 루틴이 시작되기 전에 register 가 assign되는 assignment
         Another subclass, RegisterTransferSet, is a Composite class for representing assignments that change several registers at once.
         Another example of this pattern occurs in the financial domain, where a portfolio aggregates individual assets. You can support complex aggregations of assets by implementing a portfolio as a Composite that conforms to the interface of an individual asset [BE93].
         CompositePattern의 또다른 예는 각각의 자산들을 포함하는 portfolio인 financial domain 에서 나타난다. portfolio 를 각각의 asset 의 인터페이스를 구성하는 Composite 로 구현함으로써 복잡한 asset의 포함관계를 지원할 수 있다.
          * 종종 컴포넌트-부모 연결은 ChainOfResponsibilityPattern에 이용된다.
  • JollyJumpers/강희경 . . . . 31 matches
         #include<iostream>
         using namespace std;
         int* InputList();
         bool Judge(int* aList);
         int GetSumOfGoalGap(int aN);
         bool isCorrectInput;
         void main()
          isCorrectInput = true;
          OutputJudgement(Judge(InputList()));
         int* InputList(){
          bool isInputStart = false;
          int numberOfInputFactor;
          int* inputedList;
          if(!isInputStart){
          if(cin >> numberOfInputFactor){
          inputedList = new int[numberOfInputFactor+1];
          inputedList[0] = numberOfInputFactor;
          isInputStart = true;
          if(numberOfInputFactor < 2){
          isCorrectInput = false;
  • JollyJumpers/남훈 . . . . 31 matches
         def initTable(n):
          diffTable = initTable(n)
          for i in range(n-1):
         def parseInput():
          lines = []
          line = sys.stdin.readline()
          if line == '' or line[0] == '0':
          line = line.rstrip().split(' ')
          inted = []
          for atom in line:
          inted.append(int(atom))
          lines.append(inted[1:])
          return lines
          print 'Jolly'
          print 'Not jolly'
         def main():
          lines = parseInput()
          #print lines
          for line in lines:
          displayDecision(isJolly(line))
  • 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)
  • NumberBaseballGame/동기 . . . . 31 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int number[3];
         int input[3];
         int random(int[],int);
         void main()
          int strike,ball;
          int i = 0;
          cin>>input[0];
          cin>>input[1];
          cin>>input[2];
          cin.get();
          if (input[0]!=0 && input[0]!=input[1] && input[1]!=input[2] && input[0]!=input[2])
          for (int k=0;k<3;k++)
          if (number[k]==input[k])
          if (number[0]==input[k])
          if (number[1]==input[k])
          if (number[2]==input[k])
  • PrettyPrintXslt . . . . 31 matches
         <?xml version="1.0" encoding="ISO-8859-1"?>
         <?xml-stylesheet href="PrettyPrintXslt" type="text/xml"?>
          XML to HTML Verbatim Formatter with Syntax Highlighting
          obecker@informatik.hu-berlin.de
          xmlns:verb="http://informatik.hu-berlin.de/xmlverbatim"
          <xsl:output method="html" omit-xml-declaration="yes" indent="no"/>
          select="substring-before(name(),':')" />
          <!-- processing instructions -->
          <xsl:template match="processing-instruction()" mode="xmlverb">
          <!-- generate entities by replacing &, ", < and > in $text -->
          <xsl:call-template name="replace-substring">
          <xsl:call-template name="replace-substring">
          <xsl:call-template name="replace-substring">
          <xsl:call-template name="replace-substring">
          <xsl:call-template name="replace-substring">
          <!-- replace in $value substring $from with $to -->
          <xsl:template name="replace-substring">
          <xsl:when test="contains($value,$from)">
          <xsl:value-of select="substring-before($value,$from)" />
          <xsl:call-template name="replace-substring">
  • SummationOfFourPrimes/문보창 . . . . 31 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         const int MAX = 450;
         void setPrimeArr(int * prim);
         bool findPrim(int formerPrim, bool isEven, int * prim);
         void showPrime(int prime1, int prime2, bool isEven);
         int main()
          int number;
          int primes[MAX] = {2, 3, 5, 7, 11, 13,};
          while (cin >> number)
          findPrim(number - 5, false, primes);
          findPrim(number/2, true, primes);
          findPrim(number/2 - 1, false, primes);
          findPrim(number/2 + 1, false, primes);
         bool findPrim(int formerPrim, bool isEven, int * prim)
          int prime1, prime2;
          for (int i=0; i < MAX; i++)
          for (int j=0; j < MAX; j++)
         void showPrime(int prime1, int prime2, bool isEven)
  • 김신애/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()
  • 데블스캠프2006/월요일/함수/문제풀이/성우용 . . . . 31 matches
         #include<iostream>
         using namespace std;
         bool team684(int ,int ,int);
         void main()
          int num=0,gun=0,boat=0;
         bool team684(int num,int gun,int boat)
          int sum;
          cin >> num;
          cin >> gun;
          cin >> boat;
         #include<iostream>
         #include<time.h>
         using namespace std;
         int die();
         void main()
          int di;
         int die()
          int num,num_;
         #include<iostream>
         #include<time.h>
  • 데블스캠프2006/화요일/pointer . . . . 31 matches
         = 데블스캠프2006/화요일/pointer =
         데블스캠프2006/화요일/pointer/문제1/이름
         [데블스캠프2006/화요일/pointer/문제1/성우용]
         [데블스캠프2006/화요일/pointer/문제1/김준석]
         [데블스캠프2006/화요일/pointer/문제1/윤성준]
         [데블스캠프2006/화요일/pointer/문제1/정승희]
         [데블스캠프2006/화요일/pointer/문제1/이장길]
         [데블스캠프2006/화요일/pointer/문제1/이송희]
         [데블스캠프2006/화요일/pointer/문제1/주소영]
         데블스캠프2006/화요일/pointer/문제2/이름
         [데블스캠프2006/화요일/pointer/문제2/성우용]
         [데블스캠프2006/화요일/pointer/문제2/김준석]
         [데블스캠프2006/화요일/pointer/문제2/이송희]
         [데블스캠프2006/화요일/pointer/문제2/이장길]
         [데블스캠프2006/화요일/pointer/문제2/정승희]
         [데블스캠프2006/화요일/pointer/문제2/윤성준]
         [데블스캠프2006/화요일/pointer/문제2/주소영]
         데블스캠프2006/화요일/pointer/문제3/이름
         [데블스캠프2006/화요일/pointer/문제3/성우용]
         [데블스캠프2006/화요일/pointer/문제3/김준석]
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/서민관 . . . . 31 matches
         #include <iostream>
         #include "zergling.h"
         int main(void)
          zergling* z1 = createZergling();
          zergling* z2 = createZergling();
         == zergling.cpp ==
         #include <iostream>
         #include "zergling.h"
         using namespace std;
         zergling* createZergling()
          zergling* z1 = (zergling*)malloc(sizeof(zergling));
         void attack(zergling* z1, zergling* z2)
         == zergling.h ==
         typedef struct zergling
          int atk;
          int def;
          int HP;
         } zergling;
         zergling* createZergling();
         void attack(zergling* z1, zergling* z2);
  • 마방진/곽세환 . . . . 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++)
  • 하욱주/Crap . . . . 31 matches
         #include<iostream>
         #include<stdlib.h>
         #include<time.h>
         using namespace std;
         void main()
          double beting;
          int num;
          int sq1,sq2;
          << "배팅하실 금액을 적어주세요($10~$100) : $"; cin >> beting;
          if(money<beting)
          continue;
          if(beting >100 || beting <10)
          continue;
          money-=beting;
          cout << "당신이 배팅하신 금액은 $" << beting <<" 입니다." << endl
          <<"배팅 하실 곳은? (1 ~ 3) : "; cin >> num;
          cin >> num;
          beting*=5;
          <<"$" << money << " + "<<"$" <<beting<< " = $" << money+beting;
          money+=beting;
  • 호너의법칙/김정현 . . . . 31 matches
          public static void main(String args[])
          Scanner input = new Scanner(System.in);
          System.out.print("X값을 입력 ");
          int fX = input.nextInt();
          int a[]={3,3,3,3,3,3,3,3,3,3,3};
          int mul=0;
          int sum=0;
          int output=0;
          for(int i=0;i<a.length-1;i++)
          System.out.print("n========");
          for(int i=0;i<a.length;i++) System.out.print("====");
          System.out.print("n|index|");
          for(int i=0;i<a.length;i++)
          System.out.print(" "+i+" |");
          System.out.print("n========");
          for(int i=0;i<a.length;i++) System.out.print("====");
          System.out.print("n| data|");
          for(int i=0;i<a.length;i++)
          System.out.print(" "+a[i]+" |");
          System.out.print("n========");
  • 3DGraphicsFoundation/INSU/SolarSystem . . . . 30 matches
         #include <windows.h>
         #include <gl\gl.h>
         #include <gl\glu.h>
         #include <gl\glaux.h>
         static HINSTANCE hInstance;
         inline void glRGB(int x, int y, int z)
         LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
          int nPixelFormat;
          PFD_DRAW_TO_WINDOW | // Draw to Window (not to bitmap)
          PFD_SUPPORT_OPENGL | // Support OpenGL calls in window
          PFD_MAIN_PLANE, // Draw in main plane
          // Choose a pixel format that best matches that described in pfd
          // Set Viewport to window dimensions
          // Calculate aspect ratio of the window
          // Set the perspective coordinate system
          glEnable(GL_LIGHTING);
          glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
         int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
          hInstance = hInst;
          wc.hInstance = hInstance;
  • 3N+1Problem/Leonardong . . . . 30 matches
          for i in range( aFrom, aTo + 1):
          numFrom = input("")
          numTo = input("")
          print self.getMaximumCycleLength(numFrom, numTo)
         if __name__ == '__main__':
         ## unittest.main()
          def __init__(self):
          for i in range( aFrom, aTo + 1):
          if n not in self.cycleLens:
          numFrom = input("")
          numTo = input("")
          print self.getMaximumCycleLen(numFrom, numTo)
          if n in self.cycleLens:
          if aN not in self.cycleLens:
          # goal = 999,999 in 4 sec
         if __name__ == '__main__':
          unittest.main(argv=('','-v'))
         # 45m after tuning
         def preProcessing():
          interval = 1
  • 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)]]
  • ComponentObjectModel . . . . 30 matches
         {{|Component Object Model, or COM, is a Microsoft technology for software componentry. It is used to enable cross-software communication and dynamic object creation in many of Microsoft's programming languages. Although it has been implemented on several platforms, it is primarily used with Microsoft Windows. COM is expected to be replaced to at least some extent by the Microsoft .NET framework. COM has been around since 1993 - however, Microsoft only really started emphasizing the name around 1997.
         COM은 소프트웨어 컴포넌트를 위해 만들어진 Microsoft 사의 기술이다. 이는 수많은 MS사의 프로그래밍 언어에서 소프트웨어간 통신과 동적 객체생성을 가능케한다. 비록 이 기술이 다수의 플랫폼상에서 구현이 되기는 하였지만 MS Windows 운영체제에 주로 이용된다. 사람들은 .Net 프레임워크가 COM을 어느정도까지는 대체하리라고 기대한다. COM 은 1993년에 소개되고 1997즈음해서 MS가 강조한 기술이다.
         The COM platform has largely been superseded by the Microsoft .NET initiative and Microsoft now focuses its marketing efforts on .NET. To some extent, COM is now deprecated in favour of .NET.
         Despite this, COM remains a viable technology with an important software base – for example the popular DirectX 3D rendering SDK is based on COM. Microsoft has no plans for discontinuing COM or support for COM.
         There exists a limited backward compatibility in that a COM object may be used in .NET by implementing a runtime callable wrapper (RCW), and .NET objects may be used in COM objects by calling a COM callable wrapper. Additionally, several of the services that COM+ provides, such as transactions and queued components, are still important for enterprise .NET applications.
         Is COM still supported? Is it going away?
         COM is a feature of Windows. Each version of Windows has a support policy described in the Windows Product Lifecycle.
         COM continues to be supported as part of Windows.
         COM is a planned feature of the coming version of Windows, code-named "Longhorn".
         [COM] [MFC/ObjectLinkingEmbedding]
  • CubicSpline/1002/LuDecomposition.py . . . . 30 matches
         from ArrayPrinter import *
          def __init__(self, aSquareArray):
          for i in range(self.n):
          for i in range(0,n):
          for j in range(0,n):
          for i in range(self.n):
          for eachRow in range(aCol, self.n):
          self.l[eachRow][aCol] = self.array[eachRow][aCol] - self._minusForWriteL(eachRow, aCol)
          def _minusForWriteL(self, aRow, aCol):
          totalMinus = 0
          for n in range(0, aCol):
          totalMinus += self.l[aRow][n] * self.u[n][aCol]
          return totalMinus
          for eachCol in range(aRow+1, self.n):
          self.u[aRow][eachCol] = float(self.array[aRow][eachCol] - self._minusForWriteU(eachCol, aRow)) / float(self.l[aRow][aRow])
          def _minusForWriteU(self, aCol, aRow):
          totalMinus = 0
          for n in range(0, aRow):
          totalMinus += self.l[aRow][n] * self.u[n][aCol]
          return totalMinus
  • DoItAgainToLearn . . . . 30 matches
         "We do it again -- to do it, to do it well, and to do it better." --JuNe (play on Whitehead's quote)
         제가 개인적으로 존경하는 전산학자 Robert W. Floyd는 1978년도 튜링상 강연 ''[http://portal.acm.org/ft_gateway.cfm?id=359140&type=pdf&coll=GUIDE&dl=GUIDE&CFID=35891778&CFTOKEN=41807314 The Paradigms of Programming]''(일독을 초강력 추천)에서 다음과 같은 말을 합니다. --김창준
          Seminar:TheParadigmsOfProgramming DeadLink? - 저는 잘나오는데요. 네임서버 설정이 잘못된건 아니신지.. - [아무개]
          Seminar에 로그인을 안 해서 여기다 DeadLink 딱지를 달았습니다. 안에 내용물도 받아지시나요? --[Leonardong]
         In my own experience of designing difficult algorithms, I find a certain technique most helpfult in expanding my own capabilities. After solving a challenging problem, I solve it again from scratch, retracing only the ''insight'' of the earlier solution. I repeat this until the solution is as clear and direct as I can hope for. Then I look for a general rule for attacking similar problems, that ''would'' have led me to approach the given problem in the most efficient way the first time. Often, such a rule is of permanent value. ...... The rules of Fortran can be learned within a few hours; the associated paradigms take much longer, both to learn and to unlearn. --Robert W. Floyd
         Even fairly good students, when they have obtained the solution of the problem and written down neatly the argument, shut their books and look for something else. Doing so, they miss an important and instructive phase of the work. ... A good teacher should understand and impress on his students the view that no problem whatever is completely exhausted. --George Polya
         저는 ACM의 ICPC 문제 중에 어떤 놈을 이제까지 열 번도 넘게 풀었습니다. 대부분 PairProgramming이나 세미나에서 프로그래밍 시연을 했던 것인데, 제 세미나에 여러번 참석한 친구가 물었습니다. "신기해요. 창준씨는 그 문제를 풀 때마다 다른 프로그램을 짜는 것 같아요. 혹시 준비를 안해와서 그냥 내키는 대로 하는 건 아니죠? :)" 저는 카오스 시스템과 비슷하게 초기치 민감도가 프로그래밍에도 작용하는 것 같다는 대답을 해줬습니다. 저 스스로 다른 해법을 시도하고 싶은 마음이 있으면 그렇게 출발이 조금 다르고, 또 거기서 나오는 진행 방향도 다르게 됩니다. 그런데 중요한 것은 이렇게 같은 문제를 매번 다르게 푸는 데에서 배우는 것이 엄청나게 많다는 점입니다. 저는 매번, 전보다 개선할 것을 찾아 내게 되고, 또 새로운 것을 배웁니다. 마치 마르지 않는 샘물처럼 계속 생각할 거리를 준다는 점이 참 놀랍습니다. --JuNe
         Seminar:SoftwareDevelopmentMagazine 에서 OOP의 대가 Uncle Bob은 PP와 TDD, 리팩토링에 대한 기사를 연재하고 있다. [http://www.sdmagazine.com/documents/s=7578/sdm0210j/0210j.htm A Test of Patience]라는 기사에서는 몇 시간, 혹은 몇 일 걸려 작성한 코드를 즐겁게 던져버리고 새로 작성할 수도 있다는 DoItAgainToLearn(혹은 {{{~cpp DoItAgainToImprove}}})의 가르침을 전한다.
  • Hartals/상협재동 . . . . 30 matches
         #include <iostream>
         using namespace std;
         int term;
         int numberOfHartal;
         int hartal[100] = {0,};
         int strike[3650] = {0,};
         int totalStrike[100] = {0,};
         void input();
         void process(int num);
         void output(int testCase);
         void arrayInit(int* array, int arrayNum);
         void arrayInit(int* array, int arrayNum)
          for(int i = 0; i < arrayNum; i++)
         void main()
          int testCase;
          cin >> testCase;
          for(int i = 0; i < testCase; i++)
          arrayInit(hartal, 100);
          arrayInit(strike, 3650);
          input();
  • HolubOnPatterns/밑줄긋기 . . . . 30 matches
          * faith coding과도 상통하는 말인가ㅋㅋ - [서지혜]
          * 2학년땐 나도 저렇게 생각했다ㅜㅜㅜ [Spring/탐험스터디]에서도 얘기했지만 그래서 객체지향설계라면 메소드만 있는 클래스는 존재해선 안된다고 말한 적도 있음ㅜㅜㅜㅜ 부끄럽다... - [김수경]
          * 켄 아놀드는 다음과 같이 말한다. "정보가 아닌 도움을 요청하라(Ask for help, not for information)."
         interface Employee
          * ''''유일성'과''' ''''전역 접근'이란''' 조건을 만족시키면 Singleton 패턴의 실체화라 할 수 있다. Employee factory는 두 조건을 모두 만족시키므로 합당한 Singleton 패턴 실체화이다.
         ==== Singleton에서의 스레딩 이슈 ====
         class Singleton
         { private static Singleton instance = null;
          public static instance()
          { if( instance == null)
          { instance = new Singleton();
          return instance;
         ==== Double-Checked Locking(사용하지 말라) ====
         ==== Singleton 죽이기 ====
          * 또한 셧다운 훅 안에서 Singleton을 사용한다면 죽었다 되살아나는 좀비 Singleton을 만들 위험도 있다.
          * 그리고 좀비가 너의 뇌를 먹겠지(Zombie ate your brain) - [김준석]
          * 앞에서 객체를 생성할 때 Singleton 패턴과 Abstract Factory 패턴이 자주 함께 사용된다고 설명했다. '''그러므로''' Abstract Factory에 대해 좀 더 알아보기로 하자.
          * 관점을 바꾸어 보면 {{{URLConnection은 InputStream}}} 구현체들을 생성하는 Abstract Factroy이기도 하다.
          * Naver Ending Story.. - [김준석]
          * Naver Anding story? - [서지혜]
  • JollyJumpers/임인택 . . . . 30 matches
          private int array[];
          public void setArray(int[] arr) {
          public String testify() {
          int size = array.length;
          int count=0;
          for(int i=0; i<size-1; ++i) {
          int tmp = Math.abs(array[i]-array[i+1]);
          public static void main(String args[]) {
          int arr[] = new int[args.length];
          for(int i=0; i<arr.length; ++i) {
          arr[i] = Integer.parseInt(args[i]);
          System.out.println(jj.testify());
          int arr1[] = {1,2,3,4};
          int arr2[] = {1,2,3,4,5};
          int arr3[] = {1,1,2,3};
          int arr1[] = {1,2,3};
          int arr1[] = {1,2,3,4,5};
          int arr2[] = {1,4,2,3};
          int arr1[] = {1,4,2,3};
          int arr2[] = {1,2,3,4,5};
  • Marbles/문보창 . . . . 30 matches
         #include <iostream>
         using namespace std;
          int box1;
          int box2;
         const int TYPE1 = 1;
         const int TYPE2 = 2;
         void show(Marble marble, int cheapest);
         Marble find_number_box(int n1, int n2, int n);
         int main()
          int n;
          int c1, n1;
          int c2, n2;
          int cheapest;
          while (cin >> n)
          cin >> c1 >> n1;
          cin >> c2 >> n2;
          marble = find_number_box(n1, n2, n);
          marble = find_number_box(n2, n1, n);
         Marble find_number_box(int n1, int n2, int n)
          int firstModulo;
  • 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
  • PyIde/Scintilla . . . . 30 matches
         http://scintilla.org/ScintillaDoc.html
         http://wiki.wxpython.org/index.cgi/wxStyledTextCtrl
         Scintilla 관련 참조 도큐먼트들. (Refactoring 필요)
         === syntax hilighting 셋팅 ===
         Boa Constructor 나 Pythoncard, wxPython 의 samples 의 StyleEditor 등을 보면 STCStyleEditor 모듈이 있다. 이 모듈에서 initSTC 함수를 사용하면 된다.
         finally:
         LineFromPosition(aPos)
         SetSavePoint()
         SetSavePoint()
         GotoLine(lineNum - 1)
         LineFromPosition(sel[0])
         LineFromPosition(sel[1])
         BeginUndoAction()
         firstChar = PositionFromLine(lineNumber)
         InsertText(firstChar, "##")
         SetCurrentPos(PositionFromLine(start))
         SetAnchor(GetLineEndPosition(end))
         DelLineLeft()
         SetIndentationGuides(boolean)
         SetEdgeMode(stc.wxSTC_EDGE_LINE)
  • RandomWalk/재니 . . . . 30 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int sq();
         int main()
          int n, l_or_r, line, row, passed, count = 0;
          cin >> n;
          cin.get();
          int ** square = new int * [n];
          for (int i = 0 ; i < n ; i++)
          square[i] = new int [n];
          line = rand() % n;
          for (int j = 0 ; j < n ; j++)
          if (line == 0)
          line ++;
          else if(line == n - 1)
          line --;
          line += sq();
          square[line][row]++;
          for (int i = 0 ; i < n ; i++)
  • RandomWalk2/ExtremePair . . . . 30 matches
          def __init__(self):
          self.board = [[0 for c in range(self.col)] for r in range(self.row)]
          self.movingCount = 0
          self.movingCount += 1
          while (len(self.journey) != self.movingCount or self.isBoardAllPassed()):
          for r in range(self.row):
          for c in range(self.col):
          print self.movingCount
          for r in range(self.row):
          for c in range(self.col):
          print self.board[r][c],
          print
         if __name__ == '__main__':
          #unittest.main()
          row = int(raw_input())
          col = int(raw_input())
          startRow = int(raw_input())
          startCol = int(raw_input())
          journeyString = raw_input()
          for i in range(len(journeyString)):
  • 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>
  • [Lovely]boy^_^/Diary/2-2-15 . . . . 30 matches
          * A data communication course ended. Professor told us good sayings. I feel a lot of things about his sayings.
          * A computer architecture&organization course ended too. I am worrying about a final test.
          * A merriage and family course ended too, Professor is so funny. A final test is 50 question - O/X and objective.
          * My mom went into hospital. My father is not a good status too. I worry their health. I wish that they'll recover a health.
          * A algorithm course ended. This course does not teaches me many things.
          * A object programming course ended. Professor told us good sayings, similar to a data communication course's professor. At first, I didn't like him, but now it's not. I like him very much. He is a good man.
          * Tomorrow is a unix system programming final test. It's so difficult. I'll try hard.
          * I have suprised at system programming's difference. It's so difficult. In my opinion, if I want to do system programming well, I must study OS.
          * sources for Unix system programming's final-test is so strange.--; mis-typings are so many. I am confused professor's intention.
          * Because my mom's absent, I had to work all day at our store. but a dishwashing was so interesting.
          * Today too, I have worked our store. but today is not as busy as yesterday, so I could study rest final-test.
          * I worry about father's smoking... after my mom was hospitalization, he decreases amount of drinking, but increases amount of smoking.
          * Ah.. I want to play a bass. It's about 2 months since I have not done play bass. And I want to buy a bass amplifier. A few weeks ago, I had a chance that can listen a bass amplifier's sound at Cham-Sol's home. I was impressed its sound. ㅠ.ㅠ.
  • [Lovely]boy^_^/USACO/BrokenNecklace . . . . 30 matches
         #include <iostream>
         #include <fstream>
         #include <string>
         using namespace std;
         ifstream fin("beads.in");
         int len = 0;
         string BeadsList;
         void InputData();
         int Process();
         const string CutAndPasteBack(const string& str, int pos);
         int main()
          InputData();
          fin.close();
         void InputData()
          fin >> len;
          fin >> BeadsList;
         int Process()
          int lnum = 0;
          int rnum = 0;
          int max = 0;
  • [Lovely]boy^_^/영작교정 . . . . 30 matches
          * [[HTML(<STRIKE>)]] He is appointed a most prestigious duty in the University. [[HTML(</STRIKE>)]]
          * He was appointed to the most prestigious duty in the University.
          * David revealed his powerful ablity in language.
          * [[HTML(<STRIKE>)]] Developing Countrys strive for technical and economical advancement for years. [[HTML(</STRIKE>)]]
          * Developing countries have striven for technological and economical advancement for years.
          * Do you foresee some problems in the new system?
          * [[HTML(<STRIKE>)]] It is impossible to ascertain that who was here until last.[[HTML(</STRIKE>)]]
          * It is impossible to ascertain who was here last.
          * [[HTML(<STRIKE>)]] The train conveied us to arrival point. [[HTML(</STRIKE>)]]
          * The train conveyed us to the arrival point.
          * [[HTML(<STRIKE>)]] He will terminate the argument at there.[[HTML(</STRIKE>)]]
          * He will terminate the argument there.
          * [[HTML(<STRIKE>)]] It is refreshing that meet with man has same thinking.[[HTML(</STRIKE>)]]
          * It is refreshing to meet with a man who has the same thingking.
          * [[HTML(<STRIKE>)]] I am reluctant that involved a happening.[[HTML(</STRIKE>)]]
          * I am reluctant in getting involved in the event.
          * That soccer game was canceled before 30 minutes to kick off.
          * That soccer game was canceled 30 minutes before kick off.
  • 김태진/Search . . . . 30 matches
         == Linear Continuous Search ==
         #include <stdio.h>
         int linear_search(int a[], int size, int val);
         int main()
          int arr[10]={5,8,13,2,4,15,13,17,18,20};
          int index, val;
          for(index=1;index>0;){
          index=linear_search(arr,10,val);
          if (index<0) printf("Not found.\n");
          else printf("%d is found in %d-th position in the array.\n", val,index);
         int linear_search(int a[], int size, int val)
          static int check=0;
          int i=0;
  • 데블스캠프2009/목요일/연습문제/MFC/정종록 . . . . 30 matches
         #include "stdafx.h"
         #include "Test.h"
         #include "TestDlg.h"
         #define new DEBUG_NEW
         int sign = 0;
          //{{AFX_DATA_INIT(CAboutDlg)
          //}}AFX_DATA_INIT
         BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
          //{{AFX_DATA_INIT(CTestDlg)
          //}}AFX_DATA_INIT
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
          m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
         BEGIN_MESSAGE_MAP(CTestDlg, CDialog)
         ON_WM_PAINT()
         BOOL CTestDlg::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);
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/박재홍 . . . . 30 matches
         #include <stdio.h>
         struct zergling{
          int attack;
          int defense;
          int HP;
         int main()
          int dam1,dam2=0;
          struct zergling a;
          struct zergling b;
          printf("저글링 b가 저글링 a에게 데미지 %d를 입혀 HP가 %d가 되었습니다.\n",dam1,a.HP);
          printf("저글링 a가 저글링 b에게 데미지 %d를 입혀 HP가 %d가 되었습니다.\n",dam2,b.HP);
          printf("저글링 a가 죽었습니다ㅠㅠ.\n");
         #include <stdio.h>
         struct zergling{
          int attack;
          int defense;
          int HP;
          int no;
         int get_damage(zergling a, zergling b){
         void att(zergling & a, zergling &b){
  • 만세삼창VS디아더스1차전 . . . . 30 matches
          인수.brain."형" = 나
          for k in brain.keys:
          brain.delete
          brain["형"] = 나
          for k in 인수.brain.keys:
          인수.brain["형"] = 나
          brain.delete
          인수.brain.clear()
          for k in 인수.brain.keys:
          인수.brain["형"] = 나
          brain.delete
          인수.brain.clear()
          인수는 객체다 instance
          머의 instance인데
          내 언언에 있는 built-in 타입이다
          for k in 인수.brain.keys:
          인수.brain["형"] = 나
          brain.delete
          인수.brain.clear()
          } finally
  • 빵페이지/구구단 . . . . 30 matches
         #include<iostream>
         using namespace std;
         int main()
          for(int i=1;i<10;i++)
          for(int j=2;j<10;j++)
         #include <iostream>
         using namespace std;
         int main()
          for(int i=1;i<10;i++)
          for(int j=2;j<6;j++)
          for(int k=1;k<10;k++)
          for(int h=6;h<10;h++)
         #include <iostream.h>
         void main()
          for (int i = 1; i < 10; i++)
          for (int j = 2; j < 6; j++)
          for (int k = 1; k < 10; k++)
          for (int l = 6; l < 10; l++)
         #include <iostream>
         using namespace std;
  • 새싹교실/2011/學高/3회차 . . . . 30 matches
         #include<stdio.h>
         #include<stdlib.h>
         #include<time.h>
         #include<conio.h>
         #define HP 2500
         int punch();//100 +- 50
         int kick();//180 +- 100
         int main()
          int park_hp=HP,player_hp=HP,damage;
          printf("니 체력: %d\n",player_hp);
          printf("현재 적의 HP: %d\n",park_hp);
          printf("공격수단을 선택 a: 펀치, s: 킥: ");
          printf("\n적에게 펀치를 날려 %d의 데미지를 줬다!\n",damage);
          printf("\n적에게 킥을 날려 %d의 데미지를 줬다!\n",damage);
          printf("적이 펀치를 날려 %d의 데미지를 받았다!\n",damage);
          printf("적이 킥을 날려 %d의 데미지를 받았다!\n",damage);
          printf("\n");
          fflush(stdin);
          printf("둘 다 뒤졌습니다\n");
          printf("플레이어가 적을 이겼습니다.\n");
  • 새싹교실/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'''"'''); '''//잘 보면 문자열을 감싸는 두 개의 큰따옴표에 하이라이트 되어있습니다'''
  • 새싹교실/2012/새싹교실강사교육/3주차 . . . . 30 matches
         1. Wiki에 Ice breaking 및 진행 상황 정리.
         코딩을 하다 보면 자신의 코드를 다시 한번 점검해야 하는 경우가 꼭 생깁니다. 하지만 항상 문제가 생기죠. 이게 main문의 괄호(curly bracket : {} ) 인지 for문의 {} 인지 헷갈릴 때가 있죠? 이번 시간 이후에 한번 검색해보세요. 코딩 띄어쓰기, 괄호를 어떻게 붙여야 하는지에 대해서 말입니다. 꼭! 잊지 마세요. 중요하답니다.
         #include<stdio.h>
         #include<string.h>
         int calregist(CALORIE *, int);
         float calcalc(CALORIE *, int);
         int main(){
          int cal_num = 6;
          int mode =0;
          printf("칼로리 계산기\n");
          printf("등록은 1, 계산은 2, 종료는 0을 입력하세요 : ");
          else if(mode == 2) printf("총칼로리 : %6.2fkcal\n\n", calcalc(cal, cal_num));
         int calregist(CALORIE *pcal, int num){
          printf("식품명을 입력하세요 : ");
          printf("그 식품의 칼로리를 입력하세요[kcal/100g] : ");
          printf("등록되었습니다.\n\n");
         float calcalc(CALORIE *pcal, int num){
          int i;
          printf("-- 식품명 일람 -------------\n");
          printf("%s\t", (pcal+i)->name);
  • 중위수구하기/정수민 . . . . 30 matches
         #include <stdio.h>
         int search_middleNum(int *, int *, int *);
         void main()
          int a, b, c, middleNum;
          printf("멈추려면 '-999 0 0' 입력\n");
          printf("비교할 A, B, C 값을 차례로 입력 : ");
          printf("중위수 = %d", middleNum);
         int search_middleNum(int *a, int *b, int *c)
          int middleNum_1, middleNum_2, i_1=0, i_2=0;
         #include <stdio.h>
         int search_middleNum(int *, int *, int *);
         void main()
          int a, b, c, middleNum;
          printf("멈추려면 '-999 0 0' 입력\n");
          printf("비교할 A, B, C 값을 차례로 입력 : ");
          printf("중위수 = %d", middleNum);
         int search_middleNum(int *a, int *b, int *c)
          int middleNum_1, middleNum_2;
  • 최대공약수/조현태 . . . . 30 matches
         #include <iostream>
         using namespace std;
         void main()
          int number_a, number_b;
          cin >> number_a;
          cin >> number_b;
          int *big_number, *small_number;
          int temp;
         #include <iostream>
         using namespace std;
         void get_GCM(int big_number, int small_number)
          int temp;
         void main()
          int number_a, number_b;
          cin >> number_a;
          cin >> number_b;
         #include <iostream>
         using namespace std;
         int Get_GCM(int , int );
         void main()
  • 파스칼삼각형/구자겸 . . . . 30 matches
         #include <stdio.h>
         #define MAX 10
         void main()
          int colum, row; // 행과 열
          int i,j; // 카운터
          int array[MAX][MAX]; // 배열
          printf("%d ", array[i-1][j-1]);
          printf("%d ", array[i-1][j-1]);
          printf("%d\n", array[colum-1][row-1]);
         def getrow(index):
          while (i<index):
          for j in range(r):
          if i>index: break
         def getcol(index):
          for i in range(getrow(index)):
          return index - first + 1
         def getindex(row, col):
          for i in range(row):
          arr = [ 0 for x in range(maxrow) for y in range(x+1) ]
          for i in range(len(arr)):
  • 프로그래밍/Pinary . . . . 30 matches
         public class Pinary {
          private static String processOneCase(String line) {
          int limit = Integer.parseInt(line);
          int count = 0;
          String number;
          for(int i = 0; i < 90000000 * 2; i++) {
          number = Integer.toBinaryString(i);
          continue;
          int size = number.length();
          for(int j = 0; j < size - 1; j++) {
          if (number.substring(j, j+2).matches("11")) {
          public static void main(String[] args) {
          String line = br.readLine();
          int testCase = Integer.parseInt(line);
          for(int i = 0; i < testCase; i++) {
          line = br.readLine();
          String result = processOneCase(line);
          System.out.println(result);
          e.printStackTrace();
          e.printStackTrace();
  • 피보나치/조현태 . . . . 30 matches
         #include <iostream>
         using namespace std;
         int fibonacci1( int prv_answer,int sub_answer, int number )
         void prin(unsigned int num, unsigned int prv_answer )
         void fibonacci2( unsigned int prv_answer,unsigned int sub_answer, unsigned int number, int call)
          unsigned int num=1;
          unsigned int temp=sub_answer;
          prin (num, prv_answer);
          prin (num, prv_answer);
         void main()
          unsigned int number;
          int call;
          cin >> number;
          cin >> number;
          cin >> call;
          print prv_answer
         if __name__ == '__main__':
          t= int (raw_input('느린연산 숫자를 입력해주세요>>'))
          print k
          t= int (raw_input('빠른연산 숫자를 입력해주세요>>'))
  • Ant . . . . 29 matches
         Platform 독립적인 Java 의 프로그램 컴파일, 배포 도구 이다. 비슷한 역할로 Unix의 make 툴과 Windows에서 프로그램 Installer 를 생각할수 있다.
         Ant 는 [Java] 기반의 Build 툴로써 [Unix] 의 [make] 와 같은 툴이라고 보면 된다.
          make.gnumake,nmake,jam 과 같은 다른 Build 툴은 놔두고 왜 Ant 를 써야하는가에 대한 질문이다. Java 기반으로 프로그램을 짜고 컴파일 및 배포용 쉘 프로그램을 짜봤는가? 해봤다면 그것의 어려움을 잘 알것이다. 각 [OS] 마다 쉘 스크립트가 다르고 일반적으로 사용하고 있는 Unix 에는 또 각종 쉘들이 존재한다. 윈도우 쉘 또한 복잡하긴 매한가지이고 프로그램을 모두 작성하고 컴파일 및 배포 쉘 스크립트를 작성하기 위해서 이것들을 모두 작성하는것 자체가 프로그래머에게 또 하나의 고난이 아닐까 생각한다.(즉, 쉘 프로그램을 배워야 한다는 의미이다.)
         Ant 는 OS Indepenent 하게 프로그램을 Build 할 수 있는 환경을 제공해준다. build.xml 이란 Build 파일을 작성해서 그 내용에 따라 Build 를 진행해 나갈 수 있다. Ant 는 ["Java"] 에서 거의 표준으로 굳혀져가고 있으며, 거의 모든 IDE들이 Ant 를 지원한다.
         === Install ===
         현재 Ant 는 Binary 와 Source 두가지를 배포하고 있습니다.
          * http://jakarta.apache.org/ant/index.html 에서 최신버전의 binary, source 를 얻을 수 있다. CVS 를 이용, source 를 얻을 수도 있다.
          Ant 의 몇몇 특정 Task 들의 경우 (JUnit, FTP, Telnet 등) 해당 라이브러리가 필요하다. 이는 http://jakarta.apache.org/ant/manual/install.html#librarydependencies 항목을 읽기 바란다.
          3. Install
          바이너리 파일을 기준으로 설명하겠습니다. 설치는 Windows 기반으로 설명하겠습니다. Unix/Linux 기반을 비슷하니 알아서(?) 하세요. ^^;
          * 일단 받은 Ant 압축파일을 C:\Ant 에 풀어 놓고 시작해봅시다. 하위 디렉토리는 bin,doc,lib 등이 있겠죠. ^^ (''Win 9x 시리즈에서는 환경변수에 들어가는 긴 파일명이 문제가 될 수 있으니 위와 같이 C:\Ant 에 설치하는 것이 좋습니다.'')
          * PATH 환경변수에 Ant 아래에 bin 디렉토리를 추가합니다. 즉 C:\Ant\bin 을 추가합니다.
         ===== Windows Shell =====
          set PATH=%PATH%;%ANT_HOME%\bin
         ===== Unix(Linux) (bash) =====
          export PATH=${PATH}:${ANT_HOME}/bin
         === Running ===
          이것은 바로 위에 있는 것에다가 dist라는 것이 붙었는데 이것은 target 을 나타냅니다. Unix/Linux 에서 make 명령으로 컴파일 해보신 분들을 아실껍니다. 보통 make 명령으로 컴파일 하고 make install 명령으로 인스톨을 하죠? 거기서 쓰인 install 이 target 입니다. Ant 에서는 Build 파일 안에 다양한 target 을 둘 수 있습니다. 예를 들면 debug 모드 컴파일과 optimal 모드 컴파일 2개의 target 을 만들어서 테스트 할 수 있겠죠? ^^
          실행 파일 ant는 Unix 계열에서는 shell 스크립트로 Windows 계열에서는 ant.bat 라는 배치파일로 배포됩니다. 내부에 보면 java 프로그램을 실행하는데, 다음과 같이 자신이 직접할 수도 있습니다.
          % java -Dant.home=c:\ant org.apache.tools.ant.Main [options] [target]
  • CCNA/2013스터디 . . . . 29 matches
          * [http://library.cau.ac.kr/search/DetailView.ax?sid=1&cid=365128, Cisco Networking Academy Program: First-Year Companion Guide]
          || 2계층 || 데이터 링크 계층 (Data Link Layer) || 물리적 전송을 위한 미디어 지원 ||
          - (속도)(signaling 방법)(전송 매체 타입)으로 표기한다.
          - ex) 10Base5 : 속도가 10Mbps, Baseband 방식으로 signaling을 하고 전송 매체는 동축 케이블이다.
          - ex) 100BaseFX : 속도가 100Mbps, Baseband 방식으로 signaling을 하고 전송 매체는 광케이블이다.
          - 속도는 10, 100, 1000 등이 있고 signaling 방법에는 Baseband, Broadband 등이 있다. 전송 매체는 동축 케이블(5...), UTP, STP, 광케이블 등이 있다.
          * PPP(Point-to-Point Protocol) 개요
          * '''PPP(Point-to-Point Protocol) 구조와 설정'''
          * 하위 계층: LCP(Link Control Protocol) WAN 구간의 데이터 링크 연결과 제어
          * '''PPP(Point-to-Point Protocol) 동작과 설정'''
          * 링크는 언제나 다운 상태 -> 링크 업 -> Establishing -> LCP 상태 Open -> Authenticating -> 인증 성공 -> 링크 업 (실패하면 다운 -> Terminating -> 재 접속)
          || 2 || router#conf t || Config Terminal.. Configuration 모드로 이동 ||
          || 5 || Router_A(config)#interface serial 0 || 어느 인터페이스를 통해 라우터B와 연결할 것인지 ||
          || 8 || Router_Aconfig-if)#ip address 10.0.0.1 255.255.255.0 || Serial 0 interface의 ip 주소는 10.0.0.1 서브넷마스크는 255 ||
          || msec 타임스탬프 || 인터페이스 || 상태 || In/Out || 메시지 || ID 필드 || 길이 ||
          * 참조점 (Reference point, 장비와 장비 연결 부분을 가리킴)
          - TE1(Terminal Equipment type 1) : ISDN 단말기(ISDN 전화기).
          - TA(Terminal Adaptor) : ISDN을 지원하지 않는 단말기(전화기, PC, FAX)를 ISDN에 접속 가능하도록 연결시켜주는 장비.
          - NT1(Network Termination 1) : OSI 물리 계층에 해당하는 기능을 수행.
          2. ISDN 스위치는 SS7(Signalling Systen 7)이라는 프로토콜을 이용해서 어떤 경로로 통신을 할지 결정한다.
  • CPPStudy_2005_1/STL성적처리_3_class . . . . 29 matches
         #include <fstream>
         #include <iostream>
         #include <string>
         #include <vector>
         #include <algorithm> //sort
         #include <numeric> //accumulate
         const int SUBJECT_NO = 4;
         using namespace std;
          void printdata(); //출력
          vector<student_table>::iterator zbegin() { return ztable.begin(); }
          string name;
          vector<int> score;
          unsigned int total;
         int main()
          sort(z.zbegin(),z.zend(),zcompare);
          z.printdata();
          ifstream fin("data.txt");
          int tmp2,i;
          fin >> tmp.name;
          fin >> tmp2;
  • JollyJumpers/김태진 . . . . 29 matches
         #include <stdio.h>
         int jolly(int A[], int val, int B[]);
         int bubbleSort(int A[], int n);
         int main()
          int a[3001]={0};
          int b[3001]={0};
          int i,val,result;
          if(feof(stdin)) break;
          printf("Jolly\n");
          if(feof(stdin)) break;
          continue;
          if(result==val-2) printf("Jolly\n");
          else printf("Not jolly\n");
          if(feof(stdin)) break;
         int jolly(int A[], int val, int B[])
          int x=0,j;
         int bubbleSort(int C[], int n)
          int i,j,temp;
  • MFC/Print . . . . 29 matches
         #define _MFC_
         = Print in MFC =
          * CView::OnPreparePrinting()
          페이지 카운트를 계산한다. DoPreparePrinting() 호출
          * CView::OnBeginPrinting()
          * CView::OnPrint()
          * CView::OnEndPrinting()
          뷰클래스의 5개의 멤버함수는 프로그래머가 재정의 해야한다. 최소한 5개중에서 OnPreparePrinting(), OnPrepareDC(), OnPrint()는 구현해야한다.
          프린터 작업과 관계되는 모든 함수는 CPrintInfo 형의 객체 포인터가 인자로 전달된다. 이 객체는 프린터 작업을 관리하는 함수들을 연결시켜준다.
         = CPrintInfo =
         || m_pPD || CPrintDialog 객체에 대한 포인터. 출력 대화 상자를 나타낸다. ||
         || m_bPreview || Print Preview 가 선택되면 TRUE, 아니면 FALSE ||
         || m_bContinuePrinting || TRUE로 설정되면 출력 루프를 계속한다. FALSE가 되면 프린트 작업 종료. ||
         || m_nCurPage || UINT형식을 갖는 값으로서 현재 페이지 번호를 저장 ||
         || m_nNumPreviewPages || UINT preview 우니도우에 나타나 있는 페이지들의 번호 1 or 2 ||
         || m_lpUserData || LPVOID 형식을 갖는다. 생성한 객체에 대한 포인터를 저장한다. 출력작업에 관한 추가 정보를 저장하는 객체를 생성할 수 있도록 한다. CPrintInfo 객체와 연계 시킬 수 있도록 한다. ||
         || m_strPageDesc || CString 객체로 프린트 preview 동안에 페이지 번호를 나타내기 위해 프레임 웍에서 사용되는 포맷 문자열을 포함한다. ||
         || m_bDocObject || 응용프로그램이 lPrint 인터페이스를 통하여 출력하면 TRUE로 설정되며, 그렇지 않은 경우에는 FALSE이다. ||
         || m_dwFlags || m_bDocObject가 TRUE일때만 유호. DWORD값으로 lPrint::Print에 전달된 플래그 ||
         || m_nOffsetPage || m_bDocObject가 TRUE일때만 유효. lPrint job 안에서 첫번째 페이지 offset을 준다. ||
  • MedusaCppStudy . . . . 29 matches
         교제: [AcceleratedC++], Seminar:삼색볼펜초학습법
         입력에서 가장 긴 string의 길이와 가장 짧은 string의 길이를 출력하는 프로그램 (";" 을 만났을 때 문자열 종료)
         #include <iostream>
         #include <vector>
         using std::cin;
         using std::cout;
         using std::endl;
         using std::vector;
         int main()
          int size = 5; // size가 5라면...
          vector< vector<int> > board(size);
          for(int i = 0; i < size; i++)
          for(int r = 0; r < size; r++)
          for(int c = 0; c < size; c++)
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          int a = rand() % 10; // 0부터 9까지 수가 렌덤하게 나옴
         자판기(Vending Machine)
  • NumberBaseballGame/정훈 . . . . 29 matches
         #include<iostream>
         #include <ctime>
         using namespace std;
         int main()
          int three;
          int baek =0, il=0, sib=0;
          int rbaek, ril, rsib;
          int str = 0,ball = 0;
          while(!(cin >> three))
          cin.clear();
          while(cin.get() != '\n')
          continue;
          while(!(cin >> three))
          cin.clear();
          while(cin.get() != '\n')
          continue;
          while(!(cin >> three))
          cin.clear();
          while(cin.get() != '\n')
          continue;
  • Omok/은지 . . . . 29 matches
         #include <stdio.h>
         #include <conio.h>
         #include <stdlib.h>
         void checkomok(int, int, char);
         void checkcount(int check[], int , char);
         int main()
          int i,j;
          printf("%c ", board[i][j]);
          printf("\n");
          int key;
          int user = 1;
          int x = 1; int y = 1;
          printf ("error");
          printf("@");
          printf("*");
         void checkomok(int row, int col, char mark)
          int count;
          int check[4] = {0, };
          void checkcount(int check[], int size, char mark)
          for(int i=0; i<size; i++)
  • PatternOrientedSoftwareArchitecture . . . . 29 matches
         wiki:NoSmok:OpeningStatement 부분
         || Distributed Systems || Broken Patterns || use in distributed application ||
         || Interactive Systems || Model-View-Controlled, Presentation-Abstraction-Control Pattern || - ||
          * 생각 해야할 문제(Problem - balance in following forces)
          * interface는 안정적이어야 한다.
          * 시스템의 각 부분은 교환 가능해야 한다. (Design for change in general is a major facilitator of graceful system evolution - 일반적으로 변화에 대비한 디자인을 하는것은 우아한 시스템 개발의 주요한 촉진자이다.)
          * It may be necessary to build other systems at a later date with the same low-level issues as the system you are currently designing ( 정확한 의미는 모르겠음, 누가 해석좀....)
          * Scenario2 - bottom-up communication, 레이어 1에서 시작하는 연쇄적인 동작들이다. top-down communicatin과 헷갈릴 수도 있는데 top-down communication은 요청(requests)에 의해서 동작하지만, bottom-up communication은 통지(notifications)에 의해서 동작한다. 예를 들어서 우리가 키보드 자판을 치면, 레벨1 키보드에서 최상위 레벨 N에 입력을 받았다고 통지를 한다. bottom-up communicatin에서는 top-down communication과는 반대로 여러개의 bottom-up 통지들(notifications)은 하나의 통지로 압축되어서 상위 레이어로 전달되거나 그대로 전달된다.
          * services 들을 명확히 하여라. 가장 중요한 구현 원칙은 레이어들이 엄격하게 각자 분리 되어야 한다는 점이다. 레이어들 사이에 공유되는 모듈은 엄격한 layering 약하게 한다. 그리고 낮은 레이어보다 높은 레이어에 더 많은 service를 넣는것이 더 낮다.
          * Refine layering. 위의 1~4번 과정을 반복 하여라.
         레이어들 |=> 이것들을 생각 하고나서 define components and service
          * Relaxed Layered System : 이시스템을 통해서 얻은 유연성과 성능의 향상은 유지보수 능력의 저하를 가져온다. application 소프트웨어 보다 infrastructure(영구적인) 시스템에서 자주 본다. UNIX, X Window System가 그예이다.
          * Layering Through Inheritance : 상속 관계로 레이어 패턴을 구현. 현재 뜨는 OOP로 할 수 있다.
          * Virtual Muchines
          * Information System(IS)
          * Windows NT
          * cascades of changing behavior : 레이어를 바꾸는것뿐만 아니라 그 인터페이스를 바꿀경우에 다른 부분까지 수정해줘야 한다는 말 같다.
          * 이 패턴은 : data source - filter - pipes - filter - data sink, 의 순서로 되어 있고, 각 필터에서는 데이터를 처리하는 함수가 있을 수 있다. 레이어 패턴과 비슷한 점도 보이지만, 이 패턴의 특징은 쉬운 재조합과 재사용성이다. 에러를 처리하는 관점과 시스템의 신뢰성을 따지면 레이어가 더 낮다.
          * input은 intermediate 와 마지막 result와 마찬가지로 다양한 표현이 있다. 알고리즘들은 다양한 paradigm들에 의해서 수행된다.
          * 모든 부분적인 문제들은 같은 knowledge 표현을 사용하여 해결된다. 그러나 input으로 다양한 표현이 올 수 있다.
  • PythonForStatement . . . . 29 matches
          for i in a:
          print i
          for d in a:
          print d
         비슷한 것을 찾자면 C++의 배열보다는 C++의 string 클래스, Java의 String 클래스와 비슷하다는 점을 알 수 있어. -- [Leonardong]
         for i in 'helloworld':print i,
         for i in [ 'h','e','l','l','o','w','o','r','l','d']:print i,
         for statement definition
         for_stmt ::= "for" target_list "in" expression_list ":" suite
         for 타겟객체리스트(target) in 시퀀스형(expression_list==sequence):
         in 다음에 와야할 문은 시퀀스형 입니다.
         These represent finite ordered sets indexed by non-negative numbers. The built-in function len() returns the number of items of a sequence. When the length of a sequence is n, the index set contains the numbers 0, 1, ..., n-1. Item i of sequence a is selected by a[i].
         {{|There are six sequence types: strings, Unicode strings, lists, tuples, buffers, and xrange objects|}}
         내장형인 strings 도 시퀀스 형이며, {{{a[i]}}} 형태로 접근할수 있습니다. 따라서,
         for i in 'helloworld': print i,
         for i in [ 'h','e','l','l','o','w','o','r','l','d']:print i,
         Java 1.5 에 advanced for statement 라는 이름으로 비슷한 것이 추가되었고, C#에는 언어가 탄생 될때 부터 있었습니다. Java 1.5에서는 수년간 논의 끝에 도입을 했는데, 언어에 녹이기 위해서는 Autoboxing/Unboxing과 편리성을 위해 Template과 같은 여러 필수불가결하고 복잡다난(?)한 개념이 함께 추가되었습니다.
         --NeoCoin
  • RandomWalk/은지 . . . . 29 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         void move(int dir);
         int check_all(int);
         void display(int);
         int **walk;
         int **check;
         int row, col;
         int main()
          int size, i, j;
          int end , direct ;
          cin >> size;
          walk = new int *[size+2];
          walk[i] = new int[size+2];
          check = new int *[size+2];
          check[i] = new int[size+2];
         int check_all(int size)
          int sum =0;
          for(int i=0; i<size+2; i++)
  • 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():
  • SmithNumbers/문보창 . . . . 29 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         void find_smith_number(int n);
         int sum_digit_prime_factor(int n);
         int sum_digit_number(int n);
         int main()
          int nCase;
          int i;
          int number;
          cin >> nCase;
          cin >> number;
          find_smith_number(number);
         void find_smith_number(int n)
          int i;
         int sum_digit_number(int n)
          int sumDigitNumber = 0;
          int temp = n;
         int sum_digit_prime_factor(int n)
          int i;
  • SpiralArray/세연&재니 . . . . 29 matches
         #include <iostream>
         #include <vector>
         using namespace std;
         vector< vector<int> > xbox;
         void makeXbox(int, int);
         void fillXbox(int, int);
         void showXbox(int, int);
         int main()
          int nRow, nCol;
          cin >> nRow;
          cin >> nCol;
         void makeXbox(int nRow, int nCol)
          for (int i = 0 ; i < nRow + 2 ; i++)
          for (int j = 0 ; j < nCol + 2 ; j++)
         void fillXbox(int nRow, int nCol)
          int nRowState = 1, nColState = 1;
          int direction = 0, nextCell;
          int movement[4][2] = { {0, 1}, {1, 0}, {0, -1}, {-1, 0} };
          for (int i = 0 ; i < nRow * nCol ; i++)
         void showXbox(int nRow, int nCol)
  • Steps/조현태 . . . . 29 matches
         #include <iostream>
         #include <Windows.h>
         #include <vector>
         using namespace std;
         bool IsCanResize(int* targetNumber)
         int GetNumbersSize(vector<int>& initNumbers)
          vector<int> makedNumbers;
          if (0 < initNumbers.size())
          for (register int i = 1; i < (int)initNumbers.size(); ++i)
          if (i < (int)initNumbers.size() - 2 && IsCanResize(&initNumbers[i]))
         void main()
          int testCaseNumber;
          cin >> testCaseNumber;
          for (int i = 0; i < testCaseNumber; ++i)
          int startNumber;
          int endNumber;
          cin >> startNumber >> endNumber;
          vector<int> initNumbers;
          for (register int j = startNumber; j < endNumber; ++j)
          initNumbers.push_back(1);
  • TheJavaMan/달력 . . . . 29 matches
         import javax.swing.*;
          public void init()
          Container contentPane = getContentPane();
          int year;
          int month;
          int days;
          tfYear.setText(String.valueOf(Calendar.getInstance().get(Calendar.YEAR)));
          cbMonth.setSelectedIndex(Calendar.getInstance().get(Calendar.MONTH));
          int weekDay = (1 + (year - 1) + ((year - 1) / 4) - ((year - 1) / 100) + ((year - 1) / 400)) % 7;
          for(int i = 0 ; i < month - 1 ; i++)
          showPanel.add(new JLabel("일", SwingConstants.CENTER));
          showPanel.add(new JLabel("월", SwingConstants.CENTER));
          showPanel.add(new JLabel("화", SwingConstants.CENTER));
          showPanel.add(new JLabel("수", SwingConstants.CENTER));
          showPanel.add(new JLabel("목", SwingConstants.CENTER));
          showPanel.add(new JLabel("금", SwingConstants.CENTER));
          showPanel.add(new JLabel("토", SwingConstants.CENTER));
          for (int i = 0; i < weekDay; i++)
          for (int i = 0; i < days; i++)
          showPanel.add(new JLabel(String.valueOf(i + 1), SwingConstants.CENTER));
  • 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);
  • 개인키,공개키/최원서,곽세환 . . . . 29 matches
         #include <fstream>
         #include <iostream>
         #include <stdlib.h>
         using namespace std;
         int main()
          ifstream fin("input.txt");
          int f = 156;
          for (int i = 0; ; i++)
          fin.getline(a,20);
          if (!strcmp(a, "") && fin.eof())
          int c = strlen(a);
          for (int d=0;d<c;d++)
         #include <fstream>
         #include <iostream>
         #include <stdlib.h>
         using namespace std;
         int main()
          ifstream fin("output.txt");
          int f = 100;
          for (int i = 0; ; 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 ==
  • 데블스캠프2009/월요일/연습문제/svn코드레이스/서민관 . . . . 29 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <time.h>
         int main(void)
          int num = 0, ent, min = 1, max = 50;
          int i = 0, j = 0;
          printf("UP & DOWN GAME\n");
          printf("숫자를 입력해 주세요.(%d~%d) => ", min, max);
          printf("범위를 넘어가지 않았습니까. 정신은 멀쩡하신가요?\n");
          else if(ent <= 0||ent <min)
          printf("범위를 넘어가지 않았습니까. 정신은 멀쩡하신가요?\n");
          printf("입력한 숫자가 작습니다.\n");
          min = ent+1;
          printf("입력한 숫자가 큽니다.\n");
          printf("정답입니다.\n");
          if(min == max)
          printf("제가 마셔야겠군요. 젠장.\n");
         #include <stdio.h>
         void main()
          int a = 0, i=0,j=0;
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/김정욱 . . . . 29 matches
         #include<stdio.h>
         #include<stdio.h>
          char zergling;
          int attack;
          int def;
          int hp ;
         int main()
          struct craft zergling[2];
          zergling[0].attack=10;
          zergling[0].def=0;
          zergling[0].hp=100;
          zergling[1].attack=5;
          zergling[1].def=0;
          zergling[1].hp=50;
          zergling[0].hp -= zergling[1].attack;
          printf("저글링1-->저글링0공격 저글링[0]의 hp = %d \n",zergling[0].hp) ;
          if (zergling[0].hp==0){
          zergling[1].hp -= zergling[0].attack;
          printf("저글링0-->저글링1공격 저글링[1]의 hp = %d \n",zergling[1].hp) ;
          if (zergling[1].hp==0){
  • 만년달력/방선희,장창재 . . . . 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++)
  • 몸짱프로젝트/BinarySearch . . . . 29 matches
         #include <stdio.h>
         int * sort(int aArr[]);
         void swap(int & aVal1, int & aVal2);
         const int SIZE = 10;
         int search(const int aArr[], const int aNum, int front, int rear);
         void main()
          int arr[SIZE] = {1,13,11, 22,6,4,72,11,9,10};
          int * p_arr = sort(arr);
          int result = search(arr, 1, 0, SIZE);
          printf("Position : %d\n", result);
         int * sort(int aArr[])
          for ( int i = 0 ; i < SIZE ; i++)
          for ( int j = 0 ; j < SIZE ; j++)
         void swap(int & aVal1, int & aVal2)
          int temp = aVal1;
         int search(const int aArr[], const int aNum, int front, int rear)
          int mid = (front + rear)/2;
  • 수학의정석/방정식/조현태 . . . . 29 matches
         #include <math.h>
         #include <stdio.h>
         #include <time.h>
         void input_data(int*,int*,int*);
         void process(int, int, double);
         const int MINUTE=60;
         int main()
          int time_in; // 초기 시작 시간.
          int x,y,t;
          input_data(&x,&y,&t);
          time_in = clock(); // 초기 시작 시간을 입력한다.
          printf("CPU CLOCKS = %d\n", clock() - time_in); // 끝났을때 시간 - 초기 시작시간 = 프로그램 실행 시간
         void input_data(int *x, int *y, int *t)
          printf("강물의 속력을 입력해주세요>>");
          printf("강의 거리를 입력해주세요>>");
          printf("걸린 시간을 입력해주세요>>");
         void process(int x, int y, double t)
          t=t/MINUTE;
          printf("%.2f",answer);
  • 1thPCinCAUCSE/ProblemA/Solution/zennith . . . . 28 matches
         #include <stdio.h>
         int solve(int *);
         int evalMeets(int);
         int accumCount(int);
         double meetPins[11] = {0, 5.5 + 1 * 60, 10.5 + 2 * 60, 16.5 + 3 * 60,
         int main(void) {
          int num, input[4], i, j, output[10] = {0, };
          scanf("%d%d%d%d", &input[0], &input[1], &input[2], &input[3]);
          output[i] = solve(input);
          printf("%d\n", output[i++]);
         int solve(int * arg) {
          int startTime, endTime, ret = 0;
         int evalMeets(int curTime) {
          int prev, present;
         int accumCount(int time) {
          int i, ret;
          if (time < meetPins[i])
  • 2002년도ACM문제샘플풀이/문제C . . . . 28 matches
         #include <iostream>
         using namespace std;
         struct InputData
          int s;
          int f;
          int k;
         InputData* inputData;
         int numberOfData;
         void input()
          cin >> numberOfData;
          inputData = new InputData[numberOfData];
          for(int i = 0;i < numberOfData;i++)
          cin >> inputData[i].s >> inputData[i].f >> inputData[i].k;
          int count;
          for(int i =0;i < numberOfData;i++) {
          count = inputData[i].f - inputData[i].s - 1;
          if(inputData[i].s % 2 == 0)
          if( ((count / inputData[i].k) % 2 == 1 && (count % inputData[i].k) == 0)
          || ((count / inputData[i].k) % 2 == 0 && (count % inputData[i].k) != 0))
          for(int i = 0;i < numberOfData;i++)
  • AnEasyProblem/권순의 . . . . 28 matches
         #include <IOStream>
         #include <cmath>
         using namespace std;
         int main()
          int getNum = -1;
          int getBinary[21];
          int min = 0;
          int output = 0;
          cin >> getNum;
          for(int i = 0; i < 21; i++)
          getBinary[i] = 0;
          for(int i = 0; i < 21; i++)
          getBinary[i] = getNum % 2;
          cout << getBinary[i];
          for(int i = 0; i < 21; i++)
          if(getBinary[i] == 1)
          if(getBinary[i + 1] == 0)
          getBinary[i + 1] = 1;
          getBinary[i] = 0;
          getBinary[i] = 0;
  • CarmichaelNumbers/조현태 . . . . 28 matches
         #include <stdio.h>
         #include <iostream>
         const int MINIMUM=2;
         const int MAXIMUM=65000;
         int Carmichael(int);
         int Sosu(int);
         void main()
          printf("숫자를 입력해 주세요.\n");
          int number=-1;
          int answer=0;
          while ((0!=number)&&(number<MINIMUM || MAXIMUM<number))
          printf("%d is normal.\n",number);
          printf("The number %d is a Carmichael number.\n",number);
         int Carmichael(int number)
          for (register int i=2; i<number; ++i)
          unsigned int a=1;
          for (register int j=0; j<number; ++j)
         int Sosu(int number)
          int *log_number=(int*)malloc((number+2)*sizeof(int));
          int gab;
  • DataCommunicationSummaryProject/Chapter8 . . . . 28 matches
         = The Air Link =
         = Voice Infrastructure =
         == Switching Centers ==
          * moblie voice 네트워크에서 가장 복잡한 구성요소는 MSC(Mobile Switching Center)이다.
         === The Messaging Center ===
         == Trunking ==
          * 초기 핸드폰 네트워크에서 MSC가 그물망처럼 되었는데, 이건 곧 제어하기 힘들게 되었다. 그래서 TSCs(Trunking Switching Centers)가 씌여지게 되었다.
          * The Gateway Mobile Switching Center (GMSC)는 스위칭 체계의 최 상위에 있다.
          * 그것은 모바일 네트워크를 전화 네트워크(PSTN)나 다른 roaming 협약을 맵은 운영자와 연결한다.
          * 이것은 가장큰 역할은 핸드폰 시스템 자체의 신호 프로토콜을 보통 전화선에서 전화번호와 같은 정보를 나르는데 사용하는 Signaling System 7(SS7)로 변환하는 것이다.
         = Data Infrastructure =
         == Serving Support ==
          * Serving GPRS Support Node (SGSN)은 data infrastructure 에서 MSC와 비슷한 것이다.
          * 인터넷에서 사용되는 IP와 비슷한 GTP(GPRS Tunneling Protocol)라는 프로토콜을 사용한다.
         == Optional GPRS Infrastructure ==
          * The Point-to-Multipoint Service Center(PTM SC), Qos 문제를 다루는 서버이다. 돈을 더 많이 낸 고객에게 통신에서 우선권을 준다. 그리고 소리와 그림과 같이 데이터의 종류에 따라 우선권을 달리 준다.(소리가 더 속도에 민감하다.)
          * The Border Gateway(BG), roaming을 다룬다. 이것은 주로 필터링을 통해서 원하지 않는 연결을 막는 방화벽에 연결되어 있다.
          * The GPRS Charging Gateway(GCG), 요금 지불 옵션을 전문적으로 하기 위해서 필요하다.
          * The Lawful Interception Gateway(LIG), 당국이 GPRS 네트워크에 있는 이동 데이터를 중간에서 엿보는것을 허락한다.
         == GPRS Roaming ==
  • DermubaTriangle/허준수 . . . . 28 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         int ax1,ax2,ax3,ay1,ay2,ay3;
         int bx1,bx2,bx3,by1,by2,by3;
         void findPoint()
         int findRow(int x)
          int row = ceil(sqrt(x+1)) * (-1);
         void findLength()
          cout.setf(ios::showpoint);
         void process(int x, int y)
          int row_a = findRow(x);
          int row_b = findRow(y);
          int col_a = (x - pow((row_a+1), 2))/2;
          int col_b = (y - pow((row_b+1), 2))/2;
          findPoint();
          findLength();
         int main()
          int x, y;
          while (cin >> x >> y)
  • 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);
  • EightQueenProblem/밥벌레 . . . . 28 matches
         interface
          Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
          procedure FormPaint(Sender: TObject);
          i, j: Integer;
         begin
         function CountRow(row: Integer): Integer;
          i: Integer;
         begin
          Inc(Result);
         procedure SetQueens(n: Integer); // 퀸 배치하기. 이 소스의 핵심함수. n은 현재 사용안한다. 처음엔 RandomSeed로 쓰려했음..-_-;
          i, row: Integer;
         begin
          begin
          function CountColumn(column: Integer): Integer;
          i: Integer;
          begin
          Inc(Result);
          function CountSlash(column: Integer): Integer;
          i: Integer;
          x, y: Integer;
  • EuclidProblem/곽세환 . . . . 28 matches
         #include <iostream>
         using namespace std;
         #include <climits>
         #include <cmath>
         int main()
          int a, b;
          while (cin >> a >> b)
          /*int u = a, v = b;
          int temp = u % v;
          int gcd = u;
          int i, j;
          int x = 0, y = 0;
          int a2 = a / gcd;
          int b2 = b / gcd;
          int minsum = INT_MAX - 1;
          int temp1, temp2;
          int min, max;
          min = a2;
          min = b2;
          if ((max * i - 1) % min == 0)
  • 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를 조정한다.
  • HanoiProblem/상협 . . . . 28 matches
         void hanoi(int n,int a, int b) //실제 구현
          hanoi(n-1, a,inout(a,b)); //1 번 단계 시작점 a에서 입력된 목적지링(b) 말고 다른 쪽으로 옮긴다.
          hanoi(n-1, inout(a,b),b); //3번 단계 첫번째 단계에서 간곳-inout(a,b) 에서 목적지링(b) 으로 간다..
         #include <iostream>
         using namespace std;
         void hanoi(int n,int a, int b); //a, 가 출발 b 가 목적지 n 이 갯수
         int inout(int i,int j);
         int main()
          int n;
          cin>>n; // 입력을 받는다.
         int inout(int i, int j) // 1,2,3중에서 i,j (1,2,3중 하나인 숫자)가 아닌 숫자가 리턴됨
         void hanoi(int n,int a, int b) //실제 구현
          hanoi(n-1, a,inout(a,b));
          hanoi(n-1, inout(a,b),b);
  • HanoiTowerTroublesAgain!/이도현 . . . . 28 matches
         2006-01-17 11:15:29 Accepted 0.000 Minimum 56031 C++ 10276 - Hanoi Tower Troubles Again!
         // Hanoi Tower Troubles Again
         #include <iostream>
         using namespace std;
         int process(int input);
         int main()
          int i, testCase, input;
          cin >> testCase;
          cin >> input;
          cout << process(input) << endl;
         int process(int input)
          if ((input & 1) == 1)
          input++;
          input /= 2;
          return 2 * input * input - 1;
          input /= 2;
          return 2 * input * input + 2 * input - 1;
  • 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
  • LoadBalancingProblem/Leonardong . . . . 28 matches
         == LoadBalancingProblem ==
          def __init__(self):
          self.minWork = 0
          def computeMinMaxWork(self):
          self.minWork = self.eachWork[0]
          for i in range( 1, self.numOfCPU):
          if self.minWork > self.eachWork[i]:
          self.minWork = self.eachWork[i]
          if self.maxWork - self.minWork > 1:
          def input(self, aNumOfCPU, aEachWorks):
          self.computeMinMaxWork()
          self.computeMinMaxWork()
          if self.getWork(aID) > self.minWork:
          self.increaseWork(aID-1)
          self.increaseWork(aID+1)
          def increaseWork(self, aID):
          for id in range( 1, self.numOfCPU+1 ):
          print self.eachWork
          print self.eachWork
          print "??"
  • PascalTriangle . . . . 28 matches
         const int pas(const int &m,const int &n)
         unsigned long int P(int row, int col) {
         ulong Pascal_Triangle(int m,int n)
          for(int i=0;i<m;i++)
          for(int j=0;j<=i;j++)
         int P(int row, int col) {
          int i, j, temp;
          int ** buffer;
          buffer = malloc( row * sizeof(int *) );
          *(buffer + i) = (int *)malloc( (i + 1) * sizeof(int) );
          continue;
          * 아직 개선할점이 한 두 군데 있는데.. 구지 여기에 올린 이유는 저게 Null pointer assignment 에러가 나서.. 에러난걸 왜 올리는데. 라고 하시면 할말 없지만.. 혹시 혜안으로 시원하게 찔러주실 분 지적해주시면 감사하겠습니다.
         unsigned long PascalTriangle1(int n, int m)
          int current=0; // 2개의 배열 중 계산중인 배열을 나타내는 변수
          for(int i=3;i<=n;i++) // 3행부터 n행까지 계산
          for(int j=1;j<i-1;j++) // 나머지 열을 계산
         unsigned long PascalTriangle2(int n, int m)
          for(int i=0;i<m-1;i++)
  • PluggableSelector . . . . 28 matches
          Type printElement(Object& anObject) {
          return anObject.printString();
          Type printElement(Object& anObject) {
          return anObject.asDollarFormatString();
          Type printElement(Object& anObject) {
          void (ListPane::*printMessage)();
          Type printElement(Object& anObject) {
          return anObject.perform(printMessage);
          void initialize() {
          printMessage = printString; // printString은 어딘가에 구현되어 있다.
         class RelativePoint
          static RelativePoint* centered(Figure& aFigure) {
          RelativePonit* rp = new RelativePoint;
          void setFigurenMessage(Figure& aFigure, int aSymbol()) {
         이제 일반 Point처럼 사용할 수 있다.
         Point RelativePoint::asPoint()
         Point RelativePoint::x()
          return asPoint().x();
         이런 식으로 하면 CenteredRelativePoint, TopLeftRelativePoint같은 서브클래스를 만들 필요가 없다. 위에서 center라는 메세지를 추가한 것처럼, topLeft메세지를 추가만 하면 되는 것이다.
  • PowerOfCryptography/허아영 . . . . 28 matches
         아. sample input에서 마지막 input 수가 안되네요.
         범위지정과 [PowerOfCryptography/Hint]를보고 ver 3을 만들기로 했다..
         ==== ver.1 int 버젼 ====
         #include <stdio.h>
         int k_operation(int n, int p, int k);
         int square_k(int k, int n);
         void main()
          int n, p, result, k = 1;
          fflush(stdin);
          printf("k = %dn", result);
         int k_operation(int n, int p, int k)
         int square_k(int k, int n)
          int temp;
         #include <stdio.h>
         void main()
          fflush(stdin);
          printf("k = %.fn", result);
  • RandomWalk/이진훈 . . . . 28 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         const int Arsize = 3;
         int pan[3][3] = {
         int count = 1;
         int count00 = 0;
         int count01 = 0;
         int count02 = 0;
         int count10 = 0;
         int count11 = 0;
         int count12 = 0;
         int count20 = 0;
         int count21 = 0;
         int count22 = 0;
         int countz();
         void main()
          int x = rand()%3;
          int y = rand()%3;
          int a = 0 , b = 0;
  • 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 할때의 단위들을 끄집어내면 되는 것이다.
  • [Lovely]boy^_^/Diary/2-2-9 . . . . 28 matches
         == In Korean ==
          * Power Reading, Methapors we live by 제본판 입수.
         == In English ==
          * The computer classic study - The Mythical Man Month Chapter 3&4 - meeting is on today P.M. 7 O'clock, at SinChon Min.To.
          * I'll never type smalltalk digital clock example again.
          * I learned a moving bar techinique using timer from Sanghyup.
          * I add a missile skill to my arcanoid game, and now on refactoring.
          * I borrow the UML for beginner. Translator is Kwak Yong Jae.(His translation is very good)
          * 5:30 ZP Regular meeting.
          * I'll never advance arcanoid.--; It's bored. I'll end the refactoring instantly, and do documentaion.
          * My arcanoid running is not same any computer. Some computers are running this game very well, others are blinking screen, anothers are not able to move the bar.
          * I get Power Reading, and Methapors we live by BindingBook
          * If my page is helpful to some person, It's very delightful. I feel that feeling these days.
          * I'll delight The AcceleratedC++, that I summary on wiki pages is helpful for beginner of C++.
          * The computer classic study - The Mythical Man Month Chapter 5&6 - meeting is on today P.M. 5 O'clock, at SinChon Min.To.
          * This meeting is also helpful. Although a half of members don't attend, I can think many new things.
  • hanoitowertroublesagain/이도현 . . . . 28 matches
         2006-01-17 09:55:33 Accepted 0.002 Minimum 56031 C++ 10276 - Hanoi Tower Troubles Again!
         // Hanoi Tower Troubles Again
         #include <iostream>
         using namespace std;
         int process(int input);
         int main()
          int i, testCase, input;
          cin >> testCase;
          cin >> input;
          cout << process(input) << endl;
         int process(int input)
          if ((input & 1) == 1)
          input++;
          input /= 2;
          return 2 * input * input - 1;
          input /= 2;
          return 2 * input * input + 2 * input - 1;
  • koi_cha/곽병학 . . . . 28 matches
         #include<iostream>
         #include<vector>
         #include <algorithm>
         using namespace std;
         bool chain(pair<int, int> &p1, pair<int, int> &p2) {
          bool operator() (pair<int, int> &p1, pair<int, int> &p2) {
         int main() {
          vector<pair<int,int>> vc;
          vector<int> vd;
          int t, dummy, s, e;
          cin>>t;
          cin>>dummy>>s>>e;
          for(int i=1; i<vd.size(); i++)
          sort(vc.begin() +1 , vc.end(), myOp);
          for(int i=2; i<vc.size(); i++) {
          for(int j=i-1; j>0; j--) {
          if(chain(vc[i], vc[j])) {
          int max = vd[1];
          for(int i=2; i<vd.size(); i++)
  • radiohead4us/SQLPractice . . . . 28 matches
         1. Find the names of all branches in the loan relation. (4.2.1 The select Clause)
         2. Find all loan numbers for loans made at the Perryridge branch with loan amounts greater that $1200. (4.2.2 The where Clause)
         3. For all customers who have a loan from the bank, find their names, loan numbers and loan amount. (4.2.3 The from Clause)
         4. Find the customer names, loan numbers, and loan amounts for all loans at the Perryridge branch. (4.2.3 The from Clause)
         5. For all customers who have a loan from the bank, find their names, loan numbers, and loan amount. (4.2.5 Tuple Variables)
         6. Find the names of all branches that have assets greater than at least one branch located in Brooklyn. (4.2.5 Tuple Variables)
         7. Find the names of all customers whose street address includes the substring 'Main'. (4.2.6 String Operations)
         8. Find the average account balance at each branch. (4.4 Aggregate Functions)
         9. Find the number of depositors for each branch. (4.4 Aggregate Functions)
         10. Find the average balance for all accounts. (4.4 Aggregate Functions)
         11. Find the average balance for each customer who lives in Harrison and has at least three accounts. (4.4 Aggregate Functions)
         12. Find all customers who have both a loan and an account at the bank. (4.6.1 Set Membership)
         13. Find all customers who have both an account and a loan at the Perryridge branch. (4.6.1 Set Membership)
         14. Find the names of all branches that have assets greater than those of at least one branch located in Brooklyn. (4.6.2 Set Comparison)
         15. Find the branch that has the highest average balance. (4.6.2 Set Comparison)
         16. Find all customers who have both an account and a loan at the bank. (4.6.3 Test for Empty Relations)
         17. Find all customers who have an account at all the branches located in Brooklyn. (4.6.3 Test for Empty Relations)
         18. Find all customers who have at most one account at the Perryridge branch. (4.6.4 Test for the Absence of Duplicate Tuples)
         19. Find all customers who have at least two accounts at the Perryridge branch. (4.6.4 Test for the Absence of Duplicate Tuples)
  • 데블스캠프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 '당신을 물어뜯습니다.'
  • 데블스캠프2009/목요일/연습문제/MFC/박준호 . . . . 28 matches
         #include "stdafx.h"
         #include "TestAPP.h"
         #include "TestAPPDlg.h"
         #define new DEBUG_NEW
         int m_number01;
          //{{AFX_DATA_INIT(CAboutDlg)
          //}}AFX_DATA_INIT
         BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
          //{{AFX_DATA_INIT(CTestAPPDlg)
          //}}AFX_DATA_INIT
          // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
          m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
         BEGIN_MESSAGE_MAP(CTestAPPDlg, CDialog)
          ON_WM_PAINT()
         BOOL CTestAPPDlg::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);
  • 레밍즈프로젝트/프로토타입/파일스트림 . . . . 28 matches
         || MFC 파일 스트림 || [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_cstring.asp] ||
         || m_hFile || Usually contains the operating-system file handle. ||
         || Abort || Closes a file ignoring all warnings and errors. ||
         || Open || Safely opens a file with an error-testing option. ||
         '''Input/Output'''
         || ReadHuge || Can read more than 64K of (unbuffered) data from a file at the current file position. Obsolete in 32-bit programming. See Read. ||
         || Write || Writes (unbuffered) data in a file to the current file position. ||
         || WriteHuge || Can write more than 64K of (unbuffered) data in a file to the current file position. Obsolete in 32-bit programming. See Write. ||
         || Seek || Positions the current file pointer. ||
         || SeekToBegin || Positions the current file pointer at the beginning of the file. ||
         || SeekToEnd || Positions the current file pointer at the end of the file. ||
         '''Locking'''
         || LockRange || Locks a range of bytes in a file. ||
         || UnlockRange || Unlocks a range of bytes in a file. ||
         || GetPosition || Retrieves the current file pointer. ||
         {{{#include "stdafx.h"
         #include "FileioView.h"
          ::MessageBox(NULL, "Can't Create testfile.txt !", "Warning", MB_OK | MB_ICONHAND);
          for(int i=0;i<26;i++)
          ::MessageBox(NULL, "Can't Open testfile.txt !", "Warning",
  • 새싹교실/2011/무전취식/레벨11 . . . . 28 matches
         == Ice Breaking ==
          * String
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         #include <stdio.h>
         #define N 12
         #define RIGHT 0
         #define LEFT 1
         #define UP 2
         #define DOWN 3
         int xpos, ypos, dir;
         void print_maze();
         int main()
          int i;
          print_maze(); // printf maze
          print_maze();
          print_maze();
          // and the initial direction is RIGHT
          int i,j;
         void print_maze()
          int i,j;
  • 새싹교실/2012/아우토반/앞반/4.12 . . . . 28 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         #include<stdio.h>
         #include<time.h>
         #include<math.h>
         #include<stdlib.h>
         void main(){
         int Sundae = 1000;
         int Player = 500;
         int sundaeattack;
         int userkick;
         int userpunch;
         int user_attack_type;
          printf("선대 때리기 게임 start!\n");
          printf("선대의 체력 : %d\n",Sundae);
          printf("플레이어의 체력 : %d\n",Player);
          printf("선대의 선공\n");
          printf("Player는 %d의 데미지를 입었습니다.\n",sundaeattack);
          printf("User 공격방법 선택 : Punch = p , Kick = k : \n");
          printf("User가 %d의 데미지를 입혔습니다.\n",userpunch);
          printf("User가 %d의 데미지를 입혔습니다.\n",userkick);
  • 서지혜 . . . . 28 matches
         Someday you'll say something that you'll wish could take back - drama, House
          * dead line, 중간 목표 필요
          * Accountable Goal Setting
          1. Training 1000시간
         == ON DOING ==
          1. Training Diary
          * 위키 : [http://swmaestro.openflamingo.org]
          1. English Speaking Study
          * see also [EnglishSpeaking/2012년스터디]
          * see also [Spring/탐험스터디]
          1. English Speaking Study
          * see also [EnglishSpeaking/2012년스터디]
          * 기념으로 Jetbrain사의 RubyMine구매 (12/21 지구멸망기념으로 엄청 싸게 팔더라)
          * see also [Spring/탐험스터디]
          1. Training Diary
          * 디버거를 사용할 수 없는 환경을 난생 처음 만남. print문과 로그만으로 디버깅을 할 수 있다는 것을 깨달았다. 정보 로그, 에러 로그를 분리해서 에러로그만 보면 편하다. 버그가 의심되는 부분에 printf문을 삽입해서 값의 변화를 추적하는 것도 효과적이다(달리 할수 있는 방법이 없다..). 오늘 보게된 [http://wiki.kldp.org/wiki.php/HowToBeAProgrammer#s-3.1.1 HowToBeAProgrammer]에 이 내용이 올라와있다!! 이럴수가 난 삽질쟁이가 아니었음. 기쁘다.
          1. [Spring/탐험스터디/wiki만들기]
          * Spring Study는 참 오래 하는듯
          * 하지만 아직도 beneficiary일 뿐 contributor가 아니다.. spring project에 기여하기 프로젝트를 했으면 어땟을까? 처음엔 작게 bug fix부터..
          1. [http://nforge.zeropage.org/projects/mymensingh 동네 검색 종결자]
  • 숫자야구/조재화 . . . . 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 )
  • 파스칼삼각형/김태훈zyint . . . . 28 matches
         #include <stdio.h>
         int factorial(int n);
         int permutation(int n, int r);
         int combination(int n,int r);
         int main(int argc, char* argv[])
          int col,row;
          printf("행 : "); scanf("%d",&row);
          printf("열 : "); scanf("%d",&col);
          printf("result = %d\n",combination(row-1,col-1));
         int factorial(int n)
         int permutation(int n, int r)
         int combination(int n,int r)
          헐헐;;; 이런 과찬의 말씀을 'ㅅ';; - 태훈[zyint]
  • ACE/HelloWorld . . . . 27 matches
         === Project Setting ===
          * include path 에 ace 라이브러리가 있는 곳의 경로를 넣어준다. [임인택]의 경우 {{{~cpp E:libc&c++ACE_wrappers}}}.
          * project setting 에서 link 탭에 aced.lib (디버그용), 또는 ace.lib 을 추가한다. (프로젝트 홈 디렉토리에 lib, dll 파일이있거나 path 가 걸려있어야 한다. 혹은 additional library path에 추가되어 있어야 한다)
          * project setting 에서 c++ 탭에 code generation->use run-time library 에서 (debug) multithreaded 또는 (debug) multithreaded dll (무슨차이가 있는지 아직 확실하게 모르겠다)
         #include "ace/Log_Msg.h"
         int ACE_TMAIN(int, ACE_TCHAR *[] )
          ACE_DEBUG((LM_INFO, ACE_TEXT("Hello, World!!n")));
         BIN = test # 소스파일과 같아야한다. 이 Makefile은 test.cpp 를 찾아 빌드하려고 할 것이다.
         BUILD = $(VBIN)
         SRC = $(addsuffix .cpp,$(BIN))
         include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
         include $(ACE_ROOT)/include/makeinclude/macros.GNU
         include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
         include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
         include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
         include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
  • 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++){
  • BasicJAVA2005/실습1/조현태 . . . . 27 matches
         import java.io.InputStreamReader;
          public static void main(String[] args) {
          int[] answers = new int[3];
          int[] inputNumbers = new int[3];
          int strike = 0;
          int ball = 0;
          for (int i = 0; i < 3; ++i)
          answers[i] = NumberCreator.nextInt(10);
          for (int j = 0; j < i; ++j)
          answers[i] = NumberCreator.nextInt(10);
          Scanner NumberScanner = new Scanner(System.in);
          for (int i = 0; i < 3; ++i)
          inputNumbers[i] = NumberScanner.nextInt();
          for (int i = 0; i < 3; ++i)
          for (int j = 0; j < i; ++j)
          if (inputNumbers[i] == inputNumbers[j])
          System.out.println("동일한 숫자를 입력하였습니다. 다시 입력해주세요.");
          for (int i = 0; i < 3; ++i)
          if (answers[i] == inputNumbers[i])
          for (int j = 0; j < 3; ++j)
  • BeeMaja/조현태 . . . . 27 matches
         #include <iostream>
         using namespace std;
         #define TRUE 1
         #define FALSE 0
         int GetYPoint(int x)
         void GetMayaPoint(int& x, int& y, int remainNumber)
          const int PLUS_X[6] = {-1, +0, +1, +1, +0, -1};
          const int PLUS_Y[6] = {+0, -1, -1, +0, +1, +1};
          int circleNumber = --y;
          for (register int i = 0; i < 6; ++i)
          for (register int j = 0; j < circleNumber; ++j)
          --remainNumber;
          if (0 > remainNumber)
         void main()
          int willyNumber;
          cin >> willyNumber;
          int x = 0;
          int y = 1;
          for ( ; GetYPoint(y) <= willyNumber; ++y);
          GetMayaPoint(x, y, willyNumber - GetYPoint(y));
  • CPPStudy_2005_1/STL성적처리_3 . . . . 27 matches
         = Info =
         = Input Text =
         #include <fstream>
         #include <iostream>
         #include <string>
         #include <vector>
         #include <algorithm> //sort
         #include <numeric> //accumulate
         using namespace std;
          string name;
          vector<int> score;
          unsigned int total;
         void printdata(vector<student_type>& ztable); //출력
         int main()
          sort(ztable.begin(),ztable.end(),zcompare);
          printdata(ztable);
          ifstream fin("data.txt");
          int tmp2,i;
          fin >> tmp.name;
          fin >> tmp2;
  • 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)
  • EuclidProblem/차영권 . . . . 27 matches
         #include <iostream.h>
         #define MAX 50
          int X;
          int Y;
         int gcd(int max, int min);
         int main()
          int a, b;
          while (cin >> a >> b)
          int i = 1, j;
          int GCD, reminder;
          reminder = a%b;
          while (reminder != 0)
          reminder = a%b;
          a = b; b = reminder;
         int gcd(int max, int min)
          if (max%min == 0)
          return min;
          return gcd(min, max%min);
  • HardcoreCppStudy/두번째숙제/CharacteristicOfOOP/변준원 . . . . 27 matches
         속성 상속(inheritance)
         객체 지향 프로그램의 중요한 특징으로 하나의 함수 이름이나 심볼이 여러 목적으로 사용될 수 있는 다형성(Polymorphism)을 들 수 있다. 객체 지향에서의 다형성이란, 복수의 클래스가 하나의 메세지에 대해 각 클래스가 가지고 있는 고유한 방법으로 응답할 수 있는 능력을 말한다. 즉, 별개로 정의된 클래스들이 ㅌ은 이름의 함수를 별도로 가지고 있어 하나의 메세지에 대해 각기 다른 방법으로 그 메세지를 수행할 수 있는 것을 의미한다. 예를 들어, 여러 가지 화일(file)들을 프린트 하는 함수를 생각해 보자. 화일에는 간단한 텍스트 화일(text file), 문서 편집기로 만든 포멧 화일(format file), 그래픽을 포함하는 화일(file with graphics) 등 여러 가지가 있다. 이들 각각의 화일들은 프린트 하는 방법이 모두 다르다, 객체 지향에서는 아래처럼 각 종류의 화일을 별도의 클래스로 정의하고, 각각의 화일 종류별로 Print라는 함수를 화일의 형태에 맞게 구현한다.
         Text file -> Print();
         Formatted file -> Print();
         File with graphics -> Print();
         이렇게 생성된 화일 객체들은 모두 Print라는 메세지를 이해하며, 각 화일의 종류에 알맞게 프린트 할 수 있다. 이렇듯 다형성은 같은 이름의 함수를 여러 클래스가 각 클래스에 알맞게 달리 정의하고 같은 이름의 메세지에 응답할 수 있게 해준다.
         정보 은폐 (infomation hiding)
         객체와 객체 사이의 정보 교환은 외부에 공개하고자 하는 일련의 정보를 public interface로 정의해 외부에 객체들이 이 Interface를 통해서 그 객체와 정보를 교환하도록 한다. 즉, 한 객체의 Public Interface를 그 객체가 "무슨 일을 할 수 있다. 혹은 이 정보는 공개할 수 있다."라고 외부에 선언하는 것이다.
         이 Public Interface는 언어에 따라 표현 양식이 다른데, C++에서는 "public"이란 특별 구문을 두어 "public"란에 들어간 항목들만 외부에 공개된다. Effel이란 언어에서는 "export"라는 란에 지정된 항목들만 외부에 공개된다. 앞에서 정의한 POINT라는 객체 정의를 보면 move와 setcolor의 함수들이 외부에서 관찰될 수 있는 public interface임을 알 수 있다. 여기서 한가지 유의할 점은 move와 setcolor라는 함수들이 외부에 보여져 불리워질 수 있는 함수들이라는 것이며 각 함수가 가지고 있는 코드나 알고리즘까지 보여지는 것은 아니라는 것이다. 한 함수가 외부에 보여지는 부분을 signature라고 하며 하나의 signature는 함수의 이름, 입력 매개변수(input parameter)와 출력 매개변수(output parameter)로 구성되어 있다.
         위에서 살펴볼 캡슐화와 정보 은폐의 이점은 우선 객체 내부의 은폐된 데이타 구조가 변하더라도 주변 객체들에게 영향을 주지 않는다는 것이다. 예로서, 어떤 변수의 구조를 배열(array)구조에서 리스트(list) 구조로 바꾸더라도 프로그램의 다른 부분에 전혀 영향을 미치지 않는다. 또한 어떤 함수에 사용된 알고리즘을 바꾸더라도 signature만 바꾸지 않으면 외부 객체들에게 영향을 주지 않는다. 예를 들어, sorting 함수의 경우 처음 사용된 sequence sorting 알고리즘에서 quick sorting 알고리즘으로 바뀔때 외부에 어떤 영향도 주지 않는다. 이러한 장점을 유지보수 용이성(maintainability) 혹은 확장성(extendability)이라 한다.
         클래스 중에는 인스턴스(instance)를 만들어 낼 목적이 아니라 subclass들의 공통된 특성을 추출하여 묘사하기 위한 클래스가 있는데, 이를 추상 클래스(Abstract class, Virtual class)라 한다. 변수들을 정의하고 함수중 일부는 완전히 구현하지 않고, Signature만을 정의한 것들이 있다. 이들을 추상 함수(Abstract function)라 부르며, 이들은 후에 subclass를 정의할 때에 그 클래스의 목적에 맞게 완전히 구현된다. 이 때 추상 클래스의 한 subclass가 상속받은 모든 추상 함수들을 완전히 구현했을 때, 이를 완전 클래스(Concrete class)라고 부른다. 이 완전 클래스는 인스턴스를 만들어 낼 수 있다.
         추상 클래스의 예로서 프린터 소프트웨어를 생각해 보자. 우선 모든 종류의 프린터들이 공통으로 가지는 특성을 정의한 추상 클래스 "Printer"가 있다고 한다면, 여기에는 프린터의 상태를 나타내는 변수, 프린터의 속도 등의 변수가 있으며 함수로는 프린팅을 수행하는 Print 등을 생각할 수 있다. 그러나 프린터마다(Dot matrix printer, Laser printer, Ink jet printer) 프린팅 하는 방법이 다르므로 이 추상 클래스 안에서는 Print라는 함수를 완전히 구현할 수 없다. 다만, 여기에는 Print 추상 함수의 Signature만 가지고 있으며, 실제의 구현은 여러 subclass에서 각 프린터 종류에 알맞게 하면 된다.
         "Printer"라는 클래스는 추상 클래스로서 실존의 어떤 프린터 기능을 가지고 있지 않고, dot matrix printer나 laser printer 등의 완전 클래스들 간의 공통된 특성만 지정하고 있으므로, 그 인스턴스를 만드는 것은 무의미하다. 추상 클래스는 점진적 개발 방법(Incremental Development)에 유용하게 사용될 수 있으며, 공통 속성(attribute)의 추출 및 정의에 유용하므로 문제를 모델링하는데 편리함을 더해준다.
  • Interpreter/Celfin . . . . 27 matches
         #include <iostream>
         #include <stdlib.h>
         #include <stdio.h>
         using namespace std;
         int regist[10], ram[1000];
         int testcase, number;
         int i, counting;
         int nResult;
         int a, b, c;
         int process()
          counting =0;
          while(ram[counting]!=100)
          a = ram[counting]/100;;
          b = (ram[counting]/10)%10;
          c = ram[counting]%10;
          counting++;
          counting = regist[b];
         int main()
          cin >> testcase;
          cin.getline(temp, 4);
  • IsbnMap . . . . 27 matches
         WowBook http://www.wowbook.com/generic/book/info/book_detail.asp?isbn=ISBN$ISBN2 http://image.wowbook.com/book/large_image/$ISBN2.gif
         AladdinMusic http://www.aladdin.co.kr/music/catalog/music.asp?ISBN= http://www.aladdin.co.kr/CDCover/$ISBN2_1.jpg
         AladdinBook http://www.aladdin.co.kr/catalog/book.asp?ISBN= http://www.aladdin.co.kr/Cover/$ISBN2_1.gif
          /!\ 일종의 InterWiki Map인 것이죠.
         [[ISBN(8986190842,AladdinBook)]]
         [[ISBN(8932905819,AladdinBook)]]
         [[ISBN(9049741495,AladdinMusic)]] [[ISBN(9049740871,AladdinMusic)]]
          http://www.aladdin.co.kr/music/catalog/music.asp?ISBN=9049741495
          [http://www.aladdin.co.kr/CDCover/2452436078_1.jpg]
          * 새책 : jpg {{{http://image.aladdin.co.kr/cover/cover/ISBN$_1.jpg}}}
          * 이전책 : gif {{{http://image.aladdin.co.kr/cover/cover/ISBN$_1.gif}}}
          IsbnMap 에서 map 을 분리해서 사용하는 방법이 있을 수 있고 - 이 경우 출판년도에 따라서 옵션을 달리 줘야 하는 불편함이 있습니다. - ISBN 매크로를 고쳐서 (가능하다면 jpg가 없을 때 gif를 찾는 어떤 로직을 넣는 방법이 있을지 않을까 하는 생각이 듭니다. 제가 coding에 능력이 전혀 없는지라, 이게 구현할 수 있는 방법인지는 모르겠지만 논리적 차원에서는 이게 사용자 정신건강에 이로운 해결책이 아닐까합니다. (제 위키에서 책목록을 관리하는데 수작업으로 바꿔 줄 생각을 하니 조금 끔직합니다. - 스크립트를 돌려도 되기는 하지만 ... )
         AladdinBOOK http://www.aladdin.co.kr/shop/wproduct.aspx?ISBN= http://image.aladdin.co.kr/cover/cover/$ISBN2_1.gif
         AladdinBook http://www.aladdin.co.kr/shop/wproduct.aspx?ISBN= http://image.aladdin.co.kr/cover/cover/$ISBN2_1.jpg
          모니위키 1.1.3에서는 이와 관련된 버그가 고쳐졌고, 알라딘 같은 경우는 확장자가 jpg/gif인 경우를 자동으로 검출합니다. 이 경우 php.ini에 {{{'allow_url_fopen=1}}}같은 식으로 설정이 되어있어야 합니다. 또, config.php에 {{{$isbn_img_download=1;}}} 와 같이 옵션을 넣으면 이미지를 다운로드할 수도 있게 하여, 일부 referer를 검사하여 이미지를 보이지 않게 하는 사이트에서도 활용하기쉽게 하였습니다. -- WkPark [[DateTime(2009-01-13T07:14:27)]]
         {{{[wiki:AladdinMusic:9049741495 http://www.aladdin.co.kr/CDCover/2452436078_1.jpg]}}}
         [wiki:AladdinMusic:9049741495 http://www.aladdin.co.kr/CDCover/2452436078_1.jpg]
  • JavaScript/2011년스터디/JSON-js분석 . . . . 27 matches
          * stringify의 return문에서 쓰는 fake root의 역할
         if (Object.prototype.toString.apply(value) === '[object Array]') {
          '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' :
          '[' + partial.join(',') + ']';
          gap = mind;
          return isFinite(this.valueOf()) ?
          f(this.getUTCMinutes()) + ':' +
          // String 객체
          String.prototype.toJSON =
         // 1. partial.length === 0 ? '{}' : gap, gap ? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' : '{' + partial.join(',') + '}'
         // 2. gap ? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' : '{' + partial.join(',') + '}', partial.length === 0 ? '{}' : gap
          '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' :
          '{' + partial.join(',') + '}';
          * '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
         //유니코드로 변환하는 과정 : .charCodeAt로 가져온 아스키코드를 toString(16)로 16진수 변환
          * String.prototype.toJSON =
          * str function에서 'string', 'number', 'boolean', 'null' 은 모두 string로 변환한다. 그런데 'object'의 NULL은 뭐지??
          * line 177 : Date.prototype.toJSON = function (key) 에서 key는 왜 넘겨주는가?
          * line 195 : cx의 의미는 무엇인가?
          * line 237 : value는 왜 holder[key]로 가져오는가?
  • 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++){
  • JavaStudy2003/두번째과제/입출력예제 . . . . 27 matches
         '''Java의 Swing 중 JOptionPane 으로 입력과 출력을 받는 예제.'''
         import javax.swing.JOptionPane;
         public class InputOutputExample {
          private String input = "";
          private String output = "";
          public InputOutputExample() { // Constructor
          // input string
          input = inputDialogbox("Enter the first word : ");
          output += input; // add text to String instance;
          input = inputDialogbox("Enter the second word : ");
          output += input; // add text to String instance;
          public static void main(String[] args) {
          InputOutputExample example = new InputOutputExample();
          public String inputDialogbox(String text) {
          // Shows a question-message dialog requesting
          // input from the user parented to parentComponent.
          return JOptionPane.showInputDialog(null, text);
          public void outputDialogbox(String message) {
          // Brings up an information-message dialog titled "Message".
  • 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()
  • NSISIde . . . . 27 matches
         == Opening Statement ==
         Solo Programming 으로 진행. XP 공부한거 소폭 적용해봄.
         == Engineering Task ==
         한 Iteration 을 2시간으로 잡음. 1 Task Point는 Ideal Hour(?)로 1시간에 할 수 있는 양 정도로 계산. (아.. 여전히 이거 계산법이 모호하다. 좀 더 제대로 공부해야겠다.)
         || Rich Edit Control 의 이용. 편집. 자료구조와 sink. || 0.5 ||
         || CInnerProcess Class 의 이용. 약간 수정. makensis 이용. || 0.5 ||
         || Output Windows 의 생성 || 0.5 ||
         0.4 + 0.4 + 0.5 + 0.5 + 0.5 + 0.5 + 0.7 = 3.5 (전체 3.5 Task Point) [[BR]]
         Planning & 중간 휴식시간 포함 1시간 추가 = 8 시간
          * CInnerProcess Class 0.5
          * Output Window 0.5 - 1 * 2 = 2
          * velocity : 1.3 task point
          CInnerProcess Class 이용, Nsis 연결하기 - 0.5
          Output Window 0.5 - 1 * 2 = 2
          -> Singleton 으로 있어야 할 녀석임.
          -> AppClass 에 있으면 자동으로 Singleton 이 되겠군. ^-^;
          -> 어차피 Execute Process 는 Blocking Call 임.
          * velocity : 1.7 task point
          * average : 1.5 task point
          * velocity : 0.7 task point.
  • One/구구단 . . . . 27 matches
         #include <stdio.h>
         int main()
         int number; /*입력받을 숫자*/
         int count; /*구구단의 2에서 9까지의 수*/
         printf("알고 싶은 구구단 단수를 입력하세요!!!\n");
          printf("구구단이 아닙니다!!!\n");
          printf("당신이 알고 싶은 %d 단은 다음과 같습니다.\n", number);
          printf("%d*%d=%d\n", number, count, number*count);
         #include <stdio.h>
         void main()
          int a;
          int b;
          printf("구구단을 입력하세요");scanf("%d",&a);
          printf("%d * %d= %d\n",a,b,a*b);
         #include <stdio.h>
         void main()
          int i,j;
          printf("단을 입력하세요."); scanf("%d",&i);
          printf("구구단이 아닙니다.");
          printf("%d * %d = %d\n",i,j,i*j);
  • One/윤현수 . . . . 27 matches
         #include <stdio.h>
         int main(){
         int i;
          continue;
          printf("%d ",i);
         #include <stdio.h>
         int main(){
         int i;
         int plus=0;
         printf("%d",plus);
         #include <stdio.h>
         int main(){
         int i;
         printf("숫자를 입력하세요"); scanf("%d" ,&i);
         printf ("64");
         printf ("10");
         printf ("23");
         printf ("error");
         #include <stdio.h>
         int main(){
  • SmallTalk/강좌FromHitel/소개 . . . . 27 matches
         있습니다. Dolphin Smalltalk 98을 만든 Object Arts라는 회사가 쓴 "Dolphin
         고 있으며, 필자가 자료실에 올린 Dolphin Smalltalk 역시 그런 훌륭한 개발 환
         의 장벽을 가지고 있었습니다. Dolphin Smalltalk는 이러한 장벽들을 뛰어넘어서
         니다. 이는 비단 Dolphin Smalltalk만이 아니라, 널리 사용되고 있는 VisualAge
         속도에 대해서 이야기할 때 수행 속도(running performance)와 더불어 빠질 수
         Dolphin Smalltalk와 Delhi에서 원소수가 200만개인 배열 변수에서 어떤 값을 찾
          Data: array[1 .. 2000000] of Integer;
          i, Key: Integer;
         begin
          begin
          begin
          ShowMessage( IntToStr(i) );
          ^MessageBox notify: i displayString
         있으며, Dolphin Smalltalk의 경우에도 상용 제품과 공개용 제품을 같이 내놓고
         있습니다. 또한 Dolphin Smalltalk 상용판의 경우는 약 $50 정도의 가격으로 충
         그러나 Dolphin Smalltalk의 경우는 보통 구현되는 Smalltalk의 특성보다 한 단
         우 낮게 할 수 있었으며, 이는 Dolphin Smalltalk가 다른 Smalltalk에 비해서 월
         니다.) 그러나 Dolphin Smalltalk의 경우에는 기본적으로 약 3%의 자원을 소비합
         공간의 점유율입니다. (보통 배포되는 Dolphin Smalltalk에는 약 540개의 갈래와
         생각합니다. 흔히 Delphi나 Visual Basic, C++ 등으로 Windows 용의 응용 프로그
  • SmallTalk_Introduce . . . . 27 matches
         있습니다. Dolphin Smalltalk 98을 만든 Object Arts라는 회사가 쓴 "Dolphin
         고 있으며, 필자가 자료실에 올린 Dolphin Smalltalk 역시 그런 훌륭한 개발 환
         의 장벽을 가지고 있었습니다. Dolphin Smalltalk는 이러한 장벽들을 뛰어넘어서
         니다. 이는 비단 Dolphin Smalltalk만이 아니라, 널리 사용되고 있는 VisualAge
         속도에 대해서 이야기할 때 수행 속도(running performance)와 더불어 빠질 수
         Dolphin Smalltalk와 Delhi에서 원소수가 200만개인 배열 변수에서 어떤 값을 찾
          Data: array[1 .. 2000000] of Integer;
          i, Key: Integer;
         begin
          begin
          begin
          ShowMessage( IntToStr(i) );
          ^MessageBox notify: i displayString
         있으며, Dolphin Smalltalk의 경우에도 상용 제품과 공개용 제품을 같이 내놓고
         있습니다. 또한 Dolphin Smalltalk 상용판의 경우는 약 $50 정도의 가격으로 충
         그러나 Dolphin Smalltalk의 경우는 보통 구현되는 Smalltalk의 특성보다 한 단
         우 낮게 할 수 있었으며, 이는 Dolphin Smalltalk가 다른 Smalltalk에 비해서 월
         니다.) 그러나 Dolphin Smalltalk의 경우에는 기본적으로 약 3%의 자원을 소비합
         공간의 점유율입니다. (보통 배포되는 Dolphin Smalltalk에는 약 540개의 갈래와
         생각합니다. 흔히 Delphi나 Visual Basic, C++ 등으로 Windows 용의 응용 프로그
  • StacksOfFlapjacks/이동현 . . . . 27 matches
         #include <iostream>
         using namespace std;
          int* cake; //케이크들
          int arr_size; //케익 개수
          void flip(int n){ //n번에다가 주걱 넣고 뒤집어!
          int k = (arr_size-n+1)/2;
          for(int i=0; i<k; i++){
          int searchBigIndex(int end){ //0~end index까지 검사하여 가장 큰 수의 index리턴.
          int big_index=0;
          for(int i=1;i<=end;i++){
          if(cake[big_index]<cake[i])
          big_index = i;
          return big_index;
          for(int i=1;i<arr_size;i++){
          void run(int*arr, int size){
          for(int j=arr_size-1, n=1;j>=0;j--, n++){
          if(searchBigIndex(j)==j) //제일 큰 케익이 놓일자리에 이미 놓여있다면 다음뒤집기로.
          continue;
          if(searchBigIndex(j)!=0) //맨위에 제일큰케익이 있으면 뒤집을 필요가 없다.
          flip(arr_size-searchBigIndex(j));
  • html5practice/계층형자료구조그리기 . . . . 27 matches
          <body onload="main()" style="background-color:darkgray">
         var NodePaddingW = 3;
         var NodePaddingH = 3;
         var NodeMarginW = 15;
         var NodeMarginH = 3;
          if (typeof stroke == "undefined" ) {
          if (typeof radius === "undefined") {
          ctx.beginPath();
          ctx.lineTo(x + width - radius, y);
          ctx.lineTo(x + width, y + height - radius);
          ctx.lineTo(x + radius, y + height);
          ctx.lineTo(x, y + radius);
          node.height = NodeFontHeight + NodePaddingH * 2 + NodeMarginH * 2;
          for( var i in node.child ){
          roundRect(ctx, x-NodePaddingW, y-NodePaddingH, calcRt.width + NodePaddingW*2, NodeFontHeight + NodePaddingH*2, NodeRadius, true, true);
          return NodeFontHeight + NodePaddingH * 2 + NodeMarginH * 2;
          var startY = y - node.height/2 + NodeMarginH * 2;
          for( var i in node.child ){
          nodeDraw(ctx, x + calcRt.width + NodePaddingW * 2 + NodeMarginW, startY + childHeight/2, node.child[i]);
         function main(){
  • 금고/문보창 . . . . 27 matches
         #include <iostream>
         using namespace std;
         #define MAXN 500
         static int d[MAXN+1][MAXN+1];
         static int n, k;
         void init_table()
          for (int i = 1; i <= MAXN; i++)
         int find_max_n(int k, int value)
          for (int i = 1; i <= MAXN; i++)
         void fill_cell(int k)
          int a, b, t, value;
          a = find_max_n(k - 1, value);
          for (int i = b + 1; i <= __min(t,MAXN); i++)
          init_table();
          for (int k = 2; k <= MAXN; k++)
         inline void show()
         int main()
          int nCase;
          cin >> nCase;
          for (int i = 0; i < nCase; i++)
  • 김동준/Project/Data_Structure_Overview/Chapter1 . . . . 27 matches
          //가정 : 모든 A include Array, i include index, x include item
          // j , size include integer
          Item retrive(A, i) => if(i include index)
          Array Store(A,i,x) => if( i include index)
          int list[5], or *plist[5]
          #define MAX_SIZE 100
          float sum(folat [], int);
          float input[MAX_SIZE], answer;
          void main(void) {
          int i;
          for(i = 0; i < MAX_SIZE; i++) { input[i] = i; }
          answer = sum(input, MAX_SIZE);
          printf("The sum is: %f\n", answer);
          float sum(float list[], int n) {
          int i;
         int** make2dArray(int rows, int cols) {
          int **x, i;
         [http://inyourheart.biz/zerowiki/wiki.php/%EA%B9%80%EB%8F%99%EC%A4%80/Project/Data_Structure_Overview Main으로 가기]
  • 논문번역/2012년스터디/서민관 . . . . 27 matches
         제약사항이 없는 off-line 필기 텍스트 인식 실험
         off-line 필기 인식을 위한 시스템을 소개한다.
         특히, 선형 판별 해석(linear discriminant analysis)과 allograph 문자 모델, 통계적 언어 지식을 결합한 방법을 살펴볼 것이다.
         아직까지는 대부분의 off-line 필기 인식 시스템은 우편 번호를 읽거나 은행 수표 등의 모양을 처리하는데 사용된다.
         이 논문에서는 어휘 제한이 없는 off-line의 필기 인식을 기본으로 한 Hidden-Markov-Model을 소개할 것이다.
         지난 여러해 동안 off-line 필기 인식 분야에서 상당한 진전이 있었다.
         특히 적은 양의 어휘를 이용하는 분리된 단어를 인식하는 시스템이 우편번호나 legal amount reading에 사용되었고, 높은 인식률을 기록하였다. 그래서 처리 속도나 인식의 정확도를 높일 여지가 없었다 [2, 8].
         대규모의 off-line 필기체 인식에 대한 조사는 [16]을 보아라.
         반면에 수직 위치와 일그러짐은 [15]에 나온 것과 비슷한 선형 회귀(linear regression)를 이용한 베이스라인 추정 방법을 이용해서 교정하였다. 일그러진 각도의 계산은 각의 방향을 기반으로 하였다.
         축척 인자(scaling factor)는 선형적으로 이 관계에 기반한다. 이는 이 관계가 클수록 필기 스타일이 좁아지기 때문이다.
         [11]에 기술된 것과 유사한 접근방법인 sliding window 기법이 적용되었다.
         sliding window의 각 열마다 다음 7가지 특징들이 계산되었다.
         (1) 검은색-흰색 변환의 수(window에 들어간 텍스트 이미지를 이진화 한 후에)
         (2) 기준선을 고려했을 때의 극값 분산의 평균값 위치(position of the mean value of the intensity distribution)
         필기 사이즈의 분산에 대해 견고함을 증가시키기 위해서 특징 (2)-(5)는 상단 기준선과 하단 기준선의 거리(지역 최고값을 이용한 line fitting으로 계산됨)를 이용해서 정규화되었다.
         그 후에 window의 4열마다 모든 특징들은 평균화되었다.
         따라서 우리는 window 내부에 있는 4개의 하단 윤곽점과 상단 윤곽점, 평균 값을 이용해서 라인을 추정하였다. 그리고 라인의 위치를 각각 (8), (9), (10)의 특징으로 사용하였다.
         더 넓은 임시 문맥을 고려해서, 우리는 각 특징 벡터 요소마다 근사적인 수평 파생물(approximate horizental derivative)을 계산하였다. 따라서 20차원의 특징 벡터를 얻었다.(window당 10개의 특징 + 10개의 파생물)
         선형 변환과 특징 공간의 차원을 줄이는 방법을 적용하여 원형 특징 표현(........ original feature representation)을 최적화하였다.
         우리의 경우에는 absolute discounting 을 이용한 bi-gram언어 모델과 backing-off for smoothing of probability distributions가 적용되었다.
  • 데블스캠프2005/금요일/OneCard . . . . 27 matches
         # -*- coding: UTF-8 -*-
          def __init__(self, shape=None, number=None):
          for number in cardsNums:
          for shape in cardShapes:
         def printCardDeck(pcCards, myCards, cardOnTable):
          for job in jobs:
          printDeck(job)
         def printDeck(cards):
          for card in cards:
          print upperCrossBar
          print '%s%s%s' % (post, allCards, post)
          print lowerCrossBar
          printCardDeck(pcCards, myCards, cardOnTable)
          printCardDeck(pcCards, myCards, cardOnTable)
          select = input('card index (-1:skip) : ')
          print 'you cannot handout that card'
          continue
          printDeck([cardOnTable])
          printDeck(myCards)
          continue
  • 데블스캠프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>
         using namespace std;
         void main()
          int countday = 0; //날짜 세는 변수.
          int findday = 1; //매년 추가되는 날짜.
          int endmonth, endline; //달의 끝, 주의 끝.
          int year,month;
          cin >> year;
          cin >> month;
          findday = 1;
          for (int i = 2;i<=year;i++)//각 년마다 밀리는 날짜 카운트
          findday += 2;
          findday += 1;
          for (int k = 1;k<month;k++)//각 년에서의 월까지의 중첩되는 날짜 카운트
          findday = (findday%7+countday)%7;//각 월 첫째날의 요일.
          endline = findday;
          for(int q = 0;q<findday;q++)
          for(int n = 2 ; n <= endmonth; n++)//출력부. endline은 주의 끝.
          endline++;
          if (endline == 7)
  • 미로찾기/곽세환 . . . . 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++)
  • 새싹교실/2012/강력반 . . . . 27 matches
         새로만들기 - win32 콘솔 프로젝트(빈프로젝트에 체크)
         int - 4바이트의 정수
         printf - 콘솔창에 출력을 위한 함수
          * 설유환 - printf함수, scanf함수, if문, else if문, switch 제어문을 배웠다. 특히 double, int, float의 차이를 확실히 배울 수 있었다. 잘이해안갔던 #include<stdio.h>의 의미, return 0;의 의미도 알수 있었다. 다음시간엔 간단한 알고리즘을 이용한 게임을 만들것같다. 그리고 printf("숫자%lf",input);처럼 숫자를 이용해 소숫점 표현량을 제한하여 더 이쁘게 출력하는법도 배웠다.
          * 장재영 - printf와 scanf. swtich, if else if등을 배웠고 수업시간에 배운것 말고 새로운 이론도 배웠다 그래도 이론수업보다는 실습시간이 더 재밌다. 다음시간에는 반복문에 대해서 배우고 실습해 볼 것이다. 아픙로 수업시간에 듣는것 말고도 다른 것도 좀 배워보면 조헥ㅆ다. 이해가 안가는 이론을 한번더 들을 수 있어서 수업과정을 이해하는 데도 도움이 많이 되었다. 또 적은 수의 사람이 모여서 하기 때문에 프로그래밍할때 이해가 안되는 부분을 더 자세히 들을 수 있어서 이해하는데 도움이 되었다.
          * 황현제 - 우선 c언어에서 쓰이는 기본적인 연산자가 무엇이 있는지에 대해서 배웠다. 또한 함수 4가지에 대해서 배웠는데, printf, scanf,switch, if에 대해서 배웠고 그리고 새싹강사님께 C를 이용해 작성하신 프로그램을 구경하기도 했는데, C로 이런것도 할 수 있다는 것을 알았다. 새싹 강사님께서 우선적으로 설명을 해주신다음 새싹들이 실습하는 방식으로 수업이 진행됬는데, 옆에서 강사님이 지속적인 피드백을 해주셔서 이해하기가 편했다. 다음에는 반복문에 대해서 배우고, 실습도 해봐야겠다.
         #include <stdio.h>
         int main()
          int i;
          printf("%d\n", i);
         #include <stdio.h>
         int main()
          int i, j;
          printf("%d*%d=%d\n", i,j,i*j);
          printf("\n");
         #include <stdio.h>
         int main()
          int i, j;
          printf("*");
          printf("\n");
  • 수학의정석/집합의연산/이영호 . . . . 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)
  • 시간맞추기/허아영 . . . . 27 matches
         #include <stdio.h>
         #include <conio.h>
         #include <time.h>
         void main()
          printf("wait 8 seconds...\n");
          printf("and press any key exactly...");
          printf("You win !!\n");
          printf("your time is off.");
         #include <stdio.h>
         #include <conio.h>
         #include <time.h>
         void main()
          printf("wait 8 seconds...\n");
          printf("and press any key exactly...");
          printf("You win !!\n");
          printf("your time is off.");
         #include <stdio.h>
         #include <conio.h>
         #include <time.h>
         void main()
  • 중위수구하기/허아영 . . . . 27 matches
         #include <stdio.h>
         int search_middleNum(int *, int *, int *);
         void changeXY(int *, int *);
         void main()
          int a, b, c, middleNum;
          printf("멈추려면 '-999 0 0' 입력\n");
          printf("비교할 A, B, C 값을 차례로 입력 : ");
          printf("중위수 = %d", middleNum);
         int search_middleNum(int *a, int *b, int *c)
          int middle;
         void changeXY(int *x, int *y)
          int temp;
          printf("중위수 = %d", middleNum);
          printf("중위수 = %d", search_middleNum(&a, &b, &c));
         그리고 int search_middleNum(int *a, int *b, int *c) 이함수는 구지 포인터로 값을 넘겨받을 필요는 없지 않나..
         두 친구가 젤 활발하군요. A 코드를 B로 바꾸면 중간 변수의 메모리도 낭비되지 않고, 좀더 최적화에 다가간 코드가 됩니다. 하지만 A를 B로 바꾸면 가독성이 떨어집니다. 상황에 따라 다르겠지만 running time에 별 차이가 없다라고 본다면, 저라면 가독성을 택할 것 같습니다. -- 보창
  • 진법바꾸기/문보창 . . . . 27 matches
         #include <iostream>
         using namespace std;
         const int LEN = 50;
         bool input(int & num, int & base);
         void parse_base(const int num, const int base);
         void show_num(const int * parse_num, const int length);
         int main()
          int num, base;
          isEnd = input(num, base);
         bool input(int & num, int & base)
          cin >> num;
          cin >> base;
         void parse_base(const int num, const int base)
          int parse_num[LEN];
          int length = 0;
          int temp = num;
         void show_num(const int * parse_num, const int length)
          for (int i = length-1; i >= 0; i--)
  • 파스칼삼각형/강희경 . . . . 27 matches
         #include <iostream>
         using namespace std;
         void printArray(int *arr, int n); //각 행을 출력하는 함수
         void copyArray(int *fArr, int *arr); //이전의 행을 임시저장하는 함수
         int column;
         int main(){
          cin >> column;
          int *array = new int[column]; //출력되는 행의 값
          int *foreArray = new int[column]; //이전의(상위의) 행의 값
          for(int i = 0; i<column; i++){
          for(int j = 1; j < column-1; j++){ //숫자는 자신의 머리 위에 있는 2개의 숫자를 더한 값
          printArray(array, i); //행의 내용을 출력한다.
         void printArray(int *arr, int n){
          int blank = (column - n)/2;
          for(int j = 0;j < blank; j++){ //행 출력전의 빈칸 출력
          for(int i = 0; i <= n; i++){ //숫자 사이 사이의 빈칸 출력
         void copyArray(int *fArr, int *arr){
          for(int i = 0; i < column; i++){
  • 프로그래밍/DigitGenerator . . . . 27 matches
          private static int processOneCase(String line) {
          int number = Integer.parseInt(line);
          for(int i = 1; i < number; i++) {
          int bitSum = 0;
          String str = Integer.toString(i);
          String [] bits = str.split("");
          for(String each : bits) {
          continue;
          bitSum += Integer.parseInt(each);
          public static void main(String[] args) {
          String line = br.readLine();
          int testCase = Integer.parseInt(line);
          for(int i = 0; i < testCase; i++) {
          line = br.readLine();
          int result = processOneCase(line);
          System.out.println(result);
          e.printStackTrace();
          e.printStackTrace();
  • 헝가리안표기법 . . . . 27 matches
         솔직히 필자도 얼마전까지 이런 변수 명명에 대한 관례를 잘 지키지 않았다. 그러나 변수 명명에 관한 표준화된 관례를 지켜주면 코드의 가독성을 높여줄 뿐 아니라 예를 들어 카운터 변수를 count라고 지을지 cnt라고 지을지 고민하지 않아도 되는 편리함을 누릴 수 있다. - [http://dasomnetwork.com/~leedw/mywiki/moin.cgi/_c7_eb_b0_a1_b8_ae_be_c8_20_c7_a5_b1_e2_b9_fd?action=edit 출처]
         || i || int || integer for index || int iCars ||
         || n || int || number, quantity || int nNum ||
         || d || double || double floating point || double dPercent ||
         || f || float || floating point || float fPercent ||
         || p || * || any pointer || int *piAddr ||
         || sz || * || null terminated string of characters || char szText[16] ||
         || pfn || * || function pointer || int (*pifnFunc1)(int x, int y) ||
         || t || struct || a user defined type || ... ||
         || g_ || Global || Global Variable || String *g_psBuffer ||
         || m_ || Member || class private member variable || int m_iMember ||
         || str || String || string class(C++) || String strName ||
         || h || handle || handle to something || hMenu ||
         || x/y || ... || used as size || int xWitdth, yHeight ||
  • 호너의법칙/김태훈zyint . . . . 27 matches
         #include <stdio.h>
         void fstring(FILE* f,char c, int n)
          int i;
          fprintf(f,"%c",c);
          fprintf(f,"\n");
         int main()
          int a[11] = {3,3,3,3,3,3,3,3,3,3,3};
          int asize = (sizeof(a)/sizeof(int));
          int i,x,f,addcount,mulcount;
          //input x
          printf("x = ");
          fstring(file,'=',53);
          fprintf(file,"|index|");
          for(i=0;i<asize;i++) fprintf(file," %d |",i);
          fprintf(file,"\n");
          fstring(file,'=',53);
          fprintf(file,"| data|");
          for(i=0;i<asize;i++) fprintf(file," %d |",a[i]);
          fprintf(file,"\n");
          fstring(file,'=',53);
  • 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
  • 5인용C++스터디/클래스상속보충 . . . . 26 matches
         #include <iostream>
         #include <string>
         using namespace std;
          void SendToSMSServer(string number, string message)
          void SendMessage(string number, string message)
          void SendToSMSServer(string number, string message)
          void SendToSMSServer(string number, string message)
         void main()
         #include <iostream>
         #include <string>
         using namespace std;
          virtual void SendToSMSServer(string number, string message)
          void SendMessage(string number, string message)
          void SendToSMSServer(string number, string message)
          void SendToSMSServer(string number, string message)
         void main()
  • 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;
  • CheckTheCheck/Celfin . . . . 26 matches
         #include <iostream>
         using namespace std;
         int exit_cond;
         int i, j, m, n;
         int gameNum=0;
         bool checkPp(int x, int y, char Pp)
         bool checkRr(int x, int y, char Rr)
         bool checkBb(int x, int y, char Bb)
         bool checkQq(int x, int y, char Qq)
         bool checkKk(int x, int y, char Kk)
         bool checkNn(int x, int y, char Nn)
          cout << "Game #" <<gameNum << ": black king is in check."<<endl;
          cout << "Game #" <<gameNum << ": white king is in check."<<endl;
          cout << "Game #" <<gameNum << ": no king is in check." <<endl;
         int main()
          cin >> chess[j][i];
  • ContestScoreBoard/허아영 . . . . 26 matches
         #include <iostream>
         using namespace std;
         #define MAX_OF_TEAM_NUM 100
         #define MAX_OF_Q 9
         int main()
          int case_num;
          int team_data[MAX_OF_TEAM_NUM+1][MAX_OF_Q+1]; // 0번째 배열은 시간 벌점 다음부터는
          int temp_team_num, q_num, q_index[MAX_OF_TEAM_NUM]; // 문제 푼 index
          int temp_time;
          int case_count = 0;
          int i;
          q_index[i] = 1;
          for(int j = 1; j <= MAX_OF_Q; j++)
          cin >> case_num; // case num
          cin >> temp_team_num;
          cin >> q_num;
          cin >> temp_time;
          cin >> moment;
          team_data[temp_team_num][q_index[temp_team_num]] = q_num; // 문제번호 넣기
          q_index[temp_team_num]++;
  • Doublets/문보창 . . . . 26 matches
         #include <iostream>
         using namespace std;
         #include <cstring>
         void inDictionary(Node & dic);
         void inWords(Node & word);
         void enNode(Node & node, int type = 1);
         int main()
          inDictionary(dictionary);
          inWords(words);
         void inDictionary(Node & dic)
         void inWords(Node & word)
         void enNode(Node & node, int type)
          int count = 0;
          while (cin.peek() != '\n')
          cin.getline(word, 17, '\n');
          cin.getline(word, 17, ' ');
          cin.getline(word, 17, '\n');
          int len = strlen(word);
          cin.get();
          int gap = 0;
  • EightQueenProblem/용쟁호투SQL . . . . 26 matches
         y int NULL,
         x1 int NULL,
         x2 int NULL,
         x3 int NULL,
         x4 int NULL,
         x5 int NULL,
         x6 int NULL,
         x7 int NULL,
         x8 int NULL,
         fx int NULL,
         fy int NULL)
          INSERT INTO temp_queen_attack VALUES(1,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(2,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(3,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(4,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(5,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(6,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(7,0,0,0,0,0,0,0,0,0,0)
          INSERT INTO temp_queen_attack VALUES(8,0,0,0,0,0,0,0,0,0,0)
         CREATE PROCEDURE p_check_attack @x int, @y int
  • EmbeddedSystemClass . . . . 26 matches
         http://www.huins.com/new1//img/u-51.jpg
         Intel XScale PXA255 400MHz processor 탑재
         Linux, WinCE. Nucleus/uCOS-II RTOS운영체제 채택.
         [http://www.huins.com/new1/sub/sub2-3-6.htm HUINS 보드 소개 페이지]
         [http://zeropage.org/common-ftp/@embedded-system-cd/HUINS/pxa255_pro3v5.2A.iso 내장형시스템 보드 CD DOWNLOAD] : PXA255A (Intel XScale 400Mhz)
         패키지 묶음 설치에서 '''Standard Package''' 만을 선택한다. (x-windows, gnome 은 차후 필요한 부분만을 설치한다.)
         최신 버전의 리눅스를 구해서 할 경우 페도라 Full install 의 경우 큰 문제가 없으나,
         aptitude install linux-headers-''[version]''
         aptitude install linux-image-''[version]''
         aptitude install gcc
         aptitude install make
         // tftp 터널링에 필요한 inetd 설치, tftpd 설치
         aptitude install openbsd-inetd
         aptitude install tftp-hpa tftpd-hpa
         aptitude install minicom
         aptitude install nfs-kernel-server
         aptitude install nfs-client
         // 필요할 경우 다음의 명령어를 통해서 x-window, gnome 을 설치한다.
         aptitude install x-window-system
         aptitude install gnome
  • 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
  • JollyJumpers/오승균 . . . . 26 matches
         #include <iostream>
         using namespace std;
         const int size = 65535;
         void check_possible (int max); // Jolly판단 자체가 가능한 수열인가 검사
         void check_Jolly (int max, int ar[]); // Jolly여부를 판단
         void show_num (int max, int ar[]); // 입력한 숫자 출력
         int main()
          int array[size];
          int num;
          int total_num = 0;
          int i = 0;
          while (cin >> num)
          continue;
          continue;
         void check_possible (int max)
         void check_Jolly (int max, int ar[])
          int temp;
          for (int i = 1; i < max - 1; i++)
          for (int j = 0; j < max - 1; j++)
         void show_num (int max, int ar[])
  • LinuxProgramming/QueryDomainname . . . . 26 matches
         request domain name thru ip address from DNS server
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
         #include <sys/types.h>
         #include <arpa/inet.h>
         #include <netdb.h>
         #include <unistd.h>
         void error_handling(const char* message);
         int main(int argc, char ** argv)
          struct sockaddr_in addr;
          int i;
          printf("USAGE : %s <ip>\n", argv[0]);
          addr.sin_addr.s_addr=inet_addr(argv[1]);
          host = gethostbyaddr((char*)&addr.sin_addr, 4, AF_INET);
          error_handling("gethost... error");
          printf("Officially name : %s \n\n", host->h_name);
          printf("Address Type:$s\n", host->h_addrtype == AF_INET? "AF_INET":"AF_INET6");
          puts(inet_ntoa( *(struct in_addr*)host->h_addr_list[i]));
         void error_handling(const char* message)
  • Marbles/신재동 . . . . 26 matches
         #include <iostream>
         using namespace std;
         const int MAX_NUMBER = 1000;
         unsigned int testCase = 0;
         unsigned int marbles[MAX_NUMBER] = {0,};
         unsigned int c1[MAX_NUMBER] = {0,};
         unsigned int n1[MAX_NUMBER] = {0,};
         unsigned int c2[MAX_NUMBER] = {0,};
         unsigned int n2[MAX_NUMBER] = {0,};
         unsigned int m1[MAX_NUMBER] = {MAX_NUMBER,};
         unsigned int m2[MAX_NUMBER] = {MAX_NUMBER,};
         void input();
         int main()
          input();
         void input()
          cin >> marbles[testCase];
          cin >> c1[testCase] >> n1[testCase];
          cin >> c2[testCase] >> n2[testCase];
          for(int i = 0; i < testCase; i++)
          int maxX = marbles[i] / n1[i];
  • OurMajorLangIsCAndCPlusPlus/print . . . . 26 matches
         printf와 유사한 print 함수 만들기
         || 이상규 || [OurMajorLangIsCAndCPlusPlus/print/이상규] || 2시간 ||
         || 이도현 || [OurMajorLangIsCAndCPlusPlus/print/이도현] || 3시간 30분 ||
         || 하기웅 || [OurMajorLangIsCAndCPlusPlus/print/하기웅] || 2시간 30분 ||
         || [조현태] || [OurMajorLangIsCAndCPlusPlus/print/조현태] || ? ||
         || 허준수 || [OurMajorLangIsCAndCPlusPlus/print/허준수] || 3시간 ||
         || 김민경 || [OurMajorLangIsCAndCPlusPlus/print/김민경] || 진행중 ||
         || 김상섭 || [OurMajorLangIsCAndCPlusPlus/print/김상섭] || 2시간(열라 물어보면서..ㅡㅜ) ||
         void print(const char *, ...);
         printf, scanf 계열의 함수 사용 금지
         printf와 같이 %d, %s, %f를 통해 정수(int), 문자열(char*), 실수(double)를 출력할 수 있다.
         int a = 10;
         print("number: %d, string: %s, real number: %f\n", a, b, c);
         number: 10, string: example, real number: 10.5
         int a[3] = { 1, 2, 3 };
         print("array: @d\n", a, 3);
         print("array: @s\n", b, 2);
         int a = 123;
         int b = 12345;
         int c = 12345678;
  • Plugin/Chrome/네이버사전 . . . . 26 matches
          * 크롬은 아시다시피 Plug-in을 설치할수 있다 extension program이라고도 하는것 같은데 뭐 쉽게 만들수 있는것 같다. 논문을 살펴보는데 사전기능을 쓰기위해 마우스를 올렸지만 실행이 되지 않았다.. 화난다=ㅂ= 그래서 살짝 살펴보니 .json확장자도 보이는것 같지만 문법도 간단하고 CSS와 HTML. DOM형식의 문서구조도 파악하고 있으니 어렵지 않을것 같았다. 그래서 간단히 네이버 링크를 긁어와 HTML element분석을 통해 Naver사전을 하는 Plug-in을 만들어볼까 한다.
         크롬의 개발자 API주소는 지금 사이트 이전을 하고있는데 맨앞에 code가 developer로 이전하는것 같았다. 여튼 index의 주소는 다음과 같다.
         http://code.google.com/chrome/extensions/index.html
         // found in the LICENSE file.
          "sort=relevance&" + // another good one is "interestingness-desc"
          <title>Getting Started Extension's Popup</title>
          min-width:357px;
          margin:5px;
          <!-- JavaScript and HTML must be in separate files for security. -->
          * window.open함수를 이용하여 body를 '''더블''' 클릭하면 새로운 팝업창을 띄운다.
          * index.html
         function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar,
          window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height
         <body ondblclick = "na_open_window('win', 'popup.html', 50, 100, 100, 30, 0, 0, 0, 0, 0)">
          * 위의 na-open_window는 임의로 만든 함수긴한데 status_bar나 기타 스크롤이 가능하지 않은 popup을 만들고 있다. 0은 false니까.
          "name" : "BrowsingData API: Basics",
          "browsingData"
          * inline script를 cross script attack을 방지하기 위해 html과 contents를 분리 시킨다고 써있다. 이 규정에 따르면 inline으로 작성되어서 돌아가는 javascript는 모두 .js파일로 빼서 만들어야한다. {{{ <div OnClick="func()"> }}}와 같은 html 태그안의 inline 이벤트 attach도 안되기 때문에 document의 쿼리를 날리던가 element를 찾아서 document.addEventListener 함수를 통해 event를 받아 function이 연결되게 해야한다. 아 이거 힘드네. 라는 생각이 들었다.
  • RandomWalk/문원명 . . . . 26 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int end(int aBoard[][5]);
         void output(int aBoard[][5]);
         void main()
          int board[5][5];
          int setX = rand() %5;
          int setY = rand() %5;
          int answer,go,x,y;
          for(int i = 0; i < 5; i++)
          for(int j = 0; j < 5; j++)
         int end(int aBoard[][5])
          int find = 0;
          find = 0;
          int aAnswer;
          for(int m = 0 ; m < 5 ; m++)
          for(int n = 0 ; n < 5 ;n++)
          find++; //0이 있으면 카운트
          if (find != 0) aAnswer = 1; //0이 있으면 1 리턴
  • Refactoring/DealingWithGeneralization . . . . 26 matches
         = Chapter 11 Dealing With Generalization =
          public Manager (String name, String id, int grade) {
         public Manager (String name, String id, int grade) {
          * A class has features that are used only in some instances.[[BR]]''Create a subclass for that subset of features.''
         == Extract Interface ==
          * Several clients use the same subset of a class's interface, or two classes have part of their interfaces in common.[[BR]]''Extract the subset into an interface.''
         http://zeropage.org/~reset/zb/data/ExtractInterface.gif
          * You have two methods in subclasses that perform similar steps in the same order, yet the steps are different.[[BR]]''Get the steps into methods with the same signature, so that the original methods become the same. Then you call pull them up.''
         == Replace Inheritance with Delegation ==
          * A subclass uses only part of a superclasses interface or does not want to inherit data.[[BR]]''Create a field for the superclass, adjust methods to delegate to the superclass, and remove the subclassing.''
         http://zeropage.org/~reset/zb/data/ReplaceInheritanceWithDelegation.gif
         == Replace Delegation with Inheritance ==
          * You're using delegation and are ofter writing many simple delegations for the entire interface.[[BR]]''Make the delegating class a subclass of the delegate.''
         http://zeropage.org/~reset/zb/data/ReplaceDelegationWithInheritance.gif
         ["Refactoring"]
  • 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"
  • SmithNumbers/남상협 . . . . 26 matches
         #include <iostream>
         using namespace std;
         int testCase;
         int number;
         int smithNumber = 0;
         int getPrimeFactorSum(int num) {
          int sum=0;
          for(int i=2; i <=num ; i++)
          int div = i;
          int ten = 10;
          div = int(div/ten);
         int getEachSum(int num) {
          int sum=0;
          int ten =10;
          num = int(num/ten);
          for(int i = number; i<1000000000; i++)
         void input() {
          cin>>testCase;
         void main() {
          input();
  • [Lovely]boy^_^/EnglishGrammer/ReportedSpeech . . . . 26 matches
          A. You want to tell somebody else what Tom said. There are two ways of doing this :
          ex) Tom said, "I'm feeling sick."
          ex) Tom said that he was feeling sick.
          B. When we use reported speech, the main verb of the sentence is usually past. The rest of the sentence is usually past, too :
          C. The simple past can usually stay the same in reported speech, or you can change it to the past perfect.
          ex) Tom said he woke up feeling sick, so he stayed in bed. or
          Tom said he had woken up feeling sickm so he stayed in bed.
          A. It is not always necessary yo change the verb when you use reported speech. If you report something and it is still true, you do not need to change the verb.
          ex) direct : Tom said, "New York is more exciting than London."
          reported : Tom said that New York is more exciting than London. (New York is stlll more exciting. The situation hasn't changed.)
          Is is also correct to change the verb into the past.(--;)
          ex) Tom said that New York was more exciting than London.
          Later that day you see Jim. He is looking fine and carrying a tennis racquet. You say :
          Use tell when you say who you are talking to ( Tell Somebody(O) )
          But you can say something to somebody.
          C. Tell/ask somebody to do something.
          We also use the infinitive(to do/ to stay, etc...) in reported speech, especially with tell and ask(for orders and requests)
          ex1) direct : "Stay in bed for a few days," the doctor said to me.
          reported : The doctor told me to stay in bed for a few days.
  • 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
          <embed src="http://zerowiki.dnip.net/~undinekr/lunia_ost1.mp3">
         #include <iostream>
         #include <vector>
         #include <numeric>
         using namespace std;
         int GetMaxTryNumber(int buildingHeight, int tryNumber)
          int countNumber = 0;
          vector<int> nodes;
          while (accumulate(nodes.begin(), nodes.end(), 0) <= buildingHeight)
          for (register int i = 1; i < (int)nodes.size(); ++i)
         void main()
          int testNumber;
          cin >> testNumber;
          for (register int i = 0; i < testNumber; ++i)
          int buildingHeight;
          int tryNumber;
          cin >> buildingHeight;
          cin >> tryNumber;
          cout << GetMaxTryNumber(buildingHeight, tryNumber) << endl;
  • 데블스캠프2005/금요일/OneCard/이동현 . . . . 26 matches
          int num;
          int face;
          Card delete(int n){
          int search(int num, int face){
          for(int i=0; i<arr.size(); i++){
          int size(){
          for(int i=0; i<arr.size(); i++){
          System.out.print(i+".("+card.face+" "+card.num+") ");
          System.out.print("\n");
          void initCards(){
          for(int i=0; i<4; i++){
          for(int j=0; j<13; j++){
          for(int i=0; i<10; i++){
          comCards.add(stack.delete(rand.nextInt(stack.size()-1)));
          playerCards.add(stack.delete(rand.nextInt(stack.size()-1)));
          discard.add(stack.delete(rand.nextInt(comCards.size())));
          System.out.println("컴퓨터카드");
          System.out.println("마지막으로 낸 카드");
          System.out.println(discard.retTop());
          System.out.println("플레이어카드");
  • 데블스캠프2006/화요일/pointer/문제3/성우용 . . . . 26 matches
         #include<iostream>
         using namespace std;
         void main()
          int i;
          int *a = new int[4];
          int *b = new int[4];
          int *c = new int[4];
         #include<iostream>
         using namespace std;
         void main()
          int i,j;
          int **a = new int*[5];
          int **b = new int*[5];
          int **c = new int*[5];
          int **d = new int*[5];
          a[i] = new int[5];
          c[i] = new int[5];
          b[i] = new int[5];
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/김상호 . . . . 26 matches
         {{{#include<stdio.h>
         #include<stdlib.h>
         #include<time.h>
          int gong;
          int bang;
          int hp;
         int main()
          int sel;
          printf("저글링 0이 저글링 1에게 데미지 %d를 입혀 HP가 %d가 되었다.\n", a[0].gong, a[1].hp);
          printf("저글링 1이 저글링 0에게 데미지 %d를 입혀 HP가 %d가 되었다.\n", a[1].gong, a[0].hp);
          printf("저글링 0이 전사했습니다.\n");
          printf("저글링 1이 전사했습니다.\n");
         #include<stdio.h>
         #include<stdlib.h>
         #include<time.h>
          int gong;
          int bang;
          int hp;
          int name;
          printf("저글링 %d이 저글링 %d에게 데미지 %d를 입혀 HP가 %d가 되었다.\n", a.name, b.name, a.gong, b.hp);
  • 마름모출력/임다찬 . . . . 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;
  • 새싹교실/2011/學高/5회차 . . . . 26 matches
         #include<stdio.h>
         int main()
          int a=1,b=2,c=3,d=4,e=5;
          printf("%d\n",(++a)+(b++)*(c+d)%e);
          * redirection: input: <, output: >
          * increment/decrement, postfix/prefix: 이거 모르면 곧바로 질문합니다. 저 자는데 깨워도 되요(물론 ~~안~~못 받겠지만)
         === 자기 반성 및 수정할 점(feeling/finds) ===
         -increment operator ++i는 expression이 실행되기 전, i++는 후에 1을더해준다
         === 자기 반성 및 고칠 점(feeling/finds) ===
         #include<stdio.h>
         int main()
          int a=1,b=2,c=3,d=4,e=5;
          printf("%d\n",(++a)+(b++)*(c+d)%e);
         === 자기 반성 및 고칠 점(feeling/finds) ===
         #include<stdio.h>
         int main()
          int a=1,b=2,c=3,d=4,e=5;
          printf("%d\n",(++a)+(b++)*(c+d)%e);
         === 자기 반성 및 고칠 점(feeling/finds) ===
  • 최대공약수/허아영 . . . . 26 matches
          int temp;
         잘못된 변수로 print한 것을 발견..
         #include <stdio.h>
         void main()
          int x2, y2, x, y,remainder;
          printf("두 숫자 입력 (ex| 5 6):");
          int temp;
          remainder = x2 % y2; // x2= 나눠질 값. y2= 나누는 값. remainder= 나머지.
          y2 = remainder;
          printf("x = %d, y = %d\n GCD is %d", x, y, x2);
         #include <stdio.h>
         void Eu_clidian(int x, int y);
         void main()
          int x, y;
          printf("두 숫자 입력 (ex| 5 6):");
         void Eu_clidian(int x, int y)
          int x2, y2, remainder;
          remainder = x2 % y2;
          y2 = remainder;
          printf("The GCD of %d and %d is %d\n", x, y, x2);
  • 5인용C++스터디/더블버퍼링 . . . . 25 matches
         #include "resource.h"
         int my;
         void DrawBitmap(HDC hdc,int x,int y,HBITMAP hBit)
         int bx,by;
         int i,j;
         GetClientRect(hWndMain,&crt);
         hdc=GetDC(hWndMain);
          KillTimer(hWndMain,1);
         ReleaseDC(hWndMain,hdc);
         InvalidateRect(hWndMain,NULL,FALSE);
         LRESULT CALLBACK WndProc(HWND hWnd,UINT iMessage,WPARAM wParam,LPARAM lParam)
         PAINTSTRUCT ps;
          hBaby=LoadBitmap(g_hInst,MAKEINTRESOURCE(IDB_BITMAP1));
         case WM_PAINT:
          hdc=BeginPaint(hWnd, &ps);
          EndPaint(hWnd, &ps);
         return(DefWindowProc(hWnd,iMessage,wParam,lParam));
         ||[[HTML(<img src = http://www.winapi.co.kr/win32lec/lecnew/21-5-3.files/image002.jpg>)]]||
         ||[[HTML(<img src = http://www.winapi.co.kr/win32lec/lecnew/21-5-3.files/image004.jpg>)]]||
         ||[[HTML(<img src = http://www.winapi.co.kr/win32lec/lecnew/21-5-3.files/image006.jpg>)]]||
  • 8queen/강희경 . . . . 25 matches
         #include<iostream>
         #include<ctime>
         using namespace std;
         void eraser(int row, int col);
         int board[8][8];
         int count = 0;
         int main()
          for(int i = 0; i<8;i++)
          for(int j = 0; j<8; j++)
          int row = rand() % 7 + 0;
          int col = rand() % 7 + 0;
          for(int k = 0; k<8;k++)
          for(int l = 0; l<8; l++)
         void eraser(int row, int col)
          for(int m = 1; row+m< 8;m++)
          for(int n = 1; row-n >=0;n++)
          for(int o = 1; col+o< 8;o++)
          for(int p = 1; col-p>=0;p++)
          for(int q = 1; row+q<8 && col-q>=0;q++)
          for(int r = 1; row+r<8 && col+r<8 ;r++)
  • ConstructorMethod . . . . 25 matches
         class Point
          void setXnY(int x, int y) { /* ... */ }
         Point* pt = new Point;
         class Point
          void setXnY(int x, int y) { /* ... */ }
          static Point* makeFromXnY(int x, int y)
          Point* pt = new Point;
         Point* pt = Point::makeFromXnY(0,0);
         class Point
          void setXnY(int x, int y) { /* ... */ }
          static Point* makeFromXnY(int x, int y) { /* ... */ }
          static Point* makeFromRnTheta(int r, int theta)
          return makeFromXnY(r*cos(theta),r*sin(theta));
  • EightQueenProblem/Leonardong . . . . 25 matches
         [Debugging]을 준비하다가 DebugJournal을 적으려고 풀어 본 문제
          def __init__(self):
          for i in range( aSize ):
          for p in self.positions:
          def findNext(self, aRow, aCol):
          return self.findNext(aRow, aCol+1)
          for row in range(aSize/2):
          row, col = self.findNext(row, col)
          print
          for b in self.board:
          print b
          ## invalid
          def testFindNext(self):
          row, col = q.findNext(0, 0)
          row, col = q.findNext(row+1,0)
          row, col = q.findNext(row+1,0)
          row, col = q.findNext(row+1,0)
          row, col = q.findNext(row+1,0)
          row, col = q.findNext(row+1,0)
          ## back again
  • 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[])
  • FactorialFactors/조현태 . . . . 25 matches
          결국 입력은 무슨 말인지 몰라서 내맘대로 정해버렸다. cin..ㅎㅎㅎ 누가 설명좀 해주..ㅎㅎ
         #include <iostream>
         #include <math.h>
         using namespace std;
         unsigned int factorial_factors(unsigned int);
         void main()
          cin >> input_number;
          cout << factorial_factors(input_number) << "\n";
          cin >> input_number;
         unsigned int factorial_factors(unsigned int answer)
          unsigned int *log_answer = (unsigned int*)malloc((answer+2)*sizeof(unsigned int));
          unsigned int sum = 1;
          unsigned int gab;
          unsigned int suchEnd = (unsigned int)sqrt((double)answer);
          for (register unsigned int i=4; i<=answer;i+=2)
          for (register unsigned int i=3; i<=suchEnd; ++i)
          for(register unsigned int j = i * i; j <= answer; j+= gab)
          for (register unsigned int i = suchEnd + 1; i <= answer; ++i)
  • InWonderland . . . . 25 matches
         || Upload:MainWindow.zip || 철민 || 홈페이지 ||
         || Upload:EC_AliceCardHome002.zip || cheal min || 홈페이지 ||
         public bool CertifyStore(string storeReg, string storeAuth) // -인자: 사업자 등록 번호, 가맹점 비밀 번호
         public int ReferPoint(string cardNum, string cardPwd) // -인자: 카드 번호 -결과: 포인트
         public bool SavePoint(string storeReg, string storeAuth, string cardNum, string cardPwd, int money, int point) // -인자: 사업자 등록 번호, 카드 번호, 돈, 적립할 포인트
         public bool UsePoint(string storeReg, string storeAuth, string cardNum, string cardPwd, int money, int point) // -인자: 사업자 등록 번호, 카드 번호, 돈, 사용한 포인트
  • Marbles/이동현 . . . . 25 matches
         #include <iostream>
         using namespace std;
         void main(){
          int N[100], n1[100], c1[100], n2[100], c2[100];
          int tot_arr = 0;
          for(int i=0;i<100;i++){
          cin >> N[i];
          cin >> c1[i]>> n1[i]>> c2[i] >> n2[i];
          int r = N[i]%n1[i];
          int m1 = N[i]/n1[i];
          int m2 = -1;
          for(int k=0; k<=n2[i] ;k++){
          int tempk;
         #include <iostream>
         using namespace std;
         void main(){
          int N[100], n1[100], c1[100], n2[100], c2[100];
          int tot_arr = 0;
          for(int i=0;i<100;i++){
          cin >> N[i];
  • MoinMoinNotBugs . . . . 25 matches
         == This is *NOT* a Browser bug with CSS rendering ==
         <b>window</b> <ul>
          The main, rectangular background, control and data area of an application. <p></ul>
          A temporary, pop-up window created by the application, where the user can
         enter information and provide commands. <p></ul>
         '''The HTML being produced is invalid:''' ''Error: start tag for "LI" omitted, but its declaration does not permit this.'' That is, UL on its lonesome isn't permitted: it must contain LI elements.
         Also worth noting that ''Error: Missing DOCTYPE declaration at start of document'' comes up at the HEAD tag; and ''Error: document type does not allow element "FONT" here'' for a FONT tag that's being used inside a PRE element.
         ''Indeed the <ul> should be a <dl> or so for pure indents. I'll add HTML conformity checking as a todo.''
         Please note also that to be "identical," the second P tag should ''follow'' the /UL, not precede it. The implication as-is is that the P belongs to the UL block, when it doesn't. It may be worth using closing paragraph tags, as an aide to future XHTML compatibility, and to make paragraph enclosures wholly explicit.
         This is not an Opera bug. The HTML is invalid. '''The blocks are overlapping, when they are not allowed to:''' P UL P /UL UL P /UL is not a sensible code sequence. (It should be P UL /UL P UL /UL P... giddyupgiddyup?)
         I suspect this problem is pervasive, and I also suspect that the solution is almost moot; probably a one-off counting problem, or a mis-ordered "case" sort of sequence. If the /UL closing tag were to precede the P opening tag, all would be well.
         Hey! That ToC thing happening at the top of this page is *really* cool!
         ''This issue will be resolved in the course of XML formatting -- after all, XML is much more strict than any browser.''
  • MoreEffectiveC++/C++이 어렵다? . . . . 25 matches
         작성자 : 류상민(["neocoin"], ZP 99) [[BR]]
          === Inheritance - Overriding - virtual ===
          [http://zeropage.org/moin/moin.cgi/MoreEffectiveC_2b_2b_2fEfficiency#head-fe2478216366d160a621a81fa4e3999374008afa Item 24 Virtual 관련], [http://zeropage.org/moin/moin.cgi/MoreEffectiveC_2b_2b_2fMiscellany#head-ce86e4dc6d00b898731fbc35453c2e984aee36b8 Item 32 미래 대비 프로그램에서 String문제]
          * Multiinheritance 에서 제기되는 문제
          [http://zeropage.org/moin/moin.cgi/MoreEffectiveC_2b_2b_2fEfficiency#head-4e0fa0edba4b5f9951ea824805784fcc64d3b058 Item 24 다중 상속 관련]
          === RTTI (Real Time Type Information) ===
          [http://zeropage.org/moin/moin.cgi/MoreEffectiveC_2b_2b_2fEfficiency#head-df8e5cb1fbb906f15052798c446df0ed08dfeb91 Item 24 RTTI 관련]
          [http://zeropage.org/moin/moin.cgi/MoreEffectiveC_2b_2b_2fTechniques3of3 Item 31]
          [http://zeropage.org/moin/moin.cgi/MoreEffectiveC_2b_2b_2fTechniques3of3#head-85091850a895b3c073a864be41ed402384d1868c RTTI를 이용해 구현 부분]
          === Polymorphism - Overloading ===
          [http://zeropage.org/moin/moin.cgi/MoreEffectiveC_2b_2b_2fMiscellany#head-a8fe938a36d3be47de007ce24f1d367295cd7ea7 Item 34 name mangle 관련]
          [http://zeropage.org/moin/moin.cgi/MoreEffectiveC_2b_2b_2fMiscellany#head-9b5275859c0186f604a64a08f1bdef0b7e9e8e15 Item 34]
          * 생각해볼 name mangling - overloading
          [http://zeropage.org/moin/moin.cgi/MoreEffectiveC_2b_2b_2fMiscellany#head-a8fe938a36d3be47de007ce24f1d367295cd7ea7 Item 34 name mangle 관련]
  • NoSmokMoinMoinVsMoinMoin . . . . 25 matches
         || 기능 || Moin 1.1 || Nosmok moinmoin || 비고 ||
         || 속도 || 느림 || 보통 || 이건 좀 개인적 느낌임. 다른 사람 생각 알고 싶음. nosmok moinmoin 은 action 으로 Clear History 지원 ||
         || login || u-id || id/pass || 이건 nosmok 쪽이 더 익숙하고 편리한 형태라 생각. 기존 u-id 식 로그인이 사람들 고생 좀 시킨것을 생각하면.||
         || page 별 접근권한 || 지원 || 지원 || login 해야만 글을 쓸 수 있는 페이지들 지정가능(nosmok)||
         || 부가기능 || Hot Draw Plugin 지원, 간단한 벡터 그래픽 첨부 가능. 페이지 미리보기 기능, RecentChanges 에 변경사항에 대한 Comment 기능 지원. go 입력창에 새 페이지 작성시 자동으로 이미 만들어진 비슷한 이름(Like Page) 페이지들 리스트 보여줌.(1.1 이상) || go 입력창에 새 페이지 작성시 자동으로 이미 만들어진 비슷한 이름(Like Page) 페이지들 리스트 보여줌. InterWiki 등록을 위키내에서 수정가능. || . ||
         || 기타 Spec || [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/moin/dist/CHANGES?rev=1.111&content-type=text/vnd.viewcvs-markup CHANGES] 참조 || NoSmok:노스모크모인모인 참조 || . ||
          * nosmok moin인 moin 0.9를 기반으로 하여 업그레이드 되었고, moinmoin 1.1은 http://sf.net 에 올라와 있는 버전들의 가장 상위 버전입니다. 석천 차이좀 간단히 써주라. --["상민"]
         moinmoin 1.1 에서 타이틀바에 있는 숫자가 보기 좀 거슬리네요... 노스모크는 색깔 자체가 노스모크에 거주하는 사람들에겐 매우 친숙하지요..^^ --창섭
         전 현재 배포판인 MoinMoin 1.0 을 커스터마이징해서 썼으면 합니다. ''(http://acup.wo.to 에 가보시면 MoinMoin 1.0 을 커스터마이징한 위키를 구경할 수 있습니다.)'' ["노스모크모인모인"]에도 현재 욕심나는 기능이 많긴 하지만 MoinMoin 1.0 의 AttachFile 기능이 참 유용하다고 생각하고 있습니다. 그 밖에 Seminar:YoriJori 프로젝트가 다소 정체되어 있다는 느낌이 들기도 한 것이 이유가 될수 있겠습니다. MoinMoin 1.0 설치 및 커스터마이징은 2 ManDay 정도만 투자하면 가능하리라 생각됩니다. --["이덕준"]
  • PPProject/20041001FM . . . . 25 matches
         #include <iostream>
         #include <string>
         using namespace std;
         void roll( string str, int i );
         void main()
          string str = "abcde";
          int i = 3;
         void roll( string str, int i )
          int n = str.length();
          for ( int tag = 0 ; tag < n ; tag++ ){
         #include<iostream.h>
         #include<cstring>
         void roll(int i);
         char * string="ABCDEFGHIJKLMNOPQRSTUV";
         const int SIZE = strlen(string);
         void main()
         void roll(int i)
          strncpy(buffer1, string, i);
          strcpy(buffer2,string+i);
         첫 모임이라 스터디 방식을 정하는데 시간이 오래 걸렸다. 회영이와 PairProgramming 을 하는데 너무 여유가 없었다.
  • PokerHands/Celfin . . . . 25 matches
         #include <iostream>
         #include <algorithm>
         using namespace std;
          int number;
         int i;
         bool input()
          cin.getline(temp, 255);
         bool isFullHouse(Poker *card, int turn)
         bool isFourCard(Poker *card, int turn)
         bool isThreeCard(Poker *card, int turn)
         bool isTwoPair(Poker *card, int turn)
         bool isOnePair(Poker *card, int turn)
         int cardpower(Poker *card, int turn)
         int decideBigger(Poker *card1, Poker *card2)
         int decideWinner()
         int main()
          while(input())
          int result = decideWinner();
          cout <<"Black wins." <<endl;
          cout <<"White wins." <<endl;
  • RandomWalk/변준원 . . . . 25 matches
         #include<iostream>
         #include<ctime>
         using namespace std;
         int main()
          const int max=5;
          int matrix[max][max];
          for(int i=0;i<5;i++)
          for(int j=0;j<5;j++)
          int x = rand() % 5;
          int y = rand() % 5;
          int p, q;
          int count=0, number=0;//엔딩수, 이동수 지정
          int moving = rand() % 8;
          if (moving==0) //북
          else if(moving == 1) //북동
          else if(moving == 2)//동
          else if(moving == 3) //남동
          else if(moving == 4) //남
          else if(moving == 5) //남서
          else if(moving == 6) //서
  • 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))
  • SOLDIERS/송지원 . . . . 25 matches
         #include <iostream>
         #include <algorithm>
         #include <cmath>
         using namespace std;
         void main () {
          // input data
          int num;
          int x[10001], y[10001];
          int i, k;
          int minX, minY, maxX, maxY;
          int sumXmove, sumYmove;
          int minMoveX = INT_MAX;
          int minMoveY = INT_MAX;
          int resx, resy;
          // data input
          minX = x[1];
          minY = y[1];
          for(i=minX; i<=maxX; i++){
          printf("%d", minMoveX + minMoveY);
  • Unicode . . . . 25 matches
         {{{In computing, Unicode provides an international standard which has the goal of providing the means to encode the text of every document people want to store on computers. This includes all scripts in active use today, many scripts known only by scholars, and symbols which do not strictly represent scripts, like mathematical, linguistic and APL symbols.
         Establishing Unicode involves an ambitious project to replace existing character sets, many of them limited in size and problematic in multilingual environments. Despite technical problems and limitations, Unicode has become the most complete character set and one of the largest, and seems set to serve as the dominant encoding scheme in the internationalization of software and in multilingual environments. Many recent technologies, such as XML, the Java programming language as well as several operating systems, have adopted Unicode as an underlying scheme to represent text.
         introduction : [http://www.unicode.org/standard/translations/korean.html]
         MultiLinugual 플랫폼을 지향하는 프로그램의 개발자라면 당연히 이해해야하는 파트임. - [eternalbleu]
         js 등에서 indexOf() 로 가져오면 UCS-4 코드가 10진수로 반환됩니다.
         문자 집합(Character Set)이랑 인코딩(Encoding)에 대한 차이도 뭐 속시원히 가르쳐주는 데가 없더군요. 결국 시간이 지나다보니 스스로 알게 되었습니다만.. 확실히 외국 자료 빼면 국내는 -_-;
  • ZeroPage_200_OK . . . . 25 matches
          * Cascading Style Sheet
          * '''JavaScript 1.4~1.6''' / JScript (ECMAScript)''' - http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
          * Google Chrome for Windows
         == Integrated Development Environment ==
          * JetBrains WebStorm
          * Mozilla Bespin -> Mozilla Skywriter -> Ajax.org Ace -> Cloud9 -> http://c9.io/
          * http://support.cloud9ide.com/entries/21068062-ide-file-saving-hangs ... 풋!
          * 위에 링크한 저의 Workspace Project의 index.html 파일에 메뉴 샘플을 구현해두었습니다. 상단의 Preview로 확인하면서 적절히 참조해서 만들면 도움이 될겁니다.
          * 자바스크립트에서 자주 this 얘기가 나오던데, 이번에 이야기를 들을 수 있어서 좋았습니다. 개인적인 느낌을 말하자면 함수가 데이터로 취급되는데 함수 내부에서 함수를 호출한 객체(execution context)의 정보를 사용하기 위해서 this를 사용한다는 느낌이는데 맞는지 모르겠군요. p.print를 넘기는 것도 실제로 class p에 있는 함수를 넘기는 게 아니라 p.print에 바인딩 된 어떤 함수를 넘기는 것이니까 내부의 this가 기존 OOP와 같이 해당 class의 인스턴스는 될 수 없겠죠. 그리고 제일 마음에 들었던 것은 역시 예전에 했던 스터디에서 다뤘던 자바스크립트의 네 가지 특징에 대해서 들을 수 있었다는 점이었습니다. 사실 예전 스터디 떄 무척 듣고 싶었는데 개인적인 사정으로 참가를 할 수 없어서 꽤 아쉬웠던 터라 ;;; 마지막에는 개인적인 사정으로 시간이 안 맞아서 좀 급하게 나갔는데, 그래도 최대한 들을 수 있는 데까지 듣기를 잘 한 것 같은 느낌이 들었습니다. - [서민관]
          * 서버에서 데이터를 가져와서 보여줘야 하는 경우에 싱글스레드를 사용하기 때문에 생기는 문제점에 대해서 배우고 이를 처리하기 위한 방법을 배웠습니다. 처음에는 iframe을 이용한 처리를 배웠는데 iframe 내부는 독립적인 페이지이기 때문에 바깥의 렌더링에 영향을 안주지만 페이지를 이동하는 소리가 나고, iframe이 서버측의 데이터를 읽어서 렌더링 해줄 때 서버측의 스크립트가 실행되는 문제점 등이 있음을 알았습니다. 이를 대체하기 위해 ajax를 사용하는데 ajax는 렌더링은 하지 않고 요청 스레드만 생성해서 처리를 하는 방식인데 xmlHttpRequest나 ActiveXObject같은 내장객체를 써서 요청 스레드를 생성한다는걸 배웠습니다. ajax라고 말은 많이 들었는데 구체적으로 어떤 함수나 어떤 객체를 쓰면 ajax인건가는 잘 몰랐었는데 일반적으로 비동기 처리를 하는거면 ajax라고 말할 수 있다고 하셨습니다. 그리고 중간에 body.innerHTML을 직접 수정하는 부분에서 문제가 생겼었는데 innerHTML을 손대면 DOM이 다시 만들어져서 핸들러가 전부 다 사라진다는 것도 기억을 해둬야겠습니다. - [서영주]
          * JSON.stringify() 메소드와 JSON.parse() 메소드를 이용해서 JSON의 Serialization <-> Deserialization이 가능하다.
          * Builder Pattern의 일종으로 jQuery의 메소드를 실행한 이후에 jQuery 배열 객체를 반환함으로써 함수의 chainning을 해서 사용할 수 있다.
          * DOM 객체를 wrapping 한 것으로 CSS selector 문법으로 DOM에서 Element를 찾아 올 수 있다.
          * Private instance property
          * escape, unescape (deprecated) : encoding 스펙이 정해져 있지 않아서 브라우저마다 구현이 다를 수 있다.
          * window.history
          * window.location
          * Same origin policy
          * document.domain
          * window.navigator
  • 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) {
  • 구구단/조재화 . . . . 25 matches
         #include<iostream>
         using namespace std;
         int main()
          for(int i=1; i<10 ; i++)
          for(int j=2; j<6; j++)
          for(int d=1; d<10 ; d++)
          for(int k=6; k<10; k++)
          instanceVariableNames: ''
          * printGugudan 메소드
         printGugudan
         gugudan printGugudan.
         (define (inter x y)
          (begin (inter (+ x 1) 1) )
          (begin (print x)(print *)(print y)(print =)(print (* x y))(newline) (inter x (+ y 1)) )
         (inter 2 1)
  • 데블스캠프2005/월요일/번지점프를했다 . . . . 25 matches
         bobst = Building("공대", 7)
         playground = Building("운동장", 1)
         playground.connectBuilding("north", bobst)
         bobst.connectBuilding("south", playground)
         === Code (with dynamic typing, w/o string parsing ) ===
         # -*- coding: UTF-8 -*-
         class Building:
          def __init__(self, name, numFloors):
          for name in floorNames :
          self.floors.append(Floor(name, buildingName))
          def connectBuilding(self, direction, building):
          self.connectedComponent[direction] = building
          def __init__(self, floorName, buildingName):
          self.buildingName = buildingName
          for roomTup in roomNames:
          for name in roomTup:
          def __init__(self, roomName, floorName):
          def __init__(self, name, currentPosition):
          for i in range(0, step):
          print '현재 당신의 위치는 %s 입니다' % self.currentPosition
  • 데블스캠프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)
  • 데블스캠프2010/다섯째날/ObjectCraft/미션2/허준 . . . . 25 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");
          printf("저글링2이 저글링1에 데미지 %d를 입혀서 저글링1의 HP가 %d가 되었습니다.\n", zeli2.att, zeli1.HP);
          printf("저글링1가 죽었습니다.\n");
         == main.cpp(수정) ==
         #include <stdio.h>
          int no;
          int att;
          int def;
          int HP;
         void init_unit() {
         int get_damage(unit a1, unit a2) {
          int damage = get_damage(a1, a2);
          printf("저글링%d이 저글링%d에 데미지 %d를 입혀서 저글링%d의 HP가 %d가 되었습니다.\n", a1.no, a2.no, damage, a2.no, a2.HP);
  • 데블스캠프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 ||
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/정의정,김태진 . . . . 25 matches
         import java.io.PrintStream;
          public static final int RUNNING = 1;
          public static final int SHUT_DOWN = 2;
          public static final int GUARDS_RESPONSE = 3;
          public static final int OVER_WEIGHT = 4;
          public static final int ROBOT = 5;
          public int status;
          public int floor;
          public Elevator(int i, int j) {
          public void goTo(int i) {
          public int floor() {
          public int status() {
          public void underMinFloor() {
          public void callElevatorUp(int i) {
          public void callElevatorDown(int i) {
         import java.io.PrintStream;
          assertEquals(elevator.RUNNING, elevator.status());
          assertEquals(elevator.RUNNING, elevator.status());
          elevator.overMaxFloor(); // print 하늘나라로.
          elevator.underMinFloor(); // print 지옥으로.
  • 마방진/Leonardong . . . . 25 matches
         #include <iostream>
         using namespace std;
         const int Asize=19;
         int main()
          int input;
          cin >> input;
          int i=1, count=0 ,x=input/2 ,y=0;
          int ground[Asize][Asize]={0,};
          while ( count < input*input )
          x=input-1;
          if (y>input-1)
          if (y>input-1)
          x=input-1;
          else if(x>input-1)
          y=input-1;
          else if (y>input-1)
          for (int j=0 ; j<input ; j++)
          for (int k=0 ; k<input ; k++)
  • 미로찾기/김태훈 . . . . 25 matches
         #include <stdio.h>
         #include <time.h>
         #include <conio.h>
         #define MAP_X 5
         #define MAP_Y 5
          int row;
          int col;
         int move(ztype );
         void prtpoint();
         int map[MAP_X][MAP_Y]={
         int map[MAP_X][MAP_Y]={
         int main()
          int x,y,run=0;
          if(x==0 && y==0) continue;
          printf("%d ケー スヌヌ狠゚\n",run);
          prtpoint();
          printf("%dケクソ。 ナサテ・シコー!\n",run);
         int move(ztype to)
         void prtpoint()
          int i,j;
  • 비밀키/노수민 . . . . 25 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
          int key,index=-1;
         // cin >> "
          cin >> fileName;
          ifstream fin(fileName);
          cin >> key;
          while(fin.get(buffer[++index]))
          cout << char( int(buffer[index]) + key) << " ";
          int key,index=-1;
         // cin >> "
          cin >> fileName;
          ifstream fin(fileName);
          cin >> key;
          while(fin.get(buffer[++index]))
          cout << char( int(buffer[index]) -n key) << " ";
         int main()
  • 비밀키/임영동 . . . . 25 matches
         #include<iostream>
         #include<fstream>
         #include<string>
         using namespace std;
         int main()
          ifstream fin("input.txt");
          string str;
          int key;
          cin>>key;
          int count=1;
          while(!fin.eof())
          if(fin.get()=='\n')
          fin.close();
          ifstream fin1("input.txt");
          for(int i=0;i<count;i++)
          getline(fin1, str);
          for(string::iterator i=str.begin();i!=str.end();i++)
          for(i=str.begin();i!=str.end();i++)
          fin1.close();
  • 새싹교실/2012/아우토반/앞반/3.29 . . . . 25 matches
         Ice breaking
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         (1) sizeof 연산자를 이용하여 int, char, float, double 변수와 그 변수를 가리키는 포인터 변수가 메모리를 차지하는 용량을 구하시오(소스 코드 및 결과)
         #include<stdio.h>
         int main(void){
          int a;
          printf("sizeof(a) = %d \n", sizeof(a));
          printf("sizeof(b) = %d \n", sizeof(b));
          printf("sizeof(c) = %d \n", sizeof(c));
          printf("sizeof(d) = %d \n", sizeof(d));
         long, double, float, char, return, union, string, if, for, while
         #include<stdio.h>
         int main(void){
          int a;
          printf("sizeof(a) = %d, 크기는 %d \n",sizeof(a),sizeof(int));
          printf("sizeof(b) = %d, 크기는 %d \n ",sizeof(b),sizeof(char));
          printf("sizeof(c) = %d, 크기는 %d \n",sizeof(c),sizeof(float));
          printf("sizeof(d) = %d, 크기는 %d \n ",sizeof(d),sizeof(double));
         return,continue,double,int,long,short,void,static,char,else,if,switch,for etc.....
  • 숫자를한글로바꾸기/김태훈zyint . . . . 25 matches
         #include <stdio.h>
         #include <string.h>
         #define TRUE 1
         #define FALSE 0
         char* num2str(int num); //숫자를 문자로 변경시켜줍니다.
         int is_numarray(char getdata[]); //char 배열의 요소가 숫자인지 확인 - 맞으면 TRUE 리턴
         void inputdata(char *getdata); // 5자리이하 숫자를 문자로 getdata에 배열로 입력받기
         int main(int argc, char* argv[])
          inputdata(getdata);
          printf("\n");
         void inputdata(char *getdata)
          printf("숫자 5자리를 입력해주세요 >> ");
          if(strlen(getdata)>5) continue;
          if(!is_numarray(getdata)) continue;
         char* num2str(int num)
         int is_numarray(char getdata[])
          unsigned int i=0;
          int i,pjari=0;
          for( i=0 ; i<(int)strlen(getdata) ; ++i){
          printf("%s",num2str(getdata[i]-48));
  • 오목/휘동, 희경 . . . . 25 matches
         // grimView.h : interface of the CGrimView class
         #if !defined(AFX_GRIMVIEW_H__A8571F68_AE69_11D7_A974_0001029897CD__INCLUDED_)
         #define AFX_GRIMVIEW_H__A8571F68_AE69_11D7_A974_0001029897CD__INCLUDED_
         const int size = 30;
         const int room = 30;
          int x[room*room], y[room*room], number;
          virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
          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);
         #ifndef _DEBUG // debug version in grimView.cpp
         inline CGrimDoc* CGrimView::GetDocument()
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         #endif // !defined(AFX_GRIMVIEW_H__A8571F68_AE69_11D7_A974_0001029897CD__INCLUDED_)
  • 이영호/끄적끄적 . . . . 25 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
         #include <math.h>
         int check(int array[]);
         void print_card();
          int num;
         main(int argc, char *argv[]){
         int i, j;
         int array[52]; // 다음 체크할 배열.
         int count; // 총 몇 번 체크해야하는가?
          fprintf(stderr, "Usage: %s input_file", argv[0]), exit(1);
          fprintf(stderr, "fopen error(%s)", argv[1]), exit(1);
          if(i==1 && j ==1) continue;
          sprintf(buf->name, "%s of %s",
          i==10?"Jack":i==11?"Queen":i==12?"King":i==13?"Ace":itoa_buf,
         int check(int array[])
         void print_card()
         int i;
          printf("%s\n", buf->name);
  • 캠이랑놀자/아영 . . . . 25 matches
         print "Testing..."
         #print t
         for x in range(50,100):
          for y in range(50,100):
         for x in range(100,150):
          for y in range(100,150):
         for x in range(150,200):
          for y in range(150,200):
         for x in range(256):
          for y in range(256):
         for x in range(256):
          for y in range(256):
         print "Testing..."
         #print t
         for x in range(256):
          for y in range(124):
          for y in range(125,256):
         for x in range(256):
          for y in range(256):
         for x in range(256):
  • 큰수찾아저장하기/문보창 . . . . 25 matches
         #include <iostream>
         using namespace std;
         const int SIZE = 4;
         void input_arr(int arr[][SIZE]);
         void find_max(int arr[][SIZE]);
         void show_arr(int arr[][SIZE]);
         int main()
          int arr[SIZE][SIZE];
          input_arr(arr);
          find_max(arr);
         void input_arr(int arr[][SIZE])
          for (int i = 0; i < SIZE - 1; i++)
          for (int j = 0; j < SIZE - 1; j++)
          cin >> arr[i][j];
         void find_max(int arr[][SIZE])
          for (int i = 0; i < SIZE-1; i++)
          for (int j = 1; j < SIZE-1; j++)
         void show_arr(int arr[][SIZE])
          for (int i = 0; i < SIZE; i++)
          for (int j = 0; j < SIZE; j++)
  • 토이/삼각형만들기/김남훈 . . . . 25 matches
         다만 걱정되는게 있었다면, visual studio 띄우기도 귀찮아서.. 그리고 요즘에는 이런거 짜는데 마소 비주얼 스튜디오 형님까지 끌어들이는건 좀 미안하게 느껴져서 그냥 zp server 에서 vi 로 두들겼는데.. 나 gdb 쓸 줄 모르니까. malloc 쓰면서 약간 두려웠지. 흐흐흐. 다행이 const int 를 case 에서 받을 수 없는거 (이런 줄 오늘 알았다) 말고는 별달리 에러 없이 한방에 되주셔서 즐거웠지.
         #include <stdio.h>
         #include <stdlib.h>
         #define FORWARD 1
         #define BACKWARD 2
         #define BIDIR 3
         void getUserInput(int * sel, int * num) {
         char * makeBuffer(int num) {
         void forwardTriangle(int num, char * buffer) {
          int i;
          printf("%s\n", buffer);
         void backwardTriangle(int num, char * buffer) {
          int i;
          printf("%s\n", buffer);
         int calcBidirTriangleSize(int num) {
         void bidirTriangle(int num, char * buffer) {
          int i, center;
          printf("%s\n", buffer);
         void produceTriangle(int sel, int num) {
         int main(void) {
  • 프로그래밍/Score . . . . 25 matches
          String line = br.readLine();
          int testCase = Integer.parseInt(line);
          for(int i = 0; i < testCase; i++) {
          line = br.readLine();
          int result = processOneCase(line);
          System.out.println(result);
          e.printStackTrace();
          e.printStackTrace();
          private int processOneCase(String line) {
          String [] group = line.split("X");
          int count = 1;
          int sum = 0;
          for(String each : group) {
          int size = each.length();
          for(int i = 0; i < size; i++) {
          public static void main(String[] args) {
  • 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]
  • BeingALinuxer . . . . 24 matches
         Being A Linuxer는 '리눅서가 되는' 정도의 뜻으로 해석할 수 있다. 이는 완료형이 아니라 진행형이다. 이 스터디로 인해 참가자들이 리눅스를 조금이나마 이해하고 리눅스 환경에 익숙해지는 것을 최종 목표로 한다.
          || 김정현 || 01 || interaction21@hotmail.com || 저두요^^; ||
          || 윤성복 || 05 || cutlife@hotmail.com || Linux는 오랜만 ^^;; ||
          2. Linux 배포본 설치, APM 및 여러 개발환경 설치.
          * 일단, 개별학습을 의도하였으나 예상외료 신청자가 폭주하는 바람에 집에 오다가 다음의 방법을 생각해봄. (TokenRing 에서 아이디어를 얻어옴).
          2. 각 조는 2개의 작은 조로 나눔. 2인이 다시 하나의 작은 조를 이루어 같이 실습하고 학습함. (SeeAlso PairProgramming)
          * 첫 번째 - 간단한 리눅스 소개, 서버 접속법(terminal, sftp), 파일 목록보기, 디렉토리 옮겨다니기 ([http://zeropage.org/~linuxer/documents/BeingALinuxer01.odt 자료01], [http://zeropage.org/~linuxer/documents/BeingALinuxer01.pdf PDF버전])
          * 두 번째 - VI Improved 에디터 ([http://zeropage.org/~linuxer/documents/BeingALinuxer02.odt 자료02], [http://zeropage.org/~linuxer/documents/BeingALinuxer02.pdf PDF버전])
          [http://zeropage.org/~linuxer/tools/FileZilla_2_2_14_setup.exe FileZilla_2_2_14_setup.exe] - FTP, SFTP Client
          [http://zeropage.org/~linuxer/tools/putty.exe putty.exe] - TELNET, SSH Client
          - ls directory 하면 그 안에 있는 내용도 보여주는데.. ls pu* 하면. pu로 시작하는 파일하고 pu로 시작하는 디렉토리 안의 내용을 보여주겠지. 글고 linux, unix, bsd 계열의 OS에서는 폴더보다는 디렉토리라고 부르는게 맞는듯. - 인택
          뿌띠에서 logout명령어를 치면 왜 프로그램이 종료되어버리는지?(다시 login name을 입력하도록 나오는것이 정상 아닐까?)
  • Bridge/권영기 . . . . 24 matches
         #include<stdio.h>
         #include<memory.h>
         #include<algorithm>
         #include<queue>
         using namespace std;
         #define N 1020
         queue < pair< int, int> > ans2;
         int main(void)
         // freopen("input.txt","r",stdin);
          int t, n, tempn, p, ans = 0;
          int man[N];
          for(int i = 0; i<t; i++){
          memset(man, 0, sizeof(int) * N);
          for(int j = 0; j<n; j++){
          printf("%d\n", ans);
          pair <int, int> temp;
          printf("%d", temp.first);
          if(temp.second != -1)printf(" %d", temp.second);
          printf("\n");
          if(i != t-1)printf("\n");
  • ClassifyByAnagram/상규 . . . . 24 matches
         #include <string>
         #include <list>
         #include <map>
         #include <algorithm>
         #include <iostream>
         using namespace std;
          map<string, list<string> > Anagrams;
          void InsertWord(string Word)
          string key = Word;
          sort(key.begin(), key.end());
          if(Anagrams.find(key) == Anagrams.end())
          Anagrams[key] = list<string>();
          void OutputAnagram(list<string> Anagram)
          ostream_iterator<string> os_iter(cout, " ");
          copy(Anagram.begin(), Anagram.end(), os_iter);
          map<string, list<string> >::iterator iter;
          for(iter = Anagrams.begin() ; iter != Anagrams.end() ; iter++)
         void main()
          string word;
          while(cin >> word)
  • Class로 계산기 짜기 . . . . 24 matches
         #include <iostream>
         using namespace std;
          int firstNumber;
          int secondNumber;
          int resultNumber;
          void setFirstNumber(int firstNumber){ this->firstNumber = firstNumber;}
          void setSecondNumber(int secondNumber){ this->secondNumber = secondNumber;}
          void setResultNumber(int resultNumber){ this->resultNumber = resultNumber;}
          int getFirstNumber(){ return firstNumber;}
          int getSecondNumber(){ return secondNumber;}
          int getResultNumber(){ return resultNumber;}
         class NumberInputer
          inputFirstNumber(memory);
          inputSecondNumber(memory);
          inputSign(memory);
          void inputFirstNumber(Memory * memory)
          int firstNumber;
          cin >> firstNumber;
          void inputSecondNumber(Memory * memory)
          int secondNumber;
  • CompleteTreeLabeling/하기웅 . . . . 24 matches
         즉 이것은 combination(루트를 뺀 총 노드 수, 루트를 뺀 총 노드 수/분기계수) 임을 알 수 있다.
         combination(6, 6/2)이 되고 이렇게 뽑은 것을 두가지로 세울 수 있으므로 2!의 줄세우는 방법을 곱해준다.
         깊이 1에서의 경우의 수 = 분기계수! * combination(루트를 뺀 총 노드수, 루트를 뺸 총 노드수/분기계수)
         #include <iostream>
         #include <cmath>
         #include "BigInteger.h"
         using BigMath::BigInteger;
         int depth, level, nodeNum, temp, templevel, tempdepth, select, i;
         BigInteger labelingNum;
         BigInteger factorial[3300];
         void InitFactorial()
         BigInteger combination(int a, int b)
         BigInteger getCompleteTreeLabeling(int l, int d)
          labelingNum=1;
          return labelingNum/l;
          labelingNum = labelingNum * factorial[l] * combination(nodeNum, select);
         int main()
          InitFactorial();
          while(cin>>level>>depth)
          cout << getCompleteTreeLabeling(level, depth) << endl;
  • EcologicalBinPacking/문보창 . . . . 24 matches
         // no 102 - Ecological Bin Packing
         #include <iostream>
         using namespace std;
         void main()
          int bottle[9]; // 입력되는 병
          int nMove[6]; // 이동 수
          int i;
          char * bin[6] = {"BCG", "BGC", "CBG", "CGB", "GBC", "GCB"};
          int min;
          int index;
          if (!(cin >> bottle[i]))
          min = nMove[0];
          index = 0;
          if (min > nMove[i])
          min = nMove[i];
          index = i;
          cout << bin[index] << " " << nMove[index] << endl;
         [EcologicalBinPacking] [문보창]
  • 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)]]
  • JollyJumpers/이승한 . . . . 24 matches
         #include <iostream>
         #include <cctype>
         using namespace std;
         const int MAX = 3000;
         const int MAXLine = 10;
         int checkJolly(int * array, int differ, bool programEnd = 0);
         void main(){
          int array[MAX] = {0};
          int differ; // 10개 입력되면 9가 나온다.
          if( !(cin>>array[differ]) )break;
          cin.get( endCheck );
         int checkJolly(int * array, int differ, bool programEnd){ //differ는 n-1의 값을 가진다.
          static int line = 0;
          for(int i = 0; i < line; i++ ){
          for(int i = 1; i < differ - 1; i++){
          boolJolly[ line ] = 0; // NOTjolly 임을 boolJolly배열에 저장
          line++;
  • One/남상재 . . . . 24 matches
         #include <stdio.h>
         void main()
          int a =0 ;
          continue ;
          printf("%d " , a);
         #include <stdio.h>
         void main()
          int a;
          int b=0;
          printf("%d", b ) ;
         #include <stdio.h>
         void main()
          int a ;
          printf("숫자를 입력하세요 \n 입 력 란 : ") ;
          printf("64");
          printf("10");
          printf("23");
          printf("에러잔아 이자식아 \n");
         #include <stdio.h>
         void main()
  • PrimaryArithmetic/1002 . . . . 24 matches
         음.. 이 부분을 작성하던 중, 생각해보니 입력 데이터가 스트링이면 더 간단할 것 같았다. integer 단위로 더하기 보다는 자리수 단위로 생각할 것이란 생각이 들었다. 그래서 테스트 코드를 다시 바꾸었다. 그러고 보니, 그냥 구현할 방법이 떠오른다.
          return [int(each) for each in numberStr]
          for eachOne,eachTwo in zip(oneList,twoList):
          result = [0 for each in range(10-len(numberStr))]
          numbers = [int(each) for each in numberStr]
          for idx in range(9,-1,-1):
         이쯤 되니, 테스트 코드들은 전부 통과. main 코드 작성하고 약간 리팩토링.
          for eachTest in testSet:
          for idx in range(LIMIT_NUMBER-1,-1,-1):
          return [0 for each in range(LIMIT_NUMBER-nullCount)]
          return [int(each) for each in numberStr]
          for eachTest in testSet:
         def main():
          f=open("input.txt")
          for eachLine in f:
          one,two = eachLine.split()
          print "%s carry %s." % (count, operationMessage)
         if __name__=="__main__":
          unittest.main(argv=('','-v'))
          #main()
  • ProgrammingLanguageClass/Report2002_2 . . . . 24 matches
         = Principles of Programming Languages Spring, 2002 Programming Assignment #2 =
         Design and implement simple test programs in Visual C++(V6.0), Visual Basic(V6.0) and Java(JDK 1.4).
          1. To find out the maximum length of a variable name
          1. To evaluate the security of pointers in the Compilers;
          1. To check the evaluation order of operands in the Compilers by raising the functional side-effects if possible;
          1. To identify a situation in which the “add” operator would not be associative;
          1. To determine the largest and smallest positive floating point number in Intel Pentium processor.
          * Intel Pentium processor 상에서 양수인 부동 소수점의 가장 큰값과 작은 값 결정
         == Hand In ==
         As usual, you shall submit a floppy diskette with a listing of your program and a set of test data of your own choice, and the output from running your program on your test data set.
         Be sure to design carefully your test data set to exercise your program completely. You are also recommended in your documentation to include the rationale behind your test programs.
         In order words, explain why you design them in such a way and what you intend to demonstrate
         ["ProgrammingLanguageClass"]
  • ProjectZephyrus/간단CVS사용설명 . . . . 24 matches
         = CVS 사용 in linux =
         = WinCVS in Windows =
          설치 [http://www.wincvs.org WinCVS]를 [http://sourceforge.net/project/showfiles.php?group_id=10072&release_id=83299 다운로드] 해서 설치
          === WinCVS Gui 환경 ===
          메뉴->Admin->Preference
          메뉴->Admin->login , 암호입력
          === Command line에서 ===
         cvs98 login
         = Admin 세팅 in ZeroPage Server(2002.5) =
          설치 과정은 생략 (linux 배포본에 들어 있다.)
         cvs -d /home/CVS init
         cvs:x:536:neocoin,reset
          '''2. ZeroPage 서버는 현재 Redhat 7.0이므로 xinetd를 이용하므로 세팅'''
         vi /etc/xinetd.d/cvspserver
          server = /usr/bin/cvs
         /etc/rc.d/init.d/xinetd restart
         cvs_man:*:548:536:Pubilc CVS Account for Project Dummy:/home/CVS/:/bin/false
  • RandomWalk/종찬 . . . . 24 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          int size;
          int end=0;
          cin >> size;
          int ** data = new int *[size];
          for (int i=0;i<size;i++) {
          data[i] = new int [size];
          for (int j=0;j<size;j++) {
          int x=rand()%size;
          int y=rand()%size;
          int x_move = rand()%3;
          int y_move = rand()%3; // 이부분을 루프안에 안 넣어서 고생..
          for (int i=0;i<size;i++) {
          for (int j=0;j<size;j++) {
          int sum=0;
          for (int c=0; c<size;c++) {
          for (int d=0;d<size;d++)
  • RandomWalk/현민 . . . . 24 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          int i,j,num;
          cin >> num;
          int ** data = new int *[num];
          data[i] = new int [num];
          int dir_x[8]={0,1,1,1,0,-1,-1,-1};
          int dir_y[8]={-1,-1,0,1,1,1,0,-1};
          int line,col,count=0; // count는 총 움직인 횟수
          line = rand() % num ;
          int check=1;
          int direction = rand() % 8;
          int next_x = col + dir_x[direction];
          int next_y = line + dir_y[direction];
          next_y = line + dir_y[direction];
          line = line + dir_y[direction];
          data[line][col]++;
  • RandomWalk2/현민 . . . . 24 matches
         #include <iostream>
         using namespace std;
         int main()
          int M,N,i,j;
          cin >> M >> N;
          int **board = new int *[M];
          board[i] = new int [N];
          int start_x, start_y;
          cin >> start_x >> start_y;
          cin.get();
          cin.getline(ch,100);
          int num = strlen(ch);
          int *route = new int[num+1];
          int walker_x[8] = {0,1,1,1,0,-1,-1,-1};
          int walker_y[8] = {-1,-1,0,1,1,1,0,-1};
          int next_x = start_x - 1, next_y = start_y - 1;
          int check = 1;
          int count = 0;
          for (int a=0; a<M; a++)
          for (int b=0; b<N; b++)
  • 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;
  • RefactoringDiscussion . . . . 24 matches
         Refactoring 과 관련된 토론, 질문/답변의 장으로 활용한다.
         refactoring 의 전제 조건은, '''Refactoring 전 후의 결과가 같아야 한다.''' 라는 것이다.
         Martin Folwer의 Refactoring p326(한서), 10장의 Parameterize Method 를 살펴보면 다음과 같은 내용이 나온다.
          double result = Math.min(lastUsage(),100) * 0.03;
          result += (Math.min (lastUsage(),200) - 100) * 0.05;
          double result = usageInRange(0, 100) * 0.03; //--(1)
          result += usageInRange (100,200) - 100) * 0.05;
          result += usageInRange (200, Integer.MAX_VALUE) * 0.07;
         protected int usageInRange(int start, int end) {
          if (lastUsage() > start) return Math.min(lastUsage(),end) - start;
         '''"MatrinFowler의 추종자들은 lastUsage()가 0 이상인 값에 대해 동작하는것일테니 (코드를 보고 추정하면 그렇다) 당연한거 아니냐?"''' 라고 이의를 제기할지는 모르지만, 이건 Refactoring 에서 한결같이 추구했던 "의도를 명확하게"라는 부분을 Refactoring이라는 도구에 끼워맞추다보니 의도를 불명확하게 한 결과를 낳은것 같다. (["망치의오류"])
         위의 (1)번 코드는 원래처럼 그대로 두거나, usageInRange(Integer.MIN_VALUE, 100)으로 호출하는게 맞을 듯 하다.
         하지만 이것도 임시 방편일뿐, '''위험은 존재한다'''. lastUsage()의 값이 Integer.MIN_VALUE 이거나, Integer.MAX_VALUE 라면? (이런일이 결코 일어날 수 없다고 장담할 수 있는가?)
          * 코드의 의도가 틀렸느냐에 대한 검증 - 만일 프로그램 내에서의 의도한바가 맞는지에 대한 검증은 UnitTest Code 쪽으로 넘기는게 나을 것 같다고 생각이 드네요. 글의 내용도 결국은 전체 Context 내에서 파악해야 하니까. 의도가 중시된다면 Test Code 는 필수겠죠. (여기서의 '의도'는 각 모듈별 input 에 대한 output 정도로 바꿔서 생각하셔도 좋을듯)
         로직이 달라졌을 경우에 대한 검증에 대해서는, Refactoring 전에 Test Code 를 만들것이고, 로직에 따른 수용 여부는 테스트 코드쪽에서 결론이 지어져야 될 것이라는 생각이 듭니다. (아마 의도에 벗어난 코드로 바뀌어져버렸다면 Test Code 에서 검증되겠죠.) 코드 자체만 보고 바로 잘못된 코드라고 단정짓기 보단 전체 프로그램 내에서 의도에 따르는 코드일지를 생각해야 될 것 같다는 생각.
          * 예제 코드로 적절했느냐 - 좀 더 쉽게 의도에 맞게 Refactoring 되어진 것이 이 예제 바로 전인 Raise 이긴 하지만. 그리 좋은 예는 아닌듯 하다. usageInRange 로 빼내기 위해 약간 일부러 일반화 공식을 만들었다고 해야 할까요. 그 덕에 코드 자체만으로 뜻을 이해하기가 좀 모호해졌다는 부분에는 동감.
          * ["Refactoring"]의 Motivation - Pattern 이건 Refactoring 이건 'Motivation' 부분이 있죠. 즉, 무엇을 의도하여 이러이러하게 코드를 작성했는가입니다. Parameterize Method 의 의도는 'couple of methods that do similar things but vary depending on a few values'에 대한 처리이죠. 즉, 비슷한 일을 하는 메소드들이긴 한데 일부 값들에 영향받는 코드들에 대해서는, 그 영향받게 하는 값들을 parameter 로 넣어주게끔 하고, 같은 일을 하는 부분에 대해선 묶음으로서 중복을 줄이고, 추후 중복이 될 부분들이 적어지도록 하자는 것이겠죠. -- 석천
         > { Refactoring(by Martin Fowler)의 잘못된 refactoring }
         > 위의 (1)번 코드는 원래처럼 그대로 두거나, usageInRange(Integer.MIN_VALUE, 100)으로
         > lastUsage()의 값이 Integer.MIN_VALUE 이거나, Integer.MAX_VALUE 라면?
  • Slurpys/박응용 . . . . 24 matches
         # -*- coding: euc-kr -*-
         ** find slurpy!
          def __init__(self, *args):
          self._remain = ''
          def remain(self):
          return self._remain
          self._remain = target[1:]
          for arg in self.args:
          target = arg.remain()
          self._remain = target
          for arg in self.args:
          self._remain = arg.remain()
          for count, t in enumerate(target):
          self._remain = target[count:]
          def remain(self):
          return self.pat.remain()
          def __init__(self):
          def __init__(self):
          if pat.remain(): return False
          self.assertEquals('EF', word.remain())
  • Stack/임다찬 . . . . 24 matches
         #include <stdio.h>
         int array[10]={0,};
         int index=0,top=9,bottom=0;
         int empty(){
          return index==bottom;
         int full(){
          return index==top;
         void push(int data){
          printf("FULL\n");
          array[index++]=data;
         int pop(){
          int pop_number;
          printf("EMPTY\n");
          pop_number=array[index];
          array[index--]=0;
         void print(){
          int i;
          for(i=0;i<index;i++){
          printf("%d ",array[i]);
          printf("\n");
  • Temp/Parser . . . . 24 matches
         #VendingMachineParser.py
         from cStringIO import StringIO
         class VendingCmd:
          def __init__(self,cmd,**kwargs):
          for item in self.__dict__.items():
          def __init__(self,aStream=sys.stderr):
          def next_number(self,func=int):
          if num not in (10,50,100,500,1000):
          if tok not in ('black','white','sugar_black','sugar_white'):
          if money: return VendingCmd('put',arg=money)
          if button: return VendingCmd('push',arg=button)
          def parse(self,aString=None,aStream=None,aName=None):
          if aString:
          aStream=StringIO(aString)
          lexer.source = 'include'
          continue
          continue
         if __name__=='__main__':
          err=StringIO()
          print cmds
  • WheresWaldorf/Celfin . . . . 24 matches
         #include <iostream>
         #include <cstdlib>
         using namespace std;
         int testcase, testNum;
         int row, col, i, j, k, n;
         bool check(int ax, int ay, char *temp)
          int x=ax; int y=ay;
          int length = strlen(temp);
         int main()
          cin >> testcase;
          cin.getline(temp, 255);
          cin.getline(temp, 255);
          cin >> row >> col;
          cin>>list[i][j];
          cin >> testNum;
          cin.getline(temp, 255);
          cin.getline(testlist[i], 50);
  • ZeroPageServer/Mirroring . . . . 24 matches
         (from http://222.122.13.152/bbs/board.php?bo_table=pl_linux&wr_id=153 )
         이번호에서는 이러한 유틸리티를 사용하지 않고, 미러링(Mirroring) 기능을 이용하여 로컬시스템 또는 원격서버의 데이터를 그대로 복사하여 백업하는 방법에 대해서 알아봅니다......
         # 1. 미러링(Mirroring)
          버와 똑같은 데이터 상태를 유지시키는 것을 미러링(Mirroring) 이라 하는데 다른 표현으로
          receiving file list ... done
          즉, /etc/init.d/sshd restart를 실행하여 클라이언트가 SSH 서버에 접
          ② comment : rsync 서비스에 대한 설명이다. 예) Red Hat Linux 9.0 Mirror
          ③ path : 미러링 서비스 될 데이터의 경로를 지정한다. 예) /data/linux90
          comment = Red Hat Linux 9 ISO Mirror
         # 6. /etc/xinetd.d/rsync 설정
          rsync 서비스는 슈퍼데몬 xinetd에 의해서 작동하기 때문에 /etc/xinetd.d/rsync 파일을
          server = /usr/bin/rsync
          그런 다음 xinetd 슈퍼 데몬을 다시 실행하여 rsync서비스가 작동될 수 있도록 한다.
          [root@localhost /]# /etc/init.d/xinetd restart
          xinetd 를 정지함 : [ 확인 ]
          xinetd (을)를 시작합니다 : [ 확인 ]
          Trying 127.0.0.1...
          Connected to localhost.localdomain (127.0.0.1)
          rh9iso Red Hat Linux 9 ISO Mirror
          building file list ... done
  • 개인키,공개키/박진영,김수진,나휘동 . . . . 24 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         int main()
          ifstream fin("source.txt");
          int key = 70;
          int result, result1;
          while(fin.eof() != true)
          fin >>ch;
          result = int(ch) + key;
         #include <iostream>
         #include <fstream>
         using namespace std;
         int main()
          ifstream fin("source_enc.txt");
          int key1;
          cin >> key1;
          int key = 256-key1;
          int result;
          while(fin.eof() != true)
  • 레밍즈프로젝트/박진하 . . . . 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
  • 로마숫자바꾸기/조현태 . . . . 24 matches
         #include <stdio.h>
         void print_number(int);
         void main()
          int number=-1;
          printf("숫자를 입력해주세요.>>");
          printf ("결과 >> ");
          print_number(number);
         void print_number(int number)
          const int DATA_SIZE=3;
          const int NUMBER_DATA[DATA_SIZE]={1,5,10};
          for (register int i=DATA_SIZE-1; i>=0; --i)
          printf("%s",CHAR_DATA[0]);
          printf("%s",CHAR_DATA[i+1]);
          printf ("%s",CHAR_DATA[i]);
         -export([getString/1]).
         getString(Num) when 0 == Num -> "";
         getString(Num) when 10 < Num -> "X " ++ getString(Num - 10);
         getString(Num) -> lists:nth(Num, ["I ", "II ", "III ", "IV ", "V ", "VI", "VII", "VIII", "IX"]).
         4> pr_9:getString(43).
         5> pr_9:getString(38).
  • 몸짱프로젝트/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 )
  • 반복문자열/허아영 . . . . 24 matches
         #include <stdio.h>
          int i;
          printf("CAUCSE LOVE.\n");
         void main()
         #include <stdio.h>
          printf("CAUCSE LOVE.\n");
         void main()
          int i;
         #include <stdio.h>
          printf("CAUCSE LOVE.\n");
         void messages(int n)
          int i;
         void main()
          int messagesLength = 5;
         #include <iostream>
         using namespace std;
         void printMessages(const char* message, int messageLength);
         int main()
          printMessages("CAUCSE LOVE.\n", 5);
         void printMessages(const char* message, int messageLength)
  • 방울뱀스터디/Thread . . . . 24 matches
         print 'i=',i
         print 'j=',j
         print 'i=',i
         print 'j=',j
          for i in range(5):
          print 'id %s --> %s' % (id, i)
         for i in range(5):
         print 'Exiting'
          for i in range(count):
          print 'id %s -> %s' % (id, i)
         for i in range(5):
         print 'Total Counter =', g_count
         print 'Exitintg'
          for i in range(count):
          print 'id %s -> %s' % (id, i)
         for i in range(5):
         print 'Total Counter =', g_count
         print 'Exitintg'
         from Tkinter import *
          text.insert(1.0, i)
  • 삼총사CppStudy/숙제1/곽세환 . . . . 24 matches
         #include <iostream>
         using namespace std;
          int width;
          int height;
          CRectangle(int x, int y);
          int GetWidth();
          int GetHeight();
          int GetBorderLength();
          int GetArea();
          void SetRect(int x, int y);
         CRectangle::CRectangle(int x, int y)
          for (int i = 0; i < height; i++)
          for (int j = 0; j < width; j++)
         int CRectangle::GetWidth()
         int CRectangle::GetHeight()
         int CRectangle::GetBorderLength()
         int CRectangle::GetArea()
         void CRectangle::SetRect(int x, int y)
         int main()
  • 식인종과선교사문제/조현태 . . . . 24 matches
         #include <vector>
         #include <map>
         using namespace std;
          party(int inputWhite, int inputBlack)
          white = inputWhite;
          black = inputBlack;
          int white;
          int black;
         const int NUMBER_MOVE_TYPE = 5;
         const int CAN_MOVE_WHITE[NUMBER_MOVE_TYPE] = {0, 0, 1, 1, 2};
         const int CAN_MOVE_BLACK[NUMBER_MOVE_TYPE] = {1, 2, 0, 1, 0};
         int Parse(party& left, party& right, int where)
         bool MoveNext(vector<party>& moveData, map<int, bool>& isChecked, int where, party left, party right)
          for (register int i = 0; i < NUMBER_MOVE_TYPE; ++i)
         int main()
          map<int, bool> isChecked;
          for (register int i = 0; i < (int)moveData.size(); ++i)
  • 인터프리터/권정욱 . . . . 24 matches
         #include <iostream>
         #include <fstream>
         #include <string>
         #include <cstdlib>
         using namespace std;
         int main(){
          string num[100];
          int array = 0;
          int temp1 = 0;
          int temp2 = 0;
          ifstream fin("인터프리터.txt");
          for (int i =0; i<100; i++){
          while(!fin.eof()){
          string instruction;
          fin >> instruction;
          if (instruction[0] != '*') {
          num[array] = instruction;
          else array = atoi(instruction.substr(1, 2).c_str());
          cin >> temp1;
          cout << instruction[i];
  • 잔디밭/권순의 . . . . 24 matches
         #include <iostream>
         #include <malloc.h>
         using namespace std;
         int main()
          int getRow = 0;
          int getCol = 0;
          int greatestNum = 0;
          int currentRow = 0;
          int currentCol = 0;
          int **lawn;
          int temp = 0;
          cin >> getRow >> getCol;
          cin >> getRow >> getCol;
          lawn = (int**)malloc(sizeof(int) * getRow);
          for(int i = 0; i < getRow; i++)
          *(lawn + i) = (int*)malloc(sizeof(int) * getCol);
          for(int i = 0; i < getRow; i++)
          for(int j = 0; j < getCol; j++)
          cin >> lawn[i][j];
          for(int i = 0; i < (getRow - 2);i++)
  • 2thPCinCAUCSE/ProblemA/Solution/상욱 . . . . 23 matches
         #include <iostream>
         using namespace std;
          int testCase;
          int inputNumber;
          int count;
          cin >> testCase;
          for (int test = 0 ; test < testCase ; test++)
          input();
          void input() {
          cin >> inputNumber;
          for (int i = 1 ; i <= inputNumber-2 ; i++)
          for (int j = i ; j <= inputNumber-i-1 ; j++)
          int k = inputNumber-i-j;
          continue;
          continue;
         int main()
         [2thPCinCAUCSE/ProblemA/Solution]
  • CuttingSticks/김상섭 . . . . 23 matches
         #include <iostream>
         using namespace std;
         #include <vector>
         int main()
          int length, tokennum, token, l, i, j, m;
          vector< vector<int> > Data;
          vector<int> temp;
          cin >> length;
          cin >> tokennum;
          for(int i = 0 ; i < tokennum; i++)
          cin >> token;
          cin >> length;
          int store[51][51];
          for(vector< vector<int> >::iterator k = Data.begin(); k != Data.end(); k++)
          int temp1,min = INT_MAX;
          if(min > temp1)
          min = temp1;
          store[i][i+m] = min + temp[i+m] - temp[i];
          cout << "The minimum cutting is " <<store[0][tokennum] << ".\n";
  • 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]
  • EightQueenProblem/서상현 . . . . 23 matches
         #include <stdio.h>
         #define NUM 8
         int n = NUM;
         int board[NUM][NUM] = {0,};
         void print()
          int i, j;
          printf("%d", board[i][j]);
          printf(" ");
          printf("\n");
         int safe(int x, int y)
          int d;
          int xx, yy;
          int drct[8][2] = {{-1, -1}, {0, -1}, {1, -1}, {-1, 0}, {1, 0}, {-1, 1}, {0, 1}, {1, 1}};
         int recur(int level)
          int i, j;
          print();
         void main()
         void recur(int level)
          int i, j;
          print();
  • EightQueenProblem/임인택/java . . . . 23 matches
          int QUEEN;
          int Queen[][];
          Queen(int noq)
          Queen = new int[QUEEN][QUEEN];
          for(int i=0; i<QUEEN; i++)
          public void get_Queen(int x, int y)
          if(y==QUEEN-1) print_result();
          for(int i=0; i<QUEEN; i++)
          public void print_result()
          int i,j;
          System.out.print(Queen[j][i] + " ");
          System.out.println();
          public void reset(int fromline)
          int i,j;
          for(j=fromline; j<QUEEN; j++)
          public boolean check(int i, int j)
          int x, y, sum=0;
          public static void main(String args[])
          System.out.println("ex) java Queen NumofQueens");
          Queen myqueen = new Queen(Integer.parseInt(args[0]));
  • HanoiTowerTroublesAgain!/황재선 . . . . 23 matches
          public int readNumber() {
          return new Scanner(System.in).nextInt();
          public boolean canBallPut(int[] prev, int peg, int ballNumber) {
          public int maxBall(int numOfPeg) {
          int[] prevNumber = new int[numOfPeg + 1];
          int ballNumber = 1;
          int oldBallNumber = 0;
          for(int peg = 1; peg <= numOfPeg; peg++) {
          if (ballNumber == Integer.MAX_VALUE) {
          public void printNumberOfBall(int numOfBall) {
          System.out.println(numOfBall);
          public static void main(String[] args) {
          int testCase = hanoi.readNumber();
          for(int i = 0; i < testCase; i++) {
          int numOfPeg = hanoi.readNumber();
          int numOfBall = hanoi.maxBall(numOfPeg);
          hanoi.printNumberOfBall(numOfBall);
         [HanoiTowerTroublesAgain!]
  • LC-Display/상협재동 . . . . 23 matches
         #include <iostream>
         using namespace std;
         const int MAX_TESTCASE = 10;
         int testCase = 0;
         int s[MAX_TESTCASE] = {0,};
         void input()
          cin >> s[testCase] >> n[testCase];
          cin >> s[testCase] >> n[testCase];
         void drawHorizon(int t, int k, int patNum)
          for(int j = 0; j < s[t]; j++)
         void drawVertical(int t, int k, int patNum1, int patNum2)
          for(int j = 0; j < s[t]; j++)
          for(int t = 0; t < testCase; t++)
          int k=0;
          for(int temp_s = 0; temp_s < s[t]; temp_s++ )
         int main()
          input();
  • MFC/ScalingMode . . . . 23 matches
         #define _MFC_
         = ScalableMappingMode =
         || WindowOrigin || 윈도우의 왼쪽 상당 논리 좌표. CDC::SetWindowOrg() 함수를 호출해서 설정 ||
         || WindowExtent || 논리 좌표 안에 지정되어 있는 윈도우의 크기. CDC::SetWindowExt()로 호출 ||
         || ViewportOrigin || 장치 좌표에 되어 있는 윈도우의 왼쪽 상단의 좌표. CDC::SetViewportOrg()로 호출 ||
         = LogicalCoordinate To DeviceCoordinate =
         {{{~cpp xDevice = (xLogical - xWindowOrg) * (xViewPortExt / xWindowExt) + xViewportOrg}}}
         {{{~cpp yDevice = (yLogical - yWindowOrg) * (yViewPortExt / yWindowExt) + yViewportOrg}}}
         좌표계가 MM_ISOTROPIC, MM_ANISOTROPIC 이외의 다른 것은 WindowExt, ViewPortExt 가 고정되어 변경이 불가능하다.
         CDC::SetWindowExt(), SetViewportExt()를 호출해도 아무런 변화가 생기지 않는다.
         = 확대 기능시의 CScrollView::OnPrepareDC(CDC* pDC, CPrintInfo* pInfo) =
         CPainterDC* pDoc = GetDocument();
         pDoc->SetWindowExt(DocSize); // 윈도우의 범위를 설정한다.
         int xLogPixels = pDC->GetDeviceCaps(LOGPIXELSX); // 인자에 해당하는 장치 정보를 리턴한다. 인치당 픽셀의 개수를 리턴. 100단위
         int yLogPixels = pDC->GetDeviceCaps(LOGPIXELSY);
         int xExtent = DocSize.cx * m_Scale * xLogPixels / 100;
         int yExtent = DocSize.cy * m_Scale * yLogPixels / 100;
  • MoinMoinWikis . . . . 23 matches
         Wikis that use MoinMoin:
          * [wiki:PythonInfo:Python20Info Python 2.0 Info Area]
          * [http://www.bioinformatics.org/piperwiki/moin.cgi Wiki for the Piper project]
          * [http://pgdn.org/wiki CultureWiki] (online again, but still dead)
          * [http://compsoc.dur.ac.uk/~tsp/cgi-bin/triki.cgi TrikiWiki] (private wiki for the Transformers holiday - uses a mildly hacked MoinMoin)
          * [http://www.keitee.net/ Keiteedot] (Slash like wiki in Japanese)
          * [http://www.gembook.org/moin/ WikiArea] (Japanese)
          * [http://www.thinkware.se/cgi-bin/thinki.cgi/ Thinki]
          * [http://www.cdegroot.com/cgi-bin/photowiki/ Photo Wiki]
          * [http://www.cdegroot.com/cgi-bin/moin/ cdegroot.com's MoinMoin]
          * [http://www.linuxvideo.org/docs/wiki/ LiViD Wiki]
          * [http://lightingwiki.com/FrontPage The Lighting Wiki]
         For more wikis, see the InterWiki list.
  • 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");
  • ProgrammingPearls . . . . 23 matches
         = Introduction =
         || ["ProgrammingPearls/Column1"] || Cracking The Oyster ||
         || ["ProgrammingPearls/Column2"] || Aha! Algorithm ||
         || ["ProgrammingPearls/Column3"] || Data Structures Programs ||
         || ["ProgrammingPearls/Column4"] || Writing Correct Programs ||
         || ["ProgrammingPearls/Column5"] || A Small Matter Of Programming ||
         || ["ProgrammingPearls/Column6"] || Perspective On Performance ||
         || ["ProgrammingPearls/Column7"] || The Back of the Envelope ||
         || ["ProgrammingPearls/Column8"] || Algorithm Design Techniques ||
         || ["ProgrammingPearls/Column9"] || Code Tuning ||
         || ["ProgrammingPearls/Column10"] || Squeezing Space ||
         || ["ProgrammingPearls/Column11"] || Sorting ||
         || ["ProgrammingPearls/Column12"] || A Sample Problem ||
         || ["ProgrammingPearls/Column13"] || Searching ||
         || ["ProgrammingPearls/Column14"] || Heaps ||
         || ["ProgrammingPearls/Column15"] || Strings of Pearls ||
  • Refactoring/MovingFeaturesBetweenObjects . . . . 23 matches
         ["Refactoring"]
         = Chapter 7 Moving Features Between Objects =
         A method is, or will be, using or used by more features of another class than the class on which it is defined.
         ''Create a new method with a similar body in the class it uses most. Either turn the old method into a simple delegation, or remove it altogether.''
         A field is, or will be, used by another class more than the class on which it is defined.
         ''Create a new field in the target class, and change all its users.''
         You have one class doing work that should be done by two.
         ''Create a new class and move the relevant fields and methods from the old class into the new class.''
         == Inline Class ==
         A class isn't doing very much.
         ''Move all its features into another class and delete it.''
         http://zeropage.org/~reset/zb/data/InlineClass.gif
         A client is calling a delegate class of an object.
         A class is doing too much simple delegation.
         == Introduce Foreign Method ==
         A server class you are using needs an additional method, but you can't modify the class.
         ''Create a method in the client class with an instance of the server class as its first argument.''
         == Introduce Local Extension ==
         A server class you are using needs serveral additional methods, but you can't modify the class.
         ''Create a new class that contains these extra methods. Make the extension class a subclass or a wapper of the original.''
  • RelationalDatabaseManagementSystem . . . . 23 matches
         = Definition =
         A relational database management system (RDBMS) is a database management system (DBMS) that is based on the relational model as introduced by Edgar F. Codd.
         The fundamental assumption of the relational model is that all data are represented as mathematical relations, i.e., a subset of the Cartesian product of n sets. In the mathematical model, reasoning about such data is done in two-valued predicate logic (that is, without NULLs), meaning there are two possible evaluations for each proposition: either true or false. Data are operated upon by means of a relational calculus and algebra.
         The relational data model permits the designer to create a consistent logical model of information, to be refined through database normalization. The access plans and other implementation and operation details are handled by the DBMS engine, and should not be reflected in the logical model. This contrasts with common practice for SQL DBMSs in which performance tuning often requires changes to the logical model.
         The basic relational building block is the domain, or data type. A tuple is an ordered multiset of attributes, which are ordered pairs of domain and value. A relvar (relation variable) is a set of ordered pairs of domain and name, which serves as the header for a relation. A relation is a set of tuples. Although these relational concepts are mathematically defined, they map loosely to traditional database concepts. A table is an accepted visual representation of a relation; a tuple is similar to the concept of row.
         The basic principle of the relational model is the Information Principle: all information is represented by data values in relations. Thus, the relvars are not related to each other at design time: rather, designers use the same domain in several relvars, and if one attribute is dependent on another, this dependency is enforced through referential integrity.
  • Slurpys/곽세환 . . . . 23 matches
          * 예전같으면 일일이 만들었을 함수들을 그냥 string 함수로 해결
         #include <iostream>
         using namespace std;
         #include <string>
         bool isSlump(string str)
          int length = str.length();
          int temp = -1;
          temp = str.find_first_not_of('F', 2);
         bool isSlimp(string str)
          int length = str.length();
         bool isSlurpy(string str)
          int i, j, temp = -1; // temp는 Slimp의 마지막 문자 위치
          int length = str.length();
          temp = str.find_last_of('C');
          temp = str.find_last_of('H');
         int main()
          int numberOfCase;
          cin >> numberOfCase;
          int testCase, i, j;
          string str;
  • 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;
  • [Lovely]boy^_^/USACO/YourRideIsHere . . . . 23 matches
         #include <iostream>
         #include <fstream>
         #include <string>
         #include <cassert>
         using namespace std;
         bool IsSameCode(const string& comet, const string& group);
         int AlphabetToNumber(char ch);
         int main()
          string comet, group;
          ifstream fin("ride.in");
          fin >> comet;
          fin >> group;
          fin.close();
         bool IsSameCode(const string& comet, const string& group)
          basic_string<char>::const_iterator i;
          for(i = comet.begin() ; i != comet.end() ; ++i)
          for(i = group.begin() ; i != group.end() ; ++i)
         int AlphabetToNumber(char ch)
  • 가위바위보/동기 . . . . 23 matches
         #include <iostream>
         #include <fstream>
         #include <cstring>
         using namespace std;
         void main()
          ifstream fin("data1.txt");
          fin.getline(name1,10);
          fin.getline(name2,10);
          int win=0;
          int draw=0;
          int lose=0;
          while(!fin.eof())//0:가위 1:바위 2:보
          fin.getline(test,4);
          win++;
          win++;
          win++;
          cout <<win<<" win\t"<<draw<<" draw\t"<<lose<<" lose \n";
  • 개인키,공개키/김태훈,황재선 . . . . 23 matches
         #include <fstream>
         #include <iostream>
         using namespace std;
         const int KEY = 112;
         void main()
          ifstream fin ("source.txt");
          int temp;
          int count = 0;
          fin.get(ch);
          if (fin.eof())
          temp = (int) ch;
          for(int j=0;j<count;j++) // 암호값 출력
          for(int i=0;i<count;i++)
         #include <fstream>
         #include <iostream>
         using namespace std;
         const int KEY = 156;
         void main()
          ifstream fin ("source1.txt");
          int temp;
  • 나를만든책장관리시스템/DBSchema . . . . 23 matches
         || bID || unsigned int || ID, PK ||
         || cID || unsigned int || ID, PK ||
         || cContributor || int(11) || FK references bm_tblMember(mID) on delete no action on update cascade ||
         || cBook || unsigned int || FK references bm_tblBook(bID) on delete no action on update cascade ||
         || rID || unsigned int || ID, PK ||
         || rUser || int(11) || FK refereneces bm_tblMember(mID) on delete no action on update cascade ||
         || rBook || unsigned int || FK refereneces bm_tblBook(bID) on delete no action on update cascade ||
         || rDelay || tinyint || FK refereneces bm_tblDelay(dID) ||
         || rApplication || tinyint || FK refereneces bm_tblApplication(aID) ||
         || mID || int(11) || PK, FK references zb_member_list(member_srl) on delete no action on update cascade ||
         || mAdmin || tinyint || FK refereneces bm_tblAdmin(adID) ||
         || dID || tinyint || PK ||
         || aID || tinyint || PK ||
         |||||| '''bm_tblAdmin''' ||
         || adID || tinyint || PK ||
  • 데블스캠프2009/월요일/연습문제/svn코드레이스/박근수 . . . . 23 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <time.h>
         void main()
          int number = rand()%50+1;
          int a=0,min=0,max=51;
          printf("이거슨 업다운 게임~\n답은 %d\n",number);
          printf("숫자를 입력하세요(범위: %d~%d): ",min+1,max-1);
          if(a<min+1||a>max-1)
          printf("%d부터 %d까지 숫자를 넣으라고 말하는 겁니다아아!!!\n",min+1,max-1);
          printf("업입니다아아아\n");
          min=a;
          printf("다운이다 ㅇㅇ\n");
          if(number==min+1&&number==max-1)
          printf("패배자 ㄳ\n");
          printf("정답입니다아!\n");
         #include<stdio.h>
         int a,i,j;void main(){scanf("%d",&a);for(;i<a;i++){for(j=0;j<a;j++)printf(j==0||j==a-1||i==0||i==a-1?"*":" ");puts("");}}
  • 새싹교실/2011/씨언어발전/6회차 . . . . 23 matches
         #include <stdio.h>
         #include <malloc.h>
         int main()
          int i,num;
          int* p;
          int* q;
          printf("학생수를 입력하세요 :");
          p=(int*)malloc(sizeof(int)*num);
          printf("\n학생 %d의 점수를 입력하세요 :",i+1);
          printf("학생%d : %d\n",i+1,*q);
         #include<stdio.h>
         #include<malloc.h>
         int main()
          int a,i;
          int *p,*q;
          printf("학생수를 입력하세영! : ");
          p=(int*)malloc(sizeof(int)*a);
          printf("학생점수 %d 개 입력해 \n",a);
          printf("학생 %d 의 점수 : %d\n", i+1,*(q++));
  • 새싹교실/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. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 숫자야구/ 변준원 . . . . 23 matches
         #include <iostream> // 랜덤함수는 iostream에 포함되어 있습니다.
         #include <ctime>
         using namespace std;
         int main()
          int base = rand() % 1000; // % 9를 하면 0~9까지의 숫자가 들어갈 수 있고
          int a,b,c,d,e,f;
          int S=0,B=0,O=0;
          int input;
          cin >> input;
          d = input/100;
          e = (input%100)/10;
          f = (input%100)%10;
          int abc[3]={a, b, c};
          int def[3]={d, e, f};
          int i,j;
          cin >> input;
          def[0] = input/100;
          def[1] = (input%100)/10;
          def[2] = (input%100)%10;
  • 알고리즘8주숙제 . . . . 23 matches
         ==== 1. Friendly Coins ====
         Given the denominations of coins for a newly founded country, the Dairy Republic, and some monetary amount, find the smallest set of coins that sums to that amount. The Dairy Republic is guaranteed to have a 1 cent coin.
         The kanpsack problem is defined as follows:
         Given positive integers P<sub>1</sub>, P<sub>2</sub>, ..., P<sub>n</sub>, W<sub>1</sub>, W<sub>2</sub>,..., W<sub>n</sub> and M.
         Find X<sub>1</sub>, X<sub>2</sub>, ..., X<sub>n</sub>, 0 ≤ X<sub>i</sub> such that
         Give a greedy method to find an optimal solution of the knapsack problem and prove its correctness.
         ==== 4. Job Scheduling ====
         Consider the problem of scheduling n jobs on one machine. Describe an algorithm to find a schedule such that its average completion time is minimum. Prove the correctness of your algorithm.
         ==== 5. Optimal Binary Tree ====
         Optimal Binary Tree는 Dynamic Programming 기법으로 풀리는 유명한 문제입니다. 그누스 형님 방법에 의하면 O(n<sup>2</sup>)으로 풀립니다. 그러나 우리는 이보다 점근적으로 더 빠른 휴리스틱 버전을 작성해야 합니다.
         다음과 같이 input 이 들어온다고 가정합시다. 여기서 맨 앞 하나의 정수는 노드의 수를 나타냅니다. 그 밑으로 노드에 대한 정보가 입력됩니다. 노드의 처음은 key 값이고, 그 다음 값은 확률(확률은 1이상의 정수로 임의로 입력) 입니다. 하나의 노드를 검색했을때 실패하는 경우는 없다고 가정합시다. 최적의 평균탐색시간을 가지는 이진탐색트리를 구현하고 다음을 출력하시오.
         Inorder 순회를 통해 각 키값을 모두 출력하고, 또한 각 키값의 탐색시간의 합계를 출력하시오.
         ===== input =====
         || [Leonardong] || 2h || [http://wiki.zeropage.org/trac/leonardong/browser/AlgorithmTrainning/OptimalBST.py] ||
         || 김상섭 || 엄청 || [AproximateBinaryTree/김상섭] ||
  • 이영호/nProtect Reverse Engineering . . . . 23 matches
         특정한 게임을 Cracking 하려고 했더니 nProtect와 비슷한 녀석이 디버그 되는 것을 방해하고 있었다.
         게임 : 마비노기(Mabinogi)
         (누군가가 nProtect가 함수를 hooking을 하고, 게임 자체 소스에 포함 되는 것이 아니라 바이너리 형식으로 덧 붙여진다고 하였는데,
         마비노기가 아닌 다른 nProtect를 사용하는 게임을 확인한 결과 소스에 포함되어 Exception Handling을 한다는 것을 발견하였다.)
         이것을 인라인 패치하였지만, OpenProcess로 디버그 Process를 Hooking하는 함수는 gc_proch.dll에 있다는 것을 확인하였다.
         성공 하였다. 다행히 이 guardcat은 Packing, Enchypher로 인한 encoding이 되지 않아서 인라인 패치가 쉬웠다.
         몇몇개의 함수만을 수정하고 guardcat.exe만 실행하였으나 gc_proch.dll의 hooking 루틴때문에 막혀버렸다.
         중요한것은 update를 어떻게 막느냐이다. 아마도 gc_proch.dll이 없더라도 mabinogi.exe는 제대로 실행될 것이다.
         => mabinogi.exe -> client.exe -> gcupdater -> guardcat.exe -> gc_proch.dll
         1. mabinogi.exe(게임 자체의 업데이트 체크를 한다. 그리고 createprocess로 client.exe를 실행하고 종료한다.)
         3. gcupdater(실행시 항상 서버에 접속하여 파일 3개를 받아온다. guardcat.exe, INST.dat, gc_proch.dll을 순서대로 받아와 자체적으로 wsprintf를 이용하여 복사한다.-아마 디버거에 API를 걸리기 싫었는지 모른다. createprocess로 guardcat.exe를 실행시킨다.)
         5. gc_proch.dll(이 파일은 debugger를 잡는 역할을 한다. 분석이 더 필요하다.) -> 이 파일은 dll injection 또한 막아낸다.
         client.exe가 실행될 때, 데이터 무결성과 디버거를 잡아내는 루틴을 제거한다면, updater의 사이트를 내 사이트로 변경후 인라인 패치를 통한 내 protector를 올려 mabinogi를 무력화 시킬 수 있다.
         mabinogi.exe -> client.exe로 넘어가는 부분
         |CommandLine = ""C:\Program Files\Mabinogi\client.exe" code:1622 ver:237 logip:211.218.233.200 logport:11000 chatip:211.218.233.192 chatport:8000 setting:"file://data/features.xml=Regular, Korea""
         |InheritHandles = FALSE
         |CurrentDir = "C:\Program Files\Mabinogi"
         |pStartupInfo = 0012E4F0
         |pProcessInfo = 0012E4E0
         client.exe code:1622 ver:237 logip:211.218.233.200 logport:11000 chatip:211.218.233.192 chatport:8000 setting:"file://data/features.xml=Regular, Korea" 로 실행시키면 된다.
  • 코드레이스/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
  • 파스칼삼각형/송지원 . . . . 23 matches
         #include <iostream>
         using namespace std;
         void pasTri(int);
         int combination(int, int);
         int factorial(int);
         void main(){
          int num;
          cin >> num;
         void pasTri(int num){
          for(int i=0; i<=num; i++){
          for(int j=0; j<=i; j++){
          cout << combination(i, j) << " " ;
         int combination(int n, int r){
          int result = factorial(n) / (factorial(r) * factorial(n-r));
         int factorial(int n){
  • 파스칼삼각형/윤종하 . . . . 23 matches
         #include<iostream>
         using namespace std;
         int fac(int n)
         int combi(int n,int k)
         int main()
          int line;
          cin>>line;
          int i,j;
          for(i=0;i<line;i++)
          for(j=0;j<line-i;j++) cout<<" ";
          for i in range(0,n,1):
          for j in range(0,n-i,1):
          print "",
          for j in range(0,i+1,1):
          print combi(i,j),
          print "\n"
         n=input("줄 수")
  • AntOnAChessboard/하기웅 . . . . 22 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         int step, i, j, temp, counting;
         #define x_loc 1
         #define y_loc 0
         int calculate(int st, int xy)
          counting=1;
          return counting;
          counting++;
          return counting;
          counting++;
          return counting;
          counting--;
          return counting;
          counting--;
         int main()
          while(cin>>step)
  • 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);
  • EightQueenProblem/정수민 . . . . 22 matches
         #define EIGHTQUEENPROBLEM_H_
          int chess[8][8]; //체스판
          int x,y;
          void PrintMap(); //결과 출력
         #include <iostream>
         using namespace std;
         #include "EightQueenProblem.h"
          for (int i = 0 ; i < 8 ; i++ ) {
          int i,j;
          for (int i = 0 ; i < 8 ; i++ ) {
          for (int j = 0 ; j < 8 ; j++ ) {
          for (int i = 0 ; i < 8 ; i++ ) {
          for (int j = 0 ; j < 8 ; j++ ) {
         void EightQueenProblem::PrintMap () {
          for (int i = 0 ; i < 8 ; i++ ) {
          for (int j = 0 ; j < 8 ; j++ ) {
         #include "EightQueenProblem.h"
         #include <iostream>
         #include <time.h>
         int main()
  • HanoiTowerTroublesAgain!/조현태 . . . . 22 matches
          == [HanoiTowerTroublesAgain!/조현태] ==
         #include <iostream>
         #include <Windows.h>
         #include <vector>
         #include <cmath>
         using namespace std;
         bool IsCanPut(int baseBallNumber, int putBallNumber)
          if (sqrtNumber == (double)(int)sqrtNumber)
         int GetMaxBallNumber(int stickNumber)
          int ballCount = 0;
          vector<int> lastBallNumbers;
          for (register int i = 0; i < stickNumber; ++i)
         void main()
          int testCaseNumber;
          cin >> testCaseNumber;
          for (int i = 0; i < testCaseNumber; ++i)
          int stickNumber;
          cin >> stickNumber;
         [HanoiTowerTroublesAgain!]
  • IntelliJUIDesigner . . . . 22 matches
         [IntelliJ] 에 추가되는 GUI Designer. 여기서의 설명은 EAP 963 기준.
         [IntelliJ] 의 UI Designer 의 특징이라면, 좌표나 레이아웃관련 정보를 따로 XML 화일에 저장한다는 점이다. 그리고 우리가 작성하는 소스 코드 에서는 각 컨트롤 객체들의 레퍼런스 변수들 간 연결관계를 쓴다. 코드가 꽤 깔끔하다.
         단점이라면, 아직 개발이 계속 진행중이여서 완전하지 않다는 점. Swing Control 중 아직 UI Palette 에 없는 것들도 있고, 레퍼런스 변수와 binding 하는 방법도 약간 복잡한 감이 있다.
         forms_rt.jar 화일이 필요하다. 이는 IntelliJ 의 lib 디렉토리에 있다.
         Upload:intellijui_new.gif
         Upload:intellijui_uidesigner.gif
         === Layouting ===
         Upload:intellijui_layout1.gif
         Upload:intellijui_layout2.gif
         Upload:intellijui_layout3.gif
         Upload:intellijui_layout4.gif
         === binding 할 클래스 설정 ===
         Upload:intellijui_variable.gif
         Upload:intellijui_bindvariable.gif
         Upload:intellijui_bindclassdlg.gif
         Upload:intellijui_bindclass.gif
         Upload:intellijui_writemore.gif
         Upload:intellijui_output.gif
         Upload:intellijui_writeaction.gif
         [IntelliJ]
  • JTD 야구게임 짜던 코드. . . . . 22 matches
         import javax.swing.*;
          public static int makeFirstNumber(void)
          int a;
          a = (int)(random() % 1000);
          public static int makeSecondNumber(void)
          int a;
          a = (int)(random() % 1000);
          public static int makeThirdNumber(void)
          int a;
          a = (int)(random() % 1000);
          public static char checkNumbers(int number, int a)
          public static int userNumber(void)
          String user;
          int user2;
          int number;
          user = JOptionPane.showInputDialog(null,"write in a three digit number");
          user2 = Integer.parseInt(user);
          public static void main(String [] args)
          int number;
          int user;
  • JUnit/Ecliipse . . . . 22 matches
         O'REILLY 사의 Eclipse(저자 Steve Holzner) 를 구입하시거나 제본하신 분들께서는 CHAPTER 3. Testing and Debugging 을 보시면 Sample 예제와 함께 자세한 설명이 있음을 알려드립니다.
         Eclipse 플랫폼을 실행하시고, Window->Preference 메뉴를 선택하시면 Preferences 대화창이 열립니다. 왼쪽의 트리구조를 보시면 Java 라는 노드가 있고, 하위 노드로 Build Path 에 보시면 Classpath Varialbles 가 있습니다.
         clipse/plugins/org.junit_3.8.1/junit.jar
          private int[] array;
          public int[] allocate() {
          public int get(int index) {
          return array[index];
          public boolean set(int index, int value) {
          if(index < array.length && index >= 0) {
          array[index] = value;
         다음으로 자신이 테스트를 하고 싶은 메서드에 체크를 하고 Finish 하면 TestCase를 상속받는 새 클래스를 자동으로 생성하여 줍니다.
         여기서는 샘플소스의 메소드 3개( allocate(), get(int), set(int,int) )를 모두 체크합니다.
          public int[] allocate() {
          array = new int[3];
  • JollyJumpers/문보창 . . . . 22 matches
         #include <iostream>
         using namespace std;
         const int MAX = 3000;
         bool isJolly(int n);
         inline void showJolly(bool w) { w ? cout << "Jolly\n" : cout << "Not jolly\n"; }
         inline void eatline() { while(cin.get() != '\n') continue; };
         int main()
          int n; // 뒤에 이어지는 정수들의 개수
          while (cin >> n)
          eatline();
         bool isJolly(int n)
          int i;
          int ftemp, ltemp; // 앞숫자, 뒷숫자
          cin >> ftemp;
          int gap;
          cin >> ltemp;
  • LUA_6 . . . . 22 matches
         > print(double.value) -- 새로운 테이블의 값을 출력
         __concat .. : string 연결 연산자
         > mt.__index = function(x,key)
         > print(new.value)
         __newindex : 새로운 index가 추가 되었을 경우에 호출 되는 meta 함수
         > instance = { value = 0, set_value = function(self, value) self.value = value end }
         > instance.set_value(10) ---- self 가 없어서 에러가 발생
         stdin:1: attempt to index local 'self' (a number value)
          stdin:1: in function 'set_value'
          stdin:1: in main chunk
         > instance.set_value(instance,10) --- self에 자기 자신을 넣어서 OK
         > print(instance.value)
         > instance:set_value(20) --- ':'를 쓰면 self를 안써도 됨
         > print(instance.value)
  • Linux/디렉토리용도 . . . . 22 matches
         윈도우의 Windows, ProgramFiles 만으로 이루어진 그 구조가 왜 그렇게 그립던지 ㅠ.ㅠ
         참고) Running Linux/매트 웰시, 라 카우프만, 칼레달하이머 저, Oreilly
         == /bin ==
          * 리눅스의 기본 명령어(binary)들이 들어있는 디렉토리
         == /sbin ==
          * reboot, modprobe, insmod 등등의 root 가 시스템을 관리하는데 필요한 명령어들이 존재한다.
         lib 디렉토리에는 컴파일러를 통해서 혹은 만들어진 파일들이 잠조하는 라이브러리들이 존재한다. 또한 하부에 modules 디렉토리에 존재하는 커널 모듈은 특수장치를 설치했거나 제거했을 경우 커널이 자동적으로 모듈을 올리지 못할 경우 insmod, rmmod, modprobe 명령어를 통해서 이런 모듈을 다룰때 이용된다. 커널 모듈의 경우 2.4커널에서는 *.o, 2.6 커널에서는 *.ko의 확장자를 가지고 있다.
          * 예) 인터럽트 정보 확인 ---> cat /proc/interrupts'''
          * /etc/xinetd.d : 슈퍼데몬 xinetd.d의 서비스 영역을 설정하는 디렉토리.
         아파치를 비롯한 모든 서버의 환경설정 파일이 관리 되는 곳이다. 물론 사용자가 직접 바이너리로 설치했을 경우에는 이 곳에 위치하지 않을 수도있다. 그러나 대부분 패키지 관리자를 통해서 설치된 프로그램의 경우 이곳에서 설정이 가능하다. 직접 설치를 하는 경우라면 '''X11, apache2, init.d, rc.*, skel, xinitd.d''' 디렉토리를 많이 다루게 된다.
          * /usr/bin : 응용 프로그램의 실행 파일이 위치
          * /usr/sbin : 주로 네트워크 관련 실행 명령어와 실행 데몬들을 많이 포함하고 있음.
          * /usr/X11R6 : X-window 시스템에 관련된 파일 존재.
          * /usr/include : 기본 C 라이브러리 헤더 파일과 각종 라이브러리 헤더파일들이 있음.
          * /usr/lib : /usr/bin과 /usr/sbin에 있는 실행 바이너리를 실행하기 위한 라이브러리 존재.
          * /usr/local : 새로운 프로그램들이 설치되는 곳(windows의 Program Files 와 유사)
         이 디렉토리에는 커널의 바이너리 이미지가 위치한다. 보통은 부트로더를 /vmlinuz 로 부팅하게 설정하고, 현재 내가 쓰고 싶은 커널의 심볼릭 링크를 /vmlinuz 로 설정하여서 이용한다. 이 경우 커널의 버전업이나 테스팅을 위해서 커널의 버전이 필요할 경우 관리상 용이하다.
  • Mario . . . . 22 matches
          * 선형탐색을 하는 문제입니다. 재귀함수나, DynamicProgramming을 연습하는데 좋습니다.
         input1:
         input2:
         input3:
         input4:
         #include <stdio.h>
         int bigsum=0;
         int mario(int arr[],int n,int k,int sum);
         int main()
          int i,j,n,k=0,sum=0;
          int arr[100];
          printf("%d",bigsum);
         int mario(int arr[],int n,int k,int sum)
  • MineSweeper/허아영 . . . . 22 matches
         || 2006-01-07 14:23:36 0.008 Minimum ||
         #include <iostream>
         using namespace std;
         int main()
          int m, n, i, j; // field size
          int fieldNum = 1; // field number
          char ** inputField;
          int ** outputField;
          while(cin >> m >> n && m != 0 && n != 0){
          inputField = new char *[m+2];
          outputField = new int *[m+2];
          inputField[i] = new char[n+2];
          outputField[i] = new int[n+2];
          for(i = 1; i <= m; i++) //input
          cin >> inputField[i] + 1;
          if(inputField[i][j] == '*') //주의 : * + 1
          for(int j = 1; j <= n; j++)
          delete[] inputField[i];
          delete inputField;
         [MineSweeper]
  • MySQL/PasswordFunctionInJava . . . . 22 matches
         // JDK 1.5 이상에서 동작. (String.format 함수 때문에)
          public static String toMySQLPassword(String aStr) {
          int nr = 1345345333;
          int add = 7;
          int nr2 = 0x12345671;
          int size = aStr.length();
          for(int i=0;i<size;i++)
          if(aStr.charAt(i) == ' ' || aStr.charAt(i) == '\t') continue; /* skipp space in password */
          int tmp = (aStr.charAt(i));
          int result1=nr & ((1 << 31) -1); /* Don't use sign bit (str2int) */
          int result2=nr2 & ((1 << 31) -1);
          String result = String.format("%08x%08x",new Object[]{new Integer(result1),new Integer(result2)});
          public static void main(String[] args) {
          System.out.println(MySqlUtil.toMySQLPassword("hahaha"));
          System.out.println(MySqlUtil.toMySQLPassword("testing"));
          System.out.println(MySqlUtil.toMySQLPassword("abcd1234"));
  • OOP . . . . 22 matches
         '''Object Oriented Programming''' : 객체 지향 프로그래밍. ~~객체를 지향하는 프로그래밍입니다.~~이 이전에 Object Based Progamming 것이 있었다.이 다음 세대의 프로그래밍 기법은 GenericProgramming이라고 이야기된다.
         === Definition ===
         Object-oriented programming is based in the principle of recursive design.
         1. Everything is an object.
         2. Objects perform computation by making requests of each other through the passing of messages.
         4. Every object is an instance of a class. A class groups similar objects.
         6. Classes are organized into singly-rooted tree structure, called an inheritance hirearchy.
         It’s a natural way for people to ”think in objects”.
         Program consists of objects interacting with eachother Objects provide services.
         Easier to maintain
          * [Instance]
          * [Inheritance](상속)
          * [Interface]
          * [Generic programming]
         === Basic rules to define objects ===
  • PowerOfCryptography/문보창 . . . . 22 matches
         {{| 2005-07-29 Accepted 0.014 Minimum |}}
         #include <iostream>
         #include <math.h>
         using namespace std;
         const int LEN = 1001;
         int find_length(char * p)
          int i;
         double find_lnP(char * p)
          int len = find_length(p);
          int i;
         void process(int n, char * p)
          double lnP = find_lnP(p);
          int result = floor(k);
         int main()
          int n;
          while (cin >> n)
          cin.get();
          cin.getline(p, LEN, '\n');
  • Refactoring/BadSmellsInCode . . . . 22 matches
         Refactoring이 동작하는 매커니즘을 아는 것 만큼 중요한 것은, 언제 Refactoring을 적용할까 하는 것이다.
         여기서 딜레마가 온다. 어떻게 인스턴스 변수를 삭제하거나 클래스 계증구조를 만드는가를 표현하는 것은 쉽다. 그건 사소한 문제들이다. 하지만 언제 이러한 것들을 해야 할 것인지 표현하는 것은 쉽지 않다. 나는 (여기서의 I는 Martin Fowler) 프로그래밍 미학이라는 모호한 표현으로 얼버무리지 않고 좀 더 확실한 것을 원했다.
         내가 이 문제로 Kent Beck 을 방문했을 때 그는 "언제" 를 설명하기 위해서 "Smell" 이라는 표현을 사용했다. 우리는 많은 코드들을 보았고, 그것들을 보면서 Refactoring이 적용가능한 어떤 구조를 발견했다.
         여기에서 우리는 Refactoring이 적용가능한 아주 정확한 척도를 제공하려고는 하지 않을 것이다. 경험상, 어떠한 측정도구들도 숙련된 인간의 직관의 경쟁상대가 될 수는 없었다. 우리가 하려는 것은 Refactoring에 의해 해결될 수 있는 문제들이 있는 몇몇 부분을 지적하려는 것이다.
         어떠한 Refactoring을 해야 할 지 확신할 수 없을때 이 부분을 읽어라. 정확하게 똑같은 Smell을 발견할 순 없더라도 Refactoring에 대한 올바른 방향을 가리켜 줄 지침이 될 것이다.
          * ExtractMethod 하는중 parameter를 많이 넘겨야 하거나, 임시변수를 많이 사용하게 되는 경우 - ReplaceTempWithQuery, IntroduceParameterObject, PreserveWholeObject, ReplaceMethodWithMethodObject
          * AWT -> Swing Component로 바꿀때 - DuplicateObservedData
         ExtractClass, ExtractSubclass, ExtraceInterface, ReplaceDataValueWithObject
          * When you can get the data in one parameter by making a request of an object you already know about - ReplaceParameterWithMethod
          * logic을 가지지 않는 여러개의 data item을 가지는 경우 - IntroduceParameterObject
         ReplaceParameterWithMethod, IntroduceParameterObject, PreserveWholeObject
          * 모든 행위들의 묶음을 가지기 위해 - InlineClass
          * Divergent Change - one class that suffers many kinds of changes
         MoveMethod, MoveField, InlineClass
          * ExtractClass, IntroduceParameterObject or PreserveWholeObject
         ExtractClass, IntroduceParameterObject, PreserveWholeObject
         ReplaceValueWithObject, ExtraceClass, IntroduceParameterObject, ReplaceArrayWithObject, ReplaceTypeCodeWithClass, ReplaceTypeCodeWithSubclasses, ["ReplaceTypeCodeWithState/Strategy"]
          * 조건 case 에 null 이 있는 경우 - IntroduceNullObject
         ReplaceConditionalWithPolymorphism, ReplaceTypeCodeWithSubclasses, ["ReplaceTypeCodeWithState/Strategy"], ReplaceParameterWithExplicitMethods, IntroduceNullObject
         == Parallel Inheritance Hierarchies ==
  • Self-describingSequence/조현태 . . . . 22 matches
          == [Self-describingSequence/조현태] ==
         #include <iostream>
         #include <Windows.h>
         #include <map>
         using namespace std;
         int GetSolomonGolombNumber(int pointNumber)
          map<int, int> numbers;
          int nowNumber = 1;
          register int suchNumber;
          for (register int i = 1; nowNumber < pointNumber; ++i)
          for(suchNumber = i; numbers.end() == numbers.find(suchNumber); --suchNumber);
          for(suchNumber = pointNumber; numbers.end() == numbers.find(suchNumber); --suchNumber);
         void main()
          int calculateNumber = 0;
          cin >> calculateNumber;
         [Self-describingSequence]
  • Shoemaker's_Problem/곽병학 . . . . 22 matches
         #include<iostream>
         #include<algorithm>
         #include<map>
         using namespace std;
          int first;
          int second;
          int a = s1.first * s2.second;
          int b = s1.second * s2.first;
         int main() {
          int cs, line, t, s, key, val;
          multimap<ps, int, opt> mm;
          multimap<ps, int, opt>::iterator it;
          cin>>cs;
          cin>>line;
          for(int i=0; i<line; i++) {
          cin>>t>>s;
          mm.insert(make_pair(p, i+1));
          for(it = mm.begin(); it != mm.end(); ++it)
  • SuperMarket/세연 . . . . 22 matches
         #include<iostream.h>
          int money;
          int max_num;
          int cost;
          int quanty;
          void Inventory();
          int temp;
          cin >> temp;
          int choice;
          int quanty;
          for(int i = 0 ; i < max_num ; i++)
          cin >> choice;
          cin >> quanty;
         void supermarket::Inventory()
          for(int i = 0 ; i < max_num ; i++)
          int choice;
          int quanty;
          cin >> choice;
          cin >> quanty;
         int main()
  • TheTrip/김상섭 . . . . 22 matches
         #include <iostream>
         using namespace std;
         #include <vector>
         #include <numeric>
         int num, i, temp1;
         double temp_max,temp_min;
          cout.setf(ios::showpoint);
          double max=0.0, min=0.0;
          num = int(accumulate(test.begin(),test.end(),0.0)/test.size()*1000);
          temp_min = double((num)/10)/100;
          temp_max = temp_min;
          else if( test[i] < temp_min)
          min += temp_min - test[i];
          if(min > max)
          max = min;
         int main()
          cin >> num;
          cin >> temp_max;
          cin >> num;
  • ToyProblems . . . . 22 matches
         ToyProblems를 풀게 하되 다음 방법을 이용한다. Seminar:TheParadigmsOfProgramming [http://www.jdl.ac.cn/turing/pdf/p455-floyd.pdf (pdf)]을 학습하게 하는 것이다.
          *준비물: 기본적으로 이클립스와 Python 2.3b1( + idlefork), NetMeeting 설치
         ToyProblems를 풀면서 접하게 될 패러다임들(아마도): CSP, Generators, Coroutines, Various Forms of Recursion, Functional Programming, OOP, Constraint Programming, State Machine, Event Driven Programming, Metaclass Programming, Code Generation, Data Driven Programming, AOP, Generic Programming, Higher Order Programming, Lazy Evaluation, Declarative Programming, ...
          * PairProgramming
          - 창준 - Higher Order Programming과 로우레벨에서의 설명(예컨대 단순한 함수 포인터로 설명하는 것)의 차이는 미묘하고, 또 크다. 동사(달리다)를 명사(달림)의 품 안에 넣는 것이다. 이 사고에서 엄청난 차이가 생길 수 있다.
          - 창준 - 교육의 3단계 언급 Romance(시, Disorder)-Discipline(예, Order)-Creativity(악, Order+Disorder를 넘는 무언가) , 새로운 것을 배울때는 기존 사고를 벗어나 새로운 것만을 생각하는 배우는 자세가 필요하다. ( 예-최배달 유도를 배우는 과정에서 유도의 규칙만을 지키며 싸우는 모습), discipline에서 creativity로 넘어가는 것이 중요하다.
         Higer order programming에서 중요한 것은 동사를 명사화해준다는 것인데, Command Pattern도 이와 비슷한 것 같습니다.
          * CTMCP http://www.info.ucl.ac.be/~pvr/
          * The Art and Craft of Problem Solving
  • UDK/2012년스터디 . . . . 22 matches
          * [http://www.udk.com/kr/documentation.html 튜토리얼], [http://www.3dbuzz.com/vbforum/sv_home.php 3D Buzz] [http://cafe.naver.com/cookingani UDK 카페]와 [http://book.naver.com/bookdb/book_detail.nhn?bid=6656697 Mastering Unreal]을 참고하여 진행
         World Machine
         http://udn.epicgameskorea.com/Three/LandscapeCreatingKR.html
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptBaptismByFireKR.html 언리얼 마스터하기: 언리얼스크립트 통과의례]
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptClassesKR.html 언리얼 마스터하기: 언리얼스크립트 클래스]
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptFunctionsKR.html 언리얼 마스터하기: 언리얼스크립트 함수]
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptPreProcessorKR.html 언리얼 마스터하기: 언리얼스크립트 전처리기]
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptStatesKR.html 언리얼 마스터하기: 언리얼스크립트 스테이트]
          * [http://udn.epicgames.com/Three/MasteringUnrealScriptDelegatesKR.html 언리얼 마스터하기: 언리얼스크립트 델리게이트]
          * UDK 및 nFringe 설치 및 컴파일
          * DefaultCharInfo.ini 파일에서 캐릭터 동작등을 수정하는 방법 알아 봄
          * [http://download.autodesk.com/us/3dsmax/skillmoviesv2011/index.html Essential Skills Movies]
          * [http://docs.autodesk.com/3DSMAX/13/KOR/Autodesk%203ds%20Max%202011%20Tutorials/index.html Autodesk 3ds Max 자습서]
          * [http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=6837309&linkID=9241175 Autodesk 3ds Max Services & Support]
          좀 더 관심있으면 다음 예제도 도움이 될 듯. [http://udn.epicgames.com/Three/DevelopmentKitGemsConcatenateStringsKismetNodeKR.html Concatenate Strings (문자열 연결) 키즈멧 노드 만들기]
          * 도데체 Point Object는 어떻게 만드는겨 - (책 설명에 따르면.. 그림과 같이 발의 뒤쪽을 뷰포트에서 클릭해 Point 오브젝트를 만듭니다.... 뭐 어쩌라고)
         // NotifyHitWall with falling pawn
         event NotifyFallingHitWall(vector HitNormal, actor Wall);
  • ZeroPageServer/old . . . . 22 matches
          * [ZeroPageServer/AboutCracking]
         || [http://openlook.org/distfiles/PuTTY/putty.exe putty 한글 입력 패치 적용] || 출처[http://fallin.lv/zope/pub/noriteo/putty 장혜식님의 홈] ||
         || [http://165.194.17.15/pub/util/WinSCP2.exe WinSCP 2.0 Beta], [http://165.194.17.15/pub/util/WinSCP22.exe WinSCP 2.2]|| ssh1, 2 ftp Client ||
         || ["ZeroPageServer/InstalledTool"] || 설치된 프로그램 ||
         || [ZeroPageServer/BlockingUninvitedGuests] || . ||
          * ssh 클라이언트일 가능성이 큽니다. 작년 11월에 한글 패치한 버전의 putty 가 나왔는데 이것들로도 테스트 해보세요. 저는 잘 쓰고 있습니다. --NeoCoin
          - 상관없을것 같습니다. zeropage 에서 직접 DNS 서버 돌리면 subdomain.domain.org 같은 식으로 서브도메인도 사용할 수 있을것 같구요. - [임인택]
          지금 ZP 서버의 linux가 옛날 버젼이라면 설치된 bind 는 보안 문제가 발생한 것일지도 모르겠습니다. 현재 Solaris가 설치된 회사 서버를 3년간 방치해 두었는데 얼마전에 들어가보니 해커들의 놀이터가 되었더군요. 백도어 및 Rootkit 들이 난무했었다는.... 아마도 문제가 보안 문제가 있었던 OpenSSH 또는 Bind의 문제였던것 같습니다. '''Bind 는 보안에 문제가 없는 최신 버젼으로 업데이트''' 하는 것이 좋겠습니다. 혹시 요즘 서버 관리가 시원찮았다면 [http://www.rkhunter.org/ rkhunter]를 다운 받아서 시스템을 점검보는 것을 추천합니다. --[Passion]
          * (V) Resin 과 Apache2 연동 -> Apache/1.3.29 로 변경후 resin 기존 모듈 적재로 해결
          * man 을 영문판으로 재설치하였습니다. 확인해 보세요. --NeoCoin
          * man과 동일한 역할의 info 를 설치해 두었습니다. 사용해 보세요.
         info 명령어 }}}
          - 개강할 임새가 되니까.. 슬슬 네트웍이 말썽을 부리려는 기미를 보이기 시작하는건가요.. 작년 ObjectProgramming 숙제하면서 피씨실 사용할때 일정시각만 되면 네트워크가 먹통이 되어가지구 적잖이 난감했었는데... - [임인택]
          * 계정에서 [python] [cgi] 를 돌리고 싶은데, [ZeroPageServer/FAQ] 에 나온대로 ~beonit/public_html/cgi-bin/hello.cgi 로 접근해보아도 잘 안되네요. chmod +x hello.cgi 로 권한설정도 했습니다. 어떻게 해야 하죠?? CGI 권한을 따로 받아야 한다는 이야기도 있던데... 흠...-_- - 이승한
  • whiteblue/간단한계산기 . . . . 22 matches
         import javax.swing.*;
          JTextField inputField = new JTextField();
          GridBagConstraints c = new GridBagConstraints();
          c.fill = GridBagConstraints.BOTH;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          gridbag.setConstraints(inputField, c);
          getContentPane().add(inputField);
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          c.gridwidth = GridBagConstraints.LAST_LINE_END;
          c.gridwidth = GridBagConstraints.REMAINDER; //end row
          String name,
          GridBagConstraints c) {
          gridbag.setConstraints(button, c);
          public static void main(String[] args) {
  • zennith/dummyfile . . . . 22 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <time.h>
         int main(int argc, char * argv[]) {
          int i, request;
          fprintf(stderr, "Usage : %s [length of dummy file] [dummy file name]", argv[0]);
          fprintf(stderr, "File open error occured.");
          printf("\n%f\n", (double)(end - start) / CLK_TCK);
         #include <stdio.h>
         #include <stdlib.h>
         #include <time.h>
         int main(int argc, char * argv[]) {
          int divTable[6];
          int i, j, fragSize;
          fprintf(stderr, "Usage : %s [length of dummy file] [dummy file name]", argv[0]);
          fprintf(stderr, "File open error occured.");
          fprintf(stderr, "memory allocation error occured.");
          printf("\n%f\n", (double)(end - start) / CLK_TCK);
  • 가독성 . . . . 22 matches
         #include <stdio.h>
         main(){
         int i;
          printf("%d", i);
         가독성은 개인취향이라고 생각합니다. 제 경우는 C, C++에서 { 를 내리지 않는 경우보단 내리는 경우가 더 보기 편하고, JavaLanguage 에서는 내리지 않는게 더 편하답니다. 애초에 CodingConventions 이라는 것이 존재하는 것도 통일된 코딩규칙을 따르지 않고 개인취향의 코드를 만들어내다 보면 전체적으로 코드의 융통성이 결여되고 가독성또한 전체적으로 떨어지는 문제를 미연에 방지하기 위함이라고 생각합니다. 특히나 ExtremeProgramming 의 경우처럼 CollectiveOwnership 을 중요한 프랙티스 중의 하나로 규정한 방법론에서는 CodingConventions 과 같은 공동소유의 산출물에 대한 규칙이 더윽 중요하다고 생각됩니다. 요는, { 를 내리느냐 내리지 않느냐가 가독성이 높냐 낮냐를 결정짓는 것이 아니고 가독성이라는 하나의 평가요소의 가치는 개인에 따라 달라질 수 있다는 것입니다. - 임인택
         글을 작성하신 분과 제가 생각하는 '가독성'에 대한 정의가 다른게 아닌가 합니다. 코드를 글로 비유해 보자면(저는 비유나 은유를 좋아한답니다) 이영호님께서는 ''눈에 거슬리지 않게 전체적인 문장이 한눈에 들어오는가''를 중요하게 생각하시는 것 같습니다. 저는 가독성이라는 개념을 ''문장들이 얼마나 매끄럽고 문단과 문단의 연결에 부적절함이 없는가''에 초점을 맞추고 있습니다. 문단의 첫 글자를 들여쓰기를 하느냐 마느냐가 중요한 것이 아니고 그 문단이 주제를 얼마나 명확하고 깔끔하게 전달해 주느냐가 중요하다는 것이죠. CollectiveOwnership 을 위한 CodingConventions와 글쓰기를 연계시켜 생각해 보자면 하오체를 쓸것인가 해요체를 쓸것인가 정해두자 정도가 될까요? 제가 생각하는 가독성의 정의에서 brace의 위치는 지엽적인 문제입니다. SeeAlso Seminar:국어실력과프로그래밍
         저도 딴지를 약간 걸어보자면 토발즈가 작성한 Linux Kernel Coding Style 이라는 문서를 보니 첫 부분에 다음과 같은 부분이 있네요.
         This is a short document describing the preferred coding style for the linux kernel. Coding style is very personal, and I won't force my views on anybody, but this is what goes for anything that I have to be able to maintain, and I'd prefer it for most other things too. Please at least consider the points made here.
         전에 여러 회사의 팀들 분들과 이야기를 하면 사람들마다 얼마나 취향차들이 다른가에 대해서 느끼는데, 한편으로는 그냥 개인의 취향차로만 보기에는 그 분들의 작업 환경에 따라 차이가 있는 듯 합니다. 일례로, ["Refactoring"] 개념이 개발자들에게 퍼진 이후 메소드는 가능한 한 짧고 간결하며 한가지 기능만을 하는게 가독성과 모듈디자인상 좋다고 이야기합니다. 근데, 리눅스나 VI 에서 작업하시는 분들은 '너무 메소드 길이가 짧아도 안좋다.' 라던지 '리눅스의 xx 코드 본 적 있냐? 한페이지에 주욱 나오는게 정말 읽기가 좋다.' 'OO 디자인이 좋다고 하는데, 코드 분석하려면 이 화일 저 화일 돌아다니고 메소드들을 이리저리 돌아다녀야 하고 별로 안좋은거 같다' 라고 말씀하시는 분들도 있습니다.
         그래서 추측을 했었는데, 자신이 쓰는 도구에 따라 같은 코드도 가독성에 영향을 받을 수 있겠다는 생각을 해봅니다. VI 등의 editor 들로 코드를 보는 분들이라면 아마 일반 문서처럼 주욱 있는 코드들이 navigation 하기 편합니다. (아마 jkl; 로 돌아다니거나 ctrl+n 으로 page 단위로 이동하시는 등) 이러한 경우 OO 코드를 분석하려면 이화일 저화일 에디터에 띄워야 하는 화일들이 많아지고, 이동하기 불편하게 됩니다. (물론 ctags 를 쓰는 사람들은 또 코드 분석법이 다르겠죠) 하지만 Eclipse 를 쓰는 사람이라면 코드 분석시 outliner 와 caller & callee 를 써서 코드를 분석하고 navigation 할 겁니다. 이런 분들의 경우 클래스들과 메소드들이 잘게 나누어져 있어도 차라리 메소드의 의미들이 잘 분리되어있는게 분석하기 좋죠.
  • 가위바위보/성재 . . . . 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
         #include <iostream.h>
         #include <fstream.h>
         int main()
          int num1, num2;
          int win1=0, same1=0, lose1=0;
          int win2=0, same2=0, lose2=0;
          ifstream fin("test1.txt");
          fin.getline(name1, 20);
          fin.getline(name2, 20);
          while (!fin.eof())
          fin >> num1;
          char ch = fin.get();
          fin >> num2;
          win2++; lose1++;
          win1++; lose2++;
          cout << name1 << " : " << win1 << "승 " << same1 << "무 " << lose1 << "패\n";
          cout << name2 << " : " << win2 << "승 " << same2 << "무 " << lose2 << "패\n";
  • 고슴도치의 사진 마을처음화면 . . . . 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 ===
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/권순의,김호동 . . . . 22 matches
          private int max;
          private int min;
          private int floor;
          private boolean inElevator;
          public Elevator(int i, int j) {
          min = j;
          inElevator = false;
          public int floor() {
          public void goTo(int i) {
          if(i <= max && i >= min && inElevator ){
          } else if (i < min){
          floor = min;
          public void in() {
          inElevator = true;
          inElevator = false;
          elevator.in();
          elevator.in();
          elevator.in();
          elevator.in();
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/임상현,서민관 . . . . 22 matches
          assertEquals(-2, el3.minFloor);
          assertEquals(-2, el3.minFloor);
          assertEquals(-20, el3.minFloor);
          assertEquals(3, el3.minFloor);
          public String direction;
          public int currentFloor;
          public int maxFloor;
          public int minFloor;
          public int Turn;
          public Elev(int i, int j) {
          this.minFloor = j;
          this.minFloor = i;
          if(minFloor <= 1 && maxFloor>=1)
          currentFloor = minFloor;
          if(minFloor < 0 && maxFloor < 0)
          public void goTo(int i) throws Exception {
          if ( i >= minFloor && i <= maxFloor && i != 0 ) {
          public void downTo(int i) throws Exception {// 외부에서 엘리베이터가 내려오도록 함.
          public void push(int i) throws Exception { // 엘리베이터 내부에서 i층으로 이동.
          public void upTo(int i) throws Exception { // 외부에서 엘리베이터가 올라오도록 함.
  • 데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/namsangboy . . . . 22 matches
         #-*-coding:utf8-*-
         def readtrain():
          path1 = "/home/newmoni/workspace/svm/package/train/economy/index.economy.db"
          path2 = "/home/newmoni/workspace/svm/package/train/politics/index.politics.db"
          makedir = lambda i : "/home/newmoni/workspace/svm/package/train/"+i+"/index."+i+".db"
          for eachclass in classlist:
          for line in doclist:
          for word in line.split(" "):
          for word in document.replace("\n"," ").split(" "):
         if __name__=="__main__":
          classfreqdic, wordfreqdic, prob1, classprob1, classprob2 = readtrain()
          for eachclass in classlist:
          for line in doclist:
          totalprob = classifydocument(line)
          print eachclass, totalprob
          print correctct,totalct, correctct/float(totalct)
  • 로마숫자바꾸기/허아영 . . . . 22 matches
         #include <stdio.h>
         #include <string.h>
         void input(int *number);
         void operation(int number, char roma_data[3][4]);
         void output(int number, char resultdata[20][4]);
         void main()
          int number = 0;
          input(&number);
          printf("다시 입력해 주세요...n");
         void input(int *number)
          printf("숫자를 입력(종료:99) :");
         void operation(int number, char roma_data[3][4])
          int numberdata[5] = {0,};
          int i = 0;
         void output(int number, char resultdata[20][4])
          int i = 0;
          printf("%d : ", number);
          printf("%s", resultdata[i]);
          printf("n");
  • 마방진/민강근 . . . . 22 matches
         #include<iostream>
         #include<vector>
         using namespace std;
         int main()
          int m;
          cin>>m;
          vector <vector <int> > ma;
          for (int i = 0 ; i < m ; i++)
          int h=0, y, input=1;
          for(h = 0 , y = m/2 ; input == m*m ; h--, y++, input++)
          ma[h][y]=input;
          ma[h][y]=input;
          ma[h][y]=input;
          ma[h][y]=input;
         /* for(h = -1 , y = 1 , input =2 ; input <= (m*m) ; h-- , y ++, input ++)
          ma[h%m][(first+y)%m] = input;
          ma[h%m+1][(first+y)%m] = input;
  • 미로찾기/이규완오승혁 . . . . 22 matches
         #include <iostream>
         #include <ctime> using namespace std;
         int main()
          int walk = 0;
          int movement = 0;
          int row, colum;
          cin >> row;
          cin >> row;
          cin >> colum;
          cin >> colum;
          int **tile;
          tile = new int *[row+2];
          int crs, avn;
          tile[crs] = new int [colum+2];
          int path;
          cin >> path;
          int i = 1;
          int j = 1;
          int imove[8] = {-1, 0, 1, 1, 1, 0, -1, -1};
          int jmove[8] = {-1, -1, -1, 0, 1, 1, 1, 0};
  • 비밀키/김태훈 . . . . 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);
  • 새싹교실/2011 . . . . 22 matches
          * [새싹교실/2011/AmazingC]
         내가 짠 코드를 직접 출력을 통해 확인하는 것은 분명 매력적인 일입니다. 그러나 처음 익힌 코딩 습관은 버리기 매우 어렵습니다. 많은 학생들이 처음 프로그래밍을 배우며 printf 함수를 사용하여 코드를 검증하는 습관을 들입니다. 그 때문에 상당수의 졸업할때까지 테스트보다는 직접 눈으로 확인하는 것을 선호합니다. 그런데 작성한 코드가 잘 돌아가는지 알기 위해 직접 눈으로 확인해야만 하는 것은 매우 많은 문제가 있습니다.(이것에 대해서 더 적자면 정말 길어질테니 일단 이 페이지엔 적지 않겠습니다.)
          * 학교 수업에서 사용하기 때문에 printf 함수를 소개할 필요는 있습니다. 그러나 새싹교실에서 실습한 코드들을 검증하기 위해 매번 printf를 사용하는 것은 권장하지 않습니다.
          * 테스트는 [http://winapi.co.kr/clec/reference/assert.gif assert]함수를 통해 간단히 만들 수 있습니다.
          각 파트의 역할, program의 실행원리, software(layer 활용), complier와 interpreter 역할
          프로그래밍 단계(code 작성->compile->link->generating .exe file)
          stdio.h: printf, scanf function
          type casting
          increment/decrement, postfix/prefix
          infinite loop, break/continue
         달력을 하던 sorting을 하던 알아서 할 것
          initialization
         ||10||pointer:
          pointer arithmetic
         array와 pointer의 관계||
         string:
          string.h
          string I/O||
  • 숫자를한글로바꾸기/조현태 . . . . 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))
  • 숫자야구/aekae . . . . 22 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          int number=rand() % 1000;
          int arr_number[3]={number % 10, (number / 10) % 10, number / 100};
          int input;
          int i,j;
          while(cin >> input)
          int arr_input[3] = {input % 10, (input / 10) % 10, input / 100};
          int strike = 0;
          int ball = 0;
          if (arr_input[i] == arr_number[i])
          if (arr_input[i] == arr_number[j])
          if (input == number)
  • 임인택/삽질 . . . . 22 matches
          int a = 0;
          int b = 0;
          * C++ 에서 SingletonPattern 을 적용했는데.. 소멸자가 호출되지 않는것 같다.. 프로그램 종료시에 인스턴스를 강제로 삭제하였다. - 타이머 루틴에서 instance() 를 얻어왔는데. 타이머는 KillTimer 직후에 소멸되지 않는다.. 이로 인해.. 인스턴스가 삭제 된 후에 다시 생성되었었다...
          ''PatternHatching 에서의 Singleton 부분 참조''
          for( range in 0 to 2 )
          for( range in 0 to 2 )
         위와 같은 4중 루프의 작업을 하는데. {{{~cpp int [][] }}} 형이 vector<vector<int > > 형보다 훨씬 빨랐다. 벡터도 내부적으로 동적 배열을 쓰지만 무언가 다른것 같다. 아니면 그 전에 아래와 같은 벡터 크기 고정 코드를 실행시켜서인가..?
         int maskSize = 3;
          for(int i=0; i<maskSize; ++i)
         #include <stdio.h>
         #include <stdlib.h>
         #include <malloc.h>
         int main()
          int m;
          printf("row size : ");
          int **a = (int**)malloc(sizeof(int*)*m);
  • 최소정수의합/이도현 . . . . 22 matches
         #include <stdio.h>
         void min_int_sum(void);
         int main(void)
          min_int_sum();
         void min_int_sum()
          int n = 1;
          printf("n = %d, sum = %dn", n, (n * n + n) / 2);
         #include <stdio.h>
         void min_int_sum(void);
         int main(void)
          min_int_sum();
         void min_int_sum()
          int n = 0, sum = 0;
          printf("n = %d, sum = %dn", n, sum);
  • 큰수찾아저장하기/김영록 . . . . 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]);
  • 3N+1Problem/신재동 . . . . 21 matches
         #include <iostream>
         using namespace std;
         int getCount(int aNumber)
          int count = 0;
         int getMaxCount(int aStart, int aFinish)
          int maxCount = 0;
          for(int i =aStart; i < aFinish; i++)
          int count = getCount(i);
         int main()
          int start, finish;
          cin >> start >> finish;
          int maxCount = getMaxCount(start, finish);
  • Atom . . . . 21 matches
         Atom is an XML-based document format and HTTP-based protocol designed for the syndication of Web content such as weblogs and news headlines to Web sites as well as directly to user agents. It is based on experience gained in using the various versions of RSS. Atom was briefly known as "Pie" and then "Echo".
         The completed Atom syndication format specification was submitted to the IETF for approval in June 2005, the final step in becoming an RFC Internet Standard. In July, the Atom syndication format was declared ready for implementation[1]. The latest Atom data format and publishing protocols are linked from the Working Group's home page.
         Before the Atom work entered the IETF process, the group produced "Atom 0.3", which has support from a fairly wide variety of syndication tools both on the publishing and consuming side. In particular, it is generated by several Google-related services, namely Blogger and Gmail.
         As well as syndication format, the Atom Project is producing the "Atom Publishing Protocol", with a similar aim of improving upon and standarizing existing publishing mechanisms, such as the Blogger API and LiveJournal XML-RPC Client/Server Protocol.
         [http://www.intertwingly.net/wiki/pie/Rss20AndAtom10Compared RSSAtomCompare]
  • BeeMaja/고준영 . . . . 21 matches
         #include <stdio.h>
         #include <stdlib.h>
         #define NORTH 1
         #define NORTH_WEST 2
         #define SOUTH_WEST 3
         #define SOUTH 4
         #define SOUTH_EAST 5
         #define CAL(x) ((3*x*x)+(3*x)+1)
         struct coordinate{
          int x;
          int y;
         void move_posi(struct coordinate *, int);
         int main(void)
          int willy, row, seq, i;
          printf("윌리의 좌표계를 입력하세요 : ");
          printf("(%d, %d)\n\n", posi.x, posi.y);
          printf("윌리의 좌표계를 입력하세요 : ");
         void move_posi(struct coordinate *posi, int direc)
  • DPSCChapter4 . . . . 21 matches
         '''["Adapter"](105)''' Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces
         '''Bridge(121)''' Decouple an abstraction from its implementation so that the two can vary independently
         '''Composite(137)''' Compose objects into tree structrures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly.
         '''Decorator(161)''' Attach Additional responsibilities and behavior to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.
         '''Facade(179)''' Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.
         '''Flyweight(189)''' Use sharing to support large numbers of fine-grained objects efficiently.
         '''Facade(179)'''는 확장된 시스템에서(하위, 상속받은) interface들의 조합에 대한 일관적인 접근(interface)을 제공한다. Facade는 확장 시스템(하위, 상속받은)을 좀더 사용하게 쉽도록 높은 단계의 interface를 정의한다.
  • EcologicalBinPacking/김회영 . . . . 21 matches
         #include<iostream>
         using namespace std;
         int container[9]; //용기에 들어있는 병을 입력 받는다.
         int total=0; //용기에 들어있는 병의 총개수를 센다.
         int ch_number; //최소 이동 횟수를 저장한다.
         int max(int* array);
         void main()
          for(int i=0 ; i<9 ; i++)
          cin>>container[i];
          total+=container[i];
          ch_number = total - max(container);
         int max(int* array)
         int temp=0;//각각의 조합에 대한 현재값을 저장한다.
         int max=0; //여러 조합에 대해 가장 큰 값을 저장한다.
         for(int i=0 ; i<3 ; i++)
          for(int j=3 ; j<6 ; j++)
          continue;
  • EightQueenProblem/이창섭 . . . . 21 matches
         #include <iostream>
         using namespace std;
         int array[20][20] = {0,};
         bool exam(int r, int c);
         int main()
          for (int r = 7; r <= 14; r++)
          for (int c = 7; c <= 14; c++)
          for (int i = 7; i <= 14; i++)
          for (int j = 7; j <= 14; j++)
          for (int a = 0; a <= 19; a++)
          for (int b = 0; b <= 19; b++)
         bool exam(int r, int c)
          for (int i = 0; i <= 7; i++)
          for (int i = 0; i <= 7; i++)
          for (int j = 0; j <= 7; j++)
          int counter = 0;
          for (int i = 7; i <= 14; i++)
          for (int j = 7; j <= 14; j++)
  • EuclidProblem/문보창 . . . . 21 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         int gcd(int p, int q, int & x, int & y);
         int main()
          int a, b;
          int x, y;
          int g; // gcd
          while (cin >> a >> b)
         int gcd(int p, int q, int & x, int & y)
          int x1, y1; // 이전계수
          int g; // gcd
  • GofStructureDiagramConsideredHarmful . . . . 21 matches
          * 원문 : http://www.industriallogic.com/pulse/20001001.html
         There's a mistake that's repeated throughout the Design Patterns book, and unfortunately, the mistake is being repeated by new patterns authors who ape the GoF style.
         Each GoF pattern has a section called "Structure" that contains an OMT (or for more recent works, UML) diagram. This "Structure" section title is misleading because it suggests that there is only one Structure of a Pattern, while in fact there are many structures and ways to implement each Pattern.
         But inexperienced Patterns students and users don't know this. They read the Patterns literature too quickly, often thinking that they understand a Pattern merely by understanding it's single "Structure" diagram. This is a shortcoming of the GoF Form, one which I believe is harmful to readers.
         What about all those important and subtle Implementation notes that are included with each GoF Pattern? Don't those notes make it clear that a Pattern can be implemented in many ways? Answer: No, because many folks never even read the Implementation notes. They much prefer the nice, neat Structure diagrams, because they usually only take up a third of a page, and you don't have to read and think a lot to understand them.
         Diagrams are seductive, especially to engineers. Diagrams communicate a great deal in a small amount of space. But in the case of the GoF Structure Diagrams, the picture doesn't say enough. It is far more important to convey to readers that a Pattern has numerous Structures, and can be implemented in numerous ways.
         I routinely ask folks to add the word "SAMPLE" to each GoF Structure diagram in the Design Patterns book. In the future, I'd much prefer to see sketches of numerous structures for each Pattern, so readers can quickly understand that there isn't just one way to implement a Pattern. But if an author will take that step, I'd suggest going even further: loose the GoF style altogether and communicate via a pattern language, rich with diagrams, strong language, code and stories.
  • HanoiTowerTroublesAgain!/문보창 . . . . 21 matches
         || 2006-01-12 Accepted 0.092 Minimum ||
         // 10276 - HanoiTowerTroublesAgain!
         #include <iostream>
         using namespace std;
         #include <cmath>
         #define MAX_SIZE 50
         static int stick[MAX_SIZE+1];
         void initStick(int n)
          for (int i = 1; i <= n; i++) stick[i] = 0;
         void process(int n)
          initStick(n);
          int number = 1;
          for (int i = 1; i <= n; i++)
         int main()
          int nCase, n;
          cin >> nCase;
          for (int i = 0; i < nCase; i++)
          cin >> n;
         [HanoiTowerTroublesAgain!]
  • 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 여기에 들어가면 위 소스로 만든 애플릿을 확인하실수 있습니다. - 장길 -
  • JollyJumpers/김회영 . . . . 21 matches
         #include<iostream>
         using namespace std;
         #include<math.h>
         bool seqCheck(int* array,int count);
         void main()
          int input=0;
          int count=0;
          int oldInput=0;
          int total=0;
          int array[3000]={0,};
          while(cin>>input)
          array[count-2]=abs(oldInput-input);
          oldInput=input;
         bool seqCheck(int* array,int count)
          int checker=0;
          for(int i=count-1;i>0;i--)
          for(int j=0;j<count-1;j++)
  • JollyJumpers/신재동 . . . . 21 matches
         import java.io.InputStreamReader;
          int listSize = aList.size();
          for(int i = 0; i < listSize - 1; i++) {
          public int getGap(Vector aList, int i) {
          int gap = ((Integer)aList.get(i)).intValue() - ((Integer)aList.get(i + 1)).intValue();
          private void inputNumbers(Vector list) {
          BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
          String line = reader.readLine();
          String [] numbersStr = line.split(" ");
          for(int i = 0; i < numbersStr.length; i++) {
          list.add(new Integer(Integer.parseInt(numbersStr[i])));
          e.printStackTrace();
          public static void main(String[] args) {
          jollyJumper.inputNumbers(list);
          System.out.println("Jolly");
          System.out.println("Not jolly");
          vec.add(new Integer(1));
          vec.add(new Integer(1));
          vec.add(new Integer(4));
          vec.add(new Integer(10));
  • 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;
  • NumericalAnalysisClass/Exam2002_1 . . . . 21 matches
         1. For given 2 lines
         Show that the angle @ between two lines
         2. Find the intersection point between the plane 3x+4y+z=24 and the line whose end points are p0=(10,-10,2), p1=(10,2,2)
         (a) First. find the parametric equation for line for (t = 0 ~ 1)[[BR]]
         (b) Find the value of the parametric variable corresponding to the intersection point.[[BR]]
         (c) Find the values of the X,Y,Z coordinate values of plane.
         (a) pivoting 방법을 선택하는 이유를 설명하시오. [[BR]]
         (b) Maximal column pivoting 과 [[BR]]
         (c) Scaled partial pivoting 개념을 설명하시오.
         5. Lagrange, Hermite, spline 함수의 특징을 Smoothness 관점에서 비교 설명하시오.
         6. For given p0, p1, p0u, p1u, induce the p(u)=au^3 + bu^2 + cu + d, in the form of p(u)=U*M*B (여기서는 Dot Product임)
  • 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);
  • OurMajorLangIsCAndCPlusPlus/setjmp.c . . . . 21 matches
         // Copyright (C) 2002 Michael Ringgaard. All rights reserved.
         // Redistribution and use in source and binary forms, with or without
         // modification, are permitted provided that the following conditions
         // 1. Redistributions of source code must retain the above copyright
         // notice, this list of conditions and the following disclaimer.
         // 2. Redistributions in binary form must reproduce the above copyright
         // notice, this list of conditions and the following disclaimer in the
         // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
         // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
         // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
         // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
         // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
         // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
         // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
         #include "setjmp.h"
         #define OFS_EBP 0
         #define OFS_EBX 4
         #define OFS_EDI 8
         #define OFS_ESI 12
         #define OFS_ESP 16
  • 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,
  • RandomWalk/동기 . . . . 21 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         void main()
          int size;
          cin>> size;
          int MAX=size-1;
          int spawnX = rand()%size;
          int spawnY = rand()%size;
          int **data = new int*[size];
          for(int i=0;i<size;i++) {
          data[i] = new int[size];
          for(int k=0;k<size;k++)
          for(int j=0;j<size;j++)
          int out = 0;
          int move= rand()%8;
          for(int j=0;j<size;j++)
          for(int j=0;j<size;j++){
          int p=0;
          for(int j=0;j<size;j++)
  • ReverseAndAdd/김회영 . . . . 21 matches
         #include<iostream>
         #include<math.h>
         using namespace std;
         long inverseDigit(long num);
         int main()
          int testCount=0;
          cin>>testCount;
          int* calCount=new int[testCount];
          int i=0;
          cin>>number[i];
          number[i]=number[i]+inverseDigit(number[i]);
         long inverseDigit(long num)
          int arrayOfDigit[10];
          int count=-1;
          for(int i=count ; i>=0 ; i--)
          int arrayOfDigit[10];
          int count=-1;
          int i=0;
          int j=count;
  • ReverseAndAdd/남도연 . . . . 21 matches
         if __name__=='__main__':
          L = [input() for i in range(n)]
          j=int(raw_input(''))
          for k in range(j):
          a=int(L[0])+int(L[0][::-1])
          print a
          j=int(raw_input(''))
          for k in range(j):
          b=int(L[1])+int(L[1][::-1])
          print b
          j=int(raw_input(''))
          for k in range(j):
          c=int(L[2])+int(L[2][::-1])
          print c
  • STL/set . . . . 21 matches
          * 집합을 구현한 자료구조(STL에서 containter)이다.
          * include : set
         #include <set>
         set<int> s;
         set<int>::iterator i;
         s.insert(5);
         s.insert(5);
         s.insert(5);
          * STL의 container 들은 모두 비슷한 모양의 순회를 한다.
         set<int>::iterator i;
         for(set<int>::iterator i = s.begin() ; i != s.end() ; ++i) {
         #include <iostream>
         #include <set>
         using namespace std;
         int main() {
          int data[]={5,5,5,5,63,3,3,3,6,5};
          set<int> s(&data[0], &data[10]);
          for(set<int>::iterator i = s.begin() ; i != s.end() ; ++i) {
  • ScheduledWalk/유주영 . . . . 21 matches
         #include <iostream>
         #include <fstream>
         #include <string>
         using namespace std;
         int main()
          //ifstream fin("input.txt"); // fininput.txt를 연결
          int box[15][15]={0};
          string road;
          cin >> road; // cin으로 화면에서 입력받는다면, fin은 연결된 파일로부터 입력받는다.
          int x=7;
          int y=7;
          for(int i=0;i<road.size();i++)
          for(int k=0;k<15;k++)
          for(int l=0;l<15;l++)
  • TestFirstProgramming . . . . 21 matches
         ExtremeProgramming에서는 UnitTest -> Coding -> ["Refactoring"] 이 맞물려 돌아간다. TestFirstProgramming 과 ["Refactoring"] 으로 단순한 디자인이 유도되어진다.
         요새는 ["TestDrivenDevelopment"] 라고 한다. 단순히 Test 를 먼저 작성하는게 아닌, Test 주도 개발인 것이다. TestDrivenDevelopment 는 제 2의 Refactoring 과도 같다고 생각. --["1002"]
          * wiki:Wiki:CodeUnitTestFirst, wiki:Wiki:TestFirstDesign, wiki:Wiki:TestDrivenProgramming
          * wiki:NoSmok:TestFirstProgramming
          * wiki:Wiki:ExtremeProgrammingUnitTestingApproach
         === Test Code Refactoring ===
         프로그램이 길어지다보면 Test Code 또한 같이 길어지게 된다. 어느정도 Test Code 가 길어질 경우에는 새 기능에 대한 테스트코드를 작성하려고 할 때마다 중복이 일어난다. 이 경우에는 Test Code 를 ["Refactoring"] 해야 하는데, 이 경우 자칫하면 테스트 코드의 의도를 흐트려뜨릴 수 있다. 테스트 코드 자체가 하나의 다큐먼트가 되므로, 해당 테스트코드의 의도는 분명하게 남도록 ["Refactoring"] 을 해야 한다.
          * wiki:Wiki:RefactoringTestCode
          wiki:Wiki:DoTheSimplestThingThatCouldPossiblyWork
         Test Driven 에 대한 접근 방법에는 End-To-End (BlackBoxTesting) 식의 접근 방법과 WhiteBoxTesting 의 접근방법이 있을 수 있겠다.
         Test Code 를 작성하진 않았지만, 이런 경험은 있었다. PairProgramming 을 하는 중 파트너에게
         이 경우에도 ["MockObjects"] 를 이용할 수 있다. 기본적으로 XP에서의 테스트는 자동화된 테스트, 즉 테스트가 코드화 된 것이다. 처음 바로 접근이 힘들다면 Mock Server / Mock Client 를 만들어서 테스트 할 수 있겠다. 즉, 해당 상황에 대해 이미 내장되어 있는 값을 리턴해주는 서버나 클라이언트를 만드는 것이다. (이는 TestFirstProgramming 에서보단 ["AcceptanceTest"] 에 넣는게 더 맞을 듯 하긴 하다. XP 에서는 UnitTest 와 AcceptanceTest 둘 다 이용한다.)
         TddRecursiveDescentParsing
         ["ExtremeProgramming"]
  • Trac . . . . 21 matches
         Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management. Our mission; to help developers write great software while staying out of the way. Trac should impose as little as possible on a team's established development process and policies.
         It provides an interface to Subversion, an integrated Wiki and convenient report facilities.
         Trac allows wiki markup in issue descriptions and commit messages, creating links and seamless references between bugs, tasks, changesets, files and wiki pages. A timeline shows all project events in order, making getting an overview of the project and tracking progress very easy.
         Trac 은 이슈에 대한 서술과 커밋 메세지에 대해서 위키 태그를 지원하며, 버그,테스크,체인지셋,화일,그리고 위키 페이지들 간에 대해서 seamless 한 참조가 가능하게 해준다. timeline(타임라인)은 모든 프로젝트 이벤트를 순서에 맞게 보여주며, 프로젝트에 대한 오버뷰를 얻는 것과 트래킹 진행을 매우 쉽게 해준다.
         dev를 위해서는 사실 위의 링크들의 설치 방법은 거의다 쓸모 없다. Trac이 10->11로 넘어가는데 오래 정체되고 있는 이유는 내부를 대폭 개선하고 있기 때문이다. Template engine과 소스 컬러링 엔진을 바꾸었고, 기존의 plugin으로 존재하던 유용한 관리 도구들을 모두 결합하고 있다. 자료 구조도 손보고 있다. NeoCoin이 몇달간 dev버전을 사용해 보면서 별 무리 없이 이용하고 있다.
         [http://neocoin.cafe24.com/cs/moin.cgi/Trac 아파치 없이, 설치 방법과 운용 방법]
          http://biohackers.net/yongslib/timeline
          * 데미안이면 아마 apt 로 설치 가능할걸? (요새 linux 쪽은 거의 손을 놓아서 상황이 어떻게 굴러가는지도 모르겠군;) --[1002]
  • VisualStudio . . . . 21 matches
         VisualStudio 는 Microsoft 에서 개발한 Windows용 IDE 환경이다. 이 환경에서는 Visual C++, Visual Basic, Visual C# 등 여러 언어의 개발환경이 함께하며, 최신 버전은 [Visual Studio] 2012이다.
         VisualC++ 6.0은 VS.NET 계열에 비하여 상대적으로 버그가 많다. 가끔 IntelliSense 기능이 안될때가 많으며 클래스뷰도 깨지고, 전체 재 컴파일을 필요로하는 상황도 많이 발생한다. ( 혹시, Debug Mode에서 돌아가다가, Release Mode에서 돌아가지 않는 경우도 있는데 보통 이는 프로그램에서 실수 태반이다. 그러나 간혹 높은 최적화로 인해 돌아가지 않을때도 있을 수 있다. )
         VisualStudio 를 사용할때 초기 프로그래밍 배울때 익혀두어야 할 기능들로, [:Debugging Debugger 사용], [Profiling], Goto Definition
         === IntelliSense 기능이 제대로 작동하지 않을때 ===
         VisualAssist 를 사용한다면, Code Re-Parsing 기능을 실행해준다.
         C++ 에서는 자바에서의 import 의 명령과 달리 해당 헤더화일에 대한 pre-processor 의 기능으로서 'include' 를 한다. 그러다 보니 해당 클래스나 함수 등에 redefinition 문제가 발생한다. 이를 방지하는 방법으로 하나는 #ifndef - #endif 등의 명령을 쓰는것이고 하나는 pragma once 이다.
         #define _CBOARDBASE_H_
          void initBoard();
          void initBoard();
         == [Profiling] ==
          [C++Profiling]
          * Project(프로젝트) » Settings(설정)를 선택합니다.
          * Link(연결) 탭을 선택합니다.
          * Category(카테고리) 드롭 다운 메뉴에서 Input(입력)을 선택합니다.
          * Show directories for:(다음 디렉토리 표시:) 드롭 다운 메뉴에서 Include Files(파일 포함)를 선택하고 include 파일이 위치한 디렉토리(예: C:\라이브러리폴더\include)를 입력합니다.
          * Show directories for:(다음 디렉토리 표시:) 드롭 다운 메뉴에서 Executable Files(실행 파일)를 선택하고 실행 파일이 위치한 디렉토리(예: C:\라이브러리폴더\bin)를 입력합니다.
          * 기본 도구 표시줄에서 Project(프로젝트) » Properties(속성) » Linker(링커) » Input(입력)을 선택하고 "Additional Dependencies(추가 의존관계)" 행에 필요한 라이브러리 파일 (예: abcd.lib)을 추가합니다.
         Reference : [http://support.intel.com/support/kr/performancetools/libraries/mkl/win/sb/cs-017282.htm Intel 라이브러리 연결 요령]
         [[include(틀:IDE)]] [도구분류]
  • ZeroPage_200_OK/note . . . . 21 matches
          * 1. create instance
          * 2. instance.__proto__ = Person.prototype;
          * 3. 실행문맥을 instance로 한 생성자를 호출한다.
          || VTable || <-----------------> || prototype chain (__proto__) ||
          * instance의 __proto__에서 찾고 없으면 그위에 __proto__에서 찾고...
          if (("f" in _proto) && typeof _proto["f"] === "function")
          * 상속을 위해서는 prototype chain에 등록하면 된다.
         === same origin policy ===
          * document.domain 을 조정함으로써 동일한 도메인의 범위를 바꿀수 있다.
          * wiki.zeropage.org 와 www.zeropage.org 를 동일한 도메인으로 취급하기 위해 document.domain을 zeropage.org로 설정할수 있다.
         ==== Same Origin Policy를 극복하기 위한 방법 ====
          * 원래 same origin policy를 적용받지 않음으로 극복할수 있으나 바이너리므로 애시당초 우리가 쓸수 없다.
          * Same origin policy를 적용받지 않고 자바스크립트를 불러올수 있으나 바로 실행이 되므로 다른 방식을 써야한다.
          * 이 응답은 마치 JSON에 함수만 감싼형식이기 떄문에 JSON with Padding, JSONP라 부른다.
          * windows 에서 쓰이고 역시 안정성이 뛰어나고 GUI관리가 가능하다.
          * nginx
         ==== Unix File ====
          * Unix에서 File이라함은 다음을 모두 의미한다.
          * Unix는 C임에도 불구하고 강력한 추상화를 통해 뭔가를 읽고 쓰는 것으로 File을 만들었다.
          * Common Gateway Interface
  • 고슴도치의 사진 마을 . . . . 21 matches
         ▶ID : celfin ( Computer Elfin )
         ▶Hobby : Taking a picture
         ▶E-mail : celfin_2002 at hotmail dot com(MSN), celfin at lycos dot co dot kr(nateon), celfin_2000 at hanmail dot net
         ▷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 ===
  • 데블스캠프2009/수요일/OOP/서민관 . . . . 21 matches
         num(int n)
         num(int n1, int n2)
         num(int n1, int n2, int n3)
          private int 불온도;
          int 불조절(int x){불온도 = x};
          int 붕어빵in기계();'
          void 붕어빵굽기(int x);
          int 불조절(int x){불온도 = x +30};
          int 최저온도;
          int 최고온도;
          int 구워진상태;
          int 상태변화;
          int 온도변화;
         int main(void)
  • 미로찾기/최경현김상섭 . . . . 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);
  • 미로찾기/황재선허아영 . . . . 21 matches
         #include <stdio.h>
         #define MAX 7
         #define GO 0
         #define BLOCKED 1
         #define HADGONE 2
         int board[MAX][MAX];
         int xPos[8] = {1, 1, 0, -1, -1, -1, 0, 1};
         int yPos[8] = {0, 1, 1, 1, 0, -1, -1, -1};
         int nextX, nextY;
         int x = 1;
         int y = 1;
         int count = 0;
         int count2 = 0;
          int i;
          int i;
         void main()
          int i, j;
          printf("현재\n(%d,%d)\n", x, y);
          printf("(%d,%d)\n", x, y);
          printf("%d ", board[i][j]);
  • 여사모 . . . . 21 matches
          * 다음 주제는 문자열(String), 스택(Stack)과 큐(Queue) 입니다. 단어 뜻 정도는 알아오는게 좋겠죠?
         #include <iostream>
         using namespace std;
         #include <string.h>
         int main()
          int b=4;
          cin>>b;
         #include <iostream>
         using namespace std;
         int main()
          int front[5] = {1,2,3,4,5};
          int b;
          cin >> b;
          int array[b]; // array 배열이 할당해야할 값을 정확하게 알지 못하여 에러가 난다. */
          int b;
          cin >> b;
          int * a = new int[b]; // 이와 같은 경우에는 원하는 값을 할당받아 사용하므로 올바르게 실행된다. */
  • 이영호/문자열검색 . . . . 21 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
         #include <signal.h>
         void handler(int sig)
          fprintf(stderr, "\n프로그램을 종료합니다.\n");
         int main()
          char x[40] = "His teaching method is very good.";
         // signal handling
          sigaction(SIGINT, &act, 0);
          fprintf(stderr, "fopen() error: result.out\n"), exit(-1);
          fprintf(fp, "자료 -> %s\n", x);
          fprintf(fp, "찾을 문자열 -> ");
          printf("찾을 문자열 -> ");
          fgets(buf, sizeof(buf), stdin); // 문자열이라고 했으니 space를 포함한다.
          fprintf(fp, "%s\n", buf);
          fprintf(fp, "Not Found!\n");
          fprintf(fp, "first found -> %d\n", loc-x);
         자료 -> His teaching method is very good.
         자료 -> His teaching method is very good.
  • 큰수찾아저장하기/허아영 . . . . 21 matches
         #include <stdio.h>
         #define MATRIX_SIZE 4
         void search_max(int matrix[][MATRIX_SIZE]);
         void print_matrix(int matrix[][MATRIX_SIZE]);
         void change(int *, int *);
         int i, j;
         void main()
          int matrix[MATRIX_SIZE][MATRIX_SIZE] = {{0,}};
          printf("matrix[%d][%d] = ", i, j);
          print_matrix(matrix);
         void search_max(int matrix[][MATRIX_SIZE])
          int temp_matrix[4][4], a, b;
         void print_matrix(int matrix[][MATRIX_SIZE])
          printf("%5d", matrix[i][j]);
          printf("\n");
         void change(int *a, int *b)
          int temp;
  • 파스칼삼각형/sksmsvlxk . . . . 21 matches
         #include <iostream>
         #include <stdio.h>
         #include <new>
         using namespace std; //new 가 어디 포함되는지 몰라서
          //using namespace std 그냥 사용했음..
         int main() {
          int **arr, param = 0, col = 0;
          cout << "How many lines?? : ";
          cin >> param;//라인 수.
          arr = new int* [param];
          for(int i = 0;i<param;i++)
          arr[i] = new int[col];
          for(int i = 0;i<param;i++)
          for(int j = 0;j<col;j++)
          for(int i = 1;(param != 1) & (i<param);i++)
          for(int j = 1;j<col-1;j++)
          for(int i = 0;i<param;i++){
          for(int j = 0;j<col;j++){
          continue;
          for(int i = 0;i<col;i++)
  • 피보나치/이동현,오승혁 . . . . 21 matches
         #include <iostream>
         using namespace std;
         int fibo(int);
         int main(){
          int input;
          cin >> input;
          if(input <= 0)
          }while(input <= 0);
          cout << input <<"번째 숫자는 "<< fibo(input) << " 입니다.\n";
         int fibo(int in){
          if(in == 1 || in == 2)
          return fibo(in-1) + fibo(in-2);
  • 05학번만의C++Study/숙제제출2/허아영 . . . . 20 matches
         #include <iostream>
         using namespace std;
         void print(char *str);
         void print(char *str, int num);
         int turn = 0;
         int main()
          int num = 0;
          cin >> str;
          if(cin.peek() == '\n')
          print(str);
          cin.get();
          else if(cin.peek() != '\n')
          cin >> num;
          print(str, num);
         void print(char *str)
         void print(char *str, int num)
          int i;
  • 2011년독서모임 . . . . 20 matches
          * [김준석] - [http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=8934940069 나는 아직 어른이 되려면 멀었다]
          * [김수경] - [http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=8955614101 왜 사람들은 이상한 것을 믿는가]
          * [서지혜] - [http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=8988964373 작심후 3일]
          * [강소현] - [http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=8984314307 1등만 기억하는 더러운 세상]
          * [김수경] - [http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=8986509814 우리말 달인]
          * [강소현] - [http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=896330020X 중독의 이해와 상담의 실제]
          * [정의정] - [http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=8956604231 꿈의 도시]
          * [김준석] - [http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=8952723147 나니아 연대기]
          * [강소현] - [http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=890110511X 더 박스]
          * [권순의] - [http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=8937831090 GO] (가네시로 가즈키)
          * 이와 관련해서 외국 음악이랑 외국 영화에 나오는 한국에 대해 찾아보려 했는데요,, 급 귀차니즘 때문에 외국 음악에 나오는 한국 관련된 것만 찾았다는...; 뭐,, 그래서 찾은 것이 Gary Moore의 Murder in the skies 라는 노래인데, 이 노래는 1983년 9월 1일에 뉴욕에서 출발한 한국행 비행기가 소련의 영공에 침범 했나(? -_-;; 죄송;;) 그래서 소련의 전투기가 Kal기를 격추시키는 일이 발생하였는데, 그것을 내용으로 소련의 만행으로 무고한 사람들이 죽음을 당했다는 것을 비판한 노래라 소개 했었고, 또 하나 찾아봤었던게 Deftones의 Korea라는 노래인데... 알고보니까 그냥 노래 내용이 어떤 소녀에 대한 이야기인데 그 소녀의 이름이 한국인 성과 비슷해서 그냥 그렇게 썻다고 해서 패스했습니다.
          * [강소현] - [http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=8937831090 GO] (가네시로 가즈키)
          * [권순의] - [http://book.interpark.com/meet/webzinePapa.do?_method=intvDetail&sc.mreviewNo=26730&bkid1=webzin&bkid2=main&bkid3=flashBan&bkid4=004 고구려] (김진명)
          * [강소현] - [http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=899006225X 수집이야기]
          * [강소현] - '''[http://www.aladin.co.kr/shop/wproduct.aspx?ISBN=8990984610 자존감]'''
          * [김태진] - 이번주도 어려운(아마 내일 무슨 책을 읽었는가 정모에서 물어본다면 대답하지 못할..) 책 제목이네요. 음.. 책읽으면서 느낀 결론은, 아 영어 공부 해야지 -_- 였습니다. 1년간 반쯤 손 놓고 있었더니 Eng2에서도 EnglishClinic에서도 말이 제대로 안나오는군요. 흠..
  • 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;
  • AncientCipher/강소현 . . . . 20 matches
         ||Problem||2159||User||talin0528||
         public class Main{
          public static void main(String[] args){
          Scanner sc = new Scanner(System.in);
          char[] c = sc.nextLine().toCharArray();
          char[] p = sc.nextLine().toCharArray();
          System.out.println("YES");
          System.out.println("NO");
          int[] cSpread = new int[26];
          int[] pSpread = new int[26];
          for(int i=0; i<c.length; i++){
          for(int i=0; i<cSpread.length; i++)
          if(!find(cSpread,pSpread[i],check))
          private static boolean find(int[] cSpread, int pWord, boolean[] check) {
          for(int i=0; i<cSpread.length;i++)
  • BirthdayCake/허준수 . . . . 20 matches
         #include <iostream>
         #include <vector>
         using namespace std;
          int x;
          int y;
         void input(int x, int y)
         void process(int num)
          for(int k = 0; k<Gradient.size()-1; k++)
          for(int j = k+1; j<Gradient.size(); j++) {
          int b = (Gradient[num/2].x + Gradient[num/2 + 1].x)*(-1);
          int a = Gradient[num/2].y + Gradient[num/2 + 1].y;
         int main()
          int numCherry, i;
          int x, y;
          cin >> numCherry;
          cin >> x >> y;
          input(x, y);
  • EightQueenProblem2 . . . . 20 matches
         ||이준욱|| 0m (소스수정 없음) || 40 lines || C ||
         ||["이덕준"]|| 4m || 73 lines ["EightQueenProblem2/이덕준소스"]|| C++ ||
         ||["최태호"]|| 4m || 69 lines ["EightQueenProblem/최태호소스"]|| C++ ||
         ||["최광식"]|| 8m || 141 lines || C++ ||
         ||이선호|| 32m || 64 lines || C++ ||
         ||강석천|| 2m || 131 lines (+ 82 line for testcode. total 213 lines) || python ||
         ||임인택|| 0m (소스수정 없음) || 75 lines || C++ ||
         ||이선우|| 1m || 114 lines || java ||
         ||최봉환|| 24m || 86 lines ["EightQueenProblem2/최봉환"] || C++ ||
         ||이강성|| 15m || 43 lines ["EightQueenProblem2/이강성"] || python ||
         ||강인수|| || 67 lines/28 lines ["EightQueenProblem/강인수"] || C++/python ||
         ||icarus|| 5m || 40 lines [" Eight Queen Problem/lasy0901"] || C++ ||
         ||nextream|| 0.1m || 21 lines ["EightQueenProblem/nextream"] 에서 check(1)을 check(0)으로 || Javascript ||
         ||da_answer|| 5m || 135 lines ["EightQueenProblem/da_answer"] showMessage부분을 리커시브 안쪽으로 이동 || Delphi ||
         ||밥벌레|| 37m || 197 lines ["EightQueenProblem/밥벌레"] || Delphi ||
         ||김준엽|| 65m || 71 lines ["EightQueenProblem/김준엽"] || C++ ||
         ||안정원|| 1m || 6 lines ["EightQueenProblem/안정원"] || Python ||
  • HanoiProblem/임인택 . . . . 20 matches
          for(int i=0; i<3; i++)
          public void solve(int numOfDiscs) {
          for(int i=numOfDiscs; i>0; i--)
          public void moveDiscs(int numOfDiscs, int from) {
          int to = (from==0)?1:0;
          towers[2].bringDisc(towers[from]);
          towers[to].bringDisc(towers[from]);
          towers[to].bringDisc(towers[2]);
          towers[2].bringDisc(towers[from]);
          towers[from].bringDisc(towers[to]);
          towers[2].bringDisc(towers[to]);
          towers[2].bringDisc(towers[from]);
          System.out.println("Tower Created.");
          public boolean movable(Integer discNum){
          Integer iObj = (Integer)lastObj;
          if( iObj.intValue() > discNum.intValue() )
          public void putOnDisc(int discNum) {
          Integer i = new Integer(discNum);
          public Integer getTopDisc() {
          Integer topDisc = (Integer)(discsAtPillar.lastElement());
  • HelpOnLinking . . . . 20 matches
         #keywords inter wiki,moniwiki,wiki,wiki name,링크
         {{{WikiName}}}라고 쓰면 WikiName이 자동으로 링크가 걸립니다.
         {{{[[모니위키]]}}}라고 적으면 [[모니위키]]처럼 링크가 됩니다. 이것은 MoinMoin 최신이나 MediaWiki에서 쓰이는 페이지 이름 연결 문법으로, 모니위키에서도 호환성 측면에서 지원합니다.
          * Wiki:SixSingleQuotes 를 이용한다.
         WikiName과 같은 식으로 연결되는 것을 방지하고 있는 그대로 보여지는 것을 원한다면 느낌표(''bang'')를 다음과 WikiName앞에 붙여서 다음과 같이 사용할 수 있습니다. {{{!WikiName}}} `!WikiName`. 또한 물음표를 임의의 단어 앞에 붙이면 강제로 링크가 걸리게 됩니다. i.e. {{{?Hello}}} `?Hello`.
         그밖에 위키 문법은 HelpOnEditing 페이지를 참조하세요.
          * InterWiki
          * MeatBall:InterWiki
          * wiki:MeatBall:InterWiki
          * [wiki:MeatBall:InterWiki]
          * [wiki:MeatBall:InterWiki InterWiki page on MeatBall]
          * InterWiki
          * MeatBall:InterWiki
          * wiki:MeatBall:InterWiki
          * [wiki:MeatBall:InterWiki]
          * [wiki:MeatBall:InterWiki InterWiki page on MeatBall]
         /!\ 혼란을 피하기 위해서, {{{wiki:InterWiki/Page}}} 와 같은 링크는 모니위키에서 지원하지 않습니다.
         모인모인에서는 {{{wiki:MeatBall/InterWiki}}}와 같은 링크가 {{{wiki:MeatBall:InterWiki}}}로 인식됩니다. 하지만 이것은 {{{wiki:WikiPage/SubPage}}} 문법과 일관성이 떨어져 혼란을 주므로 이와같은 모인모인 방식의 인터위키 링크는 모니위키에서 지원하지 않습니다.
         === single bracketed syntax ===
          * {{{[Hello World]}}} link to [HelloWorld] (no space inserted)
  • Java/숫자와문자사이변환 . . . . 20 matches
          int i = 639;
          String str = String.valueOf ( i );
          String str = Integer.toString ( i );
          String str = i.toString ( );
          String str = "" + i;
          String str = "639";
          int i = Integer.valueOf ( str ).intValue ( );
          int i = Integer.parseInt ( str );
          01, 02, ... , 09 String 데이터를
          int i_month = Integer.parseInt(s_month); 하면 1, 2, 3 ... 으로 되는군...
          Float를 Integer로 바꾸기
          int i = ( int ) f;
          Object를 int 타입으로 형변환 하기 ... 바로 안되므로 String으로 바꾼후 int로 형변환 한다.
          Integer.parseInt ( vector.elementAt ( 0 ).toString () );
  • 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;
  • Map연습문제/임영동 . . . . 20 matches
         #include<iostream>
         #include<string>
         #include<vector>
         #include<map>
         using namespace std;
         int main()
          string input="wjgydlrtyffworxjbdzyrsybfwlrobffylryjbkyjrtbdcyyrvmbjlsrkugjglrmdcgdarjbjyftr";
          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
  • NumberBaseballGame/영록 . . . . 20 matches
         #include <iostream>
         #include <stdlib.h>
         #include <ctime>
         using namespace std;
         int main()
          unsigned int number1,number2,number3;
          unsigned int a,b,c;
          int count1=0,count2=0,count3=0;
          char input[3];
          cin.get(input[0]);
          cin.get(input[1]);
          cin.get(input[2]);
          cin.get();
          number1 = input[0]-48;
          number2 = input[1]-48;
          number3 = input[2]-48;
  • PythonThreadProgramming . . . . 20 matches
          * [http://linuxgazette.net/107/pai.html]
         def myfunction(string,sleeptime,*args):
          print string
         if __name__=="__main__":
         def myfunction(string,sleeptime,lock,*args):
          #entering critical section
          print string," Now Sleeping after Lock acquired for ",sleeptime
          print string," Now releasing lock and then sleeping again"
          #exiting critical section
         if __name__=="__main__":
          * 모든 built-in 함수가 다른 쓰레드가 실행할수 있도록 I/O에 대한 block waiting 을 하는 것은 아니다.(time.sleep(), file.read(), select.select()) 은 예상대로 작동한다)
          * lock 상태에 있는 acquire() 함수에 대하여 interrupt 하는것은 가능하지 않다. (키보드 인터럽트도 lock을 얻고 나서야 일어난다.)
  • 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()
  • Random Walk2/곽세환 . . . . 20 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         void main()
          ifstream fin("input.txt");
          int m, n;
          fin >> m >> n;
          int i, j, k;
          int **array = new int*[m];
          array[i] = new int[n];
          int x, y;
          fin >> y >> x;
          while (fin.get() != '\n')
          int dirsu = 0;
          while ((temp = fin.get()) && temp != '\n') //방향있는 한 줄 입력받음
          int cx = x, cy = y;
          int cnt = 0;
          continue;
  • RandomWalk/창재 . . . . 20 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int def_empty();
         int array[5][5];
         void main()
          int def_temp;
          int temp_h, temp_y;
          int bool_def=0;
          int start_h, start_y;
          int place_h, place_y;
          for (int i = 0; i < 5 ; i++)
          for (int j = 0 ; j < 5 ; j++)
          int count = 0;
          for (int l = 0; l < 5 ; l++)
          for (int j = 0 ; j < 5 ; j++)
         int def_empty() // 꽉 찼나 안찼나 확인하는 함수.
          int empty_def = 0;
          for (int j = 0 ; j < 5 ; j++)
          for (int p = 0 ; p < 5 ; p++)
  • RandomWalk2/Vector로2차원동적배열만들기 . . . . 20 matches
         #include <iostream>
         #include <vector>
         using namespace std;
         vector< vector<int> > ar; // 반드시 공백 줘야 한다! 안주면 에러난다.
         void Alloc(int nRow, int nCol);
         void SetArrayAsZero(int nRow, int nCol);
         void Show(int nRow, int nCol);
         int main()
          int row, col;
          cin >> row;
          cin >> col;
         void Alloc(int nRow, int nCol)
          for(int i = 0 ; i < nRow ; i++)
          * [http://www.parashift.com/c++-faq-lite/containers-and-templates.html#faq-33.1 Why Arrays are Evil]
          * array보다 vector를 먼저 가르치는 대표적인 책으로 "진정한 C++"을 가르친다는 평가를 받고 있는Seminar:AcceleratedCPlusPlus
  • ReverseAndAdd/신재동 . . . . 20 matches
          for i in range(len(numberStr)):
          return int(reverseStr)
          def isPalindrome(self, number):
          for i in range(len(numberStr)):
          for i in range(1000):
          if(self.isPalindrome(number)):
          print 'No reverse and add'
          def testIsPalindrome(self):
          self.assertEquals(False, raa.isPalindrome(4321))
          self.assertEquals(True, raa.isPalindrome(12321))
          self.assertEquals(True, raa.isPalindrome(1221))
         if __name__ == '__main__':
          #unittest.main()
          result = raa.reverseAndAdd(int(input()))
          print str(result[0]) + ' ' + str(result[1])
         >>> int(str(n)[::-1]) #python 2.3이상
         >>> int(''.join(reversed(str(d)))) #python 2.4이상
         >>> def rev(d): return int(str(d)[::-1])
  • ScheduledWalk/권정욱 . . . . 20 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         int main(){
          ifstream fin("input.txt");
          int length;
          int walk[100][100];
          int i, j;
          int x , y;
          int temp;
          fin >> length;
          fin >> x;
          fin >> y;
          while (!fin.eof()){
          int directer = direct - 48;
          direct = fin.get();
          continue;
          direct = fin.get();
  • Self-describingSequence/문보창 . . . . 20 matches
         Sorted List 이므로 Search 부분에서 Linear Search 대신 Binary Search를 하면 좀 더 효율적이나, 이 정도만 해도 충분히 빠르다. 메모리 사용량을 줄이려면 어떻게 해야 할까?
         // 10049 - Self-describingSequence
         #include <iostream>
         using namespace std;
         #define MAX 673366
         static int table[MAX];
         void initTable()
          int number = 2;
          int count = 0;
          for (int i = 4; i < MAX; i++)
          for (int i = 1; i < MAX - 1; i++)
          initTable();
         void process(int n)
          int i;
         int main()
          int n;
          while (cin >> n && n != 0)
         [Self-describingSequence]
  • SystemEngineeringTeam . . . . 20 matches
         == System Engineering Team ==
          * System Engineering Team of ZeroPage
          * maintenance
          * run trainer course
          * [https://trello.com/board/system-engineering/50574d21fd29fa5616f9cf55 trello here]
         === Training Course ===
          * [SystemEngineeringTeam/TrainingCourse]
         === maintenance prop ===
          * intra.zeropage.org
          * mail account in [:domains.live.com/ Microsoft Live Domains]
          * Offline Kick off
  • TellVsAsk . . . . 20 matches
         Alec Sharp, in the recent book Smalltalk by Example [SHARP], points up a very valuable lesson in few words:
         Procedural code gets information then makes decisions. Object-oriented code tells objects to do things.
         The problem is that, as the caller, you should not be making decisions based on the state of the called object
         that result in you then changing the state of the object. The logic you are implementing is probably the called object's
         Sure, you may say, that's obvious. I'd never write code like that. Still, it's very easy to get lulled into
         examining some referenced
         object and then calling different methods based on the results. But that may not be the best way to go about doing it. Tell the object
         what you want. Let it figure out how to do it. Think declaratively instead of procedurally!
         exam) 아마 Refactoring 책에도 나올것이지만.
         It is easier to stay out of this trap if you start by designing classes based on their responsibilities,
         you can then progress naturally to specifying commands that the class may execute, as opposed to queries
         that inform you as to the state of the object.
  • 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.
  • ViImproved/설명서 . . . . 20 matches
         1.VI(Visual interface Editor)
         ▶파일 데이터 파일 응용 프로그램의 데이터(binary)
         ▶Editor(unix system) Line editor 줄 단위 편집(ex ed)
         ▶Vi 저자 vi와 ex는 The University of California, Berkeley California computer Science Division, Department of Electrical Engineering and Computer Science에서 개발
          :q↓ vi종료하고 Unix프롬프트로 이동
         삽 입(insert)
          ^D 한 문자 back tab. autointent의 왼쪽 마진을 리셋
          행의 선두에 back tab. autointent의 왼쪽 마진을 리셋하지 않음
          O^D 행의 선두에 back tab autointent의 왼쪽 마진을 리셋
         0(영) 현 line의 첫번째 문자로 이동 I 줄의 첫번째에 삽입 :11,22w <file> 줄 11과 12사이 내용 저장
         $ 현 line의 끝으로 이동 ^i tab (삽입모드에서) :w >> <file> 작업중인 화일<file>에 저장
         ^ 현 line의 첫번째 문자로 이동 j 아래로 이동 :w! 작업중인 화일 덮어쓰기
         >> 오른쪽으로 shiftwith만큼 paragraph 이동 ^r refresh(명령어 모드) !} 현재 문단을 지정된 unix 프로그램으로 연결하여 수행 후 결과를 현재 문단과 교체
         autoindent(ai) noai 들여 쓰기 기능 자동설정
         autoprint(ap) ap 각 명령 후에 변화를 자동적으로 화면출력
         beautify(bf) nobf 입력하는 동안 모든 제어 문자를 무시 단 tab, newline, formfeed는 제외
         lisp nolisp indentation을 lisp형식으로 삽입
         showmode noshowmode 입력 모드에서 화면의 우측하단에 "input mode"출력
         window=(w=) 편집된 내용이 저장되지 않고 쉘 명령을 사용할 경우 경고 메시지를 출력
         wrapmargin=(wm=) 0 화면상에 보여줄 행의 수를 설정
  • WikiNature . . . . 20 matches
         The WikiNature is typing in a bunch of book titles and coming back a day later and finding them turned into birds in the Amazon.
         Writing on Wiki is like regular writing, except I get to write so much more than I write, and I get to think thoughts I never thought (like being on a really good Free Software project, where you wake up the next morning to find your bugs fixed and ideas improved).
         It reminds us of minimalist Japanese brushstroke drawings; you provide the few, elegant slashes of ink, and other minds fill in the rest.
         Really, it's not accurate to talk about a WikiNature, we would do better recognizing that Nature itself, is Wiki.
         See http://www.c2.com/cgi/wiki?WikiNature for more.
  • WikiSandPage . . . . 20 matches
          <input type="hidden" name="action" value="userform">
          <input type="hidden" size="15" maxlength="20" name="password" value="">
          <input type="hidden" size="15" maxlength="20" name="passwordagain" value="">
          <input type="hidden" size="40" name="email" value="">
          <input type="hidden" class="button" value="Local timezone">
          <input type="hidden" size="40" name="user_css" value="">
          <span class="button"><input type="submit" class="button" name="logout" value="로그아웃"></span>
         [[RSS("http://zerowiki.dnip.net/zero/index.php?mode=getRSS&url=namsang",6)]]
          말이 되냐 Uplode ;; 아 moin 1.0 대로 업그레이드 해도, 이런식으로 InterMap 이면 변화없이
         int main()
         [http://www.u-blog.net/gorbinsk/img/logo.png]
         http://www.nbc.com/Saturday_Night_Live/index.html
         [http://www.nbc.com/Saturday_Night_Live/index.html]
         [http://www.nbc.com/Saturday_Night_Live/index.html 쌩토요일밤]
         http://zeropage.org/wikis/nosmok/moinmoin.gif
         [http://zeropage.org/wikis/nosmok/moinmoin.gif 이쁜이사진]
         KIN
  • XOR삼각형/이태양 . . . . 20 matches
         #include<stdio.h>
         int xor[MAX][MAX]={0,};
         int computeXor(int num1, int num2)
         int input()
          int n;
          printf("n 값을 입력해주세요:");
          int i,j;
         void print(int n)
          int i,j;
          printf(" ");
          printf(" %d",xor[i][j]);
          printf("\n");
         void main()
          int x = input();
          print(x);
  • 개인키,공개키/김회영,권정욱 . . . . 20 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         const int key = 50;
         const int askii = 256;
         int main(){
          cin >> secret;
          ifstream fin(secret);
          fin.get(text);
          while (!fin.eof()){
          if (int(ch)> 255) ch = ch % askii;
          fin.get(text);
          fin.close();
          int key2;
          cin >> unsecret >> key2;
          ifstream ffin(unsecret);
          ffin.get(text);
          while (!ffin.eof()){
          ffin.get(text);
  • 데블스캠프2012/넷째날/묻지마Csharp/김태진 . . . . 20 matches
         using System;
         using System.Collections.Generic;
         using System.ComponentModel;
         using System.Data;
         using System.Drawing;
         using System.Linq;
         using System.Text;
         using System.Windows.Forms;
         namespace WindowsFormsApplication1
          int t;
          String str;
          InitializeComponent();
          MessageBox.Show((B.Year-A.Year).ToString());
          label2.Text = t.ToString();
          label3.Text = str.Substring((t%10), 10);
          private void pictureBox1_Paint(object sender, PaintEventArgs e)
          label4.Text = e.Location.ToString();
  • 만년달력/영동 . . . . 20 matches
         import javax.swing.*;
          public static void main(String []args)
          int[] daysOfMonth={31, 28, 31, 30, 31,30, 31, 31, 30, 31, 30, 31};//각 달의 날짜수
          String[] nameOfday={"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};//각 요일의 이름
          int dYear=Integer.parseInt(JOptionPane.showInputDialog(null, "알고 싶은 연도 입력:", "만년달력", JOptionPane.QUESTION_MESSAGE));
          int dMonth=Integer.parseInt(JOptionPane.showInputDialog(null, "알고 싶은 월 입력:", "만년달력", JOptionPane.QUESTION_MESSAGE));
          int totalDays=0;//그 해까지의 총 날짜수
          for(int i=1;i<dYear;i++)
          for(int i=1;i<dMonth;i++)//해당하는 해의 그 전달까지의 날짜수
          System.out.println(dYear+"년 "+dMonth+"월의 달력");
          for(int i=0;i<7;i++)//달력의 상단에 요일 출력
          System.out.print(nameOfday[i]+"\t");
          System.out.print("\n");
          for(int i=0;i<(totalDays+1)%7;i++)
          System.out.print("\t");//해당 달의 첫날의 요일 설정. +1인 이유는 1년 1월 1일은 일요일
          for(int i=1;i<daysOfMonth[dMonth-1]+1;i++)
          System.out.print(i+"\t");
          System.out.print("\n");
          System.out.print("\n");
  • 비밀키/나휘동 . . . . 20 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         void main()
          cin >> filename;
          ifstream fin(filename);
          cin >> key;
          while( !fin.eof() ){
          ch = fin.get();
          fin.close();
         #include <iostream>
         #include <fstream>
         using namespace std;
         void main()
          cin >> filename;
          ifstream fin(filename);
          cin >> key;
          while( !fin.eof() ){
          ch = fin.get();
          fin.close();
  • 새싹교실/2011/씨언어발전/4회차 . . . . 20 matches
         #include <stdio.h>
         int Fact(int a);
         void main(){
          printf("%d",Fact(3));
         int Fact(int a){
          int result=1;
         #include <stdio.h>
         void sum(int a,int b);
         void main(){
          int menu,i,j;
          printf("1.합 2.곱 3.나누기\n");
          printf("값 2개 입력");
         void sum(int a,int b){
          printf("%d",a+b);}
          printf("%.3f",a*b);}
          printf("%.3f",a/b);
  • 테트리스만들기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");
  • 2학기파이선스터디/함수 . . . . 19 matches
         >>> print a
         >>> print a
         == Scoping Rule ==
          * 내장 영역(built-in scope) - 파이썬 언어 자체에서 정의한 내용
         LGB는 Local, Global, Built-in 의 약자로 지역, 전역, 내장 순으로 이름 공간이 적용된다.
          print x
         >>> def incr(a, step=1):
         >>> b = incr(b) # 1 증가
         >>> b = incr(b, 10) # 10 증가
          print height, width
          print a, arg
          print width, height
          print kw
          print a,b,c
         >>> incr = lambda x, inc=1: x+inc
         >>> incr(10)
         >>> incr(10,5)
  • ActiveTemplateLibrary . . . . 19 matches
         {{|The Active Template Library (ATL) is a set of template-based C++ classes that simplify the programming of Component Object Model (COM) objects. The COM support in Visual C++ allows developers to easily create a variety of COM objects, Automation servers, and ActiveX controls.
         === String Conversion ===
         OLE String 과 PSTR 등의 일반 스트링형 간 형변환 할 일이 있을때.
          * [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_atl_string_conversion_macros.asp ATL and MFC String Conversion Macros]
         ex) OLE2CA : '''OLE''' string '''2'''(to) '''C'''onst '''A'''nsi sting
         ATL string의 형변환시에는 {{{~cpp USES_CONVERSION}}} macro를 형변환 전에 호출하여야함.
         {{{~cpp QueryInterface}}} 까지 대신 해주는 smart pointer class
         CComQIPtr<IOleWindow> pOleWin(pUnk);
         //일반적인 COM interface 사용은
         IOleWinodow* pOleWin;
         pUnk->QueryInterface(IOleWindow, IID_IOleWindow, &pOleWin);
         pOleWin->Release();
  • BusSimulation/영동 . . . . 19 matches
         #include<iostream.h>
         #define road 300 //길은 한바퀴 순회하는데 300킬로미터. 즉 5시간 걸린다.
          int bus_loc;//버스의 위치
          void move(int x_min);
          void show(int a);
         void Bus::move(int x_min)
          if(x_min<=30){
          bus_loc=bus_loc+x_min;//분당 1킬로를 가므로 x분 후의 위치는 x킬로 뒤
          x_min=0;//0으로 초기화. 다음 계산에 이상한 값이 들어가지 않도록.
          if(x_min>30){
          x_min=x_min-30;
         void Bus::show(int a)
         void main()
          int time=0;
          int i;
          cin>>time;
  • Chapter II - Real-Time Systems Concepts . . . . 19 matches
         리얼 타임이라는 말은 Timing 의 correctness (정확성)에 의해 결정되는 말이다. 이러한 리얼타임은 대략 두가지 부류를 가지고 있다.
         Food processing, Chemical plants, Engine controls, Antilock braking systems, Fax machines, ETC
         작은 시스템에서는 시스템의 효율성을 위해 보단 간편하고 일반적인 디자인을 사용한다고 한다. 실제로 어플리케이션이 작동하는 부분을 Background System이라고 하며 ISR (interrupt service rountines) 라고 불리우는 인터럽트 부분을 Foreground system이라고 한다.
         태스크에 의해 쓰여지는 빈 공간을 말한다. 이러한 리소스는 I/O , Printer , Memory , KeyBoard 가 될 수 있으며 다른 기타 자원도 있다.
         === Multitasking ===
         RUNNING :: 지금 활동 중인 상태[[BR]]
         WAITING :: 이벤트를 기다리며 휴식 중인 상태[[BR]]
         ISR(interrupted) :: 인터럽트를 수행 중인 상태 [[BR]]
         int Temp; // 언제 바뀔지 모르는 전역 변수
         void swap(int *x,int *y)
         === Round Robin Scheduling ===
         Time Slicing 이라고도 한다. 또한 이 수행 시간을 quantum 이라고 한다.
         === Priority Inversions ===
         === Assigning Task Priorities ===
          * Rate Monotonic Scheduling (RMS)
         === Intertask Communication ===
         === Interrupts ===
         === Interrupt Latency ===
         === Interrupt Response ===
         === Interrupt Recovery ===
  • CommonPermutation/문보창 . . . . 19 matches
         #include <iostream>
         #include <cstring>
         using namespace std;
         const int MAX = 1000;
         int main()
          int first[26], second[26];
          int len, min, count;
          int i, j;
          while (cin.getline(str, MAX+1, '\n'))
          cin.getline(str, MAX+1, '\n');
          continue;
          min = first[i];
          min = second[i];
          for (j=0; j<min; j++)
  • Counting/김상섭 . . . . 19 matches
         #include <iostream>
         using namespace std;
         #include <vector>
         int count;
         unsigned int n[1001] = {1,2,5,};
         int convert(int num)
          int temp = num;
          int l = 1;
          for(int i = 0; i < 3; i++)
         int main()
          int num;
          vector<int> test;
          for(int i = 3; i <= 1000; i++)
          for(int k =1; k < 30; k++)
          while(cin >> num)
          for(vector<int>::iterator j = test.begin(); j != test.end(); j++)
  • Data전송 . . . . 19 matches
         == Explaination ==
         ID : <input type="text" name="id"> <br>
         PW : <input type="password" name="pass">
         <input type="submit" value="전송">
         <input type="checkbox" name="hobby" value="sport">sport
         <input type="checkbox" name="hobby" value="music">music
         <input type="checkbox" name="hobby" value="movie">movie
         <input type="checkbox" name="hobby" value="drama">drama
         <input type="radio" name="season" value="spring" checked>spring<br>
         <input type="radio" name="season" value="summer">summer<br>
         <% String id = request.getParameter("id");
          String pass = request.getParameter("pass");
          String list = request.getParameter("name");
          String hobby[] = request.getParameterValues("hobby");
          String hobby_list = " ";
          String season = request.getParameter("season");
          for(int i=0; i < hobby.length; i++) {
  • FactorialFactors/이동현 . . . . 19 matches
          final int CASE_N = 1000000; //테스트할 케이스 수
          int fac[] = new int[CASE_N+1]; //인수저장배열
          ArrayList<Integer> prime = new ArrayList<Integer>();
          boolean isPrime(int num){
          for(int k=0;k<prime.size();k++){
          void printResult(){
          int total=0;
          for(int i=2;i<=CASE_N; i++)
          System.out.println(total);
          int sqrt = (int)Math.sqrt(CASE_N);
          for(int i=3;i<=CASE_N;i++){
          int num = i;
          for(int j=2; num!=1;){
          printResult();
          System.out.print(System.currentTimeMillis()-time);
          public static void main(String[] args) {
  • HanoiProblem/재동 . . . . 19 matches
         #include <iostream>
         using namespace std;
         void hanoi (int n, int start, int finish, int extra);
         int main()
          int n;
          cin >> n;
         void hanoi (int n, int start, int finish, int extra)
          hanoi ( n-1, start, extra, finish );
          cout << n << "디스크를 " << start << " 기둥 으로부터 " << finish << " 기둥으로 옮긴다.\n";
          hanoi(n-1, extra, finish, start);
  • HelpOnFormatting . . . . 19 matches
         #keywords Formatting,Help,wiki,포매팅,문법
         === TextFormattingExample ===
         #include <stdio.h>
         int main() {
          printf("Hello, world!\n");
         #include <stdio.h>
         int main() {
          printf("Hello, world!\n");
         For more information on the possible markup, see HelpOnEditing.
         phpinfo();
         이와 같은 소스 코드 컬러링은 모니위키의 ProcessorPlugin이라 불리 고급기능중의 한가지 입니다.
         Please see CodeColoringProcessor
         == SixSingleQuotes and backticks ==
         /!\ 모인모인은 {{{^MoinMoin 윗첨자^}}} 라고 하면 윗첨자가 되지만 모니위키는 공백이 없어야 합니다. 공백이 있는 경우에는 {{{^^모니위키는 이렇게^^}}} ^^모니위키는 이렇게^^ 하시면 됩니다.
         [[Navigation(HelpOnEditing)]]
  • HelpOnLists . . . . 19 matches
         See also ListFormatting, HelpOnEditing.
         If you indent text
          then it is indented
          in the output
          levels of indent
         And if you put asterisks at the start of the line
          * which can also be indented
         If you indent text
          like this, then it is indented in the output
          you can have multiple levels of indent
         And if you put asterisks at the start of the line
          * which can also be indented
         [space]'''term WikiName''':: definition WikiName
         [space]another term:: and its definition
          '''term WikiName''':: definition WikiName
          another term:: and its definition
         [[Navigation(HelpOnEditing)]]
  • HowManyFibs?/황재선 . . . . 19 matches
         반복적인 계산을 줄이기 위해서, bottom-up 방식으로 수열을 처음부터 계산하였다. 계산된 이전 값을 사용하여 다음 수열을 빠르게 얻을 수 있었다. Dynamic Programming을 처음으로 해보았다 :)
         import java.math.BigInteger;
          public String readLine() {
          return new Scanner(System.in).useDelimiter("\n").next().trim();
          public int howManyFib(BigInteger start, BigInteger end) {
          int howMany = 0;
          BigInteger zero = new BigInteger("0");
          BigInteger one = new BigInteger("1");
          BigInteger two = new BigInteger("2");
          BigInteger[] fibRoom = new BigInteger[4];
          public void printNumOfFibs(int numOfFibs) {
          System.out.println(numOfFibs);
          public static void main(String[] args) {
          String line = fib.readLine();
          if (line.equals("0 0")) {
          BigInteger start = new BigInteger(line.split(" ")[0]);
          BigInteger end = new BigInteger(line.split(" ")[1]);
          int numOfFibs = fib.howManyFib(start, end);
          fib.printNumOfFibs(numOfFibs);
         import java.math.BigInteger;
  • JavaStudy2003/세번째수업 . . . . 19 matches
         == 오버로딩(Overloading) 및 리팩토링 ==
          * 오버로딩 - C++에서 cin을 cin.get(), cin.get(ch), cin.get(ch,50) 이렇게 쓰는 것처럼 같은 이름의 함수로 비슷한 기능의 역할을 하는 함수들을 만들었다.
          public Circle(int xValue, int yValue, int width, int height) {
          middlePoint = new Point(xValue, yValue);
          public Circle(int xValue, int yValue, int r){
          middlePoint = new Point(xValue, yValue);
          * 또 Point(int xValue, int yValue) -> 같이 전달인자를 바로 넣어주어서 보다 간편하게 자료를 입력받을 수 있게 했다.
  • JosephYoder방한번개모임 . . . . 19 matches
          * [https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=1pibLA94VQ8Z1cckW8IOsedbQ9joDuCwwafH93jHDgv3l-ASNn_QW2rGhxrWT&hl=en_US Refactoring Testing and Patterns]
          * Floss Refactoring. 다음에 리팩토링해야지, 언제 날 잡고 리팩토링해야지가 아닌 항상 그 때 할 수 있는 리팩토링을 하자.
          * Naming이 중요하다.
         리펙토링 기본 기법에 관해서는 기본적으로 Rename과 함수 분할 등을 Martin Fowler이 지은 Refactoring책을 통해 알수있다고 했다 이러한 리펙토링을 이용하여 청소할 수 있고 리펙토링은 중요하다고 했다. 이거 좋군. 딱 들은 생각. 우선 리펙토링할때는 이름이 최우선적으로 다루어져야한다고 했는데 가장 설명하기 좋고 듣기도 편했던 부분이다. 그 이유는 이름부터가 단축이면 못알아먹기 때문에~~~!! 이라고했다. 그래서 나는 앞으로 길더라도 의미가 되는 단어를 쓰기로 결심했다. 괜히 이름 단축시키지 말자고.
         Test기법에 관해 캔트백의 예를 들며 말해줬는데 코드를 만들때는 되게하고, 완성하고, 최적화시키는 순서로 만들라고했다. 그래서 난 더럽게 우선 돌아가게 짠다. 고 위안했다. Test가 되게 하고 Refactoring을 하고 다시 돌아가게 하고. 순환관계를 다시 보기도했다. 그렇게 하면 영향이 덜가고 잘 돌아가겠지? 라고 생각했다.
         Refactoring과 Pattern은 누가 누구에 속한 관계가 아니라서 적절히 써야한다고했다. 교집합이었다 그림은. 그래 적절히 써야지라고 생각했다.
         강조했던것은 Agile과 Refactoring의 상관관계였는데 둘다 얽히면 굉장한 시너지를 내기 때문에 목적은 달라도 병행해서 쓰면 좋다고했다. Agile을 지금 쓰는 사람 있냐고 물어봤는데 손들기는 뭐했다. Face-to-Face, pair 프로그래밍. Communication 만세다! Agile기법에 대해 Refactoring에 대해 자신의 이념, 이상이 들어간 코드를 만드는 프로그래머가 반대를 한다면 Pair프로그래밍을 통해 '너만의'코드가 아닌 '우리'의 코드라는것을 인식시켜주는게 좋다고 했다. 근데 그런사람이 있을까? 여튼 경험에 우러나온 대답같았다.
         adaptiveobjectmodel은 Joseph이 연구하고 있는 분야로 Refactoring의 상황에 맞는 방법과 패턴의 쓰임세를 지정하는 모델이다. 현재 쓰이는 패턴을 모델화해서 정리해서 했다고한다. 책에서나 보던것을 좀더 정확하고 명확하게 근거있게 설명하는것 같았다. 그리고 Refactoring이 필요한 이유에 대해서는 실제로 이렇게 하면 성공을 하기 때문에 리펙토링을 하는것이 좋다고했는데 이것은 다른것에 비해 약한 근거라고했는데 그 이유는 리펙토링을 안한 더러운 코드도 성공을 하기 때문이라고 했다. 하지만 자신있게 말하자면 리펙토링을 하는것은 좋다고했다.
         변화 -> 추상화 이고 리펙토링이 잘못됬을 경우 그 결과를 뒤집기는 좀 힘들다고했다. 패턴을 알면 장점이 많단다. 초보자가 패턴을 아는척 하면 다친단다. 테스팅과 패턴을 초보자가 하면 좋다. Refactoring을 좀더 잘할려면 첫 걸음은 Rename부터.. 엄청난 프로그래머는 만드는것이 패턴으로 만들어질 수 있지만 대부분 그렇지 않다고 한다. 그러므로 리펙토링을 통해 수준을 높이는 훈련을 해놓는것이 좋다고한다. 그렇게 하면 의식하지 않아도 된단다.
         여러모로 Refactoring에서 나오는 Pattern과 Holub이 주장하는 Design Pattern과는 많았고 옆에서 계속 번역해주시는 창준선배님을 보면서 참 나도 영어 듣기가 녹슬었구나 하는 생각이 들었다. FPS에서 영어를 배워봐야하나. 여러사람이 다양하게 생각하는 Refactoring과 Pattern에 대해 다시한번 좀더 연구할 생각이드는 시간이었다.
          * agile is good for refactoring, 애자일을 사용하면 설계도 리팩토링할 수 있다.
          * merciless deadline
          * refactoring : deciplined technique
          * Internal structure
  • Lotto/송지원 . . . . 19 matches
         #include <stdio.h>
         #include <stdlib.h>
         int nc6( int n ) { // nC6 함수
          int res = 1;
          int i;
         int dscanf( int *pnum ) {
         void main()
          int n;
          int *nums;
          int dmy[6]; // dummy variable set
          int i, j, k;
          nums = (int *)malloc(sizeof(int) * n);
          printf("%d", nums[dmy[j]]);
          if( j != 5 ) printf(" ");
          else printf("\n");
          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++)
  • MoniWikiOptions . . . . 19 matches
         `'''$logo_string= '<img src="'.$logo_img.'" alt="" border="0" align="middle" />';'''`
         `'''$menu=array('MoniWiki'=>1,'FindPage'=>4,'TitleIndex'=>3,'BlogChanges'=>'','RecentChanges'=>2,'http://kldp.org KLDP'=>9);'''`
         `'''$auto_linebreak'''`
          * Email Notification을 활성화 한다. 이 기능을 키면 SubscribePlugin을 사용할 수 있다.
         `'''$use_twinpages'''`
          * nolink: 아무표시도 하지 않음
          * forcelink:무조건 전체 링크
         ''$inline_latex='latex'`
          * inline latex문법을 활성화하거나 끈다. latex, mimetex, itex 등등 지원 LatexProcessor
         `'''$intermap'''`
          * 기본값 `$data_dir.'/intermap.txt'`
         `'''$shared_intermap'''`
          * 기본값은 `$data_dir."/text/InterMap"`
          * rcs를 ~/bin같은 곳에 설치할 때 이 변수에 path를 지정한다 예를 들어 `/usr/local/bin:/usr/bin`
          * 윈도우즈 환경이라면 {{{$path='./bin;c:/program files/vim/vimXX';}}}와 같은 식으로 설정한다.
          * (monisetup.php에 의해 자동 결정된다) apache2를 쓸 경우는 '?'를 쓰거나, `AcceptPathInfo on`를 쓰고 '/'로 지정한다.
         `'''$security_class="needtologin";'''`
  • ProjectVirush/Prototype . . . . 19 matches
         //Project -> Setting -> LINK 메뉴 -> Object/library modules: 의 끝부분에 ws2_32.lib 를 추가한다.
         #include <stdio.h>
         #include <winsock2.h>
         #define PORT 9999 // 서버의 9999번 포트를 연다
         #define BACKLOG 5
         #define SERVER_IP "127.0.0.1"
         main(){
          SOCKADDR_IN server_addr; // 네트워크의 정보를 담을 structure 생성.
          int queslen;
          server_sock = socket(AF_INET, SOCK_STREAM, 0);
          memset((SOCKADDR_IN *)&server_addr, 0, sizeof(SOCKADDR_IN));
          // struct sockaddr_in -> SOCKADDR_IN
          server_addr.sin_family = AF_INET;
          server_addr.sin_addr.s_addr
          = inet_addr(SERVER_IP); // 로컬 주소로 설정한다.
          server_addr.sin_port = htons(PORT);
          fprintf(stderr, "서버에 connect 할 수 없습니다."), exit(1);
          for( int i = 0 ; i < 3 ; i++ ){
          printf( "I have to answer the next question. %s\n", question);
          fprintf(stderr, "send error");
  • PythonLanguage . . . . 19 matches
         '~을 하기에 적합한' 언어는 있어도 '~을 하기 위한' 것이란 없다. -_-; ('~을 하기 위한 API'는 존재할 수 있겠다.) 이녀석도 프로그래밍 언어이므로 프로그래밍을 하기 위한 언어이다. ^^; (PHP도 사람들이 웹프로그래밍으로만 접근해서 그렇지 원래는 shell script programming 도 가능하다. perl 보다 편하게 쓰는 사람들이 많다.)
          * '''ExtremeProgramming 과 잘 어울린다.'''
          * TestFirstProgramming, UnitTest(PyUnit 참고), ["Refactoring"] 등의 방법론을 같이 접목시키면 더욱 큰 효과를 발휘할 수 있다.
          * ["wxPython"] - linux, windows 둘 다 이용가능한 GUI Toolkit.
          * [PythonNetworkProgramming]
          * [GuiTestingWithWxPython]
          * [PythonMultiThreading]
          * [PythonWebProgramming]
          * [Seminar:HotShot]
          * [PythonThreadProgramming]
         이미 다른 언어들을 한번쯤 접해본 사람들은 'QuickPythonBook' 을 추천한다. 예제위주와 잘 짜여진 편집으로 접근하기 쉽다. (두께도 별로 안두껍다!) Reference 스타일의 책으로는 bible 의 성격인 'Learning Python' 과 Library Reference 인 'Python Essential Reference' 이 있다.
         Python 으로 무엇을 할 수 있는지를 알고 싶다면 'Programming Python'를 추천.
         ~~http://python.netian.com/index.html~~
          * ~~http://fallin.lv/PythonRumors~~
          * http://www.gpgstudy.com/gpgiki/python_script - 파이썬의 Extending 과 Embedding 의 응용.
          * http://www.hanb.co.kr/network/networkmain.html - python 으로 search 해보시라. 재미있는 기사들이 많다.
  • RandomWalk/손동일 . . . . 19 matches
         #include<iostream>
         #include <ctime>
         using namespace std;
          int x = rand(); // rand()함수는 랜덤한 숫자를 리턴하는 함수입니다.
          int x1 = rand() % 10; // % 10 연산을 하면 x1 에는 10의 나머지가 될 수 있는
          int x2 = rand() % 9 + 1; // % 9를 하면 0~8까지의 숫자가 들어갈 수 있고
         void main()
          int arr[5][5] = {{0,},};
          int x = rand() % 5;
          int y = rand() % 5;
          for(int i=0; i<5; i++)
          for(int j=0; j<5; j++)
          int i,j;
          int i = rand() % 3 -1;
          int j = rand() % 3 -1;
          int k = rand() % 3 -1;
          int l = rand() ;
          for(int i=0; i<5; i++)
          for(int j=0; j<5; j++)
  • STL/list . . . . 19 matches
          * include : list
         #include <list>
         list<int> l;
         list<int>::iterator i;
          * iterator 를 이용한 순회는 containter에 공통점이다.
         list<int>::iterator i;
         for(i = l.begin() ; i != l.end() ; ++i)
         i = l.begin();
         #include <list>
         #include <iostream>
         using namespace std;
         int main(){
          const int INDEX_MAX = 5;
          int data[] = {1,2,3,4,5};
          list<int> l(&data[0], &data[INDEX_MAX]);
          list<int>::iterator i ;
          for(i = l.begin() ; i != l.end() ; ++i)
          i = l.begin();
  • 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");
  • ThePriestMathematician/하기웅 . . . . 19 matches
         #include <iostream>
         #include <limits.h>
         #include "BigInteger.h"
         using BigMath::BigInteger;
         #define MAX_DISK 10000
         BigInteger fourPin[MAX_DISK+1];
         int i, k, number, counting, exponent;
         BigInteger bi = 2;
         void hanoiInit()
          counting = 1;
          while(counting<=MAX_DISK)
          for(k=counting; k<=counting+exponent && k<=MAX_DISK; k++)
          fourPin[k] = fourPin[k-1] + bi.Power(exponent);
          counting = k;
         int main()
          hanoiInit();
          while(cin>>number)
          cout<<fourPin[number]<<endl;
  • TheTrip/곽세환 . . . . 19 matches
         #include <iostream>
         using namespace std;
         int main()
          int n; // 학생 수
          int student[1000]; // 학생들이 사용한 돈
          int total; // 총합
          int aver; // 평균
          int studentExchanged[1000]; // 공평하게 이동된 후의 학생들이 쓴 돈
          int exchange; // 전체 이동되는 돈
          int temp;
          int i, j;
          while (cin >> n && n != 0)
          double input;
          cin >> input;
          student[i] = (input + 0.005) * 100;
          int temp;
          int temp;
  • 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.
  • WikiProjectHistory . . . . 19 matches
         || [PaintBox] || 여러명, 각자 적으셔 || - || 종료 ||
         || [WritingOS] || 여러명, 각자 적으셔 || - || 종료 ||
         || ["ProjectZephyrus"] || ["1002"], ["neocoin"], ["상규"], 이영서(["Lupin'sHome"]) , ["신재동"], ["창섭"]|| 2002.5.12~6.10. Java Study. Java Messenger 제작 || 종료 ||
         || ["MineFinder"] || ["1002"] || 2002.2.20~3.1. Win 지뢰찾기의 지뢰 찾아주는 프로그램 제작 || 종료 ||
         || ["NSIS_Start"] || ["1002"] || 2002.2.1~2.9. NSIS Installer에 대한 사용법 작성 ||종료||
         || ["ExtremeProgramming"] || ["1002"] || 2002.1.9~1.31. ExtremeProgramming 에 대한 개념이해 & 정리 ||종료||
         || ["MoreEffectiveC++"] || ["neocoin"] || 2002.1.14~3.8 '''More Effective C++''' 예제 중심 한글화 || 종료 ||
         || ["KDPProject"] || ["1002"], ["neocoin"], ["comein2"], ["JihwanPark"] || Design Pattern Study. Wiki 활성화 첫 프로젝트. 종료후 남은 Pattern 은 개인적 담당. || 종료 ||
         || ["ZIM"] || ["1002"], ["이덕준"] || ZeroPage Instant Messenger Project || 유보 ||
         || ["D3D"] || ["erunc0"], ["woodpage"] || "Advanced 3D Game Programming using DirectX"|| 유보 ||
         || ["Refactoring"] || ["neocoin"], ["1002"] || 책요약 "Refactoring"의 요약 || 유보 ||
         || ["OpenGL_Beginner"] || ["neocoin"] || OpenGL의 기초를 공부하고, 3D로 바꿀만한 꺼리를 찾는다. ||유보||
  • neocoin/Log . . . . 19 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"]
  • randomwalk/홍선 . . . . 19 matches
         const int Direction = 8; // 바퀴벌레가 움직이는 8방향
         const int imove[8] = {-1,0,1,1,1,0,-1,-1}; // 바퀴벌레가 움직이는 방향의 x 좌표 증감
         const int jmove[8] = {1,1,1,0,-1,-1,-1,0}; // 바퀴벌레가 움직이는 방향의 y 좌표 증감
         int Tile[40][20] = {0,}; // 바퀴벌레가 돌아다니는 타일의 배열화
         int size_x, size_y; // x, y 좌표의 타일 갯수
         int count,t,R_count=0; // 바퀴벌레의 이동횟수, 랜덤 숫자, 바퀴벌레가 모든 타일을 돌아다니도록 하는 카운터
          int Pos_x, Pos_y; // 바퀴벌레의 위치
          void Initiation(); // 타일의 초기화
          void Input(); // 바퀴벌레의 시작위치 입력함수
         void Roach :: Initiation() // 타일의 초기화
          while(!(cin >> size_x) || size_x<3 || size_x > 40)
          while(!(cin >> size_y) || size_y < 3 || size_y >20)
         void Roach :: Input() // 바퀴벌레의 시작위치 입력함수
          int i,j;
          cin >> i;
          cin >> j;
          for(int m=0; m < size_x; m++){
          for(int n=0; n < size_y; n++)
         #include <iostream.h>
         #include <cstdlib>
  • ㄷㄷㄷ숙제2 . . . . 19 matches
         #include <stdio.h>
         main(void)
          int a = 24;
          printf("UP AND DOWN GAME~!\n");
          printf("1~50 사이의 숫자를 입력해 주세요\n");
          printf("입력하신 숫자에 비해 정답은?\n");
          {printf("UP!\n");
          {printf("DOWN! \n");
          { printf("정답입니다 마시세요ㅋ\n");
         #include <stdio.h>
         main(void)
          int a = 24;
          printf("UP AND DOWN GAME!\n");
          printf("1~50 사이의 수를 입력하세요\n");
          printf("입력하신 숫자에 비해 정답은?\n");
          printf("up!\n");
          printf("down!\n");
          printf("정답입니다 마시세요ㅋ\n");
          printf("숫자가 잘못 입력 되었습니다\n");
  • 데블스캠프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]
  • 데블스캠프2005/Python . . . . 19 matches
         MineSweeper
         Help on built-in function append:
         raw_input 문자열 입력
         input 수치형 입력
         >>> raw_input('your name? ')
         >>> n = input('숫자 입력하세요. ')
         a = 10 int(32bit)
         divmod(x, y) returns (int(x/y), x % y)
         int(3.15) 3
         >>> 1 in t 멤버십 테스트
         임의의 객체를 저장하는 자료형. 순서가 있고 순서에 의해(index) 접근 가능. 객체의 변경이 가능한다.
         >>> L.insert(1, 50)
         >>> if 'soccer' in dic: 사전이 key를 가지고 있는지 검사. 있으면 True리턴
          print dic['soccer']
         멤버십 테스트 'a' in s
         >>> for x in range(1, 10):
         >>> for o in range(1, 10, 2):
         >>> for n in number:
          print n,
  • 데블스캠프2006/월요일/함수/문제풀이/김준석 . . . . 19 matches
         #include<iostream>
         #include<time.h>
         using namespace std;
         bool team684(int daewon, int weapon_num, int boat_num){
         void main(){
          int daewon, weapon_num, boat_num;
          cin >> daewon >> boat_num >> weapon_num;
          cout << "대원 한명당" <<(rand()%(daewon/10) +1) * (int)(weapon_num/daewon) << "명죽이고 " << endl;
         #include<iostream>
         #include<time.h>
         using namespace std;
         int dice(){
         void main(){
         #include<iostream>
         #include<time.h>
         using namespace std;
         void main(){
  • 데블스캠프2009/금요일/연습문제/ACM2453/송지원 . . . . 19 matches
         #include <iostream>
         int main(){
          int input, i=2, b=1, count=0, temp = 0;
          scanf("%d", &input);
          if(input == 0) return 0;
          temp = input;
          if(input%2 == 1) break;
          printf("b = %d, i = %d\n", b, i);
          printf("temp : %d\n", temp);
          printf("count : %d\n", count);
          input = ((input >> b+count) + 1);
          input <<= b+1;
          input <<= 1;
          input++;
          printf("output : %d\n", input);
  • 데블스캠프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);
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/박정근,김수경 . . . . 19 matches
          //Elevator가 생성될때에는 항상 1층으로 setting된다.
          //System.out.println(e.floor());
          //System.out.println(e.floor());
          //System.out.println(e.floor());
          //System.out.println(e.floor());
          //System.out.println(e.floor());
          //System.out.println(e.floor());
          public int floor;
          private int max_floor;
          private int min_floor;
          private int floor_dir;
          public Elevator(int i, int j) {
          min_floor = j;
          public int floor() {
          public void up(int i) {
          public void goTo(int i) {
          public void down(int i) {
  • 랜웍/이진훈 . . . . 19 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         const int Arsize = 3;
         int pan[3][3] = {
         int count = 1;
         int countz();
         void main()
          int x = rand()%3;
          int y = rand()%3;
          int a = 0 , b = 0;
          int z = countz();
          continue;
          for (int i = 0;i<3;i++)//출력부..
          for (int k = 0;k<3;k++)
         int countz()//빈칸없나 체크하는 함수.
          int k = 0;
          for (int i = 0;i<3;i++)
          for(int j = 0;j<3;j++)
  • 문자반대출력/김태훈zyint . . . . 19 matches
         #include <stdio.h>
         #define BUFFER_SIZE 50
         //string의 길이를 잽니다.
         int strlen(char str[])
          int len=0;
          int len=0, p=0;
         void openiofiles(char* infilename,char* outfilename, FILE** fin, FILE** fout, char** buf[])
          *fin = fopen(infilename,"rt");
          fgets(buf,BUFFER_SIZE,*fin);
         void closeiofiles(FILE** fin, FILE** fout, char buf[])
          fclose(*fin);
         int main()
          FILE *fin, *fout;
          openiofiles("source.txt","result.txt",&fin,&fout,buf);
          closeiofiles(&fin,&fout,buf);
          지금보니까 {{{~cpp str[len] == 0 || str[len] == '\0' 요렇게 두번 쓸 필요 없이 str[len] == '\0'}}} 처럼 하나만 써도 될거같네 ㅇㅅㅇ/ - 태훈[zyint]
  • 문자반대출력/조현태 . . . . 19 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
          int where_is_save;
          int max_size_of_stack;
          stack( int data_size )
          bool get_in(char save_data)
         int main()
          ifstream inputFile("source.txt");
          if(!inputFile)
          inputFile.seekg(0,ios_base::end);
          stack file_data(inputFile.tellg());
          inputFile.seekg(0);
          while (inputFile.get(temp))
          file_data.get_in(temp);
          inputFile.close();
         reverse([First|Remain]) -> reverse(Remain) ++ [First].
  • 삼총사CppStudy/20030806 . . . . 19 matches
          * friend 함수를 위해서는 VS 6.0 sp 5를 깔아야 한다.[http://download.microsoft.com/download/vstudio60ent/SP5/Wideband-Full/WIN98Me/KO/vs6sp5.exe]
          * Visual Assist[http://www.wholetomato.com/downloads/index.shtml]
         #include <iostream>
         using namespace std;
          int x;
          int y;
          CVector(int a, int b);
          void SetValue(int a, int b);
          int GetX();
          int GetY();
         CVector::CVector(int a, int b)
         void CVector::SetValue(int a, int b)
         int CVector::GetX()
         int CVector::GetY()
         int main()
  • 새싹교실/2011/씨언어발전/5회차 . . . . 19 matches
         {{{#include <stdio.h>
         void main(){
          int st1[5]={80,70,86,0,0};
          int st2[5]={90,65,76};
          int i;
          printf("\t총점\t평균\n");
          printf("1\t%d\t%.3f\n",st1[3],av1);
          printf("2\t%d\t%.3f\n",st2[3],av2);
          printf("-------------------------\n");
          printf("\t%.3f\t%.3f",sum,avr);
         {{{#include <stdio.h>
         #define TRUE 1
         #define FALSE 0
         int isPrime(int number)
         int main()
          int i;
          if (isPrime(i)==TRUE) printf(“%d\n”,i);
  • 숫자야구/강희경 . . . . 19 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         void loading();
         int strike, ball, select, count;
         int main()
          loading();
          if(cin >> select )
          int num = rand() % 899 + 100;
          int num_m[3];
          loading();
          int answer;
          if(cin >> answer)
          int ans_m[3];
          for(int i = 0; i<3; i++)
          for(int j = 0; j<3; j++)
         void loading()
          for(int i = 0; i < 50000000; i++)
  • 숫자야구/민강근 . . . . 19 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          int x = rand() % 1000;
          int input,a,b,c,i,j,q,st,ba;
          cin>>input;
          a = input/100;
          b = input/10%10;
          c = input%10;
          cin>>input;
          a = input/100;
          b = input/10%10;
          c = input%10;
          }while(input!=x);
  • 조동영 . . . . 19 matches
          === Windows API ===
         #include <stdio.h>
         main ()
          int num,i,j,k;
          printf("숫자를 입력하시오 :");
          printf(" ");
          printf("*");
          printf("\n");
         #include <stdio.h>
         main ()
          int num,i,j,k;
          printf("패턴을 입력하시오 : ");
          printf("변의 길이를 입력하시오 : ");
          printf(" ");
          printf("%c", pattern);
          printf("\n");
          printf(" ");
          printf("%c", pattern);
          printf("\n");
  • 캠이랑놀자/051228 . . . . 19 matches
         >>> print x
         >>> print x
         range, for-in
         >>> for i in range(5):
         ... print i
         for-in, list
         >>> for i in s:
         ... print i
          print x
          print x+10
         == Python Image Processing ==
         Using [PIL]
         === whitening ===
         for x in range(256):
          for y in range(256):
         === darkening ===
         for x in range(256):
          for y in range(256):
         === overlap (blending) ===
  • 후각발달특별세미나 . . . . 19 matches
         Upload:0503_RefactoringSeminar.hwp - 발표 자료.
         Upload:0503_RefactoringSeminarSrc.zip - 예제 파일들.
         [Refactoring]
         [Refactoring/BadSmellsInCode]
         #include <iostream>
         using namespace std;
         #define ARRSIZE 1024
         #define FUNMAX 10;
         int funcCount = 0;
         int main()
          int f[ARRSIZE];
          cout << "addr of f in " << funcCount << "th call : " << f << endl;
          cin.get();
          int b[ARRSIZE];
          cout << "addr of b in " << funcCount << "th call : " << b << endl;
          cin.get();
  • ATmega163 . . . . 18 matches
          * 130 Powerful Instruction - RISC MPU
          * Master / Slave SPI Serial Interface
          * Byte - oriented 2-wire Serial Interface
         == 웨비 사운드에서 구한 ATmega 163 L 보드에 관한 Testing ==
          * 용산 가서 9 pin 짜리 Serial Port 잭과 5.5volt 어덥터에 끼울 것을 준비한다.
          * 9 pin 에서 TX는 2번 RX 3번 접지는 5번에 연결 시킨다.
          * 이후 새롬 데이타맨에서 모뎀에 의한 연결로 SETTING하고 baud rate를 19300(ㅠㅠ) 로 설정 후 reset 버튼을 누르면 [[BR]]
         === AVR GCC Programming ===
          c:\avrgcc>에서 install을 실행 시킨 후 바탕화면의 avr-gcc 배치파일을 이용해 도스창을 열어서 쓴다.
         include $(AVR)/include/make1
         ########### change this lines according to your project ##################
          HEADER = ../Include
         #INCDIR means .h file search path
          INCDIR = . -I$(HEADER)
         #put the name of the target mcu here (at90s8515, at90s8535, attiny22, atmega603 etc.)
         #additional libraries and object files to link
         #additional includes to compile
          INC =
         #INCDIR means .h file search path
          INCDIR = . -I$(HEADER)
  • AntOnAChessboard/문보창 . . . . 18 matches
         || 2006-02-01 Accepted 0.000 Minimum ||
         #include <iostream>
         using namespace std;
         #include <cmath>
         static int t;
         inline void show(const int i, const int j)
         void show_typeA(const int x, const int y)
         void show_typeB(const int y, const int x)
         void show_typeS(const int x)
          int x = floor(sqrt(t));
         int main()
          while (cin >> t && t != 0)
  • BasicJAVA2005/실습1/송수생 . . . . 18 matches
          public static void main(String[] args) {
          int[] arry = new int[3];
          int[] temp = new int[3];
          int strike=0;
          int ball=0;
          for(int i=0; i<3; i++)
          arry[i]=number.nextInt(9);
          System.out.println("입력:");
          Scanner scannumber = new Scanner(System.in);
          for(int i =0; i<3; i++)
          temp[i]=scannumber.nextInt();
          for(int i=0; i<3; i++)
          else for(int j=0; j<3; j++)
          System.out.print("Strike=");
          System.out.print(strike);
          System.out.print("Ball=");
          System.out.println(ball);
  • C++3DGame . . . . 18 matches
         struct Point3D
          Point3D center; // the center of CPU. in world coordinates
          Point3D coord[8]; // the 8 corners of the CPU box relatives to the center point
          Point3D center;
          Point3D coord[8];
          Point3D GetWorldCoord (int index)
          Point3D result;
          result.x = center.x + coord[index].x;
          result.y = center.y + coord[index].y;
          result.z = center.z + coord[index].z;
         CPU::GetWorldCoord(int index)는 그 세계의 원점에 대해 CPU 여덟개 점 중의 하나를 반환한다. 단지 coord[index]를 반환한다면, CPU중앙에 해당하는 CPU점을 반환하기 때문에 나중에 CPU를 그랠 때 원하는 대로 그릴 수 없게 된다. 중앙을 움직이면서도 CPU점 여덟개를 모두 옮기는 효과를 낼 수도 있다.
  • 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()
  • EffectiveSTL/Iterator . . . . 18 matches
          * container<T>::iterator, reverse_iterator : T*
          * container<T>::const_iterator, const_reverse_iterator : const T*
         = Item27. Use distance and advance to convert a container's const_iterators to iterators. =
          * 다음엔 C++의 casting에 관한 무슨 함축적인 의미가 담긴 말을 하고 있는데.. 아시는분은 좀 가르쳐 주세요. 이런생각을 가지고 있는것에 대해 부끄러워 하라네요.
         Iter i( const_cast<Iter>(ci) ) // 역시 안된다. vector와 string에서는 될지도 모르지만... 별루 추천하지는 않는것 같다.
          * string, vector가 될수도 있는 이유
          * string::iterator는 char*의 typedef, string::const_iterator는 const char*의 typedef이다. 따라서 const_cast<>가 통한다. (역시 클래스가 아니다.)
         Iter i(d.begin()); // d는 어떤 컨테이너의 인스턴스다.
         vector<int> v;
         typedef vector<int>::reverse_iterator VIRI;
         VIRI ri = find(v.rbegin(), v.rend(), 3); // 거꾸로 순회하면서 3을 찾는다.
         typedef vector<int>::iterator VIIT;
         || rend() || || || ri || || rbegin() || ||
         || || begin() || || || i || || end() ||
          * 만약에 ri가 가르키는 위치에다 새로운 원소를 삽입하고 싶다고 하자. 하지만 insert 메소드는 reverse_iterator는 인자로 받지 않는다. iterator형만 인자로 받는다. 즉 직접은 못한다는 것이다. 지울때도 이와 같은 문제가 발생한다. 그래서 base()를 쓰는 것이다.
         = Item29. Consider istreambuf_iterators for character-by-characer input. =
  • EightQueenProblem/햇병아리 . . . . 18 matches
         void increase()
          register int i, j;
         int check_line()
          register int i, j;
          register int count;
         int check_diagonal()
          register int count;
          register int i, j, k;
         int main()
          int i, j;
          for (;; increase()) {
          if (check_line())
          continue;
          continue;
          printf("%d ", board[i][j]);
          printf("\n");
  • 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());
  • Java/ReflectionForInnerClass . . . . 18 matches
         [http://groups.google.co.kr/groups?hl=ko&lr=&ie=UTF-8&oe=UTF-8&newwindow=1&threadm=3A1C1C6E.37E63FFD%40cwcom.net&rnum=4&prev=/groups%3Fq%3Djava%2Breflection%2Binnerclass%26hl%3Dko%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26newwindow%3D1%26selm%3D3A1C1C6E.37E63FFD%2540cwcom.net%26rnum%3D4 구글에서 찾은 답변]
         innerclass 에서는 기본적으로 Inner Class 를 포함하고 있는 상위클래스의 레퍼런스가 생성자로 들어간다. 마치 C++ 에서 메소드들에 대해 this 가 기본 파라메터로 넘어가는 것과 같은 이치랄까.
         public class InnerConstructorTest {
          public static void main(String[] args) {
          Object outer = outerClass.newInstance();
          Class innerClass = Class.forName("Outer$Inner");
          Constructor innerCons =
          innerClass.getDeclaredConstructor(consParamClasses);
          Object inner = innerCons.newInstance(consParams);
          System.out.println(inner.toString());
          System.out.println("Exception: " + e.getMessage());
          int y = 3;
          class Inner {
          public String toString() {
  • JollyJumpers/조현태 . . . . 18 matches
         using System;
         using System.Collections.Generic;
         using System.Linq;
         using System.Text;
          static void Main(string[] args)
          String text = System.Console.ReadLine();
          String[] textNums = text.Split(' ');
          int[] nums = new int[textNums.Length];
          for (int i = 0; i < nums.Length; ++i)
          nums[i] = int.Parse(textNums[i]);
          for (int i = 1; i < nums.Length - 1; ++i)
          System.Console.WriteLine("Jolly");
          System.Console.WriteLine("Not jolly");
          text = System.Console.ReadLine();
  • MagicSquare/인수 . . . . 18 matches
          int _size;
          int _x, _y;
          int _board[][];
          public MagicSquare(int size) {
          _board = new int[_size][_size];
          for(int i = 0 ; i < _size ; ++i)
          for(int j = 0 ; j < _size ; ++j)
          int oldX = _x;
          int oldY = _y;
          int setValidCoord(int c) {
          for(int i = 1 ; i <= _size*_size ; ++i) {
          for(int i = 0 ; i < _size ; ++i) {
          for(int j = 0 ; j < _size ; ++j)
          System.out.print( _board[i][j] + " ");
          System.out.println(" ");
          public static void main(String args[]) {
  • MineSweeper/김민경 . . . . 18 matches
         Describe MineSweeper/김민경 here.
         #MineSweeper
         #MineSweeper
         def in_put():
          size1,size2=input('사이즈를 입력하세요(n1,n2 형식으로 입력하세요)')
          for i in range(size1):
          check.append([0 for j in range(size2)])
          for i in range(size1):
          temp=raw_input()
          for x in range(size1):
          for y in range(size2):
          for i in range(8):
          for i in range(size1):
          for j in range(size2):
          print check[i][j],
          print
         if __name__=="__main__":
          in_put()
  • Omok/유상욱 . . . . 18 matches
         include <iostream.h>
         #include <conio.h>
         int omok_array[19][19]={0,};
         int omok_check(int, int);
         int main()
          int b_and_w=0;
          int question_x, question_y;
          cin >> question_y >> question_x;
          continue;
          for (int i = 0 ; i <= 18 ; i++)
          for (int j = 0 ; j <= 18 ; j++)
         int omok_check(int x, int y)
          int i,check_x=0,check_y=0,check_cl=0,check_cr=0,che=0,temp=omok_array[x][y];
  • OperatingSystemClass/Exam2002_1 . . . . 18 matches
         1. mainframe computer 의 운영체제와 personal computer 의 운영체제와의 주요 차이점은 무엇인가?
         2) Caching 에서의 hit ratio 란?[[BR]]
         5. 프로세스들끼리의 통신 방법으로 Message Passing 방법과 Shared Memory 방법이 있다. 각각의 방식을 간단히 설명하고, 서로의 장단점을 기술하시오.
         6. short-term, medium-term, long-term Scheduling의 차이점 및 특성에 대해 간략히 설명하시오.
         7. 유한 용량 Message Passing 을 위한 send() 메소드와 receive() 메소들을 완성하시오. send() 메소드는 queue의 공간이 있을때까지 block 하며, 반대로 receive() 메소드는 avariable message가 있을때까지 block해야 한다.
          * This implements a blocking send
          System.out.println ("Producer Blocked");
          catch (InterruptedException e) { }
          System.out.println("Producer UnBlocked");
          System.out.println("Full");
          * This implements a blocking receive
          // wait until something is there
          System.out.println("Consumer Blocked");
          catch (InterruptedException e) { }
          System.out.println("Consumer UnBlocked");
         private static final int SIZE = 3;
         private volatile int position;
         9. 동적으로 우선순위가 변화되는 preemptive priorty-scheduling algorithm 을 생각해 보자. 큰 값을 가진 우선순위 번호가 더 높은 우선순위를 가진다고 가정하자. 만약 프로세스가 초기값으로 우선순위값 0를 갖고, CPU를 기다릴 때(ready 상태)에는 우선순위 값 a를 갖고, running 상태에는 우선순위값 b 를 갖는다면,[[BR]]
  • PairProgrammingForGroupStudy . . . . 18 matches
         PairProgramming이란 ExtremeProgramming이라고 하는 새로운 소프트웨어 개발 방법론의 한가지 기법으로, 두명이 한 컴퓨터를 이용해서 같이 프로그래밍을 하는 것을 말합니다.
         저는 여기서 PairProgramming의 교육적 효과와 이를 그룹 스터디나 프로젝트 팀 교육에 응용하는 방법을 간략히 서술하겠습니다.
         이 방식을 소프트웨어 개발 업체에서 적용한 것은 Apprenticeship in a Software Studio라는 문서에 잘 나와 있습니다. http://www.rolemodelsoft.com/papers/ApprenticeshipInASoftwareStudio.htm (꼭 읽어보기를 권합니다. 설사 프로그래밍과는 관련없는 사람일지라도)
         여기서는 단기간에 이런 PairProgramming을 통해서 팀 내에 지식이 확산되게 하거나, 그룹 스터디에 이용할 수 있는 방법을 보도록 하죠.
         이렇게 되면 E와 F는 전문가인 A와 B와 직접 PairProgramming을 하고 나머지 네명은 자기들끼리 PairProgramming을 하게 되죠. 처음 pairing에서 C와 G, D와 H는 태스크를 완수해지 못해도 괜찮습니다 -- 대신 문제 영역을 탐색하는 동안 어느 정도의 학습은 발생하거든요.
         이 상태에서는 A와 B는 ExpertRating이 0이고, E와 F는 1이 됩니다. 이 개념은 Erdos라는 수학자가 만든 것인데, Expert 자신은 0이 되고, 그 사람과 한번이라도 pairing을 했으면 1이 됩니다. 그리고, expert와 pairing한 사람과 pairing을 하면 2가 됩니다. expert는 사람들의 ExpertRating을 낮추는 식으로 짝짓기 스케쥴링을 맞춰갑니다. 물론 처음에는 C,D,G,H는 아무 점수도 없죠. 이럴 때는 "Infinite"이라고 합니다.
         이렇게 pairing을 할 수 있겠죠. 역시 아까와 동일한 태스크를 수행합니다. 대신 좀전 pairing에서 얻은 지식을 기반으로 좀 더 나은 프로그램을 새로 작성하는 겁니다. 각자 이전 경험이 다르므로(다른 사람과 짝짓기를 했으므로) 둘이 협력하면 서로 가르쳐 주고 배우면서 시너지 효과를 낼 수도 있습니다.
         여기서는 각각의 ExpertRating은, C=2, D=2, E=1, F=1, G=1, H=1이 되겠죠. (A,B는 시원source이므로 여전히 0)
         너무나 좋은 글을 읽은 것 같습니다. 선배님이 써주신 PairProgramming에 관한 글을 순식간에 읽었습니다 ^^ 이런 방법이 스터디의 방법으로 자리잡는다면 초보자의 실력향상에 엄청난 도움이 되겠군요
  • 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() {
  • ProjectZephyrus/ServerJourney . . . . 18 matches
          * DB Connection상에 버그가 있었다. 오 상상도 못했던 {{{~cpp InfoManager}}}는 견고하다고 생각했는데, 의외의 부분에서 잘못이 있었음 --["상민"]
          * {{{~cpp InfoManager}}}에서 {{{~cpp writeDeleteBuddyCmd}}} 완성했습니다... 테스트를 해보려고 했으나... #deleteBuddy#... 패킷을 보내니까 접속이 종료되어버리네여.... 아직 #deleteBuddy 패킷을 처리 못하나요?? 서버에서는 이렇게 나오내요..
         java.lang.ClassCastException: command.InsertBuddyCmd
         toReceiver: #offline#lsk
          * ok 완료. 문제는 내가 {{{~cpp command.CommandManager.getCommand()}}}에서 해당 패킷에서 {{{~cpp DeleteBuddy}}} 객체를 만든게 아니라 {{{~cpp InsertBuddy}}} 객체를 만들어 주어서 였다. 금요일에 pair시 이부분을 그대로 복사해서 붙여 두었었거든, 한줄 바로 잡으니 잘 돌아 간다. 네 의도대로 인지, 테스트 해봐라 --상민
          * {{{~cpp InfoManager}}}에서 테이블을 만드는 {{{~cpp createPZTable}}}과 테이블은 없애는 {{{~cpp dropPZTable}}}을 만들었습니다. 완성은 아니구요... 조금 수정은 해야합니다.. --상규
          * {{{~cpp LoginCmd}}} 부분의 버그라고 생각하는 부분들 또 완성
          * {{{~cpp InsertBuddyCmd }}} 완료 30~40분 정도 걸림
          * {{{~cpp InfoManager}}}를 버디 리스트 삭제하는 기능만 빼고 거의 완성된 듯 하다..
          * {{{~cpp InfoManager}}}에 대한 test코드 작성
          * Login 부분의 두가지 버그 해결
          1. online list에 본인의 ID가 나온다. in {{{~cpp LogCmd}}}
          1. offline list에 online buddy가 추가 되었다. in {{{~cpp InfoManager}}}
          * 상규 파트는 {{{~cpp InfoManager}}}만을 건드리도록 원칙을 정했기에, Cmd 부분이 결정되야 작업이 가능하다. 결정은 다되었고, Cmd들의 Attribute만 넣은 상태로 넘겨주면 진행이 될텐데, 지연되는 것이 안타깝다. 그냥 내가 만들고 넘겨야 할듯..
          * 현재 {{{~cpp InfoManager}}}를 제외한 모든 코드가 내가 작성한 상태이다. 대체 재동군은 어제 어떻게 만날수 있을까.
          * 앗싸 재동이에게 사기 쳤다. initinstance 부분에서 점선으로 초기화 되는 과정에 대하여 표현이 잘못 되었었군. 재동 말이 맞았음 역시나 방학때 다시 한번 훌터 봐야 할듯 바보 같이
          1. Login 기능 완료, online 메세지 까지 보내고 있음
          1. Windows 상에서 일반 콘솔에서 컴파일, 실행 하기 위한 배치 파일 작성
          * 상규 주도 login DB자료 처리 부분 완료.28일에 해논 것들이 도움이 된것 같다. 상규의 능력을 알수 있다. 으어 나보다 잘하잖아. T_T --상민
          * 잘하긴요.... 해본거라 그렇죠..머..^^ 몇번의 삽질끝에... {{{~cpp writeLoginCmd}}} 완성.. 하지만.. 버디 리스트를 갖고 있는 테이블인 {{{~cpp PZContactList}}}은 중복 허용 문제때문에.. 프리머리 키도 없고... 나중에 속도문제가 생기지 않을까 하는 걱정이 됩니다.. 좀더 생각해봐야겠습니다...^^ 그리고 재동군이 이제 합류하나여? --상규
  • PyUnit . . . . 18 matches
         === Python Unit Testing Framework PyUnit 에 대해서 ===
         unit testing 의 가장 기본적인 코드 블록 단위. 셋팅과 모듈이 제대로 돌아가는지를 체크하기 위한 하나의 시나리오가 된다.
          assert widget.size() == (50,50), 'incorrect default size'
         테스팅을 하기 위해 Python의 assert 구문을 사용한다. testcase가 실행될 때 assertion을 실행하면 AssertionError 가 일어나고, testing framework는 이 testcase를 'failure' 했다고 정의할 것이다. 'assert' 를 명시적으로 써놓지 않은 부분에서의 예외가 발생한 것들은 testing framework 에서는 'errors'로 간주한다.
         다행스럽게도 우리는 setUp 라는, testing framework가 테스팅을 할때 자동으로 호출해주는 메소드를 구현함으로서 해결할 수 있다.
          assert self.widget.size() == (50,50), 'incorrect default size'
         이러한 testing code를 위한 작업환경을 'fixture' 라고 한다.
          assert self.widget.size() == (50,50), 'incorrect default size'
          def __init__(self):
          unittest.TestSuite.__init__(self, map(WdigetTestCase, "testDefaultSize", "testResize")))
          * command line에서 test module를 단독적으로 실행할 수 있다.
          * 테스트 된 코드를 refactoring 하기 더 용이해진다.
         기본적으로 TextTestRunner는 sys.stderr에 출력한다. TextTestrunner 같은 클래스는 Python interpreter session과 상호작용하면서 test들을 실행시켜볼 수 있는 이상적인 방법이다.
          if not hasattr(something, "blah"):
          self.fail("blah missing")
         def testSomething(self):
         ["UnitTest"], ["ExtremeProgramming"]
  • 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) 동시에 할 수도 있습니다. - [변형진]
  • RandomWalk2/Leonardong . . . . 18 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         const int Asize = 3;
         int main()
          int board[Asize][Asize] = {0,};
          int x = rand() % Asize;
          int y = rand() % Asize;
          char input;
          int tempx=x, tempy=y;//벽을 통과할때를 대비한 백업
          while (input!='\n')
          cin.get(input);//한자씩 입력받게
          switch(input)
          continue;
          for (int j=0 ; j<Asize ; j++)
          for (int k=0 ; k<Asize ; k++)
  • ReverseAndAdd/남상협 . . . . 18 matches
         class Palindrome:
          for i in range(1,100):
          for i in range(1,self.count+1):
          for i in range(0,101):
          print numbers
          print self.reverseNumber
          print "------------"
         class testPalindrome(unittest.TestCase):
          self.exPalindrome=Palindrome()
          self.assertEquals(951,self.exPalindrome.Reverse(159))
          self.assertEquals(265,self.exPalindrome.Reverse(562))
          self.assertEquals(57,self.exPalindrome.Reverse(750))
          self.assertEquals((4,9339),self.exPalindrome.run(195))
          self.assertEquals((5,45254),self.exPalindrome.run(265))
          self.assertEquals((3,6666),self.exPalindrome.run(750))
         if __name__=='__main__':
          unittest.main()
  • RubyLanguage/Expression . . . . 18 matches
         || ! ~ + - || 단항연산자 (역논리, bit NOT, unary plus, unary minus) ||
         || defined || 심벌이 정의되었는지 검사 ||
         || begin end || 블록 표현식 ||
          * defined? 연산자: 매개변수가 정의된 경우 그에 대한 설명을 문자열로 반환하고, 정의되지 않은 경우 nil을 반환
         defined? 1
         defined? dummy
         defined? printf
         defined? $_
         defined? a = 1
         print if a == 10
         kind = case year
          when 1930..1939 then "Swing"
         print a += 1 while a < 10
         print a += 1 until a == 10
         for i in 1..10 do
          print i
          print i
          * Integer class의 method. Integer가 나타내는 횟수만큼 반복
  • SeparatingUserInterfaceCode . . . . 18 matches
         전에 TDD 기사 썼을때 읽으면서 굉장히 감명깊었던 구절. 디자인에서 로직/UI 분리가 어떻게 이루어져야 하는가를 아주 간단하면서도 명료하게 말해준다. 개인적으론 RefactoringBook 을 읽었을때보다 이 글을 본 것이 더 충격적이였던것으로 기억된다. (특히, RefactoringBook 을 읽었을때보다 상대적으로 디자인에 대한 지식이 더 있었을때임에도 충격이 더 컸음에.) :
         When separating the presentation from the domain, make sure that no part of the domain code makes any reference to the presentation code. So if you write an application with a WIMP (windows, icons, mouse, and pointer) GUI, you should be able to write a command line interface that does everything that you can do through the WIMP interface -- without copying any code from the WIMP into the command line.
         도메인모델로부터 프레젠테이션 부분이 분리되었을때, 도메인 코드의 어떠한 부분도 presentattion 코드와 관련이 없도록 해야 한다. 그리하여 만일 WIMP GUI 어플리케이션을 작성했을때 당신은 WIMP 인터페이스를 통해 할 수 있는 모든 것들을 command line interface 로 작성할 수 있어야 한다. WIMP 코드로부터 어떠한 코드도 복사하지 않고.
         이는 UI 부분에만 적용되지 않는다. 일종의 InformationHiding 의 개념으로 확장할 수 있다. 예를 들면 다음과 같이 응용할 수 있지 않을까.
         도메인모델로부터 퍼시스턴스 부분이 분리되었을때, 도메인 코드의 어떠한 부분도 퍼시스턴트 레이어 코드와 관련이 없도록 해야 한다. 만일 MySQL Repository을 작성했을때 당신은 MySQL 인터페이스를 통해 할 수 있는 모든 것들을 Flat File Repository interface 로 작성할 수 있어야 한다. MySQL 코드로부터 어떠한 코드도 복사하지 않고.
  • 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
  • SpiralArray/임인택 . . . . 18 matches
         # -*- coding: UTF-8 -*
          for i in range(rows):
          index = [0,0]
          SpirialArray[index[0]][index[1]] = value + 1
          for i in rotList:
          for j in range(i):
          index[0] += dir[0]
          index[1] += dir[1]
          SpirialArray[index[0]][index[1]] = value + 1
          print index
          def __init__(self):
         if __name__=='__main__':
          #unittest.main(argv=('','-v'))
          print makeSpirialArray(3,3)
          print makeSpirialArray(6,4)
  • TeachYourselfProgrammingInTenYears . . . . 18 matches
         == Teach Yourself Programming in Ten Years ==
         어느 책방에 발길을 옮겨도,「7일간으로 배우는 Java(Teach Yourself Java in 7 Days)」라고 하는 방법책을 보기 시작하고, 그 곁에는 Visual Basic 나 Windows 나 인터넷등에 대해서, 똑같이 몇일이나 수시간에 배울 수 있으면(자) 파는 책이, 무한의 바리에이션으로 나란해지고 있다.Amazon.com 그리고 이하의 조건으로검색해 보았는데,
         프로그램을 쓰는 것.학습하는 최고의 방법은,실천에 의한 학습이다.보다 기술적으로 표현한다면, 「특정 영역에 있어 개인이 최대한의 퍼포먼스를 발휘하는 것은, 장기에 걸치는 경험이 있으면 자동적으로 실현된다고 하는 것이 아니고, 매우 경험을 쌓은 사람이어도, 향상하자고 하는 진지한 노력이 있기 때문에, 퍼포먼스는 늘어날 수 있다」(p. 366) 것이며, 「가장 효과적인 학습에 필요한 것은, 그 특정의 개인에게 있어 적당히 어렵고, 유익한 피드백이 있어, 게다가 반복하거나 잘못을 정정하거나 할 기회가 있는, 명확한 작업이다」(p. 20-21)의다(역주3).Cambridge University Press 로부터 나와 있는 J. Lave 의「Cognition in Practice: Mind, Mathematics, and Culture in Everyday Life」(역주4)라고 하는 책은, 이 관점에 대한 흥미로운 참고 문헌이다.
         적어도 반다스의 프로그램 언어를 배우는 것.그 중의 하나는 클래스 추상을 서포트하는 것(예를 들면 Java 나 C++), 하나는 함수 추상을 서포트하는 것(예를 들면 Lisp 나 ML), 하나는 구문 추상을 서포트하는 것(예를 들면 Lisp), 하나는 선언적 기술을 서포트하는 것(예를 들면 Prolog 나 C++ 템플릿), 하나는 coroutine 를 서포트하는 것(Icon 나 Scheme), 그리고 하나는 병렬처리를 서포트하는 것(예를 들면 Sisal)인 것.
         Bloom, Benjamin (ed.) Developing Talent in Young People, Ballantine, 1985.
         Lave, Jean, Cognition in Practice: Mind, Mathematics, and Culture in Everyday Life, Cambridge University Press, 1988.
         execute single instruction 1 nsec = (1/1, 000,000,000) sec
          * 역주 6 - 말할 필요도 없이,Jamie Zawinski 이다.
  • TestDrivenDevelopment . . . . 18 matches
          사람마다 다를것 같긴 하지만, 나의 경우는 테스트를 작성하기 전 TODO List 를 작성할때 가장 고민을 하고 시간이 오래걸린 것 같다. 뭘 만들것인지에 대한 이해가 제대로 되지 않은 상태에서는 도대체 '뭘 해야 할지, 어떤 결과를 기대해야 할지'를 모르기 때문. :) 한편, 만일 TODO 리스트 작성시 시간이 너무 지체된다 싶으면 빨리 '어떤 결과를 기대해야 하나(Test 디자인)' 이란 질문을 하고 테스트를 작성해보는 방법을 추천. 저 질문이 앞에서의 '뭘 할까?'라는 질문의 모호함을 보완해주기 때문. 무엇을 해야 할지 감이 안올때는 가장 간단한 Input-Output 을 서술해봄으로서 조금씩 구체화시켜나갈 수 있음. '예제에 의한 구체화'란 방법은 참 유용함. --[1002]
         테스트를 작성할때엔 '이미 완성되어있는 잘 된 API' 를 상상하며 작성한다. 잘 만들어진 API는 같은 일을 하더라도 직접 호출해줘야 하는 함수의 갯수가 적고 이해하기 편하며 '무엇'을 해주는지 그 메소드가 말해준다. 적게 코드를 써도 많은 일을 해주는것이다. 그리고, 테스트로서 컴퓨터의 컴파일러에게 코드작성을 위해 해야 할 일들을 묻고, 인터페이스를 만들고. 그리고 구현하고, 다시 구현된 코드를 Refactoring 한다.
         int gNumTests = 0;
         int gNumFailures = 0;
         #define Assert(cond) AssertImpl(cond, #cond, __LINE__, __FILE__)
         void AssertImpl( bool condition, const char* condStr, int lineNum, const char* fileName)
          printf("file %s', line %d, assert '%s' failed\n", fileName, (int)lineNum, condStr);
         void printTestResult() {
          printf("%d tests run, %d tests failed\n", (int)gNumTests,(int)gNumFailures);
         int main(int argc, char* argv[])
          printTestResult();
  • TextAnimation/권정욱 . . . . 18 matches
         #include<iostream>
         #include<fstream>
         #include"util.h"
         using namespace std;
         int main()
          ifstream fin("out7.txt");
          int frame, x, y, dot;
          int i, j, k;
          fin>>frame;
          fin>>dot;
          fin>>x>>y>>character;
          /*ifstream fin("out7.txt");
          int frame, x, y, dot;
          int i, j, k;
          fin>>frame;
          fin>>dot;
          fin>>x>>y>>character;
  • 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
  • XpWeek/ToDo . . . . 18 matches
         RelesePlanning
          [[HTML(<strike>)]] 개발자 - CodingStandard정의 [[HTML(</strike>)]]
          [[HTML(<strike>)]] 개발자 - StandUpMeeting [[HTML(<strike>)]]
          [[HTML(<strike>)]] 개발자 - EngineeringTask 작업 [[HTML(<strike>)]]
          개발자 - ContinuousIntegration
         ExtremeProgramming 개발주기를 참조
          === RelesePlanning ===
          EngineeringTask 예상
          TaskPoint 할당
          ==== 개발자 - CodingStandard정의 ====
          ==== 개발자 - StandUpMeeting ====
          ==== 개발자 - EngineeringTask 작업 ====
          PairProgramming + TestDrivenDevelopment
          테스팅 -> 코딩 -> [Refactoring]
          ==== 개발자 - ContinuousIntegration ====
  • [Lovely]boy^_^/Arcanoid . . . . 18 matches
          * 지난번엔 x로 1, y로 1 이렇게 움직였지만.. 이번에 대각선 길이 루트2에다가 cos22.5, sin22.5 이런걸 해버리면.. 캐스팅 될때 1,0 이 되면서 수직, 또는 수평으로만 움직일 수가 있다.
         // 소스 OnInitialUpdate() 맞나? 어쨌든 초기화 하는거에서
          나는 좀더 욕심을 부려서, pDC 까지 보관하여 {{{~cpp GetDC}}}로 얻지도 않고 그릴려고 시도 했는데, 해봐 결과를 알수 있을꺼야. pDC는 끊임없이 변화를 시도하는 녀석이라 상태 유지가 되지 않더군. 바로 전까지 가진 pDC는 옛날 녀석이라 이거지, 결론으로 네가 의도하는 대로 상태 저장이 가능한 GDI Object를 그렇게 쓰는거 부담없다. --["neocoin"]
         여담으로, 전에 MFCStudy 로 할때 각도 계산까지 넣었다면 좋을뻔 했지? ^^;; 하지만 아마 그때 넣었으면 더 시간이 걸렸을꺼 같아서;; 어이 인수 과거 소스를 나에게 넘겨 쿨럭. 농담이고, 아 진작 소스 겉어 둘껄 ^^;; --["neocoin"]
          진짜 소스 겉어서 링크 해둘껄 다들 옛날 소스 보면 정말 재미있을텐데 --["neocoin"]
          * I change a background picture from a Jang na ra picture to a blue sky picture. but my calculation of coordinate mistake cuts tree picture.
          * When a ball collides with a moving bar, its angle changes, but it's crude. Maybe it is hard that maintains a speed of a ball.
          * Now sources become very dirty, because I add a new game skill. I always try to eliminate a duplication, and my source has few duplication. but method's length is so long, and responsiblity of classes is not divided appropriately. All collision routine is focusing on CArcaBall class.
          * I don't want pointers in container, so I had to make a copy constructor, substitute operator.--;
          * I change a design of a arcanoid. - previous version is distribute, but this version is that god class(CArcanoidDoc)' admins a total routine. in my opinion, it's more far from OOP.--;
  • django . . . . 18 matches
          * mysql 은 사용자를 생성하고 settings.py 파일을 설정한다. 그리고 pysqlite와 다른 점은 DB 이름을 넣고 나서 mysql 들어가서 따로 DB를 만들어 줘야 한다. 그리고 사용자도 만들어 줘야 한다.
          * syncdb 해도 admin 에서 추가한 것이 보이지 않을때는 runserver 한거를 중지 시키고 다시 서버를 시작 하면 보인다.
          * [http://linux.softpedia.com/progDownload/PySQLite-Download-6511.html pysqlite다운로드]
          * [http://www.initd.org/tracker/pysqlite/wiki/PysqlitePackages 각Linux별설치]
          SetEnv DJANGO_SETTINGS_MODULE <프로젝트 이름>.settings
         [예시] /path/to/project/mysite 에 settings.py 파일이 있는 경우
          SetEnv DJANGO_SETTINGS_MODULE mysite.settings
         == For Linux ==
         == For Windows ==
         http://thinkhole.org/wp/2006/04/03/django-on-windows-howto/
         = mod_python으로 동작시 admin 화면 깨짐 해결 =
          * settings.py 아래 부분처럼 수정
         ADMIN_MEDIA_PREFIX = '/'
          * 그리고 C:\Python24\Lib\site-packages\Django-0.95-py2.4.egg\django\contrib\admin\media 에 있는 css 폴더를 docuemntRoot(www 이나 htdoc) 폴더에 복사하면 해결됨.
          * [http://www2.jeffcroft.com/2006/feb/25/django-templates-the-power-of-inheritance/] : Template HTML 파일 사용법
          * [django/ModifyingObject]
          * [django/RetrievingObject]
  • 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}}} ||
  • 가위바위보/재니 . . . . 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();
  • 구구단/문원명 . . . . 18 matches
         #include <iostream>
         using namespace std;
         void main()
          for(int i=1;i<=9;i++)
          for(int j=2;j<=5;j++)
          for(int k=1;k<=9;k++)
          for(int m=6;m<=9;m++)
         (define (mul x y) (begin (print x) (print * )(print y)(print = ) (print (* x y))(newline)))
         (define (num a b)
          (if (<= b 9)(begin (mul a b)(num a (+ b 1)))
          (begin (num (+ a 1) 1)))))
  • 논문번역/2012년스터디/김태진 . . . . 18 matches
         완전한 영어 문장들로 학습/인식을 위한 데이터를 제공했는데, 각각은 Lancaster-Oslo/Bergen corpus에 기초한다. 글쓴이에 상관없는 형태와 마찬가지로 다수의 저자에 의한 실험은 the Institute of Informatics and Applied Mathe- matics (IAM)에서 수집한 손글씨 형태를 사용했다. 전체 데이터는 다양한 텍스트 영역들을 가지고 있고,500명보다 많은 글쓴이들이 쓴 1200개보다 많은 글씨를 가지고 있다. 우리는 250명의 글쓴이가 쓴 글쓴이-독립적인 실험에서 만들어진 카테고리들의 형태를 사용하고, 6명의 글쓴이가 쓴 c03 형태로 여러 글쓴이 모드를 적용해본다.
          이 두가지 데이터들 모두 300dpi using 256 grey-levels로 스캔해서 사용했고, Fig 에서 각각의 데이터를 예시로 제시한다.
         주어진 손글씨 문서에 대한 이미지에 대해 처음 전체 이미지를 삐뚤게 쓴 것은(?) 글쓰는 것에 대한 지속적인 "drift"(흐름) - 지속적으로 계속되는 것이거나 스캔하는 동안 부정확하게 놓여진 것(가지런하게 두지 않아서..)에 의한 오류들을 수정하기 위해 고쳤다. 그래서, 그 이미지는 2진화된 이미지를 수직 밀집 히스토그램에서 최소한의 엔트로피가 될때까지 반복한다. 이러한 전처리는 IAM 데이터베이스에 대한 공식을 사용하지 않았는데, 글쓴이들이 스캔하는 동한 정확하게 ???????because the writers were asked to use rulers on a second sheet put below the form and the formulars itself are aligned precisely during scanning.
          더 많은 문서 작업을 위해, 개인의 손글씨 각 줄들을 추출했다. 이것은 글씨들을 핵심 위치들 사이로 이미지를 쪼개는 것으로 할 수 있었다. 핵심 위치란, 글씨의 아래위 선사이의 영역과 같은 것인데, 핵심 위치에 존재하는 줄에서 필요한 전체 픽셀들의 최소 갯수를 말하는 한계점을 응용하여(?)찾을 수 있다. 이러한 한계점은 2진화된 손글씨 영역에 대한 수직적인 밀집 히스토그램(the horizontal density histogram of the binarized handwriting-area)을 사용한 Otsu method를 사용하여 자동적으로 만들 수 있다. 검은색 픽셀들의 갯수는 수평적 투영 히스토그램에 각각의 줄을 합한 갯수이고, 그 이미지는 이 히스토그램의 최소화를 따라 핵심 위치들 사이로 조각 내었다.
          글쓰는 스타일이 때로 한줄 내에서 중요하게(?) 바뀐다는 관측에 고무되어서, 우리는 각 손글씨 줄들을 각각 수직적인 위치, 기울어짐, slant에서 수정했다. 그래서 각각의 줄은 문서의 부분 사이에 공백으로 찾아 쪼개었다. 한계점은 일반화 요소들을 통했을때에 계산하기에 너무 짧은 부분들을 피하기 위해 사용했다. 반면에 수직적인 위치와 기울어진 것은 [15]에서 묘사된 방법과 비슷한 선형적 regresion?을 사용한 기준선 추정 방법으로 고쳤고, slant 각도에 대한 계산은 모서리의 방향에 기초하여 고쳤다. 그렇게 이미지를 이진화했고 수직적인 변화를 추출하여 consid- ering that only vertical strokes are decisive for slant estima- tion. Canny 모서리 감지는 각 히스토그램에서 계산된 모서리 방향 데이터를 얻기위해 사용했다. 그 히스토그램의 의미는 slant 각도를 사용하는 것이다.
         == Linear Algebra and its applications ==
         == 1.7 Linear Independence 선형 독립성 ==
         Definition
         만약 벡터 방정식 ...가 오직 자명한 해를 가진다면 Rn에 있는 인덱싱된 벡터들의 집합을 선형적으로 독립적(linearly independent)이라고 말한다. 만약 (2)와 같은 0이 아닌 가중치가 존재한다면 그 집합은 선형 독립전이다고 한다.
          등식 (2)는 가중치가 모두 0이 아닐 때 v1...vp사이에서 linear independence relation(선형 독립 관계)라고 한다. 그 인덱싱된 집합이 선형 독립 집합이면 그 집합은 선형독립임이 필요충분 조건이다. 간단히 말하기위해, 우리는 {v1,,,vp}가 선형독립 집합을 의미할때 v1...vp가 독립이라고 말할지도 모른다. 우리는 선형 독립 집합에게 유사한 용어들을 사용한다.
         Linear Independence of Matrix Columns 행렬 행에 대한 선형 독립성
         Characterization of Linearly Dependent Sets
         == 1.8 Linear Transformations ==
         Linear Transformations 선형 변환
         Definition
  • 단어순서/방선희 . . . . 18 matches
         #include <iostream>
         #include <cstring>
         #include <cmath>
         using namespace std;
         const int Max=20;
         void main()
          char input[Max];
          cin.get(input, Max);
          int temp;
          int content = 1;
          for(int i=0; i < strlen(input); i++)
          temp = input[i] - 'a';
          content += temp * pow(strlen(input), strlen(input)-1-i);
          cout << input << "은 " << content << "번 째 단어입니다.\n";
  • 데블스캠프2005/RUR-PLE/Sorting . . . . 18 matches
         = 데블스캠프2005/RUR-PLE/Sorting =
          while next_to_a_beeper(): #search minimum column
          if next_to_a_beeper():#inspect whether it's empty column or not
          move() # search the smallest column in unordered columns
          move() # search the smallest column in unordered columns
          else: # one column sorting finished
          continue
          bringOne()
          for n in range(7):
         def bringOne():
         for n in range(8):
         == 김태훈([zyint]) ==
         # Function Public Definitions #
         #find beeper
         # main source code #
         for i in range(5):
         # Finish #
  • 데블스캠프2005/주제 . . . . 18 matches
         || 금 || ? || [신재동], [임인택] , 이정직[fnwinter] || 실습까지 3시간 예상 , 윈도우즈 프로그래밍 || 네트워크 이용한 게임 정도 ||
         [Refactoring], [TestDrivenDevelopment], [STL], [ObjectOrientedProgramming],
         C//C++의 차이, JAVA 맛보기, 네트워크, 자료구조, Linux, C(주입식교육), 알고리즘,
         [http://gvr.sourceforge.net/ Guido van Robot], PairProgramming 시연(?),
         Recursion 과 Iteration (IndexCard 등을 이용해서.. ToyProblems 따위의 문제 풀어보기,
         PairProgramming 하면 더 좋을듯)
         In my life, I have seen many programming courses that were essentially like the usual kind of driving lessons, in which one is taught how to handle a car instead of how to use a car to reach one's destination.
         My point is that a program is never a goal in itself; the purpose of a program is to evoke computations and the purpose of the computations is to establish a desired effect.
         -Edsger W. Dijkstra, 'Notes on structured programming'
         - Guido van Robot 보니까 옛날 LOGO 프로그램 생각나네.. 비슷한거 같은데 아닌가? - fnwinter
         [DevelopmentinWindows] 여기에 메세지 루프에 관한 설명하고 툴 디버깅에 대한 얘기 하면 되겠다. 감기가 걸려서 오늘 갈 수 있을 란지...
  • 데블스캠프2006/월요일/함수/문제풀이/임다찬 . . . . 18 matches
         #include <iostream>
         using namespace std;
         bool team684(int people,int gun,int boat){
         void main() {
         #include <iostream>
         #include <time.h>
         using namespace std;
         int ju42(){
         int main(){
         #include <iostream>
         #include <time.h>
         using namespace std;
         int main(){
          int c;
  • 몸짱프로젝트/BubbleSort . . . . 18 matches
         #include <stdio.h>
         int * sort(int aArr[]);
         void swap(int & aVal1, int & aVal2);
         const int SIZE = 10;
         void main()
          int arr[SIZE] = {1,13,11, 22,6,4,72,11,9,10};
          int * p_arr = sort(arr);
          for ( int i = 0 ; i < SIZE ; i++, p_arr++)
          printf("%d\n", *p_arr);
         int * sort(int aArr[])
          for ( int i = 0 ; i < SIZE ; i++)
          for ( int j = 0 ; j < SIZE ; j++)
         void swap(int & aVal1, int & aVal2)
          int temp = aVal1;
  • 비밀키/조재화 . . . . 18 matches
         #include <fstream>
         #include <string>
         #include <iostream>
         using namespace std;
         int main()
          ifstream fin("source.txt"); // fininput.txt를 연결
          int counter = 0;
          for(int i=0; !fin.eof(); i++)
          array[i]=fin.get(); // cin으로 화면에서 입력받는다면, fin은 연결된 파일로부터 입력받는다.
          int key;
          cin >> key;
  • 새싹교실/2011/무전취식/레벨8 . . . . 18 matches
          * pointer
         == Ice Breaking ==
         김준석 : 이번주금요일에 IFA 에 참여를 합니다. Ice breaking같은 커뮤니케이션 기술, 회의 진행. 지난주에 체육대회 개최한걸 다사다난하게 끝냈습니다. 스티브 잡스에 관한 발표도 잘했어. 강원석 : 저도 스티브잡스 책봐요 ICon:스티브잡스! 사람들이 평가를 했는데 '교수님보다 잘갈킴' 기분이 좋았음. 어제 ZP 스승의 날 행사를 해줌. 춤은 여전히 잘배우고 있습니다.
         Lee JinYoung
         #include<stdio.h>
         void main(){
          printf("파일 안열렸음!!");
          printf("1 %s",buf);
         1 Lee JinYoung
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * Ice Breaking이 날이갈수록 흥미진진한 얘기가 나옵니다. 재밌네. 오늘은 복습을 좀 많이 했죠. 기초가 중요한겁니다 기초가. pointer도 쓰는법은 생각보다 간단하지. 간단한 파일입출력도 해봤고. 정말 정말 잘하고있어. 수업태도도 나아지고있고. 이제 앞으로 나머진 들러리지만 알아두면 좋을 팁이라고 생각합니다. 하지만, 앞에서 배운 많은 개념을 잊어먹은것 보니까 이건 사태의 심각성이 있네 역시 복습하길 잘했어. 그리고 winapi사이트좀 자주가. 거긴 볼것이 많아. 그리고 후기좀 자세히봐=ㅂ= 후기쓸때도 그날 배운것 배껴서라도 올려내고!! - [김준석]
          * 훗 1등. 지난주에 못와서 복습을 했어도 좀 아리까리 하네요. array쪽부터 차근차근 다시 복습을 해봐야 할것 같습니다. 오늘 파일 입출력을 배웟는데 신기했어요. 저런걸 pointer로 하는지는 몰랐는데.... 그리고 구조체에 대해서 간단하게 배웠어요. 앞으로 계속해서 저랑 마주하게 될 아이들이니깐 열심히 공부해야 할것 같아요. - [강원석]
          * 오.. 1등 ㅊㅋㅊㅋ. 기특하군 새벽에 메신저에 있는거보니 뭐하는진 모르겠지만. 재밌길. 파일pointer가 좀 신기하긴 하지 사실 난 저걸 배울때 그냥 문법으로 알았는데 생각해보면 pointer라는것을 깨달은게 정말 오래걸렸달까? 구조체는... 나중에 진화한단다 그걸 위해서 고생좀 해봐야지. 그래 우리가 앞으로 더욱 레벨업된 몬스터를 상대하게 될꺼야. - [김준석]
  • 선희 . . . . 18 matches
         (define (multi x y) (* x y))
         (define (gugu x y)
          (begin (print x) (print *) (print y) (print =) (print (multi x y))
          (newline)
         (define (multi x y) (* x y))
         (define (gugu x y)
          (begin (print x) (print *) (print y) (print =) (print (multi x y))
          (newline)
  • 스터디/Nand 2 Tetris . . . . 18 matches
          IN a;
          IN a, b;
          IN a, b;
          IN a, b;
          IN a, b, s;
          IN a[4], s[2];
          * half-adder, full-adder, 16bit-adder, incremental adder, ALU에 대해서 공부하고 구현하였습니다.
          IN a, b; // 1-bit inputs
          IN a, b, c; // 1-bit inputs
          IN a[16], b[16];
          * Incremental
         CHIP Inc16 {
          IN a[16];
          * Hack Machine language를 사용해서 프로그램을 작성해 봄.
          2개의 Instruction을 지원한다. 각 Instruction은 2Byte이다.
          * A-Instruction : @value // Where value is either a non-negative decimal number or a symbol referring to such number.
          Binary : 0vvv vvvv vvvv vvvv
          * C-Instruction : dest=comp;jump // Either the dest or jump fields may be empty.
          Binary : 111a c1c2c3c4 c5c6d1d2 d3j1j2j3
          * A-instruction 을 사용하면, value는 A에 들어간다.
  • 제곱연산자 전달인자로 (Setting) . . . . 18 matches
         #include <iostream>
         #include <stdlib.h>
         using namespace std;
         int power(int a, int b);
         int main(int argc, char *argv[])
          int result1,result2;
         int power(int a, int b)
          for(int i=0; i<b ; i++)
         int main()
          int result;
          printf("%d\n", result);
  • 최대공약수/김태훈zyint . . . . 18 matches
         #include <stdio.h>
         void swap(int* x,int* y);
         int gcd(int a, int b);
         int main()
          int x,y;
          printf("x = "), scanf("%d",&x);
          printf("y = "), scanf("%d",&y);
          printf("GCD is %d\n",gcd(x,y));
         int gcd(int a, int b)
         void swap(int* x,int* y)
          int tmp;
  • 캠이랑놀자/보창/숙제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] << " ";
  • 파스칼삼각형/문보창 . . . . 18 matches
         #include <iostream>
         using namespace std;
         void find_combination(int n, int c);
         int main()
          int row, col;
          cin >> row >> col;
          find_combination(row, col);
         void find_combination(int n, int c)
          int num = 1;
          for (int i = n; i > c; i--)
  • 피보나치/김정현 . . . . 18 matches
         #include <iostream>
         using namespace std;
         int fibonach(int num);
         void main()
          int input;
          cin>>input;
          cout<<input<<"번째 피보나치 수열은 "<<fibonach(input)<<"\n";
         int fibonach(int num)
         if __name__ == '__main__':
          a=int(raw_input("input number"))
          print fibonach(a)
  • 피보나치/김홍선 . . . . 18 matches
         {{{~cpp #include <iostream.h>
         void main()
          int i,n,ar[99999];
          cin >> n;
         {{{~cpp #include <iostream>
         using namespace std;
         int i=0;
         void pibo(int n);
         void main(){
          int p;
         in:cin >> p;
          if(!cin){
          cin.clear();
          while(cin.get()!='\n')
          continue;
          goto in;
         void pibo(int n){
  • 하노이탑/김태훈 . . . . 18 matches
         {{{~cpp #include <stdio.h>
         int hanoi(int, int, int, int);
         void move(int, int);
         int main()
         int hanoi(int n, int a, int b, int c)
         void move(int from, int to)
          printf("%d->%d ",from,to);
  • 하노이탑/윤성복 . . . . 18 matches
         #include <iostream>
         using namespace std;
         int Mcount = 0; //이동횟수세기 위한 전역변수
         int hanoi(int disk,int start, int other, int finish){
          // 마지막이거나 디스크가 1일때 start 기둥 에서 finish 기둥 으로 옮김
          cout << start << "에서 " << finish << endl;
          hanoi(disk-1,start,finish,other); // 큰원반을 뺀 위에 것들을 other 기둥으로 옮기는 재귀함수 호출
          cout << start << "에서 " << finish << endl;
          hanoi(disk-1,other,start,finish); // other 기둥에 있는 것을 finish 기둥으로 옮기는 재귀함수 호출
         void main(){
          int disk,MoveCount;
          cin >> disk;
  • 황현/Objective-P . . . . 18 matches
          * 개발자의 편의를 돕는 Gin 프레임워크가 동봉될 예정이다. (접두어: GN)
         다만, @implementation만 사용하면 @interface가 외로워하니까, 인스턴스 변수의 선언에는 @interface를 사용하도록 하고, 메소드 선언 및 정의에 @implementation을 사용한다.
         @interface MyFirstObjPClass : GNObject <GNSomeProtocol>
         $iStoreSomething;
         +(int)tellMeTheTruth {
         - (void) doSomeTaskWithSomething:(int)$localIntegerVar {
         [$myClass doSomeTaskWithSomething:42];
         GNAssert()의 경우, 두 번째 인자로 @"문자열"을 받지만, 결과적으로는 컴파일 이후 GNString으로 변해야 한다.
         private $iStoreSomething;
         public function doSomeTaskWithSomething($localIntegerVar, $_objp_type_check=false) { // (void)
         if(is_int($localIntegerVar)===false)
         GNAssert(false, new GNString('뭔가 이상하지 않아?'));
         $myClass =MyFirstObjPClass::new(); // defined in GNObject
         $myClass->doSomeTaskWithSomething(42, true); // Compiler automatically adds last argument!
         $myClass->release(); // actually, does nothing unless you overrides it.
  • 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)
  • 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)
  • 5인용C++스터디/멀티미디어 . . . . 17 matches
         MFC는 멀티미디어를 위한 별도의 클래스를 제공하지 않는다. Win32 API함수 차원에서 멀티미디어를 지원하기 때문에 MFC에서는 별도의 클래스로 만들어 놓지 않은 것이다.
         #include "mmsystem.h"
          PlaySound 함수를 사용하려면 mmsystem.h 파일을 먼저 include 해주어야 하고,
          Project/ Settings/Link 탭에서 winmm.lib를 링크해 주어야 한다.
          리소스에 포함된 사운드를 연주하려면 PlaySound의 세 번째 인수에 SND_RESOURCE 플래그를 주고 첫 번째 인수에 리소스의 ID를 준다. 두 번째 인수에는 리소스를 가진 실행파일의 인스턴스 핸들을 주어야 하는데 MFC에서는 AfxGetInstanceHandle() 전역함수로 인스턴스 핸들을 구할 수 있다. 다음과 같이 코드를 작성해 보자.
         void CSoundView::OnLButtonDown(UINT nFlags, CPoint point)
          PlaySound(MAKEINTRESOURCE(IDR_WAVE1), AfxGetInstanceHandle(), SND_RESOURCE | SND_ASYNC);
          CView:OnLButtonDown(nFlags, point);
         1-4) MCI (Media Control Interface)
          hWndAVI=MCIWndCreate(this->m_hWnd, AfxGetInstanceHandle(), 0, "cf3.avi");
          CView::OnLButtonDown(nFlags, point);
          동영상 연주는 Video fot window 라이브러리를 사용하므로 뷰에서 vfw.h를 인클루드 해 주어야 한다.
         #include "PlayAVIDoc.h"
         #include "PlayAVIView.h"
         #include <vfw.h>
          또한 프로젝트에서 이 라이브러리를 사용할 수 있도록 Project/Settings/Link 탭에 vfw32.lib를 추가한다. 그리고 동영상 파일을 프로젝트 디렉토리에 넣어두면 된다.
         HWND MCIWndCreate(HWND hwndParent, HINSTANCE hinstance, DWORD dwStyle, LPSTR szFile);
         hInstance: MCIWnd롤 사용하는 인스턴스 핸들을 지정한다.
  • ACE/CallbackExample . . . . 17 matches
         #include "ace/streams.h"
         #include "ace/Log_Msg.h"
         #include "ace/Log_Msg_Callback.h"
         #include "ace/Log_Record.h"
         #include "ace/SString.h"
          /*log_record.print(ACE_TEXT(""), 0, cerr);
          log_record.print(ACE_TEXT(""), ACE_Log_Msg::VERBOSE, cerr);*/
          ACE_CString data(">> ");
          * main.cpp
         #define ACE_NTRACE 0
         #include "ace/Log_Msg.h"
         #include "ace/streams.h"
         #include "callback.h"
         int ACE_TMAIN(int, ACE_TCHAR *argv[])
          ACE_TRACE(ACE_TEXT("main"));
          ACE_DEBUG((LM_INFO, ACE_TEXT("%IGoodnight\n")));
  • AutomatedJudgeScript/문보창 . . . . 17 matches
         #include <iostream>
         #include <cstring>
         using namespace std;
         const int MAX = 100;
         bool setString(char * s, char * sDigit);
         int main()
          int count = 1;
          if (!setString(answer, answerDigit) || !setString(reply, replyDigit))
         bool setString(char * s, char * sDigit)
          int n;
          cin >> n;
          cin.get();
          int nDigit, nChar, nReturn;
          c = cin.get();
  • C99표준에추가된C언어의엄청좋은기능 . . . . 17 matches
         #include <stdio.h>
         int main()
         int n;
         printf("Array Size? ");
         int x[n];
         int i;
         printf("%d ", x[i]);
         printf("\n");
          [http://www-128.ibm.com/developerworks/linux/library/l-c99.html?ca=dgr-lnxw07UsingC99 Open source development using C99]
          The new variable-length array (VLA) feature is partially available. Simple VLAs will work. However, this is a pure coincidence; in fact, GNU C has its own variable-length array support. As a result, while simple code using variable-length arrays will work, a lot of code will run into the differences between the older GNU C support for VLAs and the C99 definition. Declare arrays whose length is a local variable, but don't try to go much further.
  • EightQueenProblem/용쟁호투 . . . . 17 matches
         global dynamicstagingarea sqlsa
         string appname = "eightqueenproblem"
         Integer il_attack [8,8] , il_limit = 1, il_queen_count = 1
         String is_solution[8]
         public subroutine wf_reset_maze ()
         public function boolean wf_chack_attack (integer ai_x, integer ai_y)
         public function boolean wf_create_queen ();Integer li_x,li_y
          If wf_chack_attack(li_x, li_y) Then CONTINUE;
          is_solution[il_queen_count] = 'Queen No : ' + String(il_queen_count) + ' / X : ' + String(li_x) + ' / Y : ' + String(li_y)
         public subroutine wf_reset_maze ();Integer li_x, li_y
         String ls_temp[8]
         end subroutine
         public function boolean wf_chack_attack (integer ai_x, integer ai_y);//32767
         Integer li_x, li_y
          il_attack[li_x,ai_y] = 1 //X Line 공격루트 셋팅
          il_attack[ai_x,li_y] = 1 //Y Line 공격루트 셋팅
         sqlsa=create dynamicstagingarea
  • EightQueenProblem/조현태 . . . . 17 matches
         #include <iostream>
         #include <time.h>
         using namespace std;
         void main(){
          int qeen=0;
          int x=rand()%8;
          int y=rand()%8;
          int sum=0;
          for (register int i=0; i<8; ++i)
          for (register int i=0; i<8; ++i)
          for (register int i=-7; i<8; ++i)
          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)
          cout << (int)mark[i][j];
  • EightQueenProblem/최봉환 . . . . 17 matches
         2h:30m, 71line
         #include <iostream.h>
          int x;
          int y;
         int map[8][8];
         int main(){
          int nQueens=0;
          for(int i=0;i<8;i++) for(int j=0;j<8;j++) map[i][j]=0;
          for(int y=0;y<8;y++){
          for(int x=0;x<8;x++){
          int tmp[8][8];
          for(int x=0;x<8;x++) for(int y=0;y<8;y++) tmp[x][y]=map[x][y];
          for(int i=0;i<8;i++){
          for(x=0;x<8;x++) for(int y=0;y<8;y++) map[x][y]=tmp[x][y];
  • ExploringWorld . . . . 17 matches
         기존 서버를 탐험하던 여행자가 나라에 의무로 이계로 여행을 떠나서, 이 서버 세상을 관리하며 평화를 지키는 그들이 필요하다. [[BR]]--[http://ruliweb.intizen.com/data/preview/read.htm?num=224 다크 클라우드2] 세계관 응용
         [ExploringWorld/참고링크]
         안내자 : 류상민(NeoCoin)
         [ExploringWorld/20040308-시간여행]
         [ExploringWorld/20040315-새출발]
         [ExploringWorld/20040412-세상읽기]
         [ExploringWorld/20040506-무제]
         [ExploringWorld/20040514-결실]
         이번 시간에 JSP를 조금 가지고 놀수 있겠구나 --NeoCoin
          으하하 그렇구나 실수했네, 우리는 과거에 살고 있었군 [페이지이름바꾸기] 해줘 --NeoCoin
         수고했다. 재선아--NeoCoin
         [http://zeropage.org/jsp/board/thin/rss.jsp 자유 게시판 RSS]
         [http://zeropage.org/jsp/board/thin/rss.jsp?table=multimedia 감상 게시판 RSS]
         [http://zeropage.org/jsp/board/thin/rss.jsp?table=T1002455826251 공지 게시판 RSS]
         [http://zeropage.org/jsp/board/thin/rss.jsp?table=qna 질답 게시판 RSS]
         [http://zeropage.org/jsp/board/thin/rss.jsp?table=ob1 OB 게시판 RSS]
         root = /jsp/board/thin/?table=
  • FOURGODS/김태진 . . . . 17 matches
         #include <iostream>
         using namespace std;
         int T,N,M;
         int arr[501][501];
          int u;
          int v;
         int main(int argc, const char * argv[])
          freopen("/Users/jkim/Development/C&C++/codersHigh2013/codersHigh2013/input.txt","r",stdin);
          int i,j,k,num;
          for(int iter=0;iter<T;iter++){
          }//initalize
          int tmp1,tmp2;
          int tmpNum=0;
          printf("%d\n",num);
  • 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;
  • Gof/Command . . . . 17 matches
         == Intent ==
         때때로 요청받은 명령이나 request를 받는 객체에 대한 정보없이 객체들에게 request를 넘겨줄 때가 있다. 예를 들어 user interface tookit은 button이나 menu처럼 사용자 입력에 대해 응답하기 위해 요청을 처리하는 객체들을 포함한다. 하지만, 오직 toolkit을 사용하는 어플리케이션만이 어떤 객체가 어떤일을 해야 할지 알고 있으므로, toolkit은 button이나 menu에 대해서 요청에 대해 명시적으로 구현을 할 수 없다. toolkit 디자이너로서 우리는 request를 받는 개체나 request를 처리할 operations에 대해 알지 못한다.
         Command Pattern은 request 를 객체화함으로서 toolkit 객체로 하여금 불특정한 어플리케이션 객체에 대한 request를 만들게 한다. 이 객체는 다른 객체처럼 저장될 수 있으며 pass around 가능하다. 이 pattern의 key는 수행할 명령어에 대한 인터페이스를 선언하는 추상 Command class에 있다. 이 인터페이스의 가장 단순한 형태에서는 추상적인 Execute operation을 포함한다. 구체화된 Command subclass들은 request에 대한 receiver를 instance 변수로 저장하고 request를 invoke하기 위한 Execute operation을 구현함으로서 receiver-action 짝을 구체화시킨다. The receiver has the knowledge required to carry out the request.
         어플리케이션은 각각의 구체적인 Command 의 subclass들로 각가각MenuItem 객체를 설정한다. 사용자가 MenuItem을 선택했을때 MenuItem은 메뉴아이템의 해당 명령으로서 Execute oeration을 호출하고, Execute는 실제의 명령을 수행한다. MenuItem객체들은 자신들이 사용할 Command의 subclass에 대한 정보를 가지고 있지 않다. Command subclass는 해당 request에 대한 receiver를 저장하고, receiver의 하나나 그 이상의 명령어들을 invoke한다.
         예를 들어 PasteCommand는 clipboard에 있는 text를 Document에 붙이는 기능을 지원한다. PasteCommand 의 receiver는 인스턴스화할때 설정되어있는 Docuemnt객체이다. Execute 명령은 해당 명령의 receiver인 Document의 Paste operation 을 invoke 한다.
         이러한 예들에서, 어떻게 Command pattern이 해당 명령을 invoke하는 객체와 명령을 수행하는 정보를 가진 객체를 분리하는지 주목하라. 이러함은 유저인터페이스를 디자인함에 있어서 많은 유연성을 제공한다. 어플리케이션은 단지 menu와 push button이 같은 구체적인 Command subclass의 인스턴스를 공유함으로서 menu 와 push button 인터페이스 제공할 수 있다. 우리는 동적으로 command를 바꿀 수 있으며, 이러함은 context-sensitive menu 를 구현하는데 유용하다. 또한 우리는 명령어들을 커다란 명령어에 하나로 조합함으로서 command scripting을 지원할 수 있다. 이러한 모든 것은 request를 issue하는 객체가 오직 어떻게 issue화 하는지만 알고 있으면 되기때문에 가능하다. request를 나타내는 객체는 어떻게 request가 수행되어야 할지 알 필요가 없다.
          * logging change를 지원하기 원할때. logging change 를 지원함으로서 시스템 충돌이 난 경우에 대해 해당 command를 재시도 할 수 있다. Command 객체에 load 와 store operation을 추가함으로서 change의 log를 유지할 수 있다. crash로부터 복구하는 것은 디스크로부터 logged command를 읽어들이고 Execute operation을 재실행하는 것은 중요한 부분이다.
          * 기본명령어들를 기반으로 이용한 하이레벨의 명령들로 시스템을 조직할 때. 그러함 조직은 transaction을 지원하는 정보시스템에서 보편화된 방식이다. transaction은 데이터의 변화의 집합을 캡슐화한다. CommandPattern은 transaction을 디자인하는 하나의 방법을 제공한다. Command들은 공통된 인터페이스를 가지며, 모든 transaction를 같은 방법으로 invoke할 수 있도록 한다. CommandPattern은 또한 새로운 transaction들을 시스템에 확장시키기 쉽게 한다.
          * Invoker (MenuItem)
          * Invoker 객체는 ConcreteCommand객체를 저장한다.
          * invoker는 command에서 Execute를 호출함으로서 request를 issue한다. 명령어가 undo가능할때, ConcreteCommand는 명령어를 undo하기 위한 state를 저장한다.
          * ConcreteCommand 객체는 request를 처리하기 위해 receiver에서 operation을 invoke한다.
         다음의 다이어그램은 이 객체들이 어떻게 상호작용하는지 보여준다. 이 다이어그램은 또한 어떻게 Command 가 receiver와 처리할 request로부터 invoker를 분리하는지 설명한다.
          1. Command는 해당 객체의 명령을 invoke하는 객체와 어떻게 수행해야 할지 알고 있는 객체와의 결합을 해제한다.
         constructor는 receiver와 instance 변수에 대응되는 action을 저장한다. Execute는 단순히 action을 receiver에 적용한다.
         MyClass의 instance로 있는 Action을 호출할 command를 만들기 위해서, 클라이언트는 단순히 이렇게 코딩한다.
         아마도 CommandPattern에 대한 첫번째 예제는 Lieberman 의 논문([Lie85])에서 나타났을 것이다. MacApp [App89] 는 undo가능한 명령의 구현을 위한 command의 표기를 대중화시켰다. ET++[WGM88], InterViews [LCI+92], Unidraw[VL90] 역시 CommandPatter에 따라 클래스들을 정의했다. InterViews는 각 기능별 명령에 대한 Action 추상 클래스를 정의했다. 그리고 action 메소드에 의해 인자화됨으로서 자동적으로 command subclass들을 인스턴스화 시키는 ActionCallback 템플릿도 정의하였다.
         THINK 클래스 라이브러리 [Sym93b] 또한 undo 가능한 명령을 지원하기 위해 CommandPattern을 사용한다. THINK 에서의 Command들은 "Tasks" 로 불린다. Task 객체들은 ChainOfResponsibilityPattern에 입각하여 넘겨지고 소비되어진다.
  • Google/GoogleTalk . . . . 17 matches
         http://douweosinga.com/projects/googletalk 를 참조하여서 kldp.net 에 aero 님께서 올리신 글입니다.
         #!/usr/bin/perl
         print $query."\n";
          print "last_word :".$1."\n" if $debug;
          print $query."\n";
          print "unencoded: " . $unencoded_url ."\n" if $debug;
          print "encoded: " . $url->as_string . "\n" if $debug;
          my $response = $browser->get($url->as_string, 'User-Agent'=>'Mozilla' );
          print "Response:\n$res\n" if $debug;
          print $1."\n\n" if $debug;
          print "@next_words ".($#next_words+1)."\n" if $debug;
          print "selected :".$next_words[$select]."\n" if $debug;
          print $response->error_as_HTML if $debug;
          print "query :".$q."\n" if $debug;
          print "text :".$text."\n" if $debug;
          print "match 1 |".$1."| 2 |".$2."| 3 |".$3."| 4 |".$4."|\n" if $debug;
  • GuiTestingWithWxPython . . . . 17 matches
          expected = "testing"
          expected = ('testing1', 'testing2', 'testing3')
          def OnInit(self):
         if __name__=="__main__":
          unittest.main(argv=('','-v'))
          def __init__(self, parent=NULL, id=NewId(), title='test', pos=(400,400), size=(400,400)):
          wxFrame.__init__(self, parent, id, title, pos, size)
          self.button = wxButton(self, ID_BUTTON, "testing", pos=(100,100), size=(200,50))
          self.listBox.Append('testing1')
          self.listBox.Append('testing2')
          self.listBox.Append('testing3')
          for idx in range(self.listBox.Number()):
          retList.append(self.listBox.GetString(idx))
          def OnInit(self):
         if __name__=="__main__":
          App.MainLoop()
         ["GuiTesting"]
  • 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++)
  • HardcoreCppStudy/첫숙제/Overloading/김아영 . . . . 17 matches
         #include <iostream>
         using namespace std;
         const int MAX = 20;
         int main()
          int board[MAX][MAX]={0,};
          int x, y ;
          int garo, sero;
          int total=0;
          int count =0 ;
          int bang =0;
          cin >> sero >> garo ;
          cin >> y >> x ;
          for(int D=0;D<MAX;D++)
          cin >> direction[D];
          for(int i=0;i<sero;i++)
          for(int j=0;j<garo;j++)
  • Hartals/차영권 . . . . 17 matches
         #include <iostream.h>
         #define MAX_CASE 100
         int main()
          int nCase;
          int Save_Result[MAX_CASE];
          int n = 0;
          int i, j;
          int count = 0;
          int nDays;
          int nPoliticalparty;
          int *HartalParameter;
          cin >> nCase;
          cin >> nDays;
          cin >> nPoliticalparty;
          HartalParameter = new int[nPoliticalparty];
          cin >> HartalParameter[i];
  • HelpOnXmlPages . . . . 17 matches
         == XML Pages & XSLT Processing ==
         If you have Python4Suite installed in your system, it is possible to save XML documents as pages. It's important to start those pages with an XML declaration "{{{<?xml ...>}}}" in the very first line. Also, you have to specify the stylesheet that is to be used to process the XML document to HTML. This is done using a [http://www.w3.org/TR/xml-stylesheet/ standard "xml-stylesheet" processing instruction], with the name of a page containing the stylesheet as the "{{{href}}}" parameter.
         See the following example for details, which can also be found on the XsltVersion page.
         <?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')"/>
         [[Include(XsltVersion)]]
         [[Navigation(HelpOnEditing)]]
  • InterWikiIcons . . . . 17 matches
         The InterWiki Icon is the cute, little picture that appears in front of a link instead of the prefix established by InterWiki. An icon exists for some, but not all InterMap references.
         You can set InterWikiIcon to InterMap entries by putting an icon file of name lowercased InterWiki entry name, e.g; meatball for MeatBall, under imgs directory.
          * MoinMoin:MoinMoinDiscussions
          * Wiki:WardCunningham
         InterWikiIcon also used in the Unreal:Unreal Wiki.
         Only lovel-16.png included, while you WkPark arguing to rename it LovolNet. :P
         What about copy gentoo-16.png to gentookorea-16.png for InterMap entry 'GentooKorea'?
         Any recommendations on what software to use to shrink an image to appropriate size?
          * [[Icon(moin-new.gif)]]Amazon - http://puzzlet.org/imgs/amazon-16.png
          * [[Icon(moin-new.gif)]][http://www.worrynet.com/jandi/wiki.cgi/%C0%DC%B5%F0%B9%E7 Jandi] - http://puzzlet.org/imgs/jandi-16.png (16x16x16M)
          * [[Icon(moin-new.gif)]][http://ko.wikipedia.org/ KoWikipedia] - http://puzzlet.org/imgs/kowikipedia-16.png (16x16x16M)
         For more information, check http://puzzlet.org/plots/InterWikiIcons
  • Java2MicroEdition/MidpHttpConnectionExample . . . . 17 matches
         package com.minnysunny.mobilerssreader.spike;
          String str = sgh.getContent2();
         package com.minnysunny.mobilerssreader.spike;
         import java.io.DataInputStream;
          private DataInputStream dis;
          public SpikeGetHtml(String url) {
          init(url);
          ex.printStackTrace();
          private void init(String url) throws IOException {
          dis = httpConn.openDataInputStream();
          ex.printStackTrace();
          public String getContent() {
          String ret = "";
          for(int i=0; i<4; ++i) {
          ex.printStackTrace();
          public String getContent2() {
          String ret = null;
          ret = new String(buffer);
          ex.printStackTrace();
  • JavaStudy2002/세연-2주차 . . . . 17 matches
          int m_nRow;
          int m_nCol;
          void set(int row, int col){
          int nMaxNum = 8;
          int row, col, dir;
          void setFirstPosition(int firstRow, int firstCol){
          dir = random.nextInt() % 8;
          int nMaxNum = 8;
          int [][] board = new int[nMaxNum+2][];
          void markPosition(int rowPositoin, int colPosition){
          void isTheGameFinished(){
          public static void main(String[] args){
  • 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++){
  • LUA_5 . . . . 17 matches
         > print( Hasht["a"] )
         > print( Hasht["b"] )
         > print ( HashT2.a )
         > print ( Fruit[1] )
         그렇기 때문에 테이블은 배열로도 사용 될 수 있습니다. 그럼 배열에 추가적으로 insert 하고 remove 해 보겠습니다.
         > print( Fruit[4] )
         이렇게 귀찮게 추가를 할 수도 있지만, 간단히 table.insert(Fruit,"kiwi") 처럼 간단히 할 수도 있습니다. 삭제는 table.remove(Fruit,4) 로 4번째 아이템을 삭제 할 수 있습니다.
         > table.insert(Fruit,"mango")
         > print(Fruit[6])
         > print(Fruit[6])
         > for i = 1,#Fruit do print(Fruit[i]) end
         >> print( car_name .. " is running" )
         SM3 is running
         SM3 is running
         >> self.__index = self
         > mine = Car:new()
  • 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]
  • ProjectZephyrus/Thread . . . . 17 matches
          * ''Database Connection Pool 을 사용하던 하지 않던, DB 자원을 얻어오는 부분을 하나의 end point에서 처리하세요. 처음부터 이를 고려하지 않을 경우, '''*.java''' 에서 Database Connection을 생성하고, 사용하는 코드를 머지않아 보게 될겁니다. 이는 정말 최악입니다. pool을 쓰다가 쓰지 않게 될 경우는?다시 pool을 써야 할 경우는? 더 좋은 방법은 interface를 잘 정의해서 사용하고, 실제 DB 작업을 하는 클래스는 Factory 를 통해 생성하는게 좋습니다. 어떤 방식으로 DB를 다루던 간에 위에서 보기엔 항상 같아야 하죠. --이선우 [[BR]]
          * 제가 저번학기에 작업했던 메신져가 있습니다. 이번 프로젝트를 하면서 참고할 수 있는 부분을 참고하세요. 저번 학기에 정보처리 실습이란 과목에서 프로젝트로 했던 것입니다. UP 로 Process 를 진행했었고, 높은(?) 점수를 위해서 많은 문서를 남기긴 했는데.. 부족한 면이 많군요 ㅡ.ㅡ;; http://www.inazsoft.net/projectworktool.html 에서 다운로드 받을 수 있습니다. - 구근
          * 제가 JDBC 할때 삽질했던거 다른 사람들은 삽질하지 않도록 하기 위해서 남긴 문서가 있어여.. 조금이나마 삽질 방지하는데 도움이 되면 좋겠네여..^^: - 상협[http://www.caucse.net/cgi-bin/moin/moin.cgi/_c0_da_b9_d9_c7_c1_b7_ce_c1_a7_c6_ae_2f_b9_e6_c8_ad_ba_ae_c6_c0_b8_de_bd_c5_c0_fa_2fJDBC JDBC 관련 삽질 방지용 문서]
         가장 이상적인 상태는 예전 창준선배님이 세미나에서 이야기 했었던, '이러 이러한 라이브러리는 여기 있지 않을까 해서 봤더니 바로 그 자리에 있더라.' 하는 상태입니다. 그러면 최악은? '이러 이러한 라이브러리가 필요한데? 음.. 이쁘게 잘 만들어놓기는 귀찮고 에라 다음에 정리하지 뭐' 그리고는 해당 method들을 copy & paste. '''공통 모듈'''을 한곳에서 다루도록 하세요. 공통 모듈은 꽤 많습니다. logging, configuration, resource managing ,..
         아 한가지 더 생각나는게 있군요. 자바로 프로젝트를 하니 적습니다. 절대 작성하는 라이브러리나 코드의 중간에서 Exception을 잡아서 삼켜버리지 마세요. Exception은 추후 debugging에 절대적인 정보를 담고 있습니다. 중간에 try ~ catch 로 잡아버리고, 어떠한 형태로도 알려주지 않는것은 상당히 위험합니다. 시간이 나면 이와 관련해서 더 적도록 하지요. --이선우
          static synchronized public SocketManager getInstance() {
          if (instance == null) {
          instance = new SocketManager();
          return instance;
          public static SocketManager getInstance() {
          if (instance == null) {
          if (instance == null) {
          instance = new SocketManager();
          return instance;
         ''' ''System.out.println()'' 이 머지않아 재앙을 가져올 것이니.. --삽질 계시록 2장 :)'''
  • PyIde/FeatureList . . . . 17 matches
          * Syntax hilighting
          * find / replace
          * project 에 등록된 모든 화일들에 대해서 find / replace
          * outliner
          * go to line
          * Ctag 기능. stack 으로 navigating 중인 method 들 기억.
          * find definition
          * find reference
         === refactoring ===
         어느정도까지 가능할까. BRM, Smalltalk Refactoring Browser 구경해볼것.
          * introduce variable
          * introduce field
          * inline
          * Dotploc or Duplication Finder
          * multi file editing
  • Refactoring/BigRefactorings . . . . 17 matches
         = Chapter 12 Big Refactorings =
         == Tease Apart Inheritance ==
          * You have an inheritance hierarchy that is doing two jobs at once.[[BR]]''Create two hierarchies and use delegation to invoke one from the other.''
         http://zeropage.org/~reset/zb/data/TeaseApartInheritance.gif
          * You have code written in a procedural style.[[BR]]''Turn the date records into objects, break up the behavior, and move the behavior to the objects.''
         == Separate Domain from Presentation ==
          * You have GUI classes that contain domain logic.[[BR]]''Separate the domain logic into separate domain classes.''
         http://zeropage.org/~reset/zb/data/SeparateDomainFromPresentation.gif
          * You have a class that is doing too much work, at least in part through many conditional statements.[[BR]]''Create a hierarchy of classes in which each subclass represents a special case.''
         ["Refactoring"]
  • STL/sort . . . . 17 matches
         #include <iostream>
         #include <vector>
         #include <algorithm> // sort 알고리즘 쓰기 위한것
         #include <functional> // less, greater 쓰기 위한것
         using namespace std;
         typedef vector<int>::iterator VIIT;
         int main()
          int ar[10] = {45,12,76,43,75,32,85,32,19,98};
          vector<int> v(&ar[0], &ar[10]);
          sort(v.begin(), v.end(), less<int>()); // 오름차순
          for(VIIT it = v.begin() ; it != v.end(); ++it)
          sort(v.begin(), v.end(), greater<int>()); // 내림차순
          for(VIIT it = v.begin() ; it != v.end(); ++it)
          // 간단하게 오름차순 쓸거면 <functional> 없애고 sort(v.begin(), v.end()) 하면 된다.
  • ScheduledWalk/진영&세환 . . . . 17 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         int main()
          int array[100][100] = {0};
          ifstream fin("input.txt");
          int i;
          fin>>i;
          int x,y;
          fin>>x;
          fin>>y;
          fin>>ch;
          for(int j=0; j<strlen(ch); j++)
          for(int a=0; a<i; a++)
          for(int b=0; b<i; b++)
  • 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;
  • TicTacToe/조동영 . . . . 17 matches
         import javax.swing.*;
          int array [][] = new int [3][3];
          int x,y;
          int i;
          int count;
          System.out.println("x 좌표 : " + x);
          System.out.println("y 좌표 : " + y);
          repaint();
          public void paint(Graphics g) {
          g.drawLine(200,0,200,600);
          g.drawLine(400,0,400,600);
          g.drawLine(0,200,600,200);
          g.drawLine(0,400,600,400);
          for (int j=0;j<3;j++)
          public static void main(String[] args) {
  • USACOYourRide/신진영 . . . . 17 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         int main()
          ifstream fin;
          fin.open ("ridein.txt");
          int num1, num2;
          int mul1 = 1;
          int mul2 = 1;
          for(int i=0;i<2;i++)
          fin.get(ch);
          num1 = int(ch) - 64;
          fin.get(ch);
          num2 = int(ch) - 64;
          fin.close();
  • UglyNumbers/문보창 . . . . 17 matches
         #include <iostream>
         #include <cstdlib>
         #include <cmath>
         using namespace std;
         const int MAX = 2000;
         inline int comp(const void *i,const void *j) { return *(int *)i-*(int *)j; };
         int main()
          int num[MAX];
          int count = 0;
          int expo2, expo3, expo5;
          int MAX_INT = pow(2,31) - 1;
          if (pow(2,expo2) * pow(3,expo3) * pow(5,expo5) > MAX_INT
          qsort(num, count, sizeof(int), comp);
  • UnitTest . . . . 17 matches
         ExtremeProgramming 에서는 TestFirstProgramming 을 한다. TestFirstProgramming 에서는 해당 기능에 대한 테스트 프로그램을 먼저 만들고, 실제 프로그래밍을 한다.
         TestFirstProgramming 을 하게 되면 해당 프로그램을 작성해 나가는 과정이 UnitTest 작성중 남게 된다. 이는 일종의 WhiteBoxTesting 이 된다. 또한, 해당 모듈이 제대로 돌아가는지에 대한 결과도 체크하므로 BlackBoxTesting 의 역할을 한다. 즉, ExtremeProgramming 에서의 UnitTest 는 두가지 테스트의 성격을 같이 포함하고 있다. (Gray Box Testing)
         See Also ["Refactoring/BuildingTestCode"], ["GuiTesting"]
         SoftwareEngineering 에 있어서 UnitTest 는 '단위 모듈에 대한 테스트' 이다. 즉, 해당 기능이 제대로 돌아감을 확인하는 테스트가 UnitTest 이다.
          if (expected == actual) printf ("okok!\n");
          else printf ("error!\n");
         이를 assert 문으로 바꾸면 다음과 같이 가능하다. 결과값이 같지 않으면 'abnormal program termination' 이 일어난다.
         ["ExtremeProgramming"]
  • UserStory . . . . 17 matches
          * Story Point 의 계산
          * Task Point 의 계산
         Wiki:EngineeringTask 란 해당 Story를 구현하기 위해 실질적으로 해야 할 일들에 대한 서술이다. UserStory 의 각 항목이 비교적 사용자 관점에서의 서술이라 한다면, Wiki:EngineeringTask는 구현해야 하는 Developer들 관점에서의 서술이다.
         UserStory 들을 작성한 뒤에는 Wiki:EngineeringTask 를 결정하고, estimate (해당 작업에 대해 얼마나 걸릴 것인가에 대한 예측)한 Story Point 와 Task Point 를 기준으로 적절히 계산해 나간다.
          ''After several years of debating this question and seeing both in use, I now think they have nothing in common other than their first three letters.''
         ["ExtremeProgramming"]
  • WERTYU/허아영 . . . . 17 matches
          || 2006-02-17 Accepted 0.002 Minimum ||
         #include <iostream>
         #include <cstring>
         using namespace std;
         #include <string>
         int main()
          char input[1000];
          int length, i, j;
          while(cin.getline(input, 1000))
          length = strlen(input);
          if(input[i] == ' ')
          if(input[i] == data[j])
  • ZeroPageServer/AboutCracking . . . . 17 matches
         Server Cracking 관련 기록. 주로 무식한 서버 관리자 NeoCoin 에 의한 진실의 고백 ;;
          * '''다음날 NeoCoin 의 계정에서 (root 말고) 무한 트래픽 발생 프로그램 발견 '''
          * 분석 : 세팅 과정에서 설치를 위한 wu-ftp 패키지 서비스를 한달간 제공하였는데, 설치 문제로 가장 자주 사용할 NeoCoin 이 걸려 든것 같음
          * 해결 : 해당 프로그램 갈무리, NeoCoin 의 암호 변경, wu-ftp 서비스 제거. 그 이후 문제 상황 사라짐
          * cracking 한 사람이, 서버상의 NeoCoin 의 data를 지운것이 아니라서, 다행 하지만 역시 불안.
         === 2002 년 말부터 2003 년 초 제기된 스팸 메일 발송 Cracking 관련 보고 ===
          * 2002-12-17 [http://zeropage.org/jsp/board/thin/index.jsp?table=open&service=view&page=0&id=6631 권고메일]
          * 대응 : 서버를 rebooting 후에는 문제가 특별히 발생되지 않음
          * ["1002"]가 squid 관련 문제로 문서 발견. 그 동안 Server의 비교적 잦은 rebooting 때문에 문제가 드러나지 않았음.
          * '''도움 주신 동희씨 석천(["1002"]), 신경써주신 용철이 형께 감사 드립니다. --NeoCoin'''
          * 제가 위의 말을 정확하지 않게 썼습니다. 그리고, 동희씨의 말씀대로, ''소스로 설치했다면 모르겠네요.'' 에 해당 합니다. 상대의 smtp port 25으로 데이터가 전송되고 있다는 것이었습니다. 그럼 어디선가 이 서버의 squid 기본 세팅 포트로, relay 를 계속하고 있다는 의미도 되는것 같군요. 혹은, 8080이나, 80을 사용한다는 것인데 각각, resin 과 apache가 사용하고 있어서 잘 모르겠습니다. 제가 이런 분야의 지식이 부족해서요. --NeoCoin
          그렇다면, 이 문제가 원인이 확실한것 같군요. 테스트상 port 를 바꾸자, 정상적으로 동작하는 state 를 보여주었거든요. --NeoCoin
          * 만일 현재의 squid 가 Cracking상태라면, squid 의 셋팅을 수정하더라도 여전히 똑같이 문제가 발생해야 정상일 것이다. 그런데 셋팅 변경후 그 발송되는 상태가 사라진다는 점이 더욱더 상황을 혼란스럽게 한다. 재미있는 점은, 그럼에도 가장 명확하게 기본 포트의 상황에서, 다른 메일 서버로 메일을 가는 것이 보인다는 점이다.
  • ZeroPage_200_OK/소스 . . . . 17 matches
          <!-- span: inline element -->
          <table border="1" style="margin: 10px;" summary="books_const">
          <label for="form_id">ID </label><input id="form_id" size="5" maxlength="5" name="id" type="text" value="abc" /> <br/>
          <label for="form_psw">PSW</label><input id="form_psw" size="5" name="password" type="password" value="abc" /><br/>
          <input name="group "type="hidden" value="abc" /><br/>
          <input name="upload" type="file"/><br/>
          <input name="chk" type="checkbox" value="abc" id="form_chk"/><label for="form_chk">abc</label><br/>
          <input type="checkbox" value="abc" checked="checked"/>abc<br/>
          <input type="checkbox" name="chk[]" value="a" checked="checked" /> a<br />
          <input type="checkbox" name="chk[]" value="b" checked="checked" /> b<br />
          <input type="checkbox" name="chk[]" value="c" checked="checked" /> c<br />
          <input type="radio" value="abc" />abc<br/>
          <input type="radio" value="abc" checked="checked" />abc<br/>
          <input type="button" value="abc" /><br/>
          <input type="submit" value="전송" /><br/>
          <input type="reset" value="취소" /><br/>
  • [Lovely]boy^_^/Diary/2-2-10 . . . . 17 matches
         == In Korean ==
          * SBPP 서문, Introduction 읽었다. 읽으면서 첨에 나온 예제를 C++ 예제로 바꾸어 보았다. 이제 슬슬 문법이 감이 오기 시작한다.
         == In English ==
          * I read the SBPP's preface, introduction. And I change a first smalltalk source to a C++ source. I gradually know smalltalk grammar.
          * The XB Project starts really. A customer is Jae-dong. So we determine to programm network othelo, that Jae-dong's preparation. At first, we start hopefully, but..--; after all integration is failed. In our opinion, we start beginner's mind. but we learned much, and interested it. And new customer is Hye-sun. Since now, our project begins really. Since tomorrow, during 2 weeks, we'll focus on TDD and pair programming with simple programming.
          * Today's XB is very joyful. Today's fruit is better than yesterday's, and a result is maybe going to come out tommorow. Although Jae-Dong sacrifices for joyful programming;; Today is fruitfull day.
          * Today's XB is full of mistakes.--; Because Java Date class's member starts with 0, not 1. so our tests fail and fail and fail again.. So we search some classes that realted with date.- Calendar, GregoryDate, SimpleDate.. - but--; our solution ends at date class. Out remain task is maybe a UI.
  • cookieSend.py . . . . 17 matches
         def generateCookieString(aDict):
          str = [key+'='+data for key,data in aDict.items()]
          str = '; '.join(str)
          "Accept":"image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*"}
          print "encode cookie : " , urllib.urlencode(cookieDict)
          header['Cookie'] = generateCookieString(cookieDict)
          print "param : " , params
          print response.status, response.reason
         def printResponse(aStr):
          print "------------------------- response start ------------------------------"
          print aStr
          print "------------------------- response end ------------------------------"
          httpData = getResponse(host="zeropage.org", webpage="/~reset/testing.php", method='GET', paramDict=params, cookieDict=cookie)
          print "return cookie : ", httpData['cookie']
          printResponse(httpData['response'])
          printResponse(httpData['msg'])
         if __name__=="__main__":
  • gusul/김태진 . . . . 17 matches
          * Dynamic Programming
         // main.cpp
         #include <iostream>
         int main(int argc, const char * argv[])
          int arr[501][501]={0};
          int k1,k2;
          int barr[4];
          int tmp;
          for(int i=0;i<=500;i++){
          for(int j=0;j<=500;j++){
          for(int k=1;k<=3;k++){
          for(int k=1;k<=3;k++){
          for(int T=0;T<5;T++){
          printf("A\n");
          printf("B\n");
  • pragma . . . . 17 matches
         Each implementation of C and C++ supports some features unique to its host machine or operating system. Some programs, for instance, need to exercise precise control over the memory areas where data is placed or to control the way certain functions receive parameters. The #pragma directives offer a way for each compiler to offer machine- and operating-system-specific features while retaining overall compatibility with the C and C++ languages. Pragmas are machine- or operating-system-specific by definition, and are usually different for every compiler.
         #pragma warning(disable: 4786 4788)
         NeoCoin 은 Debug 모드에서, 값을 추적할 것을 포기하고, Project Setting -> C/C++ tab -> Debug info -> Line Numbers Only 로 놓고 쓴다.
         혹시라도.. 저 #pragma warning(disable: n ... m) 을 써서 언제나 문제를 해결 할 수 있을거라고 생각하시면 안됩니다. 저 위의 설명에도 씌여있듯이, pragma directive 는 지극히.. 시스템에 의존적입니다. 그러므로, VC 에서는 먹힌다는 저 명령어가 GCC 에서는 안될수도 있고.. 뭐 그런겁니다. 확실하게 쓰고싶으시다면.. 그 컴파일러의 문서를 참조하는것이 도움될겁니다.
  • whiteblue/LinkedListAddressMemo . . . . 17 matches
         #include <iostream>
         #include <cstring>
         using namespace std;
         unsigned int count=0;
         int main()
          cin >> menuNumber;
          << "1> Input data\n"
          cin >> nam;
          cin.get();
          cin.getline(add,99);
          cin >> addNum;
          cin.get();
          cin >> nam;
          cin.get();
          cin.get();
  • 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>
         int main()
          int onOff;
          //put your code in here.
          int arr[9]={1,2,3,4,5,6,7,8,9};
          int i;
          int n;
          printf("배열을 이용한 구구단. n을 입력하세요.");
          printf("%d * %d = %d\n",n,arr[i],n*arr[i]);
          printf("재실행 하시겠습니까? (y/n)\n\n");
          * 오 ㅋㅋㅋ 윤종하 게임 만들면서 열심히 공부했나보네. 근데 한 가지 말해주자면 getch()를 쓰면 stdin 버퍼에 입력받은 값이 계속 남아있어서 무한루프같은 문제가 생길 수 있어. 그래서 fflush(stdin);이라는 문장을 getch()를 사용한 이후에 한 번 써주는게 좋아. 근데 코드 대충 읽어보니까 n 누르는거 아니면 while 계속 돌아갈듯?- [윤종하]
          * 우연히 들어와서 봤는데 fflush()는 output stream에 사용하도록 만들어진 함수고, fflush(stdin)은 MS의 컴파일러에서만 지원하는 거라서 linux쪽에서는 작동하지 않는다고 하니까 그것도 알아두는 것이 좋지 싶어요. - [서민관]
          * 조금 더 찾아봤는데 input stream을 비우는 표준 함수는 없다는 것 같네요. 이식성 등을 생각하면 이런 코드를 쓰는 걸 생각해보는 것도 좋을지도. - [서민관]
          int c;
  • 구구단/곽세환 . . . . 17 matches
         #include <iostream>
         using namespace std;
         int main()
          int i,j,k;
         (define (ggd x y)
          (begin (print x) (print *) (print y) (print =) (print (* x y)) (newline)))
         (define (iter x y)
          (if (< y 9) (begin (ggd x y) (iter x (+ y 1)))
          (begin (ggd x y) (iter (+ x 1) 1)))))
         PrintGugudan
  • 금고/김상섭 . . . . 17 matches
         #include <iostream>
         #include <math.h>
         using namespace std;
         unsigned int table[501][501];
         unsigned int temp_table[2][501];
         unsigned int full[10];
         int calculate(int level, int time)
          int value = temp_table[level%2][time];
          int i, j, height, pre_height, time;
         int main()
          int height, safe, testnum, i;
          cin >> testnum;
          cin >> height >> safe;
          for(int j = 2; j < 10; j++)
  • 데블스캠프2005/RUR-PLE . . . . 17 matches
         || [데블스캠프2005/RUR-PLE/Sorting] ||
         || [데블스캠프2005/RUR-PLE/Harvest/Refactoring] ||
         || [데블스캠프2005/RUR-PLE/Newspaper/Refactoring] ||
          * sorting 문제 120분
          * 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에 대해서는 부분적으로 해결하였습니다.
  • 미로찾기/김영록 . . . . 17 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <time.h>
          int x;
          int y;
         int main()
          int map[5][5];
          int a;
          printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x+1,mouse.y+1,mouse.x,mouse.y);
          printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x,mouse.y+1,mouse.x,mouse.y);
          printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x-1,mouse.y+1,mouse.x,mouse.y);
          printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x+1,mouse.y,mouse.x,mouse.y);
          printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x-1,mouse.y,mouse.x,mouse.y);
          printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x+1,mouse.y-1,mouse.x,mouse.y);
          printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x,mouse.y-1,mouse.x,mouse.y);
          printf("(%d,%d)=>(%d,%d)로갓눼\n ",mouse.x-1,mouse.y-1,mouse.x,mouse.y);
  • 벡터/김태훈 . . . . 17 matches
         #include <iostream>
         #include <vector>
         #include <string>
         #include <algorithm>
         #include <functional>
         using namespace std;
         struct student{string name; int score;};
         void main()
          st[2].name = "finde";
          st[3].name = "inew";
          sort(stre.begin(), stre.end(),compare);
          for(vector<student>::iterator i = stre.begin(); i!=stre.end() ;i++)
          sort(stre.begin(), stre.end(),compare2 );
          for(i = stre.begin();i<stre.end();i++)
          for(vector<student>::iterator i = stre.begin();!(i=stre.end());i++)
  • 새싹C스터디2005 . . . . 17 matches
         [http://winapi.co.kr/clec/cpp1/cpp1.htm winapi.co.kr의 C기초강좌] 매우 자세하며 양이 많다.
         [새싹C스터디2005/pointer]
         이제 기본적인 문법은 다 다루었다는 전제 하에 머리 쓰는 것을 해볼 생각입니다. 첫번째 다룰 것은 Sorting입니다.
         단축계산(short-circuit evaluation)의 개념을 설명한 프로그램을 읽고 이 프로그램에서 4개의 printf()함수를 실행했을 때, i, j의 값이 왜 그렇게 나오는지를 설명하시오.
         int i, j;
         printf(“%d %dn”, i, j); /* 1 2 is printed */
         printf(“%d %dn”, i, j); /* 0 2 is printed */
         printf(“%d %dn”, i, j); /* 1 4 is printed */
         printf(“%d %dn”, i, j); /* 2 4 is printed */
         [DevCppInstallationGuide] // 인스톨 가이드 입니다.
          언어 공부 전에 교양을 쌓고 싶다면 주제 토론을 해보는 것도 괜찮을 것입니다. [ExploringWorld]에서 그렇게 했다고 알고 있습니다.--[Leonardong]
         신입생 C 과정 중에 함수를 잘 다룰 수 있게 해주세요. Refactoring 세미나시 함수를 아는 전제하에 할 것입니다. --재동
         [새싹C스터디2005/pointer]와 [포인터 참고자료]페이지가 따로 노네요.--[Leonardong]
  • 새싹교실/2011/쉬운것같지만쉬운반/2011.5.17 . . . . 17 matches
          1. Pointer란 무엇인가? ( 문법적 측면, 활용적 측면 )
          2. Pointer의 자료형은 무엇을 의미하나?
          4. 잘못된 Pointer 사용의 사례
          1. Pointer가 저장하는 값을 무엇인가?
          2. int *p; 가 의미하는 것을 쓰시오.
          3. int *p = 10; 과 int *p = a; 중 올바른 사용 예는? ( int a = 300; 이 미리 선언되어 있다고 가정 )
          int a = 300;
          int *p = &a;
          printf("%d", *p); --- (1)
          printf("%d", *a); --- (2)
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         2. int 형 변수를 가리킬 수 있는 포인터 p의 선언
          2. int형 변수를 가리킬 포인터변수 p를 선언합니다
  • 숫자를한글로바꾸기/정수민 . . . . 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]);
  • 스터디그룹패턴언어 . . . . 17 matches
         기념비적인 책, ''A Pattern Language'' 와 ''A Timeless Way Of Building''에서 크리스토퍼 알렉산더와 그의 동료들이 패턴언어에 대한 아이디어를 세상에 소개했다. 패턴언어는 어떤 주제에 대해 포괄적인 방안을 제공하는, 중요한 관련 아이디어의 실질적인 네트워크이다. 그러나 패턴언어가 포괄적이긴 하지만, 전문가를 위해 작성되지 않았다. 패턴은 개개인의 독특한 방식으로 양질의 성과를 얻을 수 있도록 힘을 줌으로서 전문적 해법을 비전문가에게 전해준다.
         본 패턴언어에는 21가지 패턴이 있다. '정신', '분위기', '역할' 그리고 '맞춤'(Custom)이라고 부르는 네 섹션으로 구분된다. 해당 섹션의 패턴을 공부할 때, 이 언어의 구조를 고려하라. 본 언어의 앞 부분인 '정신' 섹션의 패턴은 스터디 그룹의 핵심 즉, 배움의 정신(spirit of learning)을 정의하는 것을 도와 줄 것이다. 다음 섹션 '분위기', '역할', '맞춤'은 앞선 핵심 패턴과 깊이 얽혀있으며 그것들을 상기시켜줄 것이다.
          * [통찰력풀패턴](PoolOfInsightPattern)
          * [지속적인에너지패턴](EnduringEnergyPattern)
          * [마음이맞는협력자패턴](KinderedCollaboratorPattern)
         Establish a home for the study group that is centrally located, comfortable, aesthetically pleasing, and conducive to dialogue.
          * PublicLivingRoomPattern
          * IntimateCirclePattern
          * DistinguishedParticipantPattern
         Follow customs that will re-enforce the spirit of the group, piquing participant's interest in dialogues, accommodating different learning levels, making the study of literature easier, recording group experiences, and drawing people closer together.
          * OpeningQuestionPattern
         원문 : http://www.industriallogic.com/papers/khdraft.pdf
  • 알고리즘2주숙제 . . . . 17 matches
         === Generating Function ===
         세로가 3 가로가 n(2의 배수)인 상자가 있다. 여기에 크가가 2*1인 레고를 채울려고 한다. 가로가 n일때 빈칸 없이 가득채울수 있는 모양의 개수를 클로즈폼으로 구하시오.(Generating Function으로 구하시오)
         === Induction ===
         === Generating Function ===
         From Concrete Mathematics, Chapter 7. Generating Function
         1. (Warm up) An eccentric collector of 2 x n domino tilings pays $4 for each vertical domino and $1 for each horizontal domino. How many tiling are worth exactly $m by this criterion? For example, when m = 6 there are three solutions.
         4. (Homework exercises) How many spanning trees are in an n-wheel( a graph with n "outer" verices in a cycle, each connected to an (n+1)st "hub" vertex), when n >= 3?
         5. Let us use a generating function to find a formula for s<sub>n</sub>, where s<sub>0</sub> = s<sub>1</sub> = 1, and s<sub>n</sub> = -s<sub>n-1</sub> + 6s<sub>n-2</sub> for n ≥ 2.
         6~8 Give a generating fuction for the sequence {a<sub>n</sub>}.
         7. Let a<sub>r</sub> be the number of ways r cents worth of postage can be placed on a letter using only 5c, 12c, and 25c stamps. The positions of the stamps on the letter do not matter.
         8. Let a<sub>r</sub> be the number of ways to pay for an item costing r cents with pennies, nickels, and dimes.
         === Induction ===
  • 정규표현식/스터디/반복찾기/예제 . . . . 17 matches
         UPower compizconfig esound hosts logcheck opt rcS.d terminfo
         X11 computer-janitor.d firefox hosts.allow login.defs pam.conf resolv.conf timezone
         alternatives cron.d freemind ifplugd lsb-base papersize rpc ucf.conf
         anacrontab cron.daily fstab init lsb-base-logging.sh passwd rsyslog.conf udev
         apache2 cron.hourly fuse.conf init.d lsb-release passwd- rsyslog.d ufw
         apm cron.monthly gai.conf initramfs-tools ltrace.conf pcmcia samba update-manager
         apparmor cron.weekly gamin inputrc magic perl sane.d update-motd.d
         apparmor.d crontab gconf insserv magic.mime php5 scim update-notifier
         apport crypttab gdb insserv.conf mailcap pm screenrc updatedb.conf
         apt cups gdm insserv.conf.d mailcap.order pnm2ppa.conf securetty usb_modeswitch.conf
         bash.bashrc dbus-1 gnome-app-install issue.net mke2fs.conf ppp sensors3.conf vim
         bash_completion debconf.conf gnome-settings-daemon java modprobe.d printcap services w3m
         bindresvport.blacklist default gnome-vfs-2.0 kbd mono profile.d shadow wildmidi
         ca-certificates.conf eclipse.ini hal lftp.conf nsswitch.conf rc3.d sudoers
  • 조영준/CodeRace/130506 . . . . 17 matches
         using System;
         using System.IO;
         using System.Collections.Generic;
          public string word;
          public int count;
          public static int Compare(pair x, pair y)
          static void Main(string[] args)
          string[] s;
          string line;
          while ((line = sr.ReadLine()) != null)
          s = line.Split(' ');
          for (int i = 0; i < s.Length; i++)
          for (int j = 0; j < p.Count+1; j++)
          for (int i = 0; i < p.Count; i++)
  • 파스칼삼각형/임상현 . . . . 17 matches
         #include<iostream>
         using namespace std;
         int factorial(int a);
         int Pascal(int row, int col);
         void main(){
          int row = 0, col = 0;
          cin>>row;
          cin>>col;
         int factorial(int a){
          int output= 1;
         int Pascal(int row, int col){
  • 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"]
  • 3N+1Problem/김회영 . . . . 16 matches
         #include<iostream.h>
         int check(int n);
         void main()
          int n1; //입력받는 수1
          int n2; //입력받는 수2
          int max=0; //최대길이의 사이클 길이를 저장한다.
          cin>>n1;
          cin.get();
          cin>>n2;
          int temp = n2;
          for(int i= n2-n1 ; i >=0 ; i--)
         int check(int n)//사이클의 길이를 리턴하는 함수
          int count = 1;//사이클의 길이 가진다
          int temp = n%2;
  • Ajax . . . . 16 matches
         Ajax or Asynchronous JavaScript and XML is a term describing a web development technique for creating interactive web applications using a combination of:
          * HTML (or XHTML) and CSS for presenting information
          * The Document Object Model manipulated through JavaScript to dynamically display and interact with the information presented
          * The XMLHttpRequest object to exchange data asynchronously with the web server. (XML is commonly used, although any text format will work, including preformatted HTML, plain text, and JSON)
         Like DHTML, LAMP, or SPA, Ajax is not a technology in itself, but a term that refers to the use of a group of technologies together. In fact, derivative/composite technologies based substantially upon Ajax, such as AFLAX are already appearing.
         Ajax applications use web browsers that support the above technologies as a platform to run on. Browsers that support these technologies include Mozilla Firefox, Microsoft Internet Explorer, Opera, Konqueror and Apple Safari.
         = Lookin =
         웹 상에선 요새 한참 인기인 중인 기술. RichInternetApplication 은 Flash 쪽이 통일할 줄 알았는데 (MacromediaFlex 를 보았던 관계로) 예상을 깨게 하는데 큰 공로를 세운 기술.;
  • Athena . . . . 16 matches
          * Object Programming 수업의 숙제를 위한 페이지입니다
          DeleteMe 이름은 좋습니다. 하지만 ["Athena"] 라는 이름의 페이지에는 여신 아테나에 대한 정의와 소개가 들어 있는 것이 올바른 것이겠지요. 그래서 ["ProjectPrometheus"], ["ProjectZephyrus"] 라고 한거랍니다. ;; --["neocoin"]
          * 첫 회의 - 프로젝트 이름 결정, 기본 코딩 스타일 결정, 첫 ["PairProgramming"] 호흡
          * Contrast Stretching 작성(20분) - 명훈
          * contrast stretching할때 입력값 받지않는 것으로 수정(20분) - 명훈
          * 2.1 Sampling => 모자이크 이미지
          * 5.6 Posterizing
          * 5.7 Clipping
          * 5.8 Iso-intensity Contouring
          * 5.9 Range- highlighting
          * 5.10 Solize using a Threshold
          * 6.2 Sharpening
          * 6.4 Embossing
          * 6.5 Median Filtering
          * 7.1 Contrast Stretching
  • BirthdatCake/하기웅 . . . . 16 matches
         #include <iostream>
         using namespace std;
         struct Point {
          int x;
          int y;
         int cherry, i, j, k, a, b;
         Point ch[100];
         Point getLine()
          Point temp;
         int main()
          while(cin>>cherry)
          cin >> ch[i].x >> ch[i].y;
          cout << getLine().x <<" " <<getLine().y<< endl;
  • 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);
  • CleanCodeWithPairProgramming . . . . 16 matches
         = Clean Code w/ Pair Programming =
          * subclipse plugin
          * Jenkins
          || 00:00 ~ 00:10 || Opening || 간단한 소개 ||
          || 00:10 ~ 00:20 || Pre PP || Pair Programming 조 편성, rule 설명 ||
          || 00:20 ~ 01:30 || Pair Programming || 시키는 대로 하는 묻지마 프로그래밍 ||
          || 01:30 ~ 02:00 || PP 마무리, 중간 회고, Clean Code 소개 || Pair Programming에 대한 소감 들어보기, Clean Code 오프닝 ||
          * Jenkins 빌드가 매우 느려서 리팩토링하면서 Sonar로 Violation 테스트하기 쉽지는 않을 듯;; (특히 마무리할 때)
          * maven, Jenkins, Sonar... 이름만 들어도 기대가 되네요 - [서민관]
          * Pair Programming을 직접 경험해보니 참 재미있기도 하면서 손발을 맞추기가 힘듭니다. 그래도 호흡이 맞는다면 효율이 훨씬 높아질 것 같다는 생각이 들었고, 재미있는 경험이었습니다. - [권영기]
          * Sonar와 Jenkins, maven... 실제로 이런 자동 빌드 시스템을 사용해본 적이 없었는데, 직접 보기 신기했습니다. 페어 프로그래밍도 재밌었습니다. 하지만 여전히 시간에 쫓기는 프로그래밍은 힘들더군요... - [박성현]
         === Sonar, Jenkins 등 세팅에 대한 몇가지 ===
          1. Jenkins 서비스 재시작 : service jenkins restart
          1. mysql 시작 : /usr/bin/mysqld_safe --user=mysql&
          * Trouble Shooting
  • CollaborativeFiltering . . . . 16 matches
         === Approaches to Collaborative Filtering ===
         problem space가 2차원 matrix 의 형태를 생각해본다. 행에 대해서는 item을, 열에 대해서는 user를 두고, 그에 따른 rating 을 값으로 둔다. 이 matrix 를 이용, CollaborativeFiltering 은 특정 사용자(user) i 에 대해서 rating 을 예측하고, item 들을 추천한다.
          ex) 이 user set 에서 item j 에 대해서 높은 점수 (rating)을 주었을 경우, user i 에게 item j 를 추천한다.
          * Constrained Pearson correlation
          * Emtropy-based uncertainty measure
          * Correlation thresholding
         CollaborativeFiltering 의 유용성을 평가하는 기준.
          * NoSmok:PrincipiaCybernetica 에 있는 아주 간단한 개론(처음 보는 사람에게 추천) http://pespmc1.vub.ac.be/COLLFILT.html
          * http://www.ecminer.com/m3_webBrain.html
          * [http://wwwbroy.in.tum.de/~pretschn/papers/personalization/personalization.html Personalization on the Web]
         '''Link 모음'''
          * [http://www.voght.com/cgi-bin/pywiki?RecommenderSystems Recommender Systems]
          * [http://shadow.ieor.berkeley.edu/humor/info.html 버클리의 농담 추천 시스템 Jester]
  • ConstructorParameterMethod . . . . 16 matches
         class Point
          void setX(int x) { /* ... */ }
          void setY(int y) { /* ... */ }
          static Point* makeFromXnY(int x, int y)
          Point* pt = new Point;
         class Point
          static Point* makeFromXnY(int x, int y)
          Point* pt = new Point;
          void setXnY(int x, int y) // smalltalk에서는 setX:xNum y:yNum이라는 메세지를 사용한다.
  • 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 정도) 리펙토링을 알고 행하는 게 나중에
  • DataStructure/Tree . . . . 16 matches
          * Sibling : 형제(같은 레벨의) 노드
         = Binary Tree =
         = Binray Tree 의 표현 =
          * Linked List
         = Binary Tree Traversal =
          * InOrder : Left Child -> Root -> Right Child : 우리에게 가장 익숙한 방식
         InOrder(a)
          InOrder(a->left)
          InOrder(a->right)
         = Binary Search Trees (우리말로 이진 탐색 트리) =
          * Binray Search Tree 니까 당연히 Binary Tree 여야 한다.
          * Keys in Left Subtree < Keys of Node
          * Keys in Right Subtree > Keys of Node(고로 순서대로 정렬되어 있어야 한단 말입니다.)
         = Insert x =
         void init(Node** node,char* ch) // 초기화
         void PrintandDelete(Node* root) // 맨 왼쪽부터 순회(Preorder인가?)
          Print( root->pLeft );
          Print( root->pRight );
         int Add(Node** root,char* ch)
          init(root,ch); // 초기화
  • DermubaTriangle/문보창 . . . . 16 matches
         || 2006-02-05 Accepted 0.010 Minimum ||
         #include <iostream>
         using namespace std;
         #include <cstdio>
         #include <cmath>
         inline void show(double value) { printf("%.3f\n",value); }
         void process(int n, int m)
          int rootN = floor(sqrt(n));
          int rootM = floor(sqrt(m));
         int main()
          int n, m;
          while (cin >> n >> m)
  • Gof/State . . . . 16 matches
         == Intent ==
         네트워크 커넥션을 나타내는 TCPConnection 라는 클래스를 생각해보자. TCPConnection 객체는 여러가지의 상태중 하나 일 수 있다. (Established, Listening, Closed). TCPConnection 객체가 다른 객체로부터 request를 받았을 때, TCPConnection 은 현재의 상태에 따라 다르게 응답을 하게 된다. 예를 들어 'Open' 이라는 request의 효과는 현재의 상태가 Closed 이냐 Established 이냐에 따라 다르다. StatePattern은 TCPConnection 이 각 상태에 따른 다른 행위들을 표현할 수 있는 방법에 대해 설명한다.
          1. Who defines the state transitions?
          * Creating and destroying State objects.
          * Using dynamic inheritance.
          _state = TCPClosed::Instance ();
          static TCPState* Instance ();
          static TCPState* Instance ();
          static TCPState* Instance ();
         TCPState 서브클래스는 내부 상태를 가지지 않는다, 그러므로 TCPState는 공유될 수 있고, 각각 단지 하나의 인스턴스만이 요구되어진다. 이 TCPState 서브클래스의 각각의 유일한 인스턴스들은 정적함수인 Instance 로 얻어진다. (TCPState 서브클래스는 Singleton 으로 만들어진다.)
          ChangeState (t, TCPEstablished::Instance ());
          ChangeState (t, TCPListen::Instance ());
          // send FIN, receive ACK of FIN
          ChangeState (t, TCPListen::Instance ());
          ChangeState (t, TCPEstablished::Instance ());
         대부분의 대중적인 상호작용적인 드로잉 프로그램들은 직접 조작하여 명령을 수행하는 'tool' 을 제공한다. 예를 들어, line-drawing tool 은 사용자가 클릭 & 드레그 함으로서 새 선을 그릴 수 있도록 해준다. selection tool 은 사용자가 도형을 선택할 수 있게 해준다. 보통 이러한 툴들의 palette (일종의 도구상자 패널)를 제공한다. 사용자는 이러한 행동을 'tool을 선택한 뒤 선택한 tool을 이용한다' 라고 생각한다. 하지만, 실제로는 editor 의 행위가 현재 선택한 tool로 전환되는 것이다. drawing tool 이 활성화 되었을 때 우리는 도형을 그리고 selection tool 이 활성화 되었을 때 도형을 선택할 수 있는 식이다. 우리는 현재 선택된 tool 에 따른 editor 의 행위를 전환시키는 부분에 대해 StatePattern 을 이용할 수 있다.
         툴-구체적 행위를 구현하는 서브클래스를 정의하는 곳에 대해 Tool 추상 클래스를 정의할 수 있다. drawing editor 는 currentTool 객체를 가지며, request를 이 객체에 위임시킨다. 사용자가 새 tool를 골랐을 때, drawing editor 는 행위를 전환해야 하므로 따라서 이 객체는 교체된다.
         이 방법은 HowDraw [Joh92]와 Unidraw [VL90] drawing editor 프레임워크에 이용되었다. 이는 클라이언트로 하여금 새로운 종류의 tool들을 쉽게 정의할 수 있도록 해준다. HowDraw 에서 DrawingController 클래스는 currentTool 객체에게 request를 넘긴다. UniDraw에서는 각각 Viewer 와 Tool 클래스가 이와 같은 관계를 가진다. 다음의 클래스 다이어그램은 Tool 과 DrawingController 인터페이스에 대한 설명이다.
          * State객체는 종종 SingletonPattern 으로 구현된다.
  • Hartal/Celfin . . . . 16 matches
         #include <iostream>
         using namespace std;
         int testcase, testdays, partyNum, i, j;
         int party[100];
         int counting;
         int getHartal()
          counting=0;
          counting++;
          return counting;
         int main()
          cin >> testcase;
          cin>>testdays;
          cin>>partyNum;
          cin >>party[i];
  • 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형으로 받아지기 때문에 문자 하나씩 끊어 읽게끔 해도 되지^^ 조금만 생각해보면 방법이 나올 수도 있어 - [상욱]
  • JavaScript/2011년스터디 . . . . 16 matches
          * imperative and structured programming language
          * functional and declarative programming language
          * [김태진] - 부산에 갔다오는 바람에 저번주는 스터디를 못하고 이번주에 다시 들어왔습니다. URL헌터를 완성해오는게 숙제였던거 같은데, 저는 하지 않고 왔습니다- 나중에는 자기가 짠 것을 고치거나 못짠사람은 완성하는 것을 했는데, 배열 문법구조가 C와 달라 에러가 떠 코드가 산으로 갈뻔했죠... arr.join('')이라는 것을 통해서 기본 틀을 짜는데는 성공했으니 다음시간까지는 a를 먹도록은 짜 봐야겠네요. 하지만 다른사람들과는 다르게 객체지향적일거 같지는 않아요. 우선 구현에 의의를 두고 열심히 짜봐야겠네요;;
          * [JavaScript/2011년스터디/CanvasPaint]
          * [김태진] - 사실 오늘 한거에 대한 후기보다는.. 그림판 퀄리티를 향상시켰어요! UNDO와 REDO 완벽구현!! [http://clug.cau.ac.kr/~jereneal20/paint.html]
          * Cappuccino에 관해 공유(?)했습니다. 하지만 환경이 갖추어진 사람이 1명밖에 없어서 보류...
          * [김태진] - 어쩐지 위에 제가 썼다보니 전반이 제 후기인거같...습니다. 아무래도 우리는 JavaScript스터디라는 명목보다 WebProgramming스터디가 좀 더 적합해지지 않을까 생각이 되는데 다음에 의견을 모아봐야겠네요.
          * 데이터를 지운 후에 새로 추가하게되면 제일 아래쪽부터 차올라가는게 아니라 없어진 위치에 채우고 새로 채워나갑니다. 이 부분때문에 index의 필요성이 더 커졌습니다.
          * MySQL에 원하는 정보를 Delete하려고 하였으나, 그걸 위해서는 index가 필요했고, 인덱스를 만드는 방법을 연구하고 있습니다.
         alter table tablename add index 인덱스명(인덱스를 줄 컬럼1 , 인덱스를 줄 컬럼2, ... )
         alter table tablename drop index 인덱스명;
         CREATE [UNIQUE] INDEX index_name ON tbl_name (col_name[(length]),... )
         DROP INDEX index_name on tlb_name
          * WebProgramming 스터디로 바꾸는 것은 다음 정모때 제가 참여하면 바꿀 예정입니다. 자바스크립트에서 너무 멀리와서 이 부분은 WebProgramming스터디로 하는게 더 좋을거 같네요.
          * [http://clug.cau.ac.kr/~linus/guestbook.html 박정근 방명록만들기]
  • JavaStudy2002/영동-2주차 . . . . 16 matches
         Class main--메인함수 클래스
         public class main{
          public static void main(String[] args)
          System.out.println("RandomWalk");
          public int x=0;
          public int y=0;
          public int way;
          public int count=0;
          way=rand.nextInt()%8;
          System.out.print("\n");
          public int board[][]={
          for(int i=0;i<5;i++)
          for(int j=0;j<5;j++){
          System.out.print(board[i][j]);
          System.out.print("\t");
          System.out.print("\n");
  • JollyJumpers/Celfin . . . . 16 matches
         #include <iostream>
         #include <vector>
         #include <cmath>
         #include <algorithm>
         using namespace std;
         int testcase, preNum, currentNum, i;
         vector<int> numList;
         int main()
          while(cin>>testcase)
          cin>>preNum;
          cin>>preNum;
          cin >> currentNum;
          cin.getline(temp, 50000);
          numList.erase(numList.begin()+i);
  • LinkedList/숙제 . . . . 16 matches
         int a; // 선언
         int b = 10; // 선언&정의
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
          int num;
          int num;
         #include "ExList.h"
          printf("%d\n",p->num);
         void main()
         List *pList,*pNew,*pIns; // struct _slist *pList, *pNew, *pIns; 구조체3개 선언
          printf("root생성시\n"); // *pList를 root로 한다.
          printf("pNew생성시\n");
          pIns=(List *)malloc(sizeof(List));
          pIns->num=3; // 3번째 struct란 것을 표시.
          pIns->prev=pList; // pIns를 pList와 pNew 사이에 집어 넣는다. (pList <-- pIns)
          pIns->next=pNew; // pList <--> pNew, pIns ---> pNew
          pList->next=pIns; // pList <--> pIns, pIns ---> pNew, pList <--- pNew (pList <--> pList, pList <--- pNew <--- pIns)
          pNew->prev=pIns; // pList <--> pIns, pIns <--> pNew (pList <--> pIns <--> pNew)
          printf("pIns삽입시\n");
  • MFC/CollectionClass . . . . 16 matches
         #define _MFC_
         || List || 순서가 있는 데이터 항목의 집합. Doubly-linked list 로 구현되어 있다. 데이터의 삽입, 삭제가 빠르지만 하나하나의 데이터를 검색하는 속도는 느리다. ||
          || {{{~cpp GetAt(index)}}} || 인덱스로 지정된 배열의 객체를 리턴한다. ||
          || {{{~cpp operator[index]}}} || GetAt()과 동일하게 작동하며, built-in 배열과 동일한 사용법을 제공한다. [[BR]] {{{~cpp pointArray.SetAt}}}(3, NewPoint)[[BR]]{{{~cpp pointArray[3]=NewPoint}}} ||
          || {{{~cpp InsertAt()}}} || 인자로 전달된 객체를 배열의 특정 인덱스에 삽입한다. ||
          || {{{~cpp InsertBefore(POSITION, ObjectType)}}} || 두번째 인자의 객체를 첫번째 인자의 위치의 앞부분에 삽입한다. ||
          || {{{~cpp InsertAfter(POSITION, ObjectType)}}} || 알아서 =.=;; ||
          || {{{~cpp Find(ObjectType)}}} || 인자로 받은 객체를 검색해서 그 위치의 POSITION값을 리턴한다. 어드레스 수준에서 비교가 행해진다. ||
          || {{{~cpp FindIndex()}}} || 인자로 받은 int 형의 색인값을 기준으로 그곳의 POSITION 형태의 값을 리턴한다. 최초 요소는 인덱스 0을 갖는다. ||
          맵은 객체와 키의 조합을 저장한다. 키는 맵에 할당된 메모리의 특정 블록안에 객체가 저장되어 있는지를 결정하는데 사용된다. 키를 맵안의 엔트리의 어드레스로 계산될 수 있는 정소로 변환하는 과정을 해실(Hashing)이라고 한다.
          || {{{~cpp InsertBefore(POSITION, ObjectType)}}} || 두번째 인자의 객체를 첫번째 인자의 위치의 앞부분에 삽입한다. ||
          || {{{~cpp InsertAfter(POSITION, ObjectType)}}} || 알아서 =.=;; ||
          || {{{~cpp Find(ObjectType)}}} || 인자로 받은 객체를 검색해서 그 위치의 POSITION값을 리턴한다. 어드레스 수준에서 비교가 행해진다. ||
          || {{{~cpp FindIndex()}}} || 인자로 받은 int 형의 색인값을 기준으로 그곳의 POSITION 형태의 값을 리턴한다. 최초 요소는 인덱스 0을 갖는다. ||
  • Map/권정욱 . . . . 16 matches
         #include <iostream>
         #include <map>
         #include <fstream>
         #include <string>
         using namespace std;
         int main(){
          ifstream fin("line.txt");
          char line;
          int i = 0;
          while(!fin.eof()){
          fin.get(line);
          cout << order[line];
  • 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;
  • ProgrammingLanguageClass/2006/EndTermExamination . . . . 16 matches
         범위 : 6장 ~ 11장 (concept of programming language 6th ed)
         02, 05 년에 언어 디자인시 고려해야할 점에 대한 문제가 출제되어서 그쪽으로 공부를 많이 했지만 나오지 않았다는 점에서 의외였음. 디자인 이슈를 공부할 생각이라면 Pointer, Array, Abstraction, Subprogram 의 디자인 이슈에 대해서 공부하는 것이 좋을 듯함.
         a) c언어에서, switch문의 조건 넣는 부분에 모든 ordinal type이 들어갈 수 있는가?
         print Z;
         int fun(int *i)
         int i = 10, j =16
         a) 비지역 변수의 참조에 Static-Chain 기법에 대한 설명을 할 것
         b) 언어 개발자들이 Static-Chain 에 비해서 display 기법을 채택하게 되는 이유를 제시하시오.
          * upto terminate 해석에 따라서 답이 달라짐 종료 직전 -> 답은 True, 종료 시점을 의미한다면 답은 False
         for variable in [reverse] discrete_range loop
         up to ... (1) <어느 위치·정도·시점이> …까지(에), …에 이르기까지;<지위 등이> …에 이르러:up to this time[now] 지금껏, 지금[이 시간]까지는/I am up to the ninth lesson. 나는 제 9과까지 나가고 있다./He counted from one up to thirty. 그는 1에서 30까지 세었다./He worked his way up to company president. 그는 그 회사의 사장으로까지 출세했다. (2) [대개 부정문·의문문에서] 《구어》 <일 등>을 감당하여, …을 할 수 있고[할 수 있을 정도로 뛰어나]:You’re not up to the job. 너는 그 일을 감당하지 못한다./This novel isn’t up to his best. 이 소설은 그의 최고작에는 미치지 못한다./This camera is not up to much. 《구어》 이 카메라는 별로 대단한 것은 아니다./Do you feel up to going out today? 오늘은 외출할 수 있을 것 같습니까? 《병자에게 묻는 말》 (3) 《구어》 <나쁜 짓>에 손을 대고;…을 꾀하고:He is up to something[no good]. 그는 어떤[좋지 않은] 일을 꾀하고 있다./What are they up to? 그들은 무슨 짓을 하려는 것인가? (4) 《구어》 <사람이> 해야 할, …나름인, …의 의무인:It’s up to him to support his mother. 그야말로 어머니를 부양해야 한다./I’ll leave it up to you. 그것을 네게 맡기마./It’s up to you whether to go or not. 가고 안가고는 네 맘에 달려 있다./The final choice is up to you. 마지막 선택은 네 손에 달려 있다.
         [ProgrammingLanguageClass]
  • ProgrammingLanguageClass/Report2002_1 . . . . 16 matches
         = Principles of Programming Languages =
         ※ 입력된 문장들이 제시된 문법(grammar)에 맞는지 판단하는 Recursive Descent Parsing 기법을 이용한 파서(parser)를 작성하시오.
          * Internal/external documentations
          | <term> <minus_operator> <expression>
         <identifier> → any names conforming C identifier
         <minus_operator> → -
          * 입력: INPUT.TXT로 이름지어진 텍스트 파일
          * 출력: 주어진 문법에 따라 INPUT.TXT에 저장되어 있는 문장을 분석한다. 파싱(parsing)되는 중간과정을 <처리 예>와 같이 출력하고, 문법에 적합하면 “Yes,” 입력된 문장이 적합하지 않으면 오류 메시지와 “No”를 출력한다.
          * 각 파싱(parsing) 함수는 리턴하기 직전에 해당 non-terminal이 검색되었음을 알리는 메시지를 출력하여야 한다.
          printf("<expression> parsed.\n");
          printf("<identifier>: %s parsed.\n",token_string);
          * 어휘분석기(lexical analyzer)의 소스코드는 정수 변수 next_token, 문자열 변수 token_string, 함수 lexical()을 포함하여야 한다. 함수 lexical()은 입력 스트림을 분석하여 하나의 lexeme을 찾아낸 뒤, 그것의 token type을 next_token에 대입하고, lexeme 문자열을 token_string에 저장하는 함수이다.
          * 기타 구현 시 요구되는 세부 사항은 직접 결정하고, internal document에 기술한다.
         ["ProgrammingLanguageClass"]
  • ProjectSemiPhotoshop/기록 . . . . 16 matches
          |||||| 알카노이드 PairProgramming ||
          * 10/24 pm1:00~pm4:00 VC예제 작성 , GDI, BMP, Key Input 예제 작성
          * Sampling 구현
          * 1차 integration - histogram, sampling
          * 2차 integragion - 추가기능 + 새로운 라이브러리(하지만 추가기능에 대한 대응 미흡으로 철수)
          * 흑백에 대한 명암 처리 - Null, Negative, Gamma Correction, Contrast Stretched Compression, Posterizing, Clipping, Iso-intensity Contouring Range-hilighting
          * 영역 설정, Blurring, Mask, Sharpening, Edge Detection Embossing, Median Filtering 구현
          *Solarize using a Threshold, Parabola, First Parabola, Second Parabola 구현
          * Contrast Stretching, Histogram Equalisation, 윈도우로 설정한 영역에 대해서만 '7. 영상 질 향상' 적용
          * 3차 Integration : 11월 29일에 작성한 기능들 하나로 합침.
  • STL/search . . . . 16 matches
          * STL에서는 최적의 검색 기능을 자랑하는(θ(logn)) Binary Search를 제공해준다.
          * Binary Search가 무엇이냐? 사람이 사전을 찾을때와 비슷하다고 보면 된다.
          이 과정을 재귀적으로 하면 값을 찾을수 있다. 이런 탐색 방법을 Binary Search 라고 부른다. 이것이 성립하려면, 원소들이 정렬되어 있고, 임의접근(random)이 가능해야 한다. 정렬이 안되어 2,3 번의 과정을 진생할수 없다.
          * STL에서는 최적의 조합으로, sort + binary_search를 추천해준다. 예제를 보자.
         #include <iostream>
         #include <vector>
         #include <algorithm> // search 알고리즘 쓰기 위한것
         using namespace std;
         int main()
          int ar[10] = {45,12,76,43,75,32,85,32,19,98};
          vector<int> v(&ar[0], &ar[10]);
          sort(v.begin(), v.end());
          if(binary_search(v.begin(), v.end(), 85))
          * sort해준다음 binary_search()의 인자로는 시작부분, 끝부분, 찾고자 하는 원소. 이렇게 넣어주면 된다.
  • 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++)
  • SmallTalk/문법정리 . . . . 16 matches
         UndifinedObject(Object)>>doesNotUnderstand:
         TempTestCase>>initialize
          super initialize.
         "Code in Bold" "Comments in double-quotes"
         3 squared. "Receiver object is small integer 3."
         'abc' asUppercase. "Receiver object is string 'abc'."
         200 factorial. "Receiver object is small integer 200."
          * 선택자는 단일 식별자이며, 인수는 없다.(the selector is a single Identifier, there are no arguments)
          * Binary messages
          "argument is the Integer object 5"
          "argument is the String 'xyz'"
          "argument is the Integer object 20"
         Point x: 4 y: 200. "receiver is the object Point"
          * Binary 메세지는 그 다음의 우선 순위를 가진다. Binary message have the next precedence.
          * 괄호 '()' 를 써서 우선 순위를 변경할수 있다. You can alter precedence by using parenthses.
  • 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
  • TheLargestSmallestBox/문보창 . . . . 16 matches
         #include <iostream>
         using namespace std;
         #include <cmath>
         #include <cstdio>
         //#include <fstream>
         //fstream fin("in.txt");
         #define MIN(x,y) (((x) > (y)) ? (y) : (x))
         inline double func(double x)
          double minValue = MIN(L,W) / 2.0;
          printf("%.3f %.3f %.3f\n", max, 0.0, minValue);
         int main()
          while (cin >> L >> W)
  • UglyNumbers/송지훈 . . . . 16 matches
         #include <iostream>
         #include <ctime>
         using std::cout;
         using std::cin;
         using std::endl;
         using std::clock_t;
         #define LIMIT 1500 // 배열 한계수
         int main() {
          int arr[LIMIT] = {0}, num, index = 0, target;
          for(int i = 1;arr[target-1] == 0;i++) {
          arr[index] = i; // 몫이 1이 아니면 그냥 잡수.
          index++;
         sorting 을 사용하는 방법을 생각해봐야 하겠다 라는 것을 느낌.
  • 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--)
  • WinCVS . . . . 16 matches
         WinCVS를 처음부터 사용해봅시다.
          1. WinCVS를 사용하기 위해서는 Python과 TCL이 깔려있어야 한다.
          ''DeleteMe 맞는 이야기인가요? ["sun"]의 기억으로는 아닌것으로 알고 있고, 홈페이지의 설명에서도 다음과 같이 나와있습니다. 'WinCvs is written using the Microsoft MFC.' '' [[BR]]
          ''WinCVS가 돌아가기 위해서는 2개의 어플리케이션이 필요하다.[[BR]]
          WinCVS 1.3을 실행하기 위해서는 Python언어가 필요하다. Python이 없이는 WinCVS는 동작하지 않는다.[[BR]]
          WinCVS에 유용한 몇몇 것들이 TCL 쉘 상에서 실행된다. 이것들을 활성화 시키기 위해서는 최신버전의 ActiveTCL이나 Tcl/Tk가 필요하다. (From WinCVS설치 메뉴얼)[[BR]]'' -- 선호
          ''WinCVS 의 쉘에서의 직접 커맨드 입력기능을 이용하려면 이전 버전에선 TCL, 최신버전에서는 Python 을 이용합니다. 하지만, 설치 안해도 WinCVS 의 주기능들은 이용가능한걸로 기억합니다. --["1002"]''
          2. 잘 받아놓은 WinCVS를 깔자.
          * [http://www.wincvs.org]
          3. WinCVS가 뜨면 끝
          1. 프로그램을 시작하고 첫 화면을 보자. 무심코 지나쳤다면 Ctrl+F1 또는 Admin - Preference 를 보자.
          4. WinCvs탭에서도 필요한 것만 수정하자
         = LINK =
  • WindowsConsoleControl . . . . 16 matches
         #define _UTIL_H_
         #include <windows.h>
         #include <stdio.h>
         #define delay(n) Sleep(n)
         #define randomize() srand((unsigned)time(NULL))
         #define random(n) (rand() % (n))
         void gotoxy(int x, int y);
         int wherex();
         int wherey();
         #include "util.h"
         void gotoxy(int x, int y)
         int wherex()
          CONSOLE_SCREEN_BUFFER_INFO BufInfo;
          GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE),&BufInfo);
          return BufInfo.dwCursorPosition.X;
         int wherey()
          CONSOLE_SCREEN_BUFFER_INFO BufInfo;
          GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE),&BufInfo);
          return BufInfo.dwCursorPosition.Y;
  • XpQuestion . . . . 16 matches
         ''Why not move these into XperDotOrg?''
         - '필요하면 하라'. XP 가 기본적으로 프로젝트 팀을 위한 것이기에 혼자서 XP 의 Practice 들을 보면 적용하기 어려운 것들이 있다. 하지만, XP 의 Practice 의 일부의 것들에 대해서는 혼자서 행하여도 그 장점을 취할 수 있는 것들이 있다. (TestDrivenDevelopment, ["Refactoring"], ContinuousIntegration,SimpleDesign, SustainablePace, CrcCard Session 등. 그리고 혼자서 프로그래밍을 한다 하더라도 약간 큰 프로그래밍을 한다면 Planning 이 필요하다. 학생이다 하더라도 시간관리, 일거리 관리는 익혀야 할 덕목이다.) 장점을 취할 수 있는 것들은 장점을 취하고, 지금 하기에 리스크가 큰 것들은 나중에 해도 된다.
         각 Practice 를 공부를 하다보면, 저것들이 이루어지기 위해서 공부해야 할 것들이 더 있음을 알게 된다. (의식적으로 알아낼 수 있어야 한다고 생각한다.) Refactoring 을 잘하기 위해선 OOP 와 해당 언어들을 더 깊이있게 이해할 필요가 있으며 (언어에 대해 깊은 이해가 있으면 똑같은 일에 대해서도 코드를 더 명확하고 간결하게 작성할 수 있다.) CrcCard 를 하다보면 역시 OOP 와 ResponsibilityDrivenDesign 에 대해 공부하게 될 것이다. Planning 을 하다보면 시간관리책이나 일거리 관리책들을 보게 될 것이다. Pair 를 하다보면 다른 사람들에게 자신의 생각을 명확하게 표현하는 방법도 '공부'해야 할 것이다. 이는 결국 사람이 하는 일이기에. 같이 병행할 수 있고, 더 중요한 것을 개인적으로 순위를 정해서 공부할 수 있겠다.
         === UserStory, Engineering Task 의 의존성 문제 ===
         어디선가 이야기 나왔었던 문제. 규모가 되는 프로젝트의 경우 100 장의 Index Card 는 보관하기도 어렵고 널려놓기엔 정신을 어지럽힌다.;;
         - Story Card 는 Kent Beck 이 사용자와 더 빠른 피드백을 위해 생각한 덜 형식적인 방법이다. 어차피 Story Card 는 전부 AcceptanceTest 로 작성할 것이기에, 테스트가 작성되고 나면 AcceptanceTest 가 도큐먼트 역할을 할 것이다. Index Card 도구 자체가 보관용이 아니다. 보관이 필요하다면 위키를 쓰거나 디지털카메라 & 스캐너 등등 '보관용 도구', 'Repository' 를 이용하라.
         - 어차피 실제 고객에게 가치를 주는 중요한 일만을 하자가 목적이기에. Documentation 자체가 중요한 비즈니스 가치를 준다던가, 팀 내에서 중요한 가치를 준다고 한다면 (예를 들어서, 팀원중 몇명이 항시 같이 작업을 할 수 없다던지 등등) Documentation 을 EngineeringTask 에 추가하고 역시 자원(시간)을 분배하라. (Documentation 자체가 원래 비용이 드는 일이다.)
         === PairProgramming 적용하기 ===
         PairProgramming 은 XP 에서 논란이 많은 듯 하다. Man-Hour 를 절반으로 깎는다는 생각을 하게 되어서인지.
         interface 가 잘 정의하고 둘이서 분업을 하면 훨씬 효과적 아닌가?
         - ["1002"] 가 ProjectPrometheus 를 할때엔 거의 전체 작업을 Pair로 진행했다. Integration 비용이 전혀 들지 않았다. (두명이 멤버였으니; 당근!) 그리고 초기 소스와 지금 소스중 초기 모습이 남아있는 부분을 보면 '젠장. 왜 이렇게 짠거야? 이런 허접한...' 이다. 중복된 부분도 많고, 매직넘버도 남아있고, 처음엔 쓸거라 생각했던 일종의 어뎁터 역할을 하는 클래스는 오히려 일만 복잡하게 만들고 등등.
         단, 올바른 Pair는, 역시 Pair 하는 사람들 스스로 성숙할 필요가 있는 것 같다. ["1002"] 처럼 삐지기 쉽거나 F 스타일에 더 가까운 MBTI 스타일을 가진 사람은 약간. -_-; (["1002"] 는 INFP 인데, F 스타일이 T 스타일의 3배이다.; 물론 MBTI만으로 사람 전체를 평가하는것은 당근 아님.~)
         - 이는 SustainablePace 에 대한 증표이다. 보통 일이 초과되어 진행된다는것은 뭔가 일이 잘 안풀린다는 증거가 되기도 하다.
         늘 지속할 수 있는 안정적인 흐름을 만들어내는 것이 중요하다. '40' 숫자가 중요하단 뜻은 아니다. (단, PairProgramming 이 기가막히게 잘 진행되는 경우는, '40시간을 초과' 할 수가 없을 것 같다. 사람 진이 다 빠지니까. -_-;)
  • java/reflection . . . . 16 matches
          * ORM(Object-Relational-MApping)이 아닌 방식으로 DAO를 만들 때 사용되기도 한다.
         * just print "say Hello" string to console
          System.out.println("say Hello");
          public static void main(String[] args) {
         * call say HelloWorld class in external jar file package
          public static void main(String[] args) throws MalformedURLException, ClassNotFoundException, InvocationTargetException, IllegalAccessException, InstantiationException, NoSuchMethodException {
          System.out.println(classLoader.getClass().getName());
          new URL("file:/Users/fharenheit/Projects/openflamingo/helloworld.jar")
          System.out.println(Thread.currentThread().getContextClassLoader().getClass().getName());
          System.out.println(Thread.currentThread().getContextClassLoader().getClass().getName());
          Object object = helloWorld.newInstance();
          for (int i = 0; i < declaredMethods.length; i++) {
          System.out.println(declaredMethod.getName());
          sayHello.invoke(object, null);
  • usa_selfish/곽병학 . . . . 16 matches
          int a;
          int b;
          pair(int a, int b) {
         public class Main{
          public static void main(String ar[]) {
          Scanner scan = new Scanner(System.in);
          int n = scan.nextInt();
          for(int i=0; i<n; i++)
          p[i] = new pair(scan.nextInt()-1, scan.nextInt()-1);
          int last = p[n-1].b;
          int[] ans = new int[last+1];
          for(int i=0; i<n; i++) {
          System.out.println(ans[last]);
          public int compare(pair o1, pair o2) {
  • 가위바위보/영록 . . . . 16 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         int main()
          ifstream fin("data1.txt");
          int temp1,temp2;
          int count1=0,count2=0,count3=0;
          fin.getline(buf,10);
          fin.getline(buf,10);
          for (int i=0; i<100; i++)
          fin.get(a);
          fin.get(a).get(a);
          fin.get(a);
  • 데블스캠프2011/다섯째날/HowToWriteCodeWell/송지원,성화수 . . . . 16 matches
          public int floor;
          public int min;
          public int max;
          public Elevator(int i, int j) {
          min = i;
          public void move(int i) {
          public void up(int i) {
          public void down(int i) {
          if(floor - i < min) move(min);
          if(floor == min){
          min--;
         == mainTest.java ==
         public class mainTest {
  • 데블스캠프2011/셋째날/String만들기 . . . . 16 matches
         String str("abcdef");
         String str2("abcb");
         String str3(" aB c ");
         || contains || str.contains("bcd") == TRUE ||
         || equals || str.equals(new String("abcdef")) == TRUE ||
         || equalsIgnoreCase || str.equalsIgnoreCase(new String("ABcdEf")) == TRUE ||
         || indexOf || str2.indexOf("b") == 1 ||
         || lastIndexOf || str2.lastIndexOf("b") == 3 ||
         || subString || str.subString(2, 4) == "cd" ||
         || format || String::format("참석자 : %d명", 8) == "참석자 : 8명" ||
         || valueOf || String::valueOf(3) == "3" ||
          * [데블스캠프2011/셋째날/String만들기/송지원]
          * [데블스캠프2011/셋째날/String만들기/김준석]
          * [데블스캠프2011/셋째날/String만들기/서지혜]
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/김준석 . . . . 16 matches
         using System;
         using System.Collections.Generic;
         using System.ComponentModel;
         using System.Data;
         using System.Drawing;
         using System.Linq;
         using System.Text;
         using System.Windows.Forms;
         namespace TestWindowFormDevils
          int time = 0;
          InitializeComponent();
          string str = timerLabel.Text;
          string strSub = str.Substring(1) + str[0];
  • 데블스캠프2012/다섯째날/C로배우는C++원리 . . . . 16 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
          int age;
         void setAge(void* this, const int age) {
         void print(void* this) {
          printf("name = %s, age = %d\n", this_person->name, this_person->age);
         void createPerson(void* this, const char* name, const int age){
         void createStudent(void* this, const char* name, const int age, const char* studentID){
         void printStudent(void* this) {
          printf("name = %s, age = %d, studentID = %s\n", this_person->name, this_person->age, this_student->studentID);
         int main() {
          print(p);
          //printStudent(p);
  • 데블스캠프2012/첫째날/배웠는데도모르는C . . . . 16 matches
         #include <stdio.h>
         #include <turboc.h>
          int year;
          int month;
          int day;
          int priority;
         void Printdate(struct Date *s_no.number,struct Memo *s_no1.content)
          printf("%d년도 %d월 %d일\n",s_no.number.year,s_no.number.);
         void main()
          int count=0,num=0;
          int n=0;
          printf("몇개의 일정을 적으실 예정입니까?(10개이내로)");
          printf("당신이 원하는 일정을 입력하시오.\n");
          printf("몇년도?몇월?몇일?");
          printf("%d년도%d월%d일에 당신이 할 일정을 입력하시오:\n");
          Printdate(&s_no1.number[n],&s_no1.content[n]);
  • 마방진/장창재 . . . . 16 matches
         #include <iostream>
         #include <vector>
         using namespace std;
         void main()
          int size;
          cin >> size;
          vector <vector <int> > array;
          for (int i = 0 ; i < size ; i++)
          int st_place_h = 0;
          int st_place_y = size/2;
          int max = size * size;
          for (int t = 0 ; t < size ; t++)
          for (int y = 0 ; y < size ; y++)
          for (int k = 1 ; k <= max ; k++)
          for (int arr=0 ; arr < size ; arr++)
          for (int arr_=0 ; arr_<size ; arr_++)
  • 만년달력/손동일,aekae . . . . 16 matches
         #include <iostream>
         using namespace std;
         int main()
          int year,month;
          cin >> year >> month; // 입력받음
          int i,j,a;
          int arr[6][7]={{'0',},};
          int ThirtyOne=0;
          int two = year / 4 - year / 100 + year / 400; // year 이전에 윤년의 갯수
          int XOR;
          int day = (((year-1) * 365 + two) + ((month-1) * 30 + ThirtyOne - XOR)) % 7;
          int first = day + 1;
          int y = 1; // 일.. 1-28,29,30,31
          int first_ = first;
          for(int h=0; h<first_; h++)
  • 문자반대출력/김정현 . . . . 16 matches
          Scanner input;
          public String getText(String name)
          String text="";
          input = new Scanner(new File(name));
          text = input.nextLine();
          System.out.println("헉");
          System.out.println("헉");
          public void reverseWrite(String text)
          for( int count=0; count<text.length(); count++)
          text=new String(charArray);
          System.out.println(text+ " 쓰기성공");
          public static void main(String args[])
          String addr = "test.txt";
  • 미로찾기/조현태 . . . . 16 matches
         #include <iostream>
         using namespace std;
         int map [17][17]={{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
         int x;
         int y;
         int look;
         void go2(int x_1, int y_1, int x_2, int y_2, int x_3, int y_3)//1앞, 2앞오른쪽, 3오른쪽
         int main()
          int i=0;
          int j=0;
  • 벡터/김홍선,노수민 . . . . 16 matches
         #include <iostream>
         #include <fstream>
         #include <string>
         #include <vector>
         #include <algorithm>
         using namespace std;
          string name;
          int score;
         void main()
          ifstream fin("input.txt");
          while(!fin.eof())
          fin >> temp.name >> temp.score;
          sort(vec.begin(), vec.end(), *compare);
          for(i=vec.begin();i<vec.end();i++)
  • 비밀키/황재선 . . . . 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으로 빠져나온다. - 쓰레기통으로 비유.
  • 새싹교실/2011/學高/6회차 . . . . 16 matches
          * automatic type conversion, type casting
          * if, ternary conditional operator, switch, dangling-else problem
         === 자기 반성 및 수정할 점(feeling/finds) ===
         === 자기 반성 및 고칠 점(feeling/finds) ===
         #include <stdio.h>
         int main(){
          int i, j;
          printf("*");
          printf(" ");
          printf("*");
          printf("\n");
         === 자기 반성 및 고칠 점(feeling/finds) ===
  • 새싹교실/2011/무전취식/레벨1 . . . . 16 matches
          == ICE Breaking ==
          * 변수 : Integer(정수) => int, Character(문자) => char 기타 등등!
         변수타입(int,float, double, long) 변수이름,변수이름,변수이름;
         #include<stdio.h>
         int main(){
          int x1,x2,x3;
          printf("%c",y_myname);
         Integer => 정수
         이소라 : 역시 실습이 짱이다. int main과 return 0을 쓰는 이유를 들었다.
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 대학교와서 처음으로 C실습을 해본 뒤에 듣는 수업이었다. 고등학교때는 VS6.0버전을써서 2008버전이 많이 어색했었다. 교수님이 설명도 제대로안해주시고 ㅠㅠ 안배우고왔으면 어쨌을까 걱정됬었다. 하지만!!! 새싹수업듣고 별로 걱정안해도 되겠구나 하는 생각이 들었당 ㅎ.ㅎ 고등학교때는 void main을 썼었는데 int main을쓰고 리턴해주는 이유를 알게됬다. 처음부터 차근차근 해주시는 설명이 좋았다.ㅎㅎ 앞으로도 열심히 들어야징!!! -[이소라]
  • 새싹교실/2012/아우토반/앞반/3.22 . . . . 16 matches
         Ice breaking
          * char, int, float, double
          * dangling else problem
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         #include <stdio.h>
         void main (void) {
          int a = 3;
          int b = 3;
          printf("ㅋ");
          printf("\n");
          printf("%d\n", a);
          printf("ㅎ");
          printf("\n");
          printf("%d\n", b);
  • 새싹교실/2012/열반/120514 . . . . 16 matches
         int fact(int n)
         void hanoi(int n, int a, int b, int c)
          printf("%d --> %d\n", a, c);
         int main()
          printf("%x %x", ptr, &s);
          printf("%x %x", ptr, ptr+1);
          printf("%d %d", s, *ptr);
         int main()
          printf("%d", array[1]);
          printf("%d", *(array+2));
  • 새싹교실/2012/열반/120521 . . . . 16 matches
         void swap(int *a, int *b){
          int temp;
         void swap(int *a, int *b){
         int main()
          int x=5, y=10;
          printf("%d %d\n", x, y);
          printf("%d %d\n", x, y);
         void printstring(char *ptr){
         int main()
          printstring("abcd");
  • 소수구하기 . . . . 16 matches
         누군가 [자유게시판]에 다음과 같은 문제를 질문을 했다. 글이야 기분나쁘지만, NeoCoin은 이것이 pc로 가능한가가 궁금해 졌다.
         #include <stdio.h>
         #include <time.h>
         #include <math.h>
         #define DECIMAL 10000
         #define MAX_PRIME 5*DECIMAL
         static int primeArr[1*DECIMAL] = {2, };
         static int i, j, flag, primeArr_p, limit, count = 0;
         int main(void) {
          limit = (int)sqrt((double)i);
          printf("%d 이하 소수n",MAX_PRIME);
          printf("%f 초n", (double)(end - start) / CLK_TCK);
          printf("소수 %d 개 발견n",primeArr_p);
          마침 정수론을 보고 있었습니다. 허나 제시된 '임의의 큰수에 대한 소수 판정 방법'에서 위의 시공간의 문제를 줄여줄 여지가 보이지를 않내요. 저 문제 내준 사람은 어떻게 풀라는 궁금해요. 11자리라.. 좀더 생각해 봐야겠습니다. --NeoCoin
          BBC의 방송 기사를 옮겨서 기사가 부실한것 같다. [http://bbs.kldp.org/viewtopic.php?t=39037&highlight=%BC%D2%BC%F6 관련내용] 그리고 이해가 안가는게, 메르센 소수를 발견하는게 그 사람의 목표였는지, 아니면 발견된것이 메르센 소수인지도 이해가 안가게 해두었지. 것참 관심없는 내용이라고 저렇게 해둔건가.--NeoCoin
  • 숫자야구/Leonardong . . . . 16 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          int solution[3];
          int i;
          cout << "정답 : " << int(solution[0]) << int(solution[1]) << int(solution[2]) << endl;
          int strike,ball,temp;
          int answer[3];
          cin >> temp;
          for (int i=0 ; i<3 ; i++)
          continue;
          for (int j=0 ; j<3 ; j++)
  • 스택/이태양 . . . . 16 matches
         #include<stdio.h>
         int stack[5]={0,};
         int index =0;
         int top = 4;
         int bottom = 0;
         void push(int num)
          printf("만땅.\n");
          stack[index++] =num;
          printf("더이상지울것이없습니다.\n");
          stack[--index] = '\0';
         void print()
          for(int i=4;i>=0;i--)
          printf("[%d]\n",stack[i]);
         void main()
          print();
  • 압축알고리즘/수진&재동 . . . . 16 matches
         #include <iostream>
         using namespace std;
         int main()
          char input[20];
          cin >> input;
          int i=0;
          char standard = input[0];
          while(input[i] != '\0'){
          char c = input[i];
          char c = input[i];
          int diff = atoi(&c);
          cout << (char)((int)standard - diff);
          int diff = atoi(&c);
          cout << (char)((int)standard + diff);
  • 이승한/PHP . . . . 16 matches
          * include "./input.inc"; // 헤더는 보통 inc의 확장자를 가진다. 기타 다른 확장자도 상관이 없다.
          * sleep() //windows의 sleep과 같다.
          === string 관련함수 ===
         $array_string = explode(" ", $string);
         $array_string = array("Apple", "Orange", "Banana", "Grape");
         $string = implode(" or ", $array_string);
          * substr($변수, 시작점, 끝점) //지정한 길이 만큼 문자열을 돌려준다. excel의 middle과 비슷. substr($string, 0, 5);
          $$first = "morning";
          동물이름을 입력하세요<input type="text" name="animal">
          <input type="submit" value="확인">
          * break, continue
  • 주민등록번호확인하기/문보창 . . . . 16 matches
          private String num;
          public void input()
          Scanner input = new Scanner(System.in);
          num = input.next();
          int validateNum[] = {2,3,4,5,6,7,8,9,2,3,4,5};
          int sum = 0;
          int key = (int)num.charAt(12) - 48;
          for (int i = 0; i < 12; i++)
          sum += ((int)num.charAt(i) - 48) * validateNum[i];
          public static void main(String[] args)
          socialNum.input();
          System.out.println("대한민국 국민이네요~ ^^ 안녕하세요!");
          System.out.println("혹시 간첩???? -_-;;");
  • 지영민/ㅇㅈㅎ게임 . . . . 16 matches
         #include<stdio.h>
         #include<stdlib.h>
         #include<Windows.h>
         #define TURN_GAP 500
         int main()
          int myHP = 1000;
          int GwaJaeHP = 500;
          int GwaJaeDem=rand()%1000+300;
          printf("과제는 100의 피해를 입었다!\n");Sleep(TURN_GAP);
          printf("과제는 %d의 대미지를 입었다!",GwaJaeDem);Sleep(TURN_GAP);
          continue;
          printf("나(은)는 %d의 mental 피해를 입었다!\n",GwaJaeDem);Sleep(TURN_GAP);
          printf("나의 mental이 %d의 피해를 입어 파괴되었다!!\n",GwaJaeDem);Sleep(TURN_GAP);
          fflush(stdin);
  • 3rdPCinCAUCSE/FastHand전략 . . . . 15 matches
         3회 경진대회 팀 2위인 Fast Hand Fancy (빠른손) 팀 전략 ([1002], [경태], [geniumin])
         대회 1주일 전 [1002] 와 [geniumin] 군은 도서관에서 정보 올림피아드 관련 책을 빌렸었습니다. 그리고 대회 2시간 전 [1002] 와 [경태]군은 해당 책의 문제중 3문제 정도를 풀어봤습니다.
         C 번의 경우는 일단 [geniumin] 군이 초기 분석 & 알고리즘을 만들고 중반에 [1002]군이 pseudo-code 화, 후반 알고리즘 검산 & 알고리즘 수정에 대해서 [geniumin] & [경태]군이, 구현은 pseudo code 를 만들던 [1002]가 했습니다.
         [1002] 가 이전에 비슷한 문제를 풀어본 경험이 있던 관계로 바로 구현을 맡았습니다. 대략 코딩에 2-3분정도 소요하였고, 그 동안 [경태]와 [geniumin] 가 3번문제에 대해 분석.
         [경태]가 코딩을 맡았으며 그 동안 [1002] 와 [geniumin] 가 3번문제에 대해 분석. [1002]는 실제 문제를 이해하는 시간이 적었던 관계로 [geniumin] 이 주로 설명. 추후에 [1002] 는 [geniumin] 의 방법이 맞다는 전제하에 pseudo code로의 작성을 도왔습니다.
         테스트 예제 값들은 잘 통과했는데, 실제 가서 확인해보니 약간 차이가 나는 input 이 있었는듯.
         [geniumin] & [경태] 군에게 다시금 감사하며.. 또하나 느낀점이라면, 협업에서는 사람들에 대한 믿음이 참 중요하다는 생각이 들었습니다. 역시 수학적인 사고 & 알고리즘 부분은 [geniumin]나 [경태]쪽이 저보다 보는 시야가 깊다는 것을 느꼈습니다. [1002]는 처음에 [geniumin] 과 같이 C 번에 대해 알고리즘 분석 & 디자인 할때는 약간 이해가 가지 않는 부분에 대해서 수긍을 잘 안했었는데, 추후 [geniumin]를 믿고 그의 의견이 맞다고 가정하고 문제를 풀고 코드화 했을때 테스트 예제 데이터에 대한 답이 정확히 나오는 것을 보면서, [geniumin]의 알고리즘을 코드화해주는것에 전념하게 되었습니다. 만일 혼자서 고민하고 문제를 각자 따로 풀려고 했었다면 그런 좋은 결과가 나오지 않았을 것입니다. (아쉽게 시간내에 C 번을 통과하지 못했지만, 조금만 더 시간이 있었으면 통과했을것이라는..~) 협업시에 상대에 대한 믿음이 얼마나 중요한가에 대해 다시금 느끼게 되었습니다.
         [3rdPCinCAUCSE]
  • 5인용C++스터디/키보드및마우스의입출력 . . . . 15 matches
         #include <windows.h>
         LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);
         HINSTANCE g_hInst;
         int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance
          ,LPSTR lpszCmdParam,int nCmdShow)
          g_hInst=hInstance;
          WndClass.hInstance=hInstance;
          hWnd=CreateWindow(lpszClass,lpszClass,WS_OVERLAPPEDWINDOW,
          NULL,(HMENU)NULL,hInstance,NULL);
          ShowWindow(hWnd,nCmdShow);
         LRESULT CALLBACK WndProc(HWND hWnd,UINT iMessage,WPARAM wParam,LPARAM lParam)
          PAINTSTRUCT ps;
          int len;
          InvalidateRect(hWnd,NULL,FALSE);
          case WM_PAINT:
          hdc=BeginPaint(hWnd,&ps);
          EndPaint(hWnd,&ps);
          return(DefWindowProc(hWnd,iMessage,wParam,lParam));
          소스를 입력한 후 실행해 보자. 키보드에서 키를 누르면 입력한 문자들이 화면 상단에 출력될 것이다.WndProc을 보면 우선 문자열 str이 선언되어 있으며 이 문자열 변수에 사용자가 입력한 문자들을 모은다. 단 이 변수는 WndProc에 선언되어 있는 지역변수이므로 그냥 선언하면 메시지가 발생할 때마다 초기화되기 때문에 static을 붙여 정적변수로 만들어 두어야 한다. 아니면 아예 WinMain 함수 이전에 선언하여 전역 변수로 만들어 두어도 된다.
          입력된 문자들을 바로 바로 출력하지 않고 반드시 문자열에 모아 두어야 하는 이유는 키보드 입력이 발생하는 시점과 문자열을 출력해야 할 시점이 분리되어 있기 때문이다. 키보드 입력 시점은 키보드 메시지인 WM_CHAR가 발생했을 때이며 이 메시지에서 문자열을 조립하기만 하고 문자열의 출력은 WM_PAINT에서 처리한다. 물론 WM_CHAR 메시지에서 문자열을 바로 바로 출력하는 것도 가능하기는 하지만 윈도우즈 프로그램은 화면을 다시 그릴 준비를 항상 해 두어야 하며 모든 출력은 WM_PAINT에서 하도록 되어 있다. 그렇지 않으면 출력된 문자들이 지워지면 다시 복구되지 않는다.
  • 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
  • ClassifyByAnagram/박응주 . . . . 15 matches
          def __init__(self):
          return "".join(s)
          self.assert_(['abc'] in anagram.anagrams())
          self.assert_(['abc', 'bac'] in anagram.anagrams())
          self.assert_(['abc', 'bac'] in anagram.anagrams())
          self.assert_(['efg'] in anagram.anagrams())
         if __name__ == "__main__":
          #unittest.main(argv=('', '-v'))
          for word in sys.stdin:
          for words in anagram.anagrams():
          print ' '.join(words)
          print t2 - t1
         P3 700MGhz 384MB Win2000 Python 2.2.1에서 17만 단어로 실행하면 8.8초.
  • CubicSpline/1002 . . . . 15 matches
          * wxPython - [http://wxpython.org/download.php#binaries wxPython Download]
          * NumericalAnalysisClass 에서의 Lagrange, Piecewise Lagrange, Cubic Spline 에 대한 이해.
          * Python 코드에 대한 이해. UnitTest, TestFirstProgramming 에 대한 이해.
         === Main Code ===
          * ["CubicSpline/1002/CubicSpline.py"] - Main
          * ["CubicSpline/1002/GraphPanel.py"] - Graph 그리는 윈도우 부분 Control
          * ["CubicSpline/1002/LuDecomposition.py"] - LU 분해 모듈
          * ["CubicSpline/1002/TriDiagonal.py"] - Tri-Diagonal Matrix 풀기 모듈
          * ["CubicSpline/1002/NaCurves.py"] - Lagrange, Piecewise Lagrange, Cubic Spline 모듈 (아직 완벽하게 일반화시키지는 못했음.)
          * ["CubicSpline/1002/test_lu.py"]
          * ["CubicSpline/1002/test_tridiagonal.py"]
          * ["CubicSpline/1002/test_NaCurves.py"]
  • EffectiveSTL/ProgrammingWithSTL . . . . 15 matches
         set<int> s; // s에는 원소가 백만개 들어있다. 이 중에서 727이라는 원소를 찾고 싶다.
         typedef set<int>::iterator SIIT;
         SIIT i = s.find(727);
         SIIT j = find(s.begin(), s.end(), 727)
          * set의 find메소드는 로그시간내에 수행된다. 하지만 find 알고리즘은 선형시간내에 수행된다. 즉
          * find메소드의 average case는 20, worst case는 40.
          * find알고리즘의 average case는 5십만, worst case는 백만.
         = Item45. Distinguish among count, find, binary_search, lower_bound, upper_bound, and equal_range. =
         = Item46. Consider function objects instead of functions as algorithm parameters. =
         = Item47. Avoid producing write-only code. =
         = Item48. Always #include the proper headers. =
  • EightQueenProblemSecondTryDiscussion . . . . 15 matches
          for UnAttackablePosition0 in UnAttackableList0:
          continue
          for UnAttackablePosition1 in UnAttackableList1:
          continue
          for UnAttackablePosition2 in UnAttackableList2:
          for UnAttackablePosition in UnAttackableList:
         제가 보기에 현재의 디자인은 class 키워드만 빼면 절차적 프로그래밍(procedural programming)이 되는 것 같습니다. 오브젝트 속성은 전역 변수가 되고 말이죠. 이런 구성을 일러 God Class Problem이라고도 합니다. AOP(Action-Oriented Programming -- 소위 Procedural Programming이라고 하는 것) 쪽에서 온 프로그래머들이 자주 만드는 실수이기도 합니다. 객체지향 분해라기보다는 한 거대 클래스 내에서의 기능적 분해(functional decomposition)가 되는 것이죠. Wirfs-Brock은 지능(Intelligence)의 고른 분포를 OOD의 중요요소로 뽑습니다. NQueen 오브젝트는 그 이름을 "Manager"나 "Main''''''Controller"로 바꿔도 될 정도로 모든 책임(responsibility)을 도맡아 하고 있습니다 -- Meyer는 하나의 클래스는 한가지 책임만을 제대로 해야한다(A class has a single responsibility: it does it all, does it well, and does it only )고 말하는데, 이것은 클래스 이름이 잘 지어졌는지, 얼마나 구체성을 주는지 등에서 알 수 있습니다. (Coad는 "In OO, a class's statement of responsibility (a 25-word or less statement) is the key to the class. It shouldn't have many 'and's and almost no 'or's."라고 합니다. 만약 이게 자연스럽게 되지않는다면 클래스를 하나 이상 만들어야 한다는 얘기가 되겠죠.) 한가지 가능한 지능 분산으로, 여러개의 Queen 오브젝트와 Board 오브젝트 하나를 만드는 경우를 생각해 볼 수 있겠습니다. Queen 오브젝트 갑이 Queen 오브젝트 을에게 물어봅니다. "내가 너를 귀찮게 하고 있니?" --김창준
         음.. 아직 구현은 안해보고 그냥 생각해본거지만, 체스 말과 보드가 타이트하게 연결되어도 큰 문제는 아닐 것 같은데요. 보드를 Singleton 으로 모든 Queen들이 공유하는 객체로 생각해도 좋을 것 같고요. (Queen에 눈이 달렸던지, 그렇지 않으면 체스 플레이어같이 Queen이 존재하고 있는 세계에 대한 답을 내려줄 신 (?) 이 존재하던지 둘중 하나가 될듯 하다는. ^^;) 아직 OO 관점으로는 그냥 생각만 해보는중. --석천
         for each city in the route:
         제 말을 {{{~cpp mainProgram.runEverything()}}}을 실행하면 모든 게 마술처럼 알아서 실행되게 하라는 뜻으로 오해하지는 않았으면 합니다. 위 superman의 예에서는, 전자의 경우 superman을 제대로 이용해 먹으려면 superman의 내부적 구조를 알아야 합니다. superman의 구현에 종속적이 되는 셈이죠. 하지만 후자는 그게 디커플링이 됩니다. 자기가 매일 가는 길에 있는 도시를 방문하는 것은 superman이 스스로 수행할 수 있어야 할 책임이 있다 이거죠. Queen이라는 객체가 여덟개가 있다고 칩시다. 얘네들한테 "너는 저 여왕을 공격할 수 있니?"하고 묻고 그 결과를 가지고 여왕을 배치하고 하는 것을 하나의 추상(abstraction)으로 묶는 것이 어떨까요? 묻지말고 "시키자"는 것이죠 -- 여덟개의 똑똑한 Queen 객체를 만들고 하나씩 "판 위로 올라가라"고 시킵니다. 이렇게 하면 Board와 Queen에 커플링이 생겨서 문제가 되는 건 아니냐고 했는데, 어차피 Queen은 Board 없이는 별 의미가 없고, 또, 그렇게 하지 않더라도 어떻게든 비슷하거나 혹은 더 큰 정도의 커플링이 존재합니다. 어쨌건, 지금 단계에서는, 더 나은 방법이라기보다 그냥 다른 방법이라고 편안하게 생각하면 좋을 듯 합니다. --김창준
  • EnglishSpeaking/TheSimpsons/S01E02 . . . . 15 matches
         Marge : All right. Mmm. How about "he"? Two points. Your turn, dear.
         Bart : As in, "This game is stup-id."
         Lisa : Yeah, Bart. You're supposed to be developing verbal abilities
         Marge : We could look this "id" thing up in the dictionary.
         Marge : I think it's under the short leg of the couch.
          Twenty-two points, plus triple word score
          plus 50 points for using all my letters.
         Homer : Wait a minute, you little cheater.
          You're not going anywhere until you tell me what a "kwyjibo" is.
          A big, dumb, balding, North American ape with no chin.
         Homer : I'll show you a big, dumb, balding ape!
         [EnglishSpeaking/TheSimpsons]
  • EuclidProblem/Leonardong . . . . 15 matches
         #include <iostream.h>
         #include <math.h>
         #define max( m, n ) ( m > n ? m : n )
         #define min( m, n ) ( m < n ? m : n )
          long small = min( m, n );
          long remain;
          remain = big % small;
          if ( remain == 0 )
          small = remain;
         void main()
          cin >> A >> B;
          if ( int(y) == y )
          if ( abs(xResult) + abs(yResult) > abs(x) + abs(int(y)) ){
          yResult = int(y);
  • Googling . . . . 15 matches
         {{|Google, Inc (NASDAQ: GOOG), is a U.S. public corporation, initially established as a privately-held corporation in 1998, that designed and manages the internet Google search engine. Google's corporate headquarters is at the "Googleplex" in Mountain View, California, and employs over 4,000 workers.|}}
         Google, Inc 는 미국의 공공기업이다. 이 기업은 1998년에 개인적으로 설립된 회사이다. 이 회사는 구글 인터넷 검색엔진을 설계하고 운영한다. 구글은 Mountain View 에 Googleplex에 본사를 두고 있다. 그리고 4000명 이상의 사원이 있다.
         ||Upload:googleplex-mountain-view.jpg||
         || link || 주어진 URL의 링크를 포함한 모든 페이지를 보여줍니다 ||
         || allintitle || 페이지의 제목만을 이용해서 검색한다. 내용에서는 찾지 않는다. ||
         || allintext || 페이지의 본문을 이용해서 검색한다. ||
         || allinurl || URL 링크에서 존재하는 문장을 통해서 검색한다. ||
         || allinanchor || 링크된 글안에서 검색을 한다. ||
         검색엔진에서 {{{~cpp operating system concepts filetype:ppt}}} 를 쳐보자.
         [SearchEngine]
  • HASH구하기/강희경,김홍선 . . . . 15 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         int total(char arr[],int n)
          int temp=0;
          for(int i=n;i<=95;i=i+5)
          temp = temp + int (arr[i]);
         void main()
          ifstream fin("input.txt");
          int i=0;
          int a,b,c,d,e;
          while(!fin.eof())
          fin.get(arr[i]);
  • HASH구하기/권정욱,곽세환 . . . . 15 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         int main(){
          cin >> secret;
          ifstream fin(secret);
          int sum_ascii[5] = {0,0,0,0,0};
          for (int i = 0; i<20; i++){
          for (int j = 0; j<5; j++){
          for (int j = 0; j<5; j++){
          fin.get(identi[i][j]);
          if (fin.eof())
          if (fin.eof())
          for (int j = 0; j<5; j++){
  • 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 변수에 접근 할 수 있습니다.
  • Linux/배포판 . . . . 15 matches
         자, 그렇다면 의문을 해소해보자. 운영체제의 중심은 무엇인가? 운영체제라고하는 것은 결국 하드웨어와 사용자 사이를 이어주는 가교라고 생각하면 된다. 이런 영역을 '''kernel'''이라는 용어로 부른다. 이 kernel 에도 종류가 대단히 다양한데... 그중에 하나가 리눅스이다. 리눅스이외에도 Mach, BSD, Darwin, Hurd 등등등 우리가 생각하는 것 보다 훨씬더 다양하고 많은 커널들이 존재한다. (대략 Mach 커널이 좀 유명하다. 모듈 커널의 장점을 이야기 하면서 리눅스의 커널의 비효율성에 대한 평가자료로 많이 이용되었다. 지금은 리눅스도 대부분의 장치들을 모듈로 올리는 것이 가능하지만..) 윈도우의 경우 이 커널은 관리하는 회사가 오로지 마이크로소프트뿐이기 때문에 OS패키지를 라이센스라는 이름 아래에 단독으로 공급을 하지만 리눅스는 이와 달리 커널은 공개되어있고 어떤 묶으로 묶어서 팔거나 발표를 하는 것은 자유롭기에 다양한 배포판이 존재한다.
         추가)요즘엔 CD안에 Linux 를 넣어버린 LiveCD라는 형태도 나온다.Knoppix, UbuntuLiveCD 등등 개인이 만들어서 배포하는 경우도 많다.
         관련배포판) [http://centos.org CentOS], [http://fedoraproject.org FedoraLinux], [http://annyung.oops.org/ 안녕리눅스] 그외 국내의 대다수 배포판] [http://annyung.oops.org/ ] [http://annyung.oops.org/ ] [http://annyung.oops.org/ ]
         GNU에 정신에 입각해서 만들어지는 배포판이다. 공식명식 GNU/Debian Linux 이다. 데비안의 이름은 배포자인 이안, 그의 부인 데보라 이름을 땃다고한다. 패키징은 과거 dselect를 이용하였고, 현재는 aptitude 라는 툴을 기반으로 한다. ''(관리정보를 보관하기 때문에 서로 호환성을 갖지는 않는다고 한다.)'' 데비안의 안정판은 대단히 배포사이의 공백기가 긴 것으로 유명하다. 혹자들은 메인테이너들이 굉장히 신중한 사람들이라고 평가하기도 한다. ''(01년도 Woody를 시작으로 05년 Sarge 사이에 딱 하나의 안정판이 있을뿐이다. 대략 2년에 한번꼴이다.)'' 대신에 Stable, Testing, Unstable, Experimental 이라는 단계적 개념으로 패키지를 제공해서 사용자의 선택의 폭을 제공한다. 그렇지만 Unstable 이라고해도 페도라만큼 최신의 패키지들로 묶이지는 않고 어느정도 성숙이 되면 패키지로 포함되는 경우가 다반사이다. 안정적 서버운영을 위해서는 안정판을 설치하는 경우가 많고, 일반용도로는 Testing, Unstable을 설치한다. (www.kldp.org 가 현재 데비안 Sarge-stable 로 운영중이다.) 패키지방식은 의존성에 대한 철저한 관리가 특징이다. 데비안이 유명한 것은 바로 이 패키지 관리의 엄격함 때문이기도 하다. 그렇지만 최신의 기술로 만들어진 소프트를 원하는 이들에겐 그다지 좋은 덕목은 아니다. 네트워크를 통해서 인스톨하기 때문에 base-system 이상의 것들은 네트웍이 연결된 상태에서 설치가 가능하다. 대신에 모든 배포판은 CD1장으로 구성된다. (net-install의 경우 대략 100MB 정도) 현재는 데비안의 엄격한 패키징 방식에서 좀더 유연한 자식격 배포판인 우분투이 나오면서 상당한 인기를 끌고 있다. 우분투는 데스크탑용 OS를 표방하고 발표되어으며, 실제로 CD로 엔터만 누르면서 완전설치가 가능하다.
         [http://debianusers.org/DebianWiki/wiki.php/DebianRedhat RedhatVSDebain]
         관련 배포판) [http://www.ubuntulinux.org UbuntuLinux], [http://www.knoppix.org/ KnoppixLiveLinux], [http://www.userlinux.com/ UserLinux]
         리눅스를 처음 시작하면서 어떤 배포판을 선택하는 지는 중요하다. 같은 리눅스이기는 하지만 사실 대부분의 리눅서들은 패키지 매니저를 이용하여 프로그램을 설치하는 편이지, 자신이 원하는 버전이 패키지 트리에 없다던가 버그가 있는 경우를 제외하면 직접 제작사 홈페이지에서 바이너리를 설치하는 경우는 거의 없다. 이럴때 동일한 패키지를 쓰는 사람한테 묻기가 편하고 이해하기가 편하기 대문이다. 2005년 현재 리눅스를 시작한다면 현시점에서는 [http://www.ubuntulinux.org/ Ubuntu]를 가지고 시작해서 [http://www.debian.org Debian] 으로 옮겨가길 권한다. 동일한 패키징 방식을 가지고 있으면서 우분투는 데스크탑 리눅스를 표방하고 있는 만큼 다루기가 쉽기 때문이다. 우분투에서 기본을 익히고 직접 서버를 운영하는 수준으로 올라가면 데비안으로 옮겨가면 배포판을 바꾸는데에 대한 부담을 전혀 느낄 필요가 없다. 나의 경우 대략 2주일 정도를 밤새면서 이런 저런 문제를 해결하면서 왠만한 문제는 이제 스스로 해결할 정도가 되었는데... 한번쯤은 해볼 만한 도전이라고 생각한다. 쓰다보면 윈도우 없이도 살 수 있는 세상도 있다는 생각도 하게 된다. 실제로 리눅스를 쓰는 사람들은 가장 게으른 배포판으로 데비안, 젠투정도를 꼽는다. 그만큼 잘 안변하고 한번 설치하면 거의 새로 설치해야할 일이 없다는 것을 말하는 것이다.
         [Linux]
  • Map연습문제/임민수 . . . . 15 matches
         #include <iostream>
         #include <string>
         #include <vector>
         #include <algorithm>
         #include <map>
         using namespace std;
         void main()
          char input[100];
          cin.getline(input,100);
          for(int i=0; i<100; i++)
          char temp = input[i];
          for(vector< map<char, char> >::iterator j = vector_map.begin(); j<vector_map.end(); j++)
  • MineSweeper . . . . 15 matches
         [http://online-judge.uva.es/p/v101/10189.html 원문보기]
         === About MineSweeper ===
         === Input ===
         === Sample Input ===
          || [문보창] || C++/Python || 50분/40분 || [MineSweeper/문보창] ||
          || [이승한] || Flash/java?? || ? || [MineSweeper/이승한] ||
          || [황재선] || Java || ? || [MineSweeper/황재선] ||
          || [신재동] || C++ || 40분 || [MineSweeper/신재동] ||
          || [김회영] || C++ || ? || [MineSweeper/김회영] ||
          || [Leonardong] || [Python] || 3시간 3분 || [MineSweeper/Leonardong] ||
          || [곽세환] || C++ || 30분+ || [MineSweeper/곽세환] ||
          || [김민경] || Py || || [MineSweeper/김민경] ||
          || 김태훈 [zyint] || python || || [MineSweeper/zyint] ||
          || [허아영] || C++ || 1시간 || [MineSweeper/허아영] ||
          || 김상섭 || C++ || 많이..ㅡㅜ || [MineSweeper/김상섭] ||
  • NetworkDatabaseManagementSystem . . . . 15 matches
         The network model is a database model conceived as flexible way of representing objects and their relationships. Its original inventor was Charles Bachman, and it was developed into a standard specification published in 1969 by the CODASYL Consortium. Where the hierarchical model structures data as a tree of records, with each record having one parent record and many children, the network model allows each record to have multiple parent and child records, forming a lattice structure.
         The chief argument in favour of the network model, in comparison to the hierarchic model, was that it allowed a more natural modeling of relationships between entities. Although the model was widely implemented and used, it failed to become dominant for two main reasons. Firstly, IBM chose to stick to the hierarchical model in their established products such as IMS and DL/I. Secondly, it was eventually displaced by the relational model, which offered a higher-level, more declarative interface. Until the early 1980s the performance benefits of the low-level navigational interfaces offered by hierarchical and network databases were persuasive for many large-scale applications, but as hardware became faster, the extra productivity and flexibility of relational systems won the day.
  • PowerOfCryptography/이영호 . . . . 15 matches
         k = log(n root string:p)
         // p를 string으로 받음
          = 1/n * log(string:p)
          = 1/n * ( log( 10의 (string:p의 자릿수)승) + log((x) = string:p의 맨 첫숫자와 두번째 숫자를 일의자리로 한 것을 반올림. -> 예제에서 1.8) )
         #include <stdio.h>
         #include <string.h>
         #include <math.h>
         int func(char *p, int n){
          int ret;
          int t = strlen(p)-1;
          ret_buf = (int)ret_buf + 1; // 올림.
          ret = (int)ret_buf; // 내림일경우 여기서 저절로 내린다.
  • PrimaryArithmetic/허아영 . . . . 15 matches
         #include <iostream>
         using namespace std;
         #include <math.h>
         int numlen(int num)
          int turn = 0;
         int process(int n1, int n2)
          int nums1[11], nums2[11];
          int i, max_len, big_num, small_num, num1_len, num2_len, operation = 0;
         int main()
          int n1, n2, operation;
          while(cin >> n1 >> n2)
  • ProgrammingPearls/Column5 . . . . 15 matches
         == A Small Matter of Programming ==
          * 발판을 마련하자.(Build scaffolding.)
          * 그냥 Binary Search의 슈도코드를 C문법으로 바꿔놓은 것이다.
          * 그러면서 버그 있는 Binary Search를 보여주고 있다.
          * 큰 프로그램에서는 툴에서 제공하는 디버깅을 쓰지만, 이렇게 작은 알고리즘 같은 것에서는 print문 같은걸 쓰는게 편하다고 한다.
          * 또한 Binary Search의 가장 중요한 전제 조건인 sort되었는가? 체크해주는 함수를 앞에다 써준다. 이 경우에는 search를 한번만 해주면 n + lg n 이렇게 될것이다. 하지만 sort되었는가 체크하는 함수는 한번만 해주면 되므로, search를 한 몇천,몇만번 돌리면 결국 lg n 에 수렴할 것이다.
          * 참고서적 : Writing Solid Code
         === Timing ===
         === Principles ===
          * Scaffolding
          * Coding : 하이레벨의 슈도코드로부터 시작하자.
          * Testing : 큰 시스템보다는 발판 내에서 테스트하는게 훨씬 쉽다.
          * Debugging : 발판이랑 고립된 프로그램이나, 임베디드된 곳에서는 하기가 힘들다. Column5에서 설명한다.
          * Timing
         ["ProgrammingPearls"]
  • ProjectZephyrus/Client . . . . 15 matches
         [http://zeropage.org/browsecvs/index.php?&dir=ProjectZephyrusClient%2F Zephyrus Client CVS] 참조.
          + ---- MainSource - 메인 프로그램 소스 & JCreator 프로젝트 화일이 있는 디렉토리
         || Story Point || 내용 ||
          노동의 양으로 생각해야 하는건 Engineering Task 가 아닌가요? 암튼 이번의 경우는 필수 기능 기준으로 잡아보긴 했습니다. (엄격하게 나눈건 아니긴 하지만요.~) --석천
          ''Engineering Task나 User Story 모두 노동의 양으로 estimation을 해서, 포인트를 준다. 이렇게 "비용"이 적힌 카드들을 놓고, 어느 것을 하고, 미루고, 먼저하는 지 등의 순위 결정은 "중요도 중심", "위험도 중심"이 있는데, 작년 이후 익스트리모들(KRW)은 복잡하게 이런 걸 따지지 말고 그냥 비지니스 가치로 순서를 정하라고 한다. --JuNe''
         Task Point - 영서 & 석천이 Main Frame 연습용 코드 작성했을때 기준을 1 Task Point 로 잡음. (대강 120 라인정도/1시간 정도의 난이도 & 속도)
         || '''내용''' || '''Task Point''' || '''완료여부(○)''' ||
         || buddy list class refactoring (tree model move method) || . || ○ (20분) 6/5 ||
         || 친구 등록 입력창 만들기 || 0.5 || ○(1분 -_-; {{{~cpp InputDialog}}}로 해결) (6/7) ||
         || ZephyrusClient Refactoring || 0.5 || . ||
         || 내용 || Task Point || . ||
         || 내용 || Task Point || . ||
  • RandomWalk/김아영 . . . . 15 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         const int max = 12;
         int main()
          int board[max][max]={0,};
          int x, y, arsize, end=1;
          int direction;
          int total=0;
          cin >> arsize ;
          cin >> x ;
          cin >> y ;
          for(int i=0;i<arsize;i++)
          for(int j=0;j<arsize;j++)
  • 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"]
  • Scheduled Walk/김홍선 . . . . 15 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         void main(){
          int arr[100][100]={0, };
          int x,y,i;
          ifstream fin("input.txt");
          fin >> i;
          fin >> i;
          fin >> x;
          fin >> y;
          fin >> ch;
          for(int k=0;k<i;k++)
          for(int j=0;j<i;j++){
  • Shoemaker's_Problem/김태진 . . . . 15 matches
         #include <iostream>
         #include <algorithm>
         #include <stdio.h>
         using namespace std;
          int time;
          int fee;
          int per;
          int j;
         int comp(array a,array b)
         int main()
          int i,j,N,n,k;
          printf("%d",arr[j].j+1);
          if(j!=N-1)printf(" ");
          if(i!=n-1)printf("\n\n");
  • Trace . . . . 15 matches
         #include <iostream>
         #include <windows.h>
         #include <tchar.h>
         #include <crtdbg.h>
         using namespace std;
         #define TRACE Trace
         #define TRACE ;
          int nBuf;
          nBuf = _vstprintf(szBuffer, lpszFormat, args);
          //_tprintf(szBuffer); // 이부분은 console window 에 출력해주는 부분이다.
          OutputDebugString(szBuffer); // debug output window 에 string 출력
  • UglyNumbers/구자겸 . . . . 15 matches
         #include <stdio.h>
         int unum(int num); // 심술쟁이수인지 검사한다
         void main()
          int i,j; // 카운터
          int uarr[2000] = {0,}; // 심술쟁이 수들의 배열
          int ind; // 알고 싶은 인덱스
          scanf("%d", &ind); // 알고 싶은 심술쟁이 수를 얻는다
          for ( i=1,j=1;j<=(ind-1);i++ ) {
          printf("%d 번째 수는 %d이다\n",ind,uarr[ind-1]);
         int unum(int num)
  • UglyNumbers/이동현 . . . . 15 matches
          * @return int 코드 1:삽입완료 -1:이미 값 있음 1:맨 마지막에 추가
          public int insert(double n) {
          for (int i = 0; i < arr.size(); i++) {
          public int start() {
          int index = 1;
          while (index != 1500) {
          insert(((Double) arr.get(0)).doubleValue() * 2.0);
          insert(((Double) arr.get(0)).doubleValue() * 3.0);
          insert(((Double) arr.get(0)).doubleValue() * 5.0);
          index++;
          System.out.println("The 1500'th ugly number is "+new BigDecimal(((Double)arr.get(0)).doubleValue()));// + " " + arr.size());
          public static void main(String[] args) {
  • WeightsAndMeasures/신재동 . . . . 15 matches
          def __init__(self, weight, strength):
         def inputATurtle():
          numsStr = raw_input().split(' ')
          weight = int(numsStr[0])
          strength = int(numsStr[1])
         def inputTurtles(turtles):
          (weight, strength) = inputATurtle()
          for t in turtles[1:]:
          for t in turtles:
          print t.weight, t.strength, t.canAmount
         if __name__=='__main__':
          inputTurtles(turtles)
          print numOfTurtle
          def __init__(self,foo):
         >>> l=[A(i) for i in xrange(5,0,-1)]
  • ZeroPageServer/계정신청상황 . . . . 15 matches
         finger 자신id
         || 신청인 || id || 학번 || join ||신청|| email || 상태(완료작업) ||
         || 이혜영 || pristine || 97 || xxxx || zm ||serenity56 엣 hotmail.com || zrmr||
         || 정진균 || comein2 || 99 || 1999 || z ||comein2 엣 secsm.org ||zr ||
         || 조동현 || rubywind || 97 || 1997 || z ||rubywind 엣 orgio.net ||z ||
         |||||||||||||| join + zp합류 년도 ||
         || join1997 || join1998 || join1999 || join2000 || join2001 || join2002 || join2003 ||
  • sort/권영기 . . . . 15 matches
         #include<iostream>
         #include<algorithm>
         #include<vector>
         using namespace std;
         vector < vector <int> > number;
         int cmp(int s, int w)
         int main(void)
          int n, i, j, ans = 0;
          cin>>n;
          cin>>number[0][i];
          sort(number[1].begin(), number[1].begin() + n, cmp);
  • usa_selfish/김태진 . . . . 15 matches
         // main.cpp
         #include <stdio.h>
         #include <stdlib.h>
         #include <algorithm>
         using namespace std;
          int left;
          int right;
         int compare(const void* a,const void* b);
         int comp(cow a,cow b);
         int main()
          int N,i,j,k;
          printf("%d",k);
         int compare(const void* a,const void* b)
         int comp(cow a,cow b)
  • wxPython . . . . 15 matches
         wxWindows 를 기반한 다중플랫폼 Python GUI Toolkit.
         C로 짜여진 버전으로 바인딩된 형태이며, 각종 IDE 와 찾은 충돌로인해 많은 문제를 일으키지만, PyDev (eclipse plugin) 과 굉장히
         궁합이 좋다. (단지 PyDev 가 wx 모듈에서 발생한는 exception handling 메시지를 보여주지 않기 때문에 불편하다)
          * http://huniv.hongik.ac.kr/~yong/MoinMoin/wiki-moinmoin/moin.cgi/PythonScript
          * http://maso.zdnet.co.kr/20010300/insidelinux/article.html?id=335&forum=0 - 마소 2001년 3월호 관련 기사
          * http://www-903.ibm.com/developerworks/kr/linux/library/l-wxpy.html?dwzone=linux
          * [http://www.roebling.de wxDesigner] - GUI 디자인 툴. GUI 디자인 한 결과물을 wxPython, wxWindows 등의 코드로 변환할 수 있다.
         [TkProgramming], [wxPython], [PyGTK], [PyQt]
  • 달리기/강소현 . . . . 15 matches
         public class Running {
          public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
          int M = sc.nextInt();
          int T = sc.nextInt();
          int U = sc.nextInt();
          int F = sc.nextInt();
          int D = sc.nextInt();
          int [] path = new int[T];
          for(int i=0; i<T; i++){
          int run = 0;
          for(int i=0; i<T; i++){
          System.out.println(i);
  • 데블스캠프2006/월요일/연습문제/웹서버작성/변형진 . . . . 15 matches
          * 디렉토리명으로 접근한 경우 index.html, index.htm, index.php 순서로 가져옴
          * GET Method으로 넘어온 Query String를 처리한다.
         $index_file = array("index.html", "index.htm", "index.php");
         $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
         socket_bind($socket, $host, $port);
          foreach($index_file as $idxf)
          $result = join("\r\n", $res);
          $result = join("\r\n", $res);
          echo "Binary-safe Read: ";
          $result = join("\r\n", $res);
          * PHP로 짜면 스크립트 언어 특성상 프로그래밍이 즐겁다고나 할까요? 그런 느낌이 좋아서 PHP를 선호하긴 하지만, UI를 제외한 코어 루틴만큼은 레퍼런스와 샘플을 함께하면 대부분의 언어로 같은 루틴을 만들 수 있을 거라고 생각해요. 그래도 어느정도는 비 웹언어에 익숙해져야 하지않을까 싶어 C++, Java, C#을 고민하다 C#을 선택해서 해봤는데, C#이 클라이언트단 어플리케이션에서도 효용성을 가지려면 Windows Vista가 출시된 후의 상황을 지켜봐야 할 것 같고, 아직은 C/C++이 더 대세인건 분명해보이네요. 사실 저같은 경우에는 아직은 연구하고 싶은 관심사가 '대용량 데이터베이스 기반 검색 엔진'과 '형태소 분석 기반 자연어 처리'로 DB와 문자열 처리에 관한 부분인데, DB 처리는 일단 RDBMS에서만큼은 PHP처럼 수월한 언어가 없고, 문자열 처리는 Perl이 다른 언어들에 비해 월등하다보니 그런 언어를 도메인 언어로 해오지 않았나 싶네요. ㅋㅋ - [변형진]
  • 데블스캠프2006/월요일/함수/문제풀이/김대순 . . . . 15 matches
         #include<iostream.h>
         bool team684(int member, int gun, int boat)
         main()
          int power;
         #include<iostream>
         #include<time.h>
         using namespace std;
         int dice(void)
         int main()
         #include<iostream>
         using namespace std;
         void main()
  • 데블스캠프2008/등자사용법 . . . . 15 matches
         Ending
         <165.194.17.136-Ending>
         <165.194.17.136-Ending>
         <165.194.17.136-Ending>
         <165.194.17.136-Ending>
         단순 교육이 아닌 innergame방식의 교육을 통한 획기적인 교육.
         <165.194.17.136-Ending>
         <165.194.17.136-Ending>
         If you reach your dream, Think other idea by your fixed idea.
         <165.194.17.136-Ending>
         <165.194.17.136-Ending>
         I have dream, and I'm going to reach my dream. 다시말해서 더욱 낙관적으로 살고 제 꿈을 이루기 위해서 열심히 하겠습니다. 물론 그전에 이명박이 사라져야합니다
         <165.194.17.136-Ending>
         <165.194.17.136-Ending>
         <165.194.17.136-Ending>
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/정종록 . . . . 15 matches
         body {background-image:url('http://wstatic.dcinside.com/new/photo/sosimarine.jpg')}
         padding-left:100px;
         //background:url("http://wstatic.dcinside.com/new/photo/sosimarine.jpg");
         a.min{
         margin:10px;
         <a href="http://zeropage.org/" alt"" class="min">zeropage</a>
         <a href="http://caucse.net/" alt"" class="min">caucse</a>
         <a href="http://www.naver.com/" alt"" class="min">naver</a>
         <a href="http://www.joara.com/" alt"" class="min">joara</a>
         body {background-image:url('http://wstatic.dcinside.com/new/photo/sosimarine.jpg');
         pedding:0px;
         margin:0px;
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/변형진 . . . . 15 matches
         #include <stdio.h>
         struct zergling {
          int hitP;
         } zerglings[2];
         int main() {
          int i = 0;
          zerglings[0].hitP = zerglings[1].hitP = 50;
          while (zerglings[1].hitP > 0) {
          int damage = 5 - 0;
          zerglings[1].hitP -= damage;
          printf("저글링 0이 저글링 1에게 데미지 %d를 입혀 HP가 %d가 되었습니다.\n", damage, zerglings[1].hitP);
          printf("저글링 1이 죽었습니다.\n");
  • 데블스캠프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
          public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
          int d = sc.nextInt();
          int [] num = new int[d+1];
          for(int i=2; i<num.length; i++){
          int k = sc.nextInt();
          find(num[d-3],num[d-2],k);
          private static void find(int x, int y, int k) {
          int i=1;
          System.out.println(i+"\n"+(k-x*i)/y);
  • 마름모출력/김정현 . . . . 15 matches
         if __name__ == '__main__':
          a=str(raw_input("패턴 입력: "))
          b=int(input("변의 길이 입력: "))
          for n in range(b*2-1):
          l.insert(n," ")
          l.insert(b-1,a)
          for m in range(b):
          for n in range(b*2-1):
          print l[n],
          print ""
          for m in range(b-1):
          for n in range(b*2-1):
          print l[n],
          print ""
  • 마름모출력/이승한 . . . . 15 matches
         limit = input()
         for num in range(limit):
          print str(' '*int(limit-num-1))+str('#' * int(num+1))+str('#'*num)
         for num in range(limit):
          print str(' '*int(num))+str('#'*int(limit-num))+str('#'*int(limit-num-1))
         limit = input()
         for num in range(limit):
          print str(' '*(limit-num)) + str('$'*((num+1)*2-1))
         for num in range(limit-1):
          print str(' '*(num+2)) + str('$'*((limit-num-1)*2-1))
  • 마방진/조재화 . . . . 15 matches
         #include<iostream>
         using namespace std;
         int arr[7][7];
         int main()
          for(int i=0; i<7; i++)
          for(int j=0; j<7; j++)
          for(int j=1; j<6; j++)
          for(int j=1; j<6; j++)
          int x = 2;
          int y = 1;
          int count = 2;
          int xx,yy;
          for(int i=0; i<7;i++)
          for(int j=0; j<7; j++)
  • 벡터/권정욱 . . . . 15 matches
         #include <iostream>
         #include <string>
         #include <vector>
         #include <algorithm>
         using namespace std;
          string name;
          int score;
         int main(){
          student_num1.name = "Park Jin-young";
          student_num4.name = "Kim Su-jin";
          sort(vec.begin(), vec.end(), compare);
          vector<student>::iterator i=vec.begin();
          for(i = vec.begin(); i != vec.end(); i++)
  • 벡터/임민수 . . . . 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++)
  • 보드카페 관리 프로그램 . . . . 15 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          cout << today->tm_min << endl;
         - in {table1, table2, table3} {1,2,3,4}
         >> in table3 2
         table3 : 2 persons : in 3:00
         >> in table2 3
         table3 : 2 persons : in 3:30
         >> in table3 2
         table3 : 2 persons : in 3:00
         table3 buy drink 3
         3:00 ~ 4:00 : 2 persons : 3 drink :4500 won
  • 새싹교실/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
  • 새싹교실/2011/무전취식/레벨5 . . . . 15 matches
          * Type Casting에 대해 알아 보았습니다.
          * 예) int -> float, float -> int로 자동변환되는것을 automatically type casting 이라 PPT에 정의되어있습니다.
         int a=3, b=2;
         printf("%d",c);
         int a=3, b=2;
         printf("%d",c);
          * Dangling Else에 대해 알아보았습니다.
          * Else가 의도한 if와 짝을 이루지 못하고 있는 상태를 Dangling Else라 합니다.
          * printf출력 방식 잊지 말것.
          * 함수는 input과, 내부 동작, ouput으로 이루어져있습니다. 함수의 return 타입과 return은 꼭 맞추어야합니다.
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2012/도자기반 . . . . 15 matches
         그전에 헤더파일을 불러오는 부분(#include<stdio.h>)과 main함수의 형태(int main(void){return 0;})에 관해서도 설명했습니다.
         (stdio가 뭘 뜻하는지, 다른 헤더파일에는 무엇이 있는지 와 main앞에 int는 왜붙은건지 괄호안에 void는 뭔지 왜 마지막에 return 0;을 썼는지에 관해서 설명했습니다. 하지만 아직 함수를 안배워서 그런지 이해가 잘 가는것 같지는 않았지만 일단 이렇게 알아두면 된다고 했습니다.)
          * 다양한헤더파일을 설명해줬습니다. 2주차 예제에 새로 등장한 stdlib.h, time.h 에 포함되는 간단한 함수들을 설명했습니다. 그리고 #define을 쓰는 이유도 설명했습니다. 랜덤변수를 얻기 위한 rand함수와 사용법 등을 알려주면서 다시 한번 winapi.co.kr 에 대해서도 언급했습니다. 또한 srand(time(NULL))을 사용하여 씨드를 설정해줘야 매번 다른 값이 나오는 것도 설명 했습니다.
         #include<stdio.h>
         int main(void){
         printf("hello wordl");
         #include<stdio.h>
         void main(){
          printf("하염");
  • 새싹교실/2012/새싹교실강사교육/4주차 . . . . 15 matches
         1. Wiki에 Ice breaking 및 진행 상황 정리.
         #include<stdio.h>
         int main(){
          int ten = 10;
          int get = 0;
          fprintf(ftr, "%d",ten);
          printf("%d",get);
         #include <stdio.h>
         int main()
          printf("성공적으로 복사가 완료되었습니다!\n");
         3.4 파일 입출력 스트림 fopen, fclose, fscanf, fprintf
         3.5 stdin, stdout
         http://rogerdudler.github.com/git-guide/index.ko.html
  • 새싹교실/2012/열반/120326 . . . . 15 matches
         int f(int x); // 정수(정의역) x를 인자로 받아 정수(공역)를 반환하는 함수 f 를 '선언' 한 것입니다.
         #include <stdio.h>
         int f(){ // 정수 5를 반환하는 함수 f 입니다.
         main(){
          printf("%d", f());
         int f(int x){
         int f(int x){
         void p(int n)
          printf("%d\n", n);
         int main()
          int x=7;
  • 숫자야구/곽세환 . . . . 15 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          int input;
          int ques[3], ans[3];
          int strike = 0, ball = 0;
          int i, j;
          cin >> input;
          ans[0] = input / 100;
          ans[1] = (input % 100) / 10;
          ans[2] = input % 10;
  • 숫자야구/문원명 . . . . 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])
  • 숫자야구/손동일 . . . . 15 matches
         #include<iostream> // 랜덤함수는 iostream에 포함되어 있습니다.
         #include <ctime> // time(0)의 사용을 위해 필요합니다.
         using namespace std;
         void main()
          // int x = rand(); // rand()함수는 랜덤한 숫자를 리턴하는 함수입니다.
          // int x1 = rand() % 10; // % 10 연산을 하면 x1 에는 10의 나머지가 될 수 있는
          // int x2 = rand() % 9 + 1; // % 9를 하면 0~9까지의 숫자가 들어갈 수 있고
          int x;
          int a[3];
          int soo;
          cin >> soo;
          int c[3];
          int i;
          int count =0;
          int count2=0;
  • 스택/Leonardong . . . . 15 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++];
          container[--order]=0;
          for (int i=0 ; i<order ; i++)
          cout << container[i] << " ";
  • 영어단어끝말잇기 . . . . 15 matches
          17. nine
          *V.a movement faster than walking.
          *N.a finish point of something.
          *N.a point of intersection
          *somebody do something with itself. cf) iteration
          *V.go to the inside
          * (in stories) a creature like a small man with white hair and a pointed hat who lives under the ground and guards gold and precious things: (informal) the gnomes of Zurich (= Swiss bankers who control foreign money)
          *V.effort for something
          *N.a kind of underwear brand
  • 이영호/지뢰찾기 . . . . 15 matches
         모기도 많고 지뢰찾기도 안되고 해서 지뢰찾기 Reverse Engineering
         Crack: 분석 완료 직후, Inline Patch로 배열 부분을 손보고 지뢰 찾기 시작 후 고급 기록 1초 갱신 완료.
         int func(int limit)
          int num = (int)rand();
         main_func()
          int base = 0x1E; // 가로길이 (30) <- 원래 main_func()의 매개변수로 받아온다.
          int height = 0x10; // 세로길이 (16)
          int count = 0x0A; // 지뢰 갯수(10)
          int map[height][base] = {0x0f, }; // 눈여겨 볼점은 x좌표는 뒤에 y좌표는 앞에 썼다는 점.. 지뢰 없는 곳은 0x0f로 기록 있는 곳은 0x80
          int ret_base, ret_height;
          continue;
  • 자료병합하기/허아영 . . . . 15 matches
         #include <stdio.h>
         void main()
          int a[] = {10, 40, 70, 80, 90, 99};
          int b[] = {20, 30, 40, 50, 60, 70, 85, 90, 95, 97, 99};
          int c[20], i = 0;
          int turn_a = 0, turn_b = 0, turn_c = -1;
          printf("***************n");
          printf("*MERGE PROGRAM*n");
          printf("***************n");
          printf("A = ");
          printf("%d ", a[i]);
          printf("nB = ");
          printf("%d ", b[i]);
          printf("nC = ");
          printf("%d ", c[i]);
  • 정모/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
          * Google App Engine
          * Android Programming
          * Java Swing
          * Game Engine
          * Algorithm problem solving
          * Linux user
          * D2 CAMPUS SEMINAR 2015 참가
          * DevilsCamp 2015 - Game Programming in Java with LibGdx - [데블스캠프2015/첫째날]
          * 2015년 하계방학 Java 강사 - [https://onedrive.live.com/redir?resid=3E1EBF9966F2EBA!23488&authkey=!AHG1S-XLSURIruo&ithint=folder%2cpptx 수업 자료]
          * D2 CAMPUS SEMINAR 3회 참여
          * 9월 14일 정모 [OMS] - Cloud Computing
          * 설계패턴 TeamProejct https://github.com/SkywaveTM/wiki-path-finder
          * Wiki Path Finder (wikipedia api를 이용한 두 단어간의 연관성 추정, 2014년 2학기 자료구조설계 팀 프로젝트)
          * 2015년 설계패턴 팀 프로젝트의 기반 프로젝트가 됨. https://github.com/SkywaveTM/wiki-path-finder
          * GDG pre devfest 2013 seoul - 징격의 안드로이드. 그리고 밤샘. - https://github.com/ZeroPage/MorningTypeHuman
          * [PracticeNewProgrammingLanguage]
  • 최소정수의합/문보창 . . . . 15 matches
         #include <iostream.h>
         int find_min_sum(int bound_num)
          int n = 1;
         inline void show_min_sum(int n) { cout << n << " " << (n * n + n) / 2 << endl; }
         void main()
          show_min_sum(find_min_sum(3000));
          * 이렇게도 풀 수 있군요 - 김태훈[zyint]
  • 최소정수의합/허아영 . . . . 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 을 넣은 코드입니다. 한번 실행해 보세요. 더 나은 방법이 생각나실수도 있을것 같아요. 문제를 풀고 나서 어떤 점을 느끼셨나요? - 아무개
  • 코바예제/시계 . . . . 15 matches
         시간 객체에 대한 인터페이스는 ObjTimeServer이며 getTime()이라는 메소드를 가지고 있는데 getTime()는 문자 형식으로 현재의 시간을 반환해 준다. CORBA 객체를 작성하는 첫번째 단계는 인터페이스를 만드는 것이다. 인터페이스는 IDL로 작성되며 인터페이스는 IDL 컴파일러로 컴파일된다. 이 IDL 컴파일러는 기본적으로 사용자가 이용하는(예를들면 VisiBroker) ORB에 포함되어 있는 것이다. IDL로 작성된 인터페이스를 컴파일하면 컴파일러는 두 개의 코드 파일을 생성해 준다. 이 코드 파일들은 각 IDL 컴파일러가 사용하도록 약정된 프로그래밍 언어로 되어 있다. 여기에서 사용하는 ORB는 Java ORB이므로 코드 파일은 Java(Stub, Skeleton)로 되어 있을 것이다. IDL 컴파일러에 의해 생성되는 코드는 프록시 객체(proxy object) 및 스켈레톤 코드이다. 클라이언트는 프록시 객체를 사용하여 IDL로 표현된 인터페이스 타입의 객체 레퍼런스에 대한 호출을 생성한다. 바꾸어 말하녀 프록시 객체는 클라이언트가 작업을 위해 사용하는 대리("stand-in") 객체인데 원격 객체가 마치 지역 객체처럼 보이게 해준다는 것이다. 스켈레톤 코드는 이러한 인터페이스를 지원하는 객체에 액세스하기 위해 사용된다. 생성되는 코드는 위치 투명성을 구현한다. 위치 투명성을 통해 객체 레퍼런스를 변환하여 네트웍 연결을 퉁해 원격 서버로 보내며, 객체 레퍼런스에 대한 오퍼레이션에 따르붙는 파라미터를 ["마샬링"]하고, 이를 객체 레퍼런스가 지시하는 객체의 현재 메소드에 전달하여 메소드를 수행하고 그 결과를 반환하려고 하는 것이다. 바꾸어 말하면 클라이언트는 IDL 컴파일러에 의해 생성된 프록시 객체를 가지고 작업을 하는데, 그것이 마치 지역 객체로 작업하는 것처럼 보일 것이라는 의미이다. ORB와 통신하는 것이 프록시 객체의 임무이며 ORB는 네트웍 연결을 관리하고 파라미터를 실제 서버 함수에 넘겨주며 결과를 리턴한다. 이런 식으로 수행에 대한 투명성을 유지한다.
          interface ObjTimeServer {
          string getTime();
         public String getTime() throws SystemException {
         public static void main(String [] args) {
         ORB orb = ORB.init();
         System.err.println(e);
         클라이언트 구현은 기본적으로 다음 세 가지 단계를 통해 이루어진다. 먼저 CORBA 환경, 즉 ORB를 초기화한다. ORB를 초기화한다는 것은 ORB 의사 객체(pseudo-object)에 대한 객체 레퍼런스를 얻게 된다는 것을 의미한다. ORB가 '의사 객체'라 불리는 이유는 그 메소드가 런타임 시스템과의 통신을 통해 라이브러리의 형태로 제공되며, 의사 객체 레퍼런스는 CORBA 인터페이스 오퍼레이션에 대한 파라미터로 전달될 수 없기 때문이다. 그 다음 단계는 객체 레퍼런스를 얻는 것이다. 객체 레퍼런스는 불투명한 데이터 구조이다. 그러나 객체 레퍼런스를 문자열로 바꿈으로써 지속성을 가지게 될 수 있다. 이것은 '객체 레퍼런스의 문자열화'라 불리며, 그 결과 얻어지는 문자열을 일컬어 '문자열화 객체 레퍼런스'라고 한다.(IOR) 이 문자열화 객체 레퍼런스는 원래의 "유효한" 객체 레퍼런스로 다시 바뀔 수 있다. 이 과정은 CORBA, 즉 ORB 인터페이스에서 정의된 두 가지 오퍼레이션 object_to_string()과 string_to_object()를 이용하여 이루어진다. 모든 CORBA 2.0 호환 ORB는 상호 운용 가능한 문자열화 객체 레퍼런스를 실제 돌아가는 객체 레퍼런스로 바꿀 수 있다. 적절한 타입으로 객체의 범위를 줄이면 그러한 결과를 얻을 수 있다. 이러한 오퍼레이션을 'narrow'라 한다. ORB를 초기화하고 객체 레퍼런스를 얻은 후에야 CORBA 프로그래밍은 원래 의도한 표준 객체 지향 프로그래밍처럼 동작하게 된다. 클라언트가 객체의 메소드를 호출하게 되면, 실제로 그 메소드는 원격 객체와 함께 동작하지만 클라이언트가 보기에는 지역 객체와 함께 동작하는 것처럼 보인다.
         public static void main(String [] args) {
         ORB orb = ORB.init();
         object myObj = orb.string_to_object(args[0]);
         System.err.println(e);
  • 파스칼삼각형/이태양 . . . . 15 matches
         #include<stdio.h>
         void main(){
         int p[10][10]={0,};
         int i,j;
          printf("%4d",p[i][j]);
          printf("\n");
         #include<stdio.h>
         void main(){
         int p[10][10]={0,};
         int i,j;
         int c=0,r=0;
         printf("행의수를 입력하시오:"); scanf("%d",&c);
         printf("열의수를 입력하시오:"); scanf("%d",&r);
          printf("%4d",p[i][j]);
          printf("\n");
  • 파이썬으로익스플로어제어 . . . . 15 matches
         다음 win 32 extension 라이브러리를 설치하신뒤, 인터프리터 쉘에서 입력해보세요.~
          * [http://prdownloads.sourceforge.net/pywin32/pywin32-204.win32-py2.4.exe?download Python 2.4 버전]
          * [http://prdownloads.sourceforge.net/pywin32/pywin32-204.win32-py2.3.exe?download Python 2.3 버전]
         from win32com.client import Dispatch
         ie = Dispatch("InternetExplorer.Application")
         ie.Document.login.user_Id.value = "reset"
         ie.Document.login.passwd=" "
         ie.Document.login.submit()
          * ie의 type이 instance라고 나오는데, ie가 사용할 수 있는 메소드(맞나요?)에 대한 설명이 있는 문서가 어디 있나요? 어제 보여주신 id, pw를 입력폼에 넣는 메소드 및 사용법을 알고 싶어요. -- 재선
          자세한 내용은 http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/reference/objects/internetexplorer.asp 에의 컴포넌트들을 참조하세요. 주로 알아야 할 객체는 WebBrowser, Document 객체입니다. (login 예제는 나중에~) --[1002]
          * Document.body.innerHTML 이렇게 하면 body 에 있는 내용을 다운로드 받을 수 있다
  • 포항공대전산대학원ReadigList . . . . 15 matches
         “Data Structures and Algorithms in C++”, Mitchael T. Goodrich et al., John Wiley & Sons, 2004.
         “An Introduction to Formal Languages and Automata”, Peter Linz.
         “Introduction to Automata Theory, Languages, and Computation”, J. E. Hopcroft, R. Motwani,
         “Principles of Computer Architecture”, Miles J. Murdocca and Vincent P. Heurinng, Prentice Hall, 2000.
         “Computer Organization, The HW/SW interface”, D. Patterson and J. Hennesey, Morgan Kaufman, 1994.
          “Contemporary Logic Design”, Randy H. Katz, Benjamin/Cummings 1994.
         “Operating System Concepts: 6th Edition”, Silberschatz, Galvin, and Gagne John Wiley & Sons, 2004.
         “Operating System Principles”, Lubomir F,. Bic and Alan C. Shaw, Prentice-Hall, 2003.
         “Types and Programming Languages”, Benjamin C. Pierce, The MIT Press.
         “Concepts of Programming Languages” (6th edition), Robert W. Sebesta, Addison Wesley.
  • 피보나치/김재성,황재선 . . . . 15 matches
         #include<stdio.h>
         int fivo(int i) {
         int main() {
          int index = 0;
          int output = 0;
          printf("피보나치수열을 시작합니다 Made in Korea \n");
          printf("숫자를 입력해주시와요~ 캬캭\n ");
          scanf("%d", &index);
          printf("%d\n", fivo(index));
          printf("이프로그램제작에 도움을 주신 황재선형님꼐 감사를 드립니다");
  • 피보나치/김준석 . . . . 15 matches
         잠깐.. int pivo(present,next,p_num,num) <- 여기 변수들 앞에 int 붙여야 되는거 아닌가;;?
         어떻게 돌아갔데 int형 자료 변수를 받은거라 그런가 ;;; -준식
         #include<stdio.h>
         void main(){
          int num1, num2, count;
          printf("몇번째 까지 돌릴껀가요? : ");
          printf("\n %d 번째까지 구했습니다.\n",count);
         int pivo(int present,int next,int p_num,int num){
          printf(" %3d 번째 : %d \t", num - p_num,present); //현재 번째 = 돌리는 숫자 - 남은숫자
          if(!((num-p_num)%4)) printf("\n"); //돌리는 숫자-남은숫자가 4의 배수라면 한줄 띄기
  • 2학기파이선스터디/ 튜플, 사전 . . . . 14 matches
         >>> print 'id : %s, name : %s' % ('gslee','GangSeong')
         - 집합적이라는 의미에서 리스트나 튜플과 동일하나, 자료의 순서를 정할 수 없는 매핑(mapping)형이다.
         >>> dic['dictionary'] = '1. A reference book containing an alphabetical list of words, ...'
         '1. A reference book containing an alphabetical list of words, ...'
          key in D 와 같다.
         9. D.update(b) : for k in b.keys(): D[k]=b[k] 즉, 사전 b의 아이템들을 D에 추가시킨다.
         >>> for key in D.keys():
          print key, D[key]
         >>> for k,v in items:
          print k, v
         >>> for key in D:
          print key, D[key]
  • 3N+1Problem/1002_2 . . . . 14 matches
         도저히 수열스럽지 않아서 다시 숫자들 간의 관계를 이리 적어보던중, 지난번의 UglyNumber 에서의 문제접근법(DynamicProgramming)을 해봄. 혹시 앞의 계산값이 뒤의 계산에 이용되지 않을까 생각을 해보다.
         숫자들을 주욱 나열해보면서 해당 n 값 대비 count cycle Length 의 값은 고정적일것이라는 점과, 이 값을 일종의 caching 을 하여 이용할 수 있겠다는 생각이 들다.
          def __init__(self):
          return [self.value(each) for each in range(i,j)]
          def maxCycleLengthInRange(self,i,j):
          for each in range(i,j):
          >>> [c.value(n) for n in range(1,5)]
          >>> c.maxCycleLengthInRange(1,10)
          >>> c.maxCycleLengthInRange(100,200)
          >>> c.maxCycleLengthInRange(201,210)
          >>> c.maxCycleLengthInRange(900,1000)
         def main():
         def main2():
          print c.maxCycleLengthInRange(1,999999)
         if __name__=="__main__":
          psyco.bind(main2)
          main2()
          print "time :", end-start
  • 3N+1Problem/강소현 . . . . 14 matches
         ||Problem||1207||User||talin0528||
         #include <iostream>
         using namespace std;
         int length(int n){
          int len = 1;
         int maxLength(int num1, int num2){
          int i, j, max=0;
         int main(){
          int num1, num2;
          while(cin>>num1>>num2)
  • 3N+1Problem/곽세환 . . . . 14 matches
         #include <iostream>
         using namespace std;
         int cycle(int n);
         void main()
          int i, j, great_length;
          while (cin >> i >> j)
          int temp_i = i;
          int temp_j = j;
          int temp;
          int temp;
         int cycle(int n)
          int cnt = 1;
  • 5인용C++스터디/타이머보충 . . . . 14 matches
         Project -> Settings -> Link -> Object/library modules: 에 winmm.lib 추가
         #include <afxwin.h> // MFC core and standard components
         #include <afxext.h> // MFC extensions
         #include <afxdisp.h> // MFC Automation classes
         #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
         #include <afxcmn.h> // MFC support for Windows Common Controls
         #include <mmsystem.h>
         //{{AFX_INSERT_LOCATION}}
         // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
         void CALLBACK TimerProc(UINT uID, UINT uMsg, DWORD dwUser, DWORD dw1, DWORD dw2)
         int CMMTimerView::OnCreate(LPCREATESTRUCT lpCreateStruct)
         BEGIN_MESSAGE_MAP(CMMTimerView, CView)
  • AnEasyProblem/김태진 . . . . 14 matches
         #include <stdio.h>
         int bincount(int X);
         int main()
          int N,n,k=0;
          k=bincount(N);
          for(n=N+1;k!=bincount(n);n++){}
          printf("%d\n",n);
         int bincount(int X)
          int nf,kf=0;
  • 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 문서
  • CheckTheCheck . . . . 14 matches
         [http://online-judge.uva.es/p/v101/10196.html 원문보기]
          Queen King Knight
         === Input ===
         Game #d: white king is in check.
         Game #d: black king is in check.
         Game #d: no king is in check.
         === Sample Input ===
         Game #1: black king is in check.
         Game #2: no king is in check.
         Game #3: white king is in check.
  • ComputerNetworkClass/Report2006/BuildingWebServer . . . . 14 matches
          * http://orchid.cse.cau.ac.kr/course/cn/index.php?code=project2
          * [http://www.sockets.com/ Winsock2]
          * [http://www.terms.co.kr/Winsock2.htm 윈속2]
          * [http://msdn.microsoft.com/library/en-us/winsock/winsock/winsock_functions.asp Winsock Functions]
          * [http://dasomnetwork.com/~leedw/mywiki/moin.cgi/NetworkProgramming 네트워크프로그래밍]
          * [http://www.hal-pc.org/~johnnie2/winsock.html Winsock Tutorial]
          * [http://www.frostbytes.com/~jimf/papers/sockets/winsock.html#Figure_2 Skeleton server ]
          * [http://www.llnl.gov/computing/tutorials/pthreads/ pthead]
          * [CeeThreadProgramming]
  • Counting/하기웅 . . . . 14 matches
         #include <iostream>
         #include "BigInteger.h"
         using BigMath::BigInteger;
         #define MAX_NUM 1000
         int i, j, k, input;
         BigInteger number[MAX_NUM+1];
         void init(int num)
         int main()
          init(1000);
          while(cin>>input)
          cout<< number[input] <<endl;
  • DirectDraw/APIBasisSource . . . . 14 matches
         #ifndef WIN32_LEAN_AND_MEAN
         #define WIN32_LEAN_AND_MEAN
         #include <windows.h>
         LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
         int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
          wc.hInstance = hInstance;
          hWnd = CreateWindowEx( 0, "DXTEST", "DXTEST",
          WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT,
          CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hInstance, NULL );
          ShowWindow(hWnd, nCmdShow);
          UpdateWindow(hWnd);
          return (int)msg.wParam;
          return (int)msg.wParam;
         LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
          return DefWindowProc(hWnd, msg, wParam, lParam);
  • DocumentObjectModel . . . . 14 matches
         Upload:DOM_Inspector.png
         Document Object Model (DOM) is an application programming interface to access HTML and XML documents. It is programming language and platform independent. Behind the interface the document is represented with an object-oriented model.
         Different variants of DOMs were initially implemented by web browsers to manipulate elements in an HTML document. This prompted the World Wide Web Consortium (W3C) to come up with a series of standard specifications for DOM (hence called W3CDOM).
         DOM puts no restrictions on the document's underlying data structure. A well-structured document can take the tree form using DOM.
         Most XML parsers (e.g., Xerces) and XSL processors (e.g., Xalan) have been developed to make use of the tree structure. Such an implementation requires that the entire content of a document be parsed and stored in memory. Hence, DOM is best used for applications where the document elements have to be randomly accessed and manipulated. For XML-based applications which involve a one-time selective read/write per parse, DOM presents a considerable overhead on memory. The SAX model is advantageous in such a case in terms of speed and memory consumption.
  • EightQueenProblem2Discussion . . . . 14 matches
         문제를 나름대로 해결한 사람들은 StepwiseRefinement를 꼭 공부해 보세요.
         이미 알고리즘 수업 시간을 통해 생각해본 문제이기에 주저없이 백트래킹(BackTracking) 기법을 선택해서 슈도코드를 종이에 작성해보았고 그를 바탕으로 구현에 들어갔습니다.(''그냥 호기심에서 질문 하나. 알고리즘 수업에서 백트래킹을 배웠나요? 최근에는 대부분 AI쪽으로 끄집어 내서 가르치는 것이 추세입니다만... 교재가 무엇이었나요? --김창준 Foundations of Algorithms Using C++ Pseudocode, Second Edition 이었습니다. ISBN:0763706205 --이덕준'') 백트래킹은 BruteForce식 알고리즘으로 확장하기에 용이해서 수정엔 그리 많은 시간이 걸리지 않았습니다. 만일 EightQueenProblem에 대한 사전 지식이 없었다면 두번째 과제에서 무척 당황했을것 같습니다. 이번 기회에 코드의 적응도도 중요함을 새삼 확인했습니다. --이덕준
         놓인 자리를 알려주고 끝난다.) 이 적은 것을 토대로 코딩을 하였고 처음 여왕은 0,0에 놓았습니다. 생각한대로 코딩을 했다고 생각하고 실행을 하자 무한루프를 돌았습니다. 전 처음 여왕이 어느 위치에 놓이던간데 거기에 맞는 답이 있는거라고 생각했는데 그것이 잘못되었다고 생각합니다. 처음부터 이 문제의 답을 알고있었다면 프로그램을 짜는데 좀더 간결한 코드를 짤수있었을텐데 란생각이 들어서 코딩을 멈추고 종이를 꺼내 문제를 풀기 시작했습니다. 하지만 답은 나오지않았고 제가푸는방식(여왕을 먼저 아무위치에나 놓고 그위치에 맞게 가로세로대각선에 없는 곳에 놓는다)을 그냥 코딩을 하였습니다. 처음 여왕의 위치를 8*8에 돌아가면서 놓고 검사를 하였습니다. 무식하긴하지만 답은 나왔습니다. 두번째 과제는 처음 코딩할때부터 판의 크기와 여왕의 숫자를 define해서 썻기 떄문에 숫자만 바꾸어 주었습니다. 하지만 답이 맞는지 확신이 서지 않습니다. 그이유는 이문제의 대한 알고리즘을 모르기 때문이라고 생각합니다. 그리고 c++을 썻는데 방학동안 쭉 자바로 플밍하다가 c++을 쓴이유가 비주얼툴의 디버깅을 이용하려는 생각이었는데 무슨문젠지 디버깅을 할수없어서 참 난감했습니다. 디버깅하면 금방알수있는 문제를 눈으로 차근차근 훓으면서 봐야했습니다. --최광식
         두번째 문제에 답이 있었군요.. 역시 제답이 틀리군요 실패의 원인은 제대된 알고리즘이 없다는 것이라고 생각합니다 BackTracking 알고리즘을 보고 왔지만 이문제에 대한 설명도 보왔습니다. 하지만 알고리즘에 무지해서 그런지 잘 눈에 들어오지 않습니다. 그래도 밤새 풀면서(엉뚱한 답이다도) 오래만에 재밌었습니다. ^^-최광식
          ''기본적으로 이 문제는 알고리즘을 스스로 고안(invent)해 내는 경험이 중요합니다. BackTracking 알고리즘을 전혀 모르는 사람도 이 문제를 풀 수 있습니다. 아니, 어떻게 접근을 해야 BackTracking을 전혀 모르는 사람도 이 문제를 쉽게 풀 수 있을까 우리는 생각해 보아야 합니다.''
         BackTracking 이야기가 나오는데, 대강 수업시간에 들은것이 있었지만 그냥 연습장에 판을 그리고 직접 궁리했고요. 결국은 전체 방법에 대한 비교방법이 되어서 (8단계에 대한 Tree) 최종 구현부분은 BackTracking의 방법이 되어버리긴 했네요. (사전지식에 대해 영향받음은 어쩔수 없겠죠. 아에 접해보지 않은이상은. --;) --석천
         하..하하.. BackTracking이.. 뭐죠? 거꾸로.. 추적한다는 이야기같은데.. ㅡㅡa --선호[[BR]][[BR]]
         어제 서점에서 ''Foundations of Algorithms Using C++ Pseudocode''를 봤습니다. 알고리즘 수업 시간에 백트래킹과 EightQueenProblem 문제를 교재를 통해 공부한 사람에게 이 활동은 소기의 효과가 거의 없겠더군요. 그럴 정도일줄은 정말 몰랐습니다. 대충 "이런 문제가 있다" 정도로만 언급되어 있을 주 알았는데... 어느 교재에도 구체적 "해답"이 나와있지 않을, ICPC(ACM의 세계 대학생 프로그래밍 경진대회) 문제 같은 것으로 할 걸 그랬나 봅니다. --김창준
         학교에서 알고리즘 시간에 너무 많이 놀았기 때문인지.. -_-;; 우리 학교에서는 BackTracking이 AI시간에 배우는 부분이라서 그런지..
         BackTracking에 대해 찾아보니 결국 제가 한 방법이 그 방법이군요. 알고리즘자체는 좀 틀리지만 (전 리커시브를 이용...)
  • ErdosNumbers . . . . 14 matches
         [http://online-judge.uva.es/p/v100/10044.html 원문보기]
         === Input ===
         ''Smith, M.N., Martin, G., Erdos, P.: Newtonian forms of prime factors matrices''
         ''Martin, G.''
         각 시나리오에 대해 "Scenario i"(i는 시나리오 번호)라는 내용이 들어있는 행을 우선 출력한다. 그 다음 줄부터는 입력된 모든 이름에 대해 이름과 에르되시 수를 출력한다. 저자의 이름은 입력된 순서대로 출력된다. 에르되시 수는 시나리오에 들어있는 논문 데이터베이스를 기반으로 계산한다. 데이터베이스에 있는 논문으로 볼 때 에르되시와 전혀 관계가 없는 저자들의 에르되시 수는 "infinity"로 출력한다.
         === Sample Input ===
         Smith, M.N., Martin, G., Erdos, P.: Newtonian forms of prime factor matrices
         Erdos, P., Reisig, W.: Stuttering in petri nets
         Smith, M.N., Chen, X.: First oder derivates in structured programming
         Jablonski, T., Hsueh, Z.: Selfstabilizing data structures
         Hsueh, Z. infinity
         Link..라는 책이 생각나는군요. 에르도스 넘버... - [임인택]
  • Euclid'sGame/강소현 . . . . 14 matches
         ||Problem||2348||User||talin0528||
         public class Main{
          public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
          while(sc.hasNextInt()){
          int r1 = sc.nextInt();
          int r2 = sc.nextInt();
          private static void playGame(int r1, int r2) {
          int g, r, count=0;
          System.out.println("Ollie wins");
          System.out.println("Stan wins");
  • ImmediateDecodability/문보창 . . . . 14 matches
         #include <iostream>
         #include <cstring>
         using namespace std;
         const int MAX = 10;
         int main()
          int i, j, k;
          int count = 1;
          int nCode, len;
          while (cin.peek() != EOF)
          cin.getline(code[i], 11, '\n');
          continue;
  • JollyJumpers/Leonardong . . . . 14 matches
          for i in range( 1, aN ):
          if i not in aSet:
          for i in range( len(aSeries) - 1 ):
          inputString = sys.stdin.readline()
          seriesChar = inputString.split()
          seriesInt = []
          for char in seriesChar:
          seriesInt.append( int(char) )
          print JollyJumper().statementForSeries( seriesInt )
         if __name__ == '__main__':
         ## unittest.main()
  • Jython . . . . 14 matches
         = encoding 문제 =
          * raw_input 으로 한글을 그냥 받으면 깨진다.
         from java.lang import String
         inputData = raw_input(">>")
         inputData = String(inputData, "euc-kr")
          * [http://huniv.hongik.ac.kr/~yong/MoinMoin/wiki-moinmoin/moin.cgi/JythonTestCode PyUnit 과 Java Class 와의 만남 from 박응용님 위키]
          * [http://python.kwangwoon.ac.kr:8080/python/bbs/index_html_search?items=title&searchstr=Jython&bbsid=tips 파이썬정보광장 Jython 관련]
  • LC-Display/곽세환 . . . . 14 matches
         #include <iostream>
         using namespace std;
         #include <string>
         void makeDisplay(string n) // 수를 입력받음
          int i, j;
         void showDisplay(int s, int length) // 크기와 자리수를 입력받음
          int i, j, k, l;
         int main()
          int s; // 사이즈
          string n; // 넘버
          while (cin >> s >> n)
  • Linux/필수명령어 . . . . 14 matches
         참고서적) 체계적인 UNIX 사용법/박창윤, 정충일 공저
         Unix Power Tools/Shelley Powers, Jerry Peek, Tim O'Reilly
         || find x -name y -print|| http://bbs.kldp.org/viewtopic.php?t=58197&highlight=find 참조 ||
         symbolic link, hard link 에 관한 내용은 구글링하면 됨''
         || finger ''{id}'' || 시스템에 존재하는 유저의 정보를 출력한다 ||
         || find x -name y -print|| 디렉토리 x안에서 파일 y를 찾아서 화면에 그 결과를 보여줌||
         || ping || 목적지로 ICMP_REQUEST 보내 반응 시간을 측정. ping test 실시 ||
         || update-rc.d || rc.* 에 시작 프로그램을 등록한다. defaults 옵션을 줄경우 모든 running level 에 등록된다. (Debian) ||
         [Linux] [Linux/필수명령어/용법]
  • LoveCalculator/허아영 . . . . 14 matches
          ''sample input 2번째와 3번째가 인상적이군.; --[1002]''
         #include <stdio.h>
         #include <string.h>
         int sum_name(char name[25]);
         void main()
          ungetc(ch, stdin);
          int first_person_sum, second_person_sum;
          // result print
          printf("%.2f", percentage);
          printf(" %% \n");
         int sum_name(char name[25])
          int sum = 0, i = 0;
          그래서 gets쓰고 저런함수들 썼구나 ㅠㅠ - [zyint]
  • MagicSquare/은지 . . . . 14 matches
         #include <iostream>
         using namespace std;
         int main()
          int size;
          int i, j;
          cin >> size;
          int **board = new int * [size+2]; //동적 2차원 배열 생성
          board[i] = new int [size+2];
          int num = 1;
          int row = 1;
          int mid = size / 2;
          int col = mid + 1;
  • 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++)
  • Map연습문제/나휘동 . . . . 14 matches
         #include <map>
         using namespace std;
         void initilize()
         #include <iostream>
         #include <string>
         #include <vector>
         #include "rule.h"
         void main()
          initilize();
          string source = "wjgydlrtyffworxjbdzyrsybfwlrobffylryjbkyjrtbdcyyrvmbjlsrkugjglrmdcgdarjbjyftr";
          string decoded;
          for ( int i = 0 ; i < source.size() ; i++)
          for ( int rule = 0 ; rule < rules.size() ; rule++ )
  • MockObjects . . . . 14 matches
          -> MockObjects 자체가 인터페이스정의를 위한 도구로 이용할 수 있다. (TestFirstProgramming 에서는 Test Code가 일종의 인터페이스를 정의하기 위한 방법으로 이용된다.)
          * [http://no-smok.net/seminar/moin.cgi/mockobect_2epy mockobject.py] - Python MockObjects framework
          * 이용방법 - [http://xper.org/wiki/seminar/MockObjects MockObjects] 를 참조.
         === 참조 Link ===
          * http://www.mockobjects.com/endotesting.html.
          -> DeadLink
          * http://www.mockobjects.com/papers/jdbc_testfirst.html - MockObjects를 이용한 JDBC 어플리케이션 TestFirstProgramming
          -> DeadLink
          * http://no-smok.net/seminar/upload/PythonMock.htm
          -> DeadLink
          * [http://www.pragmaticprogrammer.com/starter_kit/ut/mockobjects.pdf Using Mock Objects] (extracted from pragmatic unit testing)
         ["ExtremeProgramming"], ["UnitTest"]
  • 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]
  • NumberBaseballGame/성재 . . . . 14 matches
         #include<iostream>
         #include<ctime>
         using namespace std;
         int main()
          int num;
          int strike=0;
          int ball=0;
          int rmatch[3];
          cin >> num;
          int match[3];
          int check=0;
          for(int i=0;i<3&& check==0;i++)
          for(int j=0;j<3 && check==0;j++)
  • ObjectOrientedReengineeringPatterns . . . . 14 matches
          * Refactoring의 저자 마틴 파울러가 서문을 작성해 주었다. (랄프 존슨도)
         Forward Engineering & Reverse Engineering 에 대한 좋은 텍스트. 일종의 Practice 를 제공해준다. 게다가 실제 Reengineering 경험을 하여, 해당 Practice 전에 해당 문제상황의 예를 적어놓음으로서 일종의 Context 를 제공해준다. 각각의 패턴들에 대해 장,단점 또한 적어놓았다.
         [1002] 의 경우 Refactoring for understanding 이라는 녀석을 좋아한다. 그래서 가끔 해당 코드를 읽는중 생소한 코드들에 대해 일단 에디터에 복사한뒤, 이를 조금씩 리팩토링을 해본다. 중간중간 주석을 달거나, 이를 다시 refactoring 한다. 가끔 정확한 before-after 의 동작 유지를 무시하고 그냥 실행을 해보기도 한다. - Test 까진 안달아도, 적절하게 약간의 모듈을 추출해서 쓸 수 있었고, 코드를 이해하는데도 도움을 주었다. 이전의 모인모인 코드를 읽던중에 실천해봄.
         See Also Xper:ObjectOrientedReengineeringPatterns, Moa:ObjectOrientedReengineeringPatterns , StephaneDucasse
  • 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);
  • ProgrammingPearls/Column4 . . . . 14 matches
         == Writing Correct Programms ==
          * For writing correct programms.
          * Problem Definition.
         === The shallange of binary search ===
          * 100명의 프로페셔널 프로그래머들에게 Binary search를 짜보라고 시켰다. 결과는? 90퍼센트의 사람은 버그 있는 Binary search를 짰다고 한다.
         === Writing the Program ===
          * 그냥 Binary search 만들어 가는 과정을 보여주고 있다.
         === Understanding the Program ===
          * Initialization
          * Termintion
         === Principles ===
          * Verification을 위한 general한 principles을 제공하고 있다.
          * Functions : precondition - 함수 시작 전에 보장되어야 할 조건 -과 postcondition - 함수 끝날때에 보장되어야 할 조건 -을 명시해준다.(...) 이러한 방법을 "Programming by contract"라 한다.
         ["ProgrammingPearls"]
  • ProjectPrometheus/EngineeringTask . . . . 14 matches
         || HTML Parsing || ○ ||
         || HTML Parsing 결과를 Object 로 반환 || ○ ||
         || Debian Server Setting; || ○ ||
         || ViewBook Linker 만들기 (and register as a service) ||
         || DB 에서 책에 대한 Total Point 를 가져와서 정렬, BookList 만들기 ||
          * 책에 대한 구체적인 정보를 확인할 수 있다. 책 정보를 볼 때, 타 인터넷 사이트에 대한 (amazon, wowbook, yes24 등등) Link 를 제공받아 이용할 수 있다.
         || 도서관 WEB 의 ViewBook Page 를 Parsing, ViewBook 객체로 추출 ||
         || ISBN 을 이용한 Linker 작성 (고려 : ISBN 이 DB 에 저장되는 것이 좋겠다고 생각) ||
         || DB 에 Total Point 누적 ||
         || RS Sorting and 출력 || ○ ||
         3 RS Implementation, Login ~1.5 (0.5) , 0.5
         || login 기능 구현 || ○ ||
          * Best Book (Rating, 책 정보 열람에 따른 점수 기준)을 확인할 수 있다.
         5 RS (UI), Admin 0.5, 0.5
  • ProjectZephyrus/Afterwords . . . . 14 matches
          * deadline 을 잘 맞췄다. - 6월 10일까지 완료하기로 한 약속을 지켰다.
          * Pair Programming 에 신경을 썼다. - Pair Programming 을 위한 진행 전략이 있었다.
          * WORA 를 경험해볼 수 있었다 - 윈도우즈에서 개발/테스트 한 서버 프로그램을 별다른 수정없이 linux 서버인 ZeroPageServer 에서 돌릴 수 있었다.
          * server 팀과 Client 팀의 전체 meeting 이 거의 전무했다.
          * deadline 을 잘 맞췄다.
          - 서버팀 진행자인 ["neocoin"] 의 성실성
          - 초기 Up Front Design 에 신경을 썼다. Design Pattern 의 도입으로 OCP (OpenClosedPrinciple) 가 잘 지켜졌다.
          * PairProgramming 에 신경을 썼다.
          - PairProgramming 전에 진행 전략을 세웠다. (5분 PP 라던지, PP 순서시 간단한 Modeling 뒤, Sequence Diagram 등을 그리고 난 뒤 진행을 한다던지, 후배들에게 프로그래밍이 완성되었을 경우에 어떠어떠하게 돌아갈 것이다 라고 미리 그 결과를 생각해보게끔 유도)
          * server 팀과 Client 팀의 전체 meeting 이 거의 전무했다.
          - 개인들 별로 IDE 의 선호가 달랐다. (["Eclipse"], ["IntelliJ"], ["JCreator"] )
          - 처음부터 고려하여 각 IDE별 Setting 화일을 업데이트 시켜주기. Batch File 등으로 자동화하기. IDE 의 통일 고려.
          - 프로젝트의 목적이 공부 라는 인식의 부족. 공부한 부분에 대해서 (Swing, Java Network 등)에 대한 문서화가 없었다. SPEC 과 Output 에 치중한 점이 있다.
  • PyServlet . . . . 14 matches
         === Resin 에서의 Setting ===
         <servlet-mapping>
         </servlet-mapping>
         요즈음(resin 3.08 기준)에는 이렇게 쓴다.
          <servlet-mapping url-pattern="*.py" servlet-name="PyServlet"/>
         resin/lib 디렉토리에 jython.jar 화일을 복사해준다.
          out.println("Testing...")
          print >>out, ""
          print >>out, ""
          print >>out, "Hello World..."
          print >>out, ""
          print >>out, ""
  • RandomWalk/유상욱 . . . . 14 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          int count, question, random, x = 0 , y = 0;
          cin >> question;
          int ** data = new int *[question];
          for(int i=0 ; i<question ; i++)
          data[i] = new int [question];
          for ( int j = 0 ; j < question ; j++ )
          for ( int j = 0 ; j < question ; j++ )
          for ( int j = 0 ; j < question ; j++ )
  • ReverseAndAdd/태훈 . . . . 14 matches
         {{{~cpp # -*- coding: cp949 -*-
          print n
          #print type(n)
          for i in range(len(str(n))):
          #print len(str(n))-i
          r=int(r)
          n=int(n)
          #print n+r
          #print hap(n+r)
          if n == int(reverse(n)):
          print '끝났셈!! : ' + n
         if __name__ == '__main__':
          n = raw_input('입력하셈 >> ')
          print hap(n)
  • ReverseAndAdd/황재선 . . . . 14 matches
          def __init__(self):
          while n != int(str(n)[::-1]):
          n += int(str(n)[::-1])
          def printRepeatNum(self, num):
          for i in range(0,num*2,2):
          print self.result[i], self.result[i+1]
         def main():
          num = input()
          for testcase in range(num):
          r.result += r.compute(input())
          r.printRepeatNum(num)
         if __name__ == '__main__':
          #unittest.main()
          main()
  • RonJeffries . . . . 14 matches
         ExtremeProgramming의 세 명의 익스트리모 중 하나
         Could you give any advices for Korean young programmers who're just starting their careers? (considering the short history of IT industry in Korea, there are hardly any veterans with decades of experiences like you.) -- JuNe
         This will sound trite but I believe it. Work hard, be thoughtful about what happens. Work with as many other people as you can, teaching them and learning from them and with them. Read everything, try new ideas in small experiments. Focus on getting concrete feedback on what you are doing every day -- do not go for weeks or months designing or building without feedback. And above all, focus on delivering real value to the people who pay you: deliver value they can understand, every day. -- Ron Jeffries
  • SeminarHowToProgramItAfterwords . . . . 14 matches
         SeminarHowToProgramIt에 대한 감상, 후기, 각종 질답, 논의, ThreeFs.
          * [창섭]:PairProgramming 자체가 인상적이었습니다. 음악을 아마추어로 하는 저로써는 음악외에도 이렇게 멋지게 콤비를 결성할 수 있다는 것에 놀라울 따름입니다. ^^;; 그리고 변수명을 고치는 것 자체가 Refactoring 에 들어가고 매우 중요하다는 사실도 감명이었습니다. ^^;
          * ["neocoin"] : UnitTest에서 추구한 프로그램의 설계에서 Divide해 나가는 과정은 여태 거의 디자인 타임에서 거의 수행을 했습니다. 그래서 여태 Test를 위한 코드들과 디버그용 코드들을 프로그램을 작성할때마다 그런 디자인에도 많은 시간을 소요했는데, 아예 프로그램의 출발을 Test에서 시작한다는 발상의 전환이 인상 깊었습니다. --상민
          * ["1002"] : 어제 Test Code : Product Code 간 중복 (return 0 !) 을 OAOO로 풀어서 Refactoring 을 해야 할 상황으로 규정짓는다는 말이 뒤통수를 한대 때리는 기분이였습니다;;
          * '테스트코드의 보폭을 조절하라. 상황에 따라 성큼성큼 보폭을 늘릴수도 있지만, 상황에 따라서는 보폭을 좁혀야 한다. 처음 TDD를 하는 사람은 보폭을 좁혀서 걸어가기가 오히려 더 힘들다' wiki:Wiki:DoTheSimplestThingThatCouldPossiblyWork. 이것이 훈련이 아직 덜된, TDD를 하는 사람에게는 얼마나 힘든지는 이번 RDP 짜면서 느꼈었는데. 열심히 훈련하겠습니다.
          * ["Refactoring"] 책에서는 ''Refactor As You Do Code Review'' 에 Code Review 를 위한 Refactoring을 이야기 하는데, Refactoring 을 위해서는 기본적으로 Test Code 가 필요하다고 할때 여기에 Test Code를 붙일테니까 상통하는 면이 있긴 하겠군요.
          * 흥미로운 것은 시끄러운 프로그래밍이였다는 것이였습니다. 혼자서 하는 프로그래밍(PairProgramming을 알고나니 새로운 개념이 생기는군요. 원래 Programming이라는 것은 혼자하는 거였는데, 이제 프로그래밍하면 pair인지 single인지 구분을 해주어야겠군요)을 하는 경우에는 팀원들이 소란스럽게 떠들면 ''아 지금 설계하고 있구나''하고 생각하고, 조용해지면 ''아 지금 코딩하고 있구나..''하는 생각이 들었는데, PP는 끝까지 시끄럽게 하는거라는 느낌이 들더군요. 그렇게 대화가 많아지는 것은 코딩에 대한 이해도의 증가와 서로간의 협력 등 많은 상승효과를 가져올 수 있다는 생각을 했습니다.
          * 그리고 관찰하던 중 PairProgramming에서 Leading에 관한 사항을 언급하고 싶습입니다. 사용하는 언어와 도구에 대한 이해는 확실하다는 전제하에서는 서로가 Pair에 대한 배려가 있으면 좀더 효율을 낼 수 있을꺼라 생각합니다. 배려라는 것은 자신의 상대가 좀 적극적이지 못하다면 더 적극적인 활동을 이끌어 내려는 노력을 기울어야 할 것 같습니다. 실습을 하던 두팀에서 제 느낌에 지도형식으로 이끄는 팀과 PP를 하고 있다는 생각이 드는 팀이 있었는데. 지도형식으로 이끄는 팀은 한 명이 너무 주도적으로 이끌다 보니 다른 pair들은 주의가 집중되지 못하는 모습을 보인 반면, PP를 수행하고 있는 듯한 팀은 두 명 모두 집중도가 매우 훌륭한 것 같아서 이런 것이 정말 장점이 아닌가 하는 생각이 들었습니다. 결국 PP라는 것도 혼자가 아닌 둘이다 보니 프로그래밍 실력 못지 않게 개인의 ''사회성''이 얼마나 뛰어냐는 점도 중요한 점으로 작용한다는 생각을 했습니다. (제가 서로 프로그래밍중에 촬영을 한 것은 PP를 전혀 모르는 사람들에게 이런 형식으로 하는 것이 PP라는 것을 보여주고 싶어서였습니다. 촬영이 너무 오래 비추었는지 .. 죄송합니다.)
  • StandardWidgetToolkit . . . . 14 matches
         [http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/main.html SWT 프로젝트 페이지]
         The most succinct description of the Standard Widget Toolkit component is this:
          The SWT component is designed to provide efficient, portable access to the user-interface facilities of the operating systems on which it is implemented.
          --''[http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/main.html SWT 프로젝트 페이지]'' 에서
          * [http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/dev.html SWT 2.1 문서] - Code Snippets 가 많아서, 따라하기 용이하다.
          1. SWT를 다운로드 받는다. [http://www.eclipse.org/downloads/index.php Eclipse downlaod]에서 받을수 있다. Upload:swt-2.1-win32.zip
          public static void main(String[] args) {
          * 실행을 시키기 위해서, 실행되는 위치에 swt-win32-2133.dll (Windows 경우)가 있어야 한다.
  • Steps/김상섭 . . . . 14 matches
         #include <iostream>
         using namespace std;
         #include <vector>
         unsigned int max[93000];
         unsigned int count;
         unsigned int found(unsigned int i)
          unsigned int temp = 0;
         int main()
          unsigned int i, length1, length2, testnum, temp = 1;
          vector<unsigned int> totallength;
          cin >> testnum;
          cin >> length1 >> length2;
  • 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;
  • SystemEngineeringTeam/TrainingCourse . . . . 14 matches
         = Training Course =
         == domain ==
          * 여러 도메인 구매대행 업체를 비교하였으나 가격과 서비스는 큰 차이가 없었음. 결국 결제가 가장 편한곳을 찾게 되었는데 [http://www.dotname.co.kr/ 닷네임 코리아]는 무통장 입금 방식의 결제가 가능했음. 개인별로 임시 계좌번호를 만들어 입금하면 바로 확인 되는 형식이라 별도의 확인 전화를 하거나 상대편에서 확인할때까지 기다릴 필요가 없었음. [http://www.hosting.kr/ hosting.kr]은 AcitveX방식의 결제를 해야 쉬운 결제가 가능하고 그 이외에는 절차가 너무 복잡해서 쓰지 않았음.
          * jereneal.me보다 훨씬 짧은데 사용가능한 도메인이었음. jkim은 jereneal kim도 되고, (tae) jin kim도 됨. .com등의 도메인은 없었음.
          * 구매 사이트는 hosting.kr 사용. 형진 선배의 추천으로 가격이 싸다고 들어서.
          * [박정근] - linuspark.net
          * 닉네임이자 세례명인 linuspark을 사용, 컴공인으로써 부담되긴 하지만 여태 쓰던걸 바꿀생각이 없으므로 그대로 사용.
          * .com은 이미 등록되어있었고, .org .net .info .me 등 중에서 .net이 가장 싸서 이걸로 결정, 주로 네트워크회사 등에서 사용한다지만 가격이 우선함.
         ||계열||RedHat||Debian||UNIX||RedHat||
         ||SELinux||o||x||x|| ||
          * [안혁준] - 우선 Window서버는 원격으로 관리하기가 매우 귀찮고 POSIX호환도 안되므로 일단 제외. UNIX/Linux계열중 활발한 활동이 있는데는 FreeBSD와 Redhat계열, 데이안 계열(Ubuntu).
          * Ubuntu - 맥분투라고 비난받고 있는 리눅스 뛰어난 사용자 편의성과 GUI를 갖추고 있고 문제 해결에 실마리가 될 포럼이 가장 활발하다. 하지만 대부분의 문제는 XWindows(이걸 뭐라 부르지..)쪽 문제. 빠른 패치와 다양한 패키지를 갖추고 있지만 언제 지원이 끊길지 모른다.
  • ToastOS . . . . 14 matches
         = Toast Operating System =
         The war was brief, but harsh. Rising from the south the mighty RISC OS users banded together in a show of defiance against the dominance of Toast OS. They came upon the Toast OS users who had grown fat and content in their squalid surroundings of Toast OS Town. But it was not to last long. Battling with SWIs and the mighty XScale sword, the Toast OS masses were soon quietened and on the 3rd November 2002, RISC OS was victorious. Scroll to the bottom for further information.
         Bochs 1.3 - Win32 [[BR]]
         작업 환경이 win 2000 pro로 들어가면서 바뀌었습니다.
         음..우선 전에 플로피 1번 섹터에서 부트섹트를 읽어 들여 부트 로더를 만든다고 까지 얘기한 것 같다.그럼 커널로더는 무엇일까? 부트 로더가 할 수 없는 기이한 일들을 커널 로더가 한다. 우선 보호모드로들어가는 것과 커널을 실행가능한 상태로 재배치 시키는 일등을 한다. 왜 그런 일을 할까? 부트로더가512kb밖이 되지 않아 그런 일들을 할 수 없기 때문이다. 위에 사진에서 보면 퍼런 글씨로 kernel loader라고나오는데 전에 CAU Operating System 어쩌구...가 먼저 나온다..다만 VMWARE를 쓰기때문에 그런 글씨가 안나온다. 여하튼 커널 로더가 가지는 의미는 우선 부트로더를 만들기 위해 어쩔수 없이 썼던 짜증나는 어셈을 이제 안써도 된다...ㅋㅋ 사실 어셈은 계속 써야 된다... 다만 이제 어쎔을 주로 쓰지 않고 C에서 인라인 어쎔을 쓸것이다. 이제 Boland C 3.1 버전의 컴파일러로 커널로더와 커널을 제작하게 될 것이다. 그럼 위와 같은 것을 그냥 해주면 되는거 아니냐? 라고 반문하는 사람이 있을 것이다.. 그렇다. 그냥 해주면 된다. 우선 컴파일할때 -S라는 옵션을 두어서 어셈블리 소스를 만들고 나서 그리고 그렇게 만들어진소스의 extern들을 링크 시키고 그런 다음 EXE파일을 실행가능한 재배치상태로 만들고 나서 부트로더와 같이뒤집어 씌우면 된다.
         아차 나는 boland C 3.1버전을 쓰지만 gcc를 쓰는 사람은 MAKE PLAIN BINARY FILE이라는 PDF가 있을 것이다.찾아서 읽어보면 아주 평평한 바이너리파일을 만드는 법을 배울것이다. 참고로 C에서 평평한 바이너리 파일을 만들기 위해 몇가지 주의사항이 있다. 그 PDF파일에 적혀 있으니 읽어보도록...
         ["InsideCPU"] 인사이드 CPU [[BR]]
         == And now... introducing the better alternative... RISC OS ==
  • UglyNumbers/송지원 . . . . 14 matches
         #include <iostream>
         using namespace std;
         const int MAX = 1500;
         int uglyNum(int);
         void main(){
          int num;
          cin >> num;
         int uglyNum(int num){
          int ugly[MAX];
          int n2, n3, n5; // ugly number에 2,3,5를 곱한 값
          int i2, i3, i5;
          for(int i=1;i<num;i++){
  • 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)
  • XOR삼각형/임다찬 . . . . 14 matches
         #include <stdio.h>
         int xor(int front,int back){
         int main(void){
          const int MAX=50;
          int tri[MAX][MAX]={0,};
          int i,j,k;
          int col=8;
          printf(" ");
          printf(" %d",tri[i][j]);
          printf("\n");
          printf("\n");
  • 개인키,공개키/강희경,조동영 . . . . 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();
  • 개인키,공개키/노수민,신소영 . . . . 14 matches
         #include<iostream>
         #include <fstream>
         using namespace std;
          ifstream input("input.txt");
          int i=0;
          while( input.get(a[i]) )
          output << (char) ((int) a[i] + 40);
          ifstream input("output.txt");
          int i = 0;
          while (input.get(a[i]) )
          output << (char) ((int)a[i]+216);
         int main()
  • 개인키,공개키/박능규,조재화 . . . . 14 matches
         #include <fstream>
         #include <iostream>
         using namespace std;
         int main()
          ifstream fin("source.txt");
          int count=0;
          for (int i=0 ; !fin.eof(); i++)
          //fin >> array[i];
          array[i] = fin.get();
          int key=100;
          int open_key;
          cin >> open_key;
  • 데블스캠프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();
  • 데블스캠프2006/월요일/연습문제/for/이차형 . . . . 14 matches
         #include <iostream.h>
         int main()
          int i;
          int j;
          int n;
          cin >>n;
         #include <iostream.h>
         int main()
          int num;
          int i;
          int mul=1;
          cin >> num;
  • 데블스캠프2006/월요일/연습문제/for/정승희 . . . . 14 matches
         #include <iostream>
         using namespace std;
         int main()
          for(int i=0;i<5;i++)
          for(int j=0;j<=i;j++)
          for(int j=0;j<=i;j++)
         #include <iostream>
         using namespace std;
         int main()
          int n,s=1;
          cin >> n;
          for(int i=1;i<=n;i++)
  • 데블스캠프2006/화요일/tar/나휘동 . . . . 14 matches
         #include <io.h>
         #include <stdio.h>
         void main()
          const int MAX_BUF= 1024;
          _finddata_t file;
          int handle= _findfirst("tar\*", &file);
          while( _findnext(handle, &file)==0 ){
          fwrite( &file, sizeof(_finddata_t), 1, to);
          sprintf(buffer, "tar\%s", file.name);
          for ( unsigned int i= 0 ; i < file.size ; i++ )
          while( fread(&file, sizeof(_finddata_t), 1, from) ){
          sprintf(buffer, "untar\%s", file.name);
          for( unsigned int i= 0 ; i < file.size ; i++ )
  • 데블스캠프2011/넷째날/Android/송지원 . . . . 14 matches
          public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
          Button button1 = (Button)findViewById(R.id.button1);
          Button button2 = (Button)findViewById(R.id.button2);
          Button button3 = (Button)findViewById(R.id.button3);
          String btn = "";
         == Main.xml ==
         <?xml version="1.0" encoding="utf-8"?>
         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:text="@string/hello"></TextView>
          android:id="@+id/inputText"></EditText>
          <LinearLayout
          android:id="@+id/linearLayout1"
          </LinearLayout>
         </LinearLayout>
  • 데블스캠프2012 . . . . 14 matches
          * [https://docs.google.com/spreadsheet/ccc?key=0ArWnDjSUKLWYdERWQTVqN2ZvbUVrVms3R0FScmQtN0E&usp=sharing 구글타임테이블링크]
          || 1 |||| [:데블스캠프2012/첫째날/배웠는데도모르는C 배웠는데도 모르는 C] |||| 웹 서비스구축 전반에 관한 이야기 |||| 점심? |||| |||| [http://zeropage.org/seminar/62072 재귀함수를 이용한 문제 해결] |||| [http://zeropage.org/seminar/62080 C로배우는 C++의원리] || 8 ||
          || 2 |||| 배웠는데도 모르는 C |||| 웹 서비스구축 전반에 관한 이야기 |||| [http://zeropage.org/seminar/62041 소켓, 웹, OpenAPI] |||| |||| 재귀함수를 이용한 문제 해결 |||| C로배우는 C++의원리 || 9 ||
          || 3 |||| 배웠는데도 모르는 C |||| [http://zeropage.org/index.php?mid=seminar&category=61948 APM Setup] |||| 소켓, 웹, OpenAPI |||| |||| [:데블스캠프2012/넷째날/묻지마Csharp 묻지마 C#] |||| C로배우는 C++의원리 || 10 ||
          || 4 |||| UI프로그래밍 |||| [http://prezi.com/uit4ykp5bx8g/javascript/ JavaScript 편견깨기] |||| [http://zeropage.org/seminar/62046 테스트를 위한 CTIP] |||| |||| [:데블스캠프2012/넷째날/묻지마Csharp 묻지마 C#] |||| [http://zeropage.org/seminar/62095 비트맵 가지고 놀기] || 11 ||
          || 7 |||| [http://zeropage.org/index.php?mid=seminar&category=61948 페챠쿠챠] |||| [http://zeropage.org/seminar/62023 Kinect] |||| [http://zeropage.org/62033 LLVM+Clang...] |||| |||| 새내기를 위한 파일입출력 |||| CSE Life || 2 ||
          || 8 |||| 페챠쿠챠 |||| Kinect |||| [:데블스캠프2012/셋째날/앵그리버드만들기 앵그리버드 만들기] |||| |||| 새내기를 위한 파일입출력 |||| CSE Life || 3 ||
         || Kinect || [임상현](17기) ||
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission3/서영주 . . . . 14 matches
          //MessageBox.Show(sender.ToString() + "\n" + e.ToString());
          int temp;
          temp = int.Parse(label4.Text);
          label4.Text = temp.ToString();
          String tempString = label5.Text;
          tempString = tempString.Substring(1, tempString.Length - 1) + tempString.Substring(0, 1);
          label5.Text = tempString;
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission4/서영주 . . . . 14 matches
          //MessageBox.Show(sender.ToString() + "\n" + e.ToString());
          int temp;
          temp = int.Parse(label4.Text);
          label4.Text = temp.ToString();
          String tempString = label5.Text;
          tempString = tempString.Substring(1, tempString.Length - 1) + tempString.Substring(0, 1);
          label5.Text = tempString;
  • 레밍즈프로젝트/그리기DC . . . . 14 matches
         #define BITMAP_OPT_HREVERSE 1
         #define BITMAP_OPT_VREVERSE 2
         #define BITMAP_OPT_HALIGN_CENTER 3
         #define BITMAP_OPT_VALIGN_CENTER 4
          int m_Vreverse;
          int m_Hreverse;
          void init(){
          init();
          void DrawBmp(UINT ITEM, int x, int y, int kRop=SRCCOPY){
          BITMAP m_bitmapInfo;
          newBitmap.GetBitmap(&m_bitmapInfo);
          m_pMemDC->StretchBlt(x-m_bitmapInfo.bmWidth*m_Halign, y-m_bitmapInfo.bmHeight*m_Valign,
          (m_bitmapInfo.bmWidth)*m_Hreverse, (m_bitmapInfo.bmHeight)*m_Vreverse,
          &BitMapDC, 0, 0, m_bitmapInfo.bmWidth, m_bitmapInfo.bmHeight, kRop);
          void setBmpOpt(int kBitMapOption){
          void DrawMaskBmp(UINT MASKITEM, UINT IMGITEM, int x, int y){
          this->DrawBmp(IMGITEM, x, y, SRCPAINT);
  • 문자반대출력/남도연 . . . . 14 matches
          void input();
         #include <math.h>
         #include <iostream.h>
         #include "sasa.h"
         #include <string.h>
         #include <stdlib.h>
         void Mirror::input(){
          cin.getline(munja, 14, '\n');
          int i;
         #include "sasa.h"
         void main(){
          count.input();
  • 반복문자열/최경현 . . . . 14 matches
         #include <stdio.h>
         #define NUMBER_OF_REPEAT 5
         void repeatString();
         void printSting();
         void main()
          repeatString();
         void repeatString()
          int i;
          printSting();
         void printSting()
          printf("CAUCSE LOVE\n");
  • 방울뱀스터디/GUI . . . . 14 matches
         == 창(Window) 만드는법 ==
         from Tkinter import *
         root.mainloop()
         entry.insert(0, '') # 처음부분에 공백 문자열을 추가
         var = IntVar() # 0을 초기값으로 하는 정수 변수 ()속에 숫자를 넣어주면 그값으로 초기화됨.
         var = IntVar()
         Radiobutton 함수호출에서 indicatoron=0을 넣어주면 라디오버튼모양이 푸시버튼모양으로 된다.
         textArea.insert(END, "Hello")
         textArea.insert(INSERT, "world")
         textArea.insert(1.0, "!!!!!")
         textArea.window_create(INSERT, window=button)
         INSERT는 현재 커서위치에 삽입
         window_create대신에 image_create를 이용하여 단추를 문서 안에 추가시킬수도 있음.
         textArea.deletet(INSERT) # 현재 문자 삭제
         index = textArea.index(INSERT)
         index에 '1.17'과 같은 값이 리턴됨.
  • 벡터/곽세환,조재화 . . . . 14 matches
         #include <iostream>
         #include <string>
         #include <algorithm>
         #include <vector>
         using namespace std;
          string name;
          int score;
         void main()
          sort(vec.begin(), vec.end(), compare);
          for (i = vec.begin(); i < vec.end(); i++)
          sort(vec.begin(), vec.end(), compareName);
          for (i = vec.begin(); i < vec.end(); i++)
          /*for(int i=0; i<vec.size(); i++)
  • 벡터/김수진 . . . . 14 matches
         #include<iostream>
         #include<vector>
         #include<string>
         #include<algorithm>
         using namespace std;
          string name;
          int score;
         int main()
          student3.name="shin";
          sort(vec.begin(),vec.end(),compare);
          vector<student>::iterator i=vec.begin();
          for(i=vec.begin();i!=vec.end();i++)
  • 벡터/박능규 . . . . 14 matches
         #include <iostream>
         #include <vector>
         #include <string>
         #include <algorithm>
         #include <functional>
         using namespace std;
         struct student{string name; int score;};
         void main()
          sort(sp.begin(), sp.end(), compare);
          for(vector<student>::iterator i= sp.begin();i!=sp.end(); i++)
          sort(sp.begin(),sp.end(),compare2);
          for(i=sp.begin();i<sp.end();i++)
  • 벡터/임영동 . . . . 14 matches
         #include<iostream>
         #include<algorithm>
         #include<string>
         #include<vector>
         using namespace std;
          string name;
          int score;
          student(string n, int s)
         int main()
          sort(vec.begin(), vec.end(), compare);
          for(vector<student>::iterator i=vec.begin();i!=vec.end();i++)
  • 벡터/황재선 . . . . 14 matches
         #include <iostream>
         #include <string>
         #include <vector>
         #include <algorithm>
         using namespace std;
          string name;
          int score;
         int main()
          sort(ss.begin(), ss.end(), compareWithName);
          for (vector<student>::iterator i = ss.begin(); i < ss.end(); i++) // 오름차순
          sort(ss.begin(), ss.end(), compareWithScore);
          for (i = ss.begin(); i < ss.end(); i++) // 오름차순
  • 새싹교실/2012/열반/120319 . . . . 14 matches
         == main 함수 ==
         main()
         == printf 함수 ==
         main()
          printf("%d\n", 1+1);
          * printf 함수가 명시적으로 정의되지 않았기 때문에 컴파일에 실패하거나, 경고가 뜸.
         == include ==
         #include <stdio.h>
         main()
          printf("%d\n", 1+1);
          * print decimal ( 십진수 )
         printf("%d", 10000000000);
         printf("%lld", 10000000000);
          * C언어에는 boolean 타입이 없습니다. 보통 int로 참과 거짓을 표현하고, 모든 비트가 0일 경우에만 거짓이고, 그 외는 참입니다.
  • 새싹배움터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.
  • 이승한/.vimrc . . . . 14 matches
         set smartindent
         set backspace=indent,eol,start
         set path=.,./include,../include,../../include,../../../include,../../../../include,/usr/include
         "============== key mapping ==============
         "<F2> : folding , <F3> : unfolding, <F4> : Tlist
         "folding
         "============= coding option ===========
         "============== buffer Setting ===========
  • 이영호/기술문서 . . . . 14 matches
         [http://wiki.kldp.org/wiki.php/DocbookSgml/GCC_Inline_Assembly-KLDP] - GCC Inline Assembly
         [http://wiki.kldp.org/wiki.php/DocbookSgml/Assembly-HOWT] - Linux Assembly HOWTO
         [http://linuxassembly.org]
         [http://linux.flyduck.com] - Linux Kernel
         [http://doc.kldp.org/KoreanDoc/html/Assembly_Example-KLDP/Assembly_Example-KLDP.html] - Linux Assembly Code
         [http://wiki.kldp.org/wiki.php/LinuxdocSgml/Assembly-HOWT] - Assembly-HOWTO V0.3c
         [http://blog.naver.com/post/postView.jsp?blogId=pjfile&logNo=40012816514] - setsockopt() && Windows lib version
         [http://bbs.kldp.org/viewtopic.php?t=24407] - Reference 에 의한 호출과 Pointer에 의한 호출 (결론: Reference는 포인터에 의해 구현되며 표현만 CallByValue 다.)
         [http://bbs.kldp.org/viewtopic.php?t=21673] - printf & sprintf 팁
         [http://bbs.kldp.org/viewtopic.php?t=2128] - GNU C 에서의 printf 의 확장 및 locale 사용
         [http://bbs.kldp.org/viewtopic.php?t=1045] - *NIX 계통의 Debug에 유용한 툴 (GNU/Linux에서는 strace = A system call tracer, ltrace = A library call tracer)
  • 정렬/민강근 . . . . 14 matches
         #include <fstream>
         #include <iostream>
         using namespace std;
         int main()
          ifstream fin("UnsortedData.txt");
          int ar[10000];
          int x;
          for(int i=0;i<10000;i++)
          int tem;
          fin >> tem;
          for(int j=0;j<10000;j++)
          for (int k = 0 ; k < 10000 ; k++)
          for (int p = 0 ; p<=10000 ; p++)
  • 정렬/장창재 . . . . 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++)
  • 정모/2003.3.5 . . . . 14 matches
          ZeroWikian 은 준회원이 아닙니다. ZeroWikian의 정의는 '''ZeroWiki 를 사용하는 사람들''' 입니다. NoSmok:OpeningStatement 를 정확히 읽어 보세요. --NeoCoin
          저 대로라면 DevilsCamp 가 신입회원의 모집기간이 되는것이 아닐까요? 승급이니 뭐니 하는 것 자체를 없앴으면 좋겠군요. 단, ZeroPagers 에 등록 가능한 날를 4,5월 뒤로 미루면, ZeroPagers 에 신입생들이 우루루 참여 했다가, 우루루 사라지는 것도 예방할수 있겠지요. --NeoCoin
          ["C++Seminar03"] 과 정모에서 결정된 세미나는 다른것인가요? 다른거라면 뭔가 따로 준비해야할텐데..;; - 임인택
         어느분께서 이 기록을 담당하셨는지는 모르겠지만, 요약에서 이모티콘 같은 감정 표현의 글자를 쓰지 말아주세요. 모두가 동일한 감정을 느꼈는지 안느꼈는지 확인하지 않은 이상 말이지요. --NeoCoin
          죄송할 필요는 없습니다. 참여하지 못한 저로서는 이러한 요약은 매우 반가운 일이지요. --NeoCoin
         NeoCoin 은 수요일에 야간 수업 1,2 ( 6시~8시 ) 를 수강해서, 앞으로도 수요일이라면 갈수 없는 상황입니다. --NeoCoin
         모두 다 ["여섯색깔모자"]를 읽고 다음에 정모때 임해 보는것은 어떨까요? 재미있을것 같은데요. --NeoCoin
          * 위키 페이지를 자유롭게 만들게끔 하고 싶다면, 많은 분들이 적극적으로 Wiki:WikiGnome 나, WikiGardener 가 되어서 NoSmok:WikiGardening 를 해야합니다. 기왕이면, WikiGarderner 에 몇명을 직접 등록해서 책임을 주는것도 좋을것 같습니다. --NeoCoin
          * 의견은 좋지만, 이를 모든 학우들에게 알려지기는 힘듭니다. 그래서 모집 기간이 있었던것이 아니었나요? ZeroPage 는 항상 열려는 있다고 ZeroPage 내에서는 회자되지만, 이것이 다른 분들의 기억속에 남아 있기는 힘든것 같습니다. 그래서, 일정한 모집 기간 정도와 그의 홍보는 필요하다는 생각이 듭니다. --NeoCoin
          * 지금 말씀하신것이 명시적인 모집 기간이 아닐까요? 같은 의도 입니다. --NeoCoin
          * 학기중 서버를 비교적 전력 공급이 원할한 서버실로 이전 계획 중입니다. --NeoCoin
  • 지금그때/OpeningQuestion . . . . 14 matches
         == Programming Language 는 어떻게 배워야 하나? ==
         == 몇가지 정도의 Progaramming Language 를 알고 있어야 하나? ==
         see Seminar:DontLetThemDecideYourLife, [http://zeropage.org/wiki/%C0%E7%B9%CC%C0%D6%B0%D4%B0%F8%BA%CE%C7%CF%B1%E2 재미있게공부하기]
          * off-Line 지향
          * on-Line 상에서도 가능
          * on-Line 연장 -> off-Line -> 만나면서 자유롭게 대한다.
         --NeoCoin
         우리는 지식 기술자가 될 사람들이며, 지식인 기술자의 기반은 책입니다. 그리고 책을 소비하는 전체의 20%에 우리가 속해 있을 것입니다. (80/20법칙 참고) 그렇다면 적어도 전체 평균 독서량의 3배는 봐야 하지 않을까? 생각을 합니다. 2000년 기준 통계로 한국인은 일년에 총 독서량 13.5 권을 읽습니다. (Seminar:독서량 ) 그러므로 대략 1년에 30권 정도에서 타협할수 있을것 같습니다. 이는 전공책을 합친 수치입니다.
         --NeoCoin
         앞서 답한 NeoCoin군의 경우 제 주변에서도 소문날 정도로 다독을 하는 친구입니다.
         잡지 경우, ItMagazine에 소개된 잡지들 중 특히 CommunicationsOfAcm, SoftwareDevelopmentMagazine, IeeeSoftware. 국내 잡지는 그다지 추천하지 않음. 대신 어떤 기사들이 실리는지는 항상 눈여겨 볼 것. --JuNe
          * Second Wind, Runner's High를 경험했다.
  • 최소정수의합/조현태 . . . . 14 matches
         #include <iostream>
         using namespace std;
         int sum(int);
         void main()
          const int COMPARENUM=3000;
          int n=1;
         int sum(int end_number)
         -export([minSum/2]).
         minSum(I, SumNum) when SumNum >= 3000 -> {I - 1, SumNum};
         minSum(I, SumNum) -> minSum(I + 1, SumNum + I).
         6> pr_2:minSum(1, 0).
  • 큐/aekae . . . . 14 matches
         #include <iostream>
         using namespace std;
         int arr[10];
         int i=0;
         int k=0;
         int main()
          int input;
          cin >> input;
          switch(input)
          cin >> arr[i];
          for(int j=i-1; j>=k; j--)
  • 파스칼삼각형/김준석 . . . . 14 matches
         #include<stdio.h>
         int pasc();
         void main(){
          int h,y;
          printf("몇행 몇열을 원하십니까?(행,열)(주의: 열=<행) : ");
         int pasc(int h,int y){
          int i,j;
          int pas[50][50] ={0,}; //우선 무식하게 배열을 선언하는 방식으로..
          if(h<y) printf("다시하세요 ㄱ-");
          else if(h<2) printf("1이겠지...");
          if(pas[i][j] && pas[i]) continue;
          printf("%d행 %d의 숫자는 %d 입니다",h,y,pas[h-1][y-1]);
  • 파일 입출력_1 . . . . 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();
  • 피보나치/곽세환 . . . . 14 matches
         #include <iostream>
         using namespace std;
         int f(int, int, int);
         int main()
          int n;
          cin >> n;
         int f(int a, int b, int n)
  • 피보나치/김민경 . . . . 14 matches
         #include <stdio.h>
         void input();
         void process(int,int,int);
         int n;
         void main()
          input();
         void input()
          printf ("수입력 = ");
         void process(int check1, int check2, int temp)
          if (temp==n) printf ("%d\n",check1);
  • 하노이탑/조현태 . . . . 14 matches
         #include <iostream>
         int answer=0;
         void hanoi(int, int, int, int);
         using namespace std;
         void main()
          int number;
          cin >> number;
         void hanoi(int from, int middle, int target, int num)
  • 1thPCinCAUCSE . . . . 13 matches
         '''1th Programming Contest in CAUCSE'''
          * 경시 3시간에 3문제가 출제된다. (open book, closed internet)
          printf ( "I got %d\n", n ); // 표준 출력 부분
          cin >> n; // 표준 입력 부분
          * ["1thPCinCAUCSE/ProblemA"] - A번 문제 "시계"
          * ["1thPCinCAUCSE/ProblemB"] - B번 문제 "숫자 입력"
          * ["1thPCinCAUCSE/ProblemC"] - C번 문제 "색깔 바꾸기"
          * ["1thPCinCAUCSE/ProblemA/Solution"]
          * ["1thPCinCAUCSE/ProblemB/Solution"]
          * ["1thPCinCAUCSE/ProblemC/Solution"]
         ["1thPCinCAUCSE/ExtremePair전략"]
         ["1thPCinCAUCSE/null전략"]
  • 2dInDirect3d/Chapter3 . . . . 13 matches
          만약 D3D를 쓰는 사람에게 "당신은 왜 D3D를 씁니까?" 라고 물으면, 일반적으로 이런 대답이 나온다. Z-Buffer라던지, 모델, 메시, 버텍스 셰이더와 픽셸세이더, 텍스쳐, 그리고 알파 에 대한 이야기를 한다. 이것은 많은 일을 하는 것처럼 보인다. 몇몇을 제외하면 이런 것들은 다음의 커다란 두 목적의 부가적인 것이다. 그 두가지란 Geometry Transformation과 Polygon Rendering이다. 간단히 말해서 D3D의 교묘한 점 처리와 삼각형 그리기라는 것이다. 물론 저것만으로 모두 설명할 수는 없지만, 저 간단한 것을 마음속에 품는다면 혼란스러운 일은 줄어들 것이다.
         RHW : Reciprocal of the homogenous W coordinate
         Blending weights : 블랜딩 매트릭스
         Vertex point size : 버텍스의 크기 (포인트스프라이트에서 사용한다.)
         Texture coordinates
         #define CUSTOM_VERTEX_FVF D3DFVF_XYZ
          SeeAlso : [http://member.hitel.net/~kaswan/feature/3dengine/rhw.htm]
         #define CUSTOM_VERTEX_FVF D3DFVF_XYZ | D3DFVF_RHW
         #define CUSTOM_VERTEX_FVF D3DFVF_XYZ | D3DFVF_NORMAL
         #define CUSTOM_VERTEX_FVF D3DFVF_XYZ | D3DFVF_RHW | D3DFVF_DIFFUSE
          디퓨즈 컬러 다음에 오는 정보이다. 이것도 D3DCOLOR값이다. 이것은 한 점의 "Shininess"를 알려준다.
         #define CUSTOM_VERTEX_FVF D3DFVF_XYZ | D3DFVF_RHW | D3DFVF_DIFFUSE | D3DFVF_SPECULAR
         ["2dInDirect3d"]
  • 2학기파이선스터디/서버&클라이언트접속프로그램 . . . . 13 matches
          serversock = socket(AF_INET, SOCK_STREAM)
          serversock.bind( (host,port) ) # 튜플!
          print 'Listening on Port %s (%s, %s)' % (port, 'host', backlog)
          print 'Connected for %s Client: %s, Port: %s' % (daytime, addr, port)
         if __name__ == '__main__':
          clientsock = socket(AF_INET, SOCK_STREAM)
          print 'connect: Connection retused'
          print svr_time
         if __name__ == '__main__':
          serversock = socket(AF_INET, SOCK_STREAM)
          serversock.bind( (host,port) ) # 튜플!
          print 'Listening on Port %s (%s, %s)' % (port, 'host', backlog)
          print 'Connected for %s Client: %s, Port: %s' % (addr, port)
         if __name__ == '__main__':
  • 2학기파이선스터디/채팅창 . . . . 13 matches
         from Tkinter import *
         class Main:
          def __init__(self, master):
          for i in range(400):#test scrollbar
          self.show.insert(END, str(i))
         #for input a string(?)
          for i in range(400):#test scrollbar
          self.list.insert(END, str(i))
         if __name__ == "__main__":
          win = Main(root)
          root.mainloop()
  • 3rdPCinCAUCSE . . . . 13 matches
         '''3rd Programming Contest in CAUCSE'''
         - 경시 3시간에 3문제가 출제된다. (open book, closed internet)
         printf ( "I got %d\n", n ); // 표준 출력 부분
         cin >> n; // 표준 입력 부분
          * [3rdPCinCAUCSE/ProblemA] - A번 문제 "오목"
          * [3rdPCinCAUCSE/ProblemB] - B번 문제 "사각형 넓이"
          * [3rdPCinCAUCSE/ProblemC] - C번 문제 "구슬 찾기"
          * [3rdPCinCAUCSE/ProblemA/Solution]
          * [3rdPCinCAUCSE/ProblemB/Solution]
          * [3rdPCinCAUCSE/ProblemC/Solution]
         [3rdPCinCAUCSE/FastHand전략]
         [3rdPCinCAUCSE/J-sow전략]
  • 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). 개선된 것이 있나요? 이 경험을 통해 얻은 지혜와 기술을 다른 문제에도 적용해 봅니다. 잘 적용이 되는가요?
  • API/WindowsAPI . . . . 13 matches
         #include <windows.h>
         LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);
         HINSTANCE g_hInst;
         int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance
          ,LPSTR lpszCmdParam,int nCmdShow)
          g_hInst=hInstance;
          WndClass.hInstance=hInstance;
          hWnd=CreateWindow(lpszClass,lpszClass,WS_OVERLAPPEDWINDOW,
          NULL,(HMENU)NULL,hInstance,NULL);
          ShowWindow(hWnd,nCmdShow);
         LRESULT CALLBACK WndProc(HWND hWnd,UINT iMessage,WPARAM wParam,LPARAM lParam)
          return(DefWindowProc(hWnd,iMessage,wParam,lParam));
         = Explained =
         [http://www.winapi.co.kr/win32lec/lec2/lec2-1-1.htm WinAPI 강좌]
  • BasicJAVA2005/실습2/허아영 . . . . 13 matches
         안에꺼는 int-> string 형으로 변환해서
         import javax.swing.*;
          private Container container;
          container = getContentPane();
          container.setLayout(grid1);
          for(int count = 0; count < 25; count++) {
          buttons[count] = new JButton(Integer.toString(count));
          container.add(buttons[count]);
          container.validate();
          public static void main(String[] args) {
  • BasicJava2005/5주차 . . . . 13 matches
          - max(), min() : 최대/최소값을 구한다.
          - 각종 Wrapper클래스(Integer, Double, Character...)
          - parseXXX : String을 각 형태로 변환한다.
          - toString : 지정한 숫자를 문자열 형태로 반환한다.
          public static void main(String[] args) {
          int a = Integer.parseInt(args[0]);
          int b = Integer.parseInt(args[1]);
          System.out.println(a + " / " + b + " = " + (a / b));
          } catch(ArrayIndexOutOfBoundsException e) {
          System.out.println("숫자를 2개 넣으세요");
          System.out.println("0으로 나누지 마세요");
          System.out.println("문자열을 넣지 마세요");
         5. try~catch~finally
          - try ~ catch 구문을 실행후 무조건 finally문장을 실행한다.
  • C++스터디_2005여름 . . . . 13 matches
          C++ 기초 플러스란 책 좋은데, 잘 안보더라구요, 지루하긴 해도, 내용은 좋은데 -[fnwinter]
          내용을 많이 다루는 게 왜 문제지? -[fnwinter]
          아~ 지루한게 문제다!...음...잼있게 하면 되재~ -[fnwinter]
         #include <math.h> -> #include <cmath>
         #include <iostream.h>
          -> #inculde<iostream>
          using namespace std;
         #include "sasa.h" -> 그래로..ㅡㅜ
         #include <string.h> -> #include <string>
  • CincomSmalltalk . . . . 13 matches
         Cincom 에서 만든 ["Smalltalk"] 툴
          * [http://zeropage.org/pub/language/smalltalk_cincom/VM-Windows.tar.gz Windows용 VM]
          * [http://zeropage.org/pub/language/smalltalk_cincom/Image.tar.gz VisualWorks image]
          * [http://zeropage.org/pub/language/smalltalk_cincom/BaseVisualWorks.tar.gz VisualWorks base components]
          * [http://zeropage.org/pub/language/smalltalk_cincom/ExtendedBase.tar.gz VisualWorks commonly used optional components]
          * [http://zeropage.org/pub/language/smalltalk_cincom/Goodies.tar.gz VisualWorks commonly used goodies]
          * [http://zeropage.org/pub/language/smalltalk_cincom/BaseProductDoc.zip VisualWorks documentation]
          * 연결 프로그램으로 압푹을 푼 디렉토리 안에 있는 bin\win 디렉토리 안에 있는 visual.exe 를 지정해준다.
          * [http://zeropage.org/pub/language/smalltalk_cincom/OsNoncom.exe ObjectStudio]
          * [http://zeropage.org/pub/language/smalltalk_cincom/osmanuals.exe ObjectStudio documentation]
  • EightQueenProblem/이준욱 . . . . 13 matches
         #include <stdio.h>
         #define MASK 0x01
          int i = 0;
          for (printf("\nResult: "); i < 8 ; printf("[%2x] ", rmap[i++]));
         int mask(unsigned char * tmap , register int x, register int y)
          register int i;
         void checkQueen(int depth)
          int i;
         int main()
  • EightQueenProblem/허아영 . . . . 13 matches
         #include <iostream>
         using namespace std;
         #define MAX_SIZE 8
         #define QUEEN_MAX_NUM 8
         int main()
          int board[8][8];
          unsigned int queenNum = 0;
          unsigned int tryX = 0, tryY = 0;
          for(int i = 0; i < MAX_SIZE; i++)
          for(int j = 0; j < MAX_SIZE; j++)
          for(int j = tryY; j < MAX_SIZE; j++)
          for(int j = 0; j < MAX_SIZE; j++)
  • HanoiProblem/영동 . . . . 13 matches
         extrn Writeint:proc
         main proc
          mov bx, 10 ;Writeint사용시에 10진수 출력
          int 21h
         main endp
          int 21h
          call Writeint
          int 21h
          call Writeint
          int 21h
          call Writeint
          int 21h ;빈칸을 출력
         end main ;프로그램 종료
  • HanoiTowerTroublesAgain!/하기웅 . . . . 13 matches
         #include <iostream>
         using namespace std;
         int testcase, i;
         int test[51];
         int counting(int num)
         int main()
          cin>>testcase;
          cin>>test[i];
          cout << counting(test[i]) <<endl;
         [HanoiTowerTroublesAgain!]
  • HaskellExercises/Wikibook . . . . 13 matches
         rep :: a -> Int -> [a]
         i :: [a] -> Int -> a
         (i) list index = (i) (tail list) (index-1)
         takeInt :: Int -> [Int] -> [Int]
         takeInt 0 xs = []
         takeInt n (x:xs) = x:takeInt (n-1) xs
         dropInt :: Int -> [Int] -> [Int]
         dropInt 0 xs = xs
         dropInt n (x:xs) = dropInt (n-1) xs
         sumInt :: [Int] -> Int
         sumInt [] = 0
         sumInt (x:xs) = x + sumInt xs
         scanSum :: [Int] -> [Int]
         scanSum (i1:i2:ints) = i1:scanSum (i1+i2:ints)
         diffs :: [Int] -> [Int]
         diffs (i1:i2:ints) = sub i2 i1:diffs (i2:ints)
         minimub list = foldr1 min list
         original1 xs = map f xs
         original2 xs = let f x y = read x + y
          in foldr f 1 xs
  • 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)
  • HowManyZerosAndDigits/허아영 . . . . 13 matches
         2006-01-15 04:52:22 Wrong Answer 0.037 Minimum
         #include <iostream>
         using namespace std;
         #include <math.h>
         unsigned int factorial(const unsigned int &num)
          unsigned int n = 1, factorialN = 1;
         unsigned int main()
          unsigned int N, B;
          unsigned int factorialN = 0;
          unsigned int zeroCount = 0, numCount = 0;
          while(cin >> N >> B)
  • JTDStudy/첫번째과제/영준 . . . . 13 matches
         import javax.swing.JOptionPane;
          public static void main(String [] args){
          int[] num = new int[3];
          int i, j ;
          num[0] = (int)(Math.random()*10);
          num[1] = (int)(Math.random()*10);
          num[2] = (int)(Math.random()*10);
          int strikeCounter = 0, ballCounter = 0;
          int[] temp = new int[3];
          int answer = Integer.parseInt(JOptionPane.showInputDialog("세자리수를 입력하세요"));
  • 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는 있다.
  • JavaStudy2004/오버로딩과오버라이딩 . . . . 13 matches
          기반 클래스에 이미 존재하는 함수를 파생 클래스에서 다시 선언하고, 구현하는 것을 함수를 재정의(Overriding)한다고 한다. 기반 클래스에 이미 존재하는 함수를 파생 클래스에서 재정의 하면, 파생 클래스에서는 기반 클래스에서 정의된 함수가 무시되고, 파생 클래스에 새로 정의된 함수가 동작하게 된다.
          예를 들어 People클래스에 move(int aX, int aY){this.position.x += aX;this.position.y += aY;}라는 함수가 있다. 그리고 People클래스를 상속 받은 Student이라는 클래스가 있다. 근데 '학생'은 좀 멍청해서 반대로 움직인다. 그렇다면 상속받은 move함수를 재정의 해줘야한다. move(int aX, int aY){this.position.x -= aX;this.position.y -= aY;}
          위에서 말한 People클래스의 move함수를 예를 들어보겠다. 위의 move함수는 정수형 인자를 매개변수로 받아들인다. 만약 people.move(1.1, 2.13)라는 명령어를 실행한다면 매개변수의 타입이 다르다는 에러가 발생할 것이다. 더블 형의 인자를 받아들이기 위해 move함수를 Overloading한다. move(double aX, double aY){this.position.x += (int)aX;this.position.y += (int)aY;} 두 함수 다 유효한 함수로 사용된다. 두 함수 중 어떤 함수가 호출될 것인지는 매개변수 값에 의해서 결정된다. 즉 오버로딩 된 함수들은 반드시 매개변수의 타입이 달라 서로 구별될 수 있어야 한다.
         people.move(5.1,11.8);//Overloading된 함수 호출, 이동 후 위치(115, 121)
          Overriding과 Overloading은 비슷하게 생겼기 때문에 혼동하기 쉽다. Overloading은 '너무 많이 싣다', '과적하다'라는 뜻으로 되어있고, Overriding은 '무시하다', '짓밟다'라고 해석된다. 사전적 의미를 기억해둔다면 두 개가 혼동될 때 도움이 될 것이다.
  • 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;
  • LightMoreLight/허아영 . . . . 13 matches
         simply,, I thinked..
         (index+1)s multiplication -> 2 * 2 = 4
         #include <iostream>
         using namespace std;
         int process(int n)
          int i = 0, j = 0;
          int state = 0;
         int main()
          int n;
          int result = 0;
          cin >> n;
  • LinkedList/C숙제예제 . . . . 13 matches
         #include <stdio.h>
         #include <stdlib.h>
         #include <string.h>
          int num;
         #include "ExList.h"
          printf("%d\n",p->num);
         void main()
          List *pList,*pNew,*pIns;
          printf("root생성시\n");
          printf("pNew생성시\n");
          pIns=(List *)malloc(sizeof(List));
          pIns->num=3;
          pIns->prev=pList;
          pIns->next=pNew;
          pList->next=pIns;
          pNew->prev=pIns;
          printf("pIns삽입시\n");
          free(pIns);
          printf("pIns 삭제시\n");
         [LinkedList]
  • LispLanguage . . . . 13 matches
          * For the beginners:
          * TutorialsPoint LISP: http://www.tutorialspoint.com/lisp/index.htm
          * [http://dept-info.labri.fr/~strandh/Teaching/Programmation-Symbolique/Common/David-Lamkins/contents.html Successful Lisp:How to Understand and Use Common Lisp] - 책인듯(some 에 대한 설명 있음)
         [http://www.lispworks.com/products/clim.html Common Lisp Interface Manager]
         당연히 우분투에서 한거고 window에서 하는건 모른다
         (EXT:SAVEINITMEM)
         하면 세션이 lispinit.mem으로 저장됨
         다시 실행할때는 cmd에서 clisp -M lispinit.mem 하면 실행됨
          * 참고링크 : http://stackoverflow.com/questions/7424307/can-i-save-source-files-in-clisp
         [[include(틀:ProgrammingLanguage)]]
  • MultiplyingByRotation/곽세환 . . . . 13 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         const int MAX = 20; // 최대 20자리까지
         void main()
          int base, factor1, factor2;
          cin >> base >> factor1 >> factor2;
          int number[MAX] = {0};
          int number_jarisu = 1;
          int dec, dec2;
          for (int i = 0; i < number_jarisu; i++)
          //for (int i = number_jarisu - 1; i >= 0; i--)
         [MultiplyingByRotation]
  • ObjectProgrammingInC . . . . 13 matches
         = Object Programming In C =
         #include <stdio.h>
          int attrib;
          void (*method1)(int);
         void Operator1(int x) {
          printf("%d\n", x);
         int main()
          testClass instanceClass;
          instanceClass.method1= &Operator1;
          instanceClass.method1(3); // or Operator1(3);
          int attrib;
          void (*method1)(int);
  • OurMajorLangIsCAndCPlusPlus/time.h . . . . 13 matches
         int tm_sec seconds [0,61]
         int tm_min minutes [0,59]
         int tm_hour hour [0,23]
         int tm_mday day of month [1,31]
         int tm_mon month of year [0,11]
         int tm_year years since 1900
         int tm_wday day of week [0,6] (Sunday = 0)
         int tm_yday day of year [0,365]
         int tm_isdst daylight savings flag
  • ProjectSemiPhotoshop/요구사항 . . . . 13 matches
          i. Sampling => 모자이크 이미지(O)
          * Posterizing
          * Thereshold Binary Image (O 흑백)
          * Clipping ( O 흑백 )
          * Iso-intensity Contouring(등명암 윤곽화) ( O 흑백 )
          * Range-highlighting(범위-강조) (O 흑백)
          * Solarize using a Threshold (O 흑백)
          i. Blurring (O)
          * Sharpening (O)
          * Embossing (O)
          * Median Filtering (O)
          * Contrast Stretching (O)
  • Refactoring/BuildingTestCode . . . . 13 matches
         == The Value of Self-testing Code ==
         나로하여금 self-testing code로의 길을 시작하게 한 계기는 OOPSLA '92의 한 이야기부터였다. 그때 누군가 (아마도 Dave Thomas)"클래스는 자기 자신의 테스트코드를 가지고 있어야 한다" 라는 말을 했다. 이 말은 테스트를 구성하기 위한 좋은 방법으로 여겨졌다. 나는 모든 클래스에 클래스 스스로를 테스트하는 메소드들 (''test''라 한다.)들을 가지도록 만들었다.
         그때 나는 increment development단계에 있었고, 나는 매번 increment 을 완료할때 클래스들에 test method들을 추가했다. 그때 했던 프로젝트는 꽤 작았었고, 우리는 우리의 increment 주기는 한주 단위정도였다. 테스트의 실행은 는 꽤 수월하게 되었다. 하지만 테스트들은 실행하기 쉬웠지만, 테스트를 하는 것은 여전히 지겨운 일이였다. 이것은 내가 체크해야 하는 모든 테스트들이 console 에 결과를 출력하도록 만들어졌기 때문이다. 나는 꽤 게으른 사람이고, 나는 일을 피하기 위해 꽤 열심히 일을 준비했다. 나는 이 클래스들이 프린팅 해주는 것을 체크하는 대신, 컴퓨터가 테스트를 수행하도록 했다.내가 할일은 테스트 코드에 내가 기대하는 결과를 작성하고, 그 비교를 수행하는 것이다. 자, 나는 모든 클래스들의 test method를 수행할 수 있었고, 모든 일이 잘 되면 단지 'OK' 가 출력되는 것을 확인하면 되었다. 이 클래스는 지금 스스로 자기 자신을 테스트를 했다.
         이 사실을 알아갈수록 나는 테스트에 좀 더 적극적이 되었다. increment가 끝가기를 기다리는 대신에, 나는 조그마한 기능을 추가할 때 마다 테스트를 했다. 매번 나는 새 기능들을 추가 했고, 그들에 대한 테스트들을 수행했다. 이 당시 나는 디버깅에 수분이상을 소비하지 않았다.
         그리고 이것이 실제로 프로그래밍 속도를 높인다는 것을 경험해보지 않으면 self-testing 코드는 사람들이 이해해주지 못한다. 그리고 테스트가 수동이라면 이것은 지루할 것이다. 하지만 테스트가 자동화된다면 테스트 코드를 쓰는 것은 꽤 재미있는 일이 될 것이다.
         테스팅 코드는 ExtremeProgramming 의 중요한 부분이다. [Beck, XP]. 이 이름은 빠르고 게으른 해커같은 프로그래머들에겐 마술주문과 같을 것이다. 하지만, extreme programmer들은 테스트에 대해 매우 헌신적이다. 그들은 가능한 한 소프트웨어가 빠르게 발전하기 원하고, 그들은 테스트들이 당신을 아마 갈 수 있는 한 빠르게 갈 수 있도록 도와줄 것을 안다.
         이정도에서 이야기는 충분하다 본다. 비록 내가 self-testing code를 작성하는 것이 모두에게 이익이 된다고 생각하더라도, 그것은 이 책의 핵심이 아니다. 이 책은 Refactoring에 관한 것이다. Refactoring은 test를 요구한다. 만일 Refactoring 하기 원한다면, test code를 작성해야 한다.
         ["Refactoring"]
  • ReverseAndAdd/곽세환 . . . . 13 matches
         int형을 unsigned로 바꾼후 통과
         #include <iostream>
         using namespace std;
          p = (int)(p / 10);
         int main()
          int n;
          cin >> n;
          int testCase;
          unsigned int p; // 입력받은 숫자
          unsigned int re; // 뒤집은 숫자
          int iter = 0; // 반복해서 더한 횟수
          cin >> p;
  • RubyLanguage/Container . . . . 13 matches
         array = ["a", "b", 3, "String", [1, 2]]
         array = [a, b, 3, "String", [1, 2]]
         }}}[[FootNote('''p 메서드''' : 객체를 디버그에 적합한 형식으로 문자열화하여 출력하는 메서드로 주로 디버그 출력을 위해 사용. 디버그, 학습, ShortCoding 이외에는 사용하지 않는 것이 좋다.)]]
         array = [3, "String", [1, 2]]
         p array[-2] #"String" 출력
         array = [a, b, 3, "String", [1, 2]]
         p array[3, 3] #["String", [1, 2]] 출력
         array = [a, b, 3, "String", [1, 2]]
         p array[-4, 3] #[2, 3, "String"] 출력
          * 배열의 길이를 넘어서는 위치에도 대입이 가능하다.(line 4)
          * 길이를 포함한 첨자나 범위 첨자를 사용한 경우, 우변에 복수 개의 값을 취할 수 있다.(line 5, 6)
          * 좌변의 요소개수보다 우변 식이 적은 경우 모자란 부분의 요소는 제거되고 배열의 크기가 줄어든다.(line 7)
          * 좌변에 지정한 요소개수보다 우변 식이 많은 경우 배열의 크기를 늘려서 대입한다.(line 9)
  • 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] 의 철학을 이해하는 데에 도움이 될 것 같고 그 안에 녹아있는 자료구조와 알고리즘을 체득할 수 있을 것 같습니다. - [임인택]
  • Server&Client/상욱 . . . . 13 matches
          public static void main(String[] args) {
          System.err.println("실행할 수 없습니다.");
          ioe.printStackTrace();
          System.out.println("서버에서 접속을 기다립니다.");
          System.out.println("접속되었습니다.");
          System.out.println(connect.getInetAddress());
          System.out.println("종료되었습니다.");
          System.out.println("예외가 발생하였습니다.");
          e.printStackTrace();
          public static void main(String[] args) throws Exception {
          String a = "165.194.17.86";
         ["JavaStudyInVacation/진행상황"]
  • 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)
  • UglyNumbers/곽세환 . . . . 13 matches
         #include <iostream>
         #include <list>
         using namespace std;
         void main()
          int cnt = 1500;
          list<unsigned int> numbers;
          unsigned int temp;
         #include <iostream>
         using namespace std;
         void main()
          int cnt;
          cin >> cnt;
          int num = 1, temp;
  • UglyNumbers/황재선 . . . . 13 matches
          def uglyNumber(self, index):
          numberList = [pow(2,i)*pow(3,j)*pow(5,k) for k in xrange(30) \
          for j in xrange(30) for i in xrange(30)]
          return numberList[index-1]
          def printUglyNum(self, num):
          print "The 1500'th ugly number is <" + str(num) + ">."
          def testFindUglyNumber(self):
         def main():
          u.printUglyNum(n)
         if __name__ == '__main__':
          #unittest.main()
          main()
  • WhatToExpectFromDesignPatterns . . . . 13 matches
         == A Documentation and Learning Aid ==
         Learning these DesignPatterns will help you understand existing object-oriented system.
         Describing a system in terms of the DesignPatterns that it uses will make it a lot easier to understand.
         == An Adjunct to Existing Methods ==
         DesignPatterns are an important piece that's been missing from object-oriented design methods. (primitive techniques, applicability, consequences, implementations ...)
         == A Target for Refactoring ==
         DesignPatterns capture many of the structures that result from refactoring. Using these patterns early in the life of a design prevents later refactorings. But even if you don't see how to apply a pattern until after you've built your system, the pattern can still show you how to change it. Design patterns thus provide targets for your refactorings.
  • 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"?>
  • YouNeedToLogin . . . . 13 matches
         페이지 수정에 로그인이 필요한 YouNeedToLogin 모드를 적용한다면 다음과 같은 장,단점이 있을 수 있다.
          * 보다 좋은 RecentChanges 페이지와 info action(파란아이)를 볼 수 있다.
         주장하는 가장 큰이유는 아마 ["상민"] 이가 로그인 하는 id 번호를 까먹어 버려서 일것인지 모른다는 생각이 든다. id 약 7개 정도 만든것 같은데, 어째 기억나는 것은 하나도 없는지... --["neocoin"]
          ''id 를 ["neocoin"]페이지에 적어두는건 어떨까요. ["이덕준"] 페이지처럼 말이죠.--["이덕준"]''
          ''ZeroWiki는 아무나 어떠한 제한없이 로그인할 수 있습니다. 전 후자의 경우는 위키 초보자가 저지르는 실수라고 생각합니다. 로그인을 할수 있는 사용자는 그런 실수를 하지 않으리라 봅니다. 그리고 다시 말씀드리지만 그러한 작은 불편 때문에 YouNeedToLogin을 주장하는 것은 아닙니다. --["이덕준"]''
          제가 RecentChanges 에 그렇게 신경이 안쓰이지만, 다른 분들이 신경이 쓰이는것 처럼, 저에게는 작은 불편으로 인식되지 않습니다. 위의 Document 에서 언급한것처럼 틀속에 갖히는 느낌이 가장 싫습니다. 그리고, 처음 오시는 분들이 자유롭게 수정못하는 것에 가장 마음이 걸립니다. 제가 http://c2.com 을 보고 받은 충격을 받고 느낀 자유로움 때문에 이런것이 작은 불편보다 더 크게 다가 옵니다. --["neocoin"]
          ''["로그인하기"]는 개인차원의 이익으로 개인이 선택할 문제지만, YouNeedToLogin 문제는 공공의 이익을 얘기하는 문제입니다. 전 ["로그인하기"]를 유도하고자 하는것이 아닙니다. --["이덕준"]''
         한 보름 정도만 ZeroWiki를 YouNeedToLogin 모드로 사용해보길 제안합니다. 그 이후에 YouNeedToLogin 모드를 유지할지를 결정했으면 합니다. --["이덕준"]
         그런데.. 보름 정도 YouNeedToLogin 모드로 사용하게 된다면, 로긴을 하지 않았을 때 글을 쓸 수 없다는 거지요? 그건, '로그인 하지 않고 글 쓰는 것' 을 막는 거겠군요. 개인의 자유에 맏겨두지 않고 말이지요. 전 반대합니다. 일단, 싫고, 자유와 가능성을 제한한다는 것이 싫습니다. --["zennith"]
          YouNeedToLogin 모드가 자유와 가능성을 얼마나 크게 제한하는지, 그 제한으로 과연 우리가 얻는게 있는지 한번 경험해보자는 의도입니다. 한달을 하자는 것도 아니고 일년 동안 하자는 것도 아닙니다. 잠시 그렇게 해보자는 겁니다. 절대로 안되겠습니까. 자유와 가능성을 제한하는 것은 저 역시 싫습니다. 하지만 '절대 자유'가 최선이 아닐수도 있다는 생각을 하고 있습니다. DeletePage 액션은 관리자만이 쓸 수 있습니다. 조금만 더 유연하길 부탁드립니다. --["이덕준"]
         요새들어 제로페이지 위키에 검색엔진을 통해 생성된 쓰레기 페이지들을 자주 볼 수 있습니다. 볼때마다 매번 지워주기는 하는데, 노스모크처럼 로그인을 해야 글쓰기 권한이 생기게 바꾸어 보는것도 좋겠다는 생각을 합니다. 이 페이지가 생긴게 꽤 오래전인것 같기는 하지만 YouNeedToLogin 에 대해서 다시 한번 생각해봐야 할 때가 아닌가 생각됩니다. 하지만 로그인을 해야하는 것은 방법은 위키의 철학에 위배되는게 아닌가 하는 생각도 할 수 있습니다. 굳이 로그인을 하지 않더라도 스팸성 글을 막을 수 있는 대책이 필요합니다. 예를 들어, 페이지 수정을 할 때에 난수값을 하나 찍어두고 input 필드를 하나 더 두어 이 곳에 생성된 난수값을 그대로 입력하게 하여 초기에 생성된 난수값과 같을 시에만 글을 수정하게 하는 것입니다. 물론 똑똑한 로봇들은 이를 교묘히 피해가겠지만요. - [임인택]
  • ZeroPageServer/SubVersion . . . . 13 matches
         = Intro =
         What's New in Subversion 1.2
          * Optional locking ("reserved checkouts")
          * Full WebDAV autoversioning
          subversion 은 http 로의 접근도 제공한다. 대신에 기본제공 프로토콜보다는 속도가 느린 단점이 있다. http 의 접근은 현재 익명계정에 대해서는 checkout, read 만 사용이 가능하며 checkin 계정을 받기 위해서는 관리자에게 다음의 정보를 메일로 보내주면 추가하는 것이 가능하다.
         = SSH Login Tip =
          {{{~cpp explorer환경하에서 마우스 오른쪽 버튼을 클릭 "TortoiseSVN"->"Settings"
         D:Program FilesTortoiseSVNbinTortoisePlink.exe" -l 계정 -pw 암호
          Linux 계정이 있다면 ssh-keygen 을 이용해서 생성시키는 방법도 존재한다. 이 방법이 훨씬더 빠르게 생성된다.
          상단에 Public key for pasting into OpenSSH authorized_keys file 란에 있는 내용을 복사해서
          푸티의 에이전트로 TortoisePlink.exe 가 접속이 되는 이유는 TortoisePlink.exe가 푸티의
  • crossedladder/곽병학 . . . . 13 matches
         #include<iostream>
         #include<vector>
         #include <algorithm>
         #include <math.h>
         #include <cmath>
         using namespace std;
         int main() {
          freopen("in.txt", "r", stdin);
          cin>>x>>y>>c;
          double min = x>y ? y : x;
          double ans = bsearch(0, min);
  • html5practice/즐겨찾기목록만들기 . . . . 13 matches
          * 원래 목적은 naver api를 끌고 와서 별표 찍는 연습을 만들려고 했는데. 이건 뭐. ajax cross domain 문제로 접근 불가. 난이도 하향. 로컬 목록을 사용자가 만들어서 그걸 즐겨찾기 추가 삭제 하는 코드를 만들었음. 기능과 UI가 안습이지만, 그래도. 만들었음.
         <section id="input">
          <form name="formInput">
          <input type="text" id="textInput"/>
          <input type="button" value="add to list" onclick="doSetItem(this.form)"/>
          <input type="button" value="clear" onclick="doClearAll()"/>
          localStorage.setItem( document.formInput.elements['textInput'].value, "false");
          document.formInput.elements['textInput'].value = "";
          console.log(eTD.innerHTML);
          localStorage.removeItem(eTD.innerHTML);
          localStorage.setItem(eTD.innerHTML, "true");
          console.log(eTD.innerHTML);
          localStorage.removeItem(eTD.innerHTML);
          localStorage.setItem(eTD.innerHTML, "false");
          document.getElementById('favoriteList').innerHTML = pairs;
          document.getElementById('allList').innerHTML = pairs;
  • koi_aio/권영기 . . . . 13 matches
         #include<iostream>
         #include<algorithm>
         using namespace std;
          int a;
          int b;
          int c;
         int check[120];
         int cc(student a, student b){
         int main(void){
          int n, i, j;
          int cnt = 0, ans[5];
          printf("%d %d\n", s[ans[i]].a, s[ans[i]].b);
  • neocoin/CodeScrap . . . . 13 matches
         ostream_iterator<int> out(cout , " ");
         copy(vector1.begin(), vector1.end(), out); cout << endl;
         static const int INIT_START;
          void init(int aOption){
          if ( aOption == INIT_START )...
         const int Board::INIT_START = 0;
         win32 상의 설정 파일 api
          if ( m_nTime < (int)::GetPrivateProfileInt("FindBomb", "AMA_Time", 999, ".\FindBomb.ini")){
         %windir%\system32\gpedit.msc
         ["neocoin"]
  • study C++/남도연 . . . . 13 matches
          int c;
          void input();
         #include "munja.h"
         void main(){
          Mun.input();
         #include "munja.h"
         void munja::input(){
          cin>>a;
          int i;
          cin>>b;
          B.input();
          int k;
          cin>>C.c;
  • whiteblue/만년달력 . . . . 13 matches
         #include <iostream>
         using namespace std;
         int addMonth[12] = {0,3,0,3,2,3,2,3,3,2,3,2}; // 월별 1일 위치 더해줘야 하는 날수
         int lastDayOfMonth[12] = {31,29,31,30,31,30,31,31,30,31,30,31};
         int yearInput, monthInput, count = 0, dateNumber = 1 , locationOf1stDay, addm;
         int main()
          cin >> yearInput;
          cin >> monthInput;
          for (int x = 0 ; x < monthInput ; x++) // 1년 1일 위치
          locationOf1stDay = (addm + yearInput + count - 1 + 6) % 7; //
          if ( monthInput > 2 )
          locationOf1stDay = (addm + yearInput + count + 6 ) % 7; //
          for (int i = 0 ; i <= yearInput ; i++)
          cout << "\t\t" << yearInput << "년\t" << monthInput << "월 달력\n\n";
          for (int j = 1 ; j<=6 ; j++)
          for (int k = 0 ; k <= 6 ; k++)
          dateNumber > lastDayOfMonth[monthInput-1] ||
  • 검색에이전시_temp . . . . 13 matches
          * 핵심 : 브레이크 포인트는 원하는 라인 왼쪽 부분을 클릭, Run As Debug, F5 Step into, F6 step over
         http://minihp.cyworld.nate.com/pims/visitbook/visitbook_list.asp?tid=24808212&urlstr=bang
         프레임있는 미니홈 : http://minihp.cyworld.nate.com/pims/main/pims_main4.asp?tid=24808212&urlstr=main
         미니룸 : http://minihp.cyworld.nate.com/pims/main/main_inside.asp?tid=24808212
         방명록 : http://minihp.cyworld.nate.com/pims/visitbook/visitbook_list.asp?tid=24808212&urlstr=bang
         사진첩 : http://minihp.cyworld.nate.com/pims/board/image/imgbrd_list.asp?tid=24808212
         게시판 : http://minihp.cyworld.nate.com/pims/board/general/board_list.asp?tid=24808212
  • 고한종 . . . . 13 matches
         ||{{{LinkedIn}}} ||http://www.linkedin.com/pub/han-jong-ko/8a/445/875 ||
         ||{{{tistory}}} ||http://rino0601.tistory.com/ ||
         ||{{{github}}} ||https://github.com/rino0601 ||
         - [고한종/업적/WinAPI를 통한 테트리스]
         - ~~[고한종/업적/WinAPI로 만든 학과주점 포스기]~~
          * JAVA의 Swing으로 만든 시간표 대신 만들어주는 프로그램 (...) 사실 만들어 놓고 안쓴다. 2학년 말에 만들어 놓고 이번 학기(2013년 1학기)에 본인조차 안 쓴걸 보면 기획부터가 잘못된 물건. 일단 소개를 하자면, 수강신청 기간이 되면 포탈에 그 학기에 개강될 과목들을 정리해서 xls 파일로 올려줍니다. 이걸 받아서, poi 라는 JAVA 라이브러리? 에 넣고 돌리면 "[cell값]" 형식으로 String이 나옵니다. 그럼 이걸 stringTokenizer에 ]와 [를 토큰으로 해서 잘게 쪼개줍니다. (애초에 그런거 없이 CSV로 나오면 최고겠지만.. 할줄 모름 ㅠ). 사실 그냥 엑셀에서 CSV로 만들어 쓰면 되는 데, 그때 당시엔 사용 편의성을 도모한답시고 뻘짓 함. 어짜피 아무도 안 쓸텐데 ㅠㅠ 그렇게 얻어낸 과목의 시간정보를 ArrayList에 넣고, 그걸 가지고 backtraking인지.. 를 했던것 같음. 결국 속도는 처참했지만 -_-... 모든 결과가 나오는 것도 아님. 마지막으로 코드를 수정하고나서 테스트로 돌렸을때, 내가 실제로 수강신청했던 시간표는 나오지 않았음 ㅇㅈㄴ... - [고한종], 13년 3월 16일
         -[고한종/업적/MALogin]
          * 그래픽스 연구실에서 서울시특허 과제로 만들고 있는 것 (13년 3월) 거의 완성했는데, 기반이 된 OpenCV가 intel CPU최적화라 아이패드에서 돌리면 겁나 느려서 시연불가능 급이다 -_- 속도만 해결하면 완성인 과제. - [고한종], 13년 3월 16일
  • 데블스캠프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;
  • 데블스캠프2006/화요일/pointer/문제3/이장길 . . . . 13 matches
         #include <iostream>
         using namespace std;
         void main()
          int *num1 = new int[5] ;
          int *num2 = new int[5] ;
          int *result = new int[5];
          int i,j;
          cin >> num1[i];
          cin >> num2[i];
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프2006/화요일/pointer/문제3/정승희 . . . . 13 matches
         #include<iostream>
         using namespace std;
         void main()
          int*a=new int[4];
          int*b=new int[4];
          int*c=new int[4];//4에다가 변수 입력 가능
          for(int i=0;i<4;i++)
         //c언어////a=(int*)malloc(sizeof(int))
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프2011/다섯째날/PythonNetwork . . . . 13 matches
         UDPSock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # Create socket
         print ('Enter your message:')
         print ('- Empty message to stop this client.')
          data = raw_input('>> ')
          print ("Sending message '%s'..." % data)
         print ('Client stopped.')
         rcv_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
          rcv_sock.bind(("", 3333))
          print "Error at Binding"
          print "Listening..."
          print "Got %s" % data
  • 마름모출력/조현태 . . . . 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 ()
  • 몸짱프로젝트/Maze . . . . 13 matches
         #define __STACK__H__
         const int M = 7;
         const int P = 7;
         const int MAX = M*P;
         int top = -1;
         Element push(int * top, Element aItem)
         Element pop(int * top)
         ''main.cpp''
         #include <iostream.h>
         #include "stack.h"
         void main()
          int row, col;
          for ( int i = 0 ; i <= top ; i++ )
  • 벡터/조동영 . . . . 13 matches
         #include <iostream>
         #include <string>
         #include <vector>
         #include <algorithm>
         using namespace std;
          string name;
          int score;
         int main()
          sort(vec.begin(),vec.end(), compare);
          vector<student>::iterator i=vec.begin();
          for(i=vec.begin();i!=vec.end();i++)
  • 비밀키/김홍선 . . . . 13 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         void main()
          ifstream fin("xm.txt");
          int key, count=0, i=0;
          while(!fin.eof())
          fin.get(arr[i]);
          cin >> key;
          int temp = int (arr[i]) + key;
          int temp = int (arr[i]) - key;
  • 빵페이지/마방진 . . . . 13 matches
          - 아님 무대뽀(BruteForce)하게 [Backtracking]을 이용해도 될듯.. - [임인택]
         #include <iostream>
         using namespace std;
         int main()
          int mbj[3][3];
          int c_1,c_2;
          int a,b;
          const int c = 15; // 3*3마방진의 각 줄의 합
          cin >> c_1;
          cin >> c_2;
          for(int row=0;row<3;row++)
          for(int col=0;col<3;col++)
  • 새싹교실/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부터 시작한다
  • 새싹교실/2011/쉬운것같지만쉬운반/2011.3.23 . . . . 13 matches
          int main()
          int a=10;
          int b=20;
          int c = a+b;
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         상기 코드가 정상적으로 진행되었기 때문에 main함수는 0을 리턴하고 프로그램이 종료된다.
         콘솔 응용 프로그램에선 main()
         Win32 응용 프로그램에서는 APIENTRY WinMain()
  • 새싹교실/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
         #include <iostream.h>
         #include <math.h>
         #include <time.h>
         int main()
          int tmp_arr[10000]={2,0};
          int cur_arr_index = 1;
          int i,j;
          //for(j=0; j<cur_arr_index; j++)
          else continue;
          if(flag) tmp_arr[cur_arr_index++]=i;
          /*for(i=0; i<cur_arr_index; i++)
  • 스택/aekae . . . . 13 matches
         #include <iostream>
         using namespace std;
         int arr[10];
         int i=0;
         int main()
          int input;
          cin >> input;
          switch(input)
          cin >> arr[i];
          for(int j=i-1; j>=0; j--)
  • 윤정훈 . . . . 13 matches
         #include <stdio.h>
         int main(void){
         int input;
         printf("1에서 9까지 수를 입력하십시오.\n");
          scanf("%d",&input);
         }while(input<1 || input>9);
         int i;
          printf("%dX%d=%d\n",input,i,input*i);
  • 이승한/mysql . . . . 13 matches
          두부파일에 테이블 생성하기 : create table 테이블명(컬럼명 type(크기), eng integer, date date);
          키의 종류 : index, unique, primary
          키 설정 : add index [인덱스명] (필드명, );
          레코드 삽입 : insert into table (colums...) values (data...);
         include "connect.inc"; //DB접속하는 헤더
          이름 : <input type = "text" name = "name" size = "10"><br>
          영어 : <input type = "text" name = "eng" size = "5"><br>
          수학 : <input type = "text" name = "math" size = "5"><br>
          <input type = "submit" value = "데이타 올리기">
          $query = "insert into score (name, eng, math) values ('$name', '$eng', '$math')";
  • 임인택/내손을거친책들 . . . . 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
  • 장용운/알파벳놀이 . . . . 13 matches
         #include <iostream>
         using std::cout;
         using std::cin;
         using std::endl;
         int main(void) {
          cin>>a>>b;
         void draw(char begin, char end) {
          for(int i=0; i<= (end-begin); i++) {
          for(int j=0; j<=i; j++) {
          cout<<(char)(begin+j);
         Input:
         Input:
         Input:
         Input:
  • 정렬/조재화 . . . . 13 matches
         #include <fstream>
         using namespace std;
         const int Arsize=10000;
         int main()
          ifstream fin("UnsortedData.txt"); //txt파일에 저장된 것을 부름
          int sort[Arsize];
          for(int i=0;i<Arsize;i++)
          fin >> sort[i];//배열로 선언
          for(int k=0; k<Arsize; k++)
          for(int j=0; j<Arsize;j++)
          int temp;
          for(int d=0; d<Arsize; d++)
  • 코드레이스/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에 대해서는 부분적으로 해결하였습니다.
  • 큐/조재화 . . . . 13 matches
         #include<iostream>
         using namespace std;
         int cho[10];
         int i=0;
         int main()
          int choice;
          cin>>choice;
          int input;
          cin >> cho[i];
         int d=0;
          for(int j=d; j<i; j++)
  • 타도코코아CppStudy/0724/선희발표_객체지향 . . . . 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)이 개발의 도구로 이용될 수도 있다.
  • 타도코코아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)이 개발의 도구로 이용될 수도 있다.
  • 토이/숫자뒤집기/임영동 . . . . 13 matches
          * 입력받은 문자열을 숫자로 변환한 뒤 10으로 나눠주면서 그 나머지를 String에 붙여버린다. 그 후 출력.
         import javax.swing.*;
         public class ProgrammingExercise5_04{
          public static void main(String[] args)
          int inputNumber=Integer.parseInt(JOptionPane.showInputDialog(null, "Input a number that you want to reverse."));
          int reversedNumber=reverse(inputNumber);//뒤집을 숫자를 입력받고 reverse()호출
          public static int reverse(int number)
          String reversed="";
          int returnNumber=Integer.parseInt(reversed);
  • 피보나치/Leonardong . . . . 13 matches
         #include <iostream>
         using namespace std;
         int f(int);
         int main()
          int input;
          cin >> input;
          cout << f(input);
         int f(int x)
  • 피보나치/aekae . . . . 13 matches
         #include <iostream>
         using namespace std;
         int fivo(int);
         int main()
          int input;
          cin >> input;
          cout << fivo(input) << endl;
         int fivo(int i)
  • 피보나치/김상윤 . . . . 13 matches
         #include <iostream>
         using namespace std;
         int pivona(int x);
         int main()
          int input;
          cin >> input;
          cout << pivona(input);
         int pivona(int x)
  • 피보나치/김영록 . . . . 13 matches
         #include <stdio.h>
         static int number_output;
         int pi(int round)
          static int a=1,b=1,c=0,round_temp;
         int main()
         int number_input;
         printf("이보삼 알고싶은번째 피보나치수좀 알아보셈 : ");
         scanf("%d",&number_input);
         pi(number_input);
         printf("%d",number_output);
  • 피보나치/문원명 . . . . 13 matches
         #include <iostream>
         using namespace std;
         int num(int);
         void main()
          int in,out;
          cin>>in;
          out=num(in);
          cout<<in<<"번째는 "<<out<<endl;
         int num(int x)
  • 호너의법칙/남도연 . . . . 13 matches
         #include <iostream.h>
         #include <fstream.h>
          int X;
          int a[11]={3,3,3,3,3,3,3,3,3,3,3};
          int i;
          int function_value=0;
          int num_add=0,num_multiply=0;
          int j=a[0];//j는 an의 역할을 한다.
         void main()
          cin >>X;
          int t=a[i+1];//t는 an-1의 역할을 한다.
          cout<<"|index| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | \n";
          outputFILE<<"|index| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | \n";
  • 호너의법칙/박영창 . . . . 13 matches
         Chapter 1.2 (2)Problem Solving
         #include <iostream>
         #define EXIT_SUCCESS 0
         #define EXIT_FAILURE 1
         #define PARAM_X 2.0
         #define COEFFICIENTS {1, 2, 3, 4, 5, 6, 7}
         double horner_func(double, double*, int);
         int max_exponentials = 0;
         int main ()
          // index 차수의 계수를 배열로 지정한다.
         double horner_func(double x_param, double* coefficient, int exponential)
          // Recursion Termination Condition
  • 0PlayerProject . . . . 12 matches
         http://zerowiki.dnip.net/~undinekr/arm_st.rar
         Upload:SourceInsight3_1.zip
         [http://zeropage.org/~mulli2/SSHWinClient-3.1.0-build235.exe ssh win client] 제로 페이지 리눅스 계정 접속 프로그램
          . FileSize/String : 15.7 MiB
          . Format/String : Audio video Interleave
          . Codec/String : XviD
          . BitRate/String : 615Kbps
          . Codec/String : PCM
          . BitRate/String : Microsoft PCM
          . Channel(s)/String : 2 channels
          . SmplingRate/String : 48 Khz
  • 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]
  • 8queen/민강근 . . . . 12 matches
         #include<iostream>
         #include<ctime>
         using namespace std;
         int main()
          int arr[8][8];
          int a,b;
          int h, w;
          int num=0;
          for(int i=0 ; i<8 ; i++)
          for(int j=0; j<8 ; j++)
          for(int j=0;j<8;j++)
  • ClassifyByAnagram/JuNe . . . . 12 matches
         def Anagram(inFile,outFile):
          for eachWord in inFile:
          key=list(eachWord);key.sort();key=''.join(key)
          for eachAnagram in anagrams.itervalues():
          print >> outFile, ' '.join(eachAnagram)
         if __name__=='__main__':
          Anagram(sys.stdin,sys.stdout)
         P4 1.8Ghz 512MB Win XP Python 2.2.1에서 17만 단어로 실행하면 4초. 프로세스 메모리 점유 약 31MB. 만약 psyco로 bind를 해주면(if문 위에 {{{~cpp import psyco;psyco.bind(Aangram)}}}을 추가) 3.4초.
  • CppStudy_2002_1 . . . . 12 matches
         || 8.1 ||10.클래스를 사용하자(64page)||["StringOfCPlusPlus"] ||
         || 8.9 ||11.클래스와 동적 메모리 할당(76page)||["LinkedList"] ||
         || 8.16 ||12.클래스 상속(72page)|| ["LinkedList/StackQueue"][[BR]]C++2팀과의 프로그래밍 잔치? 링크드 리스트로 스택,큐 구현||
         || 세번째 주 || ["StringOfCPlusPlus/영동"] ["StringOfCPlusPlus"] || 영동 ||
         || 네번째 주 || ["LinkedList/영동"] || 영동 ||
         || 다섯번째 주 || ["LinkedList/StackQueue/영동"][[BR]] ["STL/vector/CookBook"] 참고로 끝에 과제 해오기 ||영동 ||
          * 버스 시물레이션 [http://www.sbc.pe.kr/cgi-bin/board/read.cgi?board=life&y_number=17&nnew=2]
          * ["StringOfCPlusPlus"]가 참 유익했던 거 같습니다. 제가 이걸 하기 전엔 문자열을 다루는데 어려움이 많았는데 이걸 하고 나니까 좀 쉬워진 듯한 느낌이네요. -[영동]
         상협. [STL/string|String] 클래스의 스펙을 어떻게 주었는지? 사람들이 왜 전부 String 이용 프로그램 GOD 클래스를 만드는걸까 궁리.
  • Cracking/ReverseEngineering/개발자/Software/ . . . . 12 matches
         기존 배우고 있던 것들과는 별개로 Cracking에 대한 것들을 익혀야한다. (여기서 Cracking은 시스템 전반에 관한 지식을 익혀 그것을 악용 하는 것이다.)
         개발자들이 Coding을 할 때 약간의 신경만 써주면 Cracker들에 의해 exploit이 Programming되는 것을 막을 수 있다.
         Jeffrey Richter의 Programming Applications for Microsoft Windows란 책을 추천한다. 현재 4th edition까지 나온 상태이다. 물론 한글판은 없다.
         (윈도우즈 시스템 커널이 하는 일등을 배울 수 있으며 그것을 이용해 나쁘게 사용하든 좋게 사용하든 도움이 많이 되는 책이다. Windows에 Base를 둔 Software 개발자로서는 꼭 읽어야할 책.)
         Keyword : Cracking, Reverse Engineering, Packing, Encypher, Encrypt, Encode, Serial, Exploit, Hacking, Jeffrey Ritcher
  • DataCommunicationSummaryProject/Chapter11 . . . . 12 matches
          * point-to-point 방식과 multipoint 방식이 있다.
         === point-to-point ===
         ==== Point-To-Point Microwave ====
         ==== Optical Networking ====
         === multipoint ===
          * 8km 까지는 서비스 범위가 도달한다. 표준으로 11Mbps를 지원하지만 multipoint 특성상 대역폭을 사용자들이 공유하기 때문에 실제로는 2~6Mbps 가된다.
          * Multipoint Multichannel Distribution System 의 약자이다.
         ===== Competing Local Loop Tech. =====
  • DataCommunicationSummaryProject/Chapter9 . . . . 12 matches
          * cellular networks가 예상보다 빠르게 성장한데 비하여,short-range mobile systems은 덜 성공적이였다.그 이유에는 속도,유선에 비하여 신뢰성의 떨어짐, 경쟁적인 기준이 있다.물론 Cordless phones 처럼 인기있는것도 있지만, 점점 범위를 늘리려고 한다. 또한roaming에서의 실패성이 많다.적외선이 laptop 이나 PDA에서 거의 사용되지만 잘 사용되지 않는다.
          * 적외선 사용이 실패였지만 아직도 많은 연구와 회사의 사용이 있다.4세대 모바일 시스템으로 주목 받고 있다.roaming하는데 별 어려움 없이 랜과 3새대 휴대폰과 Bluetooth와의 연결도 가능할 것이다.
          * ISM(Industrail,Scientific, and Medical) 는 의사소통을 위한것이 아니다. 따라서 이 범위의 주파수는 국가에서 나두었다. 그래서 무선 전화나 무선 랜에서 사용된다.
          * CCK(Complementary Code Keying)라고 불리는DSSS의 2.4GHZ를 사용한다. 물론 기존의 기계와 호환성을 기진다. MAC하는 방법은 CSMA/CA(여기서 A는 avoidance이다 유선과는 틀리다) half-duples이다.shared이다. 대역폭이 11Mbps이지만 오보헤드가 심하다. 여기에다가 쉐어드이니 장에가 심하면 1-2Mbps밖에 안된다.하지만 데이터 전송률은 쓸만하다. 이러한 낭비를 줄이려고 차세대로 갈수록 물리적인 데이터 율을 줄인다.
          * ad-hoc networking
          * access point networking
         === Roaming ===
          * Ad-hoc networking in HiperLan : 중간의 노드를 거쳐서 가는것 같다. 잘 모르겠다.
         === Weakness in WEP ===
          * built-in key management system - 이건 잘 모르겠다. 가증한 키는 제한되어 있고, 해킹하는 데에는 선형시간이 걸린다.
          * Infrared LANs : 볼거 없다. 그냥 적외선으로 랜 하는거다.
          * Frequency Hopping을 사용한다.
  • Debugging . . . . 12 matches
         || Start Debugging, Go || *F5 || 디버깅 모드로 실행, 디버깅 모드 중에 F5를 다음 BreakPoint로 이동함 ||
         ||BreakPoint ||* F9 || 디버깅 모드에서 멈출곳을 지정 ||
         || Stop Debugging || shift + F5 || 디버깅 모드 중단 ||
         || Step Into || F11 || 디버깅 모드에서 한 라인씩 실행 - 함수를 만나면 함수 내부로 들어가서 계속 실행 ||
         || Step Out || shift+F11 || Step Into 로 함수안에 들어갔다가 나오고 싶을때 사용 ||
         || *Watch Window || 변수값이나 객체의 상태를 봄. 그 값을 변경시킬수도 있음 ||
         || Call Stack Window || 함수 호출 경로를 보여줌 ||
         ||BreakPoint ||* Ctrl + Shift + b || 디버깅 모드에서 멈출곳을 지정 ||
         || Step Into || F5 || 디버깅 모드에서 한 라인씩 실행 - 함수를 만나면 함수 내부로 들어가서 계속 실행 ||
         || Resume(go)|| F8 || 다음 BreakPoint 지점으로 이동 ||
          * [http://korean.joelonsoftware.com/Articles/PainlessBugTracking.html 조엘아저씨의 손쉬운 버그 추적법]
         [http://zeropage.org/~namsangboy/Score.zip Debugging/Seminar2005자료소스]
  • DermubaTriangle/김상섭 . . . . 12 matches
         4301786 2006-02-02 05:29:25 Accepted 0.023 Minimum 28565 C++ 10233 - Dermuba Triangle
         #include <iostream>
         #include <math.h>
         using namespace std;
         void process(int num1, int num2)
          cout.setf(ios::showpoint);
          int i;
         int main()
          int num1, num2;
          while(cin >> num1 >> num2)
  • DylanProgrammingLanguage . . . . 12 matches
         Dylan is an advanced, object-oriented, dynamic language which supports rapid program development. When needed, programs can be optimized for more efficient execution by supplying more type information to the compiler. Nearly all entities in Dylan (including functions, classes, and basic data types such as integers) are first class objects. Additionally Dylan supports multiple inheritance, polymorphism, multiple dispatch, keyword arguments, object introspection, macros, and many other advanced features... --Peter Hinely
         Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
         Warranty: Distributed WITHOUT WARRANTY OF ANY KIND
         define method say-hello()
          * dynamic language 라.. dynamic programming 은 들어봤어도.. -_-a [임인택]
  • 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년스터디]
  • EnglishSpeaking/TheSimpsons/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년스터디]
  • Functor . . . . 12 matches
         [BuildingParserWithJava]를 보다가 12장에서 처음 접한 단어. FunctionObject를 부르는 말이다.
         A function object, often called a functor, is a computer programming construct allowing an object to be invoked or called as if it were an ordinary function, usually with the same syntax. The exact meaning may vary among programming languages. A functor used in this manner in computing bears little relation to the term functor as used in the mathematical field of category theory.
         비슷한 구현에 대해서 OO 쪽에서는 MethodObject 라 부르기도 함. (Refactoring에 나옴) 구현 모양상으로 보면 CommandPattern, C++ 진영에서는 Functor 가 일반적인 표현.; --[1002]
  • 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"]
  • HASH구하기/신소영 . . . . 12 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         int main()
          ifstream input("input.txt");
          int i=0;
          int sum[5]={0,};
          while (input.eof() == false)
          input >> a;
          sum[i%5]+=(int)a;
  • HASH구하기/오후근,조재화 . . . . 12 matches
         #include <iostream.h>
         #include <fstream.h>
         void main()
          ifstream fin("source.txt");
          int arr[20][5]={{0}};
          for(int i=0;i<20;i++)
          for(int j=0;j<5;j++)
          temp = fin.get();
          //fin.get(arr[i][j]);
          for(int j=0;j<5;j++)
          int total[5] = {0};
          for(int j=0;j<5;j++)
  • 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); //맞음
  • HowManyFibs?/1002 . . . . 12 matches
         input space 로 볼때 최악의 경우가 1~10^100 일 수 있겠다는 생각을 하면서 뭔가 다른 공식이 있겠다 생각, 피보나치의 closed-form 을 근거로 해결할 방법에 대해 궁리해보다. a,b 구간에 가장 가까울 f(x),f(y)를 각각 구하고, y-x 를 구하면 되리라고 생각. 하지만 3시간동안 고민했는데 잘 안되어서, 그냥 노가다 스러운 방법으로 풀기 시작.
          if n in [1,2]: return s[n-1]
         print howmany(10,100)
         print howmany(1234567890,9876543210)
         print howmany(1,10**100)
         근데, a,b=(1,10^100) 로 해도 1초도 안걸린다. 처음에는 'big integer 를 만들어라!' 라는 문제가 아니라고 생각했는데, 풀고 나니 뭔가 허탈함. 글쌔. 출제자가 원한 답은 big integer emulation 이였을까. 흑..
          return int(((1+sqrt(5))**n - (1-sqrt(5))**n) / (2**n * sqrt(5)))
         피보나치 수가 굉장히 크게 늘어나는 수라는 점을 생각했더라면, input space 가 크더라도 fibo(n) 의 n 값이 커지지 않을 것이라는 것을 미리 알고 있었더라면 저런 고민을 안했을 것 같긴 하다. 하지만, 이러한 사전지식이 없는 가운데, 문제를 풀라고 한다면 어떻게 접근하는게 가장 좋았었을까. 고민된다.
          * 그럼에도 불구하고.. '정말 big integer 만들기' 문제였을까? 다시금 고민하게 되다.
          * closed form 과 관련하여 Generating Function 이 아직도 익숙치 않아서 mathworld 의 힘을 빌리다. GF 를 공부해야겠다.
          * bigint 를 지원하는 python 이나 matlab 같은 언어에서는 더 할일이 없는 문제. 내가 공식 궁리하는 동안 옆의 분이 matlab 으로 10분만에 풀어버리다. 흑.
  • Java/ServletFilter . . . . 12 matches
          * EncodingFilter - 해당 jsp/servlet 등에 대해서 공통의 인코딩 셋을 설정
          * Logging & Performance 측정
         이중 EncodingFilter 의 경우 JSP 프로그래머들에게도 보편적으로 이용되고 있는중.
          <filter-name>Encoding Filter</filter-name>
          <display-name>Encoding Filter</display-name>
          <filter-class>cau.filter.EncodingFilter</filter-class>
          <init-param>
          <param-name>encoding</param-name>
          </init-param>
          <filter-mapping>
          <filter-name>Encoding Filter</filter-name>
          </filter-mapping>
  • 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();
  • KnapsackProblem/김태진 . . . . 12 matches
          * Using DP
         #include <stdio.h>
         #include <stdlib.h>
         #include <iostream>
         using namespace std;
         int f[10001][10001] = {0};
         int main()
          int i,Wei,Num,k,w,Max=0;
          int weight[10001] ={0};
          int price[10001] ={0};
          printf("%d",f[k-1][w-1]);
  • ListCtrl . . . . 12 matches
         == Mouse Click 후 index 받아 오기 ==
         int ListIndex;
         CPoint point ((int)LOWORD(dwPos), (int)HIWORD(dwPos));
         CPoint Index = point;
         m_ctrlZoneList.ScreenToClient(&Index);
         ListIndex = m_ctrlZoneList.HitTest(Index);
         == Mouse Click 후 Item의 String 받아 오기 ==
          int index = m_ctrlBlockList.GetNextSelectedItem(pos);
          m_ctrlBlockList.GetItemText(index, 0, buf, 64);
  • MFC/Serialize . . . . 12 matches
         #define _MFC_
         = inner Document Class =
          CPainterDoc();
          DECLARE_DYNCREATE(CPainterDoc)
          //{{AFX_VIRTUAL(CPainterDoc)
          if (ar.IsStoring())
          // TODO: add storing code here
          // TODO: add loading code here
          IsStoring() 을 통해서 저장인지 로드인지를 판별한다.
          (float, double, BYTE, int, LONG, WORD, DWORD, CObject*, CString, SIZE, CSize, POINT, CPoint, RECT, CRect, CTime, CTimeSpan 이 오버라이딩 되어있다.)
         Introspection 기능이 있는 다른 언어들에서의 Serialize 하는 모습에 대해서는 반드시 관찰해볼 필요가 있음.~ --[1002]
  • MFCStudy_2001/MMTimer . . . . 12 matches
          첫째는 WINMM.LIB를 추가시켜줘야 하고[[BR]]
          소스에 #include <mmsystem.h> 를 넣고[[BR]]
          Project(P) - Setting(S, ALT+F7)을 눌러 Link탭의 Object/Library modules:란에 winmm.lib를 적어줍니다.
         MMRESULT timeSetEvent(UINT uDelay, UINT uResolution, LPTIMECALLBACK lpTimeProc, DWORD_PTR dwUser, UINT fuEvent);
         void CALLBACK TimeProc(UINT uID, UINT uMsg, DWORD dwUser, DWORD dw1, DWORD dw2)
         MMRESULT timeKillEvent(UINT uTimerID);
          * m_TimerID는 UINT형 입니다.
         void CALLBACK TimerProc(UINT uiID,UINT uiMsg,DWORD dwUser,DWORD dw1,DWORD dw2)
          CAlcaDlg *pDlg=(CAlcaDlg*)AfxGetMainWnd();
         CAlcaDlg *pDlg = (CAlcaDlg*)AfxGetMainWnd();
          * m_nTimerID는 UINT형 입니다. 성공할 경우에는 타이머의 번호가 넘어옵니다.
         void CALLBACK CMyDlg::timeproc(UINT uID, UINT uMsg, DWORD dwUser, DWORD dw1, DWORD dw2){
          * CALLBACK 함수를 사용할때의 주의점. (in MSDN)[[BR]]
          - Applications should not call any system-defined functions from inside a callback function, except for PostMessage, timeGetSystemTime, timeGetTime, timeSetEvent, timeKillEvent, midiOutShortMsg, midiOutLongMsg, and OutputDebugString.[[BR]]
          - 어플리케이션은 콜백 함수 내부로부터 다음 함수를 제외하고는 시스템 정의 함수를 부를 수가 없다. : PostMessage, timeGetSystemTime, timeGetTime, timeSetEvent, timeKillEvent, midiOutShortMsg, midiOutLongMsg, and OutputDebugString.[[BR]]
          CALLBACK함수 내부에서 화면을 갱신할 때에는 Invalidte()함수나 user 메세지를 만들어서 날려주면 됩니다.
         void CALLBACK EXPORT CTmrprocView::TimerProc(HWND hwnd, UINT msg, UINT idTimer, DWORD dwTime)
          wsprintf((LPSTR) pThis->m_strOutput, "CTmrprocView::TimerProc() Called. Count = %ld", ++pThis->m_cCount);
          pThis->Invalidate(TRUE);
  • Map/노수민 . . . . 12 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))
  • MoinMoinMailingLists . . . . 12 matches
         There are two mailing lists for MoinMoin:
          * http://lists.dragon-ware.com/mailman/listinfo/moin-users
          Talk about ''using'' MoinMoin (very low-traffic).
          * http://lists.dragon-ware.com/mailman/listinfo/moin-dev
          Talk about MoinMoin development, bugs, new features, etc. (low-traffic)
  • MultiplyingByRotation/문보창 . . . . 12 matches
         // no550 - Multiplying by Rotation
         #include <iostream>
         using namespace std;
         int main()
          int base, lsd, factor; // 진수, 마지막자리수, 곱셈수
          int carryIn, carryOut;
          int temp;
          int nDigit;
          while (cin >> base >> lsd >> factor)
          continue;
          carryIn = (temp * factor) / base;
          carryOut = (temp * factor + carryIn) / base;
          temp = (temp * factor + carryIn) % base;
          carryIn = carryOut;
         [MultiplyingByRotation] [문보창]
  • NUnit/C#예제 . . . . 12 matches
         using System;
         using System.IO;
         using NUnit.Framework;
          int actual = 3+2, expected = 5;
          int[] activeArray = {1,2,3};
          int[] nullArray = null;
          String fileName = "_________Test";
          FileInfo fileInfo = new FileInfo(fileName);
          FileStream fileStream = fileInfo.Create();
          FileInfo fileInfo = new FileInfo(fileName);
          fileInfo.Delete();
          FileInfo fileInfo = new FileInfo(fileName);
          Assertion.Assert(fileInfo.Exists);
          1. Command에는 설치한 NUnit 콘솔 프로그램의 경로를 적어준다.(예:C:\Program Files\NUnit 2.2\bin\nunit-console.exe)
          1. Argument에 {{{ $(ProjectDir)\bin\debug\$(TargetName).exe }}} 라고 적는다. ( 보통은 디버그 모드에서서 컴파일 하므로 폴더가 debug이다. 릴리즈인 경우에는 release로 바꾸면 될 듯)
          1. 이건 옵션이지만 Use Output Window를 선택하면 프로젝트 Output창으로 결과가 나온다.
          1. Show Command Containing 밑에 있는 박스에서 방금 추가한 실행도구를 선택한다. 이 때 명령의 이름이 나오지 않으므로 NUnit을 실행하는 것이 몇 번째 실행 명령(External Command)인지 알아두어야 한다. 처음 실행 도구를 추가했다면 아마 External Command8 일 것이다. (VS2005경우는 외부명령1이 첫번째 External Tools임)
  • NumberBaseballGame/은지 . . . . 12 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          int num1, num2, num3;
          int strike = 0;
          int ball = 0;
          int out = 0;
          int value;
          cin >> value;
          int value1 , value2, value3;
  • ObjectOrientedProgramming . . . . 12 matches
         Object Oriented Programming
         == OOP Definition ==
         Object-oriented programming is based in the principle of recursive design.
         1. Everything is an object.
         2. Objects perform computation by making requests of each other through the passing of messages.
         4. Every object is an instance of a class. A class groups similar objects.
         6. Classes are organized into singly-rooted tree structure, called an inheritance hirearchy.
  • OpenGL스터디 . . . . 12 matches
         skyLibrary_inclue
         '''Intro'''
         공부하는 도서는 openGL superbible 3판 번역서 + openGL Game programming 두권으로 하고 있습니다. 아마 openGL superbible은 이번달에 5판 원서가 해외에서 나오는 걸로 알고 있는데, 이걸 보시는 분은 참고해서 원서를 보는것도
         === 팝핑(popping)현상 ===
         attachment:popping1.png
         attachment:poping3.png
         '''블랜딩(blending)'''이란 화면상에 색상과 물체를 혼합하는 효과를 이야기한다. 이를 사용하는 곳은 주로 두 이미지가 겹쳐있는 효과를 내기위해서 사용한다. 예를 들어
         attachment:antialiasing.png
         === 뷰포트(viewport)와 클리핑(clipping) ===
          * 그렇다면 이 openGL은 구체적으로 어떤식으로 작용하는가? 윈도우를 예시로 들어보자. 윈도우 같은 경우 어떤 화면에 이미지를 출력하려면 '''GDI(graphic Device Interface)라는 그래픽 장치 인터페이스'''를 통해서 출력장치로 출력데이터를 보내 출력한다.
         attachment:pipeLine2.png
          * 그리고 이 데이터타입은 openGL에 naming convention(이름 규칙)에 따라 정해져있는데 직관적이라 은근히 외우기 쉽다. 아래의 표를 살펴보자.
         || GLint, GLsizei || 32비트 정수 || long || l ||
         || GLuint, GLenum, GLbitfield || 부호없는 32비트 정수 || unsigned long || ui ||
  • OperatingSystem . . . . 12 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]]
          * [[Unix]]
          * Palm, WindowsCE
  • 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/Iteration7 . . . . 12 matches
         || Task || Point || 진행여부 ||
         |||||| login 관련 ||
         || Login DB 연동 || . ||○||
         || Task || Point || 진행여부 ||
         || Searched List 에 각 책에 대한 Total Point 점수 표현 || . || ○ ||
         || View point 입력 추가 || . || ○ ||
         || Rating( Light View) 추가 || . || ○ ||
         || sessoin으로 view point누적 방지 || 0.5 || ○||
         || Task || Point || 진행여부 ||
         || 로그인 + 검색, 보기(x2) + viewpoint|| . || ○ ||
         || 로그인 + 보기 + Rating(lightView)|| . || ○ ||
  • 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 - 검색 관련 키워드
  • ProjectZephyrus/PacketForm . . . . 12 matches
         바뀐 내용은 [http://zeropage.org/browsecvs/index.php?&cvsrep=ZeroPage&dir=ProjectZephyrusServer%2Fdocument%2F&file=PacketForm.txt CVS-PacketForm] 에서 확인가능
         Login 관련
          # login # id # password
          # login # 0 -Success!
          # onlineBuddyList # id # id # id...
          # offlineBuddyList # id # id # id...
          Server->online Buddys of Sender
          # online # id
          # message # RceiverID # String(말)
          # message # SenderID # String(말)
         Insert Buddy 친구 추가 관련
          # insertBuddy # BuddyID
          # insertBuddy # 0 - Success
  • 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
  • ReverseAndAdd/정수민 . . . . 12 matches
         n=raw_input('숫자입력')
          print n
          print m
          print '-' * len(n)
          print int(n)+int(m)
          print '*' * len(n)
          k=int(n)+int(m)
         print b
         print '번 더해서 회문'
  • 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
  • ScheduledWalk/승균 . . . . 12 matches
         #include <iostream>
         using namespace std;
         void main()
          int roach[16][16];
          int a,b;
          for (int l = 0; l < 16; l++)
          for (int k = 0; k < 16; k++)
          cin >> move;
          cin >> a;
          cin >> b;
          for (int i = 0; move[i]!='\0'; i++)
          for (int k = 0; k < 16; k++)
  • StringOfCPlusPlus/세연 . . . . 12 matches
         #include <iostream>
         using namespace std;
         #include <fstream>
          int count;
          void InsertWord(char *, node *);
          char line[300];
          file.getline(line, 300);
          cout << line << "\n";
          word = strtok(line, " .");
          InsertWord(word, temphead);
          InsertWord(word, temphead);
         void SearchWord::InsertWord(char * word, node * root)
         int main()
         ["StringOfCPlusPlus"]
  • 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 ===
  • TheWarOfGenesis2R/Temp . . . . 12 matches
         #include <boost/shared_ptr.hpp>
         #include <vector>
         #include <iostream>
         using namespace boost;
         using namespace std;
          int a;
          int b;
          Test(int a1, int b1)
         int main()
          for(int i = 0 ; i < con.size() ; ++i)
  • 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]
  • TugOfWar/남상협 . . . . 12 matches
          def solutionOfTwoRemain(self,numbers):
          for i in range(2):
          def coupling(self,numbers):
          self.solutionOfTwoRemain(numbers)
          def testCoupling(self):
          self.assertEqual([190,200],self.exTugOfWar.coupling(self.d1))
          self.assertEqual([175,180],self.exTugOfWar.coupling(self.d2))
          self.assertEqual([138,139],self.exTugOfWar.coupling(self.d3))
          self.assertEqual([12,12],self.exTugOfWar.coupling(self.d4))
          self.assertEqual([150,250],self.exTugOfWar.coupling(self.d5))
         if __name__=='__main__':
          unittest.main()
  • WikiSandBox . . . . 12 matches
         서 "HelpOnEditing" 을 누르시면 거나, Middle(마우스휠) Key 를 이용하면 help pages가 다른
          1. NoSmok:WikiName'''''' 을 써 봅시다. 영어 알파벳의 첫글자를 대문자로 해서, 단어 첫머리마다 대
          * 예 : LifeStyle WikiSandBox SimpleLink
          * 여기서는 실제로 "?" 표시를 누르고 한글로도 링크를 만들 수 있는 ExtendedWikiName 을
         여기서 Heading (단락줄) 모양이 바뀐 것을 주목하세요.
         흔히 사용되는 두가지 horizontal line 의 차이점을 보세요.
         Heading 모양에 따라 계통 (hierachy) 을 알 수 있으시죠? Table 하나 보고 갑니다.
         pre-formatted, No heading, No tables, No smileys. Only WikiLinks
         a MoniWiki python colorizer using the VimProcessor
         def print_element(bla):
          print '''bla this sucks.'''
         print "Hello World";
          * InterWiki
          * MeatBall:InterWiki
          * wiki:MeatBall:InterWiki
          * [wiki:MeatBall:InterWiki]
          * [wiki:MeatBall:InterWiki InterWiki page on MeatBall]
         var member = {"Name" : "Linflus"}
  • 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의 인터페이스는 대부분의 윈도우즈 프로그래머들에게 친숙하다.
  • Yggdrasil/temp . . . . 12 matches
         #include<iostream>
         #include<fstream>
         #include"util.h"
         using namespace std;
         int main()
          ifstream fin("out7.txt");
          int frame, x, y, dot;
          int i, j, k;
          fin>>frame;
          fin>>dot;
          fin>>x>>y>>character;
  • Yggdrasil/가속된씨플플/1장 . . . . 12 matches
         == 클래스 string ==
         std::string name1("Rim Youngdong");//생성자. 인자로 받은대로 string객체 초기화
         std::string name2(3, '!');//이것도 생성자. 두번째 인자를 첫번째 인자만큼 채워서 string객체를 초기화. 즉 memset()함수와 비슷한 기능
         std::string name3=name1+name2+"!";//문자열끼리 더할 수 있음. 단, 문자열 리터럴 2개만을 단독으로 조합할 수 없음.
         std::string name4="Rim"+"Youngdong";//위에서 설명한 것처럼, 이런 식으로 문자열 리터럴끼리만 더할 수 없음. 에러 출력.
         std::cout<<name1.size();//strlen()처럼 string객체의 글자수를 리턴하는 함수.
          * 1-1과는 달리 처음에 큰 따옴표 안에 들어가 있는 문자열 리터럴을 두 개 더했음. 제일 뒤에 string 인스턴스가 있어서 괜찮을 것 같지만, 결합방식에 있어서 왼쪽 결합 우선이기에 처음엔 "Hello"와 ",world"를 더하게 된다. 그러므로 에러를 출력한다.
          * cin은 공백이나 파일의 끝을 만나면 그때까지의 문자들을 변수에 저장하기 때문에 Samuel Beckett이라고 입력했으면 첫 cin엔 Samuel까지 들어가고, Beckett은 버퍼에 남아있어서 다음의 cin은 사용자에게 입력할 틈도 안 주고 남은 Beckett이란 단어를 flush하기 때문이다.
  • ZeroPageServer/Log . . . . 12 matches
          * Linux 관련 서버 세팅 - 절망이다. ;;
          * JSP에서 자바빈을 써야하는데 WEB-INF에 classes에 클래스를 넣을수가 없어서그러는데 어떻게 쓸수 있게 해주세요. --["광식"]
          * Q : domain 에 관련된 문의입니다.. ["ZeroPageServer"] 에서는 user.domain 으로 자신의 home directory 에 접근할 수 없습니까.? 또 이것은 관련없는 질문인데..-_- 저렇게 셋팅을 하려면 어떻게 해야하죠.. named.conf 랑.. /var/named 에서 관련파일 다 수정했는데도... username.domain.com 에 접속을 하니.. www.domain.com 에 접속이 되는군요..-_- - ["임인택"]
          * A: 하위 도메인을 가지기 위해서는 서버에 DNS(Domain Name Server)를 설치하고 각 유저에게 DNS를 드리면 되지만, 그런 용도를 생각하고 있지 않습니다. --["neocoin"]
          * Q : 현재 ZeroPage의 서블릿컨테이너가 사흘이 멀다하고(좀 부풀려서 ^^) 운명을 달리하시는데, 데비안 버전의 Resin 문제인건가요? 아니면 파악된 다른 원인이 있습니까? 현재 2.1.6 버전이 나와있던데, 업그레이드해볼 계획이 있나요? 또는, 다른 서블릿 컨테이너를 사용해보는건 어떤가요? Resin 2.0 대 기준으로 스트레스 테스트시 죽는 일은 있었습니다. 누군가 ZeroPageServer에 스트레스테스트를 하고 있나요?
          ''간단한 resin log analyzer를 만들어두었습니다. admin 안쪽 RLA.jsp로 확인바랍니다. 참, resin이 root 계정으로 동작하던데, 권한을 바꾸길 바랍니다. (권한을 바꿔줄때, 그 부산물 - jsp가 컴파일된 자바 소스나 클래스등 - 도 함께 권한을 바꿔줘야 합니다.)''
  • 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에 명세된 구조와 합치되어야 한다고 하네요. 이 내용에 대한 수업을 들으며 씁니다ㅋㅋㅋㅋㅋㅋㅋ - [김수경]
  • html5/richtext-edit . . . . 12 matches
         isContentEditable로 현재 편집가능 알수잇음 ("true", "false", "inherit"반환)
         window.document : 현재 웹페이지 전체 편집가능
         innerHTML : HTML태그를 포함한 문자열
         - innerHTML -
         // innerHTML 속성을 읽어들임
         alert(editor.innerHTML);
          * window나 document객체가 가진 getSelection()메서드를 이용하여 Selection형 객체 생성
          var selection = window.getSelection();
          * Selection 객체에 toString사용하면 선택한 범위의 문자열(HTML제외)가져옴
         alert(window.getSelection().toString());
         window.addEventListener("undo", function(event) {
  • whiteblue/MagicSquare . . . . 12 matches
         #include <iostream>
         using namespace std;
         int arr[20][20] = {{0}};
         int size;
         int main()
          cin >> size;
          int x = size/2;
          int i = x, j = 0, count = 1;
          continue;
          for (int i=0; i<size; i++)
          for (int j=0; j<size; j++)
  • ㄷㄷㄷ숙제1 . . . . 12 matches
         #include<stdio.h>
         main(void)
          printf("외우실 단을 입력해 주세요\n");
          int a;
          int i;
          printf("입력하신 단 입니다\n");
          printf("%d×%d=%d\n",a,i,a*i);
         #include<stdio.h>
         main(void)
          int a;
          int b;
          printf("%d*%d=%d\n",a,b,a*b);
  • 구구단/하나조 . . . . 12 matches
         #include <stdio.h>
         void main(void)
          int i=0;
          int j=0;
          int k=0;
          printf("%d * %d = %d\n",i,j,k);
         #include <stdio.h>
         void main()
          int i=0;
          int j=0;
          int k=0;
          printf("%d*%d=%d\n",i,j,k);
  • 김수경 . . . . 12 matches
         2007 근성가이 김수경 a.k.a Linflus
          * [Spring/탐험스터디]
          * [EnglishSpeaking/2012년스터디]
          * [Spring/탐험스터디]
          * [EnglishSpeaking/2012년스터디]
          * [Spring/탐험스터디]
          * [http://nforge.zeropage.org/projects/aureolin Project Aureolin]
          * [데블스캠프2011/셋째날/String만들기]
          * [EnglishSpeaking/2011년스터디]
          * 금요일에 ShortCoding 코너 진행.
         = to Linflus =
  • 데블스캠프2004/목요일후기 . . . . 12 matches
         [[HTML(<center>)]]'''후기 방법 : ThreeFs Fact(사실), Feeling(느낌), 교훈(Find)[[BR]] 을 구분해서 명확히 이야기 하세요.''' [[HTML(</center>)]]
          으하하 가장 재미있군 이거 --NeoCoin
         사실 : 암호화방법, 암호화와 복호화 방법, STL 의 정의(?)와 그 예들을 배웠습니다.(string,vector,map)
         DeleteMe 강사 두분은 그냥 생각나는데로 쓰고, 나중에 분류하는 편도 편해요. --NeoCoin
          * string str을 선언하고 getline(cin, str)을 하면 왜 입력 받은 후 엔터를 한번 더 쳐야 넘어가나요?
          * 재선이가 찾아본 결과론 char str[]의 경우는 널문자를 포함하고 string은 아니기 때문이라는데 정말일까요?
          * 우리는 청자들에게 끊임없이 공유 비전을 공감 시켜야 한다. 공감하지 못하고 실종(?) 된다면 우리와 함께 하는 것이 아니고 뭐랄까, 하고자 하는 생각이 없다는 표현이 맞을까? --NeoCoin
          * Siver bullet 는 Pair + 요구사항 변경일까? 시간이 걸리는 한가지를 진득히 구현하면서 밤을 새는 끈기를 이끄는 방법은 없을까? 재동 처럼하지 않은 것은 작년과 같은 기억으로 진행했었던 모양이다. 역시 피드백은 유용하군. ([데블스캠프2004/수요일후기] 강사후기에 적어주라) 작년 기록에서는 Pair 는 하지 않았군. 그럼 어떻게 해결했었을까? 03들이 작년의 기억을 되살려 [데블스캠프2004/공유비전]에 끈기를 넣은것 같은데 그때는 어떻게 했었지? --NeoCoin
          * 그렇군, 뒤에 이틀을 살펴보니 신입생+신입생으로 구성된 페어가 보이는군, 올해는 재학생 + 신입생 페어를 지향한것 같은데(나도 그렇고) 무언가 부족한 점이 있을까? 월요일 관찰은 2/8분 규칙을 해도 몇몇이 선배가 무시하고 키보드 독점 폐해가 있었다. --NeoCoin
  • 데블스캠프2005/RUR-PLE/Harvest/Refactoring . . . . 12 matches
         = [데블스캠프2005/RUR-PLE]/Harvest/[Refactoring] =
         [데블스캠프2005/RUR-PLE/Harvest/김태훈-zyint]
         def pickLineBeeper():
          for i in range(5):
         pickLineBeeper()
         pickLineBeeper()
         pickLineBeeper()
         pickLineBeeper()
         pickLineBeeper()
         pickLineBeeper()
          for i in range(5):
          for i in range(5):
  • 데블스캠프2005/월요일 . . . . 12 matches
          [http://xenbio.net/cgi/view/Xen/PlaySmalltalkWithIndexCard 잡담카드게임] 45m
          === For ObjectOrientedProgrammingSeminar ===
          IndexCard
          ==== Link ====
          NoSmok:ObjectOrientedProgramming (NoSmok)
          Wiki:ObjectOrientedProgramming (OriginalWiki)
          [http://c2.com/doc/oopsla89/paper.html A Laboratory For Teaching Object-Oriented Thinking]
          Object-Oriented Programming with Squeak
          [http://www.zib.de/Visual/people/mueller/Course/Tutorial/tutorial.html Introduction to Object-Oriented Programming Using C++]
          (15)textIntputBox와 버튼이벤트를 이용한 입력처리
  • 데블스캠프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/송지훈/김홍기/박성현]
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/박재홍 . . . . 12 matches
         #include <stdio.h>
         struct zergling{
          int attack;
          int defense;
          int HP;
         int main()
          int dam1,dam2=0;
          struct zergling a;
          struct zergling b;
          printf("저글링 b가 저글링 a에게 데미지 %d를 입혀 HP가 %d가 되었습니다.\n",dam1,a.HP);
          printf("저글링 a가 죽었습니다.\n");
  • 마름모출력/이재경 . . . . 12 matches
         #include <stdio.h>
         int main()
          int b,r,a;
          int n;
          printf("홀수인 층수를 입력하시오\n");
          printf(" ");
          printf("*");
          printf("\n");
          printf(" ");
          printf("*");
          printf("\n");
  • 마방진/문원명 . . . . 12 matches
         #include <iostream>
         using namespace std;
         void main()
          int array[19][19];
          int size,row,col;
          int oRow,oCol;
          cin >> size;
          for(int setx = 0; setx < size; setx++)
          for(int sety =0; sety < size; sety++)
          for(int cnt = 2; cnt <= (size * size); cnt++)
          for(int x = 0; x < size; x++)
          for(int y =0; y < size; y++)
  • 명령줄 전달인자 . . . . 12 matches
         #include <iostream>
         #include <stdlib.h>
         using namespace std;
         int main(int argc, char *argv[])
          int i;
          printf("%s\n", argv[i]);
         int power(int a, int b)
          for(int i=0; i<b ; i++)
  • 벡터/유주영 . . . . 12 matches
         #include <iostream>
         #include <string>
         #include <vector>
         #include <algorithm>
         using namespace std;
          string name;
          int score;
         int main()
          sort(vec.begin(),vec.end(),compare);
          for(int j=0;j<2;j++)
  • 비밀키/강희경 . . . . 12 matches
         #include<iostream>
         #include<fstream>
         using namespace std;
         void main()
          cin >> fileName;
          ifstream fin(fileName);
          while(fin.get(temp))
          fin.close();
          cin >> fileName;
          ifstream fin1("output.txt");
          while(fin1.get(temp))
          fin1.close();
  • 삼총사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 // 이렇게 상속받는다.
  • 새싹교실/2011/AmazingC . . . . 12 matches
         [새싹교실/2011/AmazingC/과제방]
         [새싹교실/2011/AmazingC/5일차(4월 14일)]
         [새싹교실/2011/AmazingC/6일차]
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         ==== part2. Hello World 출력하기(printf함수의 사용과 코드 분석하기) ====
          * printf함수를 사용하여 문자열을 출력하는 방법에 대해 알아보았고 컴파일러가 main 함수를 분석하는 모습을 따라서 전체 코드를 분석했다.
          * 따라서 int형이 표현할 수 있는 범위는 -2^31 ~ 2^31 -1이다.
          * 자료형의 종류엔 int, float, double, short, char등이 있다.
          * 식별자로 C라이브러리에서 제공하는 키워드(int, char, long, new등)는 쓸 수 없다.
  • 소수구하기/인수 . . . . 12 matches
          * printf가 좀더 빠르다.
         #include <stdio.h>
         #include <cmath>
         #include <ctime>
         bool IsPrime(int n)
          for(int j = 3 ; j <= sqrt(n) ; j+=2)
         int main()
          printf("%d %d",2,3);
          for(int i = 5 ; i <= 50000 ; i+=2)
          continue;
          printf("%d ",i);
  • 숫자야구/방선희 . . . . 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
         || [NeoCoin] || O ||. ||
          NeoCoin : 방법은, 현재 위키를 읽기 전용으로, 새로운 위키를 읽기, 쓰기, 지우기 다 열고 새로운 문화, 예절이 만들어 지는 모습을 경험하고 싶습니다. 읽기 전용의 위키의 내용은 전이되거나, 그대로 남거나, NoSmoke:SisterWiki (차후 연결) 하거나 하고 싶습니다. 더 나아가, 모든것에 대한 재정의와 다시금 생각해 보기를 해보았으면 합니다.
          모두가 멋지게 쓸수 있는 위키보다. 현재의 위키가 존재함으로서, 새로운 신입회원들이나 02 학번 정도의 사람들은 위키의 페이지가 처음 생기고, 예절과 규칙이 생기는 그러한 경험들을 본의아니게 박탈 당해 버렸다는 생각이 들었습니다. 그런 경험을 돌려주고 싶습니다. --NeoCoin
          성사 된다면, 현 위키 데이터는 읽기 전용으로만 접근 가능하도록 할 생각입니다. 경우에 따라서는 삭제 할수도 있을것 같습니다. --NeoCoin
          일정기간 읽기 전용, 차후 은근슬쩍 쓰기 가능이며 될까? --NeoCoin
          상용 서비스가 아니기에 언제든지 합의만 이끌어 낸다면 가능하지요. 다만 이런 생각을 하기가 힘든것 같습니다. 이러한 시도는 Open Source 나, 상용 프로젝트에서 일정 버전 이후에 완전 새로 작성하는것에 비견하지 않을까요? --NeoCoin
          좋고 나쁜것은 모두에게 달려 있습니다. 많은 분들이 적극적으로 참여해야 겠지요. 일단, 새로운 위키를 열겠습니다. --NeoCoin
          저에게 그 질문의 답은 '같은 질문을 온라인에 다른 분들이 하는 것' 입니다. --NeoCoin
          AnswerMe 여기에서 나중의 의미는 무엇이에요? --NeoCoin
          기존의 정보들을 옮겨놓자는 의미가 아니었습니다. 새로 만들어 지는 페이지들이 그쪽으로 가고 있는 것이지요. 지금 그렇게 되고 있고, 어쩌면 프로젝트를 위한 특화된 위키가 될지도 모를것 같군요.--NeoCoin
          둘은 함께 할수 있다고 생각합니다. 하지만 할려고 들지 않은 것이지요. --NeoCoin
         이런 의견도 있습니다. ''최소한 지금과 같이 늘어나고 있는 프로젝트 관련 페이지를 분리하자''는 것입니다. --NeoCoin
  • 정렬/Leonardong . . . . 12 matches
         #include <fstream>
         using namespace std;
         const int Asize=10000;
         int main()
          ifstream fin("unsortedData.txt"); //파일 이름이...삽질 1탄~!
          int sorted[Asize];
          for (int i=0 ; i<Asize ; i++)
          fin >> sorted[i];
          int temp;
          for (int j=0 ; j<Asize ; j++)
          for (int k=0 ; k<Asize ; k++)
  • 정렬/강희경 . . . . 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 <fstream>
         using namespace std;
         const int Max = 10000;
         int main()
          ifstream fin("UnsortedData.txt");
          int arr[Max];
          for(int i=0; i < Max; i++)
          fin >> arr[i];
          for(int j=0; j < Max; j++)
          int temp;
          for(int k=0; k < Max; k++)
  • 정모/2011.3.14 . . . . 12 matches
         = Ice Breaking =
          * [김수경]이 대안언어축제에서 배워온 ''진실 혹은 거짓''으로 IceBreaking 겸 1주일 회고를 진행.
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * Ice Breaking에서 지난 주에 하였던 일 3가지를 적되 1가지는 거짓으로 적어 맞히는 형식으로 진행되었습니다. 제가 했던 거짓말은 C언어의 low-level적 특성을 잊었다는 거였는데...열혈강의 책 첫장을 보면서 새로이 책을 보는 것 같은 기분이 들었다는 것에 충격을 많이 받았습니다. 새싹 교실 수업에 피해가 없도록 해야할 필요성을 느꼈습니다. 황현 학우의 OMS는 중간에 들어가서 잘 보지 못했습니다 ㅠㅠ 새싹교실에 추가 반배정이 있었는데 인원수가 늘은 만큼 수업 시 글자가 안보인다거나 목소리가 안들리는 피해가 없도록 잘 준비해 갈 계획입니다. - [강소현]
          * Fact는 중간중간에 껴넣을 것임으로 생략합니다. 중간에 가느라고 대안언어축제 공유를 참가하지 못한게 아쉬웠어요ㅠ_- IceBreaking에 충격적 진실 소재가 있어서 더 즐거웠어요 (조폭이었던 형님과 술먹음 ㅋㅋㅋㅋ) 현이의 OMS 진행 때 전자교탁 컴퓨터가 원활하게 돌아가지 않아서 시간이 좀 깎아먹힌게 아쉬웠어요. 전자교탁 좀 안된다 싶을때 기호 컴퓨터로 바로 세팅 시작했으면 더 좋았을거 같아요. (어차피 전자교탁으로 해도 퀵타임은 깔아야하지 않았나;) 제 생각이지만 본래 발표같은거 준비할때 학교 등의 사전답사가 안된 장비는 믿지 않는게 정석입니다. 다음 정모때 세미나 섭외했는데 많이들 오셨으면 좋겠어요 - [지원]
          * Ice Breaking 때 스펙타클한 거짓말을 썼는데 "달을 다녀왔다" 라고 썼습니다. 물론 고쳤지만요.ㅋㅋ 그리고 이번 Ice Breaking은 시간이 좀 길어진게 흠이지만 참 재밌었습니다. 이번 정모 때 가장 인상적인건 현이의 옵젝C 였습니다. 중간에 "함수 오버로딩은 지원 안하나요?" 라고 물어봤었는데, "언어의 특징 상 지원할 필요가 없다" 라고 현이가 답해줬습니다. 대답을 들으면서 '''"아, 난 그동안 언어의 특징을 너무 무비판적으로 수용한 것이 아닌가?"''' 라는 생각을 하게 되었습니다. '''"객체지향 언어는 당연히 함수 오버로딩을 구현해야 한다"'''는 선입견이 있었거든요. 저에게 심심한 충격이 됐습니다. 다른 OOP Language 중 오버로딩을 구현한 비율이 얼마나 되는지 한번 찾아봐야 겠습니다 ㅋㅋㅋ - [박성현]
          * 솔직히 Ice Breaking할때 저번 주에 한 재미난 일이 생각이 안나서 어떻게 대충 쓰다보니 너무 자명한 거짓말을 써 버렸습니다ㅋㅋ OMS할때 Objective-C에 대해 하나도 몰라서 초반의 Obj-C의 클래스 선언 방법이나 문법에 대해서는 이해를 했지만 뒤에 가서는 이해가 안가는 부분이 대다수였던 것 같네요. ZP책장에 Obj-C 책을 넣어 뒀다고 하니 언젠간 한 번 꺼내서 읽어봐야겠습니다. - [신기호]
          * Ice Breaking을 하면서 뭔가 저번주에 바쁘게 지낸거 같은데 쓸게 없네라는 생각이 들기도 했었지만,, 이런 기회로 조금이나마 서로에 대해서 알게 된 것 같아 좋았습니다. Objective-C는 초반 세팅의 문제가 있었지만, 설명을 해주는 점에 있어서는 확실히 이 언어를 많이 써 보고 느낀점을 전달하려고 하는 모습이 보기 좋았습니다. 그리고 항상 이런 언어에 대해서 들으면서 느끼는건 어디선가 이름은 많이 들어봤는데 접해본건 하나도 없구나 하는.... 대안언어에 대한 발표가 진행될 때 일이 있어 먼저 가긴 했지만 다음에 기회가 되면 알아보고 참여해 보는 것도 괜찮을 거 같다는 생각이 들었습니다. - [권순의]
          * 처음에 Ice Breaking은 늦게들어가서 제대로 하지 못했지만 저번주 회고도 되면서 나름 재미도 있는 개념인거같네요 그리고 objective-C 세미나는 흥미는 있었지만 능력부족으로 이해가 되지않고 밤새고 신검을 받고온 후유증으로 거의 졸았던것같습니다. 새싹교실에 대해서도 얘기를 했는데 첫 강사라 긴장되기도 하지만 열심히하면 제대로 되겠지요 - [경세준]
  • 최소정수의합/송지훈 . . . . 12 matches
         find = [n+1|n <- [1..], (n*(n+1)/2) <= 3000 <= ((n+1)*(n+2)/2)]
         #include <iostream>
         using std::cout;
         using std::endl;
         int main()
          int sum = 0, integer = 1;
          sum = sum + integer;
          integer++;
          cout << "The smallest 'n' for making the number what we want" << endl;
          cout << "-->" << integer << endl;
  • 최소정수의합/최경현 . . . . 12 matches
         #include <stdio.h>
         #define COMPARE_NUMBER 3000
         void main()
          int number = 1 ; // 시작 숫자는 1
          int minimumNumber;
          int sum = 0;
          minimumNumber = number;
          printf("min number = %d , sum = %d ",minimumNumber,sum);
         ㅋㅋ 경현이도 나처럼 main에 올인이구나~~ [김정현]
  • 캠이랑놀자/아영/숙제1 . . . . 12 matches
         for x in range(512):
          for y in range(512):
         for x in range(512):
          for y in range(512):
         == Whitening ==
         for x in range(50, 100):
          for y in range(50, 100):
         == Darkening ==
         for x in range(100, 150):
          for y in range(100, 150):
         for x in range(150, 200):
          for y in range(150, 200):
  • 파스칼삼각형/Leonardong . . . . 12 matches
         #include <iostream>
         using namespace std;
         int Pas(int, int);
         int main()
          int x,y;
          cin >> x >> y;
         int Pas(int x, int y)
  • 파스칼삼각형/곽세환 . . . . 12 matches
         #include <iostream>
         using namespace std;
         int f(int, int);
         int main()
          int r, c;
          cin >> r >> c;
         int f(int a, int b) //a가 열 b가 행
  • 파스칼의삼각형/조재화 . . . . 12 matches
         #include<iostream>
         using namespace std;
         int pa(int x, int y); //파스칼의 삼각형
         int main()
          int a,b;
          while(cin>> a >> b)
         int pa(int x, int y)
  • 파일 입출력 . . . . 12 matches
          #include <iostream>
         #include <fstream>
         #include <string>
         using namespace std;
         int main()
          ifstream fin;
          fin.open("score3.txt");
          string temp;
          int i=0;
          while(fin >> temp)
  • 프로그램내에서의주석 . . . . 12 matches
          아..["Refactoring"] 하라는 거군요.. 사실 설계 자체에서도 빠진 상태라 전체 구조 이해하는데 가장 크게 애를 먹었습니다. 아무튼 진짜 이해한 후에 코드를 수정해 놓는 것도 좋은 방법인건 분명하다고 생각합니다. ^^; --창섭
         처음에 Javadoc 을 쓸까 하다가 계속 주석이 코드에 아른 거려서 방해가 되었던 관계로; (["IntelliJ"] 3.0 이후부턴 Source Folding 이 지원하기 때문에 Javadoc을 닫을 수 있지만) 주석을 안쓰고 프로그래밍을 한게 화근인가 보군. 설계 시기를 따로 뺀 적은 없지만, Pair 할 때마다 매번 Class Diagram 을 그리고 설명했던 것으로 기억하는데, 그래도 전체구조가 이해가 가지 않았다면 내 잘못이 크지. 다음부터는 상민이처럼 위키에 Class Diagram 업데이트된 것 올리고, Javadoc 만들어서 generation 한 것 올리도록 노력을 해야 겠군.
         내가 가지는 주석의 관점은 지하철에서도 언급한 내용 거의 그대로지만, 내게 있어 주석의 주된 용도는 과거의 자신과 대화를 하면서 집중도 유지, 진행도 체크하기 위해서 이고, 기타 이유는 일반적인 이유인 타인에 대한 정보 전달이다. 전자는 command.Command.execute()이나 상규와 함께 달은 information.InfoManager.writeXXX()위의 주석들이고,후자가 주로 쓰인 용도는 각 class 상단과 package 기술해 놓은 주석이다. 그외에 class diagram은 원래 아나로그로 그린것도 있지만, 설명하면서 그린건 절대로 타인의 머리속에 통째로 저장이 남지 않는다는 전제로, (왜냐면 내가 그러니까.) 타인의 열람을 위해 class diagram의 디지털화를 시켰다. 하는 김에 그런데 확실히 설명할때 JavaDoc뽑아서 그거가지고 설명하는게 편하긴 편하더라. --["상민"]
         자바 IDE들이 Source Folding 이 지원하거나 comment 와 관련한 기능을 지원한다면 해결될듯. JavaDoc 은 API군이나 Framework Library의 경우 MSDN의 역할을 해주니까. --석천
         자네의 경우는 주석이 자네의 생각과정이고, 그 다음은 코드를 읽는 사람의 관점인 건데, 프로그램을 이해하기 위해서 그 사람은 어떤 과정을 거칠까? 경험이 있는 사람이야 무엇을 해야 할 지 아니까 abstract 한 클래스 이름이나 메소드들 이름만 봐도 잘 이해를 하지만, 나는 다른 사람들이 실제 코드 구현부분도 읽기를 바랬거든. (소켓에서 Read 부분 관련 블럭킹 방지를 위한 스레드의 이용방법을 모르고, Swing tree 이용법 모르는 사람에겐 더더욱. 해당 부분에 대해선 Pair 중 설명을 하긴 했으니)
          하지만, "확실히 설명할때 {{{~cpp JavaDoc}}}뽑아서 그거가지고 설명하는게 편하긴 편하더라."라고 한말 풀어쓰는 건데, 만약 디자인 이해 후에 코드의 이해라면 {{{~cpp JavaDoc}}} 없고 소스만으로 이해는 너무 어렵다.(최소한 나에게는 그랬다.) 일단 코드 분석시 {{{~cpp JavaDoc}}}이 나올 정도라면, "긴장 완화"의 효과로 먹고 들어 간다. 그리고 우리가 코드를 읽는 시점은 jdk를 쓸때 {{{~cpp JavaDoc}}}을 보지 소스를 보지는 않는 것처럼, 해당 메소드가 library처럼 느껴지지 않을까? 그것이 메소드의 이름이나 필드의 이름만으로 완벽한 표현은 불가능하다고 생각한다. 완벽히 표현했다면 너무나 심한 세분화가 아닐까? 전에 정말 난해한 소스를 분석한 적이 있다. 그때도 가끔 보이는 실낱같은 주석들이 너무나 도움이 된것이 기억난다. 우리가 제출한 Report를 대학원 생들이 분석할때 역시 마찬가지 일것이다. 이건 궁극의 Refactoring문제가 아니다. 프로그래밍 언어가 그 셰익스피어 언어와 같았으면 하기도 하는 생각을 해본다. 생각의 언어를 프로그래밍 언어 대입할수만 있다면야.. --["상민"]
         내가 Comment 와 JavaDoc 둘을 비슷한 대상으로 두고 쓴게 잘못인듯 하다. 두개는 좀 구분할 필요가 있을 것 같다는 생각이 들어서다. 내부 코드 알고리즘 진행을 설명하기 위해서는 다는 주석을 comment로, 해당 구성 클래스들의 interface를 서술하는것을 JavaDoc으로 구분하려나. 이 경우라면 JavaDoc 과 Class Diagram 이 거의 비슷한 역할을 하겠지. (Class Diagram 이 그냥 Conceptual Model 정도라면 또 이야기가 달라지겠지만)
          그리고, JDK 와 Application 의 소스는 그 성격이 다르다고 생각해서. JDK 의 소스 분석이란 JDK의 클래스들을 읽고 그 interface를 적극적으로 이용하기 위해 하는 것이기에 JavaDoc 의 위력은 절대적이다. 하지만, Application 의 소스 분석이라 한다면 실질적인 implementation 을 볼것이라 생각하거든. 어떤 것이 'Information' 이냐에 대해서 바라보는 관점의 차이가 있겠지. 해당 메소드가 library처럼 느껴질때는 해당 코드가 일종의 아키텍쳐적인 부분이 될 때가 아닐까. 즉, Server/Client 에서의 Socket Connection 부분이라던지, DB 에서의 DB Connection 을 얻어오는 부분은 다른 코드들이 쌓아 올라가는게 기반이 되는 부분이니까. Application 영역이 되는 부분과 library 영역이 되는 부분이 구분되려면 또 쉽진 않겠지만.
         이번기회에 comment, document, source code 에 대해서 제대로 생각해볼 수 있을듯 (프로그램을 어떻게 분석할 것인가 라던지 Reverse Engineering Tool들을 이용하는 방법을 궁리한다던지 등등) 그리고 후배들과의 코드에 대한 대화는 익숙한 comment 로 대화하는게 낫겠다. DesignPatterns 가 한서도 나온다고 하며 또하나의 기술장벽이 내려간다고 하더라도, 접해보지 않은 사람에겐 또하나의 외국어일것이니. 그리고 영어가 모국어가 아닌 이상. 뭐. (암튼 오늘 내일 되는대로 Documentation 마저 남기겠음. 글쓰는 도중 치열하게 Documentation을 진행하지도 않은 사람이 말만 앞섰다란 생각이 그치질 않는지라. 물론 작업중 Doc 이 아닌 작업 후 Doc 라는 점에서 점수 깎인다는 점은 인지중;) --석천
          ''DeleteMe) 부연설명 : 녹색글자는 ["Eclipse"] 에서 내부 주석에 대당. ["IntelliJ"] 는 일반적으로 회색. ["Vi"] 에서의 Java Syntax 에선 파란색.''
         // Constraint
         See Also Seminar:CommentOrNot , NoSmok:DonaldKnuth 's comment on programs as works of literature
  • 피보나치/방선희 . . . . 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++)
  • 하노이탑/이재혁김상섭 . . . . 12 matches
         #include <iostream>
         using namespace std;
         int num(int val, int start, int end);
         int main()
         int num(int val, int start, int end)
  • 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;
  • 3D프로그래밍시작하기 . . . . 11 matches
         3D Programming 을 시작하는 사람은 상당히 막막한 상태에서 시작하게 되기 마련인데, 실질적으로 거치면 좋을 것이라고 생각되는 몇가지 스텝을 적어 보았습니다
          * 옛날 D3d에는 모드가 두가지가 있었는데요 retained mode 하구 immediate mode 가 있었는데 retained 가 immediate위에서 한계층 더 추상화 시킨것이라 하더군요. 보통 immediate를 사용하는것 같더랬습니다. d3d안써봐서리.. --; 정확하진 않지만
         retained는 정점지정시에 속도가 떨어지고.. immediate는 어렵지만 여러방식으로 지정이 가능하고.. 빠르고.. 그랬던거 같습니당.. 요즘엔 direct graphics라 해서 인터페이스가 바꼈는데.. 어떻게 됬는지 몰겠네용..
         http://cg.cs.tu-berlin.de/~ki/engines.html 에 보면 여러가지 공개, 상용 엔진들의 리스트가 정리되어 있습니다. 아마 3D 프로그래밍하는 사람치고 이 페이지에 안가본 사람은 별로 없을것입니다만, 노파심에서..
          * 이것들 이외에도 모델링 데이타를 가져오기 위한 포멧이 여럿 있습니다. x나 3ds등도 쓰입니다. 3ds의 경우 버텍스 모핑 키값을 쓸수 있다 하는데 실효성은 의문입니다. 그리고 그넘은 binary로 되있어서 읽을때 조금 더손이 갈 듯합니다.
          * 최근에는 rasterinzing (transform, lighiting 이 끝나고 난후 화면 주사선에 맞추어서 찍어주는 부분.. 일꺼에여)이외에 trasform과 lighiting도 가속기로 처리할 수 있다고 합니다.
  • 3n 1/Celfin . . . . 11 matches
         #include <iostream>
         using namespace std;
         int countNum, cycle, i, start, end;
         int cycleNumber(int number)
         int maxCycle(int start, int end)
         int main()
          while(cin>>start>>end)
  • 5인용C++스터디/API에서MFC로 . . . . 11 matches
          * 에플리케이션 - CWinApp
         BEGIN_MESSAGE_MAP(CApplicationView, CView)
          afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
          afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
          afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
          afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
         void CApplicationView::OnLButtonDown(UINT nFlags, CPoint point)
          CView::OnLButtonDown(nFlags, point);
         void CApplicationView::OnLButtonUp(UINT nFlags, CPoint point)
          CView::OnLButtonUp(nFlags, point);
         void CApplicationView::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
         void CApplicationView::OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags)
  • 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 : 마우스 단추를 누른 곳의 좌표
  • 8queen/손동일 . . . . 11 matches
         #include<iostream>
         #include<ctime>
         using namespace std;
         void main()
          // int x = rand(); // rand()함수는 랜덤한 숫자를 리턴하는 함수입니다.
          // int x1 = rand() % 10; // % 10 연산을 하면 x1 에는 10의 나머지가 될 수 있는
          // int x2 = rand() % 9 + 1; // % 9를 하면 0~9까지의 숫자가 들어갈 수 있고
          int x = rand() % 6 +2;
         // int a = rand() % 7
          int arr[8][8]=
          int i,j;
  • ALittleAiSeminar . . . . 11 matches
          * approach : state machine
          * approach : minimax
          * http://jaist.dl.sourceforge.net/sourceforge/psyco/psyco-1.5.win32-py2.4.exe
         Upload:OthelloAISeminar.zip
         == 1 minute tutorial ==
          def __init__(self,aStone, aBoard):
          Player.__init__(self, aStone, aBoard)
         === Evaluator interface ===
          def __init__(self,aBoardSize=8):
          Evaluator.__init__(self,aBoardSize)
         || Namsang || 상섭, 정현, 보창 || [ALittleAiSeminar/Namsang] ||
  • A_Multiplication_Game/김태진 . . . . 11 matches
         #include <stdio.h>
         int main()
          int i,j;
          long long int n=0,p,count=0;
          for(;!feof(stdin);){
          printf("\n");
          printf("Stan wins.");
          printf("Ollie wins.");
  • 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");
  • AntOnAChessboard/김상섭 . . . . 11 matches
         4300966 2006-02-01 17:20:17 Accepted 0.002 Minimum 28565 C++ 10161 - Ant on a Chessboard
         #include <iostream>
         #include <math.h>
         using namespace std;
         void process(int num)
          int level, temp, x, y;
         int main()
          int num;
          cin >> num;
          cin >> num;
  • 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/진행상황"]
  • BeeMaja/김상섭 . . . . 11 matches
         4301124 2006-02-01 18:55:01 Accepted 0.010 Minimum 28565 C++ 10182 - Bee Maja
         #include <iostream>
         using namespace std;
         void process(int num)
          int de_x[6] = {0,-1,-1,0,1,1};
          int de_y[6] = {-1,0,1,1,0,-1};
          int count = 0, temp = 6, x, y, i;
         int main()
          int num;
          while(cin >> num)
  • ChangeYourCss . . . . 11 matches
         || 흰색바탕, 푸른색 헤딩 || /~gochi/cgi-bin/moin/css/blue.css ||
         || 흰색바탕, 푸른색 헤딩, 작은 글꼴 || /~gochi/cgi-bin/moin/css/smallblue.css ||
         || 흰색바탕, 분홍색 헤딩, 꽃무늬 배경, 작은 글꼴 || /~gochi/cgi-bin/moin/css/wiki.css ||
         || 누르스름한 바탕. 디폴트에서 배경색만 바꾼 색. 링크색과 비슷한 갈색계열이라 왠지 모르게 편안하고 아늑한..^^; || /~wizardhacker/cgi-bin/MoinMoin/wiki-moinmoin/wizneo.css ||
  • 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());
  • Counting/문보창 . . . . 11 matches
         || 2006-01-10 Accepted 0.057 Minimum ||
         // 10198 - Counting
         #include "BigInteger.h"
         using BigMath::BigInteger;
         #define MAX_SIZE 1000
         static BigInteger Tn[MAX_SIZE+1];
          for (int i = 3; i <= MAX_SIZE; i++)
         int main()
          int n;
          while (cin >> n)
         [Counting]
  • 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)
  • EnglishSpeaking/TheSimpsons/S01E05 . . . . 11 matches
         Bart : Intelligence indicates he shakes down kids for quarters at the arcade.
         we start the saturation bombing.
         Okay, our main force will be split into two groups.
         the other will drive in this way, closing the trap.
         It's a classic pincers movement. It can't fail against a ten-year-old.
         I thought I'd never hear the screams of pain...
         or see the look of terror in a young man's eyes.
         [English Speaking/2011년스터디]
  • FactorialFactors/문보창 . . . . 11 matches
         #include <iostream>
         using namespace std;
         #define MAXN 1000000
         static int fact[MAXN+1];
         void findFact()
          int i, j;
         int main()
          int n;
          findFact();
          while (cin >> n)
  • HighResolutionTimer . . . . 11 matches
         A counter is a general term used in programming to refer to an incrementing variable. Some systems include a high-resolution performance counter that provides high-resolution elapsed times.
         If a high-resolution performance counter exists on the system, the QueryPerformanceFrequency function can be used to express the frequency, in counts per second. The value of the count is processor dependent. On some processors, for example, the count might be the cycle rate of the processor clock.
         The '''QueryPerformanceCounter''' function retrieves the current value of the high-resolution performance counter (if one exists on the system). By calling this function at the beginning and end of a section of code, an application essentially uses the counter as a high-resolution timer. For example, suppose that '''QueryPerformanceFrequency''' indicates that the frequency of the high-resolution performance counter is 50,000 counts per second. If the application calls '''QueryPerformanceCounter''' immediately before and immediately after the section of code to be timed, the counter values might be 1500 counts and 3500 counts, respectively. These values would indicate that .04 seconds (2000 counts) elapsed while the code executed.
  • HowManyPiecesOfLand?/하기웅 . . . . 11 matches
         #include <iostream>
         #include "BigInteger.h"
         using BigMath::BigInteger;
         BigInteger input;
         int testcase;
         BigInteger Piece_of_Land(BigInteger n)
         int main()
          cin >> testcase;
          cin >> input;
          cout << Piece_of_Land(input) << endl;
  • ImmediateDecodability/김회영 . . . . 11 matches
         #include<iostream>
         using namespace std;
         void main()
          int code_number=0;
          int code_byte=0;
          int same=0;
          cin.get(temp);
          cin.get(temp);
          for(int i=0 ; i<=code_number-1 ; i++)
          for(int j=i+1 ; j<=code_number ; j++)
          int i=0;
  • LCD Display/Celfin . . . . 11 matches
         #include <iostream>
         #include <string.h>
         #include <stdlib.h>
         using namespace std;
         int n, h, i, j;
         int length;
         void display(int size, char *str)
         int main()
          while(cin>>n>>s)
  • LIB_1 . . . . 11 matches
          // Print Logo
          char *sen2 = "Check Running Task \n";
          char *sen3 = "Task Name Priority StackSize Running \n";
          LIB_VRAM_STRING(0,0,sen,0x04);
          LIB_VRAM_STRING(0,1,sen1,0x07);
          LIB_VRAM_STRING(0,2,sen2,0x07);
          LIB_VRAM_STRING(0,4,sen3,0x09);
          LIB_VRAM_STRING(0,12,"Total Interrupt Count :\n",0x09);
          LIB_VRAM_NUM(26,12,LIB_INT_COUNT,0x07);
         LIB_create_task (char* string,int,&task_point,task_size) 함수는
         void main()
          // init Scheduler Queue , TICKS and Parallel Port
          LIB_Init_Schedu(); // 스케쥴링을 위한 우선순위 큐를 초기화 하고
          LIB_init_prl(0); // 패러럴 포트를 정리한다.
         #if !defined(DEBUG)
          // init ISR
          LIB_INIT_ISR();
          LIB_VRAM_STRING(0,0," :: FATAL ERROR :: \n",0x07);
  • LinuxSystemClass/Exam_2004_1 . . . . 11 matches
          priority inversion
          Load Balancing 을 위해 단일 process queue 를 둔뒤 Multi CPU 에 배분한다.
          'split scheduling' 은 LWP 에서의 문제점이다.
          Rate Scheduling 란?
          Linux 의 DMA 가 Bound Buffer 로 이용되는 이유?
          Linux 에서의 메모리 처리 과정중 가장 시간이 오래걸릴 때는?
          Linux 에서의 Memory 관리시 binary buddy algorithm 을 이용한다. 어떻게 동작하는지 쓰시오.
         globpri 가 1이고 index 가 1인 상태.
          quantum 소비 중 blocking시 다음 우선순위.
         LinuxSystemClass
  • Lotto/김태진 . . . . 11 matches
         #include <stdio.h>
         int main()
          int i,N;
          int a[49]={0};
          int *p[7];
          printf("%d ",*p[i]);
          printf("\n");
          printf("%d ",*p[i]);
          printf("\n");
          printf("\n");
  • MagicSquare/영록 . . . . 11 matches
         #include <iostream>
         using namespace std;
         int main()
          int array[11][11] = {{0,},};
          int size;
          int a, b;
          int number = 1;
          int i;
          int j;
          cin >> size;
  • Map연습문제/유주영 . . . . 11 matches
         #include <iostream>
         #include <map>
         #include<fstream>
         using namespace std;
          int main()
          ifstream fin("input.txt");
          while(!fin.eof())
          fin.get(ch);
          if(fin.eof())
  • 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|| ||
          * http://unixpapa.com/js/key.html
          * MoinMoin:MoinMoinExtensions/Hotkeys
  • MoniWikiPlugins . . . . 11 matches
         Ko:MoniWikiPlugins
         모니위키는 MoinMoin과 호환하는 Macro를 가지고 있으며, 그 매크로에 상응하는 action을 각각 가지고 있는 경우 혹은 액션만 있고 매크로는 없는 경우가 있습니다.
          * [Include]
          * SystemInfo
          * WordIndex
          * print
          * login
          * minilogin
          * quicklinks
          * sendping
          * Admin
          * TwinPages
  • NSIS/예제1 . . . . 11 matches
         Name "TestInstallSetup"
         OutFile "TestInstallSetup.exe"
         InstallDir $PROGRAMFILES\TestInstallSetup
         DirText "This will install the very simple example1 on your computer. Choose a directory"
          SetOutPath $INSTDIR
          File "C:\windows\notepad.exe"
         MakeNSIS v1.95 - Copyright 1999-2001 Nullsoft, Inc.
         Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, et al.
         Processing config:
         Processing script file: "example1.nsi"
         Name: "TestInstallSetup"
         OutFile: "TestInstallSetup.exe"
         InstallDir: "$PROGRAMFILES\TestInstallSetup"
         DirText: "This will install the very simple example1 on your computer. Choose a directory" "" ""
         SetOutPath: "$INSTDIR"
         Processed 1 file, writing output:
         Output: "C:\Program Files\NSIS\TestInstallSetup.exe"
         Install: 1 section (1 required).
         Install: 4 instructions (96 bytes), 560 byte string table.
         Install code+strings: 525 / 944 bytes
  • 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" ""
  • OptimizeCompile . . . . 11 matches
         실행 시간(run time) 중의 계산을 줄이는 것이 목적이다. 이 최적화는 '미리 컴파일 시간에 계산(precomputaion in compile time)' 할 수 있거나, '미리 계산된 값을 재사용(reuse a previously computated value)' 할 수 있는 상황에서 적용된다.
         ''' Constant folding'''
         컴파일러는 constant propagation 과 constant folding 을 반복하여 수행한다. 각각 서로의 가능성을 만들어 줄 수 있으므로, 더이상 진행 할 수 없을 때까지 진행한다.
         '''Common subexpression elimination'''
         '''Removing loop invariant code'''
         e.g. instruction prefetching, branch prediction, out-of-order execution
         e.g. pipelining, superscalar
         coming soon.
  • POLY/김태진 . . . . 11 matches
         // main.cpp
         #include <iostream>
         using namespace std;
         int dp[101][101] = {0};
         int main(int argc, const char * argv[])
          int i,j,level,n,T;
          for(int iter=0;iter<T;iter++){
          int sum=0;
          printf("%d\n",sum);
  • PragmaticVersionControlWithCVS/UsingTagsAndBranches . . . . 11 matches
         || [PragmaticVersionControlWithCVS/CommonCVSCommands] || [PragmaticVersionControlWithCVS/CreatingAProject] ||
         = Using Tags and Branches =
         == Tags, Branches and Tagging ==
         == Creating a Release Branch ==
         == Working in a Release Branch ==
         == Generating a Release ==
         == Fixing Bugs in a Release Branch ==
         == Working With Experimental Code ==
         == Merging The Experimental Branch ==
  • 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
  • SOLDIERS/정진경 . . . . 11 matches
         #include <stdio.h>
         #include <algorithm>
         using namespace std;
         int main()
          int n;
          int x[10001], y[10001];
          int i;
          int k;
          int resx, resy;
          printf("%d", resx+resy);
  • STL/Miscellaneous . . . . 11 matches
          * 어떤 컨테이너가 int값들을 담고 있다고 하자. 거기서 1982 라는 숫자를 몽땅 지워주고 싶다면?
          * Contiguous-memory container 일때
         c.erase( remove(c.begin(), c.end(), 1982), c.end() ); // 이건 내부적으로 어떻게 돌아가는 걸까. 찾아봐야겠군.
          * Associative container 일때 - remove쓰면 난리난다.(없으니깐--;) 또 제네릭 알고리즘 remove도 역시 안된다. 컨테이너가 망가질수도 있다.
         // ints.dat 에서 정수들을 읽어와 list에 저장해줌
         ifstream dataFile("ints.dat");
         ifstream_iterator<int> dataBegin(dataFile);
         ifstream_iterator<int> dataEnd;
         list<int> data(dataBegin, dataEnd); // 요런식으로 써주자.
  • TheLagestSmallestBox/하기웅 . . . . 11 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         void findMinMax()
         int main()
          cout.setf(ios::showpoint);
          while(cin>>length>>width)
          findMinMax();
  • UpgradeC++/과제2 . . . . 11 matches
         #include <iostream>
         using namespace std;
         int main()
          int number;
          int count = 0;
          int i;
          int array[10];
          cin >> number;
          for(int j=0;j<10;j++)
          int temp = array[i];
  • VitosFamily/Celfin . . . . 11 matches
         #include <iostream>
         #include <algorithm>
         using namespace std;
         int testcase, homeNum, i;
         int sum;
         int addressList[500];
         int main()
          cin>>testcase;
          cin>>homeNum;
          cin >> addressList[i];
  • 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;
  • ZP&JARAM세미나 . . . . 11 matches
         || 8시 20분 || [이병윤] - network snipping, spooping ||
          * 이병윤 - network snipping, spooping
          * Linux&OpenSource
          linux & open source ost 했던 , 자람 20기 서버관리자 박훈준 입니다. 정말 즐거운 시간 이었습니다. 특히 스푸핑 관련 세미나... 네트워크에 대한 이해를 ++++ 할 수 있는 좋은 자리였어요. 저희가 뭔가 좀 준비했었다면 더 좋았을텐데 아쉽네요. 무엇보다, 이런 행사들이 지속적으로 이루어 지는것이 중요하다 생각됩니다. 3년전 쯤인가, 홍대 컴공학회 P.C.R.C 와도 교류가 이루어 지는듯 하다가, 그 이후로는 교류가 없네요. 계속해서 교류하고, 많이 나눴으면 좋겠습니다. 무엇이든 할 수 있어요. :) (참, 밥도 맛있었어요)
          행사내용에 있어서는 2번의 세미나가 조화롭게 이루어진 것 같아요. 처음 세미나는 subversion의 유용성에 대한 세미나였는데 기술적인 내용은 아니었지만 충분히 subversion의 매력을 느낄 수 있게 해 주신 세미나였고 두번째 세미나는 LAN 환경에서 어떻게 snipping, spooling 하는지 개념에서부터 실제 방법까지 잘 설명되어 있어서 이해가 잘 되었습니다.
          - [http://study.jaram.org/wiki.php/bloodjino bloodjino]
          준비가 미흡해서 발표가 매끄럽게 진행되지 못했던것같아 죄송합니다~ 아직 큰 규모의 프로젝트를 해보지않아 svn에 대해 잘 알지못했었는데 알게되어 좋았구요 OST때 linux & open source 테이블 유익한 정보 많이 듣게되어 재미있었습니다. 다음번 자람측 세미나가 기대되네요~
  • ZeroPageEvents . . . . 11 matches
         || . || ["EightQueenProblem"] || Online Event. ["EightQueenProblem"] 문제 풀기 & 토론 || 무수; ||
         || 4.11. 2002 || ["SeminarHowToProgramIt"] || . || 세미나 & 진행 : ["JuNe"][[BR]] 참가 : 이선우, ["woodpage"], ["물푸"], ["1002"], ["상협"], ["[Lovely]boy^_^"], ["neocoin"], ["구근"], ["comein2"], ["zennith"], ["fnwinter"], ["신재동"], ["창섭"], ["snowflower"], ["이덕준"], 채희상, 임차섭, 김형용, 김승범, 서지원, 홍성두 [[BR]] 참관: ["최태호"], ["nautes"], ["JihwanPark"], 최유환, 이한주, 김정준, 김용기 ||
         || 5.10. 2002 || Internet Problem Solving Contest(IpscAfterwords) || IPSC 참여. 밤샘 프로젝트; || ["1002"], ["neocoin"], ["데기"], ["nautes"], ["구근"], ["fnwinter"], ["JuNe"] ||
         || 5.19. 2002 || ["프로그래밍파티"] || 서강대 ["MentorOfArts"] 팀과의 ["ProgrammingContest"] || ZeroPagers : ["1002"], ["이덕준"], ["nautes"], ["구근"], ["[Lovely]boy^_^"], ["창섭"], ["상협"] [[BR]] 외부 : ["JuNe"], ["MentorOfArts"] Team ||
         || 7.15. 2002 ~ 7. 16. 2002 || ["2002년MT"] || ZeroPage MT~ || 김정훈(["정훈(K)의 페이지~"]), 신성재(["teruteruboz"]), 유상욱(["whiteblue"]), 이영록(["ricoder"]), 장재니(["E=mc²"]), 정재민(["Thor"]), ["창섭"], ["상협"], ["신재동"], 김남훈(["zennith"]), 강석천(["1002"], 류상민(["neocoin"]), 정해성(["phoenix_insky"]) ||
  • 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" />
  • html5/web-storage . . . . 11 matches
         interface Storage {
          getter DOMString key(in unsigned long index);
          getter any getItem(in DOMString key);
          setter creator void setItem(in DOMString key, in any value);
          deleter void removeItem(in DOMString key);
  • html5/webSqlDatabase . . . . 11 matches
         if(!!window.openDatabase) {
         == Indexed Database ==
          * SeeAlso) [html5/indexedDatabase]
          * Indexed Database는 새로 등장한 또다른 로컬 저장소 스펙이다
          * 현재 Web SQL Database 는 사양 책정이 중지된 상태이며, IndexedDB 라는 새로운 스펙이
          alert('Something unexpected happened: ' + e.message );
          'todo(ID INTEGER PRIMARY KEY ASC, todo TEXT, added_on DATETIME)', []);
          tx.executeSql('INSERT INTO todo(todo, added_on) VALUES (?,?)',
          todoItems.innerHTML = rowOutput;
         == hooking it all up ==
         === init ===
         function init() {
         <body onload="init();">
         === adding ===
          tx.executeSql('INSERT INTO foo (id, text) VALUES (1, "synergies")');
          * http://html5doctor.com/introducing-web-sql-databases/
  • to.상협 . . . . 11 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))
  • usa_selfish/권영기 . . . . 11 matches
         #include<iostream>
         #include<algorithm>
         using namespace std;
          int s1, s2;
         int cc(cow a, cow b){
         int d[50020], check[50020];
         int main(void){
          int n, m = 0;
          int i;
          printf("%d",d[m-1]);
  • 강성현 . . . . 11 matches
         = Timeline =
          * [http://www.riss.kr/link?id=T13688893 온라인 집단의 의견을 이용한 의사 결정 지원 시스템]
         = in ZeroPage =
          * [:데블스캠프2014 2014] (4일차 [http://zeropage.org/seminar/95758 Big Data 강의])
          * [Spring/탐험스터디] (2011.1 - 2)
          * Spring과 Java EE 개발에 대해 잘 모르는 채로 진행해서 이해도가 낮았음
          * 컴퓨터공학부 내의 연구실에 대한 빠른 설명. [http://zeropage.org/index.php?mid=board&search_target=tag&search_keyword=%EB%8C%80%ED%95%99%EC%9B%90 자유 게시판에 있는 대학원 소개]에 기초함.
         var text = prompt('Please input a text');
         for (var i in array) {
          if (count[array[i]] == undefined) count[array[i]] = 0;
         for (var i in count) {
  • 개인키,공개키/임영동,김홍선 . . . . 11 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         void main()
          ifstream fin("xm.txt");
          int key=30, count=0, i=0,temp;
          while(!fin.eof())
          fin.get(arr[i]);
          int temp = int (arr[i]) + key;
          temp = (int (arr[i]) - key +256)%256;
  • 경시대회준비반 . . . . 11 matches
         [경시대회준비반/BigInteger]
         || [StringCompression] ||
         || [CuttingSticks] ||
         || [AdventuresInMoving:PartIV] ||
         || [Counting] ||
         || [CompleteTreeLabeling] ||
         || [Self-describingSequence] ||
         || [HanoiTowerTroublesAgain!] ||
         || [TheGrandDinner] ||
         || [IsThisIntegration?] ||
         || [HerdingFrosh] ||
         || [ChainsawMassacre] ||
         [http://www.topcoder.com/tc?module=Static&d1=tutorials&d2=dynProg Dynamic Programming: From novice to advanced] 읽어보세요.
  • 고한종/swap() . . . . 11 matches
         #include <stdio.h>
         void swap(int *a, int *b)
          int temp;
         int main()
          int a=3 , b=5;
          printf("%d,%d\n",a,b);
          printf("%d,%d\n",&a,&b);
          printf("%d,%d\n",a,b);
          printf("%d,%d\n",&a,&b);
  • 구구단/김태훈-zyint . . . . 11 matches
         if __name__ == '__main__':
          print '==2단== ==3단== ==4단== ==5단=='
          for j in range(1,10):
          for i in range(2,6):
          print i,'*',j,'=',i*j,
          print ''
          print '==6단== ==7단== ==8단== ==9단=='
          for j in range(1,10):
          for i in range(6,10):
          print i,'*',j,'=',i*j,
          print ''
  • 금고/하기웅 . . . . 11 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         int testcase, nFloor, nSaver;
         int calculate(int f, int s)
         int main()
          cin>>testcase;
          cin>>nFloor>>nSaver;
  • 김상윤 . . . . 11 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          int a = rand()%10;
          int b = rand()%10;
          int c = rand()%10;
          int j,k;
          int i;
          cin>>i;
  • 네이버지식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 으로 사용하는 것이지요.
  • 데블스캠프2006/월요일/연습문제/for/성우용 . . . . 11 matches
         #include<iostream>
         using namespace std;
         int main()
          int i,j;
         #include <iostream>
         using namespace std;
         int main()
          int num, fac = 1;
          cin >> num;
  • 데블스캠프2006/월요일/연습문제/for/윤성준 . . . . 11 matches
         #include <iostream>
         using namespace std;
         int main (void)
          int p, n;
         #include <iostream>
         using namespace std;
         int main (void)
          int f, factn, res = 1;
          cin >> f;
  • 데블스캠프2006/화요일/pointer/문제1/성우용 . . . . 11 matches
         #include<iostream>
         using namespace std;
         void swap(int *a,int *b);
         void main()
          int a = 1;
          int b = 18;
         void swap(int *a,int *b)
          int tmp;
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프2006/화요일/pointer/문제1/이송희 . . . . 11 matches
         == 데블스캠프2006/화요일/pointer/문제1/이송희 ==
         #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]
  • 데블스캠프2006/화요일/pointer/문제1/주소영 . . . . 11 matches
         #include<iostream>
         using namespace std;
         void swap(int *a, int *b);
         int main()
          int a=1, b=18 ;
         void swap(int *a,int *b)
          int c;
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프2006/화요일/pointer/문제3/이송희 . . . . 11 matches
         == 데블스캠프2006/화요일/pointer/문제3/이송희 ==
         #include <iostream>
         using namespace std;
         void main()
          int *a=new int[4];
          int *b=new int[4];
          int *c=new int[4];
          int i;
  • 데블스캠프2006/화요일/pointer/문제3/주소영 . . . . 11 matches
         #include<iostream>
         using namespace std;
         void main()
          int i;
          int *a = new int[4];
          int *b = new int[4];
          int *c = new int[4];
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프2011/셋째날/후기 . . . . 11 matches
          * String 멤버 함수를 하나라도 더 짜보려는 무한경쟁의식이 급 생기는 바람에(문화상품권이 그렇게까지 필요하거나 탐났던 것도 아닌데) 주변 후배들을 별로 챙겨주지 못해서 아쉬웠습니다. 언제 한번 이후 정모 때 수경이가 String을 진행하지 않더라도 개인적으로라도 몇몇 후배들에게 실습을 시켜보고 싶어졌습니다.
          * 내 String클래스는 어떻게 된걸까? 소멸자에서 메모리 해제를 안해주다니 썩은 클래스군ㅜㅜ
          * String은 자바를 사용할때 매우 빈번하게 사용하는 클래스라 직접 구현하는게 재미있었어요! 물론 귀찮고 어려워보이는건 넘어갔지만.............
          * String Class를 만들고 java에서 상용하는 것과 같이 String의 함수들을 짜는 시간이었다. 처음 class의 생성자를 만드는데에만 시간을 거의 다 썼다. 생각과는 다르게 많이 어려웠다. 생성자를 만들고 한두개의 함수들을 만들자 시간이 끝낫다. 프로그램을 작성하는데 익숙해 질 때쯔음 끝나서 아쉬었다. 나중에 String class 를 완성시겨봐야겠다.
          * 새내기가 없어서 hardCore coderace로 변해버린 C언어 코딩. String을 만드는건 너무 힘들었다. 하지만 이렇게 스피드하게 한건 너무 오랜만이라 재미있었다. C++ 스트링클래스는 정말 예외처리가 많고 하다가 중간 중간 완성된것이나 예외처리 테스트를 만들어놨으면 나중에 더 빨리했을까했는데 너무 오래걸렸다는것이 아쉬웠다. 여튼 수고한 당신에게 박수를. =
          * 그냥 값을 가지게 하는 식이라면 어떻게든 비슷하게는 만들겠지만 불변객체로 만들라는 부분이나 const 사용 등을 고려하려고 하니까 힘들어지네요. 게다가 함수도 몇 개 못만들고... -_- 평소에 쓰는 string 클래스의 고마움을 절실히 느꼈습니다.
          * 실제로는 보기만 해도 이해가 안 갈 독특한 프로그래밍 언어를 모아서 설명하는 시간이었습니다. 뭐, 유명한 Brainf**k이나 Befunde 등의 언어가 어떤 식으로 되어 있는지 알아보고 직접 써보고. 더 괴상한 언어들도 보고. 보면서 느낀 것은 역시 세상은 넓고 Geek들은 많다는 점이었겠군요. 사실 Esolang 위키에 있는 언어들은 아무리 봐도 만든 사람들이 재미있어서 만든 것 같은 느낌이었으니까요. 그리고 다들 생각했을 평소에 쓰는 프로그래밍 언어에 대한 고마움도 새삼 느꼈습니다. 그런데 이번 경험이 나중에 어떻게 도움이 될 수 있을까는...... 잘 모르겠군요 -_-;;; 앞으로는 어떤 언어를 봐도 무섭지 않게 되는 건가...
          * Brainf**k의 특정 단어에 문제가 있어서 저장이 안 됐네요 -_- 뭐가 문제인가 한참 생각했네...
  • 레밍즈프로젝트/프로토타입/STLLIST . . . . 11 matches
         || CList || [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_cstring.asp] ||
         || AddHead || Adds an element (or all the elements in another list) to the head of the list (makes a new head). ||
         || AddTail || Adds an element (or all the elements in another list) to the tail of the list (makes a new tail). ||
         || GetNext || Gets the next element for iterating. ||
         || GetPrev || Gets the previous element for iterating. ||
         '''Insertion'''
         || InsertBefore || Inserts a new element before a given position. ||
         || InsertAfter || Inserts a new element after a given position. ||
         '''Searching'''
         || Find || Gets the position of an element specified by pointer value. ||
         || FindIndex || Gets the position of an element specified by a zero-based index. ||
         || GetCount || Returns the number of elements in this list. ||
  • 마름모출력/김유정 . . . . 11 matches
         #include <stdio.h>
         main()
          int column,row, star,a;
          printf("패턴입력:");
          printf("변의 길이 입력:");
          printf(" ");
          printf("*");
          printf("\n");
          printf(" ");
          printf("*");
          printf("\n");
  • 마름모출력/이태양 . . . . 11 matches
         #include<stdio.h>
         void main(){
          int i,j,k,b;
          printf("패턴입력:");scanf("%c",&pattern);
          printf("변입력:");scanf("%d",&b);
          printf(" ");
          printf("%c",pattern);
          printf("\n");
          printf(" ");
          printf("%c",pattern);
          printf("\n");
  • 마름모출력/허아영 . . . . 11 matches
         if __name__== '__main__':
          print '패턴 입력 : '
          p = raw_input()
          print ' 변의 길이 입력 :'
          n = input()
          for i in range(n+1):
          print ' '*(n-i),
          print p*(2*i-1)
          for i in range(n):
          print ' '*(i+1),
          print p*(2*(n-1-i)-1)
  • 몸짱프로젝트/HanoiProblem . . . . 11 matches
         #include <iostream.h>
         void hanoi(const int n, int x, int y, int z);
         int count = 0;
         void main()
         void hanoi(const int n, int x, int y, int z)
  • 비밀키/박능규 . . . . 11 matches
         #include <fstream>
         #include <iostream>
         using namespace std;
         int main()
          ifstream fin("source.txt");
          int key;
          cin >> key;
          while(fin>>a)
          fout << (char)((int)a+key);
          cout << (char)((int)a+key);
  • 새싹교실/2012/벽돌쌓기 . . . . 11 matches
          : 자료형의 종류 (int, float, double, char, string)
          : printf의 활용
          * int와 int값의 연산은 int로 나오는 데, int와 float값의 연산이 왜 float로 출력되는 가, float와 float값을 int값에 저장하였을 때 왜 소수점 자리가 버려지는 가 등과 같은 내용으로 강제형변환을 강의하였다.
          * 함수의 구현에 있어서 기본적인 int main(void) {}로 시작하여 간단한 swap함수와 add함수를 구현하여 설명하였고 return값이 정확하게 어떤 의미를 띄는지 함수선언의 자료형에 맞춰 강의하였다.
          * 다음 강의로는 pointer에 중점을 맞춰 강의할 계획이다.
  • 새싹교실/2012/부부동반 . . . . 11 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 참고로 ZeroWiki는 MoniWiki Engine을 사용하며 Google Chrome이나 Mozila Firefox, Safari보다는 Internet Explorer에서 가장 잘 돌아가는 것 같습니다.
          * Hardware / Programming Language / Software의 상관관계
          난 정말 C Programming을 공부한 적이 없다구요 - [http://kangcom.com/sub/view.asp?sku=200812300005&mcd=571]
          * Programming Language
          * Machine Language
          * Interpret Language
         * 포인터를 통해 swap(int, int) 작성해보기
         * Pointer LOL!!!!
  • 새싹교실/2013/록구록구/2회차 . . . . 11 matches
          #define 에서 message를정의하고 printf("message")와 printf(message)의 차이점
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          scanf와 #define에 대해서 배웠다, wiki가 무엇인지 또 어떻게 사용하는 것인지 알게 되었다
          printf만 보다가 scanf랑 #define을 보니 많은 것을 알게 된거 같아 뿌듯하고 바보탈출하는 느낌이었다
         wiki의 존재와 활용법, 자기페이지 만드는방법, scanf 입출력, #define을 배웠다.
         #define은 솔직히 왜 쓰는지 아직 잘 모르겠다ㅠㅠ
  • 알고리즘8주숙제/test . . . . 11 matches
         #include <iostream>
         using namespace std;
         #include <fstream>
         #include <cstdlib>
         #include <ctime>
         int main()
          int numCase;
          cin >> numCase;
          int alph, priority, temp;
          for (int i = 1; i <= numCase; i++)
  • 유용한팁들 . . . . 11 matches
         == Simple Text Indexer Using SQLite ==
          * [SimpleTextIndexerUsingSQLite]
          * 원본 글 : [http://www.codeproject.com/useritems/Text_Indexer.asp]
         == ssh login without password ==
          * [http://www.linuxproblem.org/art_9.html 참고글]
         Generating public/private rsa key pair.
         Enter file in which to save the key (/home/a/.ssh/id_rsa):
         Enter same passphrase again:
         Your identification has been saved in /home/a/.ssh/id_rsa.
         Your public key has been saved in /home/a/.ssh/id_rsa.pub.
         The key fingerprint is:
  • 윤성준 . . . . 11 matches
         #include<stdio.h>
         main(void)
          int a;
          int i;
          printf("몇단을 외우실꺼예요?\n");
          printf("단을 외울꺼예요~\n");
          printf("%d×%d=%d\n",a,i,a*i);
         #include <iostream>
         using namespace std;
         int main()
  • 이재영 . . . . 11 matches
         메신저: michin1213@hotmail.com
         싸이 : cyworld.com/michin1213
         #include <stdio.h>
         #include <stdlib.h>
         int main()
          int hac;
          printf("이름");
          printf("학번");
          printf("학점");
          printf("%s\n %d\n %.1f\n", name,hac, grade);
  • 정모 . . . . 11 matches
          * on/offline 모임 시간
         ||||2023.03.29||[김동영]||||||||learning to rank||
         ||||2023.09.20||[방석현]||||||||Rust - Object Oriented Programming with Rust||[정모/2023.09.20/참석자]||
         ||||2023.11.08||[박주용]||||||||LinkedIn의 시대||[정모/2023.11.08/참석자]||
         지난번 [정모]를 관찰하면서, 뭔가가 잘 안된다는 생각이 들어서 NeoCoin 군과 ProblemRestatement 를 약간 적용해보았다. 사람들마다 의견들은 다르겠지만, 참고해보기를.
          -> Online (주로 Wiki를 통해 이루어지는) 에서 결정할 내용과 Offline 에서 결정할 내용을 구분하지 못한다.
          -> Offline 에서 충분이 결정할 수 있는 일들을 Online(Wiki) 으로 미루어버린다.
          -> 해결책 : 어떻게 하면 토론을 효과적으로 할것인가에 대한 brain storming 이나, 학습 등.
  • 정모/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! 결국 결론은 '''와우에는 접근도 하지 말자.''' 피자도 맛있게 '냠냠 쩝쩝 우물우물 쓰읍쓰읍 꿀꺽 쯥'하면서 잘 먹었습니다. 아쉬운 점이 있다면, 새싹 교실 트레이드를 못한 것 입니다. 제 반에 같이 햇빛을 못 쬐는 새싹이 있는데 결국 다른 새싹으로 바꾸지 못해서 제 새싹이 양분을 먹지 못했습니다...담번에는 꼭 흙 째로 옮겨주고 싶네요. - [박성현]
  • 정모/2011.3.7 . . . . 11 matches
          * [Spring/탐험스터디]
          * 사람이 적어 예전에 실패한 SpringSecurity를 이용하여 동네API와 OAuth 연동하는 실습을 함.
         = Ruby Seminar =
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 활동보고에서 책읽기 모임 보고를 하면서 간만에 정말 정식활동 시작!! 한번쯤 해보고 싶었던 루비 프로그래밍 실습도 하면서 알찬 정모가 되지 않았나 느꼈습니다. 아쉬웠던 점은 시간 안배인데, 정모의 시간에 대한 제한은 없으나 어느 정도 deadline은 잡아야 하지 않나 하는 생각이 들었습니다. (예를 들면 늦어도 9시까지는 끝낸다 라던가..) 책읽기모임 활동보고의 소요시간이 약간 길었는데, 각자 읽은 책에 대해서 정모에서 나누는 것이 가장 효과적이긴 하나 모임 때 나눴던 얘기의 단순 요약판이니 이제부터는 위키를 참조하는 것도 좋지 않을까 싶네요. 그리고 루비 코드 레이스는 참여자를 봐서 다음주 정모 때 하는게 어떨까요 - [송지원]
          * 루비로 만들어진 프로그램 많아요!! 대표적인 Ruby on rails랑 redmine도 있고.. 어디서는 요즘 GUI 대세는 루비라고도 하던데ㅎㅎ 루비가 별로 쓸일이 없는건 제가 루비를 잘 몰라서였습니다 하하ㅠㅠㅠ 덧)Objective-c를 아예 날잡고 세미나 하는것도 좋을거같아요 - [서지혜]
          * Redmine이 Ruby로 만들어져있다는건 첨 들었네요. 오오 새로운 지식~ 그런데 'Ruby 曰: "GUI 대세 나임 ㅋ"' 라고 쓰신 이유가 궁금해서 찾아보니 이런 동영상이 있네요. [http://www.youtube.com/watch?v=PoZ9bPQ13Dk Ruby GUI programming with Shoes]. 코드 보니까 직관적이고 좋네요 ㅋㅋㅋㅋ - [박성현]
          * 이것은 여담이지만 Ruby는 붉은 광물(Redmine)이랍니다. - [변형진]
  • 정모/2012.3.19 . . . . 11 matches
          * [이민규]의 DLL Injection의 원리와 시연
          - DLL Injection의 원리 설명
          - DLL Injection 시연(myhack.dll Inject)
         == Ice breaking ==
          * [Spring/탐험스터디]
          * Linux Kernel 스터디
          * floating server와 비슷한 아이디어인듯. 되게 재미있을거같은데 영어가 좀.. 아 자꾸 미련가네 - [서지혜]
          * This meeting was so interesting. I was so glad to meet Fabien. From now, I think we should make our wiki documents to be written in English. - [장용운]
          * Hmm.. I think it isn't good idea. If we only use English in Wiki, nobody will use Wiki...--; -[김태진]
          * 그렇게 바로 시작할 줄 몰랐는데 10분쯤 늦었더니 OMS가 이미 시작되어 있었어요ㅜㅜ 6피에 있다가 내려온건데 다음부터는 좀 더 빨리 내려오겠습니다ㅜㅜ 아무튼, 이번 OMS 주제는 DLL Injection이었는데 영어 OMS라 설명을 다 알아들은 건지 모르겠습니다. 다행히 시연을 보면서 설명을 들어서 못알아들어도 이해할 수 있는 부분이 있었어요.
  • 지금그때2003 . . . . 11 matches
         [지금그때/OpeningQuestion]
         [지금그때2003/규칙] - Seminar:SimpleRule
         컨셉인 [지금알고있는걸그때도알았더라면]을 더 잘 드러내고, 전달력이 좋은 제목을 제시해 주세요. 제가 3분 고민하고 지은거라서 ;; --NeoCoin
          주제가 어떤거지? 현재 지어진 제목을 보면 '미래를 예측하는 방법'에 관한 내용인것 같고, [지금알고있는걸그때도알았더라면]은 '어떤것에 초점을 두어야 하는가'라는거 같은데.. 전자라면.. 앨런 케이의 말을 살짝 인용하며 정말 멋질것 같은데.. "The best way to predict the future is to invent it." - Alan Kay --[sun]
          그렇군요. 그런 느낌이 드네요. 후자에 가깝지만, 후자도 정답은 아닌것 같아요. 어감을 약간 바꾸어서 [내일알것을지금알수있다면] 정도는 어떨까요? 아니면 정말 그냥 [선후배이야기자리] 할까요. ;; --NeoCoin
          [지금그때] 는 그 자체를 용어로, 이미지를 만들기 위해서 지은 것에 어느정도의 목적이 있습니다. 선후배이야기자리가 [지금그때]가 축약하는 내용을 상징하기에는 부족하다고 생각이 되었고, 새로운 용어를 만들면서, 그 자체에 의미를 부여하고, 우리가 평소에 부를수 있도록 짤막하게 해보았습니다. ex) 지금그때 에서 xx한 형식을 적용해보는 것은 어떨까요? --NeoCoin
         도우미를 해주실 분 많이 자원해 주세요. 우리는 이것을 통해서 많은것을 얻을수 있을 것 입니다. --NeoCoin
         [상민]은 오프라인 홍보때 대단히 많이 버벅였습니다. 거의 계획하지 않은 말들에 대하여 버벅였는데, 가슴이 아픕니다. --NeoCoin
         2층을 빌렸다. 그런데, 너무 쉽게 빌릴수 있어서 어이가 없었다. --NeoCoin
          전체 내용을 위키로 만들 계획입니다. --NeoCoin
          흑흑.. 10년만에 돌아와 이 페이지를 보니, 열심히 전체를 정리해서 위키로 만들었는데 위키데이터 이식 과정에서 유실되었었네요. 아쉬워라.. --NeoCoin
  • 지도분류 . . . . 11 matches
         === Software Engineering ===
         ||["SoftwareEngineeringClass"]||.||
         ||["ExtremeProgramming"]|| Agile Methodology 인 ExtremeProgramming 에 대한 전반적 설명||
         || RegressionTesting || 회귀 테스팅으로 기존의 기능에 문제 없는가 테스트 ||
         ||SoftwareEngineeringClass ||
         ||ProgrammingLanguageClass ||
         ||OperatingSystemClass ||
  • 최대공약수/남도연 . . . . 11 matches
          int x,y;
          int big,small,remain;
         #include <iostream.h>
         #include "Choi.h"
          cin>>x;
          cin>>y;
          remain=big%small;
          small=remain;
         #include "Choi.h"
         void main(){
  • 큰수찾아저장하기/조현태 . . . . 11 matches
         #include <iostream>
         using namespace std;
         const int MAX_GARO=4;
         const int MAX_SAERO=4;
         void main()
          int number[MAX_SAERO][MAX_GARO]={0,};
          for (register int i=0; i<MAX_SAERO-1; ++i)
          for (register int j=0; j<MAX_GARO-1; ++j)
          cin >> number[i][j];
          for (register int i=0; i<MAX_SAERO; ++i)
          for (register int j=0; j<MAX_GARO; ++j)
  • 파스칼삼각형/김홍기 . . . . 11 matches
         #include <iostream>
         using namespace std;
         int PasNum(int col,int row){
          int i=0;
          int result=1;
         void main(){
          int col, row;
          cin>>col;
          cin>>row;
  • 파스칼삼각형/문원명 . . . . 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)
  • 파스칼삼각형/손동일 . . . . 11 matches
         #include<iostream>
         using namespace std;
         int sdd(int x, int y);
         void main()
          int a, b;
          cin >> a >> b;
         int sdd(int x, int y)
  • 파일 입출력_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;
  • 피보나치/김상섭 . . . . 11 matches
         #include <iostream>
         using namespace std;
         int fibonachi(int num);
         int main()
          int num;
          cin >> num;
          cin >> num;
         int fibonachi(int num)
  • 피보나치/조재화 . . . . 11 matches
         #include<iostream>
         using namespace std;
         int fn(int x); //피보나치수열
         int main()
          int z;
          while(cin>>z)
          int aa;
         int fn(int x)
  • 1002/TPOCP . . . . 10 matches
         Seminar:ThePsychologyOfComputerProgramming 맡은 챕터 정리궁리중.
         Part 3 Programming as an individual activity
         Variations in the programming task
          Professional versus amateur programming
          What the programmer is trying to do
          case) 물리 교수로부터 해당 메트릭스를 반전하는 프로그램 작성. 한 개발자는 (A) 뭔가 배울 수 있는 좋은 기회라고 생각, buffering 을 이용하여 문제를 해결하려고 함.
          Stages of programming work
  • 2010JavaScript/역전재판 . . . . 10 matches
         <link rel='stylesheet' type='text/css' href='style.css' media='all'>
         <div id='basewindow'>
          <span class='think'>(span 을 사용했음)</span><br>
         #basewindow { /*기본 화면*/
         padding : 10px;
         span.think { /*대화 중 주인공이 혼자 말할때의 속성을 지정*/
          <link rel='stylesheet' type='text/css' href='style.css' media='all'>
          document.getElementById('text').innerHTML = contents[i]
          <div id='basewindow'>
          <span class='think'>(span 을 사용했음)</span><br>
  • 3N+1Problem/구자겸 . . . . 10 matches
         #include <stdio.h>
         int cycle_length(int n); // cycle_length를 구하는 함수
         void main()
          int i_num, j_num; // 입력되는 두 정수
          int max = 0; // 최대값을 0으로 잡는다
          printf("%d\n", max); // 최대값 출력
         int cycle_length(int n)
          int count = 1; // 카운터
  • AspectOrientedProgramming . . . . 10 matches
         === Introduction ===
          최근 몇 년에 걸쳐 객체지향 프로그래밍(Object-Oriented Programming, OOP)은 절차적 방법론을 거의 완벽히 대체하며 프로그래밍 방법론의 새 주류로 떠오르게 되었다. 객체지향적 방식의 가장 큰 이점 중 하나는 소프트웨어 시스템이 여러 개의 독립된 클래스들의 집합으로 구성된다는 것이다. 이들 각각의 클래스들은 잘 정의된 고유 작업을 수행하게 되고, 그 역할 또한 명백히 정의되어 있다. 객체지향 어플리케이션에서는 어플리케이션이 목표한 동작을 수행하기 위해 이런 클래스들이 서로 유기적으로 협력하게 된다. 하지만 시스템의 어떤 기능들은 특정 한 클래스가 도맡아 처리할 수 없다. 이들은 시스템 전체를 들쑤시며 해당 코드들을 여러 클래스들에 흩뿌려 놓는다. 이런 현상을 횡단적(cross-cutting)이라 표현한다. 분산 어플리케이션에서의 락킹(locking, 동기화) 문제, 예외 처리, 로깅 등이 그 예이다. 물론 필요한 모든 클래스들에 관련 코드를 집어 넣으면 해결될 문제이다. 하지만 이런 행위는 각각의 클래스는 잘 정의된(well-defined) 역할만을 수행한다는 기본 원칙에 위배된다. 이런 상황이 바로 Aspect-Oriented Programming (AOP)이 잉태된 원인이 되었다.
          AOP에서는 aspect라는 새로운 프로그램 구조를 정의해 사용한다. 이는 쉽게 struct, class, interface 등과 같이 특정한 용도의 구조라 생각하면 된다. Aspect 내에는 프로그램의 여러 모듈들에 흩어져 있는 기능(하나의 기능이 여러 모듈에 흩어져 있음을 뜻한다)을 모아 정의하게 된다. 전체적으로, 어플리케이션의 각각의 클래스는 자신에게 주어진 기능만을 수행하고, 추가된 각 aspect들이 횡단적인 행위(기능)들을 모아 처리하며 전체 프로그램을 이루는 형태가 만들어진다.
          먼저 ‘Aspect는 꼭 필요한가?’라는 질문에 답해보자. 물론 그렇지는 않다. 이상에서 언급한 모든 문제들은 aspect 개념 없이 해결될 수 있다. 하지만 aspect는 새롭고 고차원적인 추상 개념을 제공해 소프트웨어 시스템의 설계 및 이해를 보다 쉽게 한다. 소프트웨어 시스템의 규모가 계속 커져감에 따라 “이해(understanding)”의 중요성은 그만큼 부각되고 있다(OOP가 현재처럼 주류로 떠오르는데 있어 가장 중요한 요인 중 하나였다). 따라서 aspect 개념은 분명 가치 있는 도구가 될 것임에 틀림없다.다음의 의문은 ‘Aspect는 객체의 캡슐화 원칙을 거스르지 않느냐?’는 것이다. 결론부터 말하자면 ‘위반한다’ 이다. 하지만 제한된 형태로만 그렇게 한다는데 주목하도록 하자. aspect는 객체의 private 영역까지 접근할 수 있지만, 다른 클래스의 객체 사이의 캡슐화는 해치지 않는다.
         Aspect-Oriented Programming in Java
          AspectJ는 Eclipse 프로젝트라기 보다. Xerox PARC 의 AspectJ 프로젝트의 홈페이지가 옮겨 온것 입니다. 역시 이글이 wegra님이 해석해 놓으신거 였군요. 좀더 많은 내용은 아래의 SisterWiki 를 참고하시고, 관련포럼 비스무리 한데가 http://aosd.net 입니다. --NeoCoin
  • Basic알고리즘/팰린드롬/임인택 . . . . 10 matches
         module Palindrome
         palindrome string = (string == (reverse string))
         Palindrome> palindrome "hahaha"
         Palindrome> palindrome "eye"
         Palindrome>
  • BookShelf . . . . 10 matches
          1. ConceptsOfProgrammingLanguages
          1. [IntroductionToAlgorithms]
          1. [생각하는프로그래밍] ( [ProgrammingPearls] 번역서 )
          1. LionsCommentaryOnUnix
          1. ProgrammingLanguageProcessorsInJava
          [http://dbmain.snu.ac.kr/maro/books.html 책]
          Art of UNIX Programming
         [ConceptualBlockbusting] - 20070210
         [Blink] - 20070228
         Generating Typed Dependency Parses from Phrase Structure Parses - 20070215
         A Maximum-Entropy-Inxpired Parser - 20070216
         [http://jania.pe.kr/wiki/jwiki/moin.cgi/BookShelf 강규영님 BookShelf]
  • Button/진영 . . . . 10 matches
         import javax.swing.*;
          repaint();
          addWindowListener(new WindowAdapter()
          public void windowClosing(WindowEvent e)
          Container contentPane = getContentPane();
          public static void main(String[] args)
         ["JavaStudyInVacation/진행상황"]
  • CodeConvention . . . . 10 matches
         Coding 을 하는데 지켜야할, 혹은 추천되는 관습
          * [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconnetframeworkdesignguidelines.asp?frame=true .Net Frameworks Design Guidelines] : C#, VisualBasic.Net
          * [http://msdn.microsoft.com/library/techart/cfr.htm Coding Technique and Programming Practices]
          * 1980년대 charles simonyi 논문 Meta-programming : A Software Prodution Method
          * 각 언어마다, Code Convention or Style, Notation, Naming 제각각이지만 일단은 Convention으로 해두었음 --["neocoin"]
         SeeAlso Wiki:CodingConventions, CodingStandard
  • ConcreteMathematics . . . . 10 matches
         === In finding a closed-form expression for some quantity of interest like T<sub>n</sub> we go Through three stages. ===
         1. Look at small cases. This gives us insight into the problem and helps us in stages 2 and 3.
         2. Find and prove a mathematical expression for the quantity of interest. (Induction so on..)
         3. Find and prove a closed form for our mathematical expression.
         [Lines In The Plane]
  • Cpp에서의가변인자 . . . . 10 matches
         C의 io 라이브러리인 printf에 쓰이는 그것이다. 또는 MFC - CString의 CString::Format이나 CString::AppendFormat에 쓰이는 그것이기도 하다. 함수 쓸때 ...이라고 나오는 인자를 가변인자라고 한다. 이렇게 하면 인자를 여러개를 받을 수 있다.
          int len;
          CString str;
          len = _vsctprintf(pFmt, args) + 1;
          _vstprintf(pbuf, pFmt, args);
         CString str;
         [Java] 1.5 언어 스펙에서 가변인자 관련 문법이 추가되었다. 자바에 곧 printf 가 추가될 것이다.; --[1002]
  • CuttingSticks . . . . 10 matches
         === About [CuttingSticks] ===
         나무막대를 여러 조각으로 잘라야 한다. 절단 분야에서 가장 뛰어난 것으로 알려진 ACM(Analog Cutting Machinery)이라는 회사에서는 자를막대의 길이에 따라 요금을 부과한다. 그리고 톱의 구조상 한 번에 하나씩만 자를 수 있다.
         === Input ===
         === Sample Input ===
         The minimum cutting is 200.
         The minimum cutting is 22.
         || 문보창 || C++ || 2일 || [CuttingSticks/문보창] ||
         || 김상섭 || C++ || 3년 || [CuttingSticks/김상섭] ||
         || 하기웅 || C++ || 몇일 || [CuttingSticks/하기웅] ||
  • DataCommunicationSummaryProject/Chapter5 . . . . 10 matches
          * Global roaming - 특별한 multimode phone에서만 가능
          === 3G defined ===
          * 인터넷의 중요성을 느낀 후, Packet Switching Backbone에 기초한 인터넷 프로토콜을 제공하기로 요구사항 추가
          * Voice(서킷) : 고정 전화기 수준의 음질. 소리 나는 메일, Conference Calling
          * Messaging(패킷) : e-mail과 합쳐진, Extension of paging(뭘까)->(뭐긴 삐삐가 이메일도 가능하다는거지.ㅋㅋ). 지불과 전자 티켓팅
          * Interactive(서킷) High Multimedia
          * 3G 서비스를 전세계가 같은 주파수대(쉬운 global roaming을 위해)를 할당하고자 했으나 뻑났다.
          * Roaming : operation의 multiple modes - 각기 다른 3G System.
          * 일본 표준(1999's UMTS + 메세징 시스템 + content based billing)
          === Upgrading to 3.5G ===
  • DataStructure/Queue . . . . 10 matches
          int m_nFront;
          int m_nRear;
          int m_nData[Size];
          bool Add(int ndata);
         bool Queue::Add(int ndata)
          int count=m_nFront;
         == Linked List로 만든 큐 ==
          int nData;
          void Add(int x);
         void Queue::Add(int x)
  • 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)
  • EclipsePlugin . . . . 10 matches
         Eclipse 사용할 때 유용한 Plug-in 정리
         ==== eBEJY plugin for Eclipse ====
         JSP 코드 Assistant 인데 정말 엄청 가볍게 느껴지는 Eclipse Plug-in 이다. Highlight 는 기본이고 자동완성 또한 지원한다.
         단 jsp 파일을 servlet 파일로 변경하면서 jsp 파일의 상위폴더를 패키지 명으로 사용하는데 이 때문에 warning 이 발생하는 아주 작은 문제가 있다. :)
         현재 My Eclipse 라는 상용 Plug-in 에 포함되어 있다.
         ==== Eclipse-FTP-WebDAV Plugin ====
         단 Local 프로젝트 구조를 서버와 같게 만들어야 하며, FTP 계정의 홈디렉토리보다 하위 디렉토리는 Mapping 디렉토리로 지정할 수 없다.
          * http://download.eclipse.org/downloads/index.php (페이지 하단에 있다.)
         여러 언어의 소스의 Highlight 해주는 라이브러리인데 여기에 Eclipse Plug-in 도 있습니다. JSP, C/C++, HTML, XML 등등 여러 타입이 지원됩니다. [http://colorer.sourceforge.net/lang-list.html 지원 언어 목록]
         Eclipse 에서 PairProgramming 을 하게 해 주는 플러그인이다. 전에 SE 랩의 박지훈 선배님께서 이와 비슷한 IDE를 개발하시다가 중단하셨는데. 이클립스와 PP 의 결합이라... 정말 엄청난 파워를 발휘할 것 같다.
  • EightQueenProblem2/이강성 . . . . 10 matches
          def __init__(self, size=8):
          for y in range(self.sizeY):
          continue
          self.mark(self.board, x, y, 1) # marking
          self.mark(self.board, x, y, -1) # unmarking
          print self.queens
          for dx, dy in [(1, 0), (0, 1), (-1, 0), (0, -1), (1, 1), (1, -1), (-1, 1), (-1, -1)]:
         if __name__ == '__main__':
          print 'Total solutions=', len(e.solutions)
          print e.solutions
  • 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)이라고도 함.''
  • ExploringWorld/20040308-시간여행 . . . . 10 matches
          3.3 resin 2.1.4 -> 3.0.6 (J2EE 1.3 -> 1.4)
         지하철에서 세환이와 오늘을 제목을 정한다면, 어떨까 라는 고민을 했다. '워밍업 데이'? '시작한날'? 하지만 이런 무미건조한 단어를 쓰기에 오늘을 따뜻하게 표현하고 싶었다. 그리고 집에와 Zp서버의 과거를 주로 이야기한 '시간여행'이라는 제목을 붙였다. 오늘을 한마디로 설명하기에 충분한 날이다. 그러나 크게 후회되는 점이 있다. 얼마전 나의 여행기에 '잘못된 이야기'에 대한 반성을 쓰고 실천 사항을 적었는데 오늘 후배님들 앞에서 실천하지 않았다. 결과, 다시 한번 아까운 시간을 두서없는 이야기로 채우는 우를 반복하였다. 다음주에는 반드시 이야기를 위한 '계획'을 세워 가치있고 압축적으로 시간을 써야겠다. --NeoCoin
          아니 무슨 그런 황송한 말씀을, 다 재미있자고 하는 일인데 --NeoCoin
         집으로 돌아와 MakeAnotherWorld 라는 세상을 만든다는 거창한 은유법보다, 여행을 한다는 느낌의 은유로 시작하면 재미있겠다는 생각이 들었다. 그래서 WalkingAroundWorld 나, CyclingWorld 같은 여행이라는 은유의 제목이 더 그럴싸한것 같은데, 너희들은 어때? --NeoCoin
         탐험하는것은 어때요? Exploring(The)World 같은... --세환
          오 좋은 생각이다. 차타고 휙지나가는게 아니라, 자전거를 타거나 걸어다니면서 이것도 기웃 저곳도 기웃을 생각했는데, 그럴게 아니라 새로운 세계를 탐험한다는 느낌이 더 좋을것 같다. ExploringWorld 정도면 될것 같다. rename 할까? 또 좋은 의견 없나? --NeoCoin
         ExploringWorld
  • HASH구하기/조동영,이재환,노수민 . . . . 10 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         int main()
          ifstream fin ("input.txt");
          int na[5]={0};
          int count=0;
          while(fin.get(ch))
  • Hacking2004 . . . . 10 matches
          * [Hacking/20040930첫번째모임]
          * [Hacking/20041028두번째모임]
          * [Hacking/20041104세번째모임]
          * [Hacking/20041118네번째모임]
          * [Hacking/첫번째과제]
          * [Hacking/첫번째과제/김홍선]
          * [Hacking/첫번째과제/윤성만]
          Upload:hacking.zip
          Upload:hacking2.zip
          Upload:hacking3.zip
  • 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를 조작할 수 있습니다.
  • JumpJump/김태진 . . . . 10 matches
         // main.cpp
         #include <iostream>
         using namespace std;
         int main(int argc, const char * argv[])
          long long int sum;
          int T,n;
          for(int iter=0;iter<T;iter++){
          printf("%lld\n",sum);
  • LearningGuideToDesignPatterns . . . . 10 matches
         원문 : http://www.industriallogic.com/papers/learning.html
         Pattern들은 각각 독립적으로 쓰이는 경우는 흔치 않다. 예를 들면, IteratorPattern은 종종 CompositePattern 과 같이 쓰이고, ObserverPattern과 MediatorPattern들은 전통적인 결합관계를 형성하며, SingletonPattern은 AbstractFactoryPattern와 같이 쓰인다. Pattern들로 디자인과 프로그래밍을 시작하려고 할때에, 패턴을 사용하는데 있어서 실제적인 기술은 어떻게 각 패턴들을 조합해야 할 것인가에 대해 아는 것임을 발견하게 될 것이다.
         "skin" vs "guts" 에 대한 토론은 StrategyPattern 와 DecoratorPattern 를 구별하는 좋은 예가 될 것이다.
         CompositePattern은 여러부분에서 나타나며, IteratorPattern, ChainOfResponsibilityPattern, InterpreterPattern, VisitorPattern 에서 종종 쓰인다.
         === Singleton - Creational ===
         SingletonPattern은 종종 AbstractFactoryPattern 을 만드는데 이용된다. (Related Patterns 참조)
         === Chain of Responsibility - Behavioral ===
         ObserverPattern 과 MediatorPattern 들을 이용한 message의 전달관계를 관찰하면서, ChainOfResponsibilityPattern 의 message handling 과 비교 & 대조할 수 있다.
         가장 복잡한 Pattern중 하나이다. 이 Pattern의 이용 예제는 다음 패턴인 InterpreterPattern 에서 서술된다.
         === Interpreter - Behavioral ===
         InterpreterPattern 은 복잡하다. 이 Pattern은 FlyweightPattern 와 VisitorPattern 과 관계있으며, 이해를 돕는다.
         가장 마지막으로 읽을 Pattern 은 FacadePattern 이다. 이 Pattern은 InterpreterPattern 의 예제코드와 그 주제가 비슷하므로, InterpreterPattern 다음에 이어지는 것이 적절하다.
  • 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;
  • Map/곽세환 . . . . 10 matches
         #include <iostream>
         #include <string>
         #include <algorithm>
         #include <map>
         using namespace std;
         void main()
          //cin.getline(s, 30);
          for (int i = 0; i < strlen(s); i++)
  • Map연습문제/곽세환 . . . . 10 matches
         #include <iostream>
         #include <string>
         #include <algorithm>
         #include <map>
         using namespace std;
         void main()
          //cin.getline(s, 30);
          for (int i = 0; i < strlen(s); i++)
  • Map연습문제/김홍선 . . . . 10 matches
         #include <iostream>
         #include <map>
         #include <fstream>
         #include <string>
         using namespace std;
         void main()
          ifstream fin("input.txt");
          while(fin.get(ch))
  • Map연습문제/황재선 . . . . 10 matches
         #include <iostream>
         #include <string>
         #include <map>
         using namespace std;
         int main()
          string text = "wjgydlrtyffworxjbdzyrsybfwlrobffylryjbkyjrtbdcyyrvmbjlsrkugjglrmdcgdarjbjyftr";
          string secret = "oyfzweyqsur";
          int i;
  • MoniWikiTutorial . . . . 10 matches
          * FindPage: 상단의 검색 폼 혹은 FindPage를 통해서 위키위키의 내용을 검색합니다.
          * TitleIndex: 위키위키의 모든 페이지 목록을 보여줍니다.
          * [[Icon(info)]] 페이지 변경 정보를 보여줍니다.
         || {{{''italic'' and '''bold''' and __underlined__}}} || ''italic'' and '''bold''' and __underlined__ ||
         || {{{MoinMoin:HelpContents}}} || MoinMoin:HelpContents (InterWiki-Link) ||
  • PhotoShop2003 . . . . 10 matches
          * 2-2 Object Programming 마지막 레포트
         || ^..^ || ^..^ || Blurring MASK 3X3complete || 철민 || 40분 ||
         || ^..^ || ^..^ || Blurring MASK 5X5complete || 철민 || 5분 ||
         || ^..^ || ^..^ || Blurring MASK 7X7complete || 철민 || 5분 ||
         || ^..^ || ^..^ || Sharpening MASK종료3개 COMPLETE|| 철민 || 80분 ||
         || ^..^ || ^..^ || 유사연산자,차 연산자,Embossing(?) COMPLETE|| 철민 || 80분 ||
         || ^..^ || ^..^ || Median Filtering 미 완성|| 철민 || 30분 ||
         || 17:45 || 17:47 || Threshold(binary image) 완성 || 인수 || 2분 ||
         || 18:17 || 18:20 || Contrast Stretching 완성 || 인수 || 3분 ||
         || 11:20 || 11:55 || 지금까지 각자 한것 통합 & 버그 수정 & Median Filtering 완성 || 철민, 인수 || 35분 ||
  • Postech/QualityEntranceExam06 . . . . 10 matches
          5. right linear 로 AB* U C* 인거 그래머로 적기
          boolean algebra 와 ordinary algebra 의 차이
          3. Machine Language Like 한 프로그램 만들기. 코드 주고. 스앞 함수 호출하는 부분 있고 파라미터 패싱을 설명해야함.
          4.2 way assoiate 캐시에서 히트 되었나 안되었나, 뭐 그러고 구조 그리고 각 index, tag, byte offset 등 요소 알아 맞추기
          5. Mutual Exclusion 에서 Bounded Waiting, Progress, Mutual Exclusion 이 아닌것 하나를 고르기
          - 어떤 경우에 counting semaphore 를 쓰는지,,
          6. Corutine, CoProcess, IPC 에 관해서..
         Dynamic Scoping 에서 Shallow Access 하는 경우에 상관 없는 키워드 발견하기.
          9. pointer restrict 관련 문제
          10 Dynamic Scoping 에서 Static type 체킹을 했을때 어떤 문제 가 발생하는가
  • PrivateHomepageMaking . . . . 10 matches
         1. hosting 업체에서 계정을 일정 기간동안 구입
         === Hosting 업체 ===
         윈도우 서버 환경에서는 apmsetup, spacetag, winapm 과 같은 통합형 Apache+PHP+Mysql
         || DokuWiki || http://wiki.splitbrain.org/ || PHP 기반, 내가 본거 중에 제일 괜찮다, 데비안의 경우 패키지로 그냥 설치됨 ||
         || MoinMoin || http://moinmoin.wikiwikiweb.de/ || Python 기반, 파일시스템 이용 ||
         참고) [http://wiki.splitbrain.org/wiki%3Acompare WikiEngine 비교]
  • ProgrammingPartyAfterwords . . . . 10 matches
         2002년 5월 19일 서강대에서 있었던 ["프로그래밍파티"] 후기 (see also ProgrammingPartyPhotos)
         다음으로는 요구사항에 대한 해설이 있었다. 당시의 문제는 http://no-smok.net/seminar/moin.cgi/ElevatorSimulation 에 가면 볼 수 있다.
         그 때쯤인가, ZP#2팀의 Mentor이신 김창준님이 '슬쩍' 오셔서 Design이 잘 떠오르지 않는다면, 비슷한 아키텍쳐를 가진 문제를 풀어서 그 아키텍쳐를 재사용해 보라는 말씀을 하셨다. 하지만, 우리 팀원중 아무도 그것에 대해선 이후에 언급하지 않았다.(묵살되었다. --) 그러다가 우선 요구분석에 대한 이해를 높이고, 디자인을 상세화하기 위해서(디자인->코딩->디자인->코딩 단계를 반복하였다.) 코딩을 시작하기로 하였다. 상협군과 인수군은 매직펜을 맡았고, 희록군은 키보드를 맡았다. 희록군은 Unix환경에서의 Eclipse의 작업 문제로 인해 심각한 스트레스를 받고 있었다. 그러다가 컴퓨터를 한번 옮겼으나 그 스트레스를 줄이진 못했다. 아무래도 공동으로 프로그래밍 하는거에 익숙하지가 않아서 좀 서투룬 감이 있었다. 그래도 해야 겠다는 생각을 하고 문제의 요구 사항을 분석하고 어떻게 설계를 해야할지 의논했다.
         3시 40분쯤. 1002는 시간이 너무 지체된다고 판단, '처음부터 일반화 알고리즘을 생각하시는 것 보다는, 사람수 한명일때라 생각하시고 작업하신뒤 사람수는 늘려보시는것이 더 편할겁니다' 라고 했다. 이는, 금요일, 토요일때 미리 엘리베이터 시뮬레이션을 만들때 느낀점이긴 했다. Moa 팀에서는 동의를 했고 직원 한명에 대한 여정부분을 Hard-Coding 해나갔다.
         멘터인 1002는 '저렇게 하면 나중에 main 함수 어떻게 만들까.. OO Style 이라면 main 루틴 부분이 좀 짧긴 하겠지만, C 라면 좀 힘들지 않을까' 라고 생각, 5시가 가까워지는 4시 20분쯤에 각 모듈 부분을 통합할것을 제안 했다. 통합 중간중 의견 조율을 하는 중간에 ZP#2 멘터인 김창준씨는 두 팀으로 나누어졌을 때 서로 엇갈려서도 Pair 를 바꿔보도록 제안, Moa 의 두 팀은 한명씩 서로 바꾸어보기도 하며 일을 진행해 나갔다.
          * NoSmok:StructureAndInterpretationOfComputerPrograms 에 나온 Event-Driven Simulation 방식의 회로 시뮬레이션 [http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-22.html#%_idx_3328 온라인텍스트]
          * NoSmok:TheArtOfComputerProgramming 에 나온 어셈블리어로 구현된 엘리베이터 시뮬레이션 (NoSmok:DonaldKnuth 가 직접 엘리베이터를 몇 시간 동안 타보고, 관찰하면서 만든 알고리즘이라고 함. 자기가 타고 다니는 엘리베이터를 분석, 고대로 시뮬레이션 해보는 것도 엄청난 공부가 될 것임)
          * Discrete-Event System Simulation : 이산 이벤트 시뮬레이션 쪽에 최고의 책으로 평가받는 베스트셀러. 어렵지도 않고, 매우 흥미로움. [http://165.194.100.2/cgi-bin/mcu240?LIBRCODE=ATSL&USERID=*&SYSDB=R&BIBNO=0000351634 도서관]에 있음
          * Seminar:ElevatorSimulation 문제, 일반적인 discrete event simulation 패턴 소개 등
  • ProjectPrometheus/CollaborativeFiltering . . . . 10 matches
         일단은 본격적인 CF로 가는 것보다 아마존의 "Customers who bought this book also bought"식으로 좀 더 간단한 것을 하는 것이 좋을 듯 하다. 이것은 꼭 Clustering이 필요없다 -- Clustering이 효과를 발휘하려면 상당량의 데이타(NoSmok:CriticalMass )가 쌓여야 하는데, 쉬운 일이 아닐 것이다. 다음은 JuNe이 생각한 간단한 알고리즘. 일종의 Item-to-Item Correlation Recommendation.
          *For every meaningful action(searching, viewing, writing a review, rating without writing reviews) there is a pref coefficient. (prefCoef)
          *When a user does a specific well-defined action, bookPref is updated as "prefCoef*userPref+bookPref" and resorted. (some books at the end of the list might be eliminated for performance reasons)
  • RedThon/HelloWorld과제 . . . . 10 matches
          대충..결과만 나오면 되니깐.ㅋ windows 창이랑 python shell 이랑 둘이 열심히 번갈아 가면서..
         print a
          for i in a:
          print i
         a = [ i for i in 'helloworld' ]
         for i in a:print i,
          for d in a:
          print d
          * 문자열를 변수에 할당해서 그냥 출력(print), 리스트를 함수에 전달인자로 넘겨준 다음 루프를 써서 출력, 문자열을 함수에 전달인자로 넘겨준 다음 루프를 써서 출력하는 세가지 방법으로 숙제를 잘 했네.
  • Refactoring/RefactoringReuse,andReality . . . . 10 matches
         = Chapter 13 Refactoring Reuse, and Reality =
         === Understanding Hot and Where to Refactor ===
         === Refactoring to Achive Near-term Benefits ===
         === Reducing the Overhead of Refactoring ===
         === Refactoring Safely ===
         == Resources and References for Refactoring ==
         == Implications Regarding Software Reuse and Technology Transfer ==
         == A Final Note ==
         ["Refactoring"]
  • ReplaceTempWithQuery . . . . 10 matches
         그러한 우려는 ' '''단지 그럴지도 모른다.''' ' 라는 가정일 뿐이다. 누구도 실제로 '''프로파일링'''(profiling)해보기 전까지는 알 수 없다. 실제로 문제가 되는지 아닌지는.
         이러한 방법을 사용하면서 부가적으로 얻을 수 있는 장점이 하나 더 있다. 실제로 도움이 될지 안될지 모르는 최적화를 하는데 쏟는 시간을 절약할 수 있다. 임시변수 사용뿐 아니라 이러한 미세한 부분의 조정은, 해놓고 보면 별로 위대해보이지 않는 일을, 할때는 알지 못하고 결국 시간은 낭비한게 된다. 돌이켜보면 나의 이러한 노력이 제대로 효과가 있었는지도 모른다. '''왜?''' 프로파일링 해보지 않았으니까. 단순히 ''시스템을 더 빨리 돌릴 수 '''있을지도''' 모른다''는 우려에서 작성한 것이었으니까. [http://c2.com/cgi/wiki?DoTheSimplestThingThatCouldPossiblyWork DoTheSimplestThingThatCouldPossiblyWork]
         have been only a boy playing on the seashore, and diverting myself in
         now and then finding a smoother pebble or a prettier shell than
         ordinary. Whilst the great ocean of truth lay all undiscovered before me.
         ["Refactoring"]
  • ReverseAndAdd/김정현 . . . . 10 matches
          for n in range(len(a)):
         if __name__ == '__main__':
          a=int(raw_input("number? "))
          for n in range(a):
          a=str(raw_input())
          for n in range(len(t)):
          a=str(int(a)+int(a[::-1]))
          print b, a
  • ReverseAndAdd/최경현 . . . . 10 matches
         def main():
          a=str(raw_input('input Number:'))
          a = int(a)+int(a[::-1])
          if int(b)==int(b[::-1]) :
          print a
         if __name__ == '__main__' :
          main()
  • 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];
  • TheLagestSmallestBox/김상섭 . . . . 10 matches
         #include <iostream>
         #include <math.h>
         using namespace std;
          cout.setf(ios::showpoint);
          double min = L;
          min = W;
          cout << -b/2.0/a - sqrt(b*b -4*a*c)/2.0/a << " " << 0.0 << " " << min/2.0 << endl;
         int main()
          while(cin >> L >> W)
  • TheTrip/허아영 . . . . 10 matches
         #include <iostream>
         using namespace std;
         #include <math.h>
         double rounding(double num)
         int main()
          int n;
          int i;
          while(cin >> n)
          cin >> cost[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()
  • TkinterProgramming/SimpleCalculator . . . . 10 matches
         from Tkinter import *
          def __init__(self):
          Frame.__init__(self)
          display = StringVar()
          for key in ('123', '456', '789', '-0.'):
          for char in key:
          for char in "+-*/=":
          btn.bind('<ButtonRelease-1>', lambda e, s = self, w = display: s.calc(w), '+')
         if __name__ == '__main__':
          calculator().mainloop();
  • TugOfWar/강희경 . . . . 10 matches
         def InputTestCaseNumber():
          n = input('TestCaseNumber: ')
          print '----'
         def InputPeopleNumber():
          n = input('PeopleNumber: ')
         def InputTheWeight(aN):
          for i in range(0, aN):
          list.append(input('Weight: '));
         def MakeTwoTeams(aInfoTuple):
          for i in range(0, aInfoTuple[1]):
          b += aInfoTuple[0][aInfoTuple[1]-1-i]
          a += aInfoTuple[0][aInfoTuple[1]-1-i]
         if __name__ == '__main__':
          testCaseNumber = InputTestCaseNumber()
          for i in range(0, testCaseNumber):
          print MakeTwoTeams(InputTheWeight(InputPeopleNumber()))
          print '----'
  • TugOfWar/신재동 . . . . 10 matches
         def inputWeights(n, weights):
          for i in range(n):
          weight = int(input())
          for i in range(n):
         if __name__ == '__main__':
          n = int(input())
          inputWeights(n, weights)
          print str(groupsWeights[0]) + ' ' + str(groupsWeights[1])
  • Velocity . . . . 10 matches
         download : http://jakarta.apache.org/site/binindex.cgi#velocity
          public static void main(String[] args) throws Exception {
          prop.setProperty("input.encoding" ,"euc-kr");
          prop.setProperty("output.encoding" ,"euc-kr");
          Velocity.init(prop); // properties 화일(velocity.properties) 를 선택할 수도 있음.
         === Plugin ===
         DreamWeaver Plugin - http://java.techedu.net/phpBB2/viewtopic.php?t=138 - 아아.. 이런 문서 먼저 만들어주신 분에게 참 감사하다는. :)
         === StrutsAndVelocityIntegration ===
  • WorldCup/송지원 . . . . 10 matches
          * 처음에 class명을 Main으로 해야 하는 지 몰라서 Compile Error를 아름답게 띄움...-_-;; // 아래 소스도 복붙할 때 바꿔 줘야 함
          public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
          int teams = sc.nextInt(); // 0 <= T <= 200
          int matches = sc.nextInt(); // 0 <= N <= 10000
          int sum = 0;
          for(int i = 0; i < teams; i++) {
          sc.nextLine();
          sum += sc.nextInt();
          System.out.println((matches * 3 - sum));
  • XpWeek/준비물 . . . . 10 matches
          || ExtremeProgrammingExplained || . ||. ||
          || ExtremeProgrammingInstalled || . || (V) ||
          || PlanningExtremeProgramming || . || (V) ||
          || ExtremeProgrammingApplied || . ||. ||
          || ExtremeProgrammingExplored || . ||. ||
          || ReFactoring ||. || (V) ||
          * HowToStudyExtremeProgramming
          * http://c2.com/cgi/wiki?ExtremeProgramming
          || IndexCards || 문방구에도 있고 집에도 있다. || (V) ||
  • Yggdrasil/020515세미나 . . . . 10 matches
         #include<iostream.h>
         int main()
          int i;
          int j;
         {{{~cpp #include<iostream.h>
         main()
          int i,j;
          int temp;
          int array[]={1,4,2,53,25,12,43,12,44,3};
  • ZP&COW세미나 . . . . 10 matches
          * Java 2 SDK: http://165.194.17.15/pub/language/java/j2sdk-1_4_2_01-windows-i586.exe
          * Platform: http://165.194.17.15/pub/language/java_eclipse/eclipse-platform-3.0M3-win32.zip
          * Extreme Programming Installed, Ron Jeffries, 인사이트
          def __init__(self,amount):
         if __name__=='__main__':
          unittest.main()
         || 이상규, 오세윤, 신재동 || Upload:win.Winner_1.0.jar ||
         || 이상규, 오세윤, 신재동 || Upload:win.Winner_2.0.jar ||
  • [Lovely]boy^_^/Diary/7/8_14 . . . . 10 matches
         #include <map>
         #include <string>
         using namespace std;
         map<string, int> lalala;
         lalala["insu"] = 200;
         cout << lalala["insu"]
         ["[Lovely]boy^_^/USACO/PrimePalinDromes"] [[BR]]
         ["[Lovely]boy^_^/USACO/MixingMilk"] [[BR]]
  • comein2 . . . . 10 matches
          * 개인 위키 : http://comein2.xhot.net/moin/moin.cgi
         [http://165.194.17.15/moin/moin.cgi?action=userform&uid=1009955467.92.23121 comein2로그인]
          * ExtremeProgramming 관련 UnitTest , Refactoring
          * E-BANKING 시스템 기반 사용자 인증 방법에 대한 연구
          * Game Programming 관련 AI 및 Server 기술
          * ["Java/NestingClass"]
  • geniumin . . . . 10 matches
         == Conceptual Model of Geniumin.. ==
          * E-Mail: geniumin@hanmail.net
          * 메신저: geniumin99@hotmail.com
         == Special Ability of Geniumin.. ==
         == Interested in... ==
          * C,C++,Visual C++, UNIX C
          * Server programing
          * Online Game
          * physical presentation in 3D Graphic
          interested...interested.....only.. yet...-.-;
  • html5/canvas . . . . 10 matches
          1. beginPath()로 그리기 시작.
          * beginPath()를 호출하여 클리핑 영역을 해제할 수 있다.
          * lineWidth
          * lineCap
          * lineJoin
          * textBaseline
          * [http://diveintohtml5.org/canvas.html#divingin canvas에 관한 아주 자세한 설명] 어떻게 그려지는지에 대해서는 이곳에서 물어보면 대부분 해결 될 듯
  • html5practice/roundRect . . . . 10 matches
          <body onload="main()" style="background-color:gray">
          if (typeof stroke == "undefined" ) {
          if (typeof radius === "undefined") {
          ctx.beginPath();
          ctx.lineTo(x + width - radius, y);
          ctx.lineTo(x + width, y + height - radius);
          ctx.lineTo(x + radius, y + height);
          ctx.lineTo(x, y + radius);
         function main(){
          ctx.textBaseline = "top";
  • radiohead4us/PenpalInfo . . . . 10 matches
         Interests/Hobbies: writing letters, reading, music, ...............
         Comments: Hi All! Writing letters is my greatest hobby and i am still looking for some pals around my age. If you´re interested in writing snail mail to me, please send me an e-mail. Thanks! I promise, I will answer all.
         Interests/Hobbies: traveling, music, snowbording
         Comments: I'm looking for friends all over the world(^0^)/
         Interests/Hobbies: music, world news
  • zennith/w2kDefaultProcess . . . . 10 matches
         Win32.sys가 Win32 subsystem의 커널모드 부분인데 비해서 Csrss.exe는 사용자모드 부
         작업관리줄, 바탕화면 등과 같은 사용자 셸로서 Windows의 작동에 있어 필수적인 요소
         Internat.exe - 작업관리자에서 종료 가능
         로컬 보안 인증 서버로서 Winlogon 서비스가 사용자를 인증하는데 필요한 프로세스를
         만들어 내고 이 프로세스는 Msgina.dll과 같은 인증 패키지를 이용함으로써 수행된
         되며 Winlogon 및 Win32 (Csrss.exe) 프로세스를 구동하고 시스템 변수를 설정하는 등
         이들 프로세스를 구동시킨 다음 Winlogon이나 Csrss가 종료할 때까지 대기하되, 종료
         Winlogon.exe - 작업관리자에서 종료 불가
         Winmgmt.exe - 작업관리자에서 종료 불가
  • 구구단/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 ''
  • 구구단/aekae . . . . 10 matches
         #include <iostream>
         using namespace std;
         int main()
          for (int i=1; i<10; i++)
          for (int j=2; j<6; j++)
          for (int k=1; k<10; k++)
          for (int h=6; h<10; h++)
         PrintGugudan
         abc PrintGugudan.
  • 김희성/ShortCoding/최대공약수 . . . . 10 matches
         main(a,b){scanf("%d%d",&a,&b);while(a%=b)a^=b^=a^=b;printf("%d",b);}
          '''컴파일러''' - gcc 컴파일러는 사용된 function을 확인하여 필요한 header file을 자동으로 include 해줍니다. 또한 gcc 컴파일러는 타입이 선언되지 않은 변수는 int형으로 처리합니다. 이로인해서 main의 본래 형식은 int main(int,char**)이지만 변수형을 선언하지 않으면 두번째 인자도 int형으로 처리됩니다.
          '''Coding Skill''' - a^=b^=a^=b;(a^=b;b^=a;a^=b;)는 추가 변수 없이 두 수의 값을 바꾸는 방법입니다. 하지만 두 수가 같을 시 두 수의 값이 0이 되는 치명적인 버그가 있습니다. 본 코드에서는 while문에서 a%=b라는 조건을 주어 이 버그를 차단하고 있습니다.
  • 노스모크모인모인 . . . . 10 matches
          * 조만간 Seminar:RenaissanceClub 사람들이 노스모크모인모인 업그레이드를 할 계획입니다. 그때 맞춰서 다시 업그레이드 할 예정임.~ --["1002"]
          * ["1thPCinCAUCSE"]
          * ["1thPCinCAUCSE/ProblemA"]
          * ["1thPCinCAUCSE/ProblemB"]
          * ["1thPCinCAUCSE/ProblemC"]
          1. apache의 new line encoding 차이
          * python의 코딩상 문제점을 찾는다. 최소한 모든 파일 unix newline 으로 변경
         대문누르면 타이틀 없어지는 것은 moin_config.py 에서 {{{~cpp FrontPage?action=print&value=notitle}}} 의 ? 이후를 지워버리면 원래처럼 됨.
  • 데블스캠프2006/SSH . . . . 10 matches
          * 자신의 public_html 폴더안에 index.html 을 저장.
          * zeropage.org/~id url 로 들어가면 해당 index.html 화일이 보임
          * index.html, index.php, index.jsp 같이 index 는 기본 파일로 지정됨
          *서버 terminal 에 접속하여 여러 작업을 함
          * Quick connect, login
          * wget 명령어. wget zeropage.org/index.html
         #!bin/sh
  • 데블스캠프2006/월요일/연습문제/for/김준석 . . . . 10 matches
         #include<iostream>
         using namespace std;
         void main(){
          int i,j;
         #include<iostream>
         using namespace std;
         void main(){
          int i;
          int sum=1;
          cin >> i;
  • 데블스캠프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/월요일/연습문제/if-else/이차형 . . . . 10 matches
         #include <iostream.h>
         int main()
          int n;
          int i;
          cin>>n;
         #include <iostream.h>
         int main()
          cin>>n;
  • 데블스캠프2006/월요일/연습문제/if-else/임다찬 . . . . 10 matches
         #include <iostream>
         using namespace std;
         void main(){
          int number;
          cin >> number;
          for(int i = 1; i < number; i++){
         #include <iostream>
         using namespace std;
         void main(){
          cin >> mun;
  • 데블스캠프2006/월요일/연습문제/switch/이장길 . . . . 10 matches
         #include <iostream.h>
         void output(int *n);
         int main(void)
          int score[10];
          int i;
          int num[10]={0,};
          cin>>score[i];
         void output(int *n)
          int i;
  • 데블스캠프2006/월요일/연습문제/switch/임다찬 . . . . 10 matches
         #include <iostream>
         using namespace std;
         int main(){
          int jumsu;
          int grade[5]={0,};
          cin >> jumsu;
          if(jumsu == 999) continue;
          else if(jumsu > 100 || jumsu < 0) continue;
          for(int i = 0; i < 4; i++){
  • 데블스캠프2006/화요일/pointer/문제1/윤성준 . . . . 10 matches
         #include <iostream>
         using namespace std;
         void swap(int *n, int *i);
         void main()
          int a, b;
         void swap(int *n, int *i)
          int m;
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프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]
  • 데블스캠프2011/네째날/이승한 . . . . 10 matches
         == 이승한/Android Reverse Engineering ==
          * [http://blog.softwaregeeks.org/wp-content/uploads/2011/04/Reverse-Engineering-%EC%95%88%EB%93%9C%EB%A1%9C%EC%9D%B4%EB%93%9C-%ED%95%99%EC%8A%B5.pdf Reverse Engineering, 안드로이드 학습 발표자료] - 진성주, JCO 발표 자료
          * android reversing tools - 제로페이지 홈페이지 자료실 게시물
          * setup git and github - http://help.github.com/win-set-up-git/
          * github repository address - https://github.com/beonit/devils2011GitSeminar
          * git cheat sheet - http://ktown.kde.org/~zrusin/git/git-cheat-sheet-medium.png
  • 데블스캠프계획백업 . . . . 10 matches
          * ["PairProgramming"]은 안했으면 하네요.. 아직 프로그래밍에 대한 기초가 없을텐데.. 데블스 캠프의 목적이 프로그래밍의 기초를 다지는데 있지 페어 프로그래밍 방법의 전수는 아니라고 생각하거든요. --태호형
          ''["PairProgramming"]을 하냐 안하냐 하는 것은 크게 중요한 것은 아닌데, 한가지 오해가 있군요. 페어 프로그래밍은 "["PairProgramming"] 방법의 전수"를 위해서 하는 것이 아니고, 프로그래밍을 잘하기 위해서 하는 것입니다. 과외가 "과외방법의 전수"를 목적으로 하는 것이 아니고, 공부를 잘하기 위해서 하는 것이듯. --JuNe''
          * 솔직히 저는 ["PairProgramming"]의 장점을 모르겠습니다. 같이 프로그래밍을 하면서 다른 사람의 프로그래밍 기술을 습득하는것이 장점인지 아니면 프로그램의 개발 속도 향상을 하는것이 장점인지 .. 아마도 둘다 장점이 되겠지요. 하지만 ["PairProgramming"]의 목적은 둘중에 개발 속도 향상에 중점을 두고 있다고 생각하네요. 다른 사람의 프로그래밍 기술의 습득은 부가적인 것이구요. 후배들에게 하는 세미나는 개발을 위한게 아니고 실력 향상을 위한 것인데 제가 보기에는 ["PairProgramming"]을 해서 얻는 기술보다는 기존의 방법들이 훨씬더 효과적일거라고 생각하네요. 그들 자신이 이 문제를 어떻게 해결해야 할 것인가에 대한 고민을 하고 자신의 생각을 코드로 표현할 수 있는 능력을 기르는 것. 문제 해결의 해법을 어느정도 찾을 수 있고 자신의 생각을 코드로 표현 할 수 있으며 타인의 코드를 완벽하게는 아니더라도 어느정도 이해 할 수 있는 수준이 된 사람이라면 ["PairProgramming"]으로 얻을 수 있는 기술들은 많을거라 생각하지만 전혀 그렇지 않는 신입생들에게는 무리일거 같군요. -태호-
          * 꼭 힘들고 고되게 밤새가며 하지 않으면서도 많이, 오히려 더 많이 얻을 수 있다고 생각합니다. 어떻게 하면 모두 즐겁고 유익한 시간을 가질 수 있을까요? see also Wiki:SustainablePace --JuNe
          ''PairProgramming 이 그 방법으로서 적합하다고 생각하지만, 이 또한 '선'을 잘 맞춰야 하겠죠. 개인적으로는 약간의 전략이 필요하다고 생각합니다. 요즘 하고 있는 Pair의 경우 초기에 대해서는 가급적이면 알고 있는 내용을 천천히, 자세하게 가르쳐주려고 하는 중입니다. 일단 Todo List 를 주석으로 달아놓고, (또는 연습장 등) 제가 먼저 기본 틀이 되는 부분을 플밍을 합니다. 그리고 나머지를 후배들이 플밍하게끔 하고. 그리고 이 주기를 좀 짧게 가져보려고 하고 있죠. (20 - 30분) 그리고, 차차 그 주기를 늘려 보려는중. 너무 선배가 오래잡고 있어도 후배들은 넋놓고 구경하고, 너무 후배가 오래잡고 있어도 완성되는 정도가 오래걸려서 Feedback 이 오는 시간이 오래걸리면, 또한 지쳐하는 듯. --석천''
          NoSmok:SituatedLearning 의 Wiki:LegitimatePeripheralParticipation 을 참고하길. 그리고 Driver/Observer 역할을 (무조건) 5분 단위로 스위치하면 어떤 현상이 벌어지는가 실험해 보길. --JuNe
  • 만년달력/재니 . . . . 10 matches
         #include <iostream>
         using namespace std;
         int main(){
          int year, month;
          int theFirstDay;
          int numOfMonth[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
          cout << "Input Year : ";
          cin >> year;
          cout << "Input month : ";
          cin >> month;
          for (int i = 1 ; i < month ; i++){
  • 몸짱프로젝트 . . . . 10 matches
         SeeAlso [HowToStudyDataStructureAndAlgorithms] [DataStructure] [http://internet512.chonbuk.ac.kr/datastructure/data/ds1.htm 자료구조 정리]
          * 참고한 책 : ProgrammingPearls(번역서 [생각하는프로그래밍])
          SeeAlso IntroductionToAlgorithms
         || BinarySearch || [몸짱프로젝트/BinarySearch] ||
         || LinearSearch || . ||
         || Invert 기능 || [몸짱프로젝트/Invert] ||
         [몸짱프로젝트/BinarySearchTree]
         [몸짱프로젝트/MinimalCostSpanningTree]
         || FindShortestPath || [몸짱프로젝트/ShortestPaths] ||
         || prefix Infix postfix || [몸짱프로젝트/InfixToPostfix], [몸짱프로젝트/InfixToPrefix] ||
          * Palindrome
  • 몸짱프로젝트/Invert . . . . 10 matches
          int coef;
          int expon;
          poly_ptr link;
         poly_ptr invert(poly_ptr p)
          middle = front->link;
          p = middle->link;
          front->link = NULL;
          middle->link = front;*/
          p = p->link;
          middle->link = front;
  • 문자열연결/허아영 . . . . 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);
  • 삼총사CppStudy/숙제2/곽세환 . . . . 10 matches
         #include <iostream>
         using namespace std;
         #include <cmath>
         int main()
         #include <iostream>
         using namespace std;
         #include <cmath>
         int main()
  • 새싹교실/2011/學高/2회차 . . . . 10 matches
          * printf()
         === 자기 반성 및 수정할 점(feeling/finds) ===
         printf()
         === 자기 반성 및 고칠 점(feeling/finds) ===
          * printf()
         === 자기 반성 및 수정할 점(feelings/findings) ===
  • 소수구하기/zennith . . . . 10 matches
         #include <stdio.h>
         #include <time.h>
         #define MAX_PRIME 50000
         int main(void) {
          int i, j, flag, arr_p, tmp, count = 0;
          int arr[10000] = {2, };
          printf("%d ", arr[i++]);
          printf("\n%f\n", (double)(end - start) / CLK_TCK);
          printf("#%d prime numbers.\n", count);
  • 소수구하기/상욱 . . . . 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
         mine.cpp
         #include "fileio.h"
         #include <stdio.h>
         void main()
          int key;
          printf("입력을 해주세요 : ");
          int i;
          printf("%s", str);
          //printf("%c", str);
          //printf("%d", len);
  • 이승한/java . . . . 10 matches
         public static void main(String [] args){} // C의 void main() 과 같이 프로그램의 시작점이다. String [] args 는 실행될때 넘어오는 문자열 값을 보인다. 정확하게 무엇인지는 모르겠다
         System.out.println(" str "); //넘어오는 문자열을 출력하여 준다.
         클래스 관련 키워드 ; class, abstract, interface, extends, implements
         객체 관련 키워드 : new, instanceof, this, super, null
         예외 처리 : try, catch, finally, throw, throws
         기타 : transient, volatile, package, import, synchronized, native, final, static, strictfp
         GUI를 위한 라이브러리 : javax.swing
  • 임인택/AdvancedDigitalImageProcessing . . . . 10 matches
          http://www.prip.tuwien.ac.at/~hanbury/intro_ip/
          http://www.reindeergraphics.com/tutorial/chap6/binary04.html
          http://www.google.co.kr/url?sa=U&start=11&q=http://www.cv.tu-berlin.de/~vr/papers/acrobat/TGJGD97.pdf&e=747
         === Opening / Closing ===
          http://www.reindeergraphics.com/tutorial/chap6/binary02.html
          http://greta.cs.ioc.ee/~khoros2/non-linear/dil-ero-open-close/front-page.html
          http://www.ph.tn.tudelft.nl/Courses/FIP/noframes/fip-Morpholo.html#Heading98
  • 임인택/CVSDelete . . . . 10 matches
         # -*- coding: cp949 -*-
          print 'return'
          for folder in dirlist :
          print ('deleting.. ' + folderToDelete)
          print folder
          for afile in files:
          print afile
         if __name__=='__main__':
          deleteCVSDirs('C:\MyDocuments\Programming Source\Java\초고속통신특강\neurogrid')
  • 정렬/곽세환 . . . . 10 matches
         #include <fstream>
         using namespace std;
         const int size = 10000;
         int main()
          ifstream fin("unsorteddata.txt");
          int *data = new int[size];
          int i, j, temp;
          fin >> data[i];
  • 최소정수의합/김소현 . . . . 10 matches
         #include <stdio.h>
         void main()
          int n=1;
          int sum=0;
          printf("n=%d, sum=%d \n", n, sum);
         #include <stdio.h>
         void main()
          int n=0;
          int sum=0;
          printf("n=%d, sum=%d \n", n, sum);
  • 파스칼삼각형/aekae . . . . 10 matches
         #include <iostream>
         using namespace std;
         const int MAX = 100;
         int main()
          int arr[MAX][MAX];
          for (int i=1; i<MAX; i++)
          int j,k;
          int row,col;
          cin >> row >> col;
  • 파스칼삼각형/임다찬 . . . . 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)
  • 프로그래밍잔치/SmallTalk . . . . 10 matches
          instanceVariableNames: ''
         printHello
         hello printHello.
          instanceVariableNames: ''
         printGuGu
          :i | Transcript cr; show: i asString, 'dan'.
          :j | Transcript cr; show: i asString, ' * ', j asString, ' = ', (i*j) asString.
         gugu printGuGu.
  • 피보나치/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);
  • 피보나치/소현,수연 . . . . 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);
  • 하노이탑/한유선김민경 . . . . 10 matches
         #include<stdio.h>
         int cnt = 0;
         void movehanoi(char a, char b, char c, int n);
         void movehanoi(char from, char temp, char to, int n)
          printf("%5d:말뚝 %c 에서 말뚝 %c 로 원반 %d 을 이동 \n", cnt, from, to, 1);
          printf("%5d:말뚝 %c 에서 말뚝 %c 로 원반 %d 을 이동 \n", cnt, from, to, n);
         int main(void)
          int n;
          printf("하노이 탑에서 옮기려는 원반의 수는?>");
  • 05학번만의C++Study/숙제제출1/윤정훈 . . . . 9 matches
         #include <iostream>
         using std::cout;
         using std::cin;
         using std::endl;
         int main(){
          cin >> Ctemp;
          * 섭씨 온도를 전달인자로 전달받아 화씨 온도로 환산하여 리턴하는 사용자 정의 함수를 main() 함수가 호출하는 프로그램을 작성하시오. --[최경현]
  • 2dInDirect3d/Chapter1 . . . . 9 matches
         = Initializing Direct3D =
          == Initialization Step ==
          == Creating IDirect3D8 Object ==
          UINT SDKVersion;
          1. [IN] 유일한 인자인 SDKVersion에는 SDK의 버전을 넣어준다. 8.0 이렇게 집어넣는 것이 아니라 지정되어있는 매크로가 있다. 사용하는 방법은 단 한가지뿐이다.
          == Examining Capabilities ==
         UINT IDirect3D8::GetAdapterCount();
          UINT Adapter,
          1. [RET] HRESULT형의 값을 리턴한다. 성공하면 D3D_OK, 실패하면 D3D_INVALIDCALL이 나온다.
          2. [IN] 첫번째 인자는, 어댑터의 번호이다. 당연히 D3DADAPTER_DEFAULT를 넣어준다.
          3. [IN] 두번째 인자는 플래그이다. 0이나 D3D_ENUM_NO_WHQL_LEVEL을 넣을 수 있지만, 대개 0을 넣는다.
          UINT Adapter,
          === Looking at Adapter Display Modes ===
         UINT IDirect3D8::GetAdapterModeCount(
          UINT Adapter;
          UINT Adapter,
          UINT Mode,
          === Getting the Current Display Mode ===
          UINT Adapter,
          = Checking For Compatible Formats =
  • 2학기자바스터디/운세게임 . . . . 9 matches
          System.out.println(today); // 바로 today가 String으로 자동변환되어 오늘 날짜 출력
          System.out.println(dateForm.format(today)); // today란 Date객체를 dateForm의 출력형식에 맞게 출력
          Calendar now = Calendar.getInstance(); // 새로운 객체를 생성하지않고 시스템으로부터 인스턴스를 얻음
          int hour = now.get(Calendar.HOUR); // 시간 정보 얻기
          int min = now.get(Calendar.MINUTE); // 분 정보 얻기
          || MINUTE || 분 ||
          int num = r.nextInt(); // Int범위(-2147483648 ~ 214783647) 에서 난수 발생
          int num2 = r.nextInt() % 10; // -9 ~ 9 사이의 난수 구하기
          int num3 = Math.abs(r.nextInt() % 10); // 0 ~ 9 사이의 난수 구하기. Math.abs()는 절대값을 구함
  • 5인용C++스터디/에디트박스와콤보박스 . . . . 9 matches
         #define IDC_MYEDIT 1000
         int CCreateEditView::OnCreate(LPCREATESTRUCT lpCreateStruct)
         BOOL Create(DWORD dwstyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
         BEGIN_MESSAGE_MAP(CCreateEditView, CView)
          //Standard printing commands
          ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
          CString str;
          m_pEdit->GetWindowText(str);
          AfxGetMainWnd()->SetWindowText(str);
  • 5인용C++스터디/클래스상속 . . . . 9 matches
         #include<iostream.h>
         #include<string.h>
         #define MAX_LEN 81
          int age;
          void set_age( int a ) { age=a; };
          int get_age(void) {return age;};
         int main()
  • 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]
  • Adapter . . . . 9 matches
         == Intent ==
         DP의 p147을 보면 '''Adapter'''클래스는 반드시 그것의 '''Adaptee'''를 타입으로 선언해서 가지고 있어야만 한다.이런 경우에는 해당 클래스와 그것에서 상속되는 클래스들만이 기능을 사용(adapt)할수 있다. Smalltalk에서 엄격한 형검사(Strong Typeing) 존재 않으면, class 가 '''Adapter'''에서 '''Adaptee'''로 보내어지는 메세지를 보낼수 있는 이상 '''Adaptee'''가 어떠한 클래스라도 상관없을 것이다. [[BR]]
         자 그럼 Adapter를 적용시키는 시나리오를 시작해 본다. ''Design Patterns''(DP139)에서 DrawingEditor는 그래픽 객체들과 Shape의 상속도상의 클래스 인스턴스들을 모아 관리하였다. DrawingEditor는 이런 그래픽 객체들과의 소통을 위하여 Shape 프로토콜을 만들어 이 규칙에 맞는 메세지를 이용한다. 하지만 text인자의 경우 우리는 이미 존재하고 있는 TextView상에서 이미 구현된 기능을 사용한다. 우리는 DrawEditior가 TextView와 일반적으로 쓰이는 Shape와 같이 상호작용 하기를 원한다. 그렇지만 TextView는 Shape의 프로토콜을 따르지 않는 다는 점이 문제이다. 그래서 우리는 TextShap의 Adapter class를 Shape의 자식(subclass)로 정의 한다. TextShape는 인스턴스로 TextView의 참조(reference)를 가지고 있으며, Shape프로토콜상에서의 메세지를 사용한다.; 이들 각각의 메세지는 간단히 다른 메세지로 캡슐화된 TextView에게 전달되어 질수 있다. 우리는 그때 TextShape를 DrawingEditor와 TextView사이에 붙인다.
         TextShape는 Shape에 translator같은 특별한 일을 위한 기능을 직접 추가한 것으로 Shape의 메세지를 TextView Adaptee가 이해 할수 있는 메세지로 변환 시킨다.:하지만 DrawingEditor가 TextSape에 대한 메세지를 보낼때 TextShape는 다르지만 문법적으로 동일한 메세지를 TextView 인스턴스에게 보낸다. [[BR]]
         여기에 TextShape Adapter가 그것의 Adaptee를 위해 메세지를 해석하는 모습의 interaction diagram이 있다.
         === Message-Forwarding Pluggable Adapter ===
         자 그럼 여기에 예제를 보자. 우리는 employee관리 application을 가지고 있다고 가정한다.어플리케이션 모델은 하나의 인자인, employee의 사회 보장(비밀) 번호(social security number)의 포함하고 application의 사용자 인터페이스는 employee의 사회 보장 번호를 화면상에 뿌려주는 '입력 박스 뷰'를 포함한다.모델의 엑세스하고 초기화 시키기 위한 메소드는 'socialSecurity'와 'socialSecurity:'로 이름 지어져 있다. 입력 박스는 단지 현재의 사회 보장 번호를 뿌리기만 한지만 모델의 값을 요청하는 방법만을 알고있다.( DeleteMe 수정 필요 ) 그래서 우리는 value mesage를 socialSecurity로 변환 해야 한다.우리는 Pluggable Adapter 객체를 이런 목적을 위해서 사용할수 있다.자 우리의 예제를 위한 interaction 다이어 그램을 보자
         이 다이어 그램은 단순화 시킨것이다.;그것은 개념적으로 Pluggable Adpter의 수행 방식을 묘사한다.그러나, Adaptee에게 보내지는 메세지는 상징적으로 표현되는 메세지든, 우회해서 가는 메세지든 이런것들을 허가하는 perform:을 이용하여 실제로 사용된다.|Pluggable Adpater는 Symbol로서 메세지 수집자를 가질수 있고, 그것의 Adaptee에서 만약 그것이 평범한 메세지라면 수집자인 perform에게 어떠한 시간에도 이야기 할수 있다.|예를 들어서 selector 가 Symbol #socialSecurity를 참조할때 전달되는 메세지인 'anObject socialSecurity'는 'anObject perform: selector' 과 동일하다. |이것은 Pluggable Adapter나 Message-Based Pluggable Adapter에서 메세지-전달(message-forwading) 구현되는 키이다.| Adapter의 client는 Pluggable Adapter에게 메세지 수집자의 value와 value: 간에 통신을 하는걸 알린다,그리고 Adapter는 이런 내부적 수집자를 보관한다.|우리의 예제에서 이것은 client가 'Symbol #socialSecurity와 value 그리고 '#socialSecurity:'와 'value:' 이렇게 관계 지어진 Adapter와 이야기 한는걸 의미한다.|양쪽중 아무 메세지나 도착할때 Adapter는 관련있는 메세지 선택자를 그것의 'perform:'.을 사용하는 중인 Adaptee 에게 보낸다.|우리는 Sample Code부분에서 그것의 정확한 수행 방법을 볼것이다.
  • Ajax/GoogleWebToolkit . . . . 9 matches
         The Google Web Toolkit is a free toolkit by Google to develop AJAX applications in the Java programming language. GWT supports rapid client/server development and debugging in any Java IDE. In a subsequent deployment step, the GWT compiler translates a working Java application into equivalent JavaScript that programatically manipulates a web brower's HTML DOM using DHTML techniques. GWT emphasizes reusable, efficient solutions to recurring AJAX challenges, namely asynchronous remote procedure calls, history management, bookmarking, and cross-browser portability.
  • AliasPageNames . . . . 9 matches
         #format plain
         # InterMap에는 TwinPages가 정의되어 있는지 확인하시기 바랍니다.
         InterMap<InterWikiMap
         WikiName,위키네임,위키이름
         MoinMoin,모인모인
         ExtendedWikiName,확장위키네임,확장위키이름
         Linux,리눅스
         WindowManager,창관리자
         HelpOnProcessors,ProcessorPlugin,Processor,Processors,프로세서
         HelpOnMacros,MacroPlugin,매크로
         MoniWikiACL>MoniWiki:MoniWikiACL,SecurityPlugin
  • AnEasyProblem/정진경 . . . . 9 matches
         main(n,a){for(;a=scanf("%d",&n),n;printf("%d\n",n+a))for(;~n&a|n&a*2;a*=2)n^=n&a?n%a+1^a:0;}
         main(n,a){for(;a=scanf("%d",&n)+~n&n;printf("%d\n",n+a|(n^n+a)/a/4));}
         (define (mod a b)
         (define (quot a b)
         (define (BitCount n)
         (define (SearchBitN n m)
         (define (AnEasyProblem n)
  • Basic알고리즘/팰린드롬/조현태 . . . . 9 matches
         #include <iostream>
         using namespace std;
         #define TRUE 1
         #define FALSE 0
         void main()
          cin >> buffur;
          int strSize = strlen(buffur);
          int nowCheck = strSize - 1;
          for (register unsigned int i = 0; i < strSize / 2; ++i)
  • BookShelf/Past . . . . 9 matches
          1. ExtremeProgrammingExplained 2e - 20052021
          1. 리스크관리(WaltzingWithBear) - 200450407
          1. ExtremeProgrammingInstalled - 20050508
          1. [BuildingParsersWithJava] - 20050916
          1. [Downshifting] - 20051008
          1. [TheElementsOfProgrammingStyle] - 20051018
          1. [MindMapBook] - 20060123
          1. [IntroductionToTheTheoryOfComputation]
          1. [LionsCommentaryOnUnix]
  • C/Assembly/Main . . . . 9 matches
         int main(){ return; }
         .globl main
          .type main, @function
         main:
          addl $15, %eax // eax = 15 11110(Bin)
          shrl $4, %eax // eax = 0xF0000001 11110000000000000000000000000001(bin)
          sall $4, %eax // eax = 0x1F 00000000000000000000000000011111(bin)
         Windows OS가 아닌 DOS OS는 메모리의 관리를 Kernel(OS의 Core)이 아닌 Program에서 해주게 된다.
  • CNight2011/고한종 . . . . 9 matches
         sorting이랑 스택큐? 인가 한다고 했었는데 이것도 결국 안함 ㅋ
         int arr[5];
         printf("%d",arr);
         arr[i] = *&(arr[0]+sizeof(int)*i);
         arr[i][j] *&(arr[0][0] sizeof(int)*i*j+sizeof(int)*i); -> 맞겠지여...?
         C언어에서 int a[ 2]={1,2} 선언후 printf("%d",a[2]); 같은 경우도 허용하므로 언제 터지는지 알 수가 없었다..
         암튼 그래서 횟수를 측정할 int i;를 만들고
  • CNight2011/김태진 . . . . 9 matches
         malloc, 포인터에 대해서 지원누나한테 배웠는데요. a[2]==*(&a[0]+sizeof(int 2))라는 걸 배웠지요.
         int *a;라고 했다가 printf("%d",a);라고 했을때는 a의 주소값이 출력된다는거도 다시 배웠구요.
         Pointer에 대해서 좀 배웠는데요.
         int coord_ptr[][];로 함수선언했을때 오류가 왜 뜨는가,- 사실 배열도 결국 포인터이다.
          int StuID;
          int grade;
         2010년 경진대회 문제로 Dynamic, Back Tracking에 대해서 설명해주었어요. 간단하게 요약해보자면, 가능성을 따져보는건데요, 어느 시점에서 그 길이 답이되는 길일 가능성이 없어지면 그 경우의 수는 제외한다는 거죠.
         Linked List에 대해서 배웠어요. 형누나들이 돌아가면서 설명해주셨는데요.
  • DataStructure/Stack . . . . 9 matches
          int data[Size];
          int top;
          bool Push(int ndata);
         bool Stack::Push(int ndata)
          int temp=top;
         == Linked List로 만든 Stack ==
          int m_nData;
          void Push(int x);
         void Stack::Push(int x)
  • DoubleBuffering . . . . 9 matches
         void CArcanoidView::OnInitialUpdate()
          CView::OnInitialUpdate();
         Invalidate(FALSE);
          * 이렇게 Timer내부에서는 메모리 DC에다 다 그려주고, Invalidate(FALSE)를 호출합니다. FALSE 이거 중요합니다.
         ["1002"] : 더블 버퍼링을 하는 이유는, Main Memory <-> Main Memory 간의 메모리복사(Blt하는 것) 이 Main Memory -> Video Memory 간의 메모리 복사보다 빠르기 때문에 하죠. [[BR]]
         화면 전체를 한꺼번에 렌더링 한 다음 버퍼를 바꿔주는 방식을 이야기하는 것 보면 아마 Page Fliping 을 이야기하시는듯. 단, 이것은 GDI 로는 불가능하지 않을까요? ^^ DC 핸들을 우리가 직접 조작할 수는 없는 것이고.. 말 그대로, 버퍼를 바꾼다는 것은 화면에 표시해 주는 메모리를 가리키는 포인터의 값을 바꾸는 거니까. Page Fliping 은 DOS나 DX에서는 가능할지 몰라도 GDI 에서는 불가능한 방법일것이라는 개인적 생각. (DC에 Select 되어있는 Bitmap 을 다시 셋팅해주는 방법은 어떨까. 한번도 안해봤지만. --;) [[BR]]
         그리고, 전체 그리기 관련 루틴의 경우는 애매한데, 왜냐하면 저렇게 object 별로 그리기 루틴이 있는 경우 사람들 실수하는 것이.. 각각의 Draw에 더블버퍼링하고 또 메인 루틴부분에 더블버퍼링을 중복하는 경우가 있어서리.. (뭐. 요새는 하드웨어가 빨라서 별 속도 저하 없긴 한것 같지만.) 개인적으로는 각각의 Draw부분에는 일반적인 Blt. 그리고 Main 부분에 더블버퍼링 한번이 맞지 않을까 하는. 뭐.. 그냥 생각나서 주저리주저리. --; [[BR]]
         ["neocoin"] : 결론은 요즘 하드웨어 짱이야? 인거야? [[BR]]
         ["zennith"] : 뜬금없는 소리이고, 고루한 이야기 입니다만, PCI 란 기술이 처음 소개되었을때 꽤 미래지향적인 기술로 각광받았던 것이 PCI bus mastering 이란 기술인데.. 무엇인고 하니, pci 채널로 연결되어있는 기기들끼리 서로의 메모리에 DMA 를 할 수 있었던 것이었죠. 대표적으로 이 기술이 사용된 예(라기보단 제가 알고있는 단 하나의 예)는 TV수신카드에서 사용되는 것이었는데요. TV 어플리케이션에서 TV 가 표시될 부분의 region 을 정해놓으면 TV 수신카드에서 그부분에 해당하는 비디오카드 메모리로 직접 쏴주는.. 그런 기술이었는데.. 더블버퍼링을 보니 갑자기 그 생각이 나는군요. 음.. 요즈음은 다들 agp 를 써서.. 저 pci bus mastering 이란 기술이 아직도 살아남아있는건지.. 잘 모르겠군요.
  • Eclipse/PluginUrls . . . . 9 matches
          * ["Subversion"]을 사용할 수 있게 해 주는 Plugin
          * 위와 같은 에러 메시지가 뜬다면 Windows -> preference -> Team -> SVN 에서 SVN interface 를 JavaSVN -> JavaHL 로 변경해야 함
          * Memory 사용정보를 보여주고 ["GarbageCollection"]을 사용가능하게 해 주는 Plugin, 시간을 설정해두면 주기적으로 알아서 GC를 해줌.
         == CDT (C++ Plugin) ==
         == Pydev (Python Plugin) ==
          * [http://www.erin.utoronto.ca/~ebutt/eclipse_python.htm pydev]
         == PHPEclipse (PHP Plugin) ==
          * [http://www.myeclipseide.com/Downloads%2Bindex-req-viewsdownload-sid-10.html] 홈페이지
  • Eclipse와 JSP . . . . 9 matches
          Upload:tomcatPluginV31.zip
         톰켓 플러그인을 Eclipse의 Plugins 폴더 안에 복사
         Project 에서 File 선택 후 main.jsp 만든다!
         Windows->Preferences->Tomcat 선택 후
         (필요한 경우) Windows->Preferences->Tomcat->Advanced 선택 후
         ex) http://localhost:8080/test/main.jsp
         WEB-INF/src (Eclipse 좌단)에서 오른쪽 버튼 -> new -> class
         work/org/apache/jsp부분 해당 소스에 break point를 걸고(해당 페이지 좌측에 더블 클릭) 웹 페이지 구동하면 break point에서 걸린다
         F8 이 다음 Break Point 까지 이동
  • EffectiveSTL/VectorAndString . . . . 9 matches
          * 가장 많이 쓰는 vector, string에 관련된 팁 모음이다. 큰1장 후반부에는 모르는 내용(할당기 같은..)이 좀 많아서 일단 건너 뛰었다.
         = Item13. Prefer vector and string to dynamically allocated arrays. =
         == vector/string 을 쓰면 좋은 이유 ==
         == vector/string의 메모리가 필요할때 더 커가는 과정 ==
          * string에서는 ? 줄일지도 모른다.(--;)
         = Item15. Be aware of variations in string implementations. =
         = Item16. Know how to pass vector and string data to legacy APIS =
         = Item18. Avoid using vector<bool>. =
  • 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]
  • EnglishSpeaking/TheSimpsons/S01E03 . . . . 9 matches
         Lisa : How 'bout this? Supervising technician at the toxic waste dump.
         Homer : I'm no supervising technician. I'm a technical supervisor.
         I've never done anything worthwhile in my life.
         I'm a big, worthless nothing.
         Marge : There, there, Homer. You'll find a job.
         You've caused plenty of industrial accidents, and you've always bounced back.
         Homer : You're right! I'm young, I'm able-bodied and I'll take anything!
         Watch out, Springfield. Here I come.
  • ExecuteAroundMethod . . . . 9 matches
          ifstream fin("data.txt");
          fin.close();
         스몰토크에서는 다음과 같은 방법으로 해결하고 있다. 스몰토크에는 Block이라는 객체가 있다. 이 블록을 파라메터로 넘겨주는 것이다. 즉 1. 파일 연다. 2. 작업 블록을 파라메터로 넘겨준다. 3. 파일 닫는다. 이런식으로 되는 것이다. C++에서는 함수 포인터를 넘겨주는 방법으로 해결할 수 있을 듯하다. 이런 것을 Higher Order Programming이라고 했던 것 같다.(SICP) C++에서 멤버 함수는 원칙적으로 함수 포인터가 안되는 것으로 알고 있다. 그래도 그냥 그런가 보다 하자. 정말 이상하다.--;
          fin.open("data.txt"); // 맞나?--;
          fin.close();
          fin << "하이";
          fin << "nice to meet you."
         int main()
  • ExploringWorld/20040412-세상읽기 . . . . 9 matches
         웃기게도, NeoCoin 의 어쩌면 왜곡된 세상읽기 이야기로 오늘을 채웠다.
          * 20m '열역학 제2법칙'이 가진 현실 세계에서의 중요성을 이야기 하고, '왜 전산 종사자들이 몰라도 그들의 일을 할수 있을까?' 에 대한 NeoCoin의 견해를 이야기 하였다.
          * 1h 30m '가상세계와 현실세계'을 시발점으로 NeoCoin 소프트웨어 세상의 세상을 인과성과 기업간의 경쟁, 가상세계의 법칙 만들기라는 큰 맥락으로 이야기를 했다.
          * 20m NeoCoin 의 오늘 이야기에 대한 불신감(?)을 심고 스스로 생각하기를 강조하며 종료.
         || NeoCoin || 목이 아프다. || 감회가 새롭다. || 다음번에 더 가치있는 시간을 만들고 싶다. ||
         ExploringWorld/20040412-xxx 를 진행하면서, 결정적으로!! 그날의 이름을 정하지 않았습니다. 그래서 페이지를 만들수가 없네요. 뭐가 좋을까요?
          하하 한사람의 세상읽기라고 표현하고도 싶군. 일단 해놓고 나중에 바꾸지 뭐 --NeoCoin
         이야기를 하다보니 메인프레임을 빼먹었군요. 차후 오해를 없애기 위해 다음주에 약간의 잡설을 더 해야 겠습니다. :) --NeoCoin
         ExploringWorld
  • Favorite . . . . 9 matches
         [http://xper.org/wiki/seminar/RecentChanges XperSeminar]
         [http://www.passioninside.com 구근이형 개인위키]
         [http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Practices/Kata]
         [http://www.winapi.co.kr/ WINAPI]
         [http://www.cinsk.org/cfaqs/html/ C에서 자주묻는질문]
         [http://xper.org/wiki/xp/TestDrivenDevelopmentInCeeLanguage TDD in Cee]
         [http://www.aawoo.com/Main.do]
         [http://agile.egloos.com/ AgileConsulting]
  • GUIProgramming . . . . 9 matches
         = Windows Platform =
         == Windows Forms ==
         = x-window platform =
         모티프는 유닉스 환경하 X-Window, 혹은 POSIX 표준과 호환되는 시스템을 위해서 만들어진 툴킷이다. IEEE 1295 산업 표준으로 제정되어있으며, Motif API라는 표기법을 쓴다. 최근에는 Qt, GTK에 많이 밀리지만 여전히 많은 시스템에서 사용되는 툴킷이다.
          * http://wiki.python.org/moin/PyQt4
         자바로 작성된 프로그램에서 기본적으로 이용하는 API이다. 플랫폼에 독립적으로 제작된 툴킷이지만 내부 구현 상 플랫폼에서 제공하는 함수를 아주 낮은 수준의 추상화된 형태로만 제공하기 때문에 자바의 Platform-independable의 특성을 충분히 만족할 만한 수준은 못된다.
         === Swing ===
         최근 버전의 자바에서 이용하기 시작한 선사의 툴킷이다. 특징으로는 AWT보다 더욱 보기 좋은 그래픽을 제공한다. 또한 AWT와 달리 플랫폼에 비종속적이기 때문에 모든 플랫폼에서 동일한 모양을 보여준다. 그리고 클래스 라이브러리에 약간의 수정을 가함으로써 Windows 에서 기타 플랫폼 (예를 들자면 Mac)의 {{{~cpp Look&Feel}}}사용하는 것이 가능하다. 물론 -_-; 원칙적으로 특정 운영체제의 룩&필은 변경해서 응용프로그램을 개발하는 것은 정책상 불법의 범주에 속한다..
         [Programming]
  • 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)]]
  • HeadFirstDesignPatterns . . . . 9 matches
         - 2005 jolt award in general book
         - I received the book yesterday and I started to read it on the way home... and I couldn't stop, took it to the gym and I expect people must have seen me smile a lot while I was exercising and reading. This is tres "cool". It is fun but they cover a lot of ground and in particular they are right to the point.
         {{{Erich Gamma, IBM Distinguished Engineer, and coauthor of "Design Patterns: Elements of Reusable Object-Oriented Software" }}}
         {{{Ward Cunningham, inventor of the Wiki and founder of the Hillside Group}}}
  • HelpOnMacros . . . . 9 matches
         매크로는 위키 페이지에 특수한 기능을 집어넣는 확장입니다. 대부분의 위키페이지는 매크로기능을 사용하지 않고 있지만 경우에 따라서 이러한 특수한 기능이 필요할 때가 있습니다. 예를 들어 RecentChanges 페이지에는 RecentChanges매크로를 사용하고 있고, SystemInfo 페이지에는 SystemInfo 매크로를 사용하고 있습니다. 각 페이지를 편집하거나 [[Icon(info)]]를 눌러 이전 정보로부터 페이지 소스를 보시면 매크로를 어떻게 사용하고 있는지를 보실 수 있습니다.
         위키 문법이 궁금하시면 HelpOnEditing 페이지를 참조하세요.
         $myplugins=array("각주"=>"FootNote",...); # ...는 생략을 뜻합니다. 다른 내용이 없으면 쓰지 않으셔야 합니다.
          * 이경우 대소문자 구분이 중요한데, 반드시 `plugin/파일이름.php`에 대응하는 파일이름을 {{{"각주"=>"매크로파일이름"}}}식으로 지정해야 합니다.
         ||{{{[[TitleSearch]]}}} || 페이지 제목/별명 찾기 [* 모니위키 1.1.5부터 페이지 별명도 찾아줍니다] || FindPage ||
         ||{{{[[FullSearch]]}}} || 페이지 내용 찾기 || FindPage ||
         ||{{{[[GoTo]]}}} || 페이지 바로가기 || FindPage ||
         ||{{{[[PageList(regex)]]}}} || 정규식에 해당하는 페이지이름 찾기 || HelpIndex ||
         ||{{{[[TitleIndex]]}}} || 모든 페이지에 대한 제목 목차 || TitleIndex ||
         ||{{{[[WordIndex]]}}} || 페이지 이름으로 구성된 단어 목차 || WordIndex ||
         ||{{{[[InterWiki]]}}} || 등록된 [[인터위키]] 이름 || InterWiki ||
         ||{{{[[SystemInfo]]}}} || 현재 위키의 사양 || SystemInfo ||
         ||{{{[[Include(HelloWorld[,heading[,level]])]]}}} || 다른 페이지를 읽어옴 || [[Include(HelloWorld)]] ||
         각각의 매크로에 대한 예제는 각 매크로 해당 페이지에서 보실 수 있습니다. 간단한 예로 SystemInfo페이지에서 사용하는 {{{[[SystemInfo]]}}}매크로입니다. {{{[[SystemInfo]]}}}를 임의의 페이지에 집어넣으면 다음과 같이 보여집니다:
          [[SystemInfo]]
         [[Navigation(HelpOnEditing)]]
  • ISBN_Barcode_Image_Recognition . . . . 9 matches
          * 나머지 한 자리는 Left Characters의 Encoding으로 부터 해석한다. (아래 Encoding에서 설명)
         def generate_isbn_check_digit(numbers): # Suppose that 'numbers' is 12-digit numeric string
          for i, number in enumerate(numbers):
          sum += int(number) * 1
          sum += int(number) * 3
         === Encoding ===
          * Encoding을 쉽게 해독하기 위해 위의 표를 통해 성질을 파악해두는 것이 좋다.
         = Image Processing (with Google Android) =
  • Java/스레드재사용 . . . . 9 matches
          private static int id=0;
          private static synchronized int getID() { return id++;}
          public synchronized void interrupt () {
          thread.interrupt ();
          reThread.interrupt0 (this);
          protected synchronized void interrupt0(ReThread reThread) {
          thread.interrupt();
          ex.printStackTrace();
          ex.printStackTrace ();
          } catch(InterruptedException ignored) { }
  • JavaStudy2004/자바따라잡기 . . . . 9 matches
          자바는 가전 제품에 들어갈 소프트웨어를 만들기 위해 탄생했다. 자바를 개발한 사람은 선 마이크로시스템즈 사의 제임즈 고슬링(James Gosling)이라는 사람이다. 그는 특정한 컴퓨터 칩에 대해 컴파일하여야 하는 널리 알려진 컴퓨터 언어인 C 언어의 문제점, 또 가전 제품의 긴 수명으로 인한 완벽한 호환을 가진 소프트웨어의 개발 요구, 가전 제품에 사용될 소프트웨어의 높은 신뢰성 필요 등의 문제에 대한 해결방안을 모색 해야만 됬다.
          * No More Typedefs, Defines, or Preprocessor
          * No More Multiple Inheritance
          * No More Operator Overloading
          * No More Pointers
          출전 : 1997년 9월호 디스커버 잡지 72쪽에 실린, David Gelernter의 "Truth, Beauty, and the Virtual Machine".
          * http://zeropage.org/~iruril/jdk-1_5_0_01-windows-i586-p.exe
          * http://idaizy.com/util/eclipse-SDK-3.0-win32.zip
         http://myhome.naver.com/histidine/start/start_home.htm
         http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html
  • LCD-Display/김상섭 . . . . 9 matches
         #include <iostream>
         #include <vector>
         using namespace std;
         int size, i, j, k, l;
         vector<int> test;
         int main()
          cin >> size >> num;
          cin >> size >> num;
  • LUA_3 . . . . 9 matches
         > if a == true then print ("Yes") else print ("No") end
         >> print ("a is false")
         >> print ("a is true")
         > for i = 1, 10, 2 do print(i) end
         > for i = 1,3 do print(i) end
         >> print (i)
         >> print (i)
         >> print(i)
  • LinuxSystemClass . . . . 9 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' 을 같이 보면 도움이 많이 된다. 해당 알고리즘들에 대해서 좀 더 구체적으로 서술되어있다. 단, 책이 좀 오래된 감이 있다.
  • MFC/HBitmapToBMP . . . . 9 matches
         BOOL CImageTool::ExportAsBMP(int type, char *filename, CDC *pDC,
          HBITMAP hBitmap, int nWidth, int nHeight)
          unsigned int size, palsize;
          header.bfOffBits = sizeof(BITMAPFILEHEADER)+sizeof(BITMAPINFOHEADER)+
         BYTE *CImageTool::GetBMP(int type, int w, int h, HBITMAP hBitmap,
          HDC hdc, unsigned int *size)
          LPBITMAPINFO lpvBits;
          int width,palsize;
          *size = sizeof(BITMAPINFOHEADER)+sizeof(RGBQUAD)*palsize+width*h;
          lpvBits = (BITMAPINFO *)malloc(*size);
          lpbi = (BYTE *)lpvBits+sizeof(BITMAPINFOHEADER) +
          lpvBits->bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
  • Map/황재선 . . . . 9 matches
         #include <iostream>
         #include <string>
         #include <map>
         using namespace std;
         int main()
          string text = "ad md$ =i@@9z xy*@ -9z";
          for (int i = 0; i < text.size(); i++)
  • Map연습문제/조동영 . . . . 9 matches
         #include <iostream>
         #include <string>
         #include <map>
         using namespace std;
         int main()
          string h="wjgydlrtyffworxjbdzyrsybfwlrobffylryjbkyjrtbdcyyrvmbjlsrkugjglrmdcgdarjbjyftr";
          for (int i=0;i<h.size();i++)
  • MoniWiki . . . . 9 matches
         #keywords MoniWiki, WikiEngine, GPL
         MoniWiki is a PHP based WikiEngine. WikiFormattingRules are imported and inspired from the MoinMoin. '''Moni''' is slightly modified sound means '''What ?''' or '''What is it ?''' in Korean and It also shows MoniWiki is nearly compatible with the MoinMoin.
  • ObjectWorld . . . . 9 matches
          * http://www.freemethod.org:8080/bbs/UML1-SAintro.ppt
         첫번째 Session 에는 ["ExtremeProgramming"] 을 위한 Java 툴들에 대한 간단한 언급이였습니다. 제가 30분 가량 늦어서 내용을 다 듣진 못했지만, 주 내용은 EJB 등 웹 기반 아키텍쳐 이용시 어떻게 테스트를 할것인가에 대해서와, Non-Functional Test 관련 툴들 (Profiler, Stress Tool) 에 대한 언급들이 있었습니다. (JMeter, Http Unit, Cactus 등 설명)
         Http Unit 에 대해선 좀 회의적인 투로 설명을 하신것 같고, (이정도까지 테스트 할까..에 가까운) ["ExtremeProgramming"] 에서의 TDD 스타일은 따로 취급되었다라는 생각이 들었다는. (XP에서의 테스트를 먼저 작성하라는 이야기에 대해서 그냥 TP를 읽는 수준으로만 넘어간것 보면. 코딩 완료이후 테스트를 기본이라 생각하고 설명하셨다 생각됨.)
          * Middleware, Application Server - Architecture 를 Instance 화 시킨 실질적 제품들. 전체 시스템 내에서의 역할에 대한 설명으로서의 접근.
          * Framework - 특정 Domain 과 관련한 모듈을 만들기 위한 library
         ''Haven't read it. If I gave advice and I were to advise /you/, I'd advise more testing and programming, not more theory. Still, smoke 'em if ya got 'am.
         [From a [http://groups.yahoo.com/group/extremeprogramming/message/52458 thread] in XP mailing list]
  • Ones/1002 . . . . 9 matches
          for each in valueStr:
          onesValue = int(theOnes)
         def main():
          print ones(int(raw_input()))
         if __name__=="__main__":
          #unittest.main(argv=('','-v'))
          main()
  • Ones/문보창 . . . . 9 matches
         #include <iostream>
         using namespace std;
         void main()
          int n, temp, reminder, i, j;
          while (cin >> n)
          reminder = 0;
          reminder += temp;
          if (reminder % n == 0)
  • OperatingSystemClass . . . . 9 matches
         수업내용: Operating System 에 대한 전반적인 개론. Computer Architecture 에서 한단계 더 위의 Layer 를 공부하게 된다. 메모리의 계층구조, 멀티테스킹과 그에 따른 동기화문제, 가상 메모리 등등.
          * 타대학 수업: http://inst.eecs.berkeley.edu/~cs162/ 의 Webcast 에서 동영상 제공(real player 필요)
         === examination ===
          * ["OperatingSystemClass/Exam2002_1"]
          * ["OperatingSystemClass/Exam2002_2"]
          * ["OperatingSystemClass/Exam2006_1"]
          * ["OperatingSystemClass/Exam2006_2"]
         OS 수업시간의 교재인 Applied Operating System 이나 이 책의 원판에 대당하는 Operating System Concepts 는 개인적으로 좋은 책이라 생각.--["1002"]
  • OurMajorLangIsCAndCPlusPlus/2006.2.06/하기웅 . . . . 9 matches
         #include <iostream>
         using namespace std;
         class newstring {
          newstring(char* s)
          int length() const
         ostream& operator << (ostream& o, const newstring& ns)
         int main()
          const newstring s="123";
  • PrimaryArithmetic/문보창 . . . . 9 matches
         #include <iostream>
         #include <cstring>
         using namespace std;
         void main()
          int num1[10], num2[10];
          int i, j, temp, count, carry, sumCarry;
          cin.getline(str, 22, '\n');
  • 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"] 설명 작성 || . || . ||
  • ProjectPrometheus/Iteration6 . . . . 9 matches
         Team Velocity : 5 Task Point.;
         || Task || Point || 진행여부 ||
         |||||| User Story : Login 후에 Search을 하고 책을 보면 추천 책이 나온다. ||
         || Task || Point || 진행여부 ||
         || Login AT || 1 || ○ ||
         || Login 후 검색해서 RS 여부 확인 AT || . || . ||
         || Task || Point || 진행여부 ||
         || ["ProjectPrometheus/CollaborativeFiltering"] 설명 작성 || . || . ||
         || Admin 모드 제작 || . || . ||
  • PyIde/SketchBook . . . . 9 matches
          ''스몰토크 비슷한 환경이 되지 않을까. 소스 코드의 구조적 뷰로는 LEO라는 훌륭한 도구가 있다. 크누스교수의 Literate Programming을 가능케 해주지. 나는 SignatureSurvey를 지원해 주면 어떨까 한다. --JuNe''
          * Source Folding - 화일 하나가 긴 경우라도 짧게 줄여놓고 쓰므로.
          * search - Function 이동시 편리. 게다가 일반 텍스트 에디터에 비해 search 기능을 수행하는 비용이 작다. / 한번, 그리고 바로 키워드 입력. (다른 녀석은? Ctrl+F , 키워드 입력, enter & enter. incremental search가 아닌 경우는 한단계가 더 있게 된다.)
         하지만, 손가락 동선의 경우 - ctrl + O 를 누르고 바로 메소드 이동을 한다. 일반 이동도 메소드 중간 이동은 CTRL +커서키. (이는 VIM 에서의 W, B) 위/아래는 커서키. 클래스로의 이동은 CTRL+SHIFT+T. Source Folding 도 주로 Outliner 에 의한 네비게이팅을 이용한다면 별로 쓸 일이 없다. 보통 의미를 두고 하는 행동들은 클래스나 메소드들 단위의 이동이므로, 그 밑의 구현 코드들에 대해 깊게 보지 않는다. (구현코드들에 대해 깊게 보는 경우가 생긴다면 십중팔구 Long Method 상황일것이다.)
         Python 으로 HTML Code Generator 를 작성하던중. 좀 무식한 방법으로 진행했는데, 원하는 HTML 을 expected 에 고스란히 박아놓은 것이다. 이는 결과적으로 test code 를 네비게이팅 하기 어렵게 만들었고, 해당 Generating 되는 HTML 의 추상도도 상당히 낮게 된다. 한화면에 보여야 할 HTML 데이터도 많아야 한다. 이는 결국 내가 에디터 창을 최대로 놓게 만들더니, 더 나아가 에디터 창의 폰트 사이즈을 11에서 8정도로 줄이고 모니터를 앞당겨 보게끔 만들었다. (15인치 LCD 모니터여서 해상도가 최대 1024*768 임.) 해당 상황에 대해 사람이 맞추는 것이 좋을까, 또는 툴의 Viewing 이 도움을 줄 방법이 있을까, 또는 사람이 이를 문제상황으로 인식하고 프로그램 디자인을 바꾸게끔 하는것이 좋을까.
         Wiki:FitNesse 의 맨 앞 문구 'Beyond Literate Programming' 이라는 말이 참 인상적으로 보인다.
         현재의 UML Case Tool들은 Beyond Literate Programming 일까?
  • 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까지의 숫자가 들어갈 수 있고
  • SPICE . . . . 9 matches
         Software Process Improvement and Capability dEtermination.
          * [http://kspice.co.kr/main5/main5_6.html SPICE 심사 사례]
          * [http://kspice.co.kr/main3/pds/RUP15504final_1.pdf Assessing RUP against ISO15504-5]
          * [http://kspice.co.kr/main3/pds/SPICE_교육자료.zip SPICE교육자료] - 관련글은 [http://kspice.co.kr/main3/content.asp?tbname=t_down&menuname=게시판&gotopage=1&Fnum=21&Fref=21# SPICE 심사원 자격 교육자료]를 참조.
  • Server&Client/영동 . . . . 9 matches
          public static void main(String[] args) throws IOException
          System.out.println(server);
          System.out.println("접속을 기다립니다.");
          System.out.println(accepted);
          System.out.println("종료합니다.\n");
          public static void main(String[] args) throws IOException
          System.out.println(connect);
         ["JavaStudyInVacation/진행상황"]
  • SimpleTextIndexerUsingSQLite . . . . 9 matches
         = index.db 가 저장되는곳 =
         C:\Documents and Settings\namsang\Local Settings\Temp\index
         = setting.ini 설정 =
          * 아래 소스 참고 : D:\test 폴더가 없으면 뻑남. setting.ini 에서 폴더를 변경 하던지 만들던지
         Upload:indexer.zip
  • StepwiseRefinement . . . . 9 matches
         사실, TestDrivenDevelopment나 ["Refactoring"]의 상당 부분도 어찌보면 StepwiseRefinement의 연장선에 있다.
          * ["ScheduledWalk/석천"] : ["1002"]가 RandomWalk2를 StepwiseRefinement로 접근한 예
         Niklaus Wirth 교수의 ''Program Development by Stepwise Refinement''(1971, CACM 14.4) (http://www.acm.org/classics/dec95/ )와 EdsgerDijkstra의 [http://www.cs.utexas.edu/users/EWD/ewd02xx/EWD227.PDF Stepwise Program Construction]을 꼬오옥 읽어보길 바랍니다. 전산학 역사에 길이 남는 유명한 논문들이고, 여기 소개된 SR은 Structured Programming에서 핵심적 역할을 했습니다. 당신은, 이 사람이 사용한 stepwise refinement에 상응하는 어떤 "일반적 문제 접근법 및 디자인 방법"을 갖고 있습니까? 이 글을 읽고 다른 문제에 stepwise refinement를 적용해 보십시오. Functional Programming이나 OOP에도 적용할 수 있습니까? 이 글을 읽고, 또 스스로 실험을 해보고 무엇을 배웠습니까? 이 stepwise refinement의 단점은 무엇이고, 이를 극복하는 방법은 무엇일까요? --김창준.
  • StuPId/정진경 . . . . 9 matches
         #include <stdio.h>
         #include <string.h>
         int main()
          int n;
          int i, j, k;
          int sum, q, qk;
          printf("Scenario #%d:\n%s\n\n", i, str);
  • TheKnightsOfTheRoundTable/문보창 . . . . 9 matches
         || 2006-02-09 Accepted 0.031 Minimum ||
         #include <iostream>
         using namespace std;
         #include <cstdio>
         #include <cmath>
          printf("The radius of the round table is: %.3f\n", r);
         int main()
          while (cin >> a >> b >> c)
  • TheLargestSmallestBox/허준수 . . . . 9 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
          double min_v = l < w ? l : w;
          cout << max_v << " " << 0.0 << " " << min_v/2 <<endl;
         int main()
          cout.setf(ios::showpoint);
          while(cin >> l >> w)
  • WikiWikiWeb . . . . 9 matches
         The [wiki:Wiki:FrontPage first ever wiki site] was founded in 1994 as an automated supplement to the Wiki:PortlandPatternRepository. The site was immediately popular within the pattern community, largely due to the newness of the internet and a good slate of Wiki:InvitedAuthors. The site was, and remains, dedicated to Wiki:PeopleProjectsAndPatterns.
         Wiki:WardCunnigham created the site and the WikiWikiWeb machinery that operates it. He chose wiki-wiki as an alliterative substitute for quick and thereby avoided naming this stuff quick-web. An early page, Wiki:WikiWikiHyperCard, traces wiki ideas back to a Wiki:HyperCard stack he wrote in the late 80's.
         See also one of these links:
          * [http://news.mpr.org/programs/futuretense/daily_rafiles/20011220.ram Ward Cunningham Radio Interview]
  • XOR삼각형/aekae . . . . 9 matches
         #include <iostream>
         using namespace std;
         const int MAX = 8;
         int main()
          int arr[MAX][MAX];
          for (int i=0; i<MAX; i++)
          int j,k;
          for (int h=j; h<MAX-1; h++)
  • XOR삼각형/곽세환 . . . . 9 matches
         #include <iostream>
         using namespace std;
         int main()
          int ar[10][10]={{0}};
          for (int k = 0; k < 10 - 1; k++)
          for (int i = 1; i < 10; i++)
          for (int k = 0; k < 10 - 1 - i; k++)
          for (int j = 0; j < i + 1; j++)
  • 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, 치관 운영 관리 프로그램, 세탁소 관리 프로그램, 세일 정보 통신 재해자 관리 프로그램
  • ZeroPageServer/set2005_88 . . . . 9 matches
          * JSP Container 변경 : 톰캣 5.5.9. (컨테이너 변경에 따라서 jdk1.5.0-4로 변경)
          * 신규 계정 skeleton 에 WEB-INF 기본 파일 추가. index.php 를 통해서 phptest 를 하도록 함.
          * 리부팅후 jsp container 가 자동으로 미시작되던 문제 해결
          * [http://www.zeropage.org/server-status apache status], [http://www.zeropage.org/jkstatus jk status], [http://www.zeropage.org:8080/manager/html tomcat manager], [http://www.zeropage.org:8080/admin/ tomcat administrator]
          * ZeroWiki - moinmoin 0.10 으로 돌리는중
          * [http://www.zeropage.org/phpsysinfo/ phpsysinfo]
  • ZeroWiki에서 언어습관 . . . . 9 matches
         NeoCoin은 ZeroWiki 항해를 하면서 ZeroPage 가 [노스모크]와 다른 방향으로 위키의 언어 습관이 관습화 되어 가는 것을 관찰할수 있었습니다. ([노스모크]는 일상어보다 좀더 공개 석상에서 쓰이는 분위기, 어휘로 언어 습관이 형성되어 온것 같습니다.)
          ''과거 [노스모크]의 전례를 보았을때, 기존 회원들은 자연계처럼 자정작용이 언어습관에 적용되기를 바란것이 아닐까요? 제가 읽는 대부분의 커뮤니티에 저런 패턴의 글들이 자연 소멸했습니다. 지금 저 글을 읽기 힘들다는 느낌 자체가 신기한 경험입니다. 마치 "그놈은 멋있었다."를 읽다가 눈이 피곤한 느낌이라고 할까요? ''--NeoCoin
         요즘 제로위키 글을 읽다보면, 전자라서 읽다가 그만두는 경우가 종종 발생합니다. 심하게, '글쓴이가 글이 남에게 읽힐때의 고민이 전무하다' 라고 표현할까요? 읽다 보면, 기존에 쓰여진 글들이 매우 딱딱한 문장이 아님에도 채팅과 같은 글들이 밑에 있어서, 딱딱하게 보입니다. 기말고사 시험지에 써있는 낙서, 생각의 흔적들이랄까요? 묘하게 배치된 글들을 보면서, 시간과 공간의 경험이 서로 다른 사람들의 생각과 글들이 융화되기가 참 힘들다는 생각을 가집니다. --NeoCoin
          특히 NoSmok:단락나누기 와 같은 위키 쓰기에 관련한 교육이나 고민을 공유하는 시간이 적은 상태에서 진행방향은 점차 더 달라 지는 것 같습니다. 몇년후 [제로위키]는 상당히 특별한 색깔을 가지게 되지 않을까요? --NeoCoin
          문단의 내용이 확인을 부탁하는 것 같아서 답변 답니다.(그렇지 않다면, 중복 문단의 존재 이유가 없겠지요?) 전자의 문장은 잘 정리하셨습니다. 허나, ''앞으로 이모티콘이 가득한 위키라는 특별한 색깔을 [제로위키]가 가지리라는 의견이시고요.'' 에는 전체 긍정을 할수 없습니다. 아직 예단할수는 없지요. '가득가득'이라니요. 내년 신입 회원이 기대되기는 하지만요. --NeoCoin
          '' ...전략...위키는 과거글이 꾸준히 읽히고, 타인이 고칠수 있는 시스템입니다. 그래서 모두가 읽는데 의미 전달의 변이가 적은 표준어, 서술 형식으로 수렴되는 것을 당연하게 생각했습니다. (반대로, 게시판은 한번 쓰면 타인이 못고치고 다시는 읽지 않으니 분위기가 수렴되거나 하는 것이 적겠지요.) 그런데, [제로위키]는 최근 2년간의 모습이 재미있거든요? ...후략...'' --NeoCoin 윗글 인용
          * 예, 꾸준히 제기되는 문제입니다. 과거 글이 읽히는 것까지 위키라는 시스템이 책임지지는 않지요. 이제 [제로위키]도 2000페이지가 넘었고, 각 페이지당 A4 한장이라고 생각해도, 1000장의 두꺼운 사전이니까요. 휴~, 그 중 우리가 읽고 키울것은 많게 잡아도 20% 내외 일것입니다. (200~300 페이지) 당장 사용하는 것은 10% 정도? 그러나 위키 시스템의 철학적인 면에 대한 학습과 토론의 장이 전무한 상황에서 당연한 결과 같네요. [위키요정]과 NoSmok:문서구조조정 NoSmok:WikiGardening 등의 노력이 적은게 아쉽습니다.
         --NeoCoin
         --NeoCoin
  • 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
          *[http://aragorn.bawi.org/interests/tao_of_programming_(korean).html]프로그램의 도
          *[http://aragorn.bawi.org/interests/tao_of_programming_(english).html]
          *[http://flash.hangame.com/index.nhn?navertc=1]
          *[http://www.kukkiwon.or.kr/tkskill/pomsae_index.asp?div=3]국기원
          *[http://xper.org/wiki/seminar/면접]
          *[http://xper.org/wiki/seminar/_b1_b9_be_ee_bd_c7_b7_c2_b0_fa_c7_c1_b7_ce_b1_d7_b7_a1_b9_d6]국어실력과프로그래밍
          그리고 시간이 되신다면, NoSmok:문서구조조정 도 읽어 보세요. 유익할 겁니다. 앞으로 수많은 글을쓰실때 도움될겁니다.--NeoCoin
  • 구구단/강희경 . . . . 9 matches
         #include<iostream>
         using namespace std;
         int main()
          int count = 0;
          for(int i = 1; i < 10; i++)
          for(int j = 2; j < 6; j++)
          for(int k = 1; k < 10; k++)
          for(int l = 6; l < 10; l++)
  • 구구단/윤성복 . . . . 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 ''
  • 구구단/임다찬 . . . . 9 matches
         #include <stdio.h>
         #include <conio.h>
         void gugudan(int range){
          int i,j;
          printf("%d * %d = %d\t",j,i,i*j);
          printf("\n");
          printf("\n\n");
         int main(void){
  • 구구단/주요한 . . . . 9 matches
         #include <stdio.h>
         void main()
          int i;
          int j;
          printf("%d * %d = %d\t", j, i, j*i);
          printf("\n");
          printf("\n");
          printf("%d * %d = %d\t", j, i, j*i);
          printf("\n");
  • 구구단/허아영 . . . . 9 matches
         if __name__== '__main__':
          for b in range(1, 10):
          for a in range(2,6):
          print a,'*' ,b,'=', a*b ,
          print ' '
          for b in range(1,10):
          for a in range(5,10):
          print a, '*' ,b,'=', a*b ,
          print ' '
  • 데블스캠프2002 . . . . 9 matches
         || 6월 24일 || 월요일 || (이정직),(남상협) || DOS, ["FoundationOfUNIX"] ||
         || 6월 26일 || 수요일 || 이상규, 이병희 || DevelopmentinWindows, Web Programming ||
         || 6월 27일 || 목요일 || 강석천 || ObjectOrientedProgrammingSeminar ||
          1. ["DevelopmentinWindows"] - 윈도우즈 운영체제를 기반으로한 프로그램 개발의 간략한 소개 --상규
          1. ["StringOfCPlusPlus"] - 1학년 여름 방학때 제로페이지에서 했던 문자열 다루기 ["상협"]
          1. 쓰레기통 만들기 - 1학년때 종필이 형이 해준 UNIX 세미나가 생각나서. 그냥 제안..["상협"]
          1. ["FindShortestPath"] - 옛날 해커스 랩에서 나왔던 문제.. 프로그램 실력보다는 알고리즘적인것이 중요할듯.. --광민
  • 데블스캠프2002/날적이 . . . . 9 matches
          * 다시 해볼 때(DoItAgainToLearn)는 뭐를 다르게 했고, 뭐가 다르게 나왔는지
          * 일부러 문법쪽에 대한 정통적인 설명을 배제하긴 했음. 뭐.. 그정도만 해도 디자인 타임때 디자인한 객체를 구현하는데 문제 없을 것 같고 해서. 졸지도 않고 끝까지 둘이서 같이 이야기하면서 플밍 하는 모습이 보기 좋았던 거 같아. 그리고 요구사항 추가내용인 바퀴벌레 2마리일때와 2차원 판이 아닌 3차원 직육면체를 돌아다닐때에 대해서 StructuredProgramming 과 ObjectOrientedProgramming 을 하여 비교하면 문제점 면에서 그 차이를 확실히 알 수 있을것임. --석천
          * 대근) 오호... Unix 를 사용한 것은 정말 뜻깊은 기회였습니다. Linux의...그것도 이론만 접해본 저로서는 익힌 명령어들을 쓰구 쓰구~~ 또 쓰면서 너무 기쁜 시간이었습니다.. 물론 숙제라는 강박관념두 없었고요...[[BR]]
         정말 랜덤 워크는 어려웠습니다.. 저는 랜덤 방향을 하나하나 만들어서 ELSE IF 문으로 돌고 또 돌았습니다.. 나중에 풀고 나서 재동형이 보여준 소스인 방어벽을 사용하지 않는 소스를 보고 아차~ 하는 생각이 들더군요.. 동적 2차 배열도 참신하게 재밌었습니다... 나머지라...[[BR]]LINKED LIST는 손도 못 대밨지만 옆에서 하시는 걸 보니 정말 어렵더군요..-_-;;[[BR]] 하노이의 탑 역시 지금 열심히 6시가 넘겨 풀고 있지만 풀릴지.....^^[[BR]]
          * 성재) 우선 처음의 Unix의 경우는 쉽고 재밌었습니다. 제가 개인적으로 홈페이지에 관심이 많던터라 퍼미션 조정에 대해서도 잘 알수 있었구요.. 서버에서의 html을 찾아가는 경로도 알수 있어서 좋았습니다. 그런데... -_-;; 씨 프로그래밍은 여전히 어려웠습니다...-_-;; 첫번째 문제밖에 못풀었는데요.. 우선 Randomwork경우에는 문제조차 이해를 바로하지 못했던게 문제였던 것 같습니다. 동적배열을 쓰는 법도 잘 몰라서 문제였구요. 선배들이 도와주셔서 알긴 했지만 좀 더 공부해야 겠다는 생각이 들었습니다. 그리고 중요한 에러중에 하나가 괄호를 생략하는데서 나온건데요.. 코딩시 줄을 줄여보겠다는 일념<?>하에 괄호가 필요하지 않은데는 일일히 해주지 않았더니 꼬이더라구요... 코딩을 하는데에서의 인터페이스와 여러가지에 대해 깨우치고 알았던 기회였던 거 같습니다. 다음에는 좀 더 찬찬히 알고리즘부터 쫘악 짜서 천천히 풀어봐야 겠습니다...
          그 와중에서도 Unix Server 건드렸던 건 재밌었구여...
          그런데 하노이 탑이랑 LinkedList는 정말 어렵더군여... -_-;;;;;
          * 명진 : 프로그래밍이란 역시 어려운듯... Unix할때는 도스와 FTP를 합쳐놓은 느낌이라서 비교적 쉽게 넘겼는데, 프로그래밍으로 들어가니 역시 쉽지 않더군요. 랜덤 워크 하나 하는데도 괄호를 잘못 치고 루프 범위를 잘못 표현하고 초기화를 안하는 듯 해서 계속 틀리고, 도움을 많이 받아가면서 간신히 끝냈습니다. 나머지 2문제는 20분밖에 남지 않았던 관계로 손도 대지 못함(않음?)... 좀 더 열심히 할 필요가 있을듯 하네요.
          unix 실습을 해볼 수 있어서 넘 좋았는데 아직두 unix가 뭔지 모르겠는데, 어쩌지.....
  • 데블스캠프2005/RUR-PLE/Harvest/이승한 . . . . 9 matches
         [데블스캠프2005/RUR-PLE/Harvest/Refactoring]
         def getSixBeepOneLine():
         def getTwoLine():
          getSixBeepOneLine()
          getSixBeepOneLine()
         ##main
         getTwoLine()
         getTwoLine()
         getTwoLine()
  • 데블스캠프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;
  • 데블스캠프2006/월요일/연습문제/for/이장길 . . . . 9 matches
         #include <iostream.h>
         int main(void)
          int a,b;
         #include <iostream.h>
         int main(void)
          int a,i,f=1;
          cin>>a;
  • 데블스캠프2006/월요일/연습문제/if-else/이경록 . . . . 9 matches
         #include<iostream.h>
         int main(void)
          int a,b;
          cin>>a;
         #include<iostream.h>
         int main(void)
          cin>>a;
  • 데블스캠프2006/월요일/연습문제/if-else/이장길 . . . . 9 matches
         #include <iostream.h>
         int main(void)
          int a,i;
          cin>>a;
         #include <iostream.h>
         int main(void)
          cin>>a;
  • 데블스캠프2006/월요일/연습문제/switch/김준석 . . . . 9 matches
         #include<iostream>
         using namespace std;
         void main(){
          int i;
          cin >> i;
          if(i==999) continue;
          cout << "잘못 했습니다 다시 해주세요" <<endl; continue;
          printf("%c:%d명\n",'A'+i,a[i]);
          printf("F:%d명\n",a[4]);
  • 데블스캠프2006/월요일/연습문제/switch/이차형 . . . . 9 matches
         #include <iostream>
         using namespace std;
         int main()
          int i;
          int n;
          int A, B, C, D, F;
          int count = 0;
          cin >> n;
  • 데블스캠프2006/화요일/pointer/문제1/이장길 . . . . 9 matches
         #include <iostream.h>
         void swap(int *, int *);
         void main()
          int a = 1, b = 18;
         void swap(int *n, int *m)
          int save;
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프2006/화요일/pointer/문제4/성우용 . . . . 9 matches
         #include <iostream>
         #include <string.h>
         using namespace std;
         int main()
          int i,n;
          cin>>buf;
          int length = strlen(buf);
  • 데블스캠프2009/수요일/OOP/박준호 . . . . 9 matches
         int num (int x)
         int num (int x, int y)
         int num (int x, int y, int z)
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/강소현 . . . . 9 matches
         #include <stdio.h>
         typedef struct zergling{
          int attack;
          int protect;
          int HP;
         int main(){
          printf("%s가 %s에게 데미지 %d를 입혀 HP가 %d가 되었다.\n",zerg1.name, zerg2.name, zerg1.attack, zerg2.HP);
          printf("%s의 HP가 %d가 되어 끝났음 ㅇㅇ\n",zerg2.name, zerg2.HP);
  • 데블스캠프2013/셋째날/후기 . . . . 9 matches
         = 김홍기 / WindowBuilder =
          * 개인적으로 저한테는 실용성으로 따지면 아마 이번 데블스 캠프 1위가 아닌가 싶을 정도로 마음에 드는 주제였습니다. Window Builder는 전에 순의 선배가 쓰시는 걸 봐서 이런 게 있는 건 알았지만 그래도 직접 써 보니 생각보다 더 좋군요. 아마 나중에 정말로 쓸 일이 많이 있지 않을까 싶습니다. - [서민관]
          * windowBuilder 쓸 줄 안다고 생각 했었는데 세미나 참여해보니 생각보다 많은 기능을 제공하는 플러그인 이었네요. 그래도 툴에 의존하면 안되니 Swing을 더 파야겠습니다. -[고한종]
          * net beans를 써봐서 인지 window 빌더에 그다지 거부감은 없던것같습니다. 다만, 이클립스내에서 사용할 수 있다는 점에서 좋은것같습니다. 이때까지 net beans랑 이클립스를 혼용해서 사용해왔었는데 좋은 플러그인을 직접적으로 알게되어서 좋았습니다.(window 빌더의 존재는 알았지만 사용해보기에 너무 귀찮아서 이때까지 사용할 기회를 못가졌었는데 가지게 되서 좋았습니다.) -[김윤환]
         = 김태진 / Machine Learning =
          * 개인적으로 좀 아쉬움이 큰 세션이었습니다. 물론 머신 러닝이 쉬운 주제가 아니라는 건 맞습니다. 하지만 오히려 그렇기 때문에 강사 입장에서는 최대한 난이도를 낮추기 위한 노력들을 할 수 있지 않았을까 하는 생각이 조금 남습니다. 적어도 새내기나 2학년 들이 머신 러닝이라는 뭔가 무서워 보이는 주제 앞에서 의욕이 사라질 수 있다는 생각을 했다면, 전체적인 알고리즘의 간단한 의사 코드를 보여주거나, DataSet을 줄인다거나 해서 조금 현실적인 시간 내에 결과를 보고 반복적으로 소스 코드를 손을 볼 수 있게 할 수 있지 않았을까요. 적어도 간단한 샘플 소스를 통해서 이 프로그램이 어떻게 돌아가는가, 어떤 input을 받아서 어떤 output을 내는가 등에 대해서 보여주었다면 더 재미있는 실습이 될 수 있지 않을까 하는 생각이 듭니다. 머신 러닝은 흥미로운 주제지만, 흥미로운 주제를 잘 요리해서 다른 사람들에게 흥미롭게 전해줄 수 있었는가를 묻는다면 저는 좀 아쉬웠다는 대답을 할 것 같습니다. - [서민관]
  • 로그인없이ssh접속하기 . . . . 9 matches
         == ssh login without password ==
          * [http://www.linuxproblem.org/art_9.html 참고글]
         Generating public/private rsa key pair.
         Enter file in which to save the key (/home/a/.ssh/id_rsa):
         Enter same passphrase again:
         Your identification has been saved in /home/a/.ssh/id_rsa.
         Your public key has been saved in /home/a/.ssh/id_rsa.pub.
         The key fingerprint is:
  • 마름모출력/남도연 . . . . 9 matches
         if __name__=='__main__':
          n=raw_input('패턴입력:')
          k=input('변의 길이 입력:')
          for x in range(1,2*k,2):
          print ' ' * ((2*k-x)/2),
          print 'n'* x
          for x in range(1,2*(k-1),2)[::-1]:
          print ' ' * ((2*k-x)/2),
          print 'n'* x
  • 마름모출력/문보창 . . . . 9 matches
          for i in range(size):
          print ' ' * (size - i),
          print pattern * (i * 2 + 1)
          for i in range(size+1):
          print ' ' * i,
          print pattern * ((size-i) * 2 + 1)
         if __name__== '__main__':
          pattern = raw_input()
          size = input()
  • 마방진/임민수 . . . . 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++)
  • 문자반대출력/Microsoft . . . . 9 matches
          _strrev (string)
          char *string;
          char *start = string;
          char *left = string;
          while (*string++)
          string -= 2;
          while (left < string)
          *left++ = *string;
          *string-- = ch;
  • 반복문자열/이강희 . . . . 9 matches
         #include <stdio.h>
         int print_n(int num)
          printf("%d. CAUCSE LOVE.\n", num);
         int main(void)
          int num = 1;
          print_n(num);
  • 반복문자열/이도현 . . . . 9 matches
         #include <stdio.h>
         #define loopSize 5
         void print_caucse(void);
         int main(void)
          print_caucse();
         void print_caucse(void)
          int i;
          printf("CAUCSE LOVE.n");
  • 상협/삽질일지/2002 . . . . 9 matches
          * Java 에서 강제 형변환을 C++ 스타일 int(변수), 이런식으로 하다가 수치해석 그래프를 자바로 못 그렸다. ㅠㅜ 그래서 MFC로 하다가 나중에 Java로 짜놓았던 Tridiagonal Matrix 가 MFC로 옮기면서 각종 문제가 발생... 다시 Java로 하려다가, 예전의 형 변환의 문제 발생..ㅠㅜ, 결국 MSN으로 형들에게 물어봐서 자바에서 형 변환은 (int)변수 이런식밖에 안된다는 것을 알았다. 기본에 충실하자.. ㅡㅡ;
          * Driver driver = (Driver)Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); 이거 할때 메인 함수에서 throws Exception 를 하지 않으면 thrown 을 잡거나 선언 해야만 한다는 메시지가 뜬다. 아직 이유는 모르겠다.
          * Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); 이거는 main 함수 내부가 아닌 곳에서는 에러 뜬다. 엄청 삽질했다. ㅠㅜ 아직 이유는 모르겠다.
          ''Exception Handling 에 대해서 이해해야 할 것 같은데. Exception 은 해당 함수가 throws 등으로 발생을 시키고, Java 의 경우 그 Exception 을 반드시 처리를 해주는 곳을 만들어야 하지. 해당 메소드 내에서 Exception 이 발생은 하는데, 그 메소드에서 예외처리를 바로 하고 싶지 않으면 (즉, 그 Exception을 그 메소드 내에서 처리하지 않고, 그 메소드를 호출했던 곳 등에서 처리를 한다고 한다면) throws 로 해당 메소드에서 exception 을 또 던져주는 식으로 되겠지. 만일 Class.forName(...) 쓴 구문을 try - catch 로 예외를 또 잡는다면 이야기가 다르겠지만. 자바는 Exception 를 강요하는 관계로 예외는 catch 에서 무엇을 하건, 반드시 해당 발생된 예외를 잡아줘야 함. (그 덕에 최악으로 뻗을 일이 적지. 예외는 발생하더라도) --석천''
          * 지금까지 자바에서 if(String1 == String2) 이게 안 먹혀서 계속 고생 했다. 알고 보니 String Class 의 CompareTo 메소드를 사용해야 했다. 허접 삽질.. ㅡㅡ;
          * 오늘은 그렇게 큰 삽질은 아니지만 요새 별다른 삽질이 없어서 적어본다. 오늘 비행기게임 프로젝트를 하고 있는데 파일에서 적 비행기 경로를 읽어와서 실행하는거를 하는데 이상하게 계속 안되는 것이었다. 분명히 난 맞게 텍스트 파일에 적이 나올 위치를 숫자로 적었고, 정확한 명령어를 사용했는데 말이다. 그래서 계속 삽질하다가 잠깐 밖에 나갈 일이 생겼다. 그런데 걷다가 곰곰히 생각하니깐 왠지 파일읽어 온것을 프로그램에서 string 형으로 생각한거 같았다. 그때 아차 하는 생각이 들었다. 역시 삽질은 안된다고 계속 반복하기보다는 원인을 곰곰히 생각해야 한다는 교훈을 얻었다. 뭐 몸이 그렇게 안따라 주지만. ㅡㅡ;
          * 간만에 쓴다. 삽질일지.. -_-;; 그동안 너무 놀았나.. 쩝.. 이번 삽질은 내가 처음으로 환타스탁한 소켓 플밍 연습하는데, API로 작성된 WinSock 소스 가지고 send랑 recv 가지구 놀고 있는뎅... 글자가 계속 깨져 나왔당.. 미치고 환장할일.. -_-;; 정모때 남훈이형이 어떻게 해서 되기는 되었는데 이유는 몰랐다.. 그래서 희망을 안 버리고 계속 삽질 해봤는데.. send랑 recv의 타이밍이 서버와 클라이언트가 맞지 안아서 였다.. 쩝..테스트 결과 서버가 send먼저 하고 클라이언트가 recv하면 깨져 나왔당..서버가 recv하고 클라이언트가 send하면 글씨가 안깨진다..-_-;;.. 이게 규칙인가~ 쩝.~
  • 새싹교실/2011/무전취식/레벨3 . . . . 9 matches
          == ICE Breaking ==
          * printf()와 scanf()함수의 쓰임에 대해 말해주었습니다. %c %d %l %f %%등등.
          * 간단한 Array에대한 소개. 다음시간에 더 자세히 말해주겠습니다. int {{{a[10];}}}
          * unsinged int와 int의 차이점? 표현 범위가 어디서부터 어디까지? WHY??? 다시한번 생각해봅시다.
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2011/앞반뒷반그리고App반 . . . . 9 matches
          * [The C Programming Language]. 일단은.
          #include <stdio.h>
          #include <assert.h>
          int main(){
          int n=1;
          Assertion failed: (n>100), function main, 과 같이 오류뜨면서 프로그램이 종료됨.
          * 시험기간 직전에 질문시간이었어요. ~~저밖에 오지 않았지만~~ 이날 새롭게 배운것은 (수업시간에 필요없다고 넘긴것이라 필요없었음에도 잔다고 필요없다는 사실을 몰랏음) redirection이었는데요! 뭐냐니 input과 output을 바로 프로그램에서 받고 띄우는 것이 아니라 다른 문서에서 불러오거나 집어넣는 것이었어요. 지금까지는 인풋은 무조건 scanf로 직접 넣었는데, 그것과는 다른것!!이었죠. 사실 방법은 지금 잘 기억나지를 않네요 -_- 아무튼 이런 신기한걸 배웠습니다. -[김태진]
          * 오늘은 포인터를 배웠어요. ********별-. 선언할 때 int *a;로 선언하게 되면 *a는 a의 주소에 있는 값을 나타내는거였지요. 음.. 하다가 현 형이 하던 프로젝트에 잠깐 지워놓고 예시를 들었다가 xcode를 끄는 바람에 소스가 날라가버렸지요.... 포인터가 있으면 지정된 크기보다 큰 용량의 자료도 불러오기 쉽다는 것도 배웠구요. 아무튼 유용하게 쓸 수 있을거 같아요 -[김태진]
  • 새싹교실/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");
  • 새싹교실/2013/라이히스아우토반/1회차 . . . . 9 matches
          * printf, scanf 복습하고, 그 이외의 stdio.h에 있는 입출력 함수들을 소개할 겁니다.
          * [http://soenlab.com SoEnLab:소프트웨어 공학 연구소(구 Winapi.co.kr)]를 소개.
          * printf, scanf 복습하고, 그 이외의 stdio.h에 있는 입출력 함수들을 소개할 겁니다.
          *-> printf도 제대로 안배웠길래 건너 뜀. (복습이 아니라서 )
          * [http://soenlab.com SoEnLab:소프트웨어 공학 연구소(구 Winapi.co.kr)]를 소개.
         [http://rino0601.tistory.com/entry/tottkrrytlf1c23d750a0786b0896d 사진올리는 법을 못찾아서 블로그로]
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 시간맞추기/김태훈zyint . . . . 9 matches
         #include <stdio.h>
         #include <conio.h>
         #include <time.h>
         int main()
          int last;
          printf("you win!!! \n");
          printf("your time is off. \n");
  • 쓰레드에관한잡담 . . . . 9 matches
         process scheduling은 크게 두가지로 나뉜다.
         2. time-sharing process
         여기서 time-sharing 을 설명한다.
         Linux에서는 크게 두가지의 thread를 지원한다.
         Linux에서 멀티 프로세스 개념인 fork()는 내부적으로 do_fork()란 Kernel 함수를 호출하며, do_fork()는 내부적으로 user thread인 POSIX기반의 Mutex를 사용한다.
          int num = *(int *)arg;
          int i;
          printf("%d: sum+=%d\n", num, i);
  • 안혁준 . . . . 9 matches
          * http://wikinote.bluemir.me
         http://wikinote.bluemir.me
          * WINAPI, MFC
          * 개인용위키 - [http://github.com/HyeokJun/WikiNote wikinote]
          * [http://intra.zeropage.org:3000 planetWar] - ZP MT 때 진행했던 AI경쟁 플랫폼. 코드 공개예정
          * [http://nforge.zeropage.org/projects/mine 09년도 oop 프로젝트/온라인 마인]
          * [http://nforge.zeropage.org/projects/davinchicode 09년도 JAVA 프로젝트/다빈치 코드]
          * [DsLinux]
         [http://local.wasp.uwa.edu.au/~pbourke/geometry/lineline3d/] 두 선분사이의 최단거리
  • 알고리즘5주숙제/김상섭 . . . . 9 matches
         #include <iostream>
         #include <time.h>
         #include <math.h>
         using namespace std;
         unsigned int max = 1000000;
         int main()
          int count = 0;
          for(int i = 0; i < max; i++)
  • 알고리즘5주숙제/하기웅 . . . . 9 matches
         #include <iostream>
         #include <ctime>
         #include <cmath>
         using namespace std;
         #define testcase 100000000
         int main()
          int i = testcase;
          int number=0;
  • 연습용 RDBMS 개발 . . . . 9 matches
         #include <stdio.h>
         #include <math.h>
         int main(void)
          int num, sqrt_num, n, result=0;;
          printf("양의 정수를 입력 하세요 : ");
          sqrt_num = (int)sqrt((double)num);
          printf("숫자 %d : %s\n\n", num, result ? "소수가 아닙니다." : "소수입니다.");
          printf("양의 정수를 입력 하세요 : ");
  • 영어학습방법론 . . . . 9 matches
          * 기본적으로 접두어,접미어,어근을 가진 단어들은 Latin & Greek 계열의 단어로써 고급단어, 학문적인 단어들임. 따라서 일상생활영어에서는 나타나는 빈도가 아주 낮은 단어들임. 단 어느정도 영어가 되고 고급영어를 공부하는(GRE,SAT) 사람들에게는 괜찮음
          * ex) I feel like go into the.. (X) : 의미로 모른다[[BR]]
          I feel like going to the.. (O) : 의미를 안다.[[BR]]
          feel like ~ing 문법을 알아야한다. [[BR]]
          * Practical English Usage (Author : Swan) 문법 index가 잘되어 있음. 글을 읽다가 모르는 문장, 문법일때 손쉽게 찾아서 볼 수 있음
          * Grammar in Use (Author : Raymond Murphy)
          * 자신의 WPM (Word per Minute)으로 읽기 속도를 측정한다.
          * 페이지당 3, 4단어 정도 모르는게 적당. Level선택두 아주 중요함(읽기만 아니라 듣기도 해야하기때문) Cambridge, Longman, Oxford같은 출판사에서 나온 것을 선택하는 것이 좋음. Penguin Readers 시리즈가 유명함. Tape과 책이랑 같이 있음. 같이 구입 보통 각 책마다 level이 표시되어 있음(단어숫자라던지 교육과정정도를 표기) Tape : 성우가 재밌게 동화구연을 하는 것이라면 더 재밌다. 더 집중할 수 있다. ^^
          * http://technetcast.com - 전산학자들, 유명한 저자의 강의, interview, conference 발표등이 있음
  • 위키기본css단장 . . . . 9 matches
         || Upload:black_mini.png || Upload:hirenn_mini.png || Upload:blue_mini.png ||
         || Upload:red_mini.png || Upload:clean_mini.png || Upload:easyread_mini.png ||
         || Upload:sfreaders_mini.png || Upload:uno_mini.png || Upload:narsil_mini.png ||
  • 정렬/aekae . . . . 9 matches
         #include <fstream>
         using namespace std;
         int main()
          ifstream fin("input.txt");
          int number[10000];
          int i,j,k,temp;
          fin >> number[i];
  • 정렬/변준원 . . . . 9 matches
         #include<iostream>
         #include<fstream>
         using namespace std;
         int main()
          ifstream fin("UnsortedData.txt");
          int sorted[10000];
          int i,j,k,sort;
          fin >> number[i];
  • 정모/2002.5.30 . . . . 9 matches
          * PairProgramming 에 대한 오해 - 과연 그 영향력이 '대단'하여 PairProgramming을 하느냐 안하느냐가 회의의 관건이 되는건지? 아까 회의중에서도 언급이 되었지만, 오늘 회의 참석자중에서 실제로 PairProgramming 을 얼마만큼 해봤는지, PairProgramming 을 하면서 서로간의 무언의 압력을 느껴봤는지 (그러면서 문제 자체에 대해 서로 집중하는 모습 등), 다른 사람들이 프로그래밍을 진행하면서 어떠한 과정을 거치는지 보신적이 있는지 궁금해지네요. (프로그래밍을 하기 전에 Class Diagram 을 그린다던지, Sequence Diagram 을 그린다던지, 언제 API를 뒤져보는지, 어떤 사이트를 돌아다니며 자료를 수집하는지, 포스트잎으로 모니터 옆에 할일을 적어 붙여놓는다던지, 인덱스카드에 Todo List를 적는지, 에디트 플러스에 할일을 적는지, 소스 자체에 주석으로 할 일을 적는지, 주석으로 프로그램을 Divide & Conquer 하는지, 아니면 메소드 이름 그 자체로 주석을 대신할만큼 명확하게 적는지, cookbook style 의 문서를 찾는지, 집에서 미리 Framework 를 익혀놓고 Reference만 참조하는지, Reference는 어떤 자료를 쓰는지, 에디터는 주로 마우스로 메뉴를 클릭하며 쓰는지, 단축키를 얼마만큼 효율적으로 이용하는지, CVS를 쓸때 Wincvs를 쓰는지, 도스 커맨드에서 CVS를 쓸때 배치화일을 어떤식으로 작성해서 쓰는지, Eclipse 의 CVS 기능을 얼마만큼 제대로 이용하는지, Tool들에 대한 정보는 어디서 얻는지, 언제 해당 툴에 대한 불편함을 '느끼는지', 문제를 풀때 Divide & Conquer 스타일로 접근하는지, Bottom Up 스타일로 접근하는지, StepwiseRefinement 스타일를 이용하는지, 프로그래밍을 할때 Test 를 먼저 작성하는지, 디버깅 모드를 어떻게 이용하는지, Socket Test 를 할때 Mock Client 로서 어떤 것을 이용하는지, 플밍할때 Temp 변수나 Middle Man들을 먼저 만들고 코드를 전개하는지, 자신이 만들려는 코드를 먼저 작성하고 필요한 변수들을 하나하나 정의해나가는지 등등.)
         일반적으로 피시실 등이나 세미나때에 선배들과 이야기하고, 선배들에게 조언을 들으면서 프로그래밍을 하는 것과 프로그램의 처음 작성부터 PairProgramming 을 하는 경우가 어떤 차이가 있을지 생각을 해보고 이러한 '페어가 저절로 진행되어서' 라고 결론을 내렸으면 합니다.
         문제를 내 주고 난 다음에 선배들과 이야기하면서 프로그래밍을 하는 경우, Programming 의 주도자는 문제의 당사자인 후배가 됩니다. 하지만, 문제를 풀어나가는 순서 (즉, 문제를 받고, 컴퓨터 앞에 앉았을때부터의 작업 진행과정들)는 여전히 후배들의 순서를 따르게 됩니다.
         초반 3일정도는 스스로의 방법으로 (주어진 플랫폼(?)에서 한계에 다다를 정도까지라고 할까요.) 해결해보도록 한 뒤, 그 이후쯤에 선배들과의 PairProgramming을 해보는 (위의 처럼, 문제 해결방법 순서까지 보여주는.) 것은 어떨까 하는 생각을 해봅니다. 위에 열거한 저러한 것들도 자신이 원하지 않으면, 또는 자신이 민감하지 않으면 관찰자체를 하지 않는 것들이니까요. --1002
  • 정모/2005.4.25 . . . . 9 matches
         [[HTML(<span style="font-size:9pt; letter-spacing:-1px;"><font face="Verdana" color=black><b>)]]
          SSP 확정으로 인해 windows 기반으로 수업하게 될듯.
          * [BeingALinuxer] - [임인택]
          참여를 희망하는 사람은 [BeingALinuxer]에서 member에 추가.
          * [[HTML(<span style="font-size:9pt; letter-spacing:-1px;"><font face="Verdana" color=ff4500><b>)]]오는 사람한테는 회비로 식사제공 (예상메뉴 : 피자)[[HTML(</b></font></span>)]]
          * windows 재설치/Linux 설치
  • 정모/2012.3.12 . . . . 9 matches
          * [변형진]의 [http://zeropage.org/seminar/59923 Type Safety using Java Generics].
          당장 학우들이 학교에서 배우는 버전은 아마도 Java SE 5.0과 6일 것이므로 혼란을 피하기 위해 JLS 3e 기준으로 설명했습니다. Java SE 7의 JLS SE7e 에서는 The Diamond <>를 이용한 Type inference가 추가된 것이 가장 큰 특징이지요. 이를테면,
          Map<String, List<Person>> m = new HashMap<String, List<Person>>(); // JLS, 3e
          Map<String, List<Person>> m = new HashMap<>(); // JLS, Java SE 7e
          * 요즘은 C++0x를 봐도 그렇고, Java를 봐도 그렇고.. type inference를 선호하는 것 같네요?ㅋㅋ -[박성현]
          * 사고가 확장되는 건 언제나 즐거운 일이네요. 수학의 기본 정의를 이용하여 Data type을 설명하신 것을 보며, 놀라웠습니다. 프로그래밍 관련 생각을 할 때 마다, 매번 '아 나의 사고(thinking)의 도메인이 너무 작어 ㅜㅜ'라는 생각을 많이 하였는데, Data type의 정의를 들으면서 '내가 평소에 인지(recognize)하지 못했기 때문에, 깊게 생각해보려고 해도 다른 분야의 개념들이 자연스럽게 생각이 떠오르지 않는구나.'라는 생각을 해보게 되었습니다. 이런 건 계속 연습을 해야겠지요 ㅜㅜㅋ 뒤쪽 부분도 상당히 흥미로웠습니다만.. 어제 몸이 아파서 밤에 잠을 못 잔 관계로; 결국 OMS듣다가 정신이 안드로메다로 날아가서 제대로 못들었네요.. 그리고 회장은 항상 수고하네요. 갑자기 많은 일을 하게 되었을텐데 수고하십니다 ㅋ -[박성현]
  • 정모/2012.5.21 . . . . 9 matches
         === from NeoCoin ===
          * [http://en.wikipedia.org/wiki/Lightning_talk Lightning Talk]
         어떤 모임에서 의도하지 않게 Speed geeking 의 일부 방식으로 이야기를 하게되었는데,
          * [http://en.wikipedia.org/wiki/Speed_geeking Speed geeking]
         1.5 시간동안 지루하지 않고 꽤 재미있게 기술적인 토론을 할 수 있었습니다. OST에 적용도 좋고 혹은 Speed geeking 을 코딩 작업이 끝난후에 소규모로 서로 코드 리뷰를 하면서 고학년의 의견을 붙이는 것도 좋을 것 같아요.
         참고하세요. --NeoCoin
          * speed geeking 재미있겠네요!!ㅋㅋ - [서지혜]
  • 졸업논문/요약본 . . . . 9 matches
         Web environment has became a standalone platform. Object-oriented languages, such as python, are suitable for web. Django is a web application framework written by python, and helps web developers writting web application more agile by abstracting database. Django provides high level abstraction on database, higher than CLI which uses ODBC. Django, for instance, creates database tables when developer writes classes in python, and modifies tables when developer modifies classes in python. In addition, django helps developers using database on host-language(python) level by abstracting insertion, deletion, update, retrieving of recodes to class method. Therefore, web developers make programs more agile.
  • 주민등록번호확인하기/정수민 . . . . 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
         def minint(num):
          hae = (int)(max(hae1, hae2))
         class TestMinInt(unittest.TestCase):
         if __name__=='__main__':
          #unittest.main(argv=('','-v'))
          print minint(3000)
  • 프로그래밍/ACM . . . . 9 matches
          * class Main
          * BigInteger, String.split, 대부분의 io 라이브러리 등 제한
          public String readLine() {
          StringBuffer buffer = new StringBuffer();
          int lg = 0, car = -1;
          car = System.in.read();
          return buffer.toString().trim();
  • 프로그래밍언어와학습 . . . . 9 matches
          * 학교에서 C++ 배운다고 하드웨어 건드리나. -_-; (전전공이라면 몰라도..) 컴퓨터공학과의 경우 학교에서 C++ 배워도 어셈블러 레벨까지 다루는 사람이 별로 없다고 할때, C++ 을 배웠다고 시스템레벨 까지의 깊은 이해가 필요없었다는 점인데.. 글을 읽으면, 마치 '교육용 언어로 C, C++ 을 배웠다면 시스템 레벨까지 이해할 것' 처럼 쓴 것 같다고 생각. (C, C++ 포인터를 레퍼런스 이상의 개념으로 쓴적이 있었나.. --a) 차라리 '우리는 전전공 출신에 하드웨어제어 해본 사람 뽑습니다' 라고 할것이지..쩝. Domain-Specific 한 부분을 생각치 않고서는 시스템 프로그래머에게서는 늘 자바와 Script Language 는 '군인을 나약하게 만드는 무기' 일 수밖에 없으니까.
          * Language != Domain. 물론, Domain 에 적합한 Language 는 있더라도. 이 글이건 Talkback 이건.. 두개를 동일시 본다는 느낌이 들어서 좀 그렇군. (나도 가끔은 Java Language 와 Java Platform 을 똑같은 놈으로 보는 우를 범하긴 하군. -_-;)
         The fatal metaphor of progress, which means leaving things behind us, has utterly obscured the real idea of growth, which means leaving things inside us.
  • 프로그래밍잔치/첫째날후기 . . . . 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
         #include<iostream>
         using namespace std;
         int abc(int x);
         void main()
          int a;
          cin >> a;
         int abc(int x)
  • 피보나치/장창재 . . . . 9 matches
         #include <iostream.h>
         int pi(int a);
         int main()
          int a,result;
          while (cin >> a)
         int pi(int a)
  • 화이트헤드과정철학의이해 . . . . 9 matches
         계속 화이트헤드에 주목하는 이유라면 (김용옥씨 관점의 화이트헤드해석일지도 모르겠다. ["이성의기능"] 때문이지만.) 점진적 발전과 Refactoring 에서 뭔가 연결고리를 흘핏 봐서랄까나. 잘못하면 뜬구름 잡는 넘이 될지 모르겠지만. 이번에도 역시 접근방법은 '유용성' 과 관련해서. 또 어쩌면 용어 차용해서 써먹기가 될까봐 걱정되지만. 여유를 가지고 몇달 생각날때 틈틈히 읽으려는 책.
         비유의 아이디어로서 ["NumericalAnalysisClass"] 때 배운 Interpoliation 기법들이였다. 수치해석시간의 Interpolication 기법들은, 몇몇개의 Control Point들을 근거로 Control Point 를 지나가는 곡선의 방정식을 구하는 법이다. 처음 Control Point 들의 갯수가 적으면 그만큼 오차도 많지만, Control Point 들을 늘려가면서 점차 본래의 곡선의 모양새를 수렴해간다.
         Control Point 들은 일상의 경험들이다. 그 경험들이 삶의 방정식들을 만들어간다. 비록 그 방정식들이 오차가 많을지더라도, (라그랑주일지, Cubic Spline 일지. 어쩌면 결국 현실을 누가 더 잘 설명하느냐라는 유용성의 문제일까) 어느정도 유용하다. 공식이 완성된 선은 재계산과정없이 빨리 그릴 수 있다.
         우리는 진리를 찾기 위해 오늘도 자신의 공식에 Control Point 를 하나더 추가하고 있는것일지도 모른다. (단, 라그랑주일경우엔 좀 더 정확해보이는 Cubic Spline 으로 페러다임 전환을 하자. ^^;)
  • 0PlayerProject/프레임버퍼사용법 . . . . 8 matches
         #include <io.h>
         #include <fcntl.h>
         #include <linux/fb.h>
         #include <sys/mman.h>
         int main()
          int fd;
  • 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]
  • 2ndPCinCAUCSE . . . . 8 matches
         '''2nd Programming Contest in CAUCSE'''
          * [2ndPCinCAUCSE/ProblemA] - A번 문제 "삼각형 만들기"
          * [2ndPCinCAUCSE/ProblemB] - B번 문제 "촌수 계산"
          * [2ndPCinCAUCSE/ProblemC] - C번 문제 "줄 세우기"
          * [2ndPCinCAUCSE/ProblemA/Solution]
          * [2ndPCinCAUCSE/ProblemB/Solution]
          * [2ndPCinCAUCSE/ProblemC/Solution]
  • 2학기파이선스터디/if문, for문, while문, 수치형 . . . . 8 matches
         for <타겟> in <객체>:
         <객체>는 순서를 갖는 자료여야 한다. 반복횟수는 <객체>의 크기가 되는데, for문 안에서 continue를 만나면 for가 있는 행으로 이동하고 break를 만나면 <문2>를 수행하지 않고 for문을 빠져나간다. else이후의 <문2>은 for문을 정상적으로 다 끝냈을 때 수행한다. 다음은 1부터 10까지의 합을 구하는 예이다.
         >>> for x in range(1, 11):
         >>> print sum
         >>> for k, animal in enumerate(L):
         ... print k, animal
         헤더 부분의 조건식이 참인 동안 내부의 블록이 반복 수행되는 while문은 조건이 거짓이 되어 빠져나올 경우에 else부분이 수행되지만, break로 빠져나올 때에는 else 블록을 수행하지 않는다. while문 안에서 continue를 만나면 헤더 부분으로 이동하고 break를 만나면 while문을 완전히 빠져나온다.
          print count
  • 3n+1Problem/김태진 . . . . 8 matches
         #include <stdio.h>
         int main()
          int i,j,max=0,n=1,k,b,c;
          unsigned int a=0;
          int A[10000]={0};
          if(feof(stdin)) break;
          printf("%d %d %d\n",b,c,max);
  • 5인용C++스터디/작은그림판 . . . . 8 matches
         || 문원명 || Upload:MinipaintMwm.zip || 잘했음. ||
         || 황재선 || Upload:MiniPaintHJS.zip || 잘했음. ||
         || 나휘동 || Upload:Leonardong_paintingboard.zip || 잘했음. ||
         || 노수민 || [http://165.194.17.15/pub/upload/MiniPaintMFC_SM.zip] || 색칠 기능이 없음. ||
  • A_Multiplication_Game/곽병학 . . . . 8 matches
         #include<iostream>
         using namespace std;
         int main() {
          int turn =1;
          while(cin>>n) {
          cout<<"Stan wins."<<endl;
          cout<<"Ollie wins."<<endl;
  • AcceleratedC++/Chapter0 . . . . 8 matches
         == Chapter 0 Getting Started ==
         #include <iostream>
         int main() {
         main 함수의 리턴형과 리턴값
          main 함수의 리턴형은 ISO/ANSI C++ 표준에서 int로 정하고 있다. 리턴값은 프로그램이 아무런 에러 없이 종료되는 경우에는 0을 리턴하도록 되어 있고, 에러가 발생해서 종료한 경우에는 0 이외의 값을 리턴하도록 되어있다. 이 값은 OS로 돌려지는 값이기는 하지만 OS에서 이것에 따라 특별히 처리하는 것은 없기 때문에 일반적인 경우에는 이 값은 아무런 의미가 없다. 이 값을 이용할수 있는 방법으로는 exec... 함수를 이용하여 프로그램을 실행해주고 받아오는 방법 등이 있다.
          첫번째 문장을 계산하면 a라는 변수에 10을 대입하면 되고 결국 남는것은 a밖에 없으므로 a의 값이 최종 결과가 된다. 두번째 문장을 계산하면 std::cout과 "Hello World!!"를 왼쪽 쉬프트 연산을 하고 나온 결과가 최종 결과가 된다. 실재로 연산 결과가 std::cout 이고 이것이 최종 결과가 된다. 여기서 왼쪽 쉬프트 연산이 과연 std::cout과 "Hello World!!" 사이에서 가능한 것인가 라는 의문을 갖게 될수도 있겠지만 C++에는 연산자 재정의(operator overloading) 라는 것이 있기 때문에 이런것을 충분히 가능하게 만들수 있다고만 알고 넘어가기 바란다. 여기서 두번째 문장을 자세히 알고 넘어갈 필요가 있다. 두번째 문장도 앞에서 설명했듯이 계산 가능한 식이고, 결국 실행되면 계산이 수행되지만 그것과 더불어 일어나는 일이 한가지 더 있는데, 바로 표준 출력으로 "Hello World!!" 가 출력된다는 것이다. 이렇게 계산되어지는 과정에서 계산 결과와 더불어 나타나는 것을 side effect라고 한다. 첫번째 문장과 같은 경우에는 side effect가 없다. 다음과 같은 두 문장이 있다고 하자.
  • AirSpeedTemplateLibrary . . . . 8 matches
         http://airspeed.pythonconsulting.com/wiki
         '''Why another templating engine?'''
         A number of excellent templating mechanisms already exist for Python, including Cheetah, which has a syntax similar to Airspeed.
         However, in making Airspeed's syntax identical to that of Velocity, our goal is to allow Python programmers to prototype, replace or extend Java code that relies on Velocity.
  • AnEasyProblem/강성현 . . . . 8 matches
         #include <iostream>
         using namespace std;
         int main(void) {
          int i, c = 0;
          cin >> i;
          int temp = i;
          int temp = ++i, cc = 0;
  • Ant/JUnitAndFtp . . . . 8 matches
         ant script 를 JUnit 과 FTP 를 연동하여 해당 웹 주소에 junit reporting 을 해주는 예.
         이를 cron job 이나 windows 의 '예약된 작업' 등 스케줄러와 같이 이용하면 편리하다.
          <target name="init">
          <target name="compile" depends="init" >
          <include name="Simple*"/>
          <include name="TEST-*.xml"/>
          <include name="*.*"/>
          <include name="*.*"/>
  • Apache . . . . 8 matches
         [ZeropageServer]도 [Linux]와 [Apache]를 이용하여 서비스를 제공한다.
         [http://www.superuser.co.kr/apache/index.htm]
         비슷한 놈으로는 InternetInformationService (IIS) 가 윈도우 환경에서 MS에 의해서 제공되고 있음.
         Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
          * [http://www.wallpaperama.com/forums/how-to-fix-could-not-determine-the-servers-fully-qualified-domain-name-t23.html 위문제상황해결링크]
  • BeeMaja/하기웅 . . . . 8 matches
         #include <iostream>
         using namespace std;
         int willy, direction, step, mNum;
         int row, col;
         void getMaja(int wNum)
         int main()
          while(cin>>willy)
  • BuildingParser . . . . 8 matches
         = Building Parser =
         전통적인 Programming Language 수업의 개인과제.
         Building Parsers With Java by Steven John Metsker
         Writing Compilers and Interpreters by Ronald Mak
         Programming Language Processors in Java: Compilers and Interpreters by David Watt, Deryck Brown
         [http://wiki.zeropage.org/pds/20064714242/Addison%20Wesley%20-%20Building%20Parsers%20with%20Java.pdf Building Parsers With Java by Steven John Metsker]
  • 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 왜 냈는지 모르겠음. -_-;;
  • CubicSpline/1002/CubicSpline.py . . . . 8 matches
         class MainFrame(wxFrame):
          def __init__(self, parent=NULL, id=NewId(), title='Graph', pos=wxDefaultPosition, size=wxDefaultSize):
          wxFrame.__init__(self, parent, id, title, pos, size)
          self._initChildControl()
          def _initChildControl(self):
          def OnInit(self):
          frame = MainFrame(pos=(100,100), size=(720,400))
         if __name__=="__main__":
          theApp.MainLoop()
  • DPSCChapter5 . . . . 8 matches
         '''Chain of Responsibility(225)''' Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects, and pass the request along the chain until an object handles it.
         '''Command(245)''' Encapsulate a request or operation as an object, thereby letting you parameterize clients with different operations, queue or log requests, and support undoable operations.
         '''Interpreter(261)'''
         '''Chain of Responsibility(225)'''
  • FactorialFactors/1002 . . . . 8 matches
         그리고 F, Count 들에 대해서 caching 을 진행할 수 있으리라 생각, 다음과 같이 풀음.
          def __init__(self):
          for e in xrange(2,half+1):
          total = sum((CountFunc(i) for i in xrange(2,n+1)))
         def main():
          for i in [2,5,8,1996,123456,1000000]: print factorialFactor(i)
          * 알고리즘의 속도를 보니 Counter 부분이 O(n^2) 이다. caching 을 함에도 그렇다는 것은 무언가 다른 접근법이 있으리라.
  • HanoiTowerTroublesAgain! . . . . 8 matches
         [http://online-judge.uva.es/p/v102/10276.html 원문보기]
         === About [HanoiTowerTroublesAgain!] ===
         [http://online-judge.uva.es/p/v102/p10276.jpg]
         === Input ===
         === Sample Input ===
          || 문보창 || C++ || 10분 || [HanoiTowerTroublesAgain!/문보창] ||
          || 황재선 || Java || 50분 || [HanoiTowerTroublesAgain!/황재선] ||
          || 하기웅 || C++ || 원랜 1시간, 문보창 XXX 때문에 말렸음ㅡㅡ; || [HanoiTowerTroublesAgain!/하기웅] ||
          || 이도현 || C++ || Closed Form 구하는 데(1시간 30분), 코딩 5분 || [HanoiTowerTroublesAgain!/이도현] ||
          || [조현태] || C++ || ? || [HanoiTowerTroublesAgain!/조현태] ||
  • HelpOnInstallation . . . . 8 matches
         `rcs`가 설치되었는지 확인한다. {{{/usr/bin/rlog /usr/bin/ci /usr/bin/co}}}등등의 실행파일이 있어야 한다. {{{/usr/bin/merge}}}도 필요하다. PHP gettext 모듈이 필요하다. See also MoniWikiRcs
          * 윈도우즈에서 모니위키를 설치하는 방법은 ApacheMoniwikiInstaller을 참고 하십시오.
         /!\ 처음 설치할 때 관리 비밀번호 {{{$admin_passwd}}}를 반드시 설정해 주세요 /!\
          1. MoniSetup을 실행시킬 때, {{{$admin_passwd}}}를 설정하면 자신만 DeletePage할 수 있다. 이 값을 설정하면, 차후에 MoniSetup을 할 때 이 값을 알아야 고칠 수 있으며, config.php에 이 값이 들어가므로 수동으로 고칠 수 있다. See also AdminPassword
         [[Navigation(HelpOnAdministration)]]
  • HelpOnProcessors . . . . 8 matches
         다음과 같이 코드 블럭 영역 최 상단에 {{{#!}}}로 시작하는 프로세서 이름을 써 넣으면, 예를 들어 {{{#!python}}}이라고 하면 그 코드블럭 영역은 {{{plugin/processor/python.php}}}에 정의된 processor_python()이라는 모니위키의 플러그인에 의해 처리되게 됩니다. {{{#!python}}}은 유닉스의 스크립트 해석기를 지정하는 이른바 ''bang path'' 지정자 형식과 같으며, 유닉스에서 사용하는 목적과 동일한 컨셉트로 작동됩니다. (즉, 스크립트의 최 상단에 지정된 스크립트 지정자에 의해 스크립트의 파일 나머지 부분이 해석되어 집니다.)
         Please see HelpOnEditing
         === CodeColoringProcessor ===
         프로세서중에 특별히 코드 블럭의 문법을 강조해주는 코드 컬러링 기능을 가진 프로세서를 가리켜 CodeColoringProcessor라고 불리입니다.
         if lines[0].contains("python"):
          print "colors!"
         [[Navigation(HelpOnEditing)]]
  • IsThisIntegration?/하기웅 . . . . 8 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         #define pi 3.141592653589793238462643383279
         int main()
          cout.setf(ios::showpoint);
          while(cin>>size)
  • IsThisIntegration?/허준수 . . . . 8 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         #define PI 3.141592
         int main()
          cout.setf(ios::showpoint);
          while(cin>>a) {
         [IsThisIntegration?]
  • Java Study2003/첫번째과제/노수민 . . . . 8 matches
         자바의 주된 특징은 기존의 C/C++ 언어의 문법을 기본적으로 따르고, C/C++ 언어가 갖는 전처리기, 포인터, 포인터 연산, 다중 상속, 연산자 중첩(overloading) 등 복잡하고 이해하기 난해한 특성들을 제거함으로써 기존의 프로그램 개발자들이 쉽고 간단하게 프로그램을 개발할 수 있도록 합니다.
         자바는 C++와는 달리 처음부터 객체지향 개념을 기반으로 하여 설계되었고, 객체지향 언어가 제공해 주어야 하는 추상화(Abstraction), 상속(Inheritance), 그리고 다형성(Polymorphism) 등과 같은 특성들을 모두 완벽하게 제공해 주고 있습니다. 또한, 자바의 이러한 객체지향적 특성은 분산 환경, 클라이언트/서버 기반 시스템이 갖는 요구사항도 만족시켜 줄 수 있습니다.
         자바는 서로 다른 이종(Heterogeneous)의 네트워크 환경에서 분산 되어 실행될 수 있도록 설계되었습니다. 이와 같은 환경에서는 응용 프로그램들이 다양한 하드웨어 아키텍쳐 위에서 실행될 수 있어야만 합니다. 이를 위해 자바 컴파일러는 이종의 하드웨어 및 소프트웨어 플랫폼에서 효율적으로 코드를 전송하기 위해 설계된 아키텍쳐 중립적인 중간 코드인 바이트코드를 생성합니다. 이는 동일한 자바 프로그램의 자바 바이트코드가 자바 가상머신이 설치되어 있는 어떤 플랫폼에서도 실행될 수 있도록 하는 것입니다. 또한, 자바는 기본 언어 정의를 엄격하게 함으로써 효율적인 이식성을 제공해 주고 있습니다. 예를 들어, int 형과 같은 기본 데이터형의 크기를 플랫폼과 무관하게 일정하게 하고, 연산자의 기능을 확실하게 규정하고 있습니다. C 언어를 이용하여 int 형을 선언할 때, 도스에서는 16비트, 윈도우 95/98/NT 등 32비트 운영 체제 환경에서는 32비트, 유닉스에서는 32비트 등 그 플랫폼에 따라 크기가 다르지만, 자바에서는 플랫폼에 상관없이 32비트로 고정되도록 하였습니다. 이는 자바 프로그램이 실행되는 환경이 자바 가상머신으로 동일하기 때문입니다.
          * 인터프리터(Interpreter) 방식이다:
         자바 언어로 작성된 자바 프로그램을 중간언어 형태인 자바 바이트코드로 컴파일하고, 이렇게 생성된 자바 바이트코드를 자바 인터프리터가 해석함으로써, 자바 인터프리터와 런타임 시스템이 이식(porting)된 모든 플랫폼에서 자바 바이트코드를 직접 실행할 수 있습니다.
          * 자바 가상머신(Java Virtual Machine; Java VM):
          public static void main(String[] args) {
          System.out.println("Hello World!");
  • JavaHTMLParsing/2011년프로젝트 . . . . 8 matches
          import java.io.InputStream;
          import java.io.InputStreamReader;
          public static void main(String args[]){
          InputStream is;//URL접속에서 내용을 읽기위한 Stream
          InputStreamReader isr;
          //내용을 읽어오기위한 InputStream객체를 생성한다..
          is = connection.getInputStream();
          isr = new InputStreamReader(is);
          String buf = null;
          buf = br.readLine();
          System.out.println(buf);
          System.err.println("잘못된 URL입니다. 사용법 : java URLConn http://hostname/path]");
          System.err.println("IOException " + ioe);
          ioe.printStackTrace();
  • 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];
  • LIB_4 . . . . 8 matches
         #if !defined(LIB_STACK_CPP)
         #define LIB_STACK_CPP
         void LIB_STACK_INIT (void (*task)(void),INT16U * Stack)
          *Stack-- = (INT16U)FP_SEG(task);
          *Stack-- = (INT16U)FP_OFF(task);
          *Stack-- = (INT16U)0x0202; // Flag Register
          *Stack-- = (INT16U)FP_SEG(task);
          *Stack-- = (INT16U)FP_OFF(task);
          *Stack-- = (INT16U)0xAAAA;// AX
          *Stack-- = (INT16U)0xBBBB;// BX
          *Stack-- = (INT16U)0xCCCC;// CX
          *Stack-- = (INT16U)0xDDDD;// DX
          *Stack-- = (INT16U)0xEEEE;// ES
          *Stack-- = (INT16U)0x0000;// SI
          *Stack-- = (INT16U)0x0000;// DI
          *Stack-- = (INT16U)0xFFFF;// BP
         INT16U LIB_STACK_SIZE (INT16U *Stack)
          int size = 0;
          for (int i = 0 ; i<256 ; i ++){
         #if !defined(LIB_STRU)
  • LUA_1 . . . . 8 matches
         루아의 공식 사이트는 http://www.lua.org/ 입니다. 하지막 MS-Windows 환경에서 루아를 시작하고 싶으시다면 http://code.google.com/p/luaforwindows/ 에서 루아 프로그램을 다운 받으실 수 있습니다. 우선 MS-Windows 환경이라고 가정하고 앞서 말한 사이트의 Download 페이지에서 LuaForWindows_v5.1.4-45.exe 를 다운 받습니다. 나중에는 버전명이 바뀐 바이너리 파일이겠죠. 이 파일을 다운로드 받아서 설치하면 시작>Programs>Lua>Lua (Command Line) 를 찾아 보실 수 있습니다. 해당 프로그램을 실행하면 Command 화면에 ">" 와 같은 입력 프롬프트를 확인하실 수 있습니다. 그럼 간단히 Hello world를 출력해 볼까요?
         >print "Hello World!" 를 입력하시면
          왜 루아를 써야 할까요? Python 도 있고 Ruby, Perl 도 있는데 굳이 루아를 배워야 할 이유가 있을까요? 넵! 있습니다. 루아는 루아 나름의 매력이 있습니다. 그 중 첫째는 작다는 것입니다. 네 매우 작아요. 소스 코드가 5.1.4 버전이 216679 바이트 밖이 하지 않습니다. 이렇게 작으니까 배포할 때 굳이 고민하지 않아도 되겠죠. 그리고 이렇게 작기 때문에 embedded 환경에서도 사용 될 수 있습니다. eLuaProject가 그 중 하나입니다. 그리고 Lua는 Pure C 코드로 Porting 하기도 용의 합니다.
          그리고 세번째는 많은 게임의 스크립트 언어로 검증이 되었다는 점입니다. 대표적으로 World of Warcraft(WOW)가 있겠죠. 많은 사람들이 루아를 WOW을 통해서 알게 되었죠. 간략하게 루아의 특징에 대해서 알아 보았습니다. 좀 더 자세한 루아의 역사는 http://en.wikipedia.org/wiki/Lua_(programming_language) 에서 확인할 수 있습니다. 한글 위키 페이지가 내용이 좀 부족하네요.
  • LightMoreLight/문보창 . . . . 8 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         int main()
          unsigned int n;
          while (cin >> n)
          if (int(sqrt(n)) == double(sqrt(n)))
  • 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, ["문제은행"]
  • MFC/Socket . . . . 8 matches
          int id;
          void Init(CWnd *pWnd, int nPortNum);
          virtual void OnAccept(int nErrorCode);
         void CServerSocket::Init(CWnd *pWnd, int nPortNum)
          m_serverSocket.Init(this,SERVERPORT); //서버를 생성한다.
          // init socket
          m_dataSocket->Init(this); //초기화
          * m_dataSocket.Init(this);
          int err = GetLastError();
          m_dataSocket->Init(this);
          data.m_index = 0;
         서버에 MFC의 CSocket을 쓰는 것은 그리 바람직해보이지 않네요. 상대적으로 사용하기 좀 어렵겠지만 CAsyncSocket을 써보도록 하세요. (개인적으로는 이것도 별로 추천하지 않습니다. 하지만 MSN이나 네이트온처럼 대형 메신저를 만드는게 아니니까 CAsyncSocket으로도 충분해 보이네요.) 기회가 된다면 MFC Socket말고 Winsock으로 코딩해보세요. --[인수]
  • Map/조재화 . . . . 8 matches
         #include<iostream>
         #include<string>
         #include<map>
         using namespace std;
         void main()
          string text = "ad md$ =i@@9z xy*@ -9z";
          for(int i=0; i<text.size(); i++)
  • Map연습문제/조재화 . . . . 8 matches
         #include<iostream>
         #include<string>
         #include<map>
         using namespace std;
         void main()
          string temp = "wjgydlrtyffworxjbdzyrsybfwlrobffylryjbkyjrtbdcyyrvmbjlsrkugjglrmdcgdarjbjyftr" ;
          for(int i=0; i<temp.size(); i++)
  • Metaphor . . . . 8 matches
         원문 : http://www.extremeprogramming.org/rules/metaphor.html
         Choose a system metaphor to keep the team on the same page by naming classes and methods consistently. What you name your objects is very important for understanding the overall design of the system and code reuse as well. Being able to guess at what something might be named if it already existed and being right is a real time saver. Choose a system of names for your objects that everyone can relate to without specific, hard to earn knowledge about the system. For example the Chrysler payroll system was built as a production line. At Ford car sales were structured as a bill of materials. There is also a metaphor known as the naive metaphor which is based on your domain itself. But don't choose the naive metaphor unless it is simple enough.
  • Microsoft . . . . 8 matches
         {{|Microsoft Corporation (NASDAQ: MSFT) is the world's largest software company, with over 50,000 employees in various countries as of May 2004. Founded in 1975 by Bill Gates and Paul Allen, it is headquartered in Redmond, Washington, USA. Microsoft develops, manufactures, licenses, and supports a wide range of software products for various computing devices. Its most popular products are the Microsoft Windows operating system and Microsoft Office families of products, each of which has achieved near ubiquity in the desktop computer market.|}}
  • OpenGL_Beginner . . . . 8 matches
          * 참여인 : 류상민(99,["neocoin"])
          * 교재 : OpenGL Game programming
          * 2.04 : Chapter 5장 예제 작성 [http://zeropage.org/~neocoin/Robot_2002.02.04.exe Robot]
          - 필자는 자신이 제작한 상업용 3D 설계 툴의 소스를 가지고 오고, 라이선스 문제와, 자신이 생각하는 개선점을 고쳐서 다시 작성했다고 한다. 인상 깊었다. 이해하기도 쉽고, 구조적 프로그래밍을 OOP로 옮긴다는 관점에 도움이 되었다. STL 비슷하게 linked list글 구현해 두었고, MEC++의 지식이 도움되었다. MEC++가 허송세월을 보낸것은 아닌 느낌이다. Java3D의 강좌에서도 Java3D의 프레임웍이 좋다고 하는데, 역시 살피는 과정에서 써야 겠다. 문서화 중
          * 시간이 되면 Linux상에서 Mesa3D 구현에 관해서 알아 보자
          * Computer Graphics using OpenGL
          * OpenGL Programming Guide 3th
          * Game Programming Gems (한)
  • 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 ) || 쌍곡선의 사인값을 계산한다 ||
  • PHP . . . . 8 matches
          PHP약어를 풀어쓰면 PHP: Hypertext Preprocessor입니다. 약어의 첫번째 글자가 약어이기 때문에 많은 사람에게 혼란을 줍니다. 이와 같은 약어를 재귀적 약어라고 부릅니다. 궁금하신 분은 Free On-Line Dictionary of Computing사이트를 방문해보세요.
          - 비슷한 예로 GNU(GNU's Not Unix) 를 들 수 있을까요..? ^.^a - [임인택]
         || [PHP Programming] ||
          * [PHPStudy2005/RWAPMInstall]
          * [PHP Programming/HtmlTag]
          * [zyint/php]
          * [http://www.phpschool.com/v2/index.html PHP School]
          * [http://ko.blog.influx.kr/2012/04/php.html PHP: 잘못된 디자인의 프랙탈]
  • ParametricPolymorphism . . . . 8 matches
         getCar(:String):Car 라는 메소드를 생각해보자.
         public Car getCar(String clientType)
         따라서 SportCar, LuxuryCar의 인스턴스(instance)가 Car객체 변수인 sportCar, luxuryCar에 대입이 가능하다.
         sportCar.startTurboEngine();
         sportCar.startTurboEngine();
         sportCar.startTurboEngine();
         Pair<Integer> p;
         p = new Pair<Integer>(new Integer(0), new Integer(1));
         Integer x = p.getFirstObject(p);
         [AcceleratedC++/Chapter13], [http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200505230005 임백준의 소프트웨어 산책/임배준 지음], WikiPedia:Christopher_Strachey
  • ProgrammingLanguageClass/Exam2002_1 . . . . 8 matches
          * Compilation 과 pure interpretion 을 비교하시오.
          * 다음과 같은 문법이 있다. Top-Down Parsing 의 가능 또는 불가능함을 증명하시오
          * Floating Point 변수의 경우 해당 값에 대해 근사값만을 표현한다. 그 이유는 무엇인가?
          * 다른 Primitive Data Type 을 이용, 정확하게 Floating Point 를 구현할 방법이 있을까? (자신의 의견을 적으시오)
         나의 경우는 1. string (char array) 으로 애뮬레이션 한다. (단점도 썼음. 계산뒤의 메모리할당 문제와 실제 산술연산 계산을 위한 형변환시 cost가 많이 든다 등등) 2. long integer 2 개로 앞의 32 bit 는 유효숫자를, 뒤의 32bit 는 지수를 표현한다. (2^-31 ~ 2^31 * 2^-31 ~ 2^31 까지 표현된다라고 썼는데, 실제론 저 숫자들을 다 표현할 수가 없겠군. 2^31 1024 * 1024 * 1024 * 2 니까 약 10억. 즉, 자리수 표현도 10억 이후부터는 precision 유효숫자를 다 쓸수 없을테니) 아.. 풀고나니 잘못생각했군. 흑; --석천
  • ProgrammingPearls/Column1 . . . . 8 matches
         == Cracking the oysters ==
         for b in bits:
         for e in inputFile:
         for b in bits:
          print b
         === Principles ===
         [ProgrammingPearls]
  • ProjectPrometheus/BugReport . . . . 8 matches
          * notice변경 사항에 관하여, DB에 넣는 방향으로 바꾸던지(게시판을 하던지), file path 비의존적으로 바꾸어야 한다. 현재 file path문제로 직접 고쳐주어야 하는 상황이고, ant 로 배포시 해당 file의 쓰기 읽기 권한 문제로 문제가 발생한다. --["neocoin"]
          * ant build를 상민, 석천 두 계정 사이에 아무런 차이 없이 가능하도록 조정할수 있어야 한다. 문제는 내 계정이 이상하다는것 --["neocoin"]
          - 자주 바뀌는 부분에 대해서 Page -> Object Mapping Code Generator 를 만들어내거나, 저 부분에 대해서는 텍스트 화일로 뺌 으로서 일종의 스크립트화 시키는 방법(컴파일을 하지 않아도 되니까), 화일로 따로 빼내는 방법 등을 생각해볼 수 있을 것 같다.
          - 매번 FORM 으로 넘어가는 변수들이 바뀔때 HTML 내 FORM 변수들을 찾거나 WEB DEBUG 등으로 프로토콜 분석을 하는데, 이를 자동화 할 수 있을 것 같다. <FORM> 태그, <INPUT> 태그 부분만 추출해내고 그 변수값 종류, 변수 이름을 얻어내는 코드만 작성해도, 반복작업을 줄일 수 있을듯. --["1002"]
          * 동감, 해당 프로토콜을 분석해서 property로 만들어 버리는 작업을 수행해야 할것 같군. 이작업을 한달에 한번 수행시키도록 해야 할까 ;; --["neocoin"]
          * 도서관이 저번주에 뭐 바꾼답시고 삽질중이라고 있다고 공지가 있었거든. 난 내부 DB 작업만 중단 하는것인줄 알았는데, UI부분이 약간 변경된듯 하다. 어이가 없어서.. My Page 눌러보면 공지 해놓았으니 참고--["neocoin"]
          * {{{~cpp DBConnectoinManager}}} 관련 주의 사항 http://javaservice.net/~java/bbs/read.cgi?m=dbms&b=jdbc&c=r_p&n=1019574430&p=2&s=d#1019574430
          * 다른 Conntion Pooling 용으로 http://www.bitmechanic.com/ 를 생각할수 있으며, 한글 자료는 http://javaservice.net/~java/bbs/read.cgi?m=dbms&b=jdbc&c=r_p&n=1034293525&p=1&s=d#1034293525 에 소개되어 있다.
          * 모든 connection Pooling 관리자에게 이런 문제사항은 노출되어 있으며, bitmechanic 도 예외는 아니다. ;;
  • ProjectSemiPhotoshop/Journey . . . . 8 matches
          * 한일 : 1차 integration
          * 한일 : 프레임웍 작성 , Bmp 로딩 구현, Sampling 구현, 팀원간 소스 이해, 시간예측, 다음 일정 계획
          * 내용 : eXtreme Programming을 실전 경험에서 응용해 보는 것이 어떨가 싶다. : 이 문제에 관해서는 수요일에 파일 구조 시간에 만나서 이야기 하도록 하자. 내 기본 생각은 Xp Pratice 들 중 골라서 적용하기에 힘들어서 못할것으로 생각하는데, 뭐, 만나서 이야기 하면 타결점을 찾겠지. ExtremeBear 도 이 숙제 때문에 중단 상태인데 --["상민"]
          * 아직은 이해하기도 힘들고, 어려운 프로그래밍이지만 앞으로 열심히 해서 세미 포토샵때는 정말 Pare Programming이 될 수 있도록 열심히 공부할께~ -- 현민
          * 현민이와 5분 단위의 PairProgramming 시도하였다. 10.24 때의 모임 보다 훨씬 성과가 있었다고 자평한다. 내 자신이 배우고 깨달은 것이 너무 많아, 정리하기가 힘들다. 그래서 현민이에게 미안한 느낌 마져 약간 든다.
          * 프로그래밍 자체가 약간 게임과 같은 느낌이 좋왔고, 현민이가 어땠는지 궁금하다. 해깔리기만 하지 않을까? --["neocoin"]
          * ["STL"] 관련 서적은 네가 가진게 없을꺼라고 생각한다. 학교에서도 가르쳐주지 않는 부분이라. 스스로 익혀야 한다. 너무나 단 과실이라, 꼭 보기를 권한다. 관련 내용은 ["STL"] 에서 ["STL/vector"],["STL/vector/CookBook"]를 참고하면 될꺼다. --["neocoin"]
          * 현민이에게 야속한 말일지 모르지만, 솔찍히 약간 당황스러웠다. ''무엇을 해야하는가?'' 에서 출발하고 싶었지만, 불행히 ''무엇을 배워야 하는가?'' 로 출발과 끝을 마무리 했다. 역시 ''문제를 인식''하는 단계가 중요함을 느낀다. --["neocoin"]
  • RabbitHunt/김태진 . . . . 8 matches
         #include <stdio.h>
         int main()
          int N,i,j,k=0;
          int c[200][200]={0}, C=-1;
          int b[2][200]={0};
          if(b[0][i]==b[0][j]) {C++; continue;}
          printf("%d",C+1);
  • RandomWalk/신진영 . . . . 8 matches
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          int i=0, j=0, row=0, col=0;
          int count=1, direction=0, walk=0;
          int land[12][12];
  • RegressionTesting . . . . 8 matches
         RegressionTesting 는 SoftwareTesting 의 한 방법으로, 이미 해결된 문제들이 재출현 여부에 대하여 검사 하는것
         원문 : http://www.wikipedia.org/wiki/Regression_testing
         RegressionTesting 는 SoftwareTesting 의 한 방법으로, 테스터는 이미 해결된 문제들이 재출현 여부에 대하여 검사 한다.
         그래서 대다수의 소프트웨어 개발 시점 중에는 버그를 고쳤을때 훌륭한 방법인가, 버그가 재작성되거나, 버그가 프로그램상의 하부 변화 이후에 규칙적으로 실행되는지 '''드러내는 테스트'''에 대하여 훌륭한 실행 방법들을 제시한다. 몇몇 프로젝트(내 생각에 Mozilla경우, Eclipse도 같은 시스템)는 자동화된 시스템으로 자동적으로 모든 RegressionTesting들을 규칙적으로(보통 하루나 주말단위로) 실행하고, 조사하도록 세팅되어 있다.
         RegressionTesting는 ExtremeProgramming 소프트웨어 개발 방법론의 필수적인 부분이다. 소프트웨어 개발 주기에서 매번 마다 모든 소프트웨어 패키지들에 대하여 광범위하고, 반복적이고, 자동화된 전체 소프트웨어에 테스트를 통하여 그러한 디자인 문서들이 교체된다.
  • ResponsibilityDrivenDesign . . . . 8 matches
         Object 란 단순히 logic 과 data 묶음 이상이다. Object 는 service-provider 이며, information holder 이며, structurer 이며, coordinator 이며, controller 이며, 바깥 세상을 위한 interfacer 이다. 각각의 Object 들은 자신이 맡은 부분에 대해 알며, 역할을 해 내야 한다. 이러한 ResponsibilityDrivenDesign 은 디자인에 대한 유연한 접근을 가능하게 한다. 다른 디자인 방법의 경우 로직과 데이터를 각각 따로 촛점을 맞추게끔 하였다. 이러한 접근은 자칫 나무만 보고 숲을 보지 못하는 실수를 저지르게 한다. RDD는 디자인과 구현, 그리고 책임들에 대한 재디자인에 대한 실천적 조언을 제공한다.
          * RDD merges communication paths between classes, thus reducing the coupling between classes.
          * Generates DesignPatterns. ChainofResponsibilityPattern, MediatorPattern, CommandPattern and TemplateMethodPattern are all generated by the method.
          * Seminar:ResponsibilityDrivenDesign
          * Wirfs-Brock's DesigningObjectOrientedSoftware (["중앙도서관"]에 있음)
  • 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()
  • ReverseAndAdd/민경 . . . . 8 matches
         k = input('몇개입력할거니?')
         n = [input('입력해보아') for i in range(k)]
         for i in range(k):
          for j in range(1000):
          if n[i]==int(s):
          print j,n[i]
          n[i]=n[i]+int(s)
  • SecurityNeeds . . . . 8 matches
         a non-firewalled wiki but only a certain group should have access. This may
         get around. Anyone know of a wiki that restricts access in such a way?
          Yes, see Wiki:OrgPatterns which runs in Wiki:FishBowl mode. - ''This may be exactly what I was looking for... thanks!!!''
         ''Why not use webserver passwords to restrict access? Or do you wish to restrict '''editing''' by a restricted group? -- AnonymousCoward ;)''
         Even restricting the editing could be done easily using the security the webserver provides.
  • 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/조현태] ||
  • SisterSites . . . . 8 matches
         Seminar:SisterSites
          * MoinMoin 디렉토리에서 화일들을 복사.
          * sisters.py 에서 WIKINAME_DIR 수정
          * MoinMoin/wikiutil.py 수정
          * MoinMoin/config.py 에 변수 두개 추가.
          * sister_site 변수들 관련. moin_config.py 에서 수정가능하도록. (왜 안되는 것이란 말이냐.. -_-;)
  • 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);
  • SoftwareCraftsmanship . . . . 8 matches
         또 다른 모습의 SoftwareEngineering. ProgrammersAtWork 에서도 인터뷰 중 프로그래머에게 자주 물어보는 질문중 하나인 '소프트웨어개발은 공학입니까? 예술입니까?'. 기존의 거대한 메타포였던 SoftwareEngineering 에 대한 새로운 자리잡아주기. 두가지 요소의 접경지대에서의 대안적 교육방법으로서의 ApprenticeShip.
         인터넷이라는 정보의 바다속 시대에서 Offline 모임의 존재가치를 찾을 수 있을것이라는 생각.
          * wiki:Wiki:SoftwareCraftsmanship , wiki:Wiki:QuestionsAboutSoftwareCraftsmanshipBook - OriginalWiki 에서의 이야기들.
          * wiki:NoSmok:SituatedLearning
          * PairProgramming
  • TddRecursiveDescentParsing . . . . 8 matches
         RecursiveDescentParsing 을 TFP 로 시도를 해보려고 하는데.. Parser부분에 대한 test 의 결과를 얻기 위해서는 AST를 얻도록 해야 하고, AST를 조금씩 구축해나가는 방향으로 디자인유도중인데. 이 아이디어 생각하려는데 1시간을 소비했다. 흡;
          ''먼저 "1"을 넣으면 "1"을 리턴하는 프로그램을 만듭니다. 다음 "314"를 넣으면 "314"를 리턴하게 합니다. 다음엔, "1 + 0"을 넣으면 "1"을 리턴하게 합니다. 다음, "1 + 314"를 넣으면 "315"를 리턴합니다. 다음, "1 + 2 + 314"를 하면 "317"을 리턴합니다. 다음, "1 - 0"을 하면 "1"을 리턴합니다. 다음, "1 - 1"을 하면 "0"을 리턴합니다. 다음, "314 - 1 + 2"를 하면 "315"를 리턴합니다. 다음, "- 1"을 넣으면 "-1"을 리턴합니다. 다음, "( 1 )"을 넣으면 "1"을 리턴합니다. ...... AST는 아직 생각하지 말고 당장 현재의 테스트를 패스하게 만드는데 필요한 것만 만들어 나가고 OAOO를 지키면서(테스트코드와 시스템코드 사이, 그리고 시스템 코드 간) 리팩토링을 지속적으로 합니다 -- 그렇다고 파싱 이론을 전혀 이용하지 말라는 말은 아니고 YAGNI를 명심하라는 것입니다. 그러면 어느 누가 봐도 훌륭한 디자인의 파서를 만들 수 있습니다. DoTheSimplestThingThatCouldPossiblyWork. --김창준''
         대강 다음과 같은 식으로 접근했고요. 테스트코드 2-3줄쓰고 파서 메인코드 작성하고 하는 식으로 접근했습니다. (["Refactoring"] 을 하다보면 FactoryMethodPattern 과 CompositePattern 이 적용될 수 있을 것 같은데, 아직은 일단.)
          parser.setStringStream("a = b+c")
          self.assertEquals(token.tokenString, 'a')
          self.assertEquals(token.tokenString, '=')
          self.assertEquals(token.tokenString,'b')
          self.assertEquals(token.tokenString, '+')
  • TheJavaMan . . . . 8 matches
          * [http://java.sun.com/docs/books/tutorial/java/index.html The Java Tutorial]
          * [Java], [Eclipse], [JUnit], TestDrivenDevelopment, TestFirstProgramming
          * [http://www.javanuri.com/lecture/mainLecture.jsp 자바누리]
         [http://www.yes24.com/home/pd.asp?SID=G4JaiuIvSpuwzia6CMCpwdLN6ycFuMHPjStWSgEBltChZEnIOvC8UAlza&AK=376933&TABID=1 Thinking in Java]
         [http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200312300024 JAVA HOW TO PROGRAM (<- 2학년때 교재, 번역5판도 나왔네)]
  • TheTrip/이승한 . . . . 8 matches
         #include <iostream>
         using namespace std;
         void main(){
          int travelN = 0; //여행 수
          int i, tempIntAver;;
          double tempInput;
          i=tempInput=0; //임시변수 초기화
          cin>>stuN; //처음으로 학생수를 입력받는다.
          cin>>tempInput;
          stu[i] = tempInput; //각학생의 경비정보를 저장한다.
          sum += tempInput; //합을 누적합계한다.
          tempIntAver = (sum * 100) / stuN; //센트단위까지만 계산하기 위한 조치.
          aver = tempIntAver/100;
          cin>>stuN; // 다음 여행의 학생수를 입력받는다. 0이라면 루프가 종료된다.
  • 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가지로 둔다면?
  • WERTYU/1002 . . . . 8 matches
          return dicStrs[dicStrs.find(c)-1]
          return ''.join([left(each) for each in list(s)])
          >>> [left(each) for each in list("O S")]
          'I AM FINE TODAY.'
         def main():
          print wertyu(raw_input())
         if __name__=="__main__":
  • WorldCupNoise/정진경 . . . . 8 matches
         #include <stdio.h>
         int main()
          int Table[50][2];
          int N, n;
          int k;
          int i, j;
          printf("Scenario #%d:\n%d\n\n", n, Table[k][0]+Table[k][1]);
  • 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");
  • Yggdrasil/파스칼의삼각형 . . . . 8 matches
         #include<iostream.h>
         int main()
          int i, j; // for 문을 돌리는데 필요한 수
          int select; // 입력 받을 수
          int temp[10]={1,};
          cin>>select;
          int sum[10]={0,};
  • [Lovely]boy^_^/Temp . . . . 8 matches
         #include <iostream>
         using namespace std;
         inline void SAFE_DELETE(T*& arg)
         int main()
          int* i = new int(5);
  • bitblt로 투명배경 구현하기 . . . . 8 matches
         hdc_original
         SetBkColor(hdc_original, RGB(255,0,255) );
         BitBlt(hdc_mask,0,0,size_x,size_y,hdc_original,0,0,SRCCOPY);
         SetBkColor(hdc_original, RGB(0,0,0));
         SetTextColor(hdc_original, RGB(255,255,255));
         BitBlt(hdc_original,0,0,size_x,size_y,hdc_mask,0,0,SRCAND);
         BitBlt(hdc_background,0,0,size_x,size_y,hdc_original,0,0,SRCPAINT);
         귀차니즘을 한방에 날려줄 #include <부지런함> 이 가능한 전처리기.. 어디없나? 휴..
  • canvas . . . . 8 matches
         #include <list>
         #include <iostream>
         #include <vector>
         using namespace std;
          for (list<Shape*>::iterator it=m_shape.begin();it!=m_shape.end();it++){
          for (list<Shape*>::iterator it=m_shape.begin(); it!=m_shape.end();it++){
          for(vector<Shape*>::iterator it=canvas.begin(); it!=canvas.end();++it)
         void main()
  • 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
         = Setting Up SDL =
          * [http://lazyfoo.net/SDL_tutorials/lesson01/windows/msvsnet0508e/index.php Setting_Up_SDL]
         #include "SDL.h"
         int main(int argc,char **argv)
          SDL_Init(SDL_INIT_EVERYTHING);
  • 구구단/김상윤 . . . . 8 matches
         #include<iostream>
         using namespace std;
         int main()
          for(int i=1; i<10 ; i++)
          for(int j=2; j<6; j++)
          for(int k=1; k<10 ; k++)
          for(int l=6; l<10; l++)
  • 구구단/이태양 . . . . 8 matches
         #include<stdio.h>
         void main(){
          int dan,i;
          printf("%d * %d = %d \t",dan,i,dan*i);
          printf("\n");
          printf("\n");
          printf("%d * %d = %d \t",dan,i,dan*i);
          printf("\n");
  • 구조체 파일 입출력 . . . . 8 matches
         #include <iostream>
         using namespace std;
          int age;
         int main()
          cout << "Input name : " ;
          cin >> p.name;
          cout << endl << "Input age : ";
          cin >> p.age;
          cout << endl << "Input phone number : " ;
          cin >> p.phone;
  • 기억 . . . . 8 matches
          1. Atkinson-Shiffrin 기억모형
          Upload:Atkinson-Shiffrin기억모형.gif
          감각 기억의 존재와 무제한 성에 대한 실험 ( Speling, 1960)
          Upload:감각기억_Speling의_실험.gif
          * chunking(청킹) 은 자주쓰는 관용어구 같이 유의미 한 단위의 한 묶음을 이야기 하며 magic number를 이용해 기억력을 비약적으로 증가 시킨다. tree구조의 책 구성이나, 마인드 맵에서 발견할수 있다.
          1. 연속적 주사( successive scanning ) 로 인출 한다.(순차적 인출)
  • 논문검색 . . . . 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]
  • 데블스캠프2003/ToyProblems/Random . . . . 8 matches
         #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까지의 숫자가 들어갈 수 있고
  • 데블스캠프2006/월요일/연습문제/for/주소영 . . . . 8 matches
         #include <iostream.h>
         void main()
          int i, j, n;
          cin >> n;
         #include <iostream.h>
         void main()
          int i,j,n;
          cin >> n;
  • 데블스캠프2006/월요일/연습문제/if-else/김건영 . . . . 8 matches
         #include<iostream>
         using namespace std;
         int main()
          int value;
          cin >> value;
          for(int i = 3; i <= value; i = i + 3)
          for(int j = 5; j <= value; j = j + 5)
  • 데블스캠프2006/월요일/연습문제/if-else/김준석 . . . . 8 matches
         #include <iostream.h>
         void main(){
          int i,j,count =0;
          cin >> i;
         #include <iostream.h>
         void main(){
          int j;
          cin >> i;
  • 데블스캠프2006/월요일/연습문제/if-else/윤영준 . . . . 8 matches
         #include<iostream.h>
         int main(void)
          int i, j;
          cin >> i;
         #include <iostream.h>
         void main(void)
          cin >> i;
  • 데블스캠프2006/월요일/연습문제/if-else/정승희 . . . . 8 matches
         #include <iostream>
         using namespace std;
         int main()
          int n;
          cin >> n;
          for(int i=1;i<=n;i++)
          for(int j=1;j<=n;j++)
  • 데블스캠프2006/월요일/연습문제/switch/성우용 . . . . 8 matches
         #include <iostream>
         using namespace std;
         int main()
          int i=0;
          int n;
          int A=0,B=0,C=0,D=0,F=0;
          cin >> n;
  • 데블스캠프2006/월요일/연습문제/기타문제/윤성준 . . . . 8 matches
         #include <iostream>
         using namespace std;
         int main(void)
          int num;
          cin >> num;
          for (int i = 1; i <= num; i++) {
          if (i == 5) continue;
  • 데블스캠프2006/월요일/함수/문제풀이/정승희 . . . . 8 matches
         #include<time.h>
         #include <iostream>
         using namespace std;
         int a();
         int main()
         int a()
          int i = rand() % 6 + 1;
  • 데블스캠프2006/월요일/함수/문제풀이/주소영 . . . . 8 matches
         #include<iostream>
         using namespace std;
         #include<time.h>
         #include <stdlib.h>
         int asa();
         int main()
         int asa()
  • 데블스캠프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]
  • 데블스캠프2006/화요일/pointer/문제2/김준석 . . . . 8 matches
         #include<iostream>
         using namespace std;
         void reverse(char a[],int lengh){
          for(int i=0; i<lengh; i++)
         void main(){
          int i=0,lengh=0;
          cin >> a;
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프2006/화요일/pointer/문제4/김준석 . . . . 8 matches
         #include<iostream>
         using namespace std;
         bool reverse(char a[],int lengh){
          for(int i=0; i<lengh; i++)
         void main(){
          int i=0,lengh=0;
          cin >> a;
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프2006/화요일/pointer/문제4/정승희 . . . . 8 matches
         #include<iostream>
         #include<cstring>//문자열을 비교하는 함수(strcmp)를 포함
         using namespace std;
         void main()
          cin>>buf;
          int length=strlen(buf);//길이가 저장됨.
          for(int i=(length-1);i>=0;i--)
  • 데블스캠프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>';
  • 마름모출력/zyint . . . . 8 matches
         # -*- coding: cp949 -*-
         if __name__ == '__main__':
          pattern = raw_input('패턴 입력 : ')
          size = input('변의 길이 : ')
          for i in range(size+1):
          print spc*(size-i) + pattern*(2*i-1)
          for i in range(size-1,0,-1):
          print spc*(size-i) + pattern*(2*i-1)
  • 마방진/김아영 . . . . 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++)
  • 마방진/변준원 . . . . 8 matches
         #include<iostream>
         #include<vector>
         using namespace std;
         int main()
          int size,i,j;
          cin >> size;
          vector <vector <int> > mabang;
  • 몸짱프로젝트/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
         #include <iostream.h>
         inline void print_loop(char * str, int iter) { for (int i=0; i < iter; i++) cout << str; }
         void main()
          print_loop("CAUCSE LOVE.\n", 5);
  • 삼각형매크로/임다찬 . . . . 8 matches
         #include <stdio.h>
         #define tri(width,height) width*height/2.0
         int main(void){
          int wi,he;
          printf("밑변 입력 : "); scanf("%d",&wi);
          printf("높이 입력 : "); scanf("%d",&he);
          printf("삼각형의 넓이는 : %f\n",tri(wi,he));
  • 새싹교실/2011/쉬운것같지만쉬운반/2011.5.3 . . . . 8 matches
          1. Programing Language가 왜 생겨났는가?
          7. printf함수는 어떤 원리로 작동할까?
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          9. 32비트 컴퓨터에서는 기본 정수형(int)에 대해 32비트의 메모리 공간을 할당해 주는 데에 비해서 64비트 컴퓨터에서는 64비트의 메모리 공간을 할당해 주기 때문에 자료 크기가 달라지고 MSB의 위치가 달라져서 프로그램이 오작동하거나 실행할 수 없게 된다.
          1. Programing Language가 왜 생겨났는가?
          7. printf함수는 어떤 원리로 작동할까?
  • 새싹교실/2011/씨언어발전/3회차 . . . . 8 matches
         #include <stdio.h>
         int main()
          int i,j;
          for ( PUT YOU CODE HERE ) printf(" ");
          for ( PUT YOU CODE HERE ) printf("*");
          printf("\n");
         main 도 함수의 일종, 같은 작업을 여러번 반복해서 쓰지 않고 함수를 이용해 쓸 수 있다.
  • 소수구하기/영동 . . . . 8 matches
         #include<iostream>
         #include <ctime>
         using namespace std;
         int main()
          int i;
          int j;
          int count;
  • 송지원 . . . . 8 matches
          * instagram : enoch.g1
          * [Clean Code With Pair Programming]
          * [EnglishSpeaking/2011년스터디]
          * [데블스캠프2011/둘째날/Machine-Learning/NaiveBayesClassifier/송지원]
          * [데블스캠프2011/셋째날/String만들기/송지원]
          * [BeginningHaskellLanguage]
  • 수/마름모출력 . . . . 8 matches
         main(){
         int i, j, num, pat;
          printf("\n패턴? ");
          printf("\n변의길이? ");
          printf(" ");
          printf("%c",pat);
          printf(" ");
          printf("%c",pat);
  • 수학의정석 . . . . 8 matches
         #include <time>
         int main()
         int time_in; // 초기 시작 시간.
         time_in = clock(); // 초기 시작 시간을 입력한다.
         printf("CPU CLOCKS = %d\n", clock() - time_in); // 끝났을때 시간 - 초기 시작시간 = 프로그램 실행 시간
  • 시간맞추기/조현태 . . . . 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
         http://www.aladdin.co.kr/Cover/8970752366_1.gif
         소설이 먼저였지만, 개인적으로 Webber 와 Sarah 의 노래를 엄청나게 좋아하는 관계로. 소설을 읽는 내내 머릿속에서 Think of Me, The Music of Night, Wishing you were somehow here again 가 배경음악으로 깔리었다.
         뮤지컬의 이미지때문인지 (한번도 안본 뮤지컬에 대해 이미지를 떠올리는것도 우스운 일이다. OST와 Sarah 의 뮤직비디오는 많이 보긴 했지만) 크리스틴을 볼때마다 사라아주머니의 젊었을때의 사진을 떠올렸고, Phantom 이 등장할때엔 그 Main Theme (Phantom 의 그 멋진 웃음소리와도 같게 들리는...) 를 떠올렸다.
         http://www.westegg.com/unmaintained/alw/webber.jpg [[BR]]
          * EBS 에선가 Joseph and the Amazing Technicolor Dreamcoat를 방영해줬던 기억이 난다. 성경에서의 요셉이야기를 이렇게 표현할 수 있을까; 형 왈 '아마 성경을 이렇게 가르친다면 교회에서 조는 사람들 없을꺼야;' 어떻게 보면 '아아 꿈많고 성공한 사람. 우리도 요셉처럼 성공하려면 꿈을 가져야해;' 이런식이였지만, 아주 신선했던 기억이 난다.
  • 임베디드방향과가능성/정보 . . . . 8 matches
         예전부터 임베디드는 결국 pc의 재탕이다..라고 하셨는데 물론 100% 맞는 말씀입니다. 20년~15년 전의 기술, 빌게이츠가 dos를 가지고 pc산업을 일으켰던 그 기술이 결국 임베디드 아니냐..?라고 하시면 이 역시 맞는 말씀입니다. 그리고 이것은 결국 임베디드가 옛날 기술, 옛것의 재탕이다..라는 말씀이시죠.. 하지만 그렇게 따진다면 전기공학은 100년전 것의 재탕삼탕이고 이동통신(ldpc)이나 ASIC backend 관련 tools(synthesis,testing)도 대부분 이론은 20~40년전에 완성된 분야구요. 오히려 임베디드는 80년부터 이어져온 비교적 신기술(?)이 적용된 분야라 생각되는군요. 먼저 이런 말씀을 드린 이유는 임베디드 분야의 기술에 관해 조금 비관적인 생각을 가지신 것 같아서 입니다.
         이제 제 개인적인 생각을 말씀드리죠. 먼저 임베디드 시스템이 쓰이는 용도에 대해 조금 시야가 좁으신 것 같습니다. 적어도 집에 PC가 설치되어 있는 곳에서 손쉽게 PC로 할 수 있는 일은 절대로 임베디드 기기로 나오지 않겠죠. 그리고 임베디드 기기에 "하드 달고 모니터 달고 USB니 뭐니 다 달고나면.."을 하면 절대 안됩니다. 이러면 이미 임베디드 기기가 이니고 general한 pc입니다. 임베디드 기기는 말그대로 application specific, implementation specific한 경우에만 그 의미를 가지죠. 이러한 분야는 적어도 당분간은 general한 tool(님 말씀처럼 visual한 tool들)이 사용될 수 없습니다. 그리고 최근 유행하는 embedded linux의 경우는 더 요원하죠.
         둘째로 기술적으로 말씀드리죠. pc의 경우는 application만 하면 됩니다. 그 좋은 visual tool들이 hw specific한 부분과 커널 관련한 부분은 다 알아서 처리해 줍니다. 하지만 임베디드 분야는 이 부분을 엔지니어가 다 알아서 해야 하죠. pc의 경우 windows를 알 필요없지만 임베디드 엔지니어는 os kernel을 만드시 안고 들어가야 합니다. 이 뿐만 아니라 application specific/implementation specific하기 때문에 해당 응용분야에 대한 지식도 가지고 있어야 하며/ 많은constraint 때문에 implementation 할 때hw/sw에 관한 지식도 많아야 하죠. 경우에 따라서는 chip design 분야와 접목될 수도 있습니다.(개인적으로 fpga 분야가 활성화 된다면 fpga도 임베디드와 바로 엮어질거라 생각합니다. 이른바 SoC+임베디드죠. SoC가 쓰이는 분야의 대부분 곧 임베디드 기기일 겁니다. ASIC도 application specific하다는 점에서 임베디드 기기와 성질이 비슷하고 asic의 타겟은 대부분 임베디드 기기입니다.) 대부분의 비메모리 반도체칩은 그 용도가 정해져있으며, 비메모리 반도체를 사용하는(혹은 설계하는 사람)을 두고 임베디드 엔지니어라 할 수 있죠. 사실 임베디드는 범위가 매우 넓기 때문에 한가지로 한정하기 힘듭니다.
         한마디 더 추가하겠습니다. constraint가 거의 없는 시스템이 pc입니다. (단순pc라면 200만원대 이하가 유일한 조건인가요..? 특별한 작업을 위한 시스템이면 수천만원도 가능하겠군요) 하지만 임베디드 시스템은 많은 constraint가 존재합니다. 크기,무게,가격,온도,습도,처리량,time-to-market 등등..
         PC도 주로 집이나 사무실에서 쓰이는 다른 임베디드 기기와 다를게 없습니다. 거기에 들어가는 CPU는 INTEL이 만들고 OS는 MS가 만들죠. 그런데 PC USER가 엄청나게 많기 때문에 pc분야는 물론이고 다양한 분야의 고성능 TOOL들이 나오게 되는 것이죠. 일반적인 임베디드 기기에서 이런 환경을 기대하긴 힘듭니다. 왜냐하면 pc는 ms와 intel에서 standard를 정하지만 embedded는 정할 수 있는 주체도 없고 각각 시장도 크지 않습니다. (ms가 win ce로 노력 중이긴 하는데 유료이며 거기다 비싸다는 취약점이 있죠. 그리고 모든 분야를 cover할 수 없습니다.)
         그리고 과거에도 CPU를 사용하여 제품들을 제어하는 업무가 많았는데.. 그것을 운영하는데 인터럽트나..무한루프를 이용하여 제어를 한 반면에..요즘에 임베디드 시스템이라고 하는것들은 간단한 운영체계를 도입한게 다른데.. 이것도..별것 아닌데.. 왜 임베디드 엔지니어니..뭐니떠드는지 잘 모르겠습니다. 그냥 마이크로 프로세서를 이용하는 땜쟁이들이 기본으로 익혀야할.. 노가다이고... 핵심 부품 예를들면 ARM7의 코어부분등은 핵심기술을 가진 회사에서 독점하고있어서..그걸 이용해서 칩을 파는 업자나.. 프로그래밍짜는 엔지니어나..그냥.. 그들의 하수인에 불과할수도 있겠네요..요즘에는 임베디드 OS도 객체지향을 이용하고.. 그래픽 라이브러리들이 잘 나와있어서 WIN CE나 윈도우즈에서 제어용 프로그래밍 짜는 수준의 단순노가다로 넘어가고있는 추세입니다.. 하여간에 이것도 다들 하니까.뭐.. 별 영양가 없는것 같습니다.. 모 업체에서.. 벼레별거 다할수있는 기술적인 능력이있는데.(암9보드에 하드도달고 액정도달고..달수있는것 다 달고..) 막상 그 보드를 만들어놓고 쓸데가 없답니다. 요즘 추세를 보니까..몇년전까지도 고급기술자의 업무였던.. PC에서 기계제어하는것들도..이젠 전문대졸업자나..고졸자가 주로하는 일이 되어버렸더군요.. 제 생각에는 미래에는 엔지니어가 그다지 많이 필요하지는 않을것 같습니다. 소수의 천재들이.. 프로그래밍 제네레이터.. 임베디드 칩 제네레이터 만들어서.. 가상현실상에서..뚝딱 뚝딱 맞추면.. 결과물이 떡하니.그냥 나와버리는 시스템이되고.. 다른 대부분의 경우에는 시스템이 거의모든 상황을 커버할만큼 고성능이되어버려서..별 예외조치에대한 필요성이 없는것이죠.. 엔지니어링 분야도..워드프로세서가 지구상에 몇개 안되는걸로 다 카바되는것처럼..그리될거같고.. 하여간에.. 기술분야에서도 극빈층에 속하는 재화를 소비만 하는 덧샘 뺄샘도 모르는 대다수의 사람과..극소수의 모든것을 다 할수있는 초기술을 가진 과학자들의 두가지 집단만이 살아남을듯 하네요.. 아마도 그런 과학자들에 의해 사육되겠지요...
  • 임인책/북마크 . . . . 8 matches
          * [http://www.internals.com/articles/apispy/apispy.htm API Spying Techniques for Windows 9x, NT and 2000]
          * http://sangam.sourceforge.net/ -> Xper:RemotePairProgramming 을 [Eclipse]에서 해주게 하는 플러그인!! 한번 경험해 봐야겠다!!
          * [http://codeguru.earthweb.com/system/apihook.html API Hooking Revealed]
          * [http://www.mozilla.or.kr/zine/?no=291 FireFox 트랙백]
          * Seminar:SoftwarePioneers
          * Seminar:CurseVod
  • 정렬/문원명 . . . . 8 matches
         #include <iostream>
         #include <fstream>
         using namespace std;
         void main()
          ifstream fin("UnsortedData.txt");
          int arr[10000];
          int temp;
          fin>>arr[i];
  • 제12회 한국자바개발자 컨퍼런스 후기 . . . . 8 matches
         || 14:00 ~ 14:50 || KT Cloud 기반 애플리케이션 개발 전략 (정문조) || Event Driven Architecture (이미남) || 성공하는 개발자를 위한 아키텍처 요구사항 분석 방법 (강승준) || JBoss RHQ와 Byteman을 이용한 오픈소스 자바 애플리케이션 모니터링 (원종석) || Java와 Eclipse로 개발하는 클라우드, Windows Azure (김명신) || Apache Hadoop으로 구현하는 Big Data 기술 완벽 해부 (JBross User Group) || 클라우드 서버를 활용한 서비스 개발 실습 (허광남) ||
         || 15:00 ~ 15:50 || 스타트업을위한 Rapid Development (양수열) || 하둡 기반의 규모 확장성있는 트래픽 분석도구 (이연희) || 초보자를 위한 분산 캐시 활용 전략 (강대명) || Venture Capital & Start-up Investment (이종훈-벤처캐피탈협회) || How to deal with eXtream Applications? (최홍식) || SW 융합의 메카 인천에서 놀자! || 섹시한 개발자 되기 2.0 beta (자바카페 커뮤니티) ||
         || 16:00 ~ 16:50 || 대용량 고가용성 분산 캐쉬서버(infinispan)를 활용한 웹서비스 (이용혁) || 대박날때 후회말고, 성능큭정 자주하자!/성능측정도구 nGrinder (김광섭) || 모바일 웹 개발 플랫폼 (현철주) || IT 개발자 환경의 문제점과 개선점 등 (김효상-IT노조) || 분산 애플리케이션 개발을 위한 기업 통합(EIPs) 전략 (차정호) || SW 융합의 메카 인천에서 놀자! || 되돌아 보는 스프링 프레임워크 (KSUG 커뮤니티) ||
         || 17:00 ~ 17:50 || 쓸모있는 소프트웨어 작성을 위한 설계 원칙 (김민재) || Java Secure Coding Practice (박용우) || 개발자가 알아야하는 플랫폼 전략과 오픈 API 기술 동향 (옥상훈) || 반복적인 작업이 싫은 안드로이드 개발자에게 (전성주) || 개발자가 알아야할 오픈소스 라이선스 정책 (박수홍) || 이클립스 + 구글 앱 엔진으로 JSP 서비스하기 (OKJSP 커뮤니티) || 여성개발자의 수다 엿듣고 싶은 그들만의 특별한 이야기 (여자개발자모임터 커뮤니티) ||
         || 18:00 ~ 18:50 |||||||||||||| Closing 및 경품추첨 ||
          그 다음으로 Track 5에서 있었던 Java와 Eclipse로 개발하는 클라우드, Windows Azure를 들었다. Microsoft사의 직원이 진행하였는데 표준에 맞추려고 노력한다는 말이 생각난다. 그리고 처음엔 Java를 마소에서 어떻게 활용을 한다는 건지 궁금해서 들은 것도 있다. 이 Windows Azure는 클라우드에서 애플리케이션을 운영하든, 클라우드에서 제공한 서비스를 이용하든지 간에, 애플리케이션을 위한 플랫폼이 필요한데, 애플리케이션 개발자들에게 제공되는 서비스를 위한 클라우드 기술의 집합이라고 한다. 그래서 Large로 갈 수록 램이 15GB인가 그렇고.. 뭐 여하튼.. 이클립스를 이용해 어떻게 사용하는지 간단하게 보여주고 하는 시간이었다.
  • 조현태/놀이/지뢰파인더 . . . . 8 matches
          위키에서 마인 파인더를 본 기억이 어렴풋이 남아있다.(SeeAlso MineFinder)
          Upload:minefinder_dine.jpg
         지뢰파인더 1.0v - Upload:MineFinder.exe
          └만들어 보고싶다우..ㅎㅎ 그런데 나 1학년 마치고 군대갈껀디..ㅎㅎ 갔다오면 다 잊어먹어서 'printf가 모에요?'라고 묻는 웃지못할 사태가 발생할듯..;;ㅁ;;
  • 졸업논문/본론 . . . . 8 matches
         웹 애플리케이션 개발자가 가장 많이 쓰는 기능은 SQL을 이용하여 데이터베이스 내용을 삽입, 삭제, 수정, 조회하는 것이다. 그 중에도 데이터를 조회하는 SQL문은 다양한 구조를 가진다. 기본 구조는 select from 이다. 여기서 from절에 테이블이 여러 번 나오는 경우 조인 연산을 수행한다. 조인 연산은 다른 테이블 또는 같은 테이블끼리 가능하다. select from where문을 사용하면 where절에 있는 조건을 만족하는 데이터만 조회한다. aggregate function을 사용하면 원하는 결과를 좀더 쉽게 얻을 수 있다. 이에는 개수(count), 합계(sum), 최소(min), 최대(max), 평균(avg)이 있다. aggregate function에 group by문을 사용하면 그룹 단위로 결과를 얻는다. group by절에는 having을 이용해 조건을 제한할 수 있다. 또한 순서를 지정하는 order by문과 집합 연산인 union, intersect, except 등이 있다. where절 이하에 다시 SQL문이 나타나는 경우를 중첩질의라고 한다. 중첩 질의를 사용할 때는 특별히 (not) exist, (not) unique와 같은 구문을 사용할 수 있다.
         데이터를 삽입,삭제,변경할 때는 조회하는 SQL에 비해 하면 단순하다. 삽입에는 insert into value 구문을, 삭제는 delete from where구문을, 변경은 update set where구문을 사용한다. 삭제와 변경시에는 중첩 질의를 사용할 수 있다.
         Django는 오픈 소스 프로젝트로 code.djangoproject.com/browser/django 에서 전체 소스코드를 확인할 수 있다. 문서에 따르면 django 데이터베이스 API는 "SQL문을 효율적으로 사용하고, 필요할 때는 알아서 join연산을 수행하는 강력한 구문을 가졌으며, 사용자가 필요할 경우 직접 SQL문을 작성할 수 있도록 지원"[5]한다. 추상화된 구문을 사용하더라도 데이터는 관계형 데이터베이스에 저장하게 되는데, MS SQL, MySQL, Oracle, PostgreSQL, SQLite3와 같은 DBMS를 사용할 수 있다.
         [django/ModifyingObject]
         [django/RetrievingObject]
  • 채팅원리 . . . . 8 matches
         클라이언트쪽에는 4개의 Thread가 있다. JFrame을 사용한 클래스가 2개 있는데, 하나는 Login때 ID사용 허가를 확인한는 프레임이고, 다른 하나는 채팅의 기본 프레임이다. 4개의 Thread는 다음과 같다.
         Login : 현재 채팅에 사용중인 ID와 사용하고자 하는 ID를 비교하여, 채팅 참가 허가 유무를 확인한다.
         ChatMain : 채팅의 주 인터페이스를 관리하는 클래스이다. 이 클래스에서 대부분의 GUI를 관리하고, 채팅메세지보여준다. 또한 채팅에 접속한 사람들의 ID를 보여준다.
         ReceiveMessage : 서버로부터 전달되는 메시지를 받아서 ChatMain 클래스의 메시지 출력 화면에 보여주는 역할을 한다.
         UserList : ChatMain 클래스의 사용자 List에 접속한 사용자 ID를 보여주는 기능을 한다.
         클라이언트가 시작되면 Login을 위한 ID 체크를 한다. 서버에 접속하여 서버에 저장되어 있는 사용자 ID Vector에 사용하고자
         클라이언트가 대기실에 입장하면 내부적으로 클라이언트는 서버쪽에 새 사용자가 접속했다는 메시지를 보낸다. 그러면서, Login 프레임대신 ChatMain 프레임을 보이게 한다. 이제부터 대기실에서 채팅이 가능하게 된다. 서버쪽에는 새 사용자가 대기실에 들어왔다는 것을 보여준다.
  • 타도코코아CppStudy/0728 . . . . 8 matches
          * TableDrivenProgramming
          ZeroWiki:DevelopmentinWindows
         #include <iostream>
         using namespace std;
         int main()
         || 마방진(홀수) || [CherryBoy] || Upload:MaBangJin_CherRy.cpp || . ||
  • 튜터링/2011/어셈블리언어 . . . . 8 matches
         TITLE MASM Template (main.asm)
         INCLUDE Irvine32.inc
         main PROC
         main ENDP
         END main
          * inline
  • 파스칼삼각형/김영록 . . . . 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 ;
  • 피보나치/민강근 . . . . 8 matches
         #include<iostream>
         using namespace std;
         int pi(int a)
         int main()
          int y;
          cin>>y;
  • 피보나치/유선 . . . . 8 matches
         #include<stdio.h>
         void main(){
         int count;
         int a,b,c;
         printf("숫자를 몇개 출력할까요? 3이상으로 선택해 주세요");
         int i;
         printf("11");
         printf("%d",c);
  • 피보나치/허아영 . . . . 8 matches
         #include <stdio.h>
         int num1, num2, num3;
         int i;
         void main()
          printf("출력 할 회 : ");
          printf("\n");
          int j;
          printf("%d", num3);
  • 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 );
  • 50~100 사이의 3의배수와 5의 배수 출력 . . . . 7 matches
         #include <iostream>
         using namespace std;
         int main()
          int a;
          cin >> a;
          for(int i = 1;i <= a; i ++)
  • AOI . . . . 7 matches
         '''O'''lympiad in
          * 여름방학 중 교재 : Programming Challenges ( Aladdin:8979142889 )
          * 원문 : http://online-judge.uva.es/problemset/
          || [CompleteTreeLabeling]||. ||. ||. ||. ||. ||. ||. ||. ||
          || [Bicoloring] ||O ||. ||. ||. ||. ||. ||. ||. ||
         == LINK ==
          * http://online-judge.uva.es/problemset/ <-- 여기에서 로봇이 실시간으로 답이 맞았는지 채점도 해준답니다. 푸신분들은 한번 해 보세요 - 보창
  • Applet포함HTML/진영 . . . . 7 matches
         ''C:\j2sdk1.4.1_01\bin\HtmlConverter.exe 로 컨버트''
          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/진행상황"]
  • BasicJAVA2005 . . . . 7 matches
         || 4 || 06.01.12 || 선호 민경 아영 규완 지희 수생 태훈 현태 || 다솔 희웅 || 빙고판 만들기(Swing) || [BasicJava2005/4주차] ||
          인터파크 책 링크 - [http://book.interpark.com/bookPark/sitemap/BookDisplay.jsp?COMM_001=0000400000&COMM_002=0&GOODS_NO=3914746 클릭!]
          예를 들면, 변수도 한글로 사용이 가능합니다. (예를 들어서 String 임시 = "임시변수입니다."; 이런식으로 작성이 가능하다는 이야기죠.) - 도현
         [http://cslibrary.stanford.edu/104/ Pointer Video] 동영상 용량이 크니 다운받아 보세요. -- 재선
         질문 !! 이클립스 쓰는데, run as에 이상한 JUnit Plug-in Test 이런거만 있는데, 어떻게 정상적으로 java application 나오게 하죠? -- 허아영
          - 그 파일에 public static void main(String[] args) 함수가 없어서 그런거 같은데... --선호
  • BoaConstructor . . . . 7 matches
          1. 한글 패치 필요 - 이건 Scintilla 의 문제일듯.
          * Control 상속, 새 Control 만드는 과정을 아직 툴 차원에선 지원하지 않는다. MFC GUI Programming 할때 많이 쓰는데. UI class 들 중복제거를 위해서라도. -_a 하긴 이건 좀 무리한 요구인가 -_-;
         GUI 플밍은 다시금 느끼지만, RAD 툴 없으면 노가다가 너무 많다. -_-; 차라리 GUI 코드는 더럽게 놔두고 툴로만 다루고, 코드상에서는 가능한 한 GUI 부분 객체와는 interface 로만 대화하는 것이 좋겠다. 어디선가 본 것 같다. Code Generator 로 작성된 코드는 가능한한 건드리지 말라는..~ (Abstraction 이 제너레이팅 툴에서 이루어지기 때문일 것 같다.)
          5. 정식 버전은 TDD 로 다시 DoItAgainToLearn. WingIDE + VIM 사용. (BRM 을 VIM 에 붙여놓다보니. 그리고 WingIDE 의 경우 Python IDE 중 Intelli Sense 기능이 가장 잘 구현되어있다.)
         UnitTest 가 있는 것만으로도 언제든지 리팩토링할 수 있다는 믿음이 있다면..~ 혼자서 프로토타입 플밍 할때는 그냥 StepwiseRefinement & UnitTest 조합도 괜찮은 것 같다. 빨리 기능을 얻은뒤 기능들 보고 중간에 CRC 해가면서 유용할만한 Object들을 추출해나가는 것도. 언제든지 Object 뽑아낼 자신이 있으니까.
  • C++/SmartPointer . . . . 7 matches
         = smart pointer =
         #define _SMARTPTR_H
         // reference countable smart point
         // circular member setting will not free memory
         // In other word, each object has the other object's smart pointer.
          int _Refcnt;
          IncRefcnt();
          IncRefcnt();
          IncRefcnt();
          void IncRefcnt()
          이런걸 안써도 되어서 Python이 재미있는 것일지도. (하지만 Extending 쪽에서는 결국 써야 하는.. 흑) --[1002]
  • CPPStudy_2005_1 . . . . 7 matches
         = Coding =
          [http://sourceforge.net/projects/mingw/ MinGW] GCC의 Windows 포팅
          [http://stlport.org/ STLPort] STLPort, [http://www.kwak101.pe.kr/wiki/wiki.php/STLport_VC%BC%B3%C4%A1 STLPort설치메뉴얼], [http://www.kwak101.pe.kr/kwak101/works/InternData/STLDecryptor_QuickGuide.html STL에러메시지 해독기 설치]
         || 05 || 김태훈 || zyint@zyint.com ||
         || 8/8 || - || Chapter9장만 || chapter 9장 스터디|| [CppStudy_2002_2/STL과제] [FileInputOutput] ||
          * Pair Programming(실습) 이 좋았음
  • CodeCoverage . . . . 7 matches
         CodeCoverage 는 Testing 이 목표 어플리케이션을 얼만큼 충분히 테스트하는가에 대한 측정 지표이다.
         CodeCoverage 는 Software Testing 에서 사용하는 측정 도구중의 하나이다. 프로그램이 테스트된 소스 코드의 정도를 기술한다. 이는 다른 대다수의 다른 테스트 메소드와 다른다. 왜냐하면 CodeCoverage 는 소프트웨어 기능, Object interface 과 같은 다른 측정 방법에 비하여 source code를 직접 보기 ㅤㄸㅒㅤ문이다.
          * PathCoverage - 주어진 코드 부분의 가능한 모든 경로가 실행되고, 테스트 되는가? (Note 루프안에 가지(분기점)를 포함하는 프로그램에 대하여 코드에 대하여 가능한 모든 경로를 세는것은 거의 불가능하다. See Also HaltingProblem[http://www.wikipedia.org/wiki/Halting_Problem 링크] )
         See also: RegressionTesting, StaticCodeAnalysis
          * http://www.mmsindia.com/JCover.html : Java Test Tool Solution 업체 그중 한 제품
  • 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)
  • C언어정복/4월6일 . . . . 7 matches
         2. 제어문 (분기와 점프) - if, if else, continue, break, switch
         #include <stdio.h>
         int main(void)
          int i, j;
          printf("%d X %d = %d\n", i, j, i * j);
          printf("\n");
  • DataStructure/Graph . . . . 7 matches
          * Adjacency List(Linked List로 표현)
         = 최소 비용 신장 트리(Minimum Cost Spanning Trees) =
         == Single Source, All Destination(하나의 시작점에서 모든 곳으로의 Shortest Path를 구할수 있단말이다) ==
          * dist값 갱신 : dist[w] = min { dist[w], dist[u] + cost[u, w] }
          * A(k)[i, j] = min { A(k-1)[i,j], A(k-1)[i, k] + A(k-1)[k, j] }
  • 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를 가지고 있어야 할지가 설계의 주요 이슈였다.
  • EffectiveSTL . . . . 7 matches
          === 1. Containers ===
          ["EffectiveSTL/Container"]
          === 2. Vector and String ===
          ["EffectiveSTL/VectorAndString"]
          === 3. Associative Containers ===
          === 7. Programming with the STL. ===
          ["EffectiveSTL/ProgrammingWithSTL"]
  • EnglishWritingClass/Exam2006_1 . . . . 7 matches
         = EnglishWritingClass =
         1. Prewriting 종류를 기술하라.
         Freewriting, Clustering, Brainstorming, Planning
  • HardcoreCppStudy/첫숙제 . . . . 7 matches
          * 함수의 중복정의(Overloading)에 대해 기술할 것. 예제도 스스로 만들어 보기 // 책에는 재정의라고 나와있음.
          ||[HardcoreCppStudy/첫숙제/Overloading/변준원]||
          ||[HardcoreCppStudy/첫숙제/Overloading/장창재]||
          ||[HardcoreCppStudy/첫숙제/Overloading/임민수]||
          ||[HardcoreCppStudy/첫숙제/Overloading/김아영]||
         한가지 질문.. 숙제를 하셨으니, 짜면서 overloading 으로 얻어지는 자신이 생각하는 장점과 단점은 무엇인가요? 저에게도 정답은 없습니다. 처음 접하시는 여러분의 느낌이 궁금해서요.--NeoCoin
  • HelpMiscellaneous . . . . 7 matches
         === UrlMappings ===
         특정 URL을 fix해주는 기능을 제공합니다. 예를 들어 과거의 {{{http://foobar.org}}}였던 링크가 최근에 {{{http://foobar.com}}}으로 바뀌었다면 이를 UrlMappings에 등록해서 자동으로 잘못된 URL 정보를 fix할 수 있게 해줍니다. 이 기능은 단지 대치만 해주기 때문에 실제로 페이지 내용이 바뀌거나 하지는 않습니다.
         === SubscribePlugin ===
         === ScrapPlugin ===
         === RatingPlugin ===
         === KeywordsPlugin ===
  • ISAPI . . . . 7 matches
          * IIS(Internet Information Services)란 웹 서버, FTP 서버와 같이 기본적이고 범용적인 인터넷 서비스를 시스템에서 제공할 수 있게 해주는 소프트웨어를 말한다. 기존 윈도우2000 제품군의 경우 기본적으로 IIS 5.0을 제공하였고 윈도우XP의 기존 IIS 5.0의 기능을 개선한 IIS 5.1을 제공하고 있다. 한 마디로 HTTP, FTP, SMTP 서버의 묶음이다.
          프로그래 추가/제거 -> Windows 구성 요소 추가/제거 -> 인터넷 정보 서비스(IIS)
         Internet Server Application Programming Interface 의 약자로 개발자에게 IIS 의 기능을 확장할 수 있는 방법을 제공한다. 즉, IIS 가 이미 구현한 기능을 사용해서 개발자가 새로운 기능을 구현할 수 있는 IIS SDK 다. 개발자는 ISAPI 를 이용해서 Extensions, Filters 라는 두 가지 형태의 어플리케이션을 개발할 수 있다.
          * Low-Level Control : access to the whole array of Win32 API or 3rd party API
          * Development requires more time : written in C or C++
          * Scailability gains are not necessarily automatic : runs faster than others but there is no guarantee of perfect scalability
          * ISAPI operates below helpful IIS infrastructure : helpful programming abstractions are absent. (ex: session )
  • InnoSetup . . . . 7 matches
         http://www.jrsoftware.org/isinfo.php
         Inno Setup is a free installer for Windows programs. First introduced in 1997, Inno Setup today rivals and even surpasses many commercial installers in feature set and stability.
          * [http://www.jrsoftware.org/is3rdparty.php Inno Setup Third-Party Files]
  • 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)
  • Java Study2003/첫번째과제/곽세환 . . . . 7 matches
         자바의 주된 특징은 기존의 C/C++ 언어의 문법을 기본적으로 따르고, C/C++ 언어가 갖는 전처리기, 포인터, 포인터 연산, 다중 상속, 연산자 중첩(overloading) 등 복잡하고 이해하기 난해한 특성들을 제거함으로써 기존의 프로그램 개발자들이 쉽고 간단하게 프로그램을 개발할 수 있도록 합니다.
         자바는 C++와는 달리 처음부터 객체지향 개념을 기반으로 하여 설계되었고, 객체지향 언어가 제공해 주어야 하는 추상화(Abstraction), 상속(Inheritance), 그리고 다형성(Polymorphism) 등과 같은 특성들을 모두 완벽하게 제공해 주고 있습니다. 또한, 자바의 이러한 객체지향적 특성은 분산 환경, 클라이언트/서버 기반 시스템이 갖는 요구사항도 만족시켜 줄 수 있습니다.
         자바는 서로 다른 이종(Heterogeneous)의 네트워크 환경에서 분산 되어 실행될 수 있도록 설계되었습니다. 이와 같은 환경에서는 응용 프로그램들이 다양한 하드웨어 아키텍쳐 위에서 실행될 수 있어야만 합니다. 이를 위해 자바 컴파일러는 이종의 하드웨어 및 소프트웨어 플랫폼에서 효율적으로 코드를 전송하기 위해 설계된 아키텍쳐 중립적인 중간 코드인 바이트코드를 생성합니다. 이는 동일한 자바 프로그램의 자바 바이트코드가 자바 가상머신이 설치되어 있는 어떤 플랫폼에서도 실행될 수 있도록 하는 것입니다. 또한, 자바는 기본 언어 정의를 엄격하게 함으로써 효율적인 이식성을 제공해 주고 있습니다. 예를 들어, int 형과 같은 기본 데이터형의 크기를 플랫폼과 무관하게 일정하게 하고, 연산자의 기능을 확실하게 규정하고 있습니다. C 언어를 이용하여 int 형을 선언할 때, 도스에서는 16비트, 윈도우 95/98/NT 등 32비트 운영 체제 환경에서는 32비트, 유닉스에서는 32비트 등 그 플랫폼에 따라 크기가 다르지만, 자바에서는 플랫폼에 상관없이 32비트로 고정되도록 하였습니다. 이는 자바 프로그램이 실행되는 환경이 자바 가상머신으로 동일하기 때문입니다.
         인터프리터(Interpreter) 방식이다:
         자바 언어로 작성된 자바 프로그램을 중간언어 형태인 자바 바이트코드로 컴파일하고, 이렇게 생성된 자바 바이트코드를 자바 인터프리터가 해석함으로써, 자바 인터프리터와 런타임 시스템이 이식(porting)된 모든 플랫폼에서 자바 바이트코드를 직접 실행할 수 있습니다.
          public static void main(String args[]) {
          System.out.println("Hello World!");
  • JavaScript/2011년스터디/3월이전 . . . . 7 matches
          * void 연산자를 사용하면 피연산자의 값에 상관없이 undefined를 반환한다.
          * 다음 코드 실행 시 첫 출력은 undefined이고 다음 출력은 local이다.
          * try/throw/catch/finally 의 사용 -> finally는 모든 try, catch를 나와서 사용
          * 익명함수를 사용한 Dynamic programming
         Object.prototpye.toString.apply(); // [Object Global]
         Object.prototpye.toString.apply(o); // [Object Array]
  • JavaScript/2011년스터디/7월이전 . . . . 7 matches
          * http://stackoverflow.com/questions/69913/why-dont-self-closing-script-tags-work
          * HTML은 self closing이 안된다는 내용인것 같네요. 다시 읽어봐야겠어요 - [서지혜]
          * 공부하면 할수록 HTML이라던가 웹에 대히 공부해야겠다는 생각만 듭니다. javascript만 사용한다는 것은 무리인것 같아요. 이번에는 연속적으로 키보드 이벤트를 받는 문제였는데 생각보다 쉽지 않네요ㅠ 은 innerHTML은 또 처음 들어요;; 여튼 더 공부하겠습니다!! - [박정근]
          * 오늘은 PairProgramming으로 [http://probablyinteractive.com/url-hunter URLHunter]를 만들어보았는데 setInterval 함수를 사용하여 계속 페이지 주소를 바꿔주는 부분까지 성공했습니다. 처음에는 setTimeout 함수를 사용해서 생각처럼 제대로 작동하지 않았어요. 다음주엔 새내기가 스터디에 합류할텐데 매우 기대됩니다. 우리가 했던것들을 설명해주고 같이 [http://probablyinteractive.com/url-hunter URLHunter]를 만들어보려고 해요. 시간이 너무 걸리지 않도록 어떻게 접근할지 주말에 미리 생각해보겠습니다. - [김수경]
          * PairProgramming으로 위의 주소로 들어가면 보이는 URLHunter를 만드는데 도전하였습니다. 제가 혼자 생각할 때에는 어디서부터 어떻게 접근해야 할지 막막했었는데 Pair로 하니까 점점 먼가가 되가는것 같았어요. 어떻게 하면 주소창을 마음데로 조작 할 수 있는지 더 고민해 봐야겠습니다. - [박정근]
  • JavaScript/2011년스터디/윤종하 . . . . 7 matches
          // An element with an ID of main
          var obj = document.getElementById("main");
          // An array of items to bind to
          // Use a self-executed anonymous function to induce scope
          // Remember the value within this scope
          // Bind a function to the elment
          // scoped within the context of this for loop
  • JavaStudyInVacation/진행상황 . . . . 7 matches
          * awt 와 swing 의 차이를 알아내기.
         ||영동||["AwtVSSwing/영동"]||
          * http://www.jini-club.net/eclipse/dw_EclipsePlatform.html 한글
          * http://gnome.or.kr/moin.cgi/JavaSWT 한글(간단 소개)
          * http://www-106.ibm.com/developerworks/library/j-nativegui/index.html
          See Also ["Java/NestingClass"] 정진균 군이 수고해 주셨습니다. 그냥 이렇구나 하고 읽어 보세요. --NeoCoin
          이런것들은 다 같이 찾아보고, 다 같이 토론하고, 다들 이해했으면 하나로 정리해서 써두 될텐데요^^ 위에 AWT와 SWING의 차이도.. 그리고 아래 네트워크를 사용하는 방법도 마찬가지구요~ 이렇게 각자 쓸것까지야... --["상규"]
         ||상욱||["ConvertAppIntoApplet/상욱"]||
         ||영동||["ConvertAppIntoApplet/영동"]||
         ||진영||["ConvertAppIntoApplet/진영"]||
          '''''이거부터는 각자 하지 말고 같이 하라고 했는데요....''''' ["JavaStudyInVacation/과제"]를 잘 읽고 하세요. 아무래도 내일 다 끝내는건 무리가 있는듯 하군요. 다음주에는 제가 계속 학교에 있습니다. 다음주에도 계속하겠습니다. 이번주처럼 계속 참여해주세요. --["상규"]
         ["JavaStudyInVacation"]
  • JustDoIt . . . . 7 matches
         스펙 : [3rdPCinCAUCSE/ProblemB]
         아니면 Seminar:FourBoxes
         Seminar:SpiralArray
         B번문제 어떻게 풀어요?? [3rdPCinCAUCSE/ProblemB] -홍선-
         uncapping을 배워보아요 -_-^ 한달에 1~2만원은 거저 벌듯 케케 -홍선-
         DeleteMe scienfun 님, [JustDoIt/소수구하기]에 원래 작성하신 소스는 어찌하실 건지요? 해당 소스는 자신이 작성한 고유한 것이니, 중복이 아니잖아요. 다른 해결책은 없을까요? --NeoCoin
          DeleteMe 저는 저의 발언 때문에 지운줄 알고, 미안한 생각을 하고 있었습니다. --NeoCoin
  • Lines In The Plane . . . . 7 matches
         ==== Recurrent Problems - Lines In The Plane ====
         What is the maximum number L<sub>n</sub> of regions defined by lines("unfolding" or "unwinding") in the plane?
  • MFC/ObjectLinkingEmbedding . . . . 7 matches
         #define _MFC_
         || QueryInterface() || 특정한 인터페이스가 객체에 의해 지원되는지를 검사. 지원된다면 포인터가 리턴된다. ||
         CDocument -> COleDocument -> COleLinkingDoc -> COleServerDoc
          || OnDraw() || 객체가 in-place 활성화 되었을때 서버에 있는 뷰클래스의 OnDraw() 함수에 의해서 그려진다. 따라서 컨테이너에 잇는 요소를 그리는 일은 서버측에서 구현되어야 하는 것이다. ||
          컨테이너측에는 COleDocument, COleLinkingDoc 이 존재한다. 전자의 경우는 in-place 활성화를 지원하며, 후자는 링크방식을 지원한다.
  • MFCStudy2006/1주차 . . . . 7 matches
          * 화면 위치 및 크기 조정 : CMainFrame 클래스 -> PreCreateWindow() 에서 수정
         BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
          if( !CFrameWnd::PreCreateWindow(cs) )
          // TODO: Modify the Window class or styles here by modifying
  • MFCStudy_2001 . . . . 7 matches
          * 벽돌깨기:[http://zeropage.org/pds/MFCStudy_2001_final_혜영_Alcanoid.exe 혜영],[http://zeropage.org/pds/MFCStudy_2001_final_인수_Arca.exe 인수],[http://zeropage.org/pds/MFCStudy_2001_final_선호_arkanoid.exe 선호]
          * 오목:[http://165.194.17.15/~namsangboy/Projects/ai-omok/omok.exe 상협],[http://zeropage.org/pds/MFCStudy_2001_final_창섭_winomok.exe 창섭]
          * 지뢰찾기:[http://zeropage.org/pds/MFCStudy_2001_final_영창_MINE_blue.exe 영창];인수와 선호는 소스 날려 먹었다는 납득할수 없는(--+) 이유로 거부;[[BR]]
          * [http://zeropage.org/~neocoin/data/MFCStudy_2001/MFC_Macro설명.rar MFC_Macro설명]:MFC에서 MessageMap을 구현하는 메크로 설명
  • MacroMarket . . . . 7 matches
         moinmoin의 Macro 관련 페이지. {{{~cpp [[TableOfContents]], [[BR]] }}} 등등은 일종의 moinmoin 플러그인으로 파이썬을 이용, 향후 추가가 가능합니다.
         현재 moinmoin에서 만들어진 Macro들에 대해서는 http://purl.net/wiki/moin/MacroMarket 를 참조하세요.
  • MobileJavaStudy/HelloWorld . . . . 7 matches
          private TextBox mainScreen = null;
          mainScreen = new TextBox("HelloWorld","Hello World",512,0);
          mainScreen.addCommand(exit);
          mainScreen.setCommandListener(this);
          display.setCurrent(mainScreen);
          public void paint(Graphics g) {
          g.drawString("Hello World!", 0, 0, Graphics.TOP|Graphics.LEFT);
  • ModelViewPresenter . . . . 7 matches
         TwistingTheTriad
         ConnectingTheDots
          * Model - domain data
          * Interactor - 키보드나 마우스 이벤트들을 Command 나 Selection 으로 매핑한다.
         Model-View-Presenter or MVP is a next generation programming model for the C++ and Java programming languages. MVP is based on a generalization of the classic MVC programming model of Smalltalk and provides a powerful yet easy to understand design methodology for a broad range of application and component development tasks. The framework-based implementation of these concepts adds great value to developer programs that employ MVP. MVP also is adaptable across multiple client/server and multi-tier application architectures. MVP will enable IBM to deliver a unified conceptual programming model across all its major object-oriented language environments.
  • OpenCamp/첫번째 . . . . 7 matches
          * 13:00~13:10 Opening
          * 14:15~15:00 Reverse Engineering of Web for Android Apps 정진경
          * 16:00~16:45 OOP in JavaScript 서영주
          * 18:00~19:00 Dinner
          * 데블스도 그렇고 이번 OPEN CAMP도 그렇고 항상 ZP를 통해서 많은 것을 얻어가는 것 같습니다. Keynote는 캠프에 대한 집중도를 높여주었고, AJAX, Protocols, OOP , Reverse Engineering of Web 주제를 통해서는 웹 개발을 위해서는 어떤 지식들이 필요한 지를 알게되었고, NODE.js 주제에서는 현재 웹 개발자들의 가장 큰 관심사가 무엇있지를 접해볼 수 있었습니다. 마지막 실습시간에는 간단한 웹페이지를 제작하면서 JQuery와 PHP를 접할 수 있었습니다. 제 기반 지식이 부족하여 모든 주제에 대해서 이해하지 못한 것은 아쉽지만 이번을 계기로 삼아서 더욱 열심히 공부하려고 합니다. 다음 Java Conference도 기대가 되고, 이런 굉장한 행사를 준비해신 모든 분들 감사합니다. :) - [권영기]
  • 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 가 잘 적용된 프로젝트이라면 적은라인수로 많은 일을 하겠지만.
  • ProjectZephyrus/ThreadForServer . . . . 7 matches
         [http://zeropage.org/~neocoin/ProjectZephyrus/data/junit.jar jUnit Lib] [[BR]]
         [http://zeropage.org/~neocoin/ProjectZephyrus/data/mm.mysql-2.0.14-bin.jar MySQL JDBC Driver][[BR]]
         InfoManager쪽의 writeDeleteBuddy 부분을 완성해서 commit시켜라
         만들어서 InfoManager가 최초 생성시 앞의 두개를 수행하도록 하는데 위치는
         InfoManager.getInstance()의 if문 안쪽에 넣어주면 sync문제도 해결될것이다.
         그후 남은 할일이라면, 현재 InfoManager가 다른 package임에도 불구하고 command package에 대한
         information hiding이 잘 지켜지지 않았다. 다른 쪽은 내가 코딩하면서 package내부는 느슨하게,
         InfoManager의 코드들의 경우 attribute에 직접 접근하는 부분이 너무많은듯 하다.
         이부분을 refactoring할 요소가 남은것 같다. 이는 네가 commit후에
         일단, ["ProjectZephyrus/Server"]의 진행율에 기록된 대로 InfoManager의 DeleteBuddy부분외에는 완료되었다.
         6/7일에 상규와 만나서 InfoManager를 거의(?) 마쳤는데, 일단 전에 PacketForm 석천이와 회의할때와 바뀐것이
          * 저도 오늘(월욜)까지 작업 왠만큼 끊내놓을께요 한편, wincvs 안쓸랍니다 eclipse 써야지 원...--재동
  • PythonMultiThreading . . . . 7 matches
         Python 에서는 2가지 thread interface 를 제공한다. 하나는 C 스타일의 API 를, 하나는 Java 스타일의 Thread Object를.
          print "thread : ", i, args
         if __name__=="__main__":
          for i in range(100000,0,-1):
          print "waiting: ", i
         다른 차원의 기법으로는 Seminar:LightWeightThreads 가 있다.
  • STL/VectorCapacityAndReserve . . . . 7 matches
         #include <iostream>
         #include <vector>
         using namespace std;
         int main()
          int N = 100000; // vector에 입력될 자료의 size
          int k;
  • SchemeLanguage . . . . 7 matches
          * [http://www.swiss.ai.mit.edu/projects/scheme/mit/7.7/7.7.1/scheme-7.7.1-ix86-win32.exe MIT Scheme]
          * http://zeropage.org/pub/language/scheme/intro.txt - Scheme 이라는 언어가 무엇인지 소개하고있는 자료
         (define (factorial x)
          (begin
          (begin
          (printf "~v * ~v = ~v" x y (* x y))
          (newline)
  • StuPId/김태진 . . . . 7 matches
         #include <stdio.h>
         int main ()
          int i,j,k,N,n,sum=1,Sce=1;
          int unr;
          printf("Scenario #%d:\n",Sce);
          printf("%s\n\n",id);
  • TheJavaMan/설치 . . . . 7 matches
         http://download.eclipse.org/downloads/drops/S-3.0M6-200312182000/eclipse-SDK-3.0M6-win32.zip
         public static void main(String[] args)를 체크해 놓으면 따로 입력안해두 되니깐 좋아
          public static void main(String[] args) {
          System.out.println("Hello!!! The Java Man");
         앞의 과정을 잘 따라했다면 ''System.out.println("Hello!!! The Java Man");''
  • 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)
  • TheKnightsOfTheRoundTable/허준수 . . . . 7 matches
         #include <iostream>
         #include <cmath>
         using namespace std;
         int main()
          cout.setf(ios::showpoint);
          while(cin >> a >> b >> c) {
  • UglyNumbers/JuNe . . . . 7 matches
          for lastug,p in zip([ugs[-1]]*len(prim),prim)]
          ts=[ugs[ind]*mul for ind,mul in zip(tris,prim)]
          ugs.append(min(ts))
         if __name__=='__main__':
          print "The 1500'th ugly number is",ugly(1500)[-1]
  • UseCase . . . . 7 matches
         [http://searchsystemsmanagement.techtarget.com/sDefinition/0,,sid20_gci334062,00.html WhatIs Dictionary]
         나는 Alistair Cockburn이나 KentBeck, Robert C. Martin 등의 최소 방법론 주의(barely sufficient methods)를 좋아한다. 나는 이 미니말리즘과 동시에 유연성, 빠른 변화대처성 등이 21세기 방법론의 주도적 역할을 할 것이라 믿어 의심치 않는다. Robert C. Martin이 자신의 저서 ''UML for Java Programmers''(출판예정)에서 [http://www.objectmentor.com/resources/articles/Use_Cases_UFJP.pdf Use Cases 챕터]에 쓴 다섯 페이지 글이면 대부분의 상황에서 충분하리라 본다.
         그는 UseCase와 UML의 UseCase Diagram은 다른 것이라고 말하며, UseCase를 기록할 때 단순히 NoSmok:IndexCards 에 해당 UseCase의 이름만 기록해 두고, 나머지는 구두로 의견교환을 할 것을 추천한다. 그렇게 하고 시간이 지나면서 구현 내용이 점점 중요해지면 그 구체적인 내용을 카드의 여백에 채워넣으라고 한다.
         이렇게 해서 최소 하나의 프로젝트에서만이라도 "제대로 활용"을 해보고 나면 비로소 필요에 따라 "더 많은 것"을 요할 수 있다. 이 때에는 본인 역시 Robert C. Martin과 같이 Alistair Cockburn의 ''Writing Effective Use Cases''(2000년 Seminar:JoltAward 수상)를 권한다. (인터넷에서 초고 pdf화일을 구할 수 있다)
          * [http://members.aol.com/acockburn/papers/usecases.htm Structuring Use Cases with Goals]
          * [http://members.aol.com/acockburn/papers/AltIntro.htm Use Case Fundamentals]
  • UserStoriesApplied . . . . 7 matches
         Mike Cohn's User Stories Applied shows how software teams can drive development through user stories, simple, clear, brief descriptions of functionality valuable to real users. It covers user role modeling, gathering stories, working with managers, trainers, salespeople, and other proxies, writing user stories for acceptance testing, and using stories to prioritize, set schedules, and estimate release costs.
  • 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/
  • XMLStudy_2002/Resource . . . . 7 matches
          || XLink || [http://www.w3c.org/XML/Linking] ||
          *국내 XML 메일링 리스트 : [http://dblab.comeng.chungnam.ac.kr/~dolphin/xml/korean/mailinglist.html]
          *Robin Cover's XML Software : [http://www.oasis-open.org/cover/xml.html#xmlSoftware]
          *XML.com의 Resource Guide 중 XML Parsers : 여기에서도 여러 파서들에 대한 목록을 제공한다. 목록에서는 각 파서에 대한 설명이 간단하게 되어 있지만, 각 파서 이름을 클릭하면, XML.com의 Editor 중의 한 사람인 Lisa Rein이 평가한 내용들이 기술되어 있고, 해당 파서의 메인 페이지나 다운로드 페이지로 이동할 수 있는 링크를 포함하고 있다. [http://www.xml.com/pub/Guide/XML_Parsers]
  • Yggdrasil/가속된씨플플 . . . . 7 matches
          * 1장을 공부하면서 자바의 string 클래스와 비슷하다는 것을 느꼈다. 이걸 먼저 알았으면 1학년때 숙제할 때마다 char 배열을 포함한 클래스를 만들 때 수고를 좀 덜했을 거 같다.
          * [Refactoring]은 중간중간에 계속 해주는 것이 도움이 되었습니다. 계속 다르게 진행하면 소스를 통합하기가 매우 힘들어 지죠. NoSmok:문서구조조정 마찬가지 같습니다. [위키요정]에서 말하는 정원일과 비슷하지 않을까요? 쓸말이 없다면, 지금 페이지들을 지우는 것도 좋은 방법입니다. 어차피 차후에 '내가 했다.'라는 것은 자신만이 알면 되지요. --NeoCoin
         예를들어, [STL]의 모든 하위페이지, EffectiveSTL의 하위 페이지들은 기존에 ZeroWikian 들의 개인 하위 페이지에 국한되어 있었습니다. 예를들어, {{{~cpp NeoCoin/STL}}} ExtremeSlayer/Vector 식으로 말이지요. 이것들을 [페이지다듬기]를 통해서 통합하고 기존 페이지들을 지워서, 한곳에 완전한 문서로 만들었습니다.
         지금 하는 작업들도 그렇게 될수 있겠지요. 마치 긴 프로그래밍 소스가 [Refactoring]을 통해서 짧아 지는것 처럼 말이지요.
         --NeoCoin
          * 요약과 같은 객관적인 내용은 NoSmok:말없이고치기 를해도 상관없다고 생각하며, 후자의 개념 문제는 확실하지 않은 내용은 쓰지 않으면 되지요. 중요한 것은 중복된 페이지를 양산하지 않는다는 점입니다. --NeoCoin
  • coci_coko/권영기 . . . . 7 matches
         #include<iostream>
         int cnt = 1;
         int main(void)
          int n;
          int ans1 = 0, ans2 = 0, sum = 0;
          printf("%d %d", ans1, ans2);
  • django/ModifyingObject . . . . 7 matches
         = insert & update =
         SQL문에서는 insert into values 구문을 이용해 레코드를 삽입하고, update set where 구문을 이용해 레코드를 수정한다. 하지만 django는 이 둘을 하나로 보고 데이터베이스에 레코드를 삽입하고 갱신하는 작업을, 모델로 만든 객체를 저장(save)하는 것으로 추상화했다. 기본적으로 모델클래스는 save메소드를 가진다. 따라서 개발자가 작성한 모델도 save메소드를 가지며, 이는 오버라이딩 할 수 있다. 아래 예에서 보듯이 save 메소드는 새로만든 레코드 필드의 속성에 따라서 적당히 삽입과 갱신 작업을 수행한다.
         e.save() # insert
          # First, try an UPDATE. If that doesn't update anything, do an INSERT.
          # Determine whether a record with the primary key already exists.
          # Create a new record with defaults for everything.
          cursor.execute("INSERT INTO %s (%s) VALUES (%s)" %
  • intI . . . . 7 matches
         int i = 0;
         int i...
         for(int i=0; i<...
         int i=0;
         integer의 i 인거지?? 그럼 언제부터 int i 라는 변수가 사용된 것일까?? 80년대의 C언어 책에서도 int i 를 사용하고 있었을까??
  • 구구단/민강근 . . . . 7 matches
         #include<iostream>
         using namespace std;
         int main()
          for(int a=1;a<=9;a++)
          for(int i=2;i<=5;i++)
          for(int i=6;i<=9;i++)
  • 구구단/손동일 . . . . 7 matches
         #include <iostream>
         using namespace std;
         void main()
          for (int j=1; j< 10; j++)
          for (int i=2; i<6; i++)
          for (int k=1; k<10; k++)
          for (int m=6; m<10; m++)
  • 구구단/유상욱-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)
  • 구구단/장창재 . . . . 7 matches
         #include <iostream.h>
         int main()
          for(int i = 1; i <10 ; i++)
          for (int k = 2; k < 6 ; k++)
          for(int j = 1; j <10 ; j++)
          for (int k = 6; k < 10 ; k++)
  • 권순의 . . . . 7 matches
          * Led Zeppelin교(?)
          * [https://docs.google.com/document/d/19UPP_2PVOo8xFJTEP-gHCx2gUoCK2B8qIEe09bviCIk/edit?usp=sharing 혼자 깔짝거리는 Linux Kernel]
          * [http://zeropage.org/index.php?mid=seminar&document_srl=95664 발표자료]
          * [English Speaking/2011년스터디]
          * [http://zeropage.org/index.php?mid=project&category=61158 레고마인드스톰]
  • 데블스캠프2005/RUR-PLE/Harvest/김태훈-zyint . . . . 7 matches
         # Function Definitions #
          for i in range(no):
         def get2line(a,b):
         # main source code #
         get2line(6,5)
         get2line(5,5)
         get2line(5,5)
  • 데블스캠프2006/월요일/연습문제/if-else/주소영 . . . . 7 matches
         #include <iostream.h>
         void main()
          int n,i;
          cin >> n;
         #include <iostream.h>
         void main()
          cin >> a;
  • 데블스캠프2006/월요일/연습문제/switch/김대순 . . . . 7 matches
         #include<iostream.h>
         //#include<stdlib.h>
         void main()
          int i,j;
          int t[10];
          int a=0,b=0,c=0,d=0,f=0;
          cin>>t[j];
  • 데블스캠프2006/월요일/연습문제/switch/이경록 . . . . 7 matches
         #include <iostream.h>
         int main(void)
          int score[10];
          int i,A=0,B=0,C=0,D=0,F=0;
          int jul=0;
          cin>>score[i];
  • 데블스캠프2006/월요일/연습문제/switch/정승희 . . . . 7 matches
         #include <iostream>
         using namespace std;
         int main()
          int n[10]={0,},p[5]={0,};
          for(int i=0;i<10;i++)
          { cin >> n[i];
  • 데블스캠프2006/화요일/pointer/문제4/이송희 . . . . 7 matches
         == 데블스캠프2006/화요일/pointer/문제4/이송희 ==
         #include <iostream>
         using namespace std;
         void main()
          cin >> buf;
          int length = strlen(buf);
          int i;
  • 데블스캠프2006/화요일/pointer/문제4/주소영 . . . . 7 matches
         #include<iostream>
         using namespace std;
         void main()
          cin >>buf;
          int length = strlen(buf);
          int i;
          int r=1;
  • 데블스캠프2009/금요일/연습문제/ACM2453/정종록 . . . . 7 matches
         #include<iostream>
         #include<math.h>
         int main()
          int n,i,t,r;
          int a[20]={0};
          std::cin>>n;
  • 데블스캠프2009/금요일후기 . . . . 7 matches
         == SPECIAL Seminar - 김창준 선배님 ==
         == Short Coding & ACM - 김수경 ==
          * '''서민관''' - 그냥 코딩도 부족한 점이 한참 많은 저한테 Short Coding은 너무 힘들었습니다. 결국 결과물도 내지 못 했고 말이지요. 그렇지만 전에 short coding을 했던 점에서 비추어 봐도 그렇고, 코드를 짧게 하면서 문제에서 요구하는 점을 정확하게 짚어내는 기술과 가장 짧고 간단하게 구현하는 기술이 늘어나는 것 같습니다. 제가 생각하기에 이 부분이 저한테 가장 부족하면서도 가장 필요한 부분이 아닌가 생각합니다. 정말 힘들지만서도 피해갈 수 없는 길이지 싶네요.
          * [송지원] - 처참했다. 내가 처참했던 이유는 Short Coding에 실패했기 때문이 아니라 Coding 자체에 실패했기 때문이다. 아이디어는 제대로 생각했는데 구현을 잘 못하겠다는 나의 첫 마디는 헛소리였다. 아이디어도 틀렸고 코딩도 처참했다. 그리고 마지막엔 아이디어를 줘도 Wrong Answer를 띄우고 말았다. (주어진 숫자에 대해서는 성공했지만 정작 1이나 2를 input으로 받으면 실패했기 때문) 줘도 못받아먹는 이 못난 인간을 어찌하면 좋으리요 ㅋㅋㅋㅋ
  • 데블스캠프2009/목요일/연습문제/다빈치코드/서민관 . . . . 7 matches
         #include <stdio.h>
         int main(void)
          int number;
          int i = 0, j = 0, m, cardnum;
          fflush(stdin);
          printf("%c %d\n", hand[j].color, hand[j].number);
  • 데블스캠프2010/다섯째날/ObjectCraft/미션1/김상호 . . . . 7 matches
         {{{#include<stdio.h>
          int gong;
          int bang;
          int hp;
         int main()
          printf("저글링 0이 저글링 1에게 데미지 %d를 입혀 HP가 %d가 되었다.\n", a[0].gong, a[1].hp);
  • 데블스캠프2011/셋째날/RUR-PLE/김태진,송치완 . . . . 7 matches
         == Sorting ==
         def line_sort():
         line_sort()
         line_sort()
         line_sort()
         line_sort()
         line_sort()
  • 데블스캠프2012/셋째날/코드 . . . . 7 matches
         <div id='mapContainer' style='width:300px;height:300px'></div>
         var myPoint = new NPoint(307942,545052);
         var myMark = new NMark(myPoint,myIcon);
         var mapObj = new NMap(document.getElementById('mapContainer'),300,300);
         mapObj.setCenterAndZoom(new NPoint(321198,529730),3);
         mapObj.setCenter(myPoint);
  • 디자인패턴 . . . . 7 matches
          * [http://www.cmcrossroads.com/bradapp/docs/pizza-inv.html - Pizza Inversion - a Pattern for Efficient Resource Consumption]
         그리고 한편으로는 Refactoring을 위한 방법이 됩니다. Refactoring은 OnceAndOnlyOnce를 추구합니다. 즉, 특정 코드가 중복이 되는 것을 가급적 배제합니다. 그러한 점에서 Refactoring을 위해 DesignPattern을 적용할 수 있습니다. 하지만, Refactoring 의 궁극적 목표가 DesignPattern 은 아닙니다.
          * http://www.econ.kuleuven.ac.be/tew/academic/infosys/Members/Snoeck/litmus2.ps - Design Patterns As Litmus Paper To Test The Strength Of Object Oriented Methods
          - DeadLink
  • 마름모출력/S.S.S . . . . 7 matches
         if __name__=='__main__':
          a=input('길이 입력')
          p=raw_input('패턴 입력 : ')
          for n in range(a+1):
          print ' '*(a-n)+p*(2*n-1)
          for n in range(a-1,0,-1):
          print ' '*(a-n)+p*(2*n-1)
  • 마름모출력/김범준 . . . . 7 matches
         if __name__ == '__main__':
          p = raw_input('패턴 입력: ')
          n = input('변의 길이 입력: ')
          for i in range(1, n+1, 2):
          print ' '*((n-i)/2), p*i
          for i in range(n-2, 0, -2):
          print ' '*((n-i)/2), p*i
  • 바퀴벌레에게생명을 . . . . 7 matches
         CBug클래스를 생성하여 바퀴벌레의 움직임을 나타내는 멤버함수(Move)와 바퀴벌레의 위치와 방향을 나타내는 멤버변수(CPoint position, int direction)를 생성.
         다큐에 RandomWalking함수를 제작하고 뷰에서 스페이스바의 키이벤트가 일어나면 0.3초의 타이머가 생성(OnTimer)되어 RandomWalking함수를 0.3마다 호출하고 변경된 위키와 방향대로 뷰에 그려준다.(OnDraw) 다시 스페이스바를 누르면 움직임을 멈춘다.
         스페이스바를 누르면 tile배열의 모든 frequency가 0이되고 처음 밟은 타일의 갯수(numberOfVirginTile)가 총 타일의 숫자와 같아진다. 바퀴벌레가 타일을 밟을 때마다 그 타일의 frequency는 늘어나고, frequency가 0인 타일을 밟았을 경우 numberOfVirginTile은 줄어든다.
         타이머의 주기마다 바퀴벌레는 움직이고 그 움직임과 각 타일의 빈도수를 뷰에 그려준다. 종료조건은 스페이스바의 키이벤트와 모든 타일을 적어도 한번씩 밟았을 경우(numberOfVirginTile == 0)이다.
  • 반복문자열/김영록 . . . . 7 matches
         #include <iostream.h>
         void string_output();
         int main()
         int i;
         string_output();
         void string_output()
  • 반복문자열/김태훈zyint . . . . 7 matches
         #include <stdio.h>
         void repeat_prt(char* string,int count)
          int i;
          puts(string);
         int main()
  • 반복문자열/조현태 . . . . 7 matches
         #include <iostream>
         using namespace std;
         void print_CAUCSE_LOVE(void);
         void main(){
          for (register int i=0; i<5; ++i)
          print_CAUCSE_LOVE();
         void print_CAUCSE_LOVE(){
  • 상협/Diary/8월 . . . . 7 matches
          * Designing Object-Oriented Software 이책 다보기 Failure (집에 내려가서 해야징.)
          * Refactoring책 대충 한번 흝어 보기 Failure (집에 내려가서 해야징.. -_-;;)
          * 뭘했는지 잘 기억이.. -_-;; WinSock 좀 보고, ["비행기게임"] 이것도 좀 하궁..
         || ["3DAlca"] || WinSock 봄 || 멀었당. ||네트워크를 위해서.. -_- ||
         || ["3DAlca"] || WinSock봐서 만들 준비 다하기 || 10% || 이룬.. -_-; ||
         || ["3DAlca"] || WinSock봐서 만들 준비 다하기 || 15% || 이룬.. -_-; ||
         || ["3DAlca"] || WinSock봐서 네떡 기반 닫기 || 아직 || 아싸 ||
  • 새싹교실/2011/A+ . . . . 7 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 참고로 ZeroWiki는 MoniWiki Engine을 사용하며 Google Chrome이나 Mozila Firefox, Safari보다는 Internet Explorer에서 가장 잘 돌아가는 것 같습니다.
          * 한종 - printf,scanf 부터 시작하여 if문 쓰는법까지 배웠다, while, do while도 언뜻 배우긴했지만 기억이 안남;
         int arr[10]={0,1,2,3,4,5,6,7,8,9}; //맞나?
          아마 이날 switch와 for, continoue, break를 배웠던것으로 기억한다.
  • 새싹교실/2013/책상운반 . . . . 7 matches
         #include <stdio.h>
          int main(){
          printf("Hello World! \n");
          printf("%d",a());
          int a(){
          * #include <stdio.h> 를 왜 쓰는 건지
  • 성당과시장 . . . . 7 matches
         국내에서는 최근(2004) 이만용씨가 MS의 초대 NTO인 [http://www.microsoft.com/korea/magazine/200311/focusinterview/fi.asp 김명호 박사의 인터뷰]를 반론하는 [http://zdnet.co.kr/news/column/mylee/article.jsp?id=69285&forum=1 이만용의 Open Mind- MS NTO 김명호 박사에 대한 반론] 컬럼을 개재하여 화제가 되고 있다.
         그외에도 [http://kldp.org/root/gnu/cb/homesteading/homesteading.ko.html 인지권의 개간], [http://kldp.org/root/gnu/cb/hacker-revenge/ 해커들의 반란]이라는 논문도 있다. [http://kldp.org/root/cathedral-bazaar/cathedral-bazaar.html 성당과시장], [http://kldp.org/root/gnu/cb/homesteading/homesteading.ko.html 인지권의 개간], [http://kldp.org/root/gnu/cb/magic-cauldron/ 마법의 솥], [http://kldp.org/root/gnu/cb/hacker-revenge/ 해커들의 반란] 순으로 씌였다.
  • 성적처리프로그램 . . . . 7 matches
         #include <iostream>
         using namespace std;
         int main()
          int i ;
          int num[5]={0} ;
          cin >> i ;
  • 소수구하기/영록 . . . . 7 matches
         #include <iostream>
         using namespace std;
         #include <ctime>
         void main()
          int counter = 0;
          for(int i = 1; i <= 50000; i++)
          for (int j = 1; j <= i; j++)
  • 소수구하기/재니 . . . . 7 matches
         #include <iostream.h>
         #include <ctime>
         int main()
          int premium[5133], count = 0;
          for (int i = 3 ; i <= 50000 ; ++++i)
          for (int j = 0 ; j <= count ; j++)
  • 시간맞추기/문보창 . . . . 7 matches
         #include <conio.h>
         #include <iostream>
         #include <ctime>
         using namespace std;
         int main()
          cout << "you win!!!\n";
  • 실시간멀티플레이어게임프로젝트/첫주차소스1 . . . . 7 matches
         print " Select "
         print " 1. Move "
         command = raw_input()
          command = raw_input()
         print command
         print earth
         print plane
         [InvestMulti - 09.22 ]
  • 웹에요청할때Agent바꾸는방법 . . . . 7 matches
         # -*- coding: euc-kr -*-
         from threading import *
          def __init__(self):
          #theUrl = 'http://www.google.co.kr/search?hl=ko&q=define:"'+word+'"'
          req.add_header('User-Agent', 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)')
          print e
         if __name__ == "__main__":
  • 위시리스트 . . . . 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 한국어판
  • 윈도우단축키 . . . . 7 matches
         윈도우키(win), Ctrl, Alt
          * win + d - 바탕화면 보기, 한 번 더 누르면 창으로 복귀
          * win + m - 바탕화면 보기,복귀 안됨
          * win + e - 탐색기 열기
          * F3, win + f - 파일 찾기 열기
          * win + r - Start 메뉴의 실행
          * win + pause break - 시스템 정보
  • 이영호/숫자를한글로바꾸기 . . . . 7 matches
         #include <string.h>
         const char *change(int num)
          int i; // for for - _ - kidding. kiki~
          int buf;
          int count=0; // 자릿수.
  • 장용운/템플릿 . . . . 7 matches
         #include <iostream>
         using std::cout;
         using std::cin;
         using std::endl;
         int main(void) {
  • 정규표현식/소프트웨어 . . . . 7 matches
         = windows =
          http://hackingon.net/image.axd?picture=WindowsLiveWriter/AdhocStringManipulationWithVisualStudio/7EA25C99/image.png
         = linux =
         == grep, find ==
          * grep, find 에서 regex를 지원한다.
  • 주민등록번호확인하기/김영록 . . . . 7 matches
         #include <stdlib.h>
         #include <iostream.h>
         int main()
          int sum=0;
          int count = 0;
          cin >> reg_num ;
  • 즐겨찾기 . . . . 7 matches
         [http://xper.org/wiki/seminar/RecentChanges XperSeminar]
         [http://www.passioninside.com 구근이형 개인위키]
         [http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Practices/Kata]
         [http://dbmain.snu.ac.kr/maro/books.html 책]
         [http://www.winapi.co.kr/ WINAPI]
         [http://www.cinsk.org/cfaqs/html/ C에서 자주묻는질문]
  • 창섭/통기타 . . . . 7 matches
         || [http://165.194.17.15/~wiz/cgi-bin/MoinMoin/wiki-moinmoin/moin.cgi/_c5_eb_b1_e2_c5_b8?action=highlight&value=음악분류#line23 창섭의 개인위키] ||
  • 최대공약수/문보창 . . . . 7 matches
         import java.math.BigInteger;
          public static void main(String[] args)
          Scanner input = new Scanner(System.in);
          BigInteger bigInteger1, bigInteger2, gcdNum;
          bigInteger1 = input.nextBigInteger();
          bigInteger2 = input.nextBigInteger();
          gcdNum = bigInteger1.gcd(bigInteger2);
          System.out.println("The GCD of " + bigInteger1 + " and " + bigInteger2 + " is " + gcdNum);
  • 타도코코아CppStudy/0724 . . . . 7 matches
          * Higher Order Programming
          * [Refactoring]
          * Higher Order Programming
          * OWIKI:Refactoring
         || 파스칼의 삼각형 || [수진] || Upload:pascal_sujin.cpp || 헉.. 줄까지 맞추다니 멋져요.^^ 함수 분리도 꽤 잘한거 같고.. 무엇보다 다른 개념(조합)을 사용했네요. 여태까지 한 사람들은 거의 다 위에꺼 더해서 했거든요. 하지만 로직과 보여주는게 분리가 안되어 있네요. 이따 저와 함께 고쳐 봅시다. ||
         || 랜덤워크 || [정우] || Upload:random_winy.cpp || 저랑 같이 고쳐봅시다. 고칠게 많네요. 결과는 제대로 되었지만... 이런 식으로 짠 코드는 나중에 수정하기가 골치아프답니다. ||
         || 마방진(홀수) ||[정우] ||Upload:mabang_winy.cpp || 잘했어요. 고칠 거리가 좀 있긴 하지만.. 스스로 고쳐 보세요. 랜덤워크를 저와 함꼐 고쳐보면서 배운걸 마방진 고치는데 적용해 보세요. ||
  • 토이/메일주소셀렉터/김남훈 . . . . 7 matches
         [a-zA-Z] { printf("%s ", yytext); }
         domain_name [0-9A-Za-z][-0-9A-Za-z]*[0-9A-Za-z]
         last_domain com|net|co\.kr
         mail_address {mailname}@({domain_name}\.)+{last_domain}
         {mail_address} { printf("true.\n"); }
         .+ { printf("false.\n"); }
  • 튜터링/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
         || [김수경] || 15min || 29 || Python || [:파스칼삼각형/김수경#s-3 파스칼삼각형/김수경2] ||
         || [윤종하] || C++: 3 min / Python: 15min || C++: 32 / Python: 19 || C++, Python || [파스칼삼각형/윤종하] ||
         || [김수경] || 6min || 14 || C || [파스칼삼각형/김수경] ||
         || 김태훈([zyint]) || 30분 || . || C || [파스칼삼각형/김태훈zyint] ||
         || 김남훈 || 5min || 5 || scheme || [파스칼삼각형/김남훈] ||
  • 피보나치/김진목 . . . . 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
         #include<stdio.h>
         main(void)
          int a;
          int i;
          printf("몇단을 외우실꺼예요?\n");
          printf("단을 외울꺼예요~\n");
          printf("%d×%d=%d\n",a,i,a*i);
  • 현재 위키에 어떤 습관이 생기고 있는걸까? . . . . 7 matches
          * URL이나 dos, unix 디렉토리 구조 같아서 친숙한 것 같다. 프로그래머나 컴퓨터 파워유저는 익숙한것 같지만, 한국말에는 어울리지 않는 것 같다. --NeoCoin
          * 그것이 왜? 편한 길인가 앞으로도 편할수 있는 길인가? 나쁜점은 왜 나쁜가? 하는 것을 이야기 하자는 것이지요. 저 이야기에는 분명 많은 부분이 생략되었을 겁니다. 이 길을 내도 되는건가? 왜 사람들이 많이 다닐까? 하는 고민들이요. OneWiki 에 길을 보면서 생각해 BoA요. --NeoCoin
          * 원래 빈칸도 잘 들어 갑니다. 하지만 여전히 검색은 보장 못하지요. --NeoCoin
          * 외국에서 개발되어서 어쩔수 없다기 보다, 현재 Web 인코딩을 그대로 filename에 가져다 쓰기 때문입니다. python 스크립트 만들어저 지워요. --NeoCoin
          * 페이지가 잘못만들어 지면 로그인해서 지운다. 반하여 ZeroWiki 와 차별되는 점 --NeoCoin
          * 좀 이상한(...라기보다는 제로위키에서였다면 생소했을) 페이지(ex) [InterestingCartoon], [GoodMusic], [창섭이 환송회 사진])를 만들어봤다. --[인수]
          과연 있을까나? --NeoCoin
  • 호너의법칙 . . . . 7 matches
         === input ===
          int a[11] = {3,3,3,3,3,3,3,3,3,3,3}
         |index| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
          || 김태훈([진트]) || C || || [호너의법칙/김태훈zyint] ||
         입력이 정말 저런모양인 것인가??? 앞에 int라고까지 적혀있다닛..;;한자씩 입력받는건가? 아니면 저 모양으로 파일입력? 아니면 소스내부에 존재?
          - 죄송 ! input안의 내용이 입력받아도 되고, 선언해도 될 듯, 선언이 더 나을것 같음.
         an 요거 n이 아래첨자군요 -_-;;;........ 태훈[zyint]
  • 05학번만의C++Study/숙제제출1/정서 . . . . 6 matches
         #include "iostream"
         using namespace std;
         using std::endl;
         int main()
          cin >> celsius ;
  • 1~10사이 숫자 출력, 5 제외 (continue 문 사용) . . . . 6 matches
         #include <iostream>
         using namespace std;
         int main()
          for ( int i = 1 ; i <= 10 ; i++)
          continue;
  • 2010JavaScript/강소현/연습 . . . . 6 matches
          document.getElementById("contents").innerHTML=txt;
         <input type="text" size="30" id="email" onchange="checkContent()" alt="내용 변화 감지"><br>
         <input type="button" value="메세지 출력" onclick="displaymessage()"><br>
         <input type="text" id="txt"><input type="button" value="초시계" onClick="timedCount()">
         document.getElementById("desc").innerHTML=txt;
  • 3DGraphicsFoundation/MathLibraryTemplateExample . . . . 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);
  • 3N+1Problem . . . . 6 matches
         학교에서 무료함을 달래기 위해 acm programming contest 기출문제를 풀어보는데, ToyProblems 에서도 다룰만한 쉬운 문제가 있기에 이렇게 소개합니다. [http://acm.uva.es/p/v1/100.html 원문보기]
         1. input n
         2. print n
          || [임인택] || [HaskellLanguage] || 30분 || [http://janbyul.com/moin/moin.cgi/HaskellLanguage/3N%2B1Problem 여기] || . ||
         See also BioinfoWiki:AlgorithmQuiz/3Plus1
  • 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 을 통한 분석 & 설명을 중간중간 이용하기.
  • Ajax2006Summer/프로그램설치 . . . . 6 matches
          * 필요한 것은 '''Eclipse 3.2 Platform Runtime Binary''' 입니다. 용량은 33메가 정도입니다 : [http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.2-200606291905/eclipse-platform-3.2-win32.zip LINK]
         3. Workspace 설정 후 '''Help''' - '''Software Updates''' - '''Find and Install''' 을 선택합니다.
         4. 다음 다이얼로그에서는 '''Search for new features to install''' 을 선택 후 '''Next>'''를 클릭합니다.
         5. 맨 위의 '''Callisto Discovery Site'''에 체크박스를 한 후 '''Finish'''를 클릭합니다.
         9. '''Finish''' 를 선택합시다. 그러면 알아서 다운로드를 합니다.
         10. 다운로드가 끝나면 중간에 설치할 것이냐고 물어보는데 '''Install All'''을 선택해 줍시다.
  • Ant/TaskOne . . . . 6 matches
          <target name="init">
          <target name="compile" depends="init">
          <!-- Compile the java code from ${src} into ${build} -->
          <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
  • 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/진행상황"]
  • Benghun . . . . 6 matches
         다른 곳으로 이사중 [http://earth.uos.ac.kr/~puteri/cgi-bin/puteri/wiki.cgi?강병훈 강병훈]
          nosmok - moin 으로 바꾸어서 이런 [FrontPage] 링크가 됩니다. 그리고 로그인 기능을 풀어 놨으니 해보세요. 편해요. --NeoCoin
         혹시 다음에서 일하세요? --NeoCoin
          그렇군ㅇ. ^^; 제가 지금 다음에 머무르고 있어서, 혹시나 했습니다. --NeoCoin
          그냥 뭐 홈페이지 만들지요 ;; --NeoCoin
  • C++Seminar03/SimpleCurriculum . . . . 6 matches
         [C++Seminar03]에서 진행하게 될 대강의 커리큘럼. 각 주에 하면 좋을것 같은 내용들을 간단하게 정리해둡니다. 페이지 크기가 커지면, 하위페이지로 [문서구조조정]을 할 것입니다.
          ===== Opening Lecture =====
          ===== Main Study =====
          ==== Opening Lecture ====
          ==== Main Study ====
         See also [C++Seminar03/SimpleCurriculum]
  • C/Assembly . . . . 6 matches
         Linux Kernel : 2.6.12-1-386
         -fomit-frame-pointer 함수를 call 할때 fp를 유지하는 코드(pushl %ebp, leave)를 생성하지 않도록 한다.
         -E Preprocess only; do not compile, assemble or link
         -S Compile only; do not assemble or link
         -o Compile and assemble, but do not link
         [C/Assembly/Main]
  • CNight2011/권순의 . . . . 6 matches
         == Round 2 - Linked List ==
          * Linked List에서의 삽입과 삭제
          * Linked List의 정의
          * Linked List의 단점
          * Linked List의 Interface
          * Linked List의 알고리즘과 구현 설명
  • CodeRace/20060105/Leonardong . . . . 6 matches
          for mark in ''',.'():;~=-?!`''':
         for word in f.read().split():
          if word in result.keys():
         for word, count in result.items():
         for each in report:
          print each[0], each[1], asciiSum(each[0])
  • 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/하기웅] ||
  • ComputerGraphicsClass . . . . 6 matches
         [OpenGL_Beginner]
         === examination ===
         실제 수업의 경우는 OpenGL 자체가 주는 아니다. 3DViewingSystem 이나 Flat, Gouraud, Phong Shading 등에 대해서도 대부분 GDI 로 구현하게 한다.(Flat,Gouraud 는 OpenGL 에서 기본으로 제공해주는 관계로 별 의미가 없다)
         Project 에 걸리는 시간이 꽤 크므로, 미리미리 스케줄링을 잘 할 필요가 있다. Viewing System 이나 Ray Tracing 은 일주일 이상 조금씩 꾸준하게 진척하기를 권함.
  • ComputerGraphicsClass/Exam2004_1 . . . . 6 matches
         Scanline Filling - 각 부분에 대해 어떤 일들이 일어나는지 쓰시오
         Homogeneous Coordination 에 대해 쓰고 왜 Computer Graphics 분야에서 많이 이용되는지 쓰시오
         Anti Aliasing : 배경의 명도가 90이고 칠해진 부분은 0 이 된다. Sub Pixel 은 9 일때 각 부분에 대한 명도값을 구하시오
         Clipping 알고리즘중 Liang-Barsky 를 설명하시고 Cohen-Sutherland 알고리즘보다 성능이 뛰어난 이유에 대해 쓰시오.
         3D Graphic Pipeline 을 그리고 각 부분의 transformation 에 대해 설명하시오
  • ConnectingTheDots . . . . 6 matches
         SoftwareDevelopmentMagazine 에 소개된 ModelViewPresenter 관련 구현 예.
         http://www.sdmagazine.com/documents/s=7147/sdm0206b/0206b.htm
         BoardPanel - View. 실제 Swing 등 구체적 라이브러리들을 이용, 실제 표현을 한다. BoardPresenter 와 상호참조 관계를 가진다.
         관계를 맺는 코드는 Dots.java 에 있다. 즉, initialize() 를 보면 다음의 코드가 나온다.
          _game = new Game(4, Arrays.asList(new String[] {"JL", "TL", "KML"}));
         BoardPanel.mouseReleased -> BoardPresenter.processClick -> Game.join 식으로 호출되며
         Game.boxClosed -> listener.boxClosed (여기서 listener 는 Presenter. Presenter 들은 여러개가 될 수 있다. Game 객체에 addListener 로 등록된 만큼) -> BoardPanel.drawInitials. 식으로 도메인 모델로부터 올라온다.
  • ConvertAppIntoApplet/진영 . . . . 6 matches
         import javax.swing.*;
          public void paintComponent(Graphics g)
          super.paintComponent(g);
          g.drawString("Not a Hello, World applet", 75, 100);
          public void init()
          Container contentPane = getContentPane();
         ["JavaStudyInVacation/진행상황"]
  • Counting . . . . 6 matches
         [http://online-judge.uva.es/p/v101/10198.html 원문보기]
         === About [Counting] ===
         === Input ===
         === Sample Input ===
          || 김상섭 || C++ || . || [Counting/김상섭] ||
          || 황재선 || Java || . || [Counting/황재선] ||
          || 문보창 || C++ || . || [Counting/문보창] ||
          || 하기웅 || C++ || 2시간 || [Counting/하기웅] ||
  • CssMarket . . . . 6 matches
         || /pub/upload/linegap2.css || Upload:linegap2.css || . ||
         || /~gochi/cgi-bin/moin/css/wiki.css || [http://zeropage.org/~gochi/cgi-bin/moin/css/wiki.css wiki.css] || 꽃단장~ ||
  • 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;
  • DrawMacro . . . . 6 matches
         Q: Mac 에서는 편집이후에 drawing 화면이 없어지지 않습니다.
         {{{applets/TWikiDrawPlugin/}}}로 가서 {{{gmake}}} 혹은 {{{make}}} 명령을 하여 설치한다.
         윈도우즈의 경우는 다음의 파일을 받아서 직접 압축을 풀어준다. {{{applets/TWikiDrawPlugin/}}}twikidraw.jar 및 *gif 파일이 있게끔 해야 한다.
         http://twiki.org/p/pub/Plugins/TWikiDrawPluginDev/TWikiDrawPlugin.zip
  • ExploringWorld/20040315-새출발 . . . . 6 matches
         || NeoCoin || 탄핵 || 동생 PC세팅 || 여러분과 만남, 정말 이것밖에 없군요. :) ||
          * Win 2000 + IIS
          * JSP, Servlet Container란 무엇인가? -> 시간상 이번주가 불가능해서 다음주에 여행자가 안내자에게 설명해 주기로 하였습니다.
          * 안내자(NeoCoin)이 서버의 종합적인 업그레이드 과정에서 리부팅 시도후 되지 않습니다.
         상민(NeoCoin)
         ExploringWorld
  • ExtremeBear/VideoShop/20021105 . . . . 6 matches
          * PairProgramming 을 하며 TDD 에 몰두할 수 있었다.
          * TDD 를 상대적으로 초보인 사람과 PairProgramming 을 해서인지 페이스를 느리게 한다는 의미를 실감할 수 있었다. (세부적으로 전부 테스트)
          * 5분 PairProgramming 이 좋았다. TDD 가 쉽고 재미있었다.
          * PairProgramming 과 TDD 덕분에 자기절제가 되어(독단을 방지) 그다지 큰 버그는 없었다.
          * PairProgramming 으로 인해 많이 알고 공부의 동기부여가 되었다.
          * 11월 13일까지 TDD와 PairProgramming 을 익숙하게 단련한다.
  • Factorial/영동 . . . . 6 matches
         {{{~cpp #include<iostream.h>
         main()
          int sum=1;
          int i, num;
          cout<<" input number: ";
          cin>>num;
  • FoundationOfUNIX . . . . 6 matches
         = Foundation Of UNIX =
          * UNIX 사용법에 대한 기초를 알려 줍니다.
          * [http://zeropage.org/~neocoin/putty.exe putty Client] 여기서 프로그램 다운 받아서 깔아서 접속하세요
          * 몇시간 정도 밖에 못할것을 감안하여, 그렇게 많은 내용을 전달할것 같지는 않고, 실습 위주로 간다히 UNIX 사용법에 대한 맛만 보여줄 것을 목표로 잡았습니다.
          * find ./ -name '*.txt' (./ 현재 디렉토리 이후 모두 검색 , -name 파일을 이름으로 찾는 것을 의미, '*.txt' 패턴)
          * find ./ -name '*.txt' -ls -exec rm {} \; (현재 디렉토리 이후 *.txt 인파일을 모두 찾아서 지우기.
          * i - input 입력 모두로 전환
          * see also ["linux필수명령어"]
          * 쉘 스크립트 짜기 [http://kldp.org/KoreanDoc/Shell_Programming-KLDP kldp 쉘 프로그래밍 참고 강좌]
  • GIMP . . . . 6 matches
          * Linux 스샷
          http://www.gimp.org/screenshots/linux_screenshot2.png
          * Unix 스샷
          http://www.gimp.org/screenshots/windowsxp_screenshot1.png
          http://www.gimp.org/screenshots/windowsxp_screenshot2.png
          http://www.gimp.org/screenshots/windowsxp_screenshot3.png
  • GRASP . . . . 6 matches
         '''''이 내용은 Applying UML and Patterns CHAPTER 22 [GRASP]에서 얻어온 것입니다'''''
         == Information Expert ==
         == Low Coupling ==
          일관된 interface를 사용
         == Indirection ==
         그 외에 [DavidParnas]의 On the Criteria To Be Used in Decomposing Systems Into Modules에서 [InformationHiding] 개념을 소개했고 [DataEncapsulation]과 혼동하는 경우가 많았다고 말해주네요. [OCP]에 대해서도 이야기해 주고 ...
  • Hacking/20041028두번째모임 . . . . 6 matches
          http://www.debian.org/devel/debian-installer
          [http://khdp.org/docs/trans_doc/phrack-51-11.txt Phrack 51호 The art of scanning 번역]
          cd, pwd, man, ls, cp, rm, mkdir, rmdir, mv, cat, more, less, grep, find, echo, uname, adduser, passwd, id, su
          http://www.hackerslab.org/korg/index.fhz?menu=fhz
          User Mode Linux 혹은 VMWare 를 이용.
         [Hacking]
  • HelpOnActions . . . . 6 matches
          * `info`: 페이지 정보 및 과거 이력
          * `print`: 페이지를 프린트 뷰로 보기. 상단과 하단의 메뉴가 나오지 않고 콘텐츠를 위주로 나옵니다.
          * `subscribe`: 페이지 구독 SubscribePlugin 참조
          * `titleindex`: 페이지 목록을 텍스트로 보내거나 (Self:?action=titleindex) XML로 (Self:?action=titleindex&mimetype=text/xml'''''') 보내기; MeatBall:MetaWiki 를 사용할 목적으로 쓰임.
  • HelpOnEditing . . . . 6 matches
          * HelpOnFormatting - 기본적인 텍스트 포매팅 문법
          * HelpOnLinking - 페이지간 연결과 이미지 넣기
          * HelpOnHeadlines - 단락별 제목 쓰기
          * HelpOnProcessingInstructions - 페이지 제어
         [[Navigation(HelpOnEditing)]]
  • HelpOnHeadlines . . . . 6 matches
         "="로 시작해서 "="로 끝나는 줄은 섹션의 제목(Heading)이 됩니다. 다섯단계 이상일 경우는 모두 <h5>로 렌더링 됩니다.
          = Heading <h1> 일반적인 경우 사용하지 않습니다. =
          == SubHeading <h2> ==
          = Heading <h1> 일반적인 경우 사용하지 않습니다. =
          == SubHeading <h2> ==
         [[Navigation(HelpOnEditing)]]
  • HelpOnTables . . . . 6 matches
         그밖에 위키 문법은 HelpOnEditing를 참고하세요.
         ||셀 1||||spanning 2 columns||
         ||셀 1||||spanning 2 columns||
         ||<align="right">cell 1||||spanning 2 columns||
         TableFormatting을 참고하세요
         [[Navigation(HelpOnEditing)]]
  • HierarchicalDatabaseManagementSystem . . . . 6 matches
         A hierarchical database is a kind of database management system that links records together in a tree data structure such that each record type has only one owner (e.g., an order is owned by only one customer). Hierarchical structures were widely used in the first mainframe database management systems. However, due to their restrictions, they often cannot be used to relate structures that exist in the real world.
  • HowToStudyRefactoring . . . . 6 matches
         ["Refactoring"]을 혹은 동명의 책을 공부하는 법
         OOP를 하든 안하든 프로그래밍이란 업을 하는 사람이라면 이 책은 자신의 공력을 서너 단계 레벨업시켜 줄 수 있다. 자질구레한 기술을 익히는 것이 아니고 기감과 내공을 증강하는 것이다. 혹자는 DesignPatterns 이전에 ["Refactoring"]을 봐야 한다고도 한다. 이 말이 어느 정도 일리가 있는 것이, 효과적인 학습은 문제 의식이 선행되어야 하기 때문이다. DesignPatterns는 거시적 차원에서 해결안들을 모아놓은 것이다. ["Refactoring"]을 보고 나쁜 냄새(Bad Smell)를 맡을 수 있는 후각을 발달시켜야 한다. ["Refactoring"]의 목록을 모두 외우는 것은 큰 의미가 없다. 그것보다 냄새나는 코드를 느낄 수 있는 감수성을 키우는 것이 더 중요하다. 본인은 일주일에 한 가지씩 나쁜 냄새를 정해놓고 그 기간 동안에는 자신이 접하는 모든 코드에서 그 냄새만이라도 확실히 맡도록 집중하는 방법을 권한다. 일명 ["일취집중후각법"]. 패턴 개념을 만든 건축가 크리스토퍼 알렉산더나 GoF의 랄프 존슨은 좋은 디자인이란 나쁜 것이 없는 상태라고 한다. 무색 무미 무취의 無爲적 自然 코드가 되는 그날을 위해 오늘도 우리는 리팩토링이라는 有爲를 익힌다. -- 김창준, ''마이크로소프트웨어 2001년 11월호''
          * Minimize Comments : 코드의 가독성을 떨어뜨리지 않거나 혹은 오히려 올리면서 주석을 최소화하도록 노력한다. 이렇게 하면, 자동으로 리팩토링이 이뤄지는 경우가 많다.
          * Pair Refactoring : 함께 리팩토링한다. 혼자 하는 것 보다 훨씬 빨리 훨씬 더 많은 것을 배울 수 있다. 특히, 각자 작성했던 코드를 함께 리팩토링하고, 제삼자의 코드를 또 함께 리팩토링해 보라. 사람이 많다면 다른 페어가 리팩토링한 것과 서로 비교하고 토론해보라.
  • IndexingScheme . . . . 6 matches
         An IndexingScheme is a way to navigate a wiki (see also MeatBall:IndexingScheme).
         MoinMoin supports these IndexingScheme''''''s:
          * TitleIndex
          * WordIndex
          * FindPage
  • InterestingCartoon . . . . 6 matches
         만화란 것이 Animation을 이야기 하는건가요? comics 를 이야기 하는건지요? --NeoCoin
          저에게는 모호합니다. 애니와 코믹스도 크게 나눈 것입니다. 저에게 슬레이어즈의 경우 애니는 Slayers와 Slayers Next수작이지만 Try와 극장판은 평작으로 생각하거든요. 베르세르크만 해도 애니는 평작, 코믹스는 수작으로 생각합니다. 반면 더파이팅은 둘다 저에게는 수작입니다. 슬램덩크는 저에게 코믹스는 수작, 애니는 쓰레기 입니다. --NeoCoin
          중복이 가능하지 않을까요? 다시 봤는데, 영 아니다. 이런 것 말이지요. --NeoCoin
          추억편은 OVA 4편으로 나왔지만, 이들을 묶어서 극장판으로 나왔습니다. 화면비가 다릅니다. 성상편은 극장판 유무는 기억안나네요. 성상편은 모르겠음. --NeoCoin
         이 페이지 점점 무의미해 지는것 같네요. 각 애니별로 위키 페이지가 있어서 간단히 소감을 쓰면 모를까, 단순한 제목 나열에 불과하게 되어 버리는것 같네요. --NeoCoin
         란마 181편 3일 그건 미친짓.. --NeoCoin
  • JAVAStudy_2002 . . . . 6 matches
         관리 : ZeroPage 00 최광식(["woodpage"]) 00 정직(["fnwinter"]) [[BR]]
         목표: JAVA를 이용, 다중 Chattiing 프로그램을 작성한다. [[BR]]
         swing 약간과 기타 Java 관련 기초 지식 습득. [[BR]]
          * 2월 4일 : Core Java 책 Event Handling 부분 다보고 나서 이제 Swing 부분 보기 시작 했습니다.
         현재 Java swing API중 버튼이나.. 텍스트 박스에 대한 것을 익혔습니다.(Application쪽..)[[BR]]
  • JUnit . . . . 6 matches
          * http://www.yeonsh.com/index.php?display=JUnit - 연승훈씨의 홈페이지. Cook Book (주소변경)
          * http://huniv.hongik.ac.kr/~yong/moin.cgi/JunitSampleCode - 박응용씨의 위키페이지. JUnit 간단한 예제.
         그리고 배치화일 디렉토리에 path 를 걸어놓고 쓰고 있죠. 요새는 JUnit 이 포함되어있는 IDE (["Eclipse"], ["IntelliJ"] 등등)도 많아서 이럴 필요도 없겠지만요. ^^ --석천
         java junit.swingui.TestRunner %1
          JUnit 에서 UnitTest (PyUnit) 에서처럼 testing message 나오게 하려면 어떻게 해야 하죠..? -임인택
          그 '''에서처럼''' 이란것이 무엇이지요? --NeoCoin
          PyUnit 에서 argument 로 -v 를 주면 testing message 가 나오지 않습니까..?
  • JavaStudy2004/클래스 . . . . 6 matches
         import javax.swing.*;
          private String sentence;
          public HelloWorld(String temp)
          public void setSentence(String temp)
          public static void main(String args [])
  • LinkedList . . . . 6 matches
         || 세연 || ["LinkedList/세연"] || C++ ||
         || 영동 || ["LinkedList/영동"] || C++ ||
         || 영동 || ["LinkedList/StackQueue"] || C++ ||
         || 희경 || ["LinkedList/학생관리프로그램"] || C ||
         || 이영호 || ["LinkedList/숙제"] || C ||
         || [아무개] || ["LinkedList/C숙제예제"] || C ||
  • 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++)
  • Monocycle . . . . 6 matches
         [http://online-judge.uva.es/p/v100/10047.html 원문보기]
         [http://online-judge.uva.es/p/v100/p10047a.gif]
         [http://online-judge.uva.es/p/v100/p10047b.gif]
         === Input ===
         각 테스트 케이스에 대해 먼저 아래 출력 예에 나와있는 식으로 테스트 케이스 번호를 출력한다. 자전거가 도착지점에 갈 수 있으면 아래에 나와있는 형식에 맞게 초 단위로 그 지점에 가는 데 걸리는 최소 시간을 출력한다. 그렇지 않으면 "destination not reachable"이라고 출력한다.
         === Sample Input ===
         destination not reachable
         minimum time = 49 sec |}}
  • NS2 . . . . 6 matches
         Networking과 관련된 여러 이론과 아이디어를 가상으로 실험해 볼 수 있는 시뮬레이터. 네트워킹과 관련된 논문에서 가설에 대한 검증을 할때 실제 실험을 해 보는 경우가 아니면 99% 이상이 시뮬레이터를 이용한다.
         Ns is a discrete event simulator targeted at networking research. Ns provides substantial support for simulation of TCP, routing, and multicast protocols over wired and wireless (local and satellite) networks.
         [http://evanjones.ca/ns2.html Getting Started With ns2]
         [http://www.geocities.com/rajesh_s_george/ns-beg.html ns2 for beginners]
         [http://w3.antd.nist.gov/wctg/manet/ns2-wctg.html using ns2]
  • NextEvent . . . . 6 matches
         오, 정말 확 뒤집어지는 듯한 느낌의 제안이십니다. 말빨을 키워야 겠네요. ;; 검색과, 구상중 --["neocoin"]
          방학이겠지 뭐 --["neocoin"]
         현재 재학 중인 학생들 중 단 한 명이라도 오는 14, 15일의 Seminar:ReadershipTraining 에 와서 "공부하는 방법"을 배워가면, 그리고 그 문화를 퍼뜨릴 수 있다면 참 좋겠습니다. --JuNe
         http://alvin.jpl.nasa.gov/gat/ftp/study.txt
  • One/피라미드 . . . . 6 matches
         #include <stdio.h>
         void main()
          int i,j,k;
          printf("숫자를 입력하시오."); scanf("%d",&j);
          printf("*");}
          printf("\n");
  • PHP Programming . . . . 6 matches
         = PHP Programming =
         [혜영] Professional PHP Progamming, Jesus Castagnetto 외 4명 공저(김권식 역), 정보문화사 [[BR]]
          * [PHP Programming/HtmlTag]
          * 마이티프레스던가 거기서 개정증보판으로 나온 PHP책두 꽤 좋아~ Professional PHP Programming 책은 약간 읽기 답답할 수가 있거든..^^ 음.. 그 책 갖구 있는 넘으로서는 윤군이 있지..
          * 저도 객원으로 껴주세요.. 전 다른책을 볼 생각이라서요. 'Beginning PHP 4' 인가? 아무튼 그거도 빨간책인데. 'Professional' 은 아무래도 무리스러워서. 승낙해주시면.. 가끔 문서화에 약간의 도움이라도..; -zennith
  • PairSynchronization . . . . 6 matches
         NoSmok:PairDrawing 이 있긴 한데, 여기서는 개발자들끼리의 대화이므로 다른것을 써도 좋겠네요. PairModeling? --["1002"]
         ["sun"]이 PairProgramming을 하기에 앞서 CrcCard 섹션을 가지게 되었는데, 서로의 아이디어가 충분히 공유되지 않은 상태여서 CrcCard 섹션의 진도가 나가기 어려웠다. 이때 - 물론, CrcCard 섹션과는 별도로 행해져도 관계없다. - 화이트보드와 같은 도구를 이용해서 서로가 생각한 바를 만들어나가면서, 서로의 사상공유가 급속도로 진전됨을 경험하게 되었다.
          1. 순서를 바꿔가며 하나의 개념을 화이트보드에 그리고, 각 개념은 선으로 그어 표시한다. See Also: MindMapConceptMap
          1. PairSynchronization 이후, CrcCard 섹션이나 PairProgramming을 진행하게되면 속도가 빨리지는 듯 하다. (검증필요)
         See Also NoSmok:PairDrawing
  • PolynomialCoefficients/문보창 . . . . 6 matches
         #include <iostream>
         using namespace std;
         void main()
          int n, k, i, j, temp1, temp2, coeffi;
          while (cin >> n >> k)
          cin >> coeffi;
  • Profiling . . . . 6 matches
         '''Profiling'''(프로파일링)은 원하는 부분의 프로그램 성능을 측정하는 성능 테스트이다.
         80%의 소프트웨어 유지의 노력은(maintenance effort)는 20%의 코드에 쏟아 부어진다.
         '''Profiling'''(프로파일링)은 원하는 부분의 프로그램 성능을 측정하는 성능 테스트이다.
         == Profiling 의 방법 ==
          || C/C++ || [C++Profiling] ||
          || [Java] ||JavaProfiling ||
  • ProgrammingLanguageClass/2006 . . . . 6 matches
         [ProgrammingLanguageClass/2006/Report1]
         [ProgrammingLanguageClass/2006/Report2]
         [ProgrammingLanguageClass/2006/Report3]
         = Examination =
         [ProgrammingLanguageClass/2006/EndTermExamination]
  • ProjectGaia/계획설계 . . . . 6 matches
          - - ... - Pointer - Pointer - Pointer - Pointer -
          * LSP(Last Slot Pointer)는 슬롯에 있는 ID를 B-Search하기 위해서 가장 안쪽 슬롯의 위치를 가리키도록 함.
          ==== 3. 레코드 삽입 - insert_s() ====
  • ProjectPrometheus/AT_BookSearch . . . . 6 matches
          "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, */*"}
          print response.status, response.reason
          print response.status, response.reason
         if __name__=="__main__":
          unittest.main(argv=('','-v'))
  • ProjectPrometheus/Iteration1 . . . . 6 matches
         === 1st Iteration - 10 Task Point 완료 ===
         || Task || Point (Pair 기준 1시간 : 1 point) || 진행상황 ||
         || HTML Parsing || 2 || ○ (2시간) ||
         || HTML Parsing 결과를 Object 로 반환 || 1 || ○ (1시간) ||
         || Debian Server Setting; || 0.2 || ○ (20분) ||
  • 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/Iteration8 . . . . 6 matches
         || Task || Point || 진행여부 ||
         || Admin 공지 || 0.5 || ○ ||
         || Shoping Cart(가제) 기능 || . || . ||
         |||||| Admin 모드 제작 ||
         || Admin AT || .|| . ||
         || ["ProjectPrometheus/CollaborativeFiltering"] 설명 작성 ||
  • 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 를 제공받아 이용할 수 있다.
  • ProjectZephyrus/일정 . . . . 6 matches
         http://zeropage.org/moin/moin.cgi/ProjectZephyrus
         http://zeropage.org/moin/moin.cgi/ProjectZephyrus_2f_c0_cf_c1_a4
         ||5.31(금)||7시||상규,상민||login 부분 정보 제공 부분 완료||
         ||5.31 (금)||영서 - 10시, 창섭 - 3시|| 클라이언트 1차 - Simple Server 에 login 관련 메세지 보내기까지. || ○ ||
  • PyIde/Exploration . . . . 6 matches
         Vim python box 써보다. VIM 의 해당 기능에 대한 빠른 Integration 은 놀랍기 그지없다. (BRM 이건, python 관련 플러그인이건)
         http://www.scintilla.org/ScintillaDoc.html
         BoaConstructor 로 UI 작업하고, 위험하겠지만 어차피 Spike 라 생각하고 Test 없이 지속적으로 리팩토링을 해 나가면서 prototype 을 만들어나갔다. StepwiseRefinement로 진행하니까 코드가 짧은 시간에 읽기 쉽고 빨리 진행되었다.
         약간만 Refactoring 해서 쓰면 될듯. Runner abstract class 추출하고, TestResult 상속받은 클래스 만들고,. Test Loading 은 TestLoader 그대로 쓰면 될것 같다.
         Eric 의 Qt Unittest 모듈이랑, PyUnit Tkinter 코드를 보니, 거의 바로 답이 나와버린 것 같긴 하다.
  • RedThon . . . . 6 matches
          {{|Many programmes lose sight of the fact that learning a particular system or language is a means of learning something else, not an goal in itself.
         AnswerMe 혹시 [김동경] 이라는 사람의 개인페이지가 RedThon 이기도 한가요? 그럼 이 페이지의 이름을 바꾸어야 할텐데요?--NeoCoin
          [http://turing.cafe24.com 왕초보 파이썬] 『열형강의 파이썬』 저자 이강성씨가 만든 파이썬 기초를 가르쳐주는 페이지입니다. 간단하게 따라해보세요.^^ --[Leonardong]
  • 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)
  • SingletonPattern . . . . 6 matches
         프로그램 내에서 오직 하나만 존재해야만 하는 공용 객체에 대한 해결방법. (내용에 대해서는 ["Gof/Singleton"] 참조)
         SingletonPattern 은 남용할 경우 위험하다. 여전히 Global object 이기 때문이다. 즉, Singleton 을 이용하는 모든 모듈은 Singleton Object 와 관계를 맺고 있는 것이 된다.
         적절한 상속관계와 오브젝트를 인자로 넘겨주는 방법으로 Singleton 의 남용을 적절하게 줄일 수 있는 경우가 많다.
         이전에 ProjectZephyrus 를 프로그래밍할때 느낀점이라면, 초반에 디자인을 할 때 일수록 Singleton 을 쓸 생각을 하지 않는것이 좋겠다는 점이다. 초반에 디자인을 할때엔 (특히 Conceptual Model 단계정도만 생각하고 프로그래밍에 들어가는 사람의 경우) 어떠한 클래스건 대부분이 인스턴스가 한개이다. -_- 그렇다고 이 모든 것들을 글로벌 객체로 만들어내는 것은 그리 좋지 않다. --["1002"]
  • StaticInitializer . . . . 6 matches
         Static Initializer 는 이러한 값들을 미리 셋팅하기 위해 사용하며 다음과 같은 문법을 이용한다.
         문제는 StaticInitializer 부분에 대해서 상속 클래스에서 치환을 시킬 수 없다는 점이다. 이는 꽤 심각한 문제를 발생하는데, 특히 Test 를 작성하는중 MockObject 등의 방법을 사용할 때 StaticInitializer 로 된 코드를 치환시킬 수 없기 때문이다. 저 안에 의존성을 가지는 다른 객체를 생성한다고 한다면 그 객체를 Mock 으로 치환하는 등의 일을 하곤 하는데 StaticInitialzer 는 아에 해당 클래스가 인스턴스화 될때 바로 실행이 되어버리기 때문에 치환할 수 없다.
         StaticInitialzer 에서 값만 치환하는 것으로 (상속클래스에서 해당 Class Variable 의 값을 바꿔주는식으로) 해결되는 문제라면 크게 어렵진 않다. 하지만, 만일 저 부분에 DB 나 File 등(또는 File 을 사용하는 Logger 등) 외부 자원을 이용하는 클래스를 초기화하게 된다면 사태는 더욱더 심각해진다. 처음부터 해당 Class 가 DB, File 등 큰 자원에 대해 의존성을 가지게 되는 것이다. 게다가 이는 상속을 하여 해당 부분을 Mock 으로 치환하려고 해도 StaticInitializer 가 먼저 실행되어버리므로 '치환'이 불가능해져버린다.
         이를 방지하려면, StaticInitializer 를 일반 Method 로 추출한뒤, 생성자에서 이를 호출한다. (단, 인스턴스를 2개 이상 만드는 클래스인경우 문제가 있겠다.)
          이 문제가, final static 으로 값이 세팅될때의 문제가 아닌가요? Mock의 생성자에서 교체 가능하지 않나요? --NeoCoin
          Mock 생성자에서 값이 교체되어도 StaticInitializer 자체가 실행된다는 점에는 변함이 없습니다. 만일 StaticInitializer 에서 외부 자원들을 사용한다면, Side-Effect 들을 피하기 어려운 경우가 많다는 것을 강조하고 싶었습니다. --[1002]
         실무에서 저러한 StaticInitializer 를 가장 많이 볼 수 있는 곳은 Logging 관련 코드이다. 보통 Logging 관련 코드들은 개발 마무리 즈음에 붙이게 되는데, 일정에 쫓기다 보니 사람들이 Logging 관련 코드에 대해서는 CopyAndPaste 의 유혹에 빠지게 된다. 순식간에 Logging 과 Property(해당 클래스에 대한 환경설정부분) 에 대한 Dependency 가 발생하게 된다. 팀 차원에서 조심할 필요가 있다. --[1002]
  • SubVersion . . . . 6 matches
         http://linux.mizi.com/wim/moin.cgi/subversion
         http://subclipse.tigris.org/ - [Eclipse] Plugin
         http://www.pyrasis.com/main/Subversion-HOWTO
         [http://www.pyrasis.com/main/SVNSERVEManager SVNSERVEManager svn 서버 관리를 쉽게 해주는 관리 도구]
         [http://svnbook.red-bean.com/ Subversion Online Book]
  • TAOCP . . . . 6 matches
          * Title : TheArtOfComputerProgramming
          * My Point
          * TheArtOfComputerProgramming(TAOCP) vol1. FundamentalAlgorithms을 읽는다.
         == Link ==
         [TAOCP/InformationStructures]
         책사야겠네... [http://kangcom.com/common/bookinfo/bookinfo.asp?sku=199711260004 강컴]보다 싼 데 있으면 알려줘~~
  • TCP/IP_IllustratedVol1 . . . . 6 matches
          * "'''''The word illustrated distinguishes this bool from its may rivals.'''''" 이 책의 뒷커버에 적혀있는 말이다. 이말이 이 책을 가장 멋지게 설명해준다고 생각한다.
          * 00 이정직 ["fnwinter"]
          * Comer 박사의 "INTERNETWORKING with TCP/IP Vol.1 : PRINCIPLES, PROTOCOLS, AND ARCHITECTURES" 를 빌렸다. -zennith.
          * 유보라...우선 중간고사를 치른 후 논의 해 보자..... 그 방법 밖이..ㅠㅠ -fnwinter
          * 중간 고시도 끝났으니 다시 논의 해 봐야 하지 않을까나..김군~ -- fnwinter
          * Comer 의 책은 일단 접어두련다. illustrated 를 다 본다음에나 보는게 좋을 듯. 역시 text 라는 이미지는 illustrated 쪽이 좀 더 강하니까. 그리고, 재동아 너는 그럼 공부는 안하고 듣기라도 하려냐? 물론.. 정직 네게 더 진행하자는 의지가 있을 때의 이야기겠지만. 아무튼.. 난 지금 udp 지나 multicasting broadcasting 쪽 보고있다. -zennith
  • UglyNumbers/김회영 . . . . 6 matches
         #include<iostream>
         using namespace std;
         void main()
          int situation;
          cin>>situation;
          int count=1;
  • UseSTL . . . . 6 matches
          * Starter : ["neocoin"]
          * Text Book : Generic Programming and the STL , STL Tutorial and Reference Guide Second edition
          * 나도 위와 같은 표현이 있는 책을 읽어봤는데.. 허거.. 너무 어려웠어.. Effective STL이라는 책이었는데.. 좀 쉬운 과정 없을까.. 휴 Generic Programming and the STL 찾아봐야쥐.. ㅡ.ㅡ--["경태"]
          * 많은 문서를 접하지 않았지만, 이 책은 정석 이라는 느낌을 지울수 없다 --NeoCoin
          for (int i=0; i<10000; ++i)
         See Also ["GenericProgramming"]
  • WebLogicSetup . . . . 6 matches
         WEB_LOGIC_ROOT\config\mydomain\applications\DefaultWebApp 디렉토리 내에서 작업하면 된다.
          * WEB_INF 디렉토리 내의 web.xml을 수정해주거나, 브라우저를 통해 weblogic server consol을 이용해서 수정할 수 있다.
          <servlet-mapping>
          </servlet-mapping>
          위에서 보는것처럼, <servlet/> 과 <servlet-mapping/>에 대한 설정이 필요하다. <servlet/>에서 설정하는 내용은 alias 된 서블릿 이름과 실제 서블릿을 매핑시키는 것이고, <servlet-mapping/>에서 설정하는것은 uri 패턴과 alias된 서블릿 이름을 매핑 시키는 역할이다. 도식화 시켜보면 다음과 같다.
         client --------------------------------> <servlet-mapping/>에 따라 <servlet-name/>과 매핑 ---+
  • 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 제로위키 가꾸기], [문서구조조정토론]
  • Winamp . . . . 6 matches
         http://winamp.com
         [WinampPlugin을이용한프로그래밍]
         [WinampPluginProgramming/DSP]
  • XpWeek/20041221 . . . . 6 matches
          EngineeringTask 예상 5m
          TaskPoint 할당 10m
         아침에 TDD하면서 [Refactoring]이 만만치 않다는 생각을 했다. 생각보다 PlanningGame이 오래 걸려 지루한 느낌과 지친다는 느낌을 받았다. 고객의 입장일 때 내가 뭘 원하는지 명확하지 않았다. 그래도 내일은 왠지 잘 될 것만 같다.
         TDD 경험하면서 test class의 Refactoring을 어떻게 해야 될지 모르겠다. test 코드라 굳이 할 필요성을 못 느꼈고 테스트만 하면 된다는 생각이 들었기 때문이다. 인원이 적어서 고객과 개발자의 역할을 번갈아가면서 했는데 개발하기 쉬운 방향으로 생각을 이끌어나가는 것 같았다. 입장을 명확히 한 후 생각을 정리하고 표현해야겠다. 회의가 길어지면서 나타난 의욕상실이 아쉬웠다.
  • ZIM/CRCCard . . . . 6 matches
         || MessageWindow 열기 || MessageWindow ||
         || Message 분배 || MessageWindow, Session ||
         |||||| MessageWindow ||
         || OnlineZimmerList 표시 || Session, OnlineZimmerList ||
  • ZPBoard/PHPStudy/MySQL . . . . 6 matches
          * ex) $result = mysql_db_query("zp2002","select * from addressbook order by binary name");
         <table border=1 cellpadding=2>
         $result = mysql_db_query("zp2002","select * from addressbook order by binary name");
         이름 <INPUT type="text" name="name" value="" size=10 maxlength=10>
         전화번호 <INPUT type="text" name="phone" value="" size=15 maxlength=15>
          <INPUT type="submit" value="입력" size=5>
          mysql_query("insert into addressbook values('$_POST[name]', '$_POST[phone]')");
         <script language="javascript">window.location.replace("babo.php");</script>
  • ZeroPageServer . . . . 6 matches
         === intra.zeropage.org ===
          * nginx (virtual host)
          * [http://planetwar.intra.zeropage.org planetwar]
          * ~~owncloud : [http://intra.zeropage.org/owncloud]~~
          * Linux에 익숙하지 못한 학우들이 연습할수 있는 공간을 마련하기 위해 만든 서버입니다.
          * 단순 실습을 위해서라면 intra.zeropage.org에 계정을 얻는것을 고려해 보세요
  • 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;
  • apache/mod_python . . . . 6 matches
          * [moinmoin]을 설치하기 위해서는 [apache]에 [python]모듈을 설치해야 한다.
          * [ftp://ring.aist.go.jp/archives/net/apache/dist/httpd/modpython/win/] : 윈도우즈 환경에서 Apache 와 연동해서 설치할 경우에 왼쪽 링크 참고. 특히 주의할 점은 Apache 버전 자신의 것과 맞는 것으로 다운 받아야 함.(안그럴 경우 아파치 서버 시작 못함)
          * [http://www.modpython.org/live/current/doc-html/inst-testing.html] : 인스톨 테스트
  • cheal7272 . . . . 6 matches
         = instruction =
          * 01 kim cheal min
         DeleteMe ) * 를 ★ 로 바꾸시는게 더 폼나지 않을까요?;; --["neocoin"]
          * SWING(***********)
         == Chatting ==
          ["ZeroPage"] 에 참여 의사가 있으시면, ["상규"] 군처럼 ;; 어느날 ''저 껴요'' 하고 들어 오시면 된다는;; --["neocoin"]
         수개월간 아무런 소식이 없어서, ZeroPagers 에서 ZeroWikian 으로 분류를 바꾸었습니다. 원하시면 언제든지 참여해 주세요. --NeoCoin
  • ddori . . . . 6 matches
          * Born in 1980 November 9th
         = Interested In =
          * Kevin Kern - Hide and Seek
          * Brian Crain - Betterfly waltz
          * Rage Against Machine
          * Third eye blind - Semi-charmed life
  • eclipse단축키 . . . . 6 matches
          * 문자열 "sysout" + Ctrl + Space : System.out.println(); 자동완성
          * Windows - Preferences - General - Editors - Text Editors - 80라인 제한 선, 라인 수 보이기
          * References in workspace 참조하고 있는 메소드 보여준다.
          * Source - Format : 코드 정렬. indentation
         == finalize ==
          * finalize 누르면 나오는 자동완성 선택.
  • snowflower . . . . 6 matches
         ||DCinema||디지털 시네마 인코더/디코더 using JPEG2000 || 2007.01 ~ ||
         ||CanvasBreaker||ObjectProgramming Project|| _ ||
         ||[PaintBox]||Java로 그림판 만들기|| 2005.12 ||
         ||[DirectX2DEngine]||DX로 2D 엔진 제작|| 2006.07 ~ ||
         ||[BuildingParser]||파서를 만들어보세~|| 2006.04.08 ~ 2006.06||
  • 고한종/on-off를조절할수있는코드 . . . . 6 matches
         #include<stdio.h>
         int main()
          int onOff;
          //put your code in here.
          printf("재실행 하시겠습니까? (y/n)\n\n");
  • 구구단/김유정 . . . . 6 matches
         #include <stdio.h>
         void main()
          int n;
          int a;
          printf("몇단인지 입력하세요");
          printf("%d*%d:%d\n",a,n,a*n);
  • 구구단/방선희 . . . . 6 matches
         {{{~cpp #include <iostream>
         using namespace std;
         void main()
          int j=1;
          for(int i=2; i < 6; i++)
          for(int k=6; k < 10; k++)
  • 구구단/이재경 . . . . 6 matches
         #include <stdio.h>
         main()
         int a;
         int f;
         printf("몇단인지 입력하세요 ");
         printf("%d곱하기 %d는 %d입니다.\n",a,f,a*f);
  • 그래픽스세미나/2주차 . . . . 6 matches
          PPT파일: Upload:CGseminar2.zip
         || 강인수 || Upload:GL_Report2_Insu_MFC.zip 경태형꺼랑 비슷한거..||
         || 이상규 || [http://165.194.17.15/~lsk8248/wiki/Seminar/%b1%d7%b7%a1%c7%c8%bd%ba%bc%bc%b9%cc%b3%aa/2%c1%d6%c2%f7/Space.zip Space] 상하좌우 방향키와 +,- 키를 눌러보세요^^ [[BR]] [http://165.194.17.15/~lsk8248/wiki/Seminar/%b1%d7%b7%a1%c7%c8%bd%ba%bc%bc%b9%cc%b3%aa/2%c1%d6%c2%f7/Space.exe Space 실행 파일] [http://165.194.17.15/~lsk8248/wiki/Seminar/%b1%d7%b7%a1%c7%c8%bd%ba%bc%bc%b9%cc%b3%aa/2%c1%d6%c2%f7/ErrorSpace.exe 에러난 Space 실행 파일(멋진 에러..ㅡ.ㅡ)]||
         || 김창성 || Upload:Blending.zip ||
         [상민] 이번주 기권! --NeoCoin
  • 데블스캠프2003/넷째날/Linux실습 . . . . 6 matches
          [http://www-903.ibm.com/kr/linux/value/advantage/]
         SeeAlso [linux필수명령어]
          * 문서를 편집할 수 있는 모드로 명령모드에서 i를 누르면 들어간다. 제일 밑에 INSERT라고 표시된다. 여기서 보통 문서 편집하는 것처럼 입력해 주면 된다.
          * C 소스를 입력합니다. 단, C++ 스타일이 아닌 C 스타일로. 즉, stdio.h와 printf등을 사용하라는 뜻이죠. 주의할 점은, 여기서 주의할 점은 main() 함수의 리턴값은 void로 해주면 안 되고 int로 해주어야 합니다.(왜 그런지는 모르겠으나 컴파일 에러가 나더라고요.)
         Unix Philosophy를 경험하게 해주는 건 어떨까요? 예컨대 Software Tools 철학을 경험하게 해주는 것이죠. 개별적인 커맨드를 하나씩 가르쳐주는 것도 의미있을 수 있지만 학습은 학습자 스스로 뭔가를 "구성"해 볼 때 발생합니다. 단순 암기는 피해야 할 것입니다.
  • 데블스캠프2006/월요일/연습문제/for/윤영준 . . . . 6 matches
         #include <iostream.h>
         void main(void)
          int i,j,n;
         #include <iostream.h>
         void main(void)
          cin >> i;
  • 데블스캠프2006/월요일/연습문제/if-else/성우용 . . . . 6 matches
         #include <stdafx.h>
         #include <iostream.h>
         int main()
          int num,i;
          cin >> num;
  • 데블스캠프2006/월요일/연습문제/if-else/윤성준 . . . . 6 matches
         #include <iostream>
         using namespace std;
         int main (void)
          int i, n;
          cin >> i;
  • 데블스캠프2006/월요일/연습문제/switch/윤성준 . . . . 6 matches
         #include <iostream>
         using namespace std;
         int main(void)
          int a = 0, b = 0, c = 0, d = 0, f = 0, res, n = 0;
          cin >> res;
  • 데블스캠프2006/월요일/연습문제/switch/주소영 . . . . 6 matches
         #include <iostream>
         using namespace std;
         int main()
          int score[10]={0,},i,n,a,b,c,d,f;
          cin >> n;
  • 데블스캠프2006/월요일/연습문제/기타문제/성우용 . . . . 6 matches
         #include<iostream>
         using namespace std;
         int main()
          int i;
          continue;
  • 데블스캠프2006/월요일/연습문제/기타문제/이차형 . . . . 6 matches
         #include <iostream>
         using namespace std;
         int main()
          int i;
          continue;
  • 데블스캠프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()
          for(int i=1;i<=10;i++)
          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);
  • 데블스캠프2009/금요일 . . . . 6 matches
         || 김창준 선배님 || Special Seminar || || ||
         || 김수경 || Short coding || ACM 문제를 풀어보며 short coding을 맛보자 || ||
         ||pm 09:00~11:00 || [데블스캠프2009/금요일/SPECIAL Seminar] || 김창준 선배님 ||
         ||pm 12:00~01:00 || Short coding 맛보기 || 김수경 ||
         ||am 03:00~03:40 || 각자의 문제 풀이 및 short coding 책에서의 코드 || 김수경 ||
  • 데블스캠프2009/월요일/Scratch . . . . 6 matches
          * [http://info.scratch.mit.edu/Scratch_1.3.1_Download]
          * 운영체제에 맞게 Mac용, Windows용 중 선택하시면 됩니다.
          * Street Fighter 2009 - [http://enochbible.intra.zeropage.org/sc/sample1.sb]
          * Scratch Bros. v1.4 - [http://enochbible.intra.zeropage.org/sc/sample2.sb]
          * The mysterious ticking noise - [http://enochbible.intra.zeropage.org/sc/sample3.sb]
  • 데블스캠프2011/넷째날/루비/서민관 . . . . 6 matches
          @inputNum
          attr_writer:inputNum
          attr_reader:inputNum
          self.inputNum = gets.to_i
          if self.inputNum > self.randNum then
          puts "You win"
  • 데블스캠프2012/넷째날/묻지마Csharp/서민관 . . . . 6 matches
         namespace WindowsFormsApplication1
          int currentScore = 0;
          InitializeComponent();
          int moveX = rand.Next(-4, 4);
          int moveY = rand.Next(-4, 4);
          int respownX = rand.Next(this.Size.Width);
          int respownY = rand.Next(this.Size.Height);
  • 레밍즈프로젝트/프로토타입/에니메이션 . . . . 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){
  • 마름모출력/김민경 . . . . 6 matches
         pattern=raw_input('패턴 입력 : ')
         n=input('변의 길이 입력 : ')
         for i in range(n):
          print ' '*(n-i-1)+pattern*((i+1)*2-1)
         for i in range(n):
          print ' '*(i+1)+pattern*((n-i-1)*2-1)
  • 마름모출력/윤성복 . . . . 6 matches
         if __name__=='__main__':
          n = input('입력')
          for i in range(n):
          print ' ' * (n-i) + '*' * ((i*2)+1)
          for j in range(n, -1, -1):
          print ' ' * (n-j) + '*' * ((j*2)+1)
  • 마름모출력/정수민 . . . . 6 matches
         k = raw_input('패턴 입력 : ')
         n = input('변의 길이 입력 : ')
         for z in range(1,n):
          print ' '*(n-z),k*((z*2)-1)
         for z in range(1,n)[::-1]:
          print ' '*(n-z),k*((z*2)-1)
  • 마스코트이름토론 . . . . 6 matches
          http://zeropage.org/wikis/nosmok/moinmoin.gif
         MoinMoin -> MoMo(이건 캐릭터 이름 들어본거 같고) or MiMi(헉 그유명한) or Moi(아무래도 이것이..) [[BR]]
         아니면 대발이의 반대 이미지라는 의미로 Moin -> Niom 니옴 (헉 마음에 안들어) --상민
         그냥 제로미 시키죠. 그리고 moin글자만 빼서 대문용으로 하나좀.. --상민
  • 반복문자열/임다찬 . . . . 6 matches
         #include <stdio.h>
          int i;
          printf("%s\n",a);
         int main(void){
         [Refactoring]가운데는 임시 변수를 없애는 내용이 나옵니다. 임시 변수는 언제 있으면 좋을까요?
  • 방울뱀스터디 . . . . 6 matches
          * http://python.netian.com/index.html - 초 간단 문법 익히기
          * [ExtremeProgramming]의 몇가지를 실천할 것입니다. [PairProgramming], [Refactoring]...
         from Tkinter import *
         root.mainloop()
  • 블로그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/AmazingC/5일차(4월 14일) . . . . 6 matches
         #title 새싹교실/2011/AmazingC/5일차(4월14일)
          int number;
          int sum=0;
          int number=1;
          printf("%d", number);
         [새싹교실/2011/AmazingC]
  • 새싹교실/2011/GGT/L1&L2 . . . . 6 matches
         === 자기 반성 및 수정할 점(feeling/finds) ===
         === 자기 반성 및 수정할 점(feeling/finds) ===
         === 자기 반성 및 고칠 점(feeling/finds) ===
  • 새싹교실/2012/Dazed&Confused . . . . 6 matches
          * 사실상 첫 수업이었다. 어떻게 가르쳐야 할까 고민하다가 나름 PPT를 만들어 보긴 했는데 (그래봤자 [http://winapi.co.kr/ winpai]에서 다 복붇이었지만 -_-) 허허허.... 모르겠다 -_-a 뭐.. 어찌되었든 간에 일단 이론적으로 PPT를 보면서 설명을 하면서 진행을 했는데.. 알긴 아는 거 같은데... 음.. 좀 더 같이 해 보면 알겠지- 그래도 잘 따라와 준 것 같아 고마웠다. 많이 부족한 놈을 선생으로 둔 새싹들도 고생 많았어요 -ㅅ- 다음엔 더 준비 해 올게요a 근데 왜 회고지엔 소라 게임에 대한 이야기만 있는거지.. 에잇 - [권순의]
          * define, rand, srand, 다양한 헤더파일을 처음 써 보았다. 내가 혼자서 다시 해 봐야겠다. 신기했다. 이렇게 다양한 함수를 알게 되어 좋았지만 조금 더 집중해야 할 것 같다. 이번 강의에서는 실습이 적었는데 실습과 직접 프로그래밍을 해 보는 시간을 가졌으면 좋겠다. - [박용진]
          * 새로운 용어들 #define, getchar, rand, <math.h>등에 대해서 알게 되었다. 이런 새로운 용어들을 복습해 봐야겠다. winapi를 알게 되어 조금 더 찾아 볼 수 있어 좋았다 - [박승우]
          * Pointer, 재귀함수, 메모리 등 많은 것을 배우는 시간이었다. 그러나 이 모든 것들이 다 새로운 것이다 보니 심하게 맨붕을 경험하게 되었다. 다음에 차근차근 복습하는 시간을 가져야 겠다.
  • 새싹교실/2013/라이히스아우토반/7회차 . . . . 6 matches
          * 선언법 ex) int {{{arr[10]}}};
          * 선언할 때 초기화 하는 법. ex) int arr[]={0,1,2,3}; int {{{arr[5]={0}}},};
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * Internet Explorer를 제외한 다른 브라우저 (Chrome,FireFox, Opera)로 위키에 들어오면 편집하기 쉬워요.
  • 새싹교실/2013/양반/1회차 . . . . 6 matches
          * printf, scanf, 변수
          * [http://soenlab.com/lecture/ccpp/cpp1/3-2-1.png printf]
          * printf, scanf, 변수
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 서지혜/MyJavaUtils . . . . 6 matches
          * String 배열을 List로
          * String을 연산해 새로운 String을 만들 때는 StringBuilder를 이용한다.
          StringBuilder객 체 하나만 선언해서 불변 객체(String)들의 생성을 방지할 수 있다.
  • 오픈소스검색엔진Lucene활용 . . . . 6 matches
          in = new BufferedReader(new InputStreamReader(System.in, "UTF-8"));
          in = new BufferedReader(new InputStreamReader(System.in));
          Query query = QueryParser.parse(line, field, analyzer);
          Query query = QueryParser.parse(line+"*", field, analyzer);
  • 위시리스트/130511 . . . . 6 matches
          * http://www.interpark.com/product/MallDisplay.do?_method=detail&sc.shopNo=0000100000&firpg=01&sc.prdNo=13003385&sc.dispNo=016001&sc.dispNo=016001
          * Computer Security, 2/E (IE), (저자: William Stallings) -[김태진]
          * Mastering MATLAB, (저자: Duane Hanselman) -[김태진]
          * 모기향: The Summer is Comming... - [권순의]
          * Refactoring (저자: 마틴 파울러) - [권순의]
          * The C# Programming Language (Fourth Edition) 한국어판 - [김민재]
  • 정렬/손동일 . . . . 6 matches
         #include <iostream>
         using namespace std;
         void main()
          int arr[10] = {1,5,3,8,10,6,4,7,9,2};
          int i,j;
          int swap;
  • 정모/2011.7.18 . . . . 6 matches
          * [Spring/탐험스터디]
          * [EnglishSpeaking/2011년스터디]
          * Free talking과 Theme talking으로 나누어 진행.
          * Joseph Yoder와의 만남에서 배운 것. Naming은 상당히 중요합니다. Naming이 적절하면 자세한 구현을 보지 않아도 됩니다. - [김수경]
  • 좌뇌우뇌문제해결지향 . . . . 6 matches
         Left-Brain/Right-Brain Problem Solving, D. C. Nacht, K. Kraiger, R. Mandrell(1988).
         [http://prome.snu.ac.kr/~instps/board2/crgtest/crgtest.cgi?action=read 이곳]에 가면 자신의 창의성을 테스트 할 수 있다. 결과에 연연하지 말고 재미삼아서 해보는 것이 좋을 듯 하다.
          || 이름 || Left brain || Right brain ||
  • 지금그때2003/선전문 . . . . 6 matches
         <A HREF="http://zeropage.org/wiki/moin.cgi/_c1_f6_b1_dd_b1_d7_b6_a72003_2f_c8_c4_b1_e2" target=new> <B>지금그때 후기 페이지</B><A> 에 남겨 보세요.
         <li> <A HREF="http://zeropage.org/wiki/moin.cgi/_c1_f6_b1_dd_b1_d7_b6_a72003_2f_c8_c4_b1_e2" target=new> <B>지금그때 후기 페이지</B><A> 에 들어가셔서.
         Section I Opening
         Section I Opening
          선배들의 <A HREF="http://165.194.17.15/wiki/moin.cgi/_c1_f6_b1_dd_be_cb_b0_ed_c0_d6_b4_c2_b0_c9_b1_d7_b6_a7_b5_b5_be_cb_be_d2_b4_f5_b6_f3_b8_e9">지금그때</A>를 가장 크게 느끼는 것 하나씩 이야기
         고칠부분을 지적해 주세요. 일단 이대로 03, 02 1학년 게시판 올렸는데, 고칠수 있으니 전달력이 약한 부분을 고치고 싶습니다. --NeoCoin
  • 최소정수의합/임다찬 . . . . 6 matches
         #include <stdio.h>
         int main(void){
          int sum=0;
          int n=0;
          printf("n = %d ,sum = %d\n",n,sum);
  • 캠이랑놀자 . . . . 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
         || http://www.aladdin.co.kr/Cover/8950905310_1.gif ||
         || Aladdin:8950905310 ||
          * Title : 파킨슨의 법칙 - 왜 조직이 커질수록 낭비가 많아지는가 ( Pakinson's Law )
          * My Point :
          * NeoCoin : B) B) B) B)
         책의 첫번째 원칙을 접하고 이를 설명하는 순간부터, 마지막 원칙을 덮을 때까지 '''폭소를 멈출수가 없었다.''' 1957년에 태어난 책이 현재까지도 이렇게 공감을 일으키는지 모르겠다. 조직의 비효율에 대해서 많은 것을 생각하게 하는 기회를 만들어 준 책이다. 두께가 그리 두껍지 않으니, 여행을 떠나면서 들고 가는 것도 좋을것 같다. --NeoCoin
  • 프로그래밍잔치/셋째날후기 . . . . 6 matches
         플밍이 끝난 뒤, CommentMixing 을 하기로 했다. CommentMixing 전, 1002 와 영동 Pair 가 CommentMixing 의 시연 예를 보이며 간단하게 설명을 하였다.
         자리를 바꿔 CommentMixing 을 했다.
         CommentMixing 뒤에 서로의 것을 보며 토론했다.
         중간에 ["1002"]와 JuNe Pair 가 CommentMixing 한 결과 모습을 시연했다.
  • 피보나치/이태양 . . . . 6 matches
         #include<stdio.h>
         void main(){
         int n=0,no1=1,no2=1,no3=0;
         printf("몇번째수:"); scanf("%d",&n);
          for(int i=2;n;i++){
          printf("피보나치수열의 %d번째 수는 %d 입니다",n,no3);
  • 피보나치/정수민,남도연 . . . . 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
         if __name__ == '__main__':
          indata = input('숫자를 입력해 보세요 -->> ')
          for i in range(indata):
          print c
  • 화성남자금성여자 . . . . 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;
  • 05학번만의C++Study/숙제제출1/이형노 . . . . 5 matches
         #include<iostream>
         using namespace std;
         int main()
          cin >> cel;
  • 2학기자바스터디/첫번째모임 . . . . 5 matches
         [http://165.194.17.15/pub/language/java/j2sdk-1_4_2_01-windows-i586.exe]
         [http://download.eclipse.org/downloads/drops/S-3.0M3-200308281813/eclipse-SDK-3.0M3-win32.zip]
          public static void main(String[] args) {
          System.out.println("ddd");
  • 3D업종 . . . . 5 matches
         http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200503100003
         http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200311100001
         헤더: C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include\gl
         dll: C:\WINDOWS\system32
         vc6이나 2003을 쓸 경우, 비슷한 경로에 glut를 복사하고, 프로젝트를 만들때 win32 console로 해서 링커 옵션에 opengl32.lib glu32.lib glut32.lib 파일을 추가합니다.'''
  • 5인용C++스터디/버튼과체크박스 . . . . 5 matches
         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
         BEGIN_MESSAGE_MAP(CMy111View, CView)
         int CMy111View::OnCreate(LPCREATESTRUCT lpCreateStruct)
         ||Value|| Meaning ||
         ||BST_INDETERMINATE|| Button state is indeterminate (applies only if the button has the BS_3STATE or BS_AUTO3STATE style). ||
          else if(check3==BST_INDETERMINATE)
  • ACM_ICPC/2011년스터디 . . . . 5 matches
          * Anything else..
          * ShortCoding 책이 아마 ZeroPage 책장에 있을텐데… 후기를 모아 정회원이 되세요 ㅋㅋㅋㅋㅋ - [김수경]
          * 제 코드에 무엇이 문제인지 깨달았습니다. 입출력이 문제가 아니었어요. 숫자 범위 괜히 0이거나 3000 이상이면 "Not jolly" 출력하고 break하니까 이후에 더 적은 숫자가 들어온 경우가 무시당해서 Wrong Answer(출력 하든 안하든, 0 제외하고 3000 이상일 때만 하든 다 Wrong..;ㅅ;) 입력을 하지 않을 때까지 계속 받아야 하는데, 임의로 끊었더니 그만..... 그리고 continue로 해도 마찬가지로 3000을 제외하고 입력 버퍼에 남아있던 것들이 이어서 들어가서 꼬이게 되는! Scanner을 비우는 거는 어찌 하는 걸까요오;ㅁ;? 쨋든 그냥 맘 편하게 조건 지우고 Accepted ㅋㅋ 보증금 및 지각비 관련 내용은 엑셀에 따로 저장하였습니다. - [강소현]
          * 재귀함수와 백트래킹, Dynamic Programming에 난항을 겪어 최적해구하는 문제에서 고전했습니다.
          * [김태진] - 진경이 출생의 비밀..은 아니고 KOI 은상의 배경이 된, 세 용액이라는 작년 정올 1번문제를 풀어보았습니다. 다들 알고리즘 복잡도는 무시하고 Time Limit Exceeded라도 띄워보자고 짜는데, 이상하게 Wrong Answer.. 값이 int범위에서 해결되지 않아 줄줄 새고 있었습니다-- 범위를 제대로 생각해봐야겠다는 것을 염두함과 동시에 복잡도에 관해서도 좀 더 생각해봐야겠네요.
  • AM . . . . 5 matches
          * 주 교재 : Windows API 정복 ( Aladdin:8973542796 ), Visual C++ 6 완벽가이드 ( Aladdin:8931427301 )
          * [http://www.winapi.co.kr/]
          * [AM]이라는 약어를 보면 AgileModeling 이 떠오르는군요..; - [임인택]
  • APlusProject . . . . 5 matches
         Upload:APP_MeetingRecord_Draft.zip - 회의록 초안입니다.
         Upload:APP_MeetingRecord_0607.zip - 6월 7일까지 회의록입니다. -- 으흐흐 이것도 QA검사 끝
         ExtremeProgrammingInstallled - XP 입문서. 한서 있음. PL 필독.
         Refactoring - Refactoring의 바이블. 한서 있음. Eng 필독.
  • AngularJS . . . . 5 matches
         <h3 ng-init="todos=[]"> Topic </h3>
          <li ng-repeat="todo in todos" class="done-{{todo.done}}">
          <input type="checkbox" ng-model="todo.done"/>
          <button ng-click="todos.splice($index,1)">x</button>
          <input type="text" ng-model="test"/>
          <button>Input</button>
  • ApplicationProgrammingInterface . . . . 5 matches
         {{|An application programming interface (API) is a set of definitions of the ways one piece of computer software communicates with another. It is a method of achieving abstraction, usually (but not necessarily) between lower-level and higher-level software.|}}
          * [API/WindowsAPI] : 윈도우즈에 기본적으로 제공되는 API
  • AustralianVoting . . . . 5 matches
         [http://online-judge.uva.es/p/v101/10142.html 원문보기]
         === About [AustralianVoting] ===
         === Input ===
         === Sample Input ===
          || 문보창 || C++ || . || [AustralianVoting/문보창] ||
          || 곽세환 || C++ || . || [AustralianVoting/곽세환] ||
          || 나휘동 || C++ || 110+ || [AustralianVoting/Leonardong] ||
  • Benghun/Diary . . . . 5 matches
         아는 사람 중에 함수나 클래스를 만드는 것을 대단히 꺼리는 사람이 있다. 만들면 좋을 것 같은 간단한 함수조차도 직접 만들려고 하지 않는다. 하지만 이미 잘 만들어 진 라이브러리는 자주 사용한다. dependency가 없다면 변경에 영향을 받는 모듈이 없을 것이다. 나름대로 잘 사용하는 replace all in files, replace all in file, copy & paste등이 강력한 프로그래밍 도구중 하나인 것 같기도 하다.(최소한 나보다는 잘 사용하는 것 같다, 나름대로의 노하우도 있는 것 같다) 아마도 그는 dependency를 최소화하는 것에 큰 관심이 있거나 다른 이유가 있나보다.
         table에 대한 query가 여러 곳에 분산되어 있었다. table이 변경되자 모든 코드를 살펴야 했었다. 이 문제를 해결하기 위해 테이블에 접근하는 클래스와 쿼리를 실행하는 클래스를 추가했다. Java 웹 애플리케이션 프레임웍 분석과 설계의 노하우, Applying UML and Patterns, 마소 2003/7 고전을 찾아서4 모듈화와 정보은닉의 상관관계가 도움을 줬다.
         코드를 작성할 때 노가다성 코드이고 긴 시간을 필요로 한다는 생각이 들면 극도로 코딩하고 싶어지지 않는 건 왜일까 ? 코드를 작성하는 것이 집중력을 필요로 하고 지겨운 작업이라고 생각이 들면 코딩하기 싫어진다. Pair Programming이 필요한 것일까 ? 비단 코드를 작성하는 작업 뿐만이 아니라 모든 것들에 대해 아무것도 모르겠다.
         Refactoring 세미나 시작한 날 , 근효선배가 스터디에 합류했다
  • Bigtable기능명세 . . . . 5 matches
          minor compaction
          1. 해당 태블릿의 SSTABLE들을 minor compaction
          1. merge결과를 String의 리스트로 클라이언트에게 돌려준다
         원형 자료구조를 사용해 공간의 재활용필요 -> 한바퀴 돌아서 공간이 없어지면 memtable들의 minor compaction이 필요하다.
         === Minor Compaction ===
  • 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++세미나"]
  • C/Assembly/포인터와배열 . . . . 5 matches
          .string "5678"
          .string "1234"
          .string "123456";
         // 마지막 k변수는 index 주소를 사용해 메모리를 목사하고 있다.
         // 그렇다면 index로 메모리를 복사하는 것은 eax로 복사하는 것보다 느리다는 얘긴가?
  • CC2호 . . . . 5 matches
         [http://winapi.co.kr/clec/cpp1/cpp1.htm winapi.co.kr의 C기초강좌]는 매우 자세하며 양이 많다.
         [http://cplus.about.com/od/beginnerctutoria1/l/blctut.htm Tutorial for Beginner]
         [http://myhome.hanafos.com/~kukdas/index.html 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기초강좌]는 매우 자세하며 양이 많다.
  • CodeYourself . . . . 5 matches
          ProgramingYourself라는 이름은 어떨까요? 우리 과 학생들에게 가장 중요한 사항으로 보입니다. -[강희경]
          - Programing 이 아니고 Programming 임. 게다가 ~ing 보다는 동사 원형을 쓰는게 맞는 표현이라 생각됨. 주제와는 상관없는 이야기로군..-_-;; - [임인택]
          CodingByYourself 어때요? --[곽세환]
  • CollectiveOwnership . . . . 5 matches
         Wiki:RefactorLowHangingFruit . 고쳐야 할 것이 많다면 오히려 조금씩 고치도록 한다(그리고 고치는 작업을 엔지니어링 태스크로 혹은 유저 스토리로 명시화해서 관리한다). 고치는 중에, 5분 정도의 단위로 테스트를 해봐서 하나도 문제가 없도록 고쳐 나가야 한다. 섬과 육지를 연결하는 다리가 있을 때, 이걸 새 다리로 교체하려면 헌 다리를 부수고 새 다리를 만드는 것이 아니고, 새 다리를 만든 다음 헌 다리를 부수어야 하는 것이다. {{{~cpp formatText(String data)}}}을 {{{~cpp formatText(String data,boolean shouldBeVeryFancy)}}}로 바꾸어야 한다면, {{{~cpp fancibleFormatText}}}를 만들고, 기존의 {{{~cpp formatText}}}를 호출하는 곳을 {{{~cpp fancibleFormatText(data,false)}}}로 하나씩 바꿔나가면서 계속 테스트를 돌려보면 된다. 이게 완전히 다 되었다고 생각이 들면 {{{~cpp formatText}}} 정의를 지워본다. 문제가 없으면 {{{~cpp fancibleFormatText}}}를 {{{~cpp formatText}}}로 rename method 리팩토링을 해준다. 하지만 만약 이 작업이 너무 단순 반복적인 경우에, 충분히 용기가 생기고, 또 확신이 들면 이 작업을 자동화할 수 있다(OAOO). 예컨대 IDE에서 지원하는 자동 리팩토링을 사용하거나, 정규식을 통한 바꾸기(replace) 기능을 쓰거나, 해당 언어 파서를 이용하는 간단한 스크립트를 작성해서 쓰는 방법 등이 있다. 이렇게 큰 걸음을 디디는 경우에는 자동화 테스트가 필수적이다.
         일단 리팩토링을 필요로 하는 부분을 한정하고, 그 주위에 테스트 프로그램을 조금씩 붙여 나가야 한다. 그리고 리팩토링을 한다. 간혹 컴파일러를 테스트 프로그램으로 여기는 약간은 위험한 방법도 있다. see also Wiki:RefactoringLegacyCode
         ["ExtremeProgramming"]
  • 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 (쓸만한 놈)을 가려내는 용도로 고안되었습니다.
  • ComputerGraphicsClass/Exam2004_2 . . . . 5 matches
         === Basic Illumination Model ===
         === Ploygon Rendering Methods ===
         === Ray Tracing ===
         === Modeling Trchniques ===
         === Non-Photorealistic Rendering ===
  • ComputerNetworkClass/Exam2006_1 . . . . 5 matches
         3. distance vector, link state 차이점
         AdvertisedWindow 계산 방식, Effective Window 계산 방식
         TCP 수신측 버퍼 오버시 TCP 프로토콜의 처리과정 및 Probing 을 이용한 에러제어
         Advertised Window를 이용하지 못하는 상황하에서 TCP의 에러처리 방식에 대한 추론.
  • CvsNt . . . . 5 matches
         이를 돌리려면 Windows용 ViewCVS 패키지를 받아야 한다. http://www.cvsnt.org/wiki/ViewCvs 를 보면 알리라.
         cvsgraph_path =F:webviewcvswindowsbinaries # 윈도우즈환경이고 잘 안될경우 절대경로로.
         [http://www.redwiki.net/wiki/moin.cgi/CVSNT_20_bc_b3_c4_a1_20_b0_a1_c0_cc_b5_e5_bf_cd_20_c6_c1 CVSNT 설치 가이드와 팁] - 게임쪽에서 유명한 redwiki 님의 글.[DeadLink]
  • 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))
  • Debugging/Seminar_2005 . . . . 5 matches
         = Debugging Seminar 2005 =
          * Debug by describing
          * fully implemented and fully debugged, before the developer(s) responsible for that feature move on to the next feature -> debugging The development Process
          * [Debugging]
  • DesignPatterns/2011년스터디 . . . . 5 matches
          * WinMerge 다시 짜기
          * 각자 자신의 WinMerge를 짜본다
          * WinMerge 아키텍쳐 설계
          * 원래는 WinMerge의 아키텍처 공유하는 시간이었지만 아키텍처와 리팩토링 전문가인 Joseph Yoder씨의 방한기념으로 창준선배님이 여신 번개모임에 다녀왔다.
          * 자기가 설계한 WinMerge 아키텍쳐 설명하기
  • EuclidProblem/이동현 . . . . 5 matches
         #include <iostream>
         using namespace std;
         int main(void){
          cin >> a >> b;
  • ExtremeProgrammingExplained . . . . 5 matches
         ExtremeProgramming 의 철학을 소개한 서적. 저자 KentBeck. TheThreeExtremos 중 한명. 얼마전에 2판이 나왔다.
         [책분류] [ExtremeProgramming] [ExtremeProgrammingInstalled] [ExtremeProgrammingExplained2/E]
  • FreechalAlbumSpider . . . . 5 matches
          우선 감사합니다. 근데 에러가 나네요^^; 제가 현재 이미지 가져오는 부분을 처리를 도저히 못하겠는데, 혹시 이 부분에서 주의하여야 할 부분이 있나요? python도 Header setting같은 거 하나요? 전 PHP로 하고 있거든요..
          원리는 보통의 이런류의 프로그램 (HTTP 로 문서 가져오고 스트링 파싱하여 데이터로 가공하고 DB에 저장) 이 비슷합니다. 단, 앨범게시판의 경우 로그인이 필요한데, 이 경우 쿠키 처리를 위한 header setting을 해줘야겠죠. Perl 같은 경우 LWP, Python 의 경우 ClientCookie, Java 의 경우 HttpUnit(원래의 용도는 다르지만, 이런 프로그램을 위한 간이 브라우저 라이브러리로 쓸 수 있습니다.) 등의 라이브러리를 쓸 수 있습니다. 그리고, 이미지의 경우는 해당 URL을 보고 다시 HTTP Connection 을 열어서 얻어와서 binary로 저장해야 한다는 것이 유의사항이 되겠습니다. (HTML만 얻어오면 img tag 의 링크들만 있겠죠.) 그리고 header setting 에서 약간 미묘(?)한 부분이 있던것 같던데, 저는 걍 webdebug 로 캡쳐한거 그대로 보낸지라..; 이 부분은 CVS의 코드 참조하세요. --[1002]
          감사합니다. Image가져오는 부분이 그 동안 안 되서 포기하고 있었는데, 덕분에 PHP로 해결했습니다. ^^ 제가 Header setting을 잘못했더군요.
  • FromDuskTillDawn . . . . 5 matches
         [http://online-judge.uva.es/p/v101/10187.html 원문보기]
         === Input ===
         === Sample Input ===
         Lugoj Reghin 17 4
         Sibiu Reghin 19 9
         Reghin Medias 20 4
         Reghin Bacau 24 6
  • HelpOnInstallation/MultipleUser . . . . 5 matches
         각 사용자는 따로 설치할 필요 없이 관리자가 설치해놓은 모니위키를 단지 make install로 비교적 간단히 설치할 수 있습니다.
         # make install DESTDIR=/usr/local
         === moni-install 실행하기 ===
         $ /usr/local/moniwiki/bin/moni-install
  • HowToEscapeFromMoniWiki . . . . 5 matches
         == Alternative Wiki Engines ==
         === MoinMoin ===
         == MoniWiki to MoinMoin ==
  • JTDStudy . . . . 5 matches
         ===== Opinion =====
         === Doing ===
         ===== Opinion =====
          * [http://java.sun.com/javase/downloads/index.jsp]
          * [http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.2-200606291905/eclipse-SDK-3.2-win32.zip]
  • JTDStudy/두번째과제/상욱 . . . . 5 matches
         import javax.swing.*;
          private GridBagConstraints gc;
          public void init() {
          gc = new GridBagConstraints();
          gl.setConstraints(button1, gc);
  • Java/DynamicProxy . . . . 5 matches
          * Generic caching decorator(See DecoratorPattern) - [http://www.onjava.com/pub/a/onjava/2003/08/20/memoization.html Memoization in Java Using Dynamic Proxy Classes], and [http://roller.anthonyeden.com/page/SKI_BUM/20030810#dynamicproxy_net#dynamicproxy_net .NET equivalent]
          * [http://www-128.ibm.com/developerworks/library-combined/j-dynproxies.html Decoupling validation logic]
  • 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
  • Java/SwingCookBook . . . . 5 matches
         Java Swing 관련 팁 모음.
         참조 사이트 : http://www.indiwiz.com/web/Java/Swing/
         === Centered Window ===
         === Window Size 설정 ===
          * [IntelliJUIDesigner]
  • 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]
  • JavaStudy2002 . . . . 5 matches
          * 교재: Moa:ThinkingInJava
          * ["Java"], ["Eclipse"], ["JUnit"], ["TestDrivenDevelopment"], ["TestFirstProgramming"]
          * 여러분 CVS에 여러분 소스좀 올리세요. 왜 여태 암도 ;; --["neocoin"]
          * 그럼 해당 소스를 가지고 오세요. 같이 올려 봅시다. --["neocoin"]
  • JavaStudy2003/두번째과제/노수민 . . . . 5 matches
          public int process(int number) {
          public void main() {
          System.out.println(process(7));
         === 상속과 인스턴스 메소드의 재정의(Overriding) ===
  • JollyJumpers/1002 . . . . 5 matches
          return sum(i-e for i,e in zip(range(1,len(values)+1),
          for i in range(len(values)-1))))) == 0
         for e in [[1,4,2,3],[1,4,2,-1,6]]: print jolly(e)
         고민하던중,. 다른 사람들의 코드를 보니 시간이 오래걸린 부분이 입력값 parsing 부분이였나 보다 생각이 듬.;
  • LIB_2 . . . . 5 matches
         씨에서는 interrupt란 예약어로 함수를 인터럽트 콜이 가능한 함수를 만들 수 있다.[[BR]]
         void interrupt LIB_ISR(...){
          LIB_INT_COUNT++;
          for ( int i = 0 ; i < suspend_tcb_ptr + 1; i++ ){
          /////////////// CONTEXT SWITCHING
         void LIB_INIT_ISR(){
          LIB_INT_NESTING = 0;
          INT16U Time_Vect = 0x08 * 4;
          int86(0x27,®s,®s);
         void interrupt LIB_context_sw(){
          /////////////// CONTEXT SWITCHING
  • Linux/탄생과의미 . . . . 5 matches
          * [http://en.wikipedia.org/wiki/Linux 영문]
          * 1991년 헬싱키의 대학생인 리누즈 토발즈(Linus Tovalds)가 개인적인 관심으로 작은 Unix시스템 구조인 Minix의 PC용 커널을 개발로부터 출발하게 되었다.
         [Linux]
  • MFC/AddIn . . . . 5 matches
         #define _MFC_ _VISUAL_C++_
         = AddIn =
          멤버함수 자동완성, 멤버 함수 찾아가기, 편집 문맥 표시, 프로젝트 파일 열기, 다중 클립 보드, 강화된 Syntax highlighting, 프로젝트 파일 열기 등..
          Ctrl+1: .h, .cpp toggling
          * Restore Class View Addin
          * WinTab
          * IncrediBuild
  • MFC/DeviceContext . . . . 5 matches
         #define _MFC_
         = Mapping Mode =
         || MM_LOENGLISH || x는 좌우서 우로 갈 수록 커지고, y는 가장 상단에서 그 위로 갈 수록 커진다. 0.01inch 단위 ||
         || MM_HIENGLISH || x는 좌우서 우로 갈 수록 커지고, y는 가장 상단에서 그 위로 갈 수록 커진다. 0.001inch 단위 ||
         || MM_TWIPS || 0.05point 단위 (6.9x10^-4인치)의 길이를 갖는다. 방향성은 MM_LOENGLISH와 동일 ||
  • MFCStudy_2002_1 . . . . 5 matches
          * 목표 : 방학중 스터디 진행, Programming 에 대한 감각 익히기. Windows Programming 에 대한 이해.
         || 정훈 || [http://zp.cse.cau.ac.kr/~wizardhacker/data/WinOmok.exe WinOmok.exe] ||
  • 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/}}}하위에 추가할 수 있습니다.
  • MultiplyingByRotation . . . . 5 matches
         [http://online-judge.uva.es/p/v5/550.html 원문보기]
         === About Multiplying By Rotation ===
         === Input ===
          || 김회영 || c++ || ? ||[MultiplyingByRotation/김회영]||
          || 문보창 || c++ || ? ||[MultiplyingByRotation/문보창]||
          || 곽세환 || c++ || ? ||[MultiplyingByRotation/곽세환]||
  • MySQL/PasswordFunctionInPython . . . . 5 matches
          for each in aStr:
          if each == ' ' or each == '\t': continue
         if __name__=="__main__":
          print mysqlPass("testing")
  • OurMajorLangIsCAndCPlusPlus/setjmp.h . . . . 5 matches
          함수 : void longjmp(jmp_buf, int) - 기능 : jmp_buf에 기록된 위치로 이동한다.
         #include <stdio.h>
         #include <setjmp.h>
         void main()
          printf("%d", setjmp(ERiRo));
  • ParserMarket . . . . 5 matches
         Use a special pagename {{{~cpp ["parser/yourParser.py"]}}} and start your parser with the line {{{~cpp
         ||HTML: ["parser/html.py"]||Christian Bird||chris.bird@lineo.com||1.0|| ||
         If you are not familiar with Python and/or the MoinMoin code base, but have a need or an idea for a parser, this is the place to ask for it. Someone might find it useful, too, and implement it.
  • PragmaticVersionControlWithCVS . . . . 5 matches
         || ch1 || [PragmaticVersionControlWithCVS/Introduction] ||
         || ch3 || [PragmaticVersionControlWithCVS/Getting Started] ||
         || ch5 || [PragmaticVersionControlWithCVS/AccessingTheRepository] ||
         || ch7 || [PragmaticVersionControlWithCVS/UsingTagsAndBranches] ||
         || ch8 || [PragmaticVersionControlWithCVS/CreatingAProject] ||
         || ch9 || [PragmaticVersionControlWithCVS/UsingModules] ||
  • PragmaticVersionControlWithCVS/CreatingAProject . . . . 5 matches
         || [PragmaticVersionControlWithCVS/UsingTagsAndBranches] || [PragmaticVersionControlWithCVS/UsingModules] ||
         = Creating a Project =
         == Creating the Initial Project ==
         == Structure Within the Project ==
  • 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 준비 첫걸음으로 이 트레이닝을 추천합니다.
  • ProgrammingLanguageClass/2002 . . . . 5 matches
          * ["ProgrammingLanguageClass/Report2002_1"]
          * ["ProgrammingLanguageClass/Report2002_2"]
         === examination ===
          * ["ProgrammingLanguageClass/Exam2002_1"]
          * ["ProgrammingLanguageClass/Exam2002_2"]
  • ProjectPrometheus/Iteration . . . . 5 matches
          * Release 1 : Iteration 1 ~ 3 (I1 ~ I3)까지. 책 검색과 Login , Recommendation System (이하 RS) 기능이 완료.
          * Release 2 : I4 ~ I6 (또는 I7). My Page Personalization (이하 MPP), RS 에 대한 UI, Admin 기능 완료. 요구한 Performance 를 만족시킨다. (부가기능 - 책 신청, 예약)
         || Iteration || 구현 기능 || Story Point ||
         || 3 || RS Implementation, Login || ~1.5 (0.5) , 0.5 ||
         || 5 || RS (UI), Admin || 0.5, 0.5 ||
  • ProjectPrometheus/개요 . . . . 5 matches
         하지만, 현재의 도서관 시스템은 사용하면 할 수록 불편한 시스템이다. "Ease of Learning"(MS 워드)과 "Ease of Use"(Emacs, Vi) 어느 것도 충족시키지 못한다.
         지금 도서관의 온라인 시스템은 상당히 오래된 레거시 코드와 아키텍춰를 거의 그대로 사용하면서 프론트엔드만 웹(CGI)으로 옮긴 것으로 보인다. 만약 완전한 리스트럭춰링 작업을 한다면 얼마나 걸릴까? 나는 커스터머나 도메인 전문가(도서관 사서, 학생)를 포함한 6-8명의 정예 요원으로 약 5 개월의 기간이면 데이타 마이그레이션을 포함, 새로운 시스템으로 옮길 수 있다고 본다. 우리과에서 이 프로젝트를 하면 좋을텐데 하는 바램도 있다(하지만 학생의 사정상 힘들 것이다 -- 만약 풀타임으로 전념하지 못하면 기간은 훨씬 늘어날 것이다). 외국의 대학 -- 특히 실리콘벨리 부근 -- 에서는 SoftwareEngineeringClass에 근처 회사의 실제 커스터머를 데려와서 그 사람이 원하는 "진짜" 소프트웨어를 개발하는 실습을 시킨다. 실습 시간에 학부생과 대학원생이, 혹은 저학년과 고학년이 어울려서(대학원생이나 고학년이 어울리는 것이 아주 중요하다. see also SituatedLearning ) 일종의 프로토타입을 만드는 작업을 하면 좋을 것 같다. 엄청나게 많은 것을 배우게 될 것이다.
         이런 프로젝트가 컴공과 학생에게 쉽게 떨어질리는 만무하다. 그래서 대부분은 디자인 단계에서 끝내게 된다. 유스케이스 몇개 그려보고 끝나는 것이다. 좀 더 용감하고 야망이 높은 사람들은 밑바닥부터 구축을 해나갈지도 모르겠다. 어찌 되었건 프로그래밍은 중요하다. 빌게이츠가 늘 하는 말이 "Code is the thing"이란다. 만약 프로그래밍을 직접 해보지 않고 끝내게 되면 자신이 배울 수 있는 엄청난 크기의 빙산을 그냥 지나치는 셈이다.
  • Python/DataBase . . . . 5 matches
         port - integer, TCP/IP port
         unix_socket - TCP를 사용할 unix소켓의 위치
         client_flag - integer, 필요할 경우 사용하기 위한 flag (0)
         print cur.description
         print cur.rowcount
         print res[x][x]
  • RecentChangesMacro . . . . 5 matches
         /!\ since v1.1.1
          * timesago: for MoinMoin compatible
          class를 추가한다면 무슨 이름으로 추가할까요 ? MoinMoin에서는 class가 부여되지 않았습니다. --WkPark
  • 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"]
  • Ruby/2011년스터디 . . . . 5 matches
          * module은 자바의 interface와 같은 것인가?
          * C기반 언어와 다른 구문: else if->elsif, try-catch-finally -> begin-rescue-ensure
          * module은 [Java]의 interface 개념
          * 루비의 유닛테스트는 자바(mocking 라이브러리 필요)보다 간단하다!
  • 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++) {
  • Star . . . . 5 matches
         [[https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1100 원문보기]]
         [[http://online-judge.uva.es/p/v101/p10159.gif]] ~~[[DeadLink]]~~
         === Input ===
         === Sample Input ===
  • SubVersion/BerkeleyDBToFSFS . . . . 5 matches
         #!/bin/sh
         svnadmin create --fs-type=fsfs $nRepos
         svnadmin dump $cRepos | svnadmin load $nRepos
         chown www-data.svnadmin $cRepos -R
  • TddWithWebPresentation . . . . 5 matches
         http://free1002.nameip.net:8080/viewcvs/viewcvs.cgi/*checkout*/pyki/action/ViewPageAction.py?rev=1.5&content-type=text/plain
         http://free1002.nameip.net:8080/viewcvs/viewcvs.cgi/*checkout*/pyki/test_viewpageaction.py?rev=1.2&content-type=text/plain
         http://free1002.nameip.net:8080/viewcvs/viewcvs.cgi/*checkout*/pyki/action/ViewPageAction.py?rev=1.6&content-type=text/plain
         http://free1002.nameip.net:8080/viewcvs/viewcvs.cgi/*checkout*/pyki/viewpresenter.py?rev=1.1&content-type=text/plain
         http://free1002.nameip.net:8080/viewcvs/viewcvs.cgi/*checkout*/pyki/test_viewpageaction.py?rev=1.3&content-type=text/plain
  • 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를 정의하면 더욱 효과적이겠다.
  • TheGrandDinner . . . . 5 matches
         [http://online-judge.uva.es/p/v102/10249.html 원문보기]
         === About [TheGrandDinner] ===
         === Input ===
         === Sample Input ===
          || [조현태] || C++ || ??? || [TheGrandDinner/조현태] ||
          || [김상섭] || C++ || 많이..ㅡㅜ || [TheGrandDinner/김상섭] ||
          || [하기웅] || C++ || 생각은 많이. 코딩 시작해서는 1시간 || [TheGrandDinner/하기웅] ||
  • TourMacro . . . . 5 matches
         #keywords linux,GNU
         MoinMoin MoniWiki HelpContents
         [[Tour(arena=backlinks,HelpContents)]]
         [[Tour(arena=keylinks,GPL)]]
  • UML서적관련추천 . . . . 5 matches
         출처 : ObjectProgramming 수업 게시판
         UML Distilled: A Brief Guide to the Standard Object Modeling Language,3rd Edition
         The Unified Modeling Language User Guide 2/E
         The Unified Modeling Language Reference Manual (2/E)
         참고로 UML 은 'Modeling Language' 입니다. 모델링 서술을 위한 언어일 뿐, 모델링이나 디자인 방법 자체에 대한 설명을 하진 않습니다. 디자인 관련 서적은 따로 서술하겠습니다.
  • ViImproved . . . . 5 matches
          * http://www.vim.org/scripts - vim plugin
          * [Linux/Development UsingVIM]
          * http://kltp.kldp.org/stories.php?topic=25 - kltp 의 vi 관련 팁 모음, 홈페이지 자체는 지원 중단됨 - DeadLink
          * [[http://vimawesome.com/|vim plugin 검색 사이트]]
  • XOR삼각형/임인택 . . . . 5 matches
         def xorTriangle(current, lineNum, list):
          for i in range(0, current) :
          print newList
          if current<lineNum:
          xorTriangle(current+1, lineNum, newList)
  • 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 클래스 ==
  • ZPBoardHistory . . . . 5 matches
          *[http://zeropage.org/jsp/board/thin/?table=seminar]
          *[http://zeropage.org/jsp/board/thin/?table=T999844101271]
          *[http://zeropage.org/jsp/board/thin/?table=T999617115441]
          *[http://zeropage.org/jsp/board/thin/?table=T996891244793]
  • ZPHomePage/참고사이트 . . . . 5 matches
          [http://www.microsoft.com/mscorp/innovation/yourpotential/main.html]
          마이크로소프트가 발표한 경영비젼입니다 Windows2003를 테마로 만든 것 같은데, 우리 차기 ZP홈피도 2003 테마로 만들었으면 합니다. 부드러운 분위기가 메무 맘에 드네요 -[iruril]
          * http://innovative.daum.net/vol2/innovation.html - 다음 커뮤니케이션
  • ZeroPageServer/Telnet계정 . . . . 5 matches
         ZeroPage Server의 Linux Telnet 계정으로, '''ssh2'''(Secure SHell 2 - 보안계정) 를 지원하는 Telnet클라이언트( 예 [http://zeropage.org/pub/util/putty.exe putty] ) 로 접근할수 있다.
          * 종류 '''php, python, perl, jsp''' 프로그래밍이다. 하지만 jsp는 Server 관리자(["neocoin"]) 에게 문의하시면 상담하고 권한 설정 해 드립니다.
          * Linux 프로그래밍을 할수 있다. 더불어 서버 프로그래밍을 할수 있다.
          * ["linux필수명령어"]
          * 문의 사항을 적어 주세요. 여기에 관리자의 feedback이 늦다면 관리자(NeoCoin) 에게 직접 주세요.
  • [Lovely]boy^_^/Book . . . . 5 matches
          * Visual C++ 6.0 Programming Bible 일명 베개책(영진출판사) - 첨부터 너무 어렵다. 레퍼런스로 쓰고 있음
          * Windows API 정복(가남사) - OCU SDK 들을때 가끔 펴 봄
          * Data Structure in C - 보다 말다..--;
          * Java Programming Bible(영진출판사) - 열심히 보고 있음
          * Game Programming Gems 1
  • abced reverse . . . . 5 matches
         #include <iostream>
         using namespace std;
         int main()
          for(int i = 0; i < 5 ; i++)
  • celfin . . . . 5 matches
         == celfin의 의미 ==
          * celfin 은 computer elfin 을 줄여서 임의로 만든 단어로... 컴퓨터 개구장이의 뜻임^^
          * 기말 고사 전까지 메신저 프로젝트의 Swing 부분을 열심히 하는 것
         수개월간 아무런 소식이 없어서, ZeroPagers 에서 ZeroWikian 으로 분류를 바꾸었습니다. 원하시면 언제든지 참여해 주세요. --NeoCoin
  • html5/outline . . . . 5 matches
          * outline
         === section additional info ===
          * [http://gsnedders.html5.org/outliner/ HTML5 Outliner]
          * [http://www.webguru.pe.kr/zbxe/web2/824655 outline 요소에 대한 전반적인 예제와 설명]
  • 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 이것으로 바꿔 주면 됩니다.
  • neocoin/Education . . . . 5 matches
          잘 가르치기 위해서는 기본적인 교육학 이론보다는 Cognitive Psychology(학습부분)와 실제 "훌륭한 교사"들의 방법을 설명한 책(예컨대 NoSmok:SuccessfulCollegeTeaching ), 그리고 학습 과정을 설명한 책(NoSmok:HowPeopleLearn )이 좋을 것이다. 또 성인 교육에 있어서는 Training, Coaching 관련 서적이 많은 도움이 된다. --JuNe
         ["neocoin"]
  • neocoin/SnakeBite . . . . 5 matches
          * GP32 출력 버전 ["neocoin/GP32"]
          * [http://zeropage.org/browsecvs/index.php?&dir=SnakeBite%2F Zp CVS 의 SnakeBite] : 집의 CVS 통째로 복사이다.
          ''bidirectional association은 최소화하는 것이 좋음. 꼭 필요하다면 back-pointer를 사용해야 함. 가능하면 MediatorPattern의 사용을 고려해보길. --JuNe''
          * STL in C++ 언어의 장점을 써먹었는가?
         ["neocoin"]
  • phoenix_insky . . . . 5 matches
         == phoenix_insky or cyberjhs or .. etc.. ==
         http://zeropage.org/moin/moin.cgi?action=userform&uid=1029580697.16.3943
          * E-Mail: phoenix_insky@hanmail.net
          * 메신저: phoenix_insky@hotmail.com
  • warbler . . . . 5 matches
          * E 메일 : NO____SPAM__warbler9@sinbiro.com
         === interested in ===
          * Ubiquitous, Grid Computing, Utility Computing
  • woodpage/VisualC++HotKeyTip . . . . 5 matches
          *컴파일시 error나 경고에 warning에 대하여 한줄씩 이동함 또 전체 문서에서 찾기(Alt + E + I) 에서 찾은결과에 대하여도 F4로 이동
          *역시 이동하는 기술로 BrowseGoToDefinition 이라고 함 마우스 오른쪽 팝업메뉴에도 나옴 사용법은 예를 들어 fSelect()라는 함수를 사용했을때 그함수내용을 보고싶으면 fSelect에다가 커서를 놓고 F12를 누름 (변수,define도 됨) 그럼 fSelect()가 구현된(?)곳으로 이동함 사용하면 아주 유용함 단점은 *.ncb 파일이 조금 커짐 별문제 아님 사실 마우스 오른쪽 팝업에서 쓰는걸 더 많이 씀
          *Find in File 로 현재 페이지가 아닌 전체 파일에서 찾아줌 소스분석할때 필수
  • woodpage/쓰레기 . . . . 5 matches
          *JavaNetworkProgramming (출판사:인포북)
          *3D Game Programming using DirectX (출판사:(주)민커뮤니케이션)
          *JavaNetworkProgramming
          *JavaNetworkProgramming --> 종료
  • zennith/SICP . . . . 5 matches
         "내가 컴퓨터 과학 분야에서 가장 중요하다고 생각하는 것은 바로 즐거움을 유지해간다는 것이다. 우리가 처음 시작했을 때는, 컴퓨팅은 대단한 즐거움이었다. 물론, 돈을 지불하는 고객들은 우리가 그들의 불만들을 심각하게 듣고있는 상황에서 언제나 칼자루를 쥔 쪽에 속한다. 우리는 우리가 성공적이고, 에러 없이 완벽하게 이 기계를 다루어야 한다는 책임감을 느끼게 되지만, 나는 그렇게 생각하지 않는다. 나는 우리에게 이 기계의 능력을 확장시키고, 이 기계가 나아가야 할 방향을 새롭게 지시하는, 그리고 우리의 공간에 즐거움을 유지시키는(keeping fun in the house) 그러한 책임이 있다고 생각한다. 나는 컴퓨터 과학 영역에서 즐거움의 감각을 잊지 않기를 희망한다. 특히, 나는 우리가 더이상 선교자가 되는 것을 바라지 않는다. 성경 판매원이 된 듯한 느낌은 이제 받지 말아라. 이미 세상에는 그런 사람들이 너무나도 많다. 당신이 컴퓨팅에 관해 아는 것들은 다른 사람들도 알게될 것이다. 더이상 컴퓨팅에 관한 성공의 열쇠가 오직 당신의 손에만 있다고 생각하지 말아라. 당신의 손에 있어야 할 것은, 내가 생각하기엔, 그리고 희망하는 것은 바로 지성(intelligence)이다. 당신이 처음 컴퓨터를 주도했을때보다 더욱 더 그것을 통찰할 수 있게 해주는 그 능력 말이다. 그것이 당신을 더욱 성공하게 해줄 것이다. (the ability to see the machine as more than when you were first led up to it, that you can make it more.)"
          DeleteMe [SICP] 가 Hierarchical Wiki 로 걸려버려서 원래 의도인 StructureAndInterpretationOfComputerPrograms 의 약자인 [SICP]에 대해서 링크가 걸리질 않음.
          [노스모크모인모인] 에서 절대 주소로 접근할려면 [/SICP] 로 하면 된다. 디렉토리 같지 ^^;; 현재 혼용이니, 네가 일아서 사용해라 --["neocoin"]
  • zennith/ls . . . . 5 matches
         #include <stdlib.h>
         int main(int argc, char * argv[]) {
          int i;
  • 강희경/도서관 . . . . 5 matches
          * Pleasure Of Finding Things Out (리처드 파인만)
         || 4 || NoSmoke:TheArtOfComputerProgramming || 카누스 || [강희경] || [TAOCP] ||
         || 1 || NoSmoke:TheArtOfComputerProgramming || 카누스 || [강희경] || [TAOCP] ||
  • 같은 페이지가 생기면 무슨 문제가 있을까? . . . . 5 matches
          * 일단 중복 페이지가 생기고 고치는 것은 어떨까요? --NeoCoin
          * 2년 정도 위키를 쓰면서 그런 고민은 크지 않았습니다. 현제 ZeroPage 에서 사용하는 위키는 정리하는 사람 수 자체가 적어서 경험하지 못했을수 있습니다. 사람 수가 많은 [노스모크]에서도 못느껴봤습니다. --NeoCoin
         타 위키에서 비슷한 논의들을 보면서 이 방법이 적당하다는 생각합니다. [Leonardong]의 어떻게는 무엇인가요? ''페이지를 생성할때, 검색해서 찾아 중복 페이지를 만들지 않는다.'' 가 기본 전략인것 같은데 맞나요? --NeoCoin
          저도 거의 NoSmok 에서 읽었고, 최근들어 http://doc.kldp.org 를 보면서 같은 생각이 듭니다. 그외 링크라면 그외 위키를 기억하기는 힘듭니다. ZeroWiki 에서도 초기에 비슷한 토의가 있었던 것 같습니다. --NeoCoin
          페이지이름을 만들때, '''제목대상 검색'''은 이전부터 지원되었습니다. 예를들어 이동 창에 Front를 쳐보세요. 처음부터 후자를 이야기 하는 것으로 알고 있었습니다. 보통 '''내용검색(FullTextSearch)'''는 부하 때문에 걸지 않습니다. 하지만, 현재 OneWiki 의 페이지가 적고, 페이지를 만드는 행위 자체가 적으므로, 후자의 기능 연결해 놓고 편리성과 부하의 적당한 수준을 관찰해 보지요. --NeoCoin
  • 고전모으기 . . . . 5 matches
          * StructuredProgramming, TheElementsOfProgrammingStyle, SICP, SmalltalkByExample, SmalltalkBestPracticePatterns
          * TheArtOfComputerProgramming
          * AcmTuringAwardLecture (학교 도서관에 있습니다) 별 다섯개. --JuNe
          TheElementsOfStyle, WomenFireAndDangerousThings, MetaphorsWeLiveBy
  • 구구단/김범준 . . . . 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
         #include<iostream>
         using namespace std;
         int main()
          int i,j;
  • 구구단/조현태 . . . . 5 matches
         if __name__ == '__main__':
          for n in range (10):
          print 2,'X',n,'=',2*n,' ',3,'X',n,'=',3*n,' ',4,'X',n,'=',4*n,' ',5,'X',n,'=',5*n
          for n in range (10):
          print 6,'X',n,'=',6*n,' ',7,'X',n,'=',7*n,' ',8,'X',n,'=',8*n,' ',9,'X',n,'=',9*n
  • 권영기 . . . . 5 matches
          * [정모/2013.2.26] - OMS : 재미있는 문제 (Indexed Binary Tree)
          * [MachineLearning 스터디]
          * [정모/2014.1.13] - OMS : Robot Path Planning
          * [정모/2014.11.19] - OMS : Bit Masking
  • 그래픽스세미나/1주차 . . . . 5 matches
          PPT파일: Upload:CGseminar01.zip
          * 선을 Clipping하는 방법
          * Outcode가 0000 일 경우엔 Clipping 이 필요하다.
         || 강인수 || Upload:OpenGL_Report1_Insu.zip API Ver. ||
         || 강인수 || Upload:GL_Report1_Insu_MFC.zip MFC Ver. ||
         || [류상민] || Upload:OpenGL01_NeoCoin_GLUT.zip ||
         || [상규] || [http://165.194.17.15/~lsk8248/wiki/Seminar/%b1%d7%b7%a1%c7%c8%bd%ba%bc%bc%b9%cc%b3%aa/1%c1%d6%c2%f7/Triangle.zip API Ver.] ||
  • 김태진 . . . . 5 matches
         = Curriculum Vitae of ZeroPage 21th, Tae-Jin Kim =
          * SWTV(SW Testing&Verification) 연구실에 있습니다.
          * [Refactoring/BadSmellsInCode]
          * ?action=info&all=1 를 주소 뒤에 붙이면 변경내역을 볼 수 있음.
          * action=info&all=1 를 주소 뒤에 붙이면 변경내역을 볼 수 있음. -> 그냥 페이지 보다가 i 누르는 게 더 편하지 않음? - [김수경]
  • 데블스캠프2005 . . . . 5 matches
         [데블스캠프2005/Socket Programming in Unix/Windows Implementation]
  • 데블스캠프2006/월요일/연습문제/기타문제/김준석 . . . . 5 matches
         #include<iostream>
         using namespace std;
         void main(){
          int i;
          if(i==5) continue;
  • 데블스캠프2006/월요일/연습문제/기타문제/이경록 . . . . 5 matches
         #include <iostream.h>
         int main(void)
          int a;
          continue;
  • 데블스캠프2006/월요일/연습문제/기타문제/이장길 . . . . 5 matches
         #include <iostream.h>
         int main(void)
          int i;
          continue;
  • 데블스캠프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()
          int i;
         [데블스캠프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);
  • 데블스캠프2012/둘째날/후기 . . . . 5 matches
          * [김민재] - XE를 다루면서 MySQL에 대해서는 조금 알았지만, 오늘 이야기를 들으면서 많은 종류의 DB와 프레임워크가 있다는 것을 처음 알고 놀랐습니다. 아직 실력이 많이 부족한 탓에 이해를 못한 점도 있었지만, 웹에 대한 전반적인 이야기를 들으면서 웹에 대해 많이 이해할 수 있었습니다. 특히 우리가 사용하는 웹 서비스 하나를 위해 140대나 되는 Queueing Server가 필요하다는 점에 놀랐습니다. 앞으로는 여러가지 분야에 호기심을 가지고 관심을 가지도록 해야겠습니다.
          * [김민재] - APM이 뭔가 했더니 Apache + PHP (perl? python?) + MySQL 인걸 알았을 때의 놀라움 ㅋㅋㅋㅋ 내 컴퓨터에서 준석이 형 페이지에 접속했을 때 정말 신기했습니다. 또 MyAdmin으로 데이터베이스를 직접 만드는 것도 처음 해보았습니다. (cafe24 호스팅에서는 DB 만들기가 안되더라구요..) 오늘 여러모로 신기한 체험을 많이 해 보았습니다.
          * [정진경] - 입학 하기 전에 산 컴퓨터에 CentOS를 깔고 제일 먼저 해봤던게 웹서버 구축이었던 것 같네요. 윈도우즈 환경에서도 어렵지 않게 구축할 수 있네요. (물론 지금의 시점에서지만,) 개인 서버를 구축하고 응용할 수 있으면 나름 장점이 있는 것 같습니다. 활용하기 나름이지만, 최근 Online Judge System에 VC++ 컴파일러를 올리고 싶어서 윈도우즈 서버도 생각하고 있는데, 추후에 도움이 될지도 모르겠네요.
         = Kinect =
          * [서영주] - 코드를 이상하게 만드는 방법은 정말 다양하다는걸 알았습니다. #define이나 흔히 사람들이 생각할 함수의 인자명을 이상하게 하는 것 등등. 근데 단순히 함수, 변수의 이름, 인자의 이름 등에 관한 네이밍만으로도 상당히 헷갈릴 수 있는걸 보고 단순하지만 네이밍의 중요함을 다시 한 번 느꼈습니다. 이상한 기능이야 안쓰면 그만이겠지만 네이밍같은 부분은 안할수가 없을테니까요.
  • 레밍딜레마 . . . . 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
         2. 픽셀의 기능 : Pixel 인터페이스는 draw라는 순수 가상 함수를 가지고 있어 그리고 전달인자로 CMyDouBuffDC*를 받게 되지. 그리고 SetPixel(int x, int y)따위를 통해서 윈도우에 그림을 그리게 되지 (이부분은 [레밍즈프로젝트/프로토타입/SetBit]참조)을 통해서 배경에 대한 픽셀을 뿌리게 되는거지.
         #include <iostream>
         using namespace std;
         #include "Pixel.h"
  • 레밍즈프로젝트/이승한 . . . . 5 matches
         stdafx에 몽땅 끌어 넣어 놓았던 include들의 상호 참조.
         getmetry.insert, insertCpyPixel, deletePixel 제작.
         예정작업 : Clemming class, CactionManager, ClemmingList, Cgame 테스팅. CmyDouBuffDC, CmyAnimation 버전 복구. 예상 약 8-9시간.
         Pixel 내부의 데이터로 UINT와 UTYPE만 두어 속도에 신경을 써 보았다. bool type data가 아직 리팩토링 되지 않았음.
  • 레밍즈프로젝트/프로토타입/MFC더블버퍼링 . . . . 5 matches
         Test는 OnDraw 상에서 하였다. OnDraw는 Invalidate를 통해서 OnPaint가 호출되면 자동으로 호출된다.
         void CDoubleBufferingView::OnDraw(CDC* pDC)
          CDoubleBufferingDoc* pDoc = GetDocument();
          //DoubleBuffering
          //end DoubleBuffering
  • 리눅스연습 . . . . 5 matches
         [(zeropage)Linux]
         [(zeropage)Linux/필수명령어]
         [(zeropage)Linux/RegularExpression]
         [http://kr.hancom.com/contents/contentsView.php?zone=os&from=3&mode=0&page=0&info=os_4_1&zone=os&cata=os_4&key=&value=&num=149 Make란?]
         [http://www.smilezone.info/ 리눅스 및 VMware]
  • 말없이고치기 . . . . 5 matches
         때로는 직접적인 정보 전달보다 간접적이고 "스스로 추론할 수 있는" 정보 전달이 더욱 효과적이고, 상대방의 실수를 드러내고 공박하는 것보다는 몰래 고쳐주는 것(NoSmok:ForgiveAndForget )이 당사자에겐 심리적 저항이 덜하므로 훨씬 받아들이기 쉽기 때문이다. NoSmok:LessTeachingMoreLearning
         이 방법은 특히 WikiMaster들이 많이 행한다. OriginalWiki의 WardCunningham 경우는 "이건 이래야 한다"는 식의 말을 특정인에게 직접 하는 일은 별로 없고, 대신 그 규칙을 어긴 글이 있을 때마다 일일이 찾아가서 단순히 그 오류만 고쳐준다 -- 말하지 않고 스스로 행함으로써 "보여주는 것"이다(NoSmok:LeadershipByShowing). 그러면 당사자는 이를 알아채지 못하고 처음 몇 번은 계속 실수를 할 수 있지만 어느 순간에 스스로 깨닫고 학습( NoSmok:동의에의한교육 )하게 된다.
  • 문자반대출력/남상협 . . . . 5 matches
         for line in source.readlines():
          print >> fout,line[::-1]
  • 반복문자열/김정현 . . . . 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();
  • 반복문자열/성우용 . . . . 5 matches
         #include<stdio.h>
         int main()
          int y;
          printf("CAUCSELOVE\n");
  • 반복문자열/황세연 . . . . 5 matches
         #include <stdio.h>
         int main(void)
          int i;
          {printf("%d CAUCSE LOVE.\n",i);
  • 별표출력/하나조 . . . . 5 matches
         #include <stdio.h>
         void main(void)
          int x,y;
          printf("%c",star);
          printf("\n");
  • 상협/프로젝트관련 . . . . 5 matches
          * 이 프로젝트도 짧게 끝났는데, PairProgramming인 무엇인지 알고나서 써본적은 없었는데, 이 프로젝트에서 써봤는데 무진장 효율이 좋았다. 이걸 느낀것이 가장큰 수확이었던거 같다.
          * [http://www.caucse.net/cgi-bin/moin/moin.cgi/_c0_da_b9_d9_c7_c1_b7_ce_c1_a7_c6_ae_2f_b9_e6_c8_ad_ba_ae_c6_c0_b8_de_bd_c5_c0_fa?action=highlight&value=%2F%C1%F8%C7%E0%BB%F3%C8%B2 자바시간에 팀 프로젝트로 나온 메신저 짜기]
          ''방화벽을 자유 자재로 넘나들기 위해서는 80번 포트 위로 올라가는게 좋고, 그렇게 하려할때 가장 손쉽게 할 수 있는 기술은 SOAP을 이용하는 것이니, 이를 고려해봄이 어떨까 하는데. socket을 이용할 경우 80번 포트에서 웹서버가 돌아가면 '''말짱꽝'''으로 방화벽을 통과하기는 어려운일이고.. 그럼 SOAP은 어떻게 쓰느냐? 가장 손쉽게 접근할 수 있는것으로는 [http://java.sun.com/xml/jaxm/index.html JAXM]을 추천함. 그럼 어떻게 돌리는가? '''RTFM''' '' :) --이선우
  • 새싹교실/2011/Pixar . . . . 5 matches
          * Programming in eXperience and Research
          * FiveFs : Facts(사실), Feelings(느낌), Findings(알게된 점), Future Action Plan(앞으로의 계획), Feedback(피드백)
  • 새싹교실/2011/學高/7회차 . . . . 5 matches
          * break, continue
         === 자기 반성 및 수정할 점(feeling/finds) ===
         === 자기 반성 및 고칠 점(feeling/finds) ===
  • 새싹교실/2011/무전취식/레벨6 . . . . 5 matches
         == Ice Breaking ==
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 어쩐지 저는 이 반도 아닌데 육피에 거주하다보니 (그리고 우리반 새싹은 거의 질문형식이다보니) 다른 이런저런 새싹을 보게되고 끼네요. 덕분에 ICE Breaking에 제 이름이..- 사실 지금 후기를 쓰는것도 피드백 갯수를 채우려는 속셈...응? 배열은 C시간에도 이제 막 배우고 있는건데 여기는 제대로 연습안했다간 망하기 쉬운곳이라더군요. 삽질열심히 해야겠어요. -[김태진]
  • 새싹교실/2012/아우토반/뒷반/4.6 . . . . 5 matches
         Ice breaking
          * char, shor, int
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2012/열반/120604 . . . . 5 matches
          * int power(int n, int k);
          * void power(int *n, int k);
  • 새싹교실/2013/라이히스아우토반/6회차 . . . . 5 matches
          * continue 쓰는 상황을 보여 줌.
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * Internet Explorer를 제외한 다른 브라우저 (Chrome,FireFox, Opera)로 위키에 들어오면 편집하기 쉬워요.
         그후 배열에 대한 간단한 개념을 배우면서 continue를 어떻게 써야 하는지 배웠습니다.
  • . . . . 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
         CACM, IEEE Software, IEEE Computer, Seminar:SoftwareDevelopmentMagazine 등의 잡지를 정리해서 그 요약글을 매 달(나눠서) 올리는 스터디는 어떨까?
          스터디의 이름에 담겨 있는 정보가, 해당 분야나 스터디의 시기의 정보뿐 아니라, 목표에 부합하는 의미가 첨가되는 것 역시 의미있을 것으로 생각합니다. 이름을 읽을때 마다 목표를 상기시키는 역할도 겸할수 있어서, 거울의 역할을 할 수 있을 것입니다. 하지만, 말씀 하신대로 독립적인 주제와 독립적인 의미를 가지게, 목표만을 이름으로 삼는것은 스터디의 내용과 괴리 될수 있다는 위험때문에, 피해야 할 것으로 생각합니다. --["neocoin"]
          목표'''만'''으로 이름 짓는 것이라는 것이지 뭐, 예를들어서, ''C++ 잘해 보자 훌륭한 넘 되자'' 라는 목표땜에, {{{~cpp GoodGuy}}} 이라고 이름 지으면 --;; --["neocoin"]
          내가 받아들이는 것은, 공부하는 주제로만 짓자는 것 으로 내가 착각을 한 모양이군. 그래서 목표를 섞어도 별 상관 없다는 생각이었는데? --["neocoin"]
  • 시간맞추기/남도연 . . . . 5 matches
         #include <iostream.h>
         #include <conio.h>
         #include <ctime>
         void main(){
          cout<<"You win!!!"<<endl;
  • 아인슈타인 . . . . 5 matches
         http://www.google.co.kr/logos/einstein.gif
         아인슈타인은 그의 나이 76세에 세상을 떠났다. 그가 정말로 원하던 자유였을 지도 모르겠다. 사인은 심장동맥 파열이었다. 그의 뇌는 포르말린이 담긴병속에 보관되어 있다고 한다. 그의 눈은 몇년전에 경매를 통해 팔렸다고 하는데, 보석과도 같은 아름다운 눈이었다고 한다. (from http://med.hallym.ac.kr/~sohnkm/ein.html)
         spell 이 맞는지는 모르겠지만.. 만약에 아인슈타인의 이름이 Ein Stein 이 맞다면.. a stone 이로군요...-_-a 약간은 아이러니한..ㅋㅋ - [임인택]
  • 위키로프로젝트하기 . . . . 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란 것을 다시 한번 깨달았다.
  • 이원희 . . . . 5 matches
         #include<stdio.h>
         main(void)
          int a;
          int b;
          printf("%d*%d=%d\n",a,b,a*b);
  • 이태양 . . . . 5 matches
         [http://cbingoimage.naver.com/data2/bingo_32/imgbingo_38/akstnchemdgk/20220/akstnchemdgk_25_m.jpg]
         '''O'''lympiad in
         오옷 카오스 초고수 -_-; 정말 두번째판 아키라는 ㄷㄷㄷ 이엿다 ㅋㅋㅋ [http://165.194.87.227/zero/index.php?url=ZeroWiki&title=%B1%E8%C1%F8%C7%CF 클릭하지마요!]
  • 인수/Assignment . . . . 5 matches
         == incompleted assignment queue ==
         || AI || 9/7 || 9/7.자정전까지 || 나는 인공 지능 시스템인가? 에 대한 자신의 생각을 A4 반 장 정도(10line?) dwkim@cau.ac.kr로 제출 || || O ||
         || DB || 9/13 || 9/18, 수업 || Fig4-12 Insurance DB Schema. find PK and FK || || O ||
         || 모델링 || 9/26 || 10/15 || 3장 연습문제 || so fxxking hw... || O ||
          * Oh.. Thank you. I'm checking my assignment, too. That's good~ -- [창섭]
  • 임수연 . . . . 5 matches
         http://bingoimage.naver.com/data3/bingo_22/imgbingo_22/sinctlst/24331/sinctlst_1.jpg -수연아~에이~ [joosama]
  • 정모/2003.4.9 . . . . 5 matches
          * [지금그때] 의 자료 정리가 필요합니다. 자원하실분 말씀해 주세요. --NeoCoin
          * EtudeProgramming 을 위해 Pair 한분 정도 필요한데, 같이 하실분? --NeoCoin
          * 한달에 2회 독서 모임을 가지려고 합니다. 한명이상 같이 하실분? --NeoCoin
         NeoCoin의 궁금한점
  • 정모/2011.10.5 . . . . 5 matches
          * [Spring/탐험스터디]
          * AOP(Aspect-Oriented Programming)은 트랜잭션 처리 등 핵심기능은 아니지만 코드에 포함되어 유지보수를 어렵게 하는 부가기능을 분리해내는 패러다임으로 OOP(Object-Oriented Programming)를 대체하는 것은 아니고 보완하는 역할을 한다.
          * 구글 I/O에서 I/O는 Innovation in the Open을 의미한다.
          * Since 1991을 내주신 [이승한] 선배님이(가) 문화상품권을(를) 획득하였습니다.
  • 정모/2011.4.4 . . . . 5 matches
          1. 빠르게 코딩하는 것에 집중하느라 PairProgramming의 장점을 못 느꼈다는 의견도 있었습니다. PairProgramming의 장점 중 하나는 혼자 코딩할 때보다 더 생산성이 높아진다는 점인데(그러니까 더 빠르게 짤 수 있다는 점인데...) 이번 CodeRace 그런 장점을 느낄 수 있는 기회가 되지 못한 것 같아 안타깝습니다. PairProgramming의 장점을 느껴볼 수 있는 다른 활동을 이번학기 내에 한번 시도해보고 싶네요. 제가 XPer 3월 정모에서 참여했던 나노블럭으로 페어 배우기를 해볼까 생각중입니다. 굉장히 재미있어요!
          1. 가장 먼저 느낀 것은 정말로 PairProgramming이 집중도를 높여준다는 것입니다. 사실 컴퓨터를 앞에 놓고 정모를 진행하면 이것저것 다른 일 하느라 정모에 집중하지 않을 수 있는데 혼자 컴퓨터를 쓰는 것이 아니라 그런지 다들 CodeRace에 집중하시더라구요 ㅋㅋ
          * 오늘 OMS를 들으면서 이전 기억을 되돌아 보았습니다. 정말 팀플에서 서로간의 신뢰가 깨졌을 때 극단적으로 나올 수 있는 상황이 생각나더라구요. 서로 같은 테이블에 앉아서 마주보고 앉아 각자의 노트북을 보고 프로그래밍을 하고 있을 때, 상대가 하는 것을 전혀 신뢰하지 못하고 계속 의심하게 되는 상황을 겪어봐서 그런지, '''서로를 신뢰하는 것'''이 정말 중요하다는 걸 다시 한번 깨닫게 됩니다. 페어 프로그래밍을 하면서 느꼈던건, '''''(비록 시간이 촉박할지라도)''문제다! 라는 인식을 하게 되면 잠시 멈추고 생각하는 시간을 가져야 할 것 같다'''는 것입니다. Deadline처럼 느껴졌던 3분이라는 시간에 너무 연연하게 되어 Tunnel Vision에 빠져버렸습니다...OTL... 단계를 밟아나가는 단 맛에 빠져, 점점 벌집으로 다가가고 말았죠 ㅋㅋㅋ 몇 단계만 더 진행됬으면 결국 벌집을 건드리고 말았을겁니다 ㅋㅋㅋㅋ 아무튼 재미있고 유익한 시간이었습니다. 후기를 적으면서 느낀 것인데, 전 바로적는 후기보다, 하루~이틀 정도 지난 후에 다시 되돌아보면서 쓰는 것이 훨씬 넓은 시야에서 생각하면서 쓸 수 있는 거 같네요 ㅋㅋ - [박성현]
  • 정모/2011.4.4/CodeRace/김수경 . . . . 5 matches
         = River Crossing =
          def initialize
          print "FAIL"
          def initialize
          print "FAIL"
  • 정모/2013.5.20 . . . . 5 matches
         [http://www.worlditshow.co.kr/main/main.php 홈페이지]
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * TIP : Internet Explorer를 제외한 브라우저(FireFox라던가 Chrome이라던가)로 들어오면 각 항목 우측에 "편집"이라고 떠요. 좀 더 편하게 수정 할 수 있죠.
  • 제12회 한국자바개발자 컨퍼런스 후기/유상민의후기 . . . . 5 matches
          * 원문 내용중에는 내용 중 메모, 지적질(?), 아이디어들이 뒤섞여 있어서 내용은 제거. JCO 의 pdf 찾아보면 됨. 없다고 판단되는 내용만 남김 --NeoCoin
          * 좋은점 ~ 괜찮은 소프트웨어(stan2j) 추천, walking skeleton 이야기 재미있었다. 대부분의 말들에 자신의 경험을 소개한건 매우 가치있었다.
          * 위의 disk vs mem 하면 차이가 큰게 당연한데 아주 큰 차이가 있을 테스트를 왜 보여주는지 이해가 안갔다. 더불어 하지 않았다는 것은 위의 벤치마크가 쿼리 히트율이 떨어진다는 의미인데... in memory db 로 벤치마크를 하면 모를까.. 그냥 스트레스 테스트 결과로 보강했으면 좋겠다.
         이렇게 기억하는데 검색해보니 http://inpion.com/ 서울에 사무실 있다. 잘못 기억한듯.
         여기에 주거나, 대답이 필요하면 neocoin@gmail.com
  • 제13회 한국게임컨퍼런스 후기 . . . . 5 matches
         || 10:30 – 11:30 || Unity3D와 UPS로 멀티플레이 게임 만들기 || 노영하(머치디퍼런트) || Programming ||
         || 11:40 – 12:40 || 게임용 다이나믹 오디오 믹싱 – 쌍방향 사운드 믹싱 전략 || Jacques Deveau(Audiokinetic) || Audio ||
         || 17:00 – 18:00 || 엔비디아 Nsight™ Visual Studio로 게임 디버깅 및 최적화하기 || 최지호(NVIDIA) || Programming ||
          * 세 번째 세션은 또 음악의 세계로... 역시나 자기네 회사 프로그램을 사용하면 사운드 효과를 다양하게 낼 수 있다는 것에 대해서 이야기 해 주었다. 뭐 Chaining 관계를 이용한 소리의 조합이라나 뭐라나..
  • 제로스 . . . . 5 matches
         || . 1. 9. || Upload:CH2_Operating-System-Structures.ppt || 수생, 소현 ||
         || . 1. 26. || Upload:Ch06_CPU_Scheduling.ppt || 수생,소현 ||
         * 이론 : Operating System Concepts(6/E) : Windows XP Update - 한국어판
          * 현재 프로젝트의 방향은 정하지 않은 것으로 보이니까 공룡책으로 이론 공부를 하고 Nachos라는 교육용 OS 프로그램 분석을 병행하면서 여기서 얻은 지식으로 OS를 만드는 접근 방법을 사용하는 것이 어떨까 하는데 다들 의견이 어떠신지 궁금? -- 이론 : Operating System Concepts -- 실습 : Nachos - [진석]
  • 제로페이지의문제점 . . . . 5 matches
          원래 없습니다. 그리고 ZeroPagers 에 있는 분들은 99이후의 데이터가 정확하다고 보시면 됩니다. 그리고 군대라는 단절로 회장도 2학년이 꾸준히 유지해왔는데, 복학생이 컴백하기 뻘쭘하게 된것 같습니다.--NeoCoin
         제로위키내의 지식이 어느 레벨 이상 오르지 않는 느낌을 받게 된다. 사람들은 다시 새로 유입되고, 다시 Java & C++ 스터디는 열린다. 하지만, 기존의 회원들은 졸업을 한 뒤에 그 활동이 종료된다. (Home Coming Day 나 기타 행사 외)
         세미나가 [데블스캠프]외에 신입생 위주로 하는게 있어요? 설마 스터디를 이야기 하는거라면, 자신이 만들어 나가는건데요. :) 여태 제가 신입생 대상 스터디를 해본적이 없어서 공감이 안가는 이야기 같네요. 스스로 만드세요. SeeAlso 개인 제외 같이 한것들 --ExploringWorld ProjectZephyrus ProjectPrometheus [MFCStudy_2001] [KDPProject] [Refactoring] --NeoCoin
  • 제로페이지회칙만들기 . . . . 5 matches
          ["neocoin"]:그거 어디에 있는지 아시는 분? --상민
         ["neocoin"]:광식아 내가 18일을 말한건 이번달은 18일이 적당해서 한건데, 간담회가 있으니 제대로 안될것 같은데? 그리고 말씀대로 하는것이 좋을것 같은데요. 현재는 주중에 하는것이 더 좋을것 같네요. 정모의 내용은 물론, 요일로 하는것이 더 적당한것 같은데, 월화수목금토일 중 화요일 7시~9시 정도? --상민[[BR]]
          ["neocoin"]:설마, 그렇게 까지는 필요 없겠지 회원 자격 상실 조건과, 정모 만 확실하게 정하면 더 이상 무슨 규칙이 있겠냐 --상민
         각 항목에 몇조 몇항을 두는 이유는 index가 용이하라고 있는것이겠지만, 이 상황에 경우는 그리 필요없을것이라 생각함.--석천
         ["neocoin"]:영서 말대로 화요일중 셋째주가 좋은것 같다. 1년중 특별한 휴일이 전혀 없고, 추석같이 연속으로 노는 날도 다 피해가는데, 12월의 24일 크리스마스 이브만이 째려 보는군. 이견 있는 사람은 이야기 좀 해주어요. --상민 [[BR]]
  • 졸업논문/참고문헌 . . . . 5 matches
         [3] Costa, "Creating a weblog in 15 minutes", http://www.rubyonrails.org/screencasts, July. 2006.
         [4] "Writing your first Django app, part 1", http://www.djangoproject.com/documentation/tutorial1
         [7] "Database API reference", http://www.djangoproject.com/documentation/db_api/#retrieving-objects
  • 중앙도서관 . . . . 5 matches
         하지만, 현재의 도서관 시스템은 사용하면 할 수록 불편한 시스템이다. "Ease of Learning"(MS 워드)과 "Ease of Use"(Emacs, Vi) 어느 것도 충족시키지 못한다.
         지금 도서관의 온라인 시스템은 상당히 오래된 레거시 코드와 아키텍춰를 거의 그대로 사용하면서 프론트엔드만 웹(CGI)으로 옮긴 것으로 보인다. 만약 완전한 리스트럭춰링 작업을 한다면 얼마나 걸릴까? 나는 커스터머나 도메인 전문가(도서관 사서, 학생)를 포함한 6-8명의 정예 요원으로 약 5 개월의 기간이면 데이타 마이그레이션을 포함, 새로운 시스템으로 옮길 수 있다고 본다. 우리과에서 이 프로젝트를 하면 좋을텐데 하는 바램도 있다(하지만 학생의 사정상 힘들 것이다 -- 만약 풀타임으로 전념하지 못하면 기간은 훨씬 늘어날 것이다). 외국의 대학 -- 특히 실리콘벨리 부근 -- 에서는 SoftwareEngineeringClass에 근처 회사의 실제 커스터머를 데려와서 그 사람이 원하는 "진짜" 소프트웨어를 개발하는 실습을 시킨다. 실습 시간에 학부생과 대학원생이, 혹은 저학년과 고학년이 어울려서(대학원생이나 고학년이 어울리는 것이 아주 중요하다. see also NoSmok:SituatedLearning ) 일종의 프로토타입을 만드는 작업을 하면 좋을 것 같다. '''엄청나게''' 많은 것을 배우게 될 것이다. --JuNe
         이런 프로젝트가 컴공과 학생에게 쉽게 떨어질리는 만무하다. 그래서 대부분은 디자인 단계에서 끝내게 된다. 유스케이스 몇개 그려보고 끝나는 것이다. 좀 더 용감하고 야망이 높은 사람들은 밑바닥부터 구축을 해나갈지도 모르겠다. 어찌 되었건 프로그래밍은 중요하다. 빌게이츠가 늘 하는 말이 "Code is the thing"이란다. 만약 프로그래밍을 직접 해보지 않고 끝내게 되면 자신이 배울 수 있는 엄청난 크기의 빙산을 그냥 지나치는 셈이다.
  • 지금그때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 소개
  • 지금그때2004/게시판홍보문안 . . . . 5 matches
         * 참석한 사람들의 폭발적인 반응 <a href = "http://zeropage.org/wiki/_c1_f6_b1_dd_b1_d7_b6_a72003_2f_c8_c4_b1_e2" target = blink> <font color = "blue" >☞ 지금그때2003후기 바로가기 ☜</font> </a>
         <a href = "http://dduk.idaizy.com/nowthen/apply.php" target = _blink> <font color = "blue">☞ 신청하러 가기 ☜ </font> </a>
         ... <a href="http://my.netian.com/~zwolf/poem/p0401.htm" target = _blink> more </a>
         <a href = "http://zeropage.org/wiki/_c1_f6_b1_dd_b1_d7_b6_a72003_2f_c8_c4_b1_e2" target = blink> <font color = "blue" >☞ 지금그때2003후기 바로가기 ☜</font> </a>
         <a href = "http://dduk.idaizy.com/nowthen/apply.php" target = _blink> <font color = "blue">☞ 신청하러 가기 ☜ </font> </a>
  • 창섭 . . . . 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);
  • 최소정수의합/김정현 . . . . 5 matches
          public static void main(String args[])
          int n=0;
          int sum=0;
          System.out.println("n= "+n+" sum = "+sum);
  • 최소정수의합/김태훈zyint . . . . 5 matches
         #include <stdio.h>
         int main()
          int sum=0, n=0;
          printf("n = %d, sum = %d\n",n,sum);
  • 최소정수의합/나휘동 . . . . 5 matches
         minsum s n
          | sum [1..n] < s = minsum s (n+1)
         minsum s n
          | naturalSum n < s = minsum s (n+1)
         minsum 3000 1
  • 최소정수의합/이규완 . . . . 5 matches
         #include <stdio.h>
         void main()
          int n=1;
          int sum=0;
          printf("n=%d, sum=%d", n, sum);
  • 최소정수의합/이태양 . . . . 5 matches
         #include<stdio.h>
          int n=0,sum=0;
          printf("n=%d sum=%d\n",n,sum);
         int main(){
  • 파이썬->exe . . . . 5 matches
         주제 : win32com 을 이용한 파이썬 프로그램 py2exe로 실행파일 만들기
         win32com 에 있는 것들을 사용해서 프로그램을 만들고 나면..
         --packages win32com
         python setup.py py2exe --packages win32com
         sys.argv.extend(['--packages', 'win32com'])
  • 파일 입출력_2 . . . . 5 matches
         #include <iostream>
         using namespace std;
         int main()
          fprintf ( fpt , "Hello World!") ;
  • 프로그래머가알아야할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
  • 피보나치/현정,현지 . . . . 5 matches
         #include <stdio.h>
         int suyul[1000],i,num;
         void main()
         printf("알고싶은 '항'을 입력해주세염!\nNumber : ");
         printf("%d항의 숫자는 %d입니다.\n",num,suyul[num-1]);
  • 한자공/시즌1 . . . . 5 matches
          * Window -> Preference 에서 General -> Workspace로 들어간 뒤 Text file encoding을 Other(UTF-8)로 변경.
          * global setting은 컴퓨터마다 적용되며 이름이 겹치면 commit이 안 되는 경우가 있으니 로그인 하고 설정을 먼저 바꾸자.
          * abstract, interface에 대해 이야기를 나누고 실습을 할 예정입니다.
          * abstract, interface의 사용 방법에 대해 이야기를 나누고 사용 목적을 나름대로 토의를 해 보았습니다.
  • 05학번만의C Study/숙제제출1/정진수 . . . . 4 matches
         #include <iostream.h>
         int main()
          cin >> Cel;
  • 05학번만의C++Study/숙제제출1/정진수 . . . . 4 matches
         #include <iostream.h>
         int main()
          cin >> Cel;
  • 05학번만의C++Study/숙제제출1/조현태 . . . . 4 matches
         #include<iostream>
         void main(){
          std::cin >> celsius;
         책 읽어보고, using namespace std; 쓰는이유, 뭐 이런것을 익히고 자신만의 C++스타일도 찾을겸.
  • 05학번만의C++Study/숙제제출1/최경현 . . . . 4 matches
         #include <iostream>
         int main()
          std::cin >> celsius;
  • 05학번만의C++Study/숙제제출1/허아영 . . . . 4 matches
         #include <iostream>
         using namespace std;
         void main()
          cin >> celsius;
  • 1002/책상정리 . . . . 4 matches
         OS 에서의 Memory Hierarchy, caching 기법, NoSmok:어포던스 (행위유발성), NoSmok:그림듣기
         이는 위의 경우와 반대가 된다. 위에서의 책상에 비해 '휘발성'을 띤다. 이 경우 책상 판 자체는 main memory 역할을 하게 되므로, 가급적 책상을 비우기 위한 전략을 짜되, 해당 자료에 대한 접근성이 좋아야 한다.
          * 책상 위를 main memory, 책꽂이1을 제 1 cache, 책꽂이2를 제 2 cache, 책장을 제 3 cache, 바깥 책장을 hdd-drive 라 생각하고 정리한다.
          * 압축방법의 도입 - 압축의 방법으로는 일반압축기법을 이용한 압축과 손실압축법이 있다. 그리고 공간의 Optimizing 을 생각해볼 수 있다. -_-a 전자의 경우 부피줄이기, 중자는 스크랩, 후자로는 공간활용법을 생각할 수 있다.
  • 2010JavaScript . . . . 4 matches
          -[박정근] : Events, For in, object쪽을 공부했습니다ㅎ 계속 이런식으로 스터디하면 자바스크립트 금방 끝낼거같은데여ㅋㅋㅋ
          -[강소현] : Events, Function, Image maps, Timing events 를 봤습니다 'ㅁ' [2010JavaScript/강소현/연습]
          * [http://dsdstudio.springnote.com/pages/380935?print=1]
  • 2dInDirect3d/Chapter2 . . . . 4 matches
         = Creating a Device =
          UINT Adapter, // 어댑터의 번호, D3DADAPTER_DEFAULT를 사용
          HWND hFocusWindow, // 현재 창의 HWND를 넣어준다.
          IDirect3DDevice8** ppReturnedDeviceInterface
          2. BehaviorFlag에는 버텍스를 처리하는 방법을 넣어준다. D3DCREATE_HARDWARE_VERTEXPROCESSING, D3DCREATE_MIXED_VERTEXPROCESSING, D3DCREATE_SOFTWARE_VERTEXPROCESSING중 한가지를 사용한다. (사실은 더 많은 옵션이 있다.) 대개 마지막 SOFTWARE를 사용한다.
         MinZ = 0.0f : Z의 최소값. 대개 0.0f
          HWND hDestWindowOverride,
          1. 결과값은 D3D_OK, 실패했을경우엔 D3D_INVALIDCALL이나 D3D_DEVICELOST가 리턴된다.
         ["2dInDirect3d"]
  • 5인용C++스터디/다이얼로그박스 . . . . 4 matches
         대화상자(DialogBox)는 최상위 윈도우(top-level window)의 자식 윈도우로서 일반적으로 사용자로부터 정보를 얻기 위해 사용된다. Dialog는 사용자들이 파일을 선택하여 열기 등의 작업을 쉽게 하도록 합니다. 파일 작업을 쉽게하기 위해 제공하는 컴포넌트가 FileDialog클래스이다. Dialog는 Frame윈도우와 비슷한데 그 차이점을 살펴보면, 대화상자는 윈도우에 종속적이기 때문에 그 윈도우가 닫히면 대화상자도 따라서 같이 닫히게 된다는 것이다. 또한 윈도우를 최소화시켜도 대화상자는 사라지게 된다.
          Single document Multiple documents
         즉 modal dialog는 그 dialog가 닫혀지기 전에는 부모 윈도우로 마우스를 이용한 focus이동을 할 수 없다. 따라서, dialog를 닫지 않는 이상 main window프로그램을 이용할 수 없다.
  • ACM2008 . . . . 4 matches
         short coding 이란 책 - 내가 신청하려고 했으나 누군가가 신청해서 이미 도서관에 있었던 책. 이런 경험 몇 번 없었는데. 재미있었음 - 에서 본 유익한 정보 한토막.
         [http://acm.pku.edu.cn/JudgeOnline/ POJ] Peking university Judge Online 이란 시스템이 있는데 온라인으로 프로그래밍 문제를 제공하고, 온라인으로 소스를 보내면 서버에서 컴파일해서 결과를 알려주는 시스템이다. 책에서는 code 의 길이를 이용한 코드 골프쪽에 초점을 맞추고 있었지만 이 프로젝트의 목표상 그럴 필요는 없을거 같다. 다만 온라인으로 제공되는 문제가 꽤 있고 평가하는 시스템이 있으므로 보다 즐겁게 놀 수 있는 '꺼리' 일 것 같다.
  • AI오목컨테스트2005 . . . . 4 matches
          * [http://zerowiki.dnip.net/~undinekr/OmokBase.zip] - 현태의 AI + 네트워크 가능한 오목 프레임 워크
          * [http://zerowiki.dnip.net/~undinekr/OmokBase.zip]
         상협쓰~ 지난번에 이야기한 중간일정 좀 적어주기를. 추후에 Minimax 랑 AI 개론 세미나 끼게..~ --[1002]
          * [http://zerowiki.dnip.net/~undinekr/OmokBase.zip] - 위에 링크 걸어 놨었는데~
  • 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/ENG . . . . 4 matches
         Upload:APP_CodingConvention_0407.zip
         Upload:APP_CodingConvention_0408.zip
         Upload:APP_CodingConvention_0412.zip -- 조금 추가하였습니다.
         해결 방법: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 폴더로 이동
         C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>aspnet_regiis.exe -i
         === mdb 파일에 insert 쿼리시 에러 해결 ===
  • 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/김상섭] ||
  • Algorithm/DynamicProgramming . . . . 4 matches
         http://en.wikipedia.org/wiki/Dynamic_programming
         Introduction To Algorithm 에도 이에 대한 설명이 있습니다.
         == Optimal Binary Search Tree ==
         [http://linneus20.ethz.ch:8080/binary.html]
  • AppletVSApplication/영동 . . . . 4 matches
          * Thinking In Java에서 찾아 썼습니다.
          * main() 함수를 반드시 포함한다.
          * 애플리케이션과는 달리 main()함수가 필요없다.
         ["JavaStudyInVacation/진행상황"]
  • ArtificialIntelligenceClass . . . . 4 matches
         Upload:namsang:AI - Prentice Hall - Artificial Intelligence - A Modern Approach - 1995.pdf
         [http://www.wowbook.com/generic/book/info/book_detail.asp?isbn=ISBN89-88397-88-6 인공지능 개념및 응용]
          * [http://aima.cs.berkeley.edu/instructors.html 미국대학 시험문제들]
         요새 궁리하는건, othello team 들끼리 OpenSpaceTechnology 로 토론을 하는 시간을 가지는 건 어떨까 하는 생각을 해본다. 다양한 주제들이 나올 수 있을것 같은데.. 작게는 책에서의 knowledge representation 부분을 어떻게 실제 코드로 구현할 것인가부터 시작해서, minimax 나 alpha-beta Cutoff 의 실제 구현 모습, 알고리즘을 좀 더 빠르고 쉬우면서 정확하게 구현하는 방법 (나라면 당연히 스크립트 언어로 먼저 Prototyping 해보기) 등. 이에 대해서 교수님까지 참여하셔서 실제 우리가 당면한 컨텍스트에서부터 시작해서 끌어올려주시면 어떨까 하는 상상을 해보곤 한다.
  • BlogLines . . . . 4 matches
         http://bloglines.com
         써본 경험에 의하면... publication 으로 개인용 블로그정도에다가 공개하기엔 쓸만하다. 그냥 사용자의 관심사를 알 수 있을 테니까? 성능이나 기능으로 보면 한참멀었다. 단순한 reader 이외의 용도로 쓸만하지 못하고, web interface 라서 platform-independable 하다는 것 이외의 장점을 찾아보기 힘들다. - [eternalbleu]
         [1002] 의 경우는 FireFox + Bloglines 조합을 즐겨쓴다. (이전에는 FireFox + Sage 조합) 좋은 점으로는, 쓰는 패턴은, 마음에 드는 피드들이 있으면 일단 주욱 탭으로 열어놓은뒤, 나중에 탭들만 주욱 본다. 그리고, 자주 쓰진 않지만, Recommendations 기능과 Subscribe Bookmarklet, feed 공유 기능. 그리고, 위의 기능들을 다 무시함에도 불구하고 기본적으로 쓸모있는것 : 웹(서버사이드)라는 점. 다른 컴퓨터에서 작업할때 피드 리스트 싱크해야 하거나 할 필요가 없다는 것은 큰 장점이라 생각. --[1002]
  • Boost . . . . 4 matches
          * [http://boost.org/status/cs-win32.html 컴파일러 테스트] 페이지를 보면 알 수 있듯이 가장 많은 테스트를 통과하는 것은 gcc. VC++ 6 은 테스트도 안한다.
          * ["Boost/SmartPointer"] : Boost 에서 제공되는 스마트 포인터 사용 방법
         전에 ["JuNe"] 형이 말씀하시던게 이거였구나. --["neocoin"]
          정헌이 이거가지고 프로그램 짰잖아. --["neocoin"]
  • BoostLibrary . . . . 4 matches
          * [http://boost.org/status/cs-win32.html 컴파일러 테스트] 페이지를 보면 알 수 있듯이 가장 많은 테스트를 통과하는 것은 gcc. VC++ 6 은 테스트도 안한다.
          * [BoostLibrary/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]
  • C++스터디_2005여름/학점계산프로그램 . . . . 4 matches
         Containment(컨테인먼트)
         중앙대 컴공 학생 120명의 이번 학기 각 과목점수을 파일로부터 읽어들이고, 각 평점을 계산하고, 장학생명단을 발표하시오! 과목은 C, 국어와 문학, 경제와 사회, 선형대수학 이렇게 4과목으로 한다. 입력파일은 input.txt 이다. 객체 배열과 컨테인먼트을 사용하자.
         [http://www.zeropage.org/pub/upload/input.txt input.txt]
  • CNight2011/송지원 . . . . 4 matches
         == Round 2 - Linked List ==
          * Linked List의 정의 - [권순의]
          * Linked List ADT - [윤종하]
          * Linked List Interface Code - [송지원]
  • CalendarMacro . . . . 4 matches
         {{{[[Calendar(noweek,yearlink)]]}}} show prev/next year link
         [[Calendar(noweek,yearlink)]]
         '''archive option check blogged dates and link to the archive'''
  • ComposedMethod . . . . 4 matches
          void controlInitialize() {/* ... */}
          void controlTerminate() {/* ... */}
          controlInitialize();
          controlTerminate();
         개인적으로, 간단해보이지만 아주 중요한 이야기라 생각함. ProgrammingByIntention 의 입장에서, 또한 '같은 레벨의 추상화를 유지하라'라는 대목에서. (StepwiseRefinement 를 하면 자연스럽게 진행됨) --[1002]
  • ComputerNetworkClass . . . . 4 matches
         수업내용: 데이터 통신에서 배우는 것보다 한단계 상위 레이어. IP (Internet Protocol), TCP,UDP, Routing 의 원리, Subnet Mask, Tunneling 등의 개념 등에 대해 자세하게 배운다.
         수업을 듣기전에 TCP/IP socket programming 에 대한 입문서를 보고 듣기를 권하며, 수업의 진도를 따라가면서 TCP/IP 서적을 다시 한번 보거나 중급서적을 읽기 시작하면 아주 도움이 많이 될 것이라 생각한다.
         = examination =
  • ComputerNetworkClass/2006 . . . . 4 matches
          * http://orchid.cse.cau.ac.kr/course/cn/index.php?code=project1
          * http://zerowiki.dnip.net/~namsangboy/program/WinPcap_3_1.exe
         [ComputerNetworkClass/Report2006/BuildingWebServer]
         [ComputerNetworkClass/Report2006/BuildingProxyServer]
  • ContestScoreBoard . . . . 4 matches
         [http://online-judge.uva.es/p/v102/10258.html 원문보기]
         === Input ===
         각 입력은 심사 큐의 스냅샷으로 구성되는데, 여기에는 1번부터 9번까지의 문제를 푸는 1번부터 100번까지의 경시 대회 참가 팀으로부터 입력된 내용이 들어있다. 각 줄은 세 개의 수와 경시 대회 문제 시간 L형식의 글자 하나로 구성된다. L은 C, I, R, U 또는 E라는 값을 가질 수 있는데 이 글자들은 각각 Correct(정답), Incorrect(오답), clarification Request(확인 요청), Unjudged(미심사), Erroneous submission(제출 오류)을 의미한다. 마지막 세 개의 케이스는 점수에 영향을 미치지 않는다.
         === Sample Input ===
         || [문보창] || C++ || 90min || [ContestScoreBoard/문보창] ||
         || [신재동] || C++ || 45min || [ContestScoreBoard/신재동] ||
         || 차영권 || C++ || 100min|| [ContestScoreBoard/차영권] ||
  • CrcCard . . . . 4 matches
         Class - Responsibility - Collaboration Card. 보통은 간단한 3 x 5 inch 짜리의 인덱스카드(IndexCard)를 이용한다.
         See Also Moa:CrcCard , ResponsibilityDrivenDesign, [http://c2.com/doc/oopsla89/paper.html aLaboratoryForTeachingObject-OrientedThinking]
  • 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]
  • DiceRoller . . . . 4 matches
          * SHIFT+ENTER : 이상하게 그 창에서만 듣지 않는다.. 무언가 문제가 있는듯.. Direct Input를 사용해 볼까 고려중이다.
          4. 현재는 윈도우 메세지 Hooking에 대해서 보고 있다. // 이건 좀 보류..ㅡ.ㅡ;;
         HWND hWnd = FindWindow("My Process Caption Name", NULL);
          GetWindowThreadProcessId(hWnd, &ProcessId); // hWnd로 프로세스 ID를 얻음..
  • DoubleDispatch . . . . 4 matches
         Integer라는 클래스와 Float라는 클래스가 있다. 두 객체 간의 덧셈을 구현하고 싶다. 몇개를 구현해야할까? 4개다. 즉, Integer + Integer, Float + Float, Integer + Float, Float + Integer이렇게 말이다. 이를 해결하기 위한 절차적 방법은 모든 상황을 거대한 case 구문에 넣는 것이다. 이것은 한군데에다가 로직을 다 넣을 수 있다는 장점이 있음에도 불구하고, 유지보수가 어렵다.
         argument에 메세지를 보내라. selector에다가 receiver의 클래스 네임을 덧붙인다. receiver를 argument로 넘긴다. 이 패턴을 사용한 후의 Integer, Float 코드는 다음과 같다.
         Integer Integer::operator+(const Number& aNumber)
          return aNumber.addInteger(this);
         Integer Integer::addInteger(const Integer& anInteger)
          return Integer(this + anInteger);
         Float Integer::addFloat(const Float& aFloat)
          return asFloat().addFloat(aFloat); // Integer를 Float로 바꿔준 다음 계산
         Integer Float::addInteger(const Integer& anInteger)
          return addFloat(anInteger.asFloat());
          * http://eewww.eng.ohio-state.edu/~khan/khan/Teaching/EE894U_SP01/PDF/DoubleDispatch.PDF
          * http://www.chimu.com/publications/short/javaDoubleDispatching.html
          * http://no-smok.net/seminar/moin.cgi/DoubleDispatch
  • Erlang . . . . 4 matches
         [http://en.wikipedia.org/wiki/High_availability#Percentage_calculation Nine Nines(99.99999%)] 신화의 주역. 앤디 헌트도 단순히 버즈워드가 [http://blog.toolshed.com/2007/09/999999999-uptim.html 아니라고 인정].
         [[include(틀:ProgrammingLanguage)]]
  • ExplicitInitialization . . . . 4 matches
         == Explicit Initialization ==
         초기화에 대해서는 딱히 정해진 좋은 방법이 없다.(상황에 따라 택일해서 쓰라는 말) 이 패턴은 유연성보다는 가독성을 중시한다. 모든 초기화를 하나의 메소드에 때려넣는 방법이다. 유연성은 떨어질 수 밖에 없다. 변수 하나 추가하자면 ExplicitInitialization 메소드를 수정해야만 한다는 것을 기억하고 있어야 하기 때문이다. ExplicitInitialization은 LazyInitialization보다 비용이 많이 든다. 모든 변수를 인스턴스가 생성될때 초기화 하기 때문이다.
         모든 변수들을 명시적으로 설정해주는 initialize메소드를 구현하라. new메세지를 오버라이딩해서 새로운 인스턴스에 맞게 하라.
          void initialize()
          int defaultMillisecondPeriod()
          initialize();
  • ExtremeBear/VideoShop/20021106 . . . . 4 matches
          * ["PairProgramming"]이 불균형했다. ["PairProgramming"]의 본질에 다가서기 위해 시간을 정해야겠다.
          * ["PairProgramming"]이 집중도를 높여 효율이 증가했다.
          * ["PairProgramming"] 하면서 역시 배우는 게 많다
  • FeedBack . . . . 4 matches
          a. The return of a portion of the output of a process or system to the input, especially when used to maintain performance or to control a system or process.
          *. The return of information about the result of a process or activity; an evaluative response: asked the students for feedback on the new curriculum.
  • Gof/AbstractFactory . . . . 4 matches
         === Intent ===
          * AbstractProduct(Window, ScrollBar)
          * ConcreteProduct(MotifWindow, MotifScrollBar)
          * 추상 인터페이스(ProductInterface)를 수행한다.
          InterViews 는 AbstractFactory 클래스들을 나타내기 위해서 'Kit'를 접미사로 사용한다. 이것은 WidgetKit과 DialogKit abstract factory 들을 명확한 ["룩앤필"] UI 객체를 위해서 정의한다. InterViews는 또한 서로 다른 복합 객체를 생성하는 LayoutKit 을 포함다. 예를 들면, 어떤 layout은 문서의 방향(인물이나 풍경)에 따른 서로 다른 복합 객체를 개념적으로 정렬한다.
          ET++[WGM88]은 다른 윈도우 시스템(예를 들면, X Windows 와 SunViews)간의 호환을 수행하기 위해서 Abstract Factory 패턴을 사용했다. 윈도우 시스템의 추상 base 클래스는 윈도우시스템의 자원 객체(예를 들면, MakeWindow, MakeFont, MakeColor)를 생성할 수 있는 인터페이스를 정의한다. Concrete 서브 클래스는 특정 윈도우 시스템에 인터페이스를 수행한다.
  • Hacking/20041104세번째모임 . . . . 4 matches
         find --name --user --group 등의 조건으로 해당 파일이나 디렉토리 검색
          * Chapter3 Windows 98 Hacking
         [Hacking]
  • HardcoreCppStudy/첫숙제/ValueVsReference/임민수 . . . . 4 matches
         #include <iostream>
         using namespace std;
         void main()
          * main() 함수의 리턴형이 void 이기 때문에 return 0은 쓰면 안 됩니다. -영동
  • 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]
  • IpscAfterwords . . . . 4 matches
         후.. 좌절(아까 떡볶이 먹을때에도 너무 강조한것 같아서 이제는 다시 자신감 회복모드 중입니다만) 임다. -_-; 결국 5시간동안 한문제도 못풀었네요. 처음 경험해본 K-In-A-Row 문제를 풀때나 Candy 문제를 풀때만해도 '2-3문제는 풀겠다' 했건만. 어흑;[[BR]]
          * 전에 K-In-A-Row 같은 경우는 일종의 StepwiseRefinement 의 형식이 나와서 비교적 코딩이 빠르게 진행되었었고, (비록 답은 틀렸지만) Candy 문제의 경우 덕준이가 빨리 아이디어를 내어서 진행이 빨랐었는데, 실전에서는 그런 경우들이 나오지 않아 버겨웠던듯 하네요.
          * 중반부로 들어가면서 사람들이 문제들을 못풀다보니 팀플레이도 흐트러진것 같습니다. 이전에 K-In-A-Row 풀때나 Candy 풀때만해도 실마리를 잡아서 '풀 수 있겠다' 라고 생각해서인지 팀플레이가 잘 되었던거 같은데.. 역시 어려울때 잘하기란 힘든것 같네요.
          * IPSC Winner 가 발표되었네요. 재밌게도 Open 과 Second 둘 다 러시아이고, 양쪽 팀 다 Pascal 을 이용했다는. ^^
         석천군 팀이 B번 문제(Job Balancing)를 풀긴 풀었으나 시간이 너무 걸려서 옵티마이징을 필요로 했습니다. 제가 O(m*n^2)에서 O(m*n)으로 만들어줬는데, 그것으로도 부족했습니다. 집에 돌아와서 잠을 자다가(NoSmok:포앵카레문제해결법 ) 몇 가지 아이디어가 떠오르더군요. 오늘 아침에 일어나서 30분 정도 뚝닥거려서 B Difficult Set을 5초 안에 끝내는 코드를 만들었습니다. 어떻게 사고했냐구요? TDD로 원소 하나 짜리, 두 개 짜리, 세 개 짜리, ... 를 하다보니까 일반해가 보이더군요. 역시 마음에 여유가 있으면 잘 되는 것 같습니다.. see also IpscLoadBalancing
  • JAVAStudy_2002/진행상황 . . . . 4 matches
         swing 약간과 기타 Java 관련 기초 지식 습득. [[BR]]
          * 2월 4일 : Core Java 책 Event Handling 부분 다보고 나서 이제 Swing 부분 보기 시작 했습니다.
         현재 Java swing API중 버튼이나.. 텍스트 박스에 대한 것을 익혔습니다.(Application쪽..)[[BR]]
  • JMSN . . . . 4 matches
          * http://jmsn.sourceforge.net/msnmlib/docs/index.html - MSN Library Java API Document
          * http://cvs.linuxkorea.co.kr/cvs/py-msnm - Python 으로 포팅된 msnmlib
         * 사용자의 일부 properties(Foward list, Reverse list, Allow list, Block list, GTC setting, BLP setting)-$1는 서버에 저장된다. $1은 client에 캐시된다. client에 캐시된 $1를 최신의 것으로 유지해야 한다.
  • KDPProject . . . . 4 matches
          * ["디자인패턴"] - OpeningStatement. 처음 DesignPatterns 에 대해 공부하기 전에 숙지해봅시다. 순서는 ["LearningGuideToDesignPatterns"]
          *["DPSCChapter1"] - Introduction - 현재 1.3 진행중.
          * http://www.jini-club.net/ - 지니클럽 디자인 패턴 게시판
          * http://www.artima.com/javaseminars/modules/DesPatterns/
  • LazyInitialization . . . . 4 matches
         == Lazy Initialization ==
         ExplicitInitialization의 모든 장점은 단점으로, 단점은 장점으로 된다. 당연하다.(--;)
         LazyInitialization의 하나의 변수당 두개의 메소드로 나눠서 초기화를 한다. 하나는 변수가 LazyInitialization되는 것을 감추어 주는 getter이고, 다른 하나는 변수에다 디폴트값으로 할당을 해줄 DefaultValueMethod이다. 이 방법은 유연성이 증대된다. 당신이 서브클래스를 만든다면, DefaultValueMethod를 오버라이딩함으로써, 기능을 바꿀 수 있다. 전장에서도 언급했듯이 성능도 증대시킬 수 있다.
          int getCount()
          int defaultCount()
          int getPeriod()
          int defaultPeriod()
         별로 안쓸듯하지만... 켄트벡 왈 : 일단은 ExplicitInitialzation으로 출발을 하고, 상속될 거 같으면 LazyInitialization을 사용한다.
  • LogicCircuitClass/Exam2006_2 . . . . 4 matches
         메세지가 0 이면 NRZI 가 invert 되고 메세지가 1이면 NRZI 가 유지된다.
          a. Find the state diagram by Mealy machine.
          b. Find the state table.
  • LuaLanguage . . . . 4 matches
         게임 프로그래머들이 embedding language 로 많이 선호하는 언어. (embedding 시 용량이 작고 문법이 간편하다는점에서)
         [[include(틀:ProgrammingLanguage)]]
  • MFCStudy_2001/진행상황 . . . . 4 matches
          * 모든 프로그램의 접수처는 neocoin@orgio.net 입니다. 링크 시키란 의미가 아닙니다.
          lib파일 포함시키는 범,릴리즈 모드와 디버그 모드의 차이점,메인 윈도우의 포인터 얻어오기(CAlcaDlg *pDlg=(CAlcaDlg*)AfxGetMainWnd();)
          *1월 7일 : Define 상수 결정, Stage 1의 블럭 초기화, 바의 움직임(키보드 or 마우스)
          *1월 14일 - 13일 일요일에 석천이형의 조언에 따라 코드 전체적으로 대대적인 Refactoring(이 용어가 맞는지는 모르겠네여..^^;;)을 해서 할수 있는 한 많은 코드들을 함수로 만들었습니다. 이에 따라 라인수가 아주 많이 줄어들게 되었고, 공격과 방어 인공지능을 같은 함수로 동작하게 하여 방어 할 수 있는 패턴은 모두 컴퓨터 공격할 수 있게 하였습니다.(덕분에 코드를 체계적으로 만들때는 상당히 힘들었지만, 한번 그렇게 하니 작업이 훨씬 쉬어 졌습니다. 참으로 중용한 사실을 몸소 체험 한거 같습니다) 3,4 방어 및 공격 인공 지능을 추가 했습니다. 이제 사람을 이길 확률이 좀더 높아 졌지만, 아직도 부족한것 같고 띈 3,3 방어 및 공격과 효율적인 3 만들기를 추가할 예정입니다.
  • MIB . . . . 4 matches
         = Man in Black =
         http://www.meninblack.com
          * 요즘 ["상민"]이는 "MIB들이 처리해 줄꺼야" 라는 말을 많이 쓴다. dcinside에서 "MIB들이 처리 했습니다." 라는 소리 한마디 듣고 전염이 되어 버렸다. 여기에서 MIB라면 일전에 창준 선배가 말씀하신 그린베레 프로그래머(Green Beret Programmer(Wiki:GreenBeretCoding) 정도의 의미가 될 것이다. 후에 MIB Programmer가 더 적당한 말이 될수 있겠다고 생각하곤 한다.
  • MT날짜정하기 . . . . 4 matches
         === Opinion ===
          * Seminar:PraiseGame --재동
         MT 무산인가요? 그날 http://30th.caucse.net/ 30주년 기념회를 하는데요? --NeoCoin
          재학생도 참가비 내고 가는건가? 너무 센데 저거? --NeoCoin
  • MoinMoinRelease . . . . 4 matches
         This describes how to create a release tarball for MoinMoin. It's of minor interest to anyone except J
  • MoniWikiTheme . . . . 4 matches
          * '''include'''로 처리된다.
         http://chemie.skku.ac.kr/wiki/wiki.php/TwinPages?action=theme&theme=kz
         http://chemie.skku.ac.kr/wiki/wiki.php/TwinPages?action=theme&theme=blog
         http://chemie.skku.ac.kr/wiki/wiki.php/TwinPages?action=theme&theme=samplehome
  • NumericalAnalysisClass/Exam2002_2 . . . . 4 matches
          b) 여인수를 이용한 determinant 를 계산하시오.
         3. 고정점 반복법(Fixed-point iteration)과 Newton 반복식의 1,2차 수렴성을 증명하시오.
         (tan@ = m, cos@ = 1 / sqrt(m^2+1), sin@ = m / sqrt(m^2+1)
          3) Affine transformation
  • NumericalExpressionOnComputer . . . . 4 matches
         === fixed-point expression ===
         === float-point expression ===
         the art of computer programming, vol2 : seminumerical algorithms
  • OperatingSystemClass/Exam2006_2 . . . . 4 matches
         6. Paging System에서 여러 가지 주소 맵핑 방법이 있는데 각각을 설명하시오.
         7. Threshing 이 일어나는 원인과 시스템이 Threshing을 어떻게 발견하고 처리하는지 쓰시오.
         [OperatingSystemClass]
  • OurMajorLangIsCAndCPlusPlus/XML . . . . 4 matches
          <instructor>이상규</instructor>
          <instructor>이선호</instructor>
  • PatternCatalog . . . . 4 matches
          * ["SingletonPattern"]
          * ["Gof/Singleton"]
          * ["ChainOfResponsibilityPattern"]
          * ["InterpreterPattern"]
          * ["Gof/ChainOfResponsibility"]
          * ["Gof/Interpreter"]
  • PersonalHistory . . . . 4 matches
          * [http://izyou.net/wireless Moblie computing class term paper]
          * [XpWeek] - 2004년 겨울방학 ExtremeProgramming 체험하기
          * [ZeroPageMagazine] - 미완성
          * 참고 페이지 - [GuiTesting]
  • 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]
  • Plex . . . . 4 matches
         Seminar:Plex - http://www.cosc.canterbury.ac.nz/~greg/
         특히 좋아하는 이유로는 State Machine 의 개념으로 텍스트를 파싱하고 가지고 놀 수 있다는 점이 있겠다. 예를 들어 HTML에서 span 태그에 대해 파싱한다고 할때 <span 시작 - span 내용 - </span> 끝이라면 그냥 이를 서술해버리면 된다는.~
         BuildingWikiParserUsingPlex
  • 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"]
  • ProjectEazy . . . . 4 matches
         == Link ==
         [http://www.kssline.pe.kr/journalportal(0006).htm 접속 두 문화 1,2,3] - 윤송이박사 인터뷰
         [http://infocom.chonan.ac.kr/~limhs/ 천안대학교 임희석?교수]
          자답이네요. hangul모듈의 disjoint로 조합형으로 변환할 수 있군요. --[Leonardong]
  • ProjectEazy/테스트문장 . . . . 4 matches
         || IP(interjectival phrase) || 독립어구||
          --논문 [[HTML("[Parsing]Automatic generation of composite labels using POS tags for parsing Korean")]]에서
  • ProjectGaia/참고사이트 . . . . 4 matches
          *[http://www.istis.unomaha.edu/isqa/haworth/isqa3300/fs009.htm Extendible Hashing] in English, 개념.코볼 구현소스
          *[http://www.cis.ohio-state.edu/~hakan/CIS671/Hashing.ppt Hash PPT]기본 개념 잡을려면.. 이걸보세엽.
          *[http://perso.enst.fr/~saglio/bdas/EPFL0525/sld009.htm Extendible Hashing]
  • ProjectPrometheus/Iteration2 . . . . 4 matches
         === 2nd Iteration - 8 Task Point Load. 7 Task Point 완료 ===
         || Task || Point (Pair 기준 1시간 : 1 point ) || 진행상황 ||
  • ProjectPrometheus/Iteration9 . . . . 4 matches
          * 바구니 기능 - 근데, 우리가 생각한 기능은 아닌듯. 용도가 좀 다름. 이에 따라 login 이 쿠키 스타일로 바뀜. (JSP 를 쓰던데, Session 스타일일 가능성도)
          * login 체제 (만일 Java라면 Cookie 를 어떻게 저장할까? 바구니 기능이 겹칠 수도 있겠다 생각)
         미스테리 : logging.jsp 파일이 include 시에 과거 코딩으로 돌아온다.
  • 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/
  • ProjectSemiPhotoshop/계획서 . . . . 4 matches
          * 10/24 pm1:00~pm4:00 VC예제 작성 , GDI, BMP, Key Input 예제 작성
          * Sampling 구현
          * 11/26 화 2차 integration ( 히스토그램, Quantization)
          * 11/28 목 3차 integration ( 남은 기본 기능, 명암 변화들 )
          * 11/30 토 4차 integration ( 추가 기능 )
  • 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
  • RandomWalk2/TestCase2 . . . . 4 matches
         input1.txt
         input2.txt
         input3.txt
         input4.txt
  • Reverse Engineering처음화면 . . . . 4 matches
         4. 프로그래밍 후의 Debugging을 위한 초석.
         2. Windows API + C
         1. System Programming (Kernel)
         2. Network Programming
  • RunTimeTypeInformation . . . . 4 matches
         동적으로 만들어진 변수의 타입을 비교하고, 특정 타입으로 생성하는 것을 가능하게 한다. (자바에서는 instanceof를 생각해보면 될 듯)
          int compare(derived &ref);
         int my_comparison_method_for_generic_sort(base &ref1, base &ref2)
         = RTTI in MFC =
  • ServiceOrientedProgramming . . . . 4 matches
         Adrian Tang 교수의 UbiquitousComputing 관련 강연에서 잠깐 언급되어서 웹을 뒤져봤는데 자료가 꽤 있는것 같다. UbiquitousComputing 과 SemanticWeb 등등과 맞물려 있는 프로그래밍 패러다임인것 같다. 개념정리를 해서 이곳에 정리를 해볼 예정 - [임인택]
          * [http://www.openwings.org/download/specs/ServiceOrientedIntroduction.pdf Introduction to service oriented programming]
  • ShellSort . . . . 4 matches
         [http://online-judge.uva.es/p/v101/10152.html 원문보기]
         여틀 왕(King Yertle)은 그의 거북이 왕관을 재배치해서 가장 계급이 높은 귀족과 가장 가까운 측근들을 더 위쪽으로 올리고 싶어한다. 쌓여있는 거북이들의 순서를 바꾸는 방법은 거북이 한 마리가 원래 자기 위치에서 빠져 나와서 맨 위로 올라가서 자리를 잡는 방법 밖에 없다.
         === Input ===
         === Sample Input ===
         Elizabeth Windsor
         Elizabeth Windsor
  • SilentASSERT . . . . 4 matches
         - Compare String
         - Compare No Case String
         - Insert Test Title
         - Insert Code Line Number
         C++ 개발자, 특히 Window 프로그래밍을 할 때에는 ASSERT를 잘써야 합니다.
  • Spring/탐험스터디 . . . . 4 matches
         [[pagelist(^Spring)]]
          * [Spring Framework 3]로 작지만 유용한 프로그램을 만들어보자!
          * [Spring]의 핵심 가치와 원리에 대한 이해
          * Spring Framework 3 다루는 다른 교재 가능
  • StringCompression . . . . 4 matches
         = StringCompression =
         Solution에 링크를 달고, 해당 링크(StringCompression하위링크)에 자신의 풀이를 올리세요. -- 보창
         모든 경우를 다 해 보는 알고리즘은 O(n^3) 이 되네요. String Matching에서 좀 더 효율적인 알고리즘을 사용해보면 좀더 줄일수 있을텐데... -- 보창
  • StructuredProgramming . . . . 4 matches
         구조적 프로그래밍 기법으로서 OOP에서도 여전히 유용하게 이용할 수 있는 방법으로는 StepwiseRefinement 가 있다. 이는 처음 추상적인 이름으로 서술한뒤, 점차적으로 구체적인 구현부분까지 점진적으로 서술해가면서 구현해나간다. 이는 ProgrammingByIntention 과 그 맥락이 비슷하다고 할 수 있다.
         Notes on Structured Programming
         What led to "Notes on Structured Programming"
  • Telephone . . . . 4 matches
         http://zeropage.org/pub/WinMergeSetup.exe - winmerge
         """자신의프로그램이름""" < test1.in > out.txt
         '''test1.in'''
  • TestDrivenDevelopmentByExample/xUnitExample . . . . 4 matches
          def __init__(self, name):
          def __init__(self):
          def testFailedResultFormatting(self):
         TestCaseTest("testFailedResultFormatting").run()
  • TestSuiteExamples . . . . 4 matches
         if __name__=='__main__':
          unittest.main(argv=('','-v'))
         if __name__=='__main__':
          suite.addTestSuite(LoginTest.class);
  • TheElementsOfProgrammingStyle . . . . 4 matches
          학생들이 TheElementsOfProgrammingStyle 을 공부하면서 TheElementsOfStyle을 언급하였으면 좋겠다. - [임인택]
         음 저자이름이 낯익어 기억을 더듬어봤더니, 제가 생각하던 [http://www.cs.princeton.edu/~bwk/ 그분]이 맞네요. [http://www-2.cs.cmu.edu/~mihaib/kernighan-interview/ 인터뷰]를 읽은적이 있는데... 나머지 한분은 누구일까요..? - [임인택]
         P.J. Plauger라고 역시 유명인. C와 C++ 표준화에 많은 업적을 남겼다. 2004년도 닥터 도브스 저널(DrDobbsJournal)에서 주는 Excellence In Programming Award 수상. --JuNe
  • TheOthers . . . . 4 matches
          * 유덕윤 - C using Win32 API or MFC
          * MFC(또는 Win32 API)로 DB와 GUI 코딩하기
          |__ UIProtoType - UI ProtoType 관련 문서 & Binary
  • TheTrip/Leonardong . . . . 4 matches
          for each in aList:
          for each in expensesBiggerThanMean:
         if __name__ == '__main__':
          unittest.main()
  • UsenetMacro . . . . 4 matches
         This works well with GoogleGroups Beta service. This helps make links to GoogleGroups with text remotely extracted from usenet topic.
          global $DBInfo;
          $img = sprintf('<img src="%s/google-16.png" alt="GoogleGroups:"'.
          ' align="middle" hspace="1" />', $DBInfo->imgs_dir);
          return sprintf('%s<a href="%s">%s</a>', $img, $url, $subj);
         [[Usenet(http://groups-beta.google.com/group/comp.unix.programmer/browse_thread/thread/d302919d5af2b802)]]
         [[Usenet(http://groups-beta.google.com/group/comp.unix.programmer/browse_thread/thread/d302919d5af2b802)]]
         [http://nohmad.sub-port.net/wiki/CodingLog/2003-09]
  • 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]]
  • XML/PHP . . . . 4 matches
         * [http://devzone.zend.com/node/view/id/1713#Heading7 원문] --> php로 xml다루는 방법을 아주 쉽게 설명했네요
         print $dom->saveXML();
         print $dom->save("newfile.xml");
          print $node->textContent . " ";
  • ZPBoard/AuthenticationBySession . . . . 4 matches
         login.php - 회원 인증 폼에서 ACTION 속성으로 사용
         <script language = "JavaScript">window.location.replace("example.html");</script>
         <script language = "JavaScript">window.location.replace("example.html");</script>
         좀 더 직접적으로 이야기 하기전에 한번 더 다음의 상황을 보고 추측해보기 바랍니다. (Hint: 거창한 문제점을 가지고 문제삼은게 아닙니다. 쿠키니 세션이 아닌 로직상의 문제점을 살펴보면 해답이 있습니다.)
  • ZeroPage정학회만들기 . . . . 4 matches
          * ZeroPage의 현재활동의 우수성(외부행사, 각종 seminar, 경진대회 성적, 학술제 성적, 각종 study group & project, 회원들의 학점등등...)을 담는다. see also ZeroPageEvents
          * 이번에 르네상스클럽에서 할 Seminar:ReadershipTraining 와 같은 행사의 과내 행사화. RT와 Open Space Technology 를 조합하는 방법도 가능하리란 생각.
  • callusedHand/projects/fileManager . . . . 4 matches
          가상 파일 시스템 도입 / Linux configuration center(?) / 원격 로그인
          * Linux
          * C socket programming & unix network programming
  • cogitator . . . . 4 matches
         But, infinite passion & interest to the zeropage
         기술개발이 아닌 아닌 information policy 를 공부하러 ICU로 왔음
  • django/Model . . . . 4 matches
          "id" integer NOT NULL PRIMARY KEY,
         = Admin =
         Django는 정의한 모델에 Admin클래스를 재정의해서 이를 삽입, 삭제, 갱신할 수 있는 기본적인 관리자 인터페이스를 자동으로 생성해준다. 사용자 인터페이스는 입력 항목을 원하는대로 배치할 수 있으며, 원하는 디자인도 적용할 수 있다. 이것으로 기본적인 입력 시스템은 만들어졌다.
         Upload:Screenshot-Django-site-admin.png
  • 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들. 도대체가 뭔 말인지 몰라 그냥 긁어 쓴다. 우헤헤헤헤..
  • iText . . . . 4 matches
          PdfWriter.getInstance(document, new FileOutputStream("Hello.pdf"));
          e.printStackTrace();
          e.printStackTrace();
          public static void main(String args[]) {
  • jinahut . . . . 4 matches
         나의 공간을 의미하는, jinahut .
         .... written by jina. 2oo6/o1/o7
         = jinahut.idaizy.net =
         [http://jinahut.idaizy.net 영원한, 나의 공간, 나만의 초가집]
  • 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"] || 스마트 포인터 쓰기 ||
  • naneunji . . . . 4 matches
          * thinking in java 책 읽기
         === Reading ===
  • pinple . . . . 4 matches
         = pinple =
         pinple 프로젝트를 진행함에 있어 어려웠던 점들과 그걸 해쳐 나갔던 전반적인 것들을 위키에 정리하려 합니다.
         == pinple의 시작 ==
          * [http://agile.egloos.com/5738624 애자일 이야기 : 몇 명 팀이 효과적인가요?] 저는 이 글을 읽고 가장 먼저 생각난 것이 Pinple이었습니다. - [김수경]
  • spaurh . . . . 4 matches
          * Nappingin:취미생활
         SeeAlso Nappingin:spaurh
  • while문 구구단 . . . . 4 matches
          print a * b
          continue
         {{{ print a * b}}} -> {{{print '%d X %d = %2d'%(a,b,a * b)}}}
  • 공학적마인드 . . . . 4 matches
          * '공학적 마인드'라는 키워드 검색 결과 : [http://www.google.co.kr/search?hl=ko&ie=UTF-8&newwindow=1&q=%EA%B3%B5%ED%95%99%EC%A0%81+%EB%A7%88%EC%9D%B8%EB%93%9C&btnG=%EA%B5%AC%EA%B8%80+%EA%B2%80%EC%83%89&lr= 구글][http://search.naver.com/search.naver?where=nexearch&query=%B0%F8%C7%D0%C0%FB+%B8%B6%C0%CE%B5%E5&frm=t1&x=0&y=0 네이버][http://search.empas.com/search/all.html?s=&f=&z=A&q=%B0%F8%C7%D0%C0%FB+%B8%B6%C0%CE%B5%E5 엠파스][http://kr.search.yahoo.com/search?fr=kr-front&KEY=&p=%B0%F8%C7%D0%C0%FB+%B8%B6%C0%CE%B5%E5 야후]
         이들을 보았을때 [공학적마인드]란 '직관보다, 측정치나 통계 등 데이터를 이용해서 미래를 예측하려는 노력, 의사 결정 방법' 과 비슷한 의미가 아닐까요? 워낙 직관에 의존한 의사 결정이 팽배한 시점에서 자주 들었습니다. --NeoCoin
         안쪽으로는 논리적으로 각 변수들을 연결시키며 내적정합성을 유지하고, 현실에서 실제 관찰한 측정치값들을 근거로 '외적정합성'을 최대한 유지하며 미래를 예측하는, 그리고 여기에 '공학', 즉 'Trade-Off' 를 적용하여 input 에 대한 노력 대비 output 을 최대로 이끌어내는 것이 [공학적마인드] 가 아닐까 생각해봅니다.
         구글을 검색하니 어떤 페이지(http://foe.mmu.edu.my/main/career/html_version/tsld005.htm )가 나오는데 훌륭한 목록인 것 같습니다. 이 목록은 "이런 사고를 가져야 한다"는 의미에 가깝습니다.
  • 구근 . . . . 4 matches
          * 홈페이지 & 개인위키 : http://www.passioninside.com/
          * E 메일 : passion at passioninside dot com
          * [http://www.passioninside.com/wiki/passion/moin.cgi/Passion_2f_c3_d6_b1_d9_bc_d2_bd_c4 최근소식]
  • 김수경/JavaScript/InfiniteDataStructure . . . . 4 matches
         Implementing Infinite Data Structure in JavaScript.
          * {{{filter(f(a)) := for each a in seq, sequence of a which f(a) is true.}}}
  • 논문번역/2012년스터디 . . . . 4 matches
          * Experiments in Unconstrained Offline Handwritten Text Recognition
          * by Markus Wienecke, Gernot A. Fink, Gerhard Sagerer
  • 덜덜덜 . . . . 4 matches
         '''[http://winapi.co.kr/clec/cpp1/cpp1.htm winapi.co.kr의 C기초강좌] 매우 자세하며 양이 많다. 이것이 교재 적당히씩 읽고 와주세요'''
         ||[김진아]||jin-_-a골뱅이hotmail.com|| :) || :) || :) || :) ||
         ||[이재영]||michin1213골뱅이hotmail.com|| :) || :( || :) || :( ||
         [DevCppInstallationGuide] // 인스톨 가이드 입니다. <- 필수!!
  • 데블스캠프2003/셋째날/J2ME . . . . 4 matches
         [http://165.194.17.15/pub/language/java/j2sdk-1_4_0_01-windows-i586.exe J2SE]
         [http://165.194.17.15/pub/language/j2me_wireless_toolkit-2_0-windows.exe wireless toolkit]
          * ["MobileJavaStudy/NineNine"] - 구구단을 종류별로 출력하는 프로그램
  • 데블스캠프2005/화요일후기 . . . . 4 matches
         허아영, 박경태, 윤성복, [송수생],[최경현],남도연, 이규완, 김민경, 김범준, 최정빈, 정진수, [이재혁], 김소현, 김태훈([zyint]), [조현태] 한유선,김영록,김재성, 정수민
         [[HTML(<center>)]]'''후기 적는 방법 : ThreeFs Fact(사실), Feeling(느낌), 교훈(Find)[[BR]] 을 구분해서 명확히 이야기 해줄래요?''' [[HTML(</center>)]]
         김태훈([zyint]) :사실:python과 알고리즘을 배웠다/느낌:힘들었지만 파이선 만드는것이 재밌었다+ㅁ+/교훈:구조적으로 만들자-_- 소스 드럽지 않게;
  • 데블스캠프2006/월요일/연습문제/if-else/김대순 . . . . 4 matches
         #include<iostream.h>
         void main()
          int i,j;
          cin >> i;
  • 데블스캠프2006/월요일/연습문제/switch/윤영준 . . . . 4 matches
         #include <iostream.h>
         void main(void)
          int student[10], i=0, a=0, b=0, c=0, d=0, f=0;
          cin >> student[i];
  • 데블스캠프2006/월요일/연습문제/기타문제/김대순 . . . . 4 matches
         #include<iostream.h>
         void main()
          int i;
          if(i==5) continue;
  • 데블스캠프2006/월요일/연습문제/기타문제/윤영준 . . . . 4 matches
         #include <iostream.h>
         void main(void){
          int i;
          continue;
  • 데블스캠프2006/준비/목요일 . . . . 4 matches
         || 01:00-03:00 || Win32API || 이재혁 ||
         == Win32API ==
          * 목표 : C언어와 Win32API를 이용, 기초적인 윈도우 프로그래밍을 배워본다.
          * 목표 : 앞에서 배운 객체 지향과 Win32API 를 바탕으로 MFC 를 다뤄본다.
  • 데블스캠프2009/금요일/연습문제/ACM2453/김홍기 . . . . 4 matches
         int b(n){int a=0;for(;;n/=2){if(n%2)a++;if(!n)break;}return a;}main(i,n){for(;;){scanf("%d",&n);if(!n)break;for(i=n+1;b(n)!=b(i);i++);printf("%d\n",i);}}
  • 데블스캠프2009/수요일/JUnit/서민관 . . . . 4 matches
          private int operand1;
          private int operand2;
          public double calculate(char op, int num1, int num2)
  • 데블스캠프2010 . . . . 4 matches
          || 10 || 박성현 || Eight Queen 문제(Pair Programming) || 전 시간대 가능 ||
          || 8시 ~ 10시 || [이승한]|| [wiki:데블스캠프2010/일반리스트 일반리스트] || [변형진] || [wiki:데블스캠프2010/Factorize Factorize] || [이병윤] || 가상화 || [wiki:상규 이상규] || 생각하는 개발자 || [박성현] || Ending 총화 ||
          [HowToCodingWell] [SibichiSeminar]
  • 데블스캠프2010/회의록 . . . . 4 matches
         2010년 06월 26일의 Ending 총화시간에 나온 말들을 적었습니다.
         == PP(Pair Programming) (강사 : [김홍기]) ==
         == Reverse Engineering (강사 : [이병윤]) ==
  • 데블스캠프2012/셋째날/앵그리버드만들기 . . . . 4 matches
         //input your javascript code!
         <!-- input your tags! -->
          clearInterval(intervalId);
         var intervalId = setInterval(Loop, 30);
  • 동문서버위키 . . . . 4 matches
         http://dongmun.cse.cau.ac.kr/phpwiki/index.php?RecentChanges
         동문서버위키가 현 상황에서 제로페이지의 위키나 다른 성공적 위키 사이트에 비해 상대적으로 사용이 저조하고 NoSmok:DegreeOfWikiness 가 낮고 무엇보다도 사람들이 해당 위키를 통해 얻는 "삶 속에서의 가치"(혹은 효용)가 없어서 한마디로 실패한 커뮤니티 사이트가 된 이유는 무엇일까.
          * 테스트 기간때의 개인페이지의 영향 - 동문서버팀에서 '좋은 선례' 를 만들어보기 위해 동문서버 프로젝트 자체가 돌아가는 모습 (ex - [http://dongmun.cse.cau.ac.kr/phpwiki/index.php?PPGroup_Board 동문서버게시판프로젝트]) 을 일부러 위키에 남겨보고, 몇몇 사람들이 공동번역페이지나 스터디 페이지 같은 것들을 열어봤었지만. 이미 그때 사람들의 주 관심사들은 자신들의 페이지들에 일기를 남기는 것이였었죠. 그 이후, 인식을 바꿀만한 사건들이 나오지 않은 것 같습니다.
          * 주제의식의 부족 - 이것은 앞의 이야기와 이어지는데요. 인식을 바꾸지 못했던 점과 이어지죠. 주제에 대해서 [http://dongmun.cse.cau.ac.kr/phpwiki/index.php?%B5%BF%B9%AE%C0%A7%C5%B0 동문위키] 페이지에서 언급을 했었으면서도 실제로 열려있는 페이지들이 그러하지 못했죠. 이는 시험서비스였다는 점도 작용하겠지만, 시험서비스가 기간이 너무 길었죠. (기약없는 시험서비스기간) --석천
  • 레밍즈프로젝트/프로토타입 . . . . 4 matches
         참고 : MFC에서는 [(zeropage)STL/String] 보다는 CString 클래스를 사용하는게 [(zeropage)MFC/Serialize]를 하는데 용이하다고 한다.
         참고2 : [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_cstring.asp MSDN_CString]
  • 레밍즈프로젝트/프로토타입/마스크이미지 . . . . 4 matches
          void DrawBitMap(UINT ITEM, int x, int y, UINT rop=SRCCOPY){
          BITMAP bitmapInfo;
          newBitmap.GetBitmap(&bitmapInfo);
          m_pMemDC->BitBlt(x, y, bitmapInfo.bmWidth, bitmapInfo.bmHeight, &BitMapDC, 0, 0, rop);
          void DrawMaskBitMap(UINT MASKITEM, UINT IMGITEM, int x, int y){
          this->DrawBitMap(IMGITEM, x, y, SRCPAINT);
  • 루프는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
         reverseString (x:xs) y = reverseString xs ([x]++y)
         reverseString [] y = y
         reverseString "Hello, World!" []
  • 문자열연결/조현태 . . . . 4 matches
         #include <fstream>
         #include <iostream>
         using namespace std;
         void main()
  • 문제풀이게시판 . . . . 4 matches
         문제풀이에 어려움을 느끼는 사람과 직접 PairProgramming을 해준다. 도우미는 "문제풀이도우미시장"이라는 위키 페이지를 유지 관리하면서 요청이 들어오면 가능한 한 빨리 그 사람과 Xper:RemotePairProgramming 혹은 실제 PP를 해서 도움을 준다. 문제를 풀 직접적 지식을 전달하는 것보다 어떤 문제건 풀 수 있는 효과적/효율적 과정을 경험케 해주는 것이 우선이라는 점을 명심한다.
          * Moa:ProgrammingPearls
          정확히 이해가 안가지만, ["문제분류"] 중에 있는 EightQueenProblem , ["가위바위보"] 같은 문제의 ["지도분류"]와 같은 여정을 만들어 놓는건가요? 아, 게시판을 만든다는 이야기군요. --NeoCoin
  • 반복문자열/김소현 . . . . 4 matches
         #include <stdio.h>
          int i;
          printf("CAUCSE LOVE. \n");
         void main()
  • 반복문자열/김유정 . . . . 4 matches
         #include <stdio.h>
         main()
          int i;
          printf("%dCAUCSE LOVE.\n",i);
  • 반복문자열/윤보라 . . . . 4 matches
         #include <stdio.h>
         void main()
         { int i = 0;
          printf("CAUCSE LOVE.\n");
  • 반복문자열/이규완 . . . . 4 matches
         #include <stdio.h>
          printf("CAUCSE LOVE\n");
         void main()
          int i;
  • 반복문자열/이유림 . . . . 4 matches
         #include <stdio.h>
         void main(void)
          int i=0;
          printf("CAUCSE LOVE.\n");
  • 반복문자열/이재경 . . . . 4 matches
         #include <stdio.h>
          main()
          int i;
          printf ("%dCAUSE LOVE. \n,"i);
  • 반복문자열/이정화 . . . . 4 matches
         #include <stdio.h>
         main()
          int count;
          printf("CAUCSE LOVE.\n");
  • 반복문자열/이태양 . . . . 4 matches
         using System;
          static void Main(){
          for(int i=0;i<5;i++){
          Console.WriteLine("CAUCSE LOVE.");
  • 부드러운위키만들기 . . . . 4 matches
          도구로서의 위키에 대해 익숙하지 않아서일겁니다. 처음 접하는 이들에게 위키위키라는 매체는 문화라기보다는 단지 사용하기 어려운 도구에 가깝게 느껴질 것입니다(실제로는 무척 사용하기 쉬운 도구임에도 불구하고 말이죠). 딱딱한 느낌을 받는 것은 이곳에서 주로 다루는 내용이 컴퓨터 공학과 관련된 전공지식 위주가 아니어서일까 생각합니다. [임인택]은 이번위키설명회때 [짝위키]를 해보는 것을 제안합니다. 한 사람이 위키를 자유자재로 항해하며 페이지를 수정하면(PairProgramming으로 치면 드라이버가 되겠죠), 나머지 한사람은 드라이버가 위키를 어떻게 사용하는지 살펴보고 드라이버가 행하는 행위에 대해서 질문(일종의 옵저버)하며 위키에 대한 감을 익혀갑니다. PairProgramming 과 마찬가지로 일정한 시간간격을 두고 드라이버와 옵저버의 역할을 바꿉니다. - [임인택]
         [MiningZeroWiki] [롤링페이핑위키] [위키설명회] [Thread의우리말]
  • 사과나무/과제방/1회차/김도익 . . . . 4 matches
         scanf() 함수는 입력란을 만들어 자료를 입력받는 함수입니다. 입력된 자료는 매개변수로 지정한 변수에 대입됩니다. 문장 형식을 통해 입력된 자료를 변수에 대입한다는 점에서 변수의 값을 문장 형식에 사용하는 printf() 함수와는 출력 방향이 반대인 셈입니다
         scanf() 함수를 사용하기 전에 printf() 함수로 안내문을 보여주는 것이 좋습니다.
         scanf() 함수로 입력된 자료는 변수에 저장됩니다. 이때 입력받을 수 있는 자료형의 종류가 정해진 상태이므로 사용자가 제대로 입력해주어야 합니다. 따라서 scanf() 함수로 자료를 입력받기 전에 어떤 자료를 입력해야 하는지 알려주는 안내문이 필요합니다. 이 안내문은 printf() 함수를 통해 미리 보여줄 수 있습니다.
          * printf("형식",형식에 필요한 요소들 ... ) 형식으로는 %d, %lf, %s ... 등이 있다. 이런걸 바랬는데 내가 과제 설명을 너무 대충 해줬구나, my fault - [고한종]
  • 상협/감상 . . . . 4 matches
         || ["PowerReading"] || - || - || 1 || ★★★★★ ||
         || [여섯색깔모자] || 에드워드 드 보노 || 1 ||4/24 ~ 5/1 || 이책은 PowerReading 처럼 활용정도에 따라서 가치가 엄청 달라질거 같다. ||
         || [Refactoring] || 마틴파울러 || 1 || 굿 || 괜찮은 책이다. 아직 내가 이해와 적용을 제대로 못해서 아쉽다 ||
         || [OperatingSystem] || H.M.Deitel || 1 || 굿 || 운영체제공부를 처음으로 시작한다면 이책이 적당하다고 생각한다 ||
  • 새싹교실/2011/GGT . . . . 4 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 참고로 ZeroWiki는 MoniWiki Engine을 사용하며 Google Chrome이나 Mozila Firefox, Safari보다는 Internet Explorer에서 가장 잘 돌아가는 것 같습니다.
  • 새싹교실/2011/學高 . . . . 4 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 참고로 ZeroWiki는 MoniWiki Engine을 사용하며 Google Chrome이나 Mozila Firefox, Safari보다는 Internet Explorer에서 가장 잘 돌아가는 것 같습니다.
  • 새싹교실/2012/새싹교실강사교육/1주차 . . . . 4 matches
         - 오리엔테이션, 선생•학생 Ice Breaking, 새싹 교실 진행방법 소개, Wiki 및 과제 제출(이 숙제임!) –
         2) 만나서 Ice Breaking (모임 전까지 한 주의 일, 기본 학과 강의 시간에 배운 점, 재미있었던 일, 안녕 조~) (10분 내)
         3.1 https://www.virtualbox.org 에서 자신의 운영 체제에 맞는 VitualBox를 설치하세요. (예: VirtualBox 4.1.10 for Windows hosts x86/amd64)
         3.3 Vitualbox실행 -> 새로 만들기 -> 다음 -> 운영체제 : Linux 버전: Ubuntu(64bit) ->다음 -> 메모리(1024MB) -> 다음 -> 다음 -> 무한 다음 -> 만들기 버튼 클릭 -> 완성
  • 새싹교실/2012/아무거나 . . . . 4 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 참고로 ZeroWiki는 MoniWiki Engine을 사용하며 Google Chrome이나 Mozila Firefox, Safari보다는 Internet Explorer에서 가장 잘 돌아가는 것 같습니다.
         [[Include(새싹교실/2012/아무거나/1회차)]]
         [[Include(새싹교실/2012/아무거나/2회차)]]
         [[Include(새싹교실/2012/아무거나/3회차)]]
  • 새싹교실/2012/아우토반/뒷반/3.23 . . . . 4 matches
         Ice breaking
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2012/아우토반/앞반/5.17 . . . . 4 matches
         stringtoupper
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2012/열반/120507 . . . . 4 matches
         int main()
          int A[10]; // 정수형 데이터 10개
          printf("%d", A[0]); // 배열의 첫 번째 원소 출력
  • 새싹교실/2013/록구록구/5회차 . . . . 4 matches
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
         printf하고 기뻐했는데 함수를 만들면서 의기소침해 졌지만
  • 새싹교실/2013/양반/4회차 . . . . 4 matches
          * break, continue
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2013/양반/6회차 . . . . 4 matches
          * break, continue
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2013/양반/7회차 . . . . 4 matches
          * break, continue
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2013/케로로반 . . . . 4 matches
          * 자료형과 printf 및 scanf의 서식 문자를 설명하는 것으로 (새싹교실 #01)ppt를 마무리 하였습니다.
          * select case문과 if문에 대해서 학습했고, dangling else에 대해서도 설명했습니다. 들여쓰기의 중요성!
          * Preprocessor 전처리기에 대해서 다루고, 해당 명령어(#include 등)를 직접 설명 해 보였습니다.
          * 링크 : http://zeropage.org/index.php?mid=fresh&document_srl=88380
  • 새싹교실/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.
  • 시간관리인생관리 . . . . 4 matches
          * 원제 : Get everything done and still have time to play
          * My Point
          * NeoCoin : B) B) B) B)
         이 책으로 그동안 읽었던 다른 시간관리 책들이 그 빛을 잃어 버렸다. --NeoCoin
  • 시간맞추기 . . . . 4 matches
         === input ===
         you win!!!
          || 김태훈([zyint]) || C || 10분 || [시간맞추기/김태훈zyint] ||
  • 실시간멀티플레이어게임프로젝트 . . . . 4 matches
         시간이 되면 AspectOrientedProgramming을 현 프로젝트에 적용하는 방법을 알려드립니다.
          load balacing server 같은 걸 만들수 있는 건가..? -- erunc0
         if __name__ == '__main__':
          unittest.main()
  • 위키설명회2005 . . . . 4 matches
          [데블스캠프2004/월요일]의 [MiningZeroWiki]와 비슷하다
          * 음 그리고.. 위키위키의 메인 로고이미지 http://zeropage.org/wikis/nosmok/moinmoin.gif 는 그대로 계속 쓰는건가요..? ^.^a - [임인택]
  • 이영호/한게임 테트리스 . . . . 4 matches
         Reverse Engineering 한 것은 올리지 않는다... 정리하기에 머리가 어지럽다...
         *inline_patch
  • 인수/Smalltalk . . . . 4 matches
          Transcript cr; show: a; show: ' * '; show: b; show: ' = '; show: a*b; printString.
         RWBoard>>initialize: aSize
          ^self new initialize:aSize.
  • 정모/2004.10.5 . . . . 4 matches
          * PageFlipping 구현 ( DoubleBuffering 보다 한단계 더 복잡한 TrippleBuffering )
          * [Hacking]
  • 정모/2011.3.2 . . . . 4 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * 정모 방식이 피드백을 하는 것으로 갯수를 채워야 정회원이 유지된다고 들었습니다. 커피 포인트 도장을 찍는 것 같아, 다 모으면 정회원 혜택! 이라는 것이 더 와닿습니다. 새싹 교실 강사 지원을 했는데, 매주 2시간 씩 8회 이상 수업하는 것과 printf가 아닌 다른 방식으로 확인하는 것이 신기했습니다. 제가 잘 할 수 있을 지 모르겠지만, 되도록 중간고사 전후로 끝내는 내에서 열심히 진도를 나가보겠습니다ㅠㅠ 그리고 책읽기 모임! 장소 이번에도 카페 같은 곳으로 잡는건가요?ㅁ? 월요일 5시로 정했지만 6피의 서랍장 있는 쪽 책상에서 시험기간만 아니면 조용히 대화해도 괜찮지만..음 토모카나 기숙사 쪽의 카페를 애용하는 것도 괜찮고, 과방이나 다른 빈 강의실을 잡는 것도 괜찮을 듯 싶어요. - [강소현]
  • 정모/2012.10.8 . . . . 4 matches
         == Ice Breaking ==
          * Spring - 페이지 링크 거는 것이 가능??
          * Pinple - 추정했습니다.
          * English Speaking with 즉흥 연기(?)
  • 정모/2012.2.3 . . . . 4 matches
         == ICE BREAKING ==
          * 사람이 많이 왔네요. 뭐 여튼 Ice Breaking은 추움을 이기는 게 되어 버렸네요. 근데 열심히 안해서 별로 열은 안 났던. 음.. 그리고 OMS를 보면서 느낀 생각은 리듬게임 뿐만 아니라 모든 게임에는 변태들이 많다는 것이... 흠. 새싹 스터디는 항상 하는거지만 항상 고민이 많아보이네요. 그래도 제가 보기엔 어떻게 하던 간에 남는 사람은 남고 갈 사람은 가게 되어있다는... -_-; - [권순의]
          * 정모가 끝나고 깨닫는건 난 단추공장에 다니는 조가 되어있다는 것. 언제까지 단추만 누르고 살텐가. 개인적으로 이렇게 몸을 움직이는 ICE Breaking을 굉장히 좋아합니다. 뭘 하는지 모르게 시간이 가고 옆에 사람들의 웃긴 모습을 볼수 있으니 좋죠. 요즘 정모를 못왔지만 새 회장의 정모의 첫단추는 잘끼워진것 같습니다. 회장이 지금 맡은것이 많아서 좀 바쁘지만 빠릿빠릿하게 움직이는거 보면 올해도 잘 되겠죠. 새싹 스터디 같은 여러 의견이 분분한 경우는 과거의 기록을 듣고, 읽고 잘 조합해서 하나의 의견을 만들어서 강하게 진행하는걸 추천합니다. 의견을 듣고 있는것도 좋지만 언제까지 Melting Pot처럼 섞기만 하면 재미가 없죠.- [김준석]
          * 오랜만에 해보는 IceBreaking이네요. 처음엔 이게 뭔가 싶었는데 자꾸 하다보니 웃겼어요ㅋㅋㅋ 웃느라 제대로 못한듯ㅋㅋㅋㅋㅋㅋ 리듬 게임에 대한 OMS는 놀랍지만 약간 아쉬운 감이 있습니다. 다른 리듬 게임들도 볼 수 있었으면 좋겠는데. 그러니까 격주로 용운이 OMS 한번 더?! - [김수경]
  • 정모/2012.4.30 . . . . 4 matches
          * [김희성]의 Image Processing
          * [Spring/탐험스터디]
          * LinuxKernel
          * mock, TDD, unit test, refactoring, maven 등 자바에 대해 깊은 부분까지 다룰 예정.
  • 정모/2012.4.9 . . . . 4 matches
          * [Spring/탐험스터디]
          * 다음주부터 PairProgramming
          * LinuxKernel
          [이진규]학우의 Linux Kernel이 특히 기대가 되는데요... 제가 공부해보고 싶은 분야이기도 합니다.
  • 정모/2012.9.10 . . . . 4 matches
          * Spring - 스프링 프레임워크 공부 합니다. 이제 결과물 내보려고 심플 위키 만들고 있지만, 이번주는 쉬었다는게 Fail..
          * ACM - 대학생 경진대회 목표, 방학 때 1주에 2번씩 만나 공부, 저번주 과제: Binary 문제. 아무도 못 풀었음. 자료구조는 구현 완료. 이번주 목표: Binary 문제 구현, 쉬운 문제 풀어서 자신감 회복....ㅜㅜ
          * 오늘 사람이 오랜만에 많았네요. Ice Breaking이 어땠는지 후기남겨주시면 좋겠어요 -[김태진]
  • 조현태/놀이/시간표만들기 . . . . 4 matches
         http://www.inyourheart.biz/zp/p_timetable.png
          * 2학년용 : [http://zerowiki.dnip.net/~undinekr/ZPT.zip]
          * 3학년용 : [http://zerowiki.dnip.net/~undinekr/ZPT2.zip]
          * 4학년용 : [http://zerowiki.dnip.net/~undinekr/ZPT3.zip]
  • 지금그때2004/토론20040401 . . . . 4 matches
          * 작년과 같다. 라고 했는데, '작년과 같다' 무엇으로 정의 되었는지 알려주세요. --NeoCoin
          * 그러한 공간적인 면을 물어 본것이 아닙니다. 당일 책상 배치는 사람수에 따라 그 수가 재조정되었습니다.(물론 한 책상당의 사람수의 계산에 따른 것입니다.) 전 방식에 대한 본질적인 질문을 한것이지요. 다음에 열거하는 것들에서 큰 차이가 있는것 같은데 맞나요? --NeoCoin
          * 대화에 대한 Seminar:SimpleRule 이 [지금그때2003/규칙]으로 존재하였다.
          대체 관련 계획을 어디에서 볼수 있나요? 기록자가 늦으면, 그냥 당일 계획하신 분들이 생각 모아서 기록하면 안되나요? --NeoCoin
  • 창섭/배치파일 . . . . 4 matches
         [http://my.dreamwiz.com/bicter/index.htm 출처]
         For %%<변수> IN (<집합>) DO <명령> [<옵션>] ☞ 배치파일용.
         For %<변수> IN (<집합>) DO <명령> <옵션>] ☞ 순차처리용.
         for %%f in (bak tmp $$$) do del *.%%f /p ☞ 배치파일의 경우
         for %d in (read,wh,file) do hlist %d*.* ☞ 도스 프롬프트에서 실행시
         - 문자열 : 문자열을 생략하면 'press any key to continue...'라는 메세지가 화면에 출력됩니다. 만약 PAUSE 명령 뒤에 어떤 메세지를 지정하여 그 메시지를 출력하고 싶다면 'Echo On' 명령을 우선 내려야 합니다.
  • 최소정수의합/김대순 . . . . 4 matches
         #include<stdio.h>
         void main()
          int n,s=0;
          printf("n=%d and, total sum=%d\n",n,s);
  • 최소정수의합/남도연 . . . . 4 matches
         #include <iostream.h>
         void main()
          int n=1;
          int sum=0;
  • 최소정수의합/이재경 . . . . 4 matches
         #include <stdio.h>
         main()
          int n,sum;
         printf("n=%d,sum%d\n",n,sum);
  • 최소정수의합/임인택2 . . . . 4 matches
          in ((-b+det)/twice_a,
         minint val =
          in
         에서 rnd의 타입이 Integer로 되었는데 Integer는 다른 값으로 나눠지지 않았다(내가 방법을 모르고 있을수도 있겠지만). haskell wiki를 뒤져 toRational 이라는 함수를 찾았지만 출력되는 모양이 영 마음에 들지 않는다.
  • 컴공과프로그래밍경진대회 . . . . 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
  • 타도코코아CppStudy/0731 . . . . 4 matches
         || 마방진(홀수) || [CherryBoy] || Upload:MaBangJin_CherRy.cpp || . ||
          ZeroWiki:창섭/BitmapMasking
          ZeroWiki:DoubleBuffering
          Upload:DoubleBufferingEX.zip
  • 파일자료 . . . . 4 matches
         Upload:functionMaking.cpp
         Upload:orizinal_main.cpp
         Upload:main.cpp
  • 프로그래밍잔치/셋째날 . . . . 4 matches
          * '''Comment Mixing'''
          * 창준(["JuNe"]) 선배께서 제시하신 Comment Mixing
          관련 화일 : [http://zeropage.org/pub/WinMergeSetup.exe winmerge(화일비교프로그램)]
  • 피보나치/S.S.S . . . . 4 matches
         if __name__=='__main__':
          num=input('입력 하세요:')
          for n in range(num):
          print num3
  • 피보나치/민경 . . . . 4 matches
         if __name__ == '__main__':
          n=input('숫자 입력')
          for i in range(n-2):
          print b
  • 피보나치/아영,규완,보창 . . . . 4 matches
         if __name__== '__main__':
          print "What ?:"
          print pivo(input()-1)
  • 피보나치/정수민 . . . . 4 matches
         m=int (raw_input('몇번째?'))
         for m in range(m):
          print k
  • 하드웨어에따른프로그램의속도차이해결 . . . . 4 matches
          * hardware independent하게 게임속도를 유지하려면 매프레임 그릴때마다 이전프레임과의 시간간격을 받아와서 거기에 velocity를 곱해 position을 update하는 식으로 해야한다. 타이머를 하나 만들어 보자.
          * 궁금한게 있는데, ["MFCStudy_2001/MMTimer"] 로 안된단 말이야? 가장 빠른걸로 알고 있어서, 동작 제어는 타이머단에서 하고, loop에서 열심히 그림 그려서 fliping만 해주면 되지 않을까? 낮에는 경황이 없어서, 그냥 멀티미디어 타이머 이야기만 했는데, winamp 같은 시간에 의존적인 프로그램들도 이 타이머를 사용해서 말이지. --["neocoin"]
  • 학회간교류 . . . . 4 matches
         === Opening ===
          * InfoPath 사용
          * PGP (Programmable Graphics Pipeline)
          * CMMI (Capability Maturity Model Integration)
          * OllyDBG 나 WinDBG 사용 관련..
         어떤 방식으로 해야 재밌으면서 서로에게 유익할 수 있을까? '같이 해서 좋을 거리들' 에 대해서.~ ZP 의 행사중 자주 하는 PairProgramming 이나, 혹은 이전의 서강대 MentorOfArts 에서의 프로그래밍 파티 처럼.
  • 허아영 . . . . 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
  • 2005Fall수업 . . . . 3 matches
         [http://inst.eecs.berkeley.edu/~cs61c 버클리 강의 페이지. ppt 보기]
         http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200409180003
         [http://aima.cs.berkeley.edu/ Artificial Intelligence: A Modern Approach 교재 관련]
  • 2006신입생/연락처 . . . . 3 matches
         || 배민화 || minhwa119 at hotmail dot com || 010-2616-4900 ||
         || 김진하 || kimjin2303 at hotmail dot com(msn고고) || 010-2549-3377 ||
         || 송지원 || snakeatine at hotmail dot com || 016-438-5913 ||
  • 2008리눅스스터디 . . . . 3 matches
          [http://www.linuxlab.co.kr/docs/10-4.htm]
          [http://www.linuxlab.co.kr/docs/11-3.htm]
          [http://www.linuxlab.co.kr/docs/12-2.htm]
  • 2012/2학기/컴퓨터구조 . . . . 3 matches
          = Course Information =
          * Operating System
          * Instruction set architecture (ISA)
          * Application binary interface
  • 2012년독서모임 . . . . 3 matches
          * [권순의] - Fault Line
          * [권순의] - 오랜만에 시작하는군요. Fault Line은 보이지 않는 균열이 세계 경제를 위협한다는 내용으로 지표면에서 단층면이 접하는 선인 단층선이 Fault Line인데 그 곳에서 지진이 발생한다는 것 때문에 따 왔다고 하더군요. 그래서 과거 시행했던 정책이나 여러 사건들을 통해 현재의 경제가 어떠한 상황에 이르게 되었는지에 대해서 서술한 책입니다. 사실 무지 재미 없습니다. -_- 읽은지 꽤 됬는데 눈에 잘 안 들어오고 하다 보니 아직도 다 못 읽었..
  • 2학기파이선스터디 . . . . 3 matches
          http://www.python.or.kr:8080/python/GUI/tkinter/ - Tkinter 모듈 설명서
          http://turing.cafe24.com - 초보를 위한 파이선 설명
  • 3DStudy_2002 . . . . 3 matches
         * ["3DStudy_2002/hs_lecture4"] : Picking, Collision Detection
         * ["3DStudy_2002/hs_lecture5"] : Inverse Kinematics vs Forward Kinematics
  • 5인용C++스터디/떨림없이움직이는공 . . . . 3 matches
         ||황재선|| Upload:DB_MovingBall_JS.zip || 잘했음. ||
         ||노수민|| [http://zeropage.org/pub/upload/MovingBall_SM.zip] || 떨림이 남아있음. ||
         ||나휘동|| [http://zeropage.org/pub/upload/Leonardong_NonVibratingBall.zip] || 공이 올바르게 움직이지 않음. ||
  • 5인용C++스터디/움직이는공 . . . . 3 matches
         ||황재선|| Upload:MovingBall_JS.zip || 잘했음. ||
         ||노수민|| [http://zeropage.org/pub/upload/MovingBall_SM.zip] || 잘했음. ||
         ||나휘동|| [http://zeropage.org/pub/upload/Leonardong_VibratingBall.zip] || 공이 올바르게 움직이지 않음. ||
  • AcceleratedC++/Chapter6/Code . . . . 3 matches
         double optimistic_median_analysis(const vector<Student_info> &students)
          transform(students.begin(), students.end(), back_inserter(medianOfStudents), optimistic_median);
  • AcceptanceTest . . . . 3 matches
         원문 : http://extremeprogramming.org/rules/functionaltests.html
         AcceptanceTest는 UserStory들에 의해서 만들어진다. Iteration 동안 IterationPlanning 회의때 선택되어진 UserStory들은 AcceptanceTest들로 전환되어진다. Customer는 해당 UserStory가 정확히 구현되었을때에 대한 시나리오를 구체화시킨다. 하나의 시나리오는 하나나 그 이상의 AcceptanceTest들을 가진다. 이 AcceptanceTest들은 해당 기능이 제대로 작동함을 보장한다.
         ["ExtremeProgramming"]
  • ActionMarket . . . . 3 matches
         moinmoin 의 Action 들 관련. Action은 Macro와는 달리 Show, Edit, Delete, Diff, Info (우측 상단 아이콘들 기능) 등 해당 페이지에 가하는 행위를 말합니다.
         http://purl.net/wiki/moin/ActionMarket 를 참조하세요.
  • AdvertiseZeropage . . . . 3 matches
          * WikiWiki Seminar 를 하거나 프로그래밍 Seminar
          * WikiWiki Seminar를 중간 고사 끝나고 하기로 정모에서 결정하였습니다. --[Leonardong]
  • AnalyzeMary . . . . 3 matches
         주변에서 남들과 비슷하게 일을 하는 듯 하면서 늘 더 나은 성과를 보이는 사람들이 있다. 대부분은 "메리에겐 뭔가 특별한 것이 있다"(There is something about Mary) 수준의 감탄사를 외치는 데에서 끝난다. 그러면서 나는 왜 그들처럼 될 수 없을까 한탄하고, 곧 까맣게 잊는다.
         NeoCoin은 02년도 기말 시험에서 너무나 시간이 없게되는 상황을 맞이 하였다. 학교 출발까지 15분, 통학 시간 1:30 분 남은 상태에서 밥먹으면서 교수님에 성향 대하여 AnalyzeMary를 하고 15분은 강의 노트에 대한 AnalyzeMary , 그리고 도착전까지 열심히 외웠다. 도착 직전까지 외운 내용 조차 시험에 그대로 출제되어 있었다. 결국, 시험의 1문제의 부분적것 외에 전부 정답 작성이 가능했다. 여태까지 살아오면서, 최고의 효율이란 무엇인가를 느낄수 있었다. --NeoCoin
  • Ant/BuildTemplateExample . . . . 3 matches
          <target name="init">
          <target name="compile" depends="init">
          <!-- 즉, ${src} 는 위의 property 에 정의한 "." 이 되며, ${build}는 "build". 즉, init 단계에서 만든 디렉토리가 된다. -->
  • AntTask . . . . 3 matches
          <target name="init">
          <target name="compile" depends="init">
          <!-- 즉, ${src} 는 위의 property 에 정의한 "." 이 되며, ${build}는 "build". 즉, init 단계에서 만든 디렉토리가 된다. -->
  • AppletVSApplication/진영 . . . . 3 matches
          * "'''Application'''"은 main()함수를 포함하고 있어서 자기 스스로 실행이 되는 반면에
          * "'''Applet'''"은 main()함수 없이 자기 스스로 실행되지 않고 html에 의해 돌아가는 것 같습니다.
           DeleteMe 그럼 여기에서 html 은 무엇이죠? --NeoCoin
         ["JavaStudyInVacation/진행상황"]
  • AwtVSSwing/영동 . . . . 3 matches
         = Swing =
          * AWT는 사용하긴 쉽지만 한계가 있다. 롤오버 이미지를 사용하는 등 실제로 많이 쓰는 기능을 AWT로 구현하기 어려우며, 운영체제마다 버그가 생기기 때문에 사용하기 불편하다. Swing은 Top-Level의 컨테이너만을 운영체제의 자원을 사용할 뿐 그 하부에 있는 모든 것은 자바 코드에 의해 만드는 방식을 가진다. 발생하는 버그도 자바 가상머신의 범위 내에서 처리가 가능하다. 게다가 컴포넌트의 모양도 사용자의 입맛에 맞게 맞춰주는 것이 가능하다.
          * javax.swing.*;
         ["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 ===
  • BusSimulation . . . . 3 matches
          * Data Input - 시물레이션 데이터는 busData.txt 와 busStationData.txt 두 가지 로부터 받아들인다. 각 데이터의 값은 단계가 올라감에 따라서 추가되어간다.
          * User Input - 사용자는 자신이 원하는 시간 후의 시물레이션 결과를 볼 수 있다. 시간과 분을 입력받는다.
          * Input
          * Input
          *Input
          * Input
          * 종점에서는 모든 승객이 내린다. 종점에서는 타는 승객이 없다. (주의 - 아래 InputData에서 원하는 시간을 5400(1시간30분)이 아니라 9600(2시간40분)으로 설정함)
          * Input
          * Input
         || ["BusSimulation/태훈zyint"] || 태훈 ||
         Discrete Event Simulation이 되겠군요. 사람이 몇 명이 기다리느냐, 길 막힘 상태 등은 이산 확률 분포를 사용하면 될 것입니다. NoSmok:TheArtOfComputerProgramming 에서 NoSmok:DonaldKnuth 가 자기 학교 수학과 건물 엘레베이터를 몇 시간 관찰해서 데이타를 수집한 것과 비슷하게 학생들이 직접 84번, 85-1번 등의 버스를 타고 다니면서 자료 수집을 해서 그걸 시뮬레이션 실험하면 아주 많은 공부가 될 것입니다 -- 특히, 어떻게 실세계를 컴퓨터로 옮기느냐 등의 모델링 문제에 관해. 실제로 NoSmok:DonaldKnuth 는 TAOCP에서 이런 연습문제를 만들어 놨습니다. 제가 학부생 때 누군가 이런 숙제를 내줬다면 아마 한 두 계단(see also ["축적과변화"]) 올라설 계기가 되지 않았을까 하고 아쉬울 때가 있습니다. 이 문제에 드는 시간은 하루나 이틀 정도가 되겠지만 여기서 얻은 경험과 지혜는 십 년도 넘게 자신의 프로그래밍 인생에 도움이 될 것이라 믿어 의심치 않습니다. (팀으로 문제 해결을 하면 더 많은 공부가 되겠지요) see also ProgrammingPartyAfterwords 참고자료 --JuNe
  • Button/상욱 . . . . 3 matches
         import javax.swing.*;
          public static void main(String[] args){
         ["JavaStudyInVacation/진행상황"]
  • Button/영동 . . . . 3 matches
         import javax.swing.*;
          JOptionPane.showInputDialog(
          JOptionPane.INFORMATION_MESSAGE,
          public static void main(String[] args) {
         ["JavaStudyInVacation/진행상황"]
  • B급좌파 . . . . 3 matches
         김규항 칼럼집. Cine21 의 '유토피아 디스토피아' 연재중.
         http://my.dreamwiz.com/fairday/utopia%20main.htm
         글 투를 보면 대강 누가 썼는지 보일정도이다. Further Reading 에서 가끔 철웅이형이 글을 실을때를 보면.
  • CNight2011/윤종하 . . . . 3 matches
          int stuID;
          int grade;
          * 순의형의 Linked list 설명
  • CSS . . . . 3 matches
         [CssMarket], [http://165.194.17.5/zero/index.php?keyword=CSS&mode=result&directGo=1&url=zeropage&range=%C0%FC%C3%BC CSS 검색결과]
         [[include(틀:ProgrammingLanguage)]]
  • ClipMacro . . . . 3 matches
         [[Clip(linux)]]
         [[Clip(linux)]]
         잘 안되네요. 윈XP pro !SP2 , Internet Explore 6.0 !SP2 에서 테스트 했습니다. paste와 copy는 별 반응없고, Unload 괜히 눌렀다가 위의 그림만 지웠네요 ^^;
         익스플로러 XP프로 SP2에서 잘 되는군요. print screen키를 누르신다음에 paste해보세요 -- Anonymous [[DateTime(2005-03-31T16:55:09)]]
  • ComputerNetworkClass/Exam2004_2 . . . . 3 matches
         (TCP Sliding Window 부분 관련)
         수신자측에서 AW(Advertised Window) 값이 어떻게 정의되는지 쓰시오.
  • CooperativeLinux . . . . 3 matches
          * [http://www.colinux.org/ 프로젝트 홈페이지]
          * [http://nullnull.com/blog/index.php?pl=16&nc=1&ct1=4 인스톨과정]
         === 스크린 샷 (Vnc를 이용해서 본 X-Window) ===
  • Cpp/2011년스터디 . . . . 3 matches
          * XCode에서 코드를 좀 더 업그레이드 시켜보려고 했으나 망할 --VS2008-- '윈도' 에만 돌아가는 것들(Windows.h)이 있어 실패하고 한종이 컴퓨터에서만 짜기로 했음.
          * 난 이 짤을 정말 쓰고 싶군. 내가 하고싶은말을 모두 담아놨어. http://flyingsbgame.blog.me/140137167016 -[김태진]
         참고 : 경악스러운 문제의 그 릴리즈 http://pds22.egloos.com/pds/201108/21/51/Tetris-rino2.exe
  • CryptKicker2 . . . . 3 matches
         [http://online-judge.uva.es/p/v8/850.html 원문보기]
         알려진 평문 공격법(known plain text attack)이라는 강력한 암호 분석 방법이 있다. 알려진 평문 공격법은 상대방이 암호화했다는 것을 알고 있는 구문이나 문장을 바탕으로 암호화된 텍스트를 관찰해서 인코딩 방법을 유추하는 방법이다.
         === Input ===
         === Sample Input ===
         programming contests are fun arent they
  • C언어정복/3월30일-숙제 . . . . 3 matches
         1. 인치(inch) 단위를 센티미터 단위로 변환하는 프로그램을 사용자에게 입력을 받고, 계산된 값을 출력하라. (1in = 2.54cm)
         2. printf() 함수를 한 번만 사용하여 다음과 같이 4줄에 걸쳐서 표현되는 문자열을 출력하라.
  • DataStructure . . . . 3 matches
          ''하지만, 이는 기존 70,80년대 Structured Programming에서 보는 프로그램의 상당히 제한적인 시각이다.''
         ["DataStructure/String"]
          * [http://www.inf.fh-flensburg.de/lang/algorithmen/sortieren/ 소팅잘나온사이트]
  • DirectDraw . . . . 3 matches
         Include Files 에는 C:\DXSDK\INCLUDE를 [[BR]]
         그리고 Project Setting -> Link -> Object/Library modules에는
         #include <ddraw.h>
          * DDSCL_NOWINDOWCHANGES : 최소화/최대화를 허용하지 않는다.
         ddsd.ddsCaps.dwCaps = DDSCAPS_OFFSCREENPLAIN; // 오프스크린임을 표시
         hb = (HBITMAP) LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(IDB_BITMAP), IMAGE_BITMAP, cxDesire, cyDesire, LR_CREATEDIBSECTION);
  • DirectDraw/DDUtil . . . . 3 matches
         DXSDK에서 제공하는 함수 모음집.(ㅡ.ㅡa) (Direct Draw 의 Wrapping Class 가 되겠지요.)
         CreateWindowedDisplay HWND hWnd, DWORD dwWidth, DWORD dwHeight)
          CDislpay의 멤버 m_rcWindow를 갱신한다. 저 CRect형 변수에는 윈도우의 크기가 들어있다.
  • DirectVariableAccess . . . . 3 matches
         스몰토크 진영에서는 IndirectVariableAccess를 선호했다. 그러다가 켄트아저씨가 DirectVariableAccess를 써 보고는 그것의 가독성에 놀랐다.
         하지만 이 클래스가 상속이 될 가능성이 있다면, setter/getter를 오버라이딩 해서 사용할수 있으므로, IndirectVariableAccess를 쓰는 것이 괜찮다.
         void Point::setXnY(int xNumber, int yNumber)
  • Erlang/설치 . . . . 3 matches
          === Windows ===
          === Linux(Debian) ===
          >>> apt-get install erlang
  • ExtremeBear/Plan . . . . 3 matches
         ["ExtremeBear"] Meeting20021029
          * IndexCard (CRC Card, Task Card, Story Card 등으로 이용)
         RefactoringMe ) 참고 ["CodeConvention"]
          * Interface : 대문자로 시작하고 앞에 I를 붙임
          StandUpMeeting
  • FrontPage . . . . 3 matches
          * [https://docs.google.com/spreadsheet/ccc?key=0AuA1WWfytN5gdEZsZVZQTzFyRzdqMVNiS0RDSHZySnc&usp=sharing 기자재 목록]
          * [https://docs.google.com/spreadsheets/d/1c5oB2qnh64Em4yVOeG2XT4i_YXdPsygzpqbG6yoC3IY/edit?usp=sharing 도서목록]
         === Link ===
  • FundamentalDesignPattern . . . . 3 matches
         DesignPatterns 의 패턴들에 비해 구현이 간단하면서도 필수적인 패턴. 전체적으로 가장 기본이 되는 소형 패턴들. 다른 패턴들과 같이 이용된다. ["Refactoring"] 을 하면서 어느정도 유도되는 것들도 있겠다. (Delegation의 경우는 사람들이 정식명칭을 모르더라도 이미 쓰고 있을 것이다. Java 에서의 InterfacePattern 도 마찬가지.)
         기본적인 것으로는 Delegation, DoubleDispatch 가 있으며 (SmalltalkBestPracticePattern에서 언급되었던 것 같은데.. 추후 조사), 'Patterns In Java' 라는 책에서는 Delegation 과 Interface, Immutable, MarkerInterface, Proxy 를 든다. (Proxy 는 DesignPatterns 에 있기도 하다.)
          * InterfacePattern
          * MarkerInterface
         근데, 지금 보면 저건 Patterns in Java 의 관점인 것 같고.. 그렇게 '필수적 패턴' 이란 느낌이 안든다. (Proxy 패턴이 과연 필수개념일까. RPC 구현 원리를 이해한다던지 등등이라면 몰라도.) Patterns in Java 에 있는건 빼버리는 것이 좋을 것 같다는 생각. (DoubleDispatch 는 잘 안이용해서 모르겠고 언어 독립적으로 생각해볼때는 일단은 Delegation 정도만?) --["1002"]
  • Hacking/20041118네번째모임 . . . . 3 matches
          * Windows 98 Hacking - 넷바이오스 해킹 툴
         [Hacking]
  • HardcoreCppStudy/두번째숙제/CharacteristicOfOOP/김아영 . . . . 3 matches
         '''* 데이터 은닉(Data Hiding)'''
         데이터 은닉이란 모듈이 그것이 갖는 기능들을 명세한 인터페이스(interface)를 통해서만 접근되고, 그 기능을 구현하는 방법은 다른 모듈로부터 은닉되도록 하는 것을 말한다. 캡슐화된 객체의 외부 인터페이스를 엄밀히 정의함으로써 독립적으로 작성된 모듈간의 상호 종속성을 극소화하여 캡슐화된 객체는 외부 인터페이스만을 통하여 접근될 수 있도록 한다면, 세부적인 구현 상세 사항에 대해서는 객체내에 은닉시킬 수 있다. 또한 캡슐화된 객체는 객체 구현내역을 변경, 혹은 향상시킬 때 이 객체를 사용하는 타 객체들을 변경하거나 다시 컴파일하지 않도록 할 수 있다. 또 모듈의 내부 구현 사항들이 외부의 접근으로부터 보호될 수 있음으로, 그 객체의 정당성을 보증할 수 있으며, 오류가 발생되었을 경우에 오류는 한 모듈내로 국지화될 수 있다.
         '''* 상속성(Inheritance) '''
         추상화란, 객체가 자신의 정보를 안에 감추고 있으면서 외부에 구체적인 것이 아닌 추상적인 내용만을 알려주는 것을 말한다. 때문에 추상화란 정보의 은닉(Information Hiding)이라고도 한다.
  • HelloWorld/상욱 . . . . 3 matches
          public static void main(String[] args) {
          System.out.println("Hello World.");
         ["JavaStudyInVacation/진행상황"]
  • HelloWorld/영동 . . . . 3 matches
          public static void main(String args[])
          System.out.println("HelloWorld");
         ["JavaStudyInVacation/진행상황"]
  • HelloWorld/진영 . . . . 3 matches
          public static void main(String[] args)
          System.out.println("We will not use 'Hello World!'");
         ["JavaStudyInVacation/진행상황"]
  • HelpContents . . . . 3 matches
          * OpeningStatement - 페이지에 꼭 들어가야 할 정보
          * HelpForBeginners - 위키 초보자를 위한 페이지
          * HelpOnEditing - 페이지를 고치기
         HelpIndex를 보시면 자동으로 만들어진 도움말 목록을 보실 수 있습니다.
  • HelpForBeginners . . . . 3 matches
         위키위키의 문법을 지금 당장 알고싶으신 분은 HelpOnEditing 페이지로 가시기 바랍니다.
         위키위키에 대하여 좀 더 배우고 싶으신 분은 Wiki:WhyWikiWorks 와 Wiki:WikiNature 를 읽어보시기 바라며, Wiki:WikiWikiWebFaq 와 Wiki:OneMinuteWiki 도 도움이 될 것 입니다.
          * FindPage: 다양한 방법으로 찾아보기
          * TitleIndex: 이 위키위키에 있는 모든 쪽 목록
          * WordIndex: 위키위키 페이지 이름을 구성하고 있는 단어들의 목록(따라서 이 위키위키의 주된 콘셉트를 보여줍니다.)
         도움말은 HelpContents 혹은 HelpIndex를 참고하세요.
  • HelpOnNavigation . . . . 3 matches
         각 페이지의 좌측 상단 (혹은 임의의 위치)에는 대문(FrontPage 혹은 home), 최근 바뀐 글(RecentChanges), 목록(모든 페이지의 가나다순 알파벳순 목록), 찾기(FindPage), 도움말(HelpContents) 등등의 메뉴가 있습니다.
          * [[Icon(print)]] 인쇄 친화적인 형태로 보기
          * [[Icon(info)]] 페이지에 관한 정보 보기 (페이지의 모든 고친 정보 등)
  • HelpOnPageCreation . . . . 3 matches
         하위 페이지를 만들면 조금 특별하게 처리됩니다. 하위페이지도 일반 페이지와 마찬가지 방식으로 만들 수 있으며 {{{[[페이지/하위페이지]]}}}와 같은 식으로 연결되는 페이지입니다. 하위페이지에 대한 설명은 HelpOnEditing/SubPages 페이지를 참고하세요.
         || @''''''USER@ || 사용자 이름 서명 "-- loginname" ||
         || @''''''SIG@ || 사용자 이름 서명 "-- loginname date time" ||
  • HelpOnProcessingInstructions . . . . 3 matches
          * '''plain''': 일반 텍스트
          * <!> vim 이나 기타 여러가지 포맷 지정자는 `plugin/processor` 아래의 지원 가능한 모든 프로세서에 대해서 가능합니다.
         Please see HelpOnEditing.
  • HelpOnSmileys . . . . 3 matches
         [[EditHints]]
         {{{EditToolbar]]}}} 혹은 {{{[[EditHints]]}}}와 마찬가지로 이것은 매크로 플러그인입니다.
         [[Navigation(HelpOnEditing)]]
  • HelpOnSubPages/SubPages . . . . 3 matches
          * ["../"] (anonymous parent link)
          * [wiki:../ free parent link]
          * XWindows
  • HelpOnUpdating . . . . 3 matches
         이것과 함께 `wikismiley.php` `lib/*.php` `plugin` 아래의 모든 파일을 새것으로 교체합니다.
         또한 `data/intermap.txt` 파일 등이 새롭게 갱신되어 있을 수 있으므로 이것도 업그레이드 해주어야 합니다.
         [[Navigation(HelpOnAdministration)]]
  • Hessian/Counter . . . . 3 matches
         화일로 저장을 안하기 때문에 resin 이 죽으면 데이터가 날라가지만 -_-; 암튼 간단하게 구현할 수 있는 counter.
          int counter=0;
          public int getCount() {
  • 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)를 권합니다. 그는 알고리즘 디자인 테크닉을 다음 네가지로 크게 나눕니다:
  • IdeaPool/PrivateIdea . . . . 3 matches
         || 나휘동 || 위키 정원사의 도구상자 || 2007.3.13 || - || - || [WikiGardeningKit] ||
          * 구상한 아이디어에 대한 자세한 사항은 관련 페이지를 만들어서 옮겼습니다. 시작하려는 사람들은 그 페이지를 Starting Point 로 하여 시작하면 되겠지요. :) --[창섭]
  • InsideCPU . . . . 3 matches
         = Inside CPU =
         음...여기까지만..귀찮아서 못 적겠다.. 보통 플로피의 0번 섹터를 write하기 위해 rawrite.exe란 프로그램을 쓴다. 플로피의 데이타를 얻기 위해 BIOS의 인터럽트루틴을 사용한다. 이를 위한 인터럽트는 INT 13h가 된다.
         보호모드란 80286부터 적용된 하드웨어적 지원이다. 이는 다른 CPU에도(다른 이름으로) 존재하며 운영체제에게 안전한 태스크 관리와 보다 빠른 Context Switching 을 적용할 수 있다. 이를 위해 몇몇의 assemble 코드가 추가 되었으며 80386 부터는 코드가 확장되어 보다 큰 메모리를 어드레스 할 수 있게 되었다. [[BR]]
         이를 위해 각각의 어드레스 접근에 privilege level을 두었고 이를 각각의 Application에 적용시켰다. 보호모드의 경우 멀티태스킹을 지원하기 위한 방법이다. 이는 지속적이고 반복적으로 일어나는 Context Switching 을 하드웨어적인 방법으로 만들어 소프트웨어적인 방법보다 빠른 Context Switching을 통해 하드웨어의 효율성을 높였다. 보호모드를 위한 레지스터와 방법들..
         == EXAMPLE 1. LINUX ==
         = INT 13H - From BIOS - =
  • IntegratedDevelopmentEnvironment . . . . 3 matches
         IDE는 Integrated Development Environment를 말하며 한국어로는 통합 개발 환경을 의미한다. 보통 텍스트 편집기에 syntax highlite와 debugger, 빌드 도구, 컴파일러 등이 모두 통합되어 나오며 IDE하나만으로도 소스코드를 작성하는데 문제가 없다.[* 최근에는 이마저도 부족한 경우도 있다.]
         [[include(틀:IDE)]]
         종종 일반 Text editor가 너무나 많은 기능을 제공하는 나머지 IDE랑 헷갈리기도 한다. vim의 plugin을 깔거나 sublime을 잘 설정하면 IDE부럽지 않게 사용할수 있으나 해당 프로그램은 기본적으로 TextEditor이다. plugin을 통해서 지원하는 기능은 사실상 통합된 기능이라 보기 어렵기 떄문이다.
  • IntentionRevealingSelector . . . . 3 matches
         == Intention Revealing Selector ==
         Array::linearSearchFor(Item&);
         Collection::includes(Item&);
  • IoLanguage . . . . 3 matches
         Seminar:IoLanguage
         See also Seminar:코딩도장
         ProgrammingLanguage
  • ItNews . . . . 3 matches
         '''''여러분들은''''' 매일 혹은 매주 어떤 소스에서 새로운 뉴스를 구하십니까? (잡지 제외 -- 잡지는 ItMagazine 참조)
          * 코리아 인터넷 닷컴 http://korea.internet.com
          * Korea Linux Document Project http://kldp.org
  • JoltAward . . . . 3 matches
         SoftwareDevelopmentMagazine에서 매년 수상하는 권위적인 상. 책, 개발도구, 웹 사이트 등 다양한 분야가 있다.
          * http://www.sdmagazine.com/jolts
         Seminar:JoltAward
  • JuneTemplate . . . . 3 matches
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • Knapsack . . . . 3 matches
          1. weighted, 0-1 knapsack problem -> find the exact match
          1. weighted, unbounded knapsack problem -> find the exact match
          1. weighted/valued, unbounded knapsack problem -> maximize the value not exceeding the weight limit
  • MFC/Control . . . . 3 matches
         #define _MFC_
         = a kind of control =
         이외에도 common control 로서 애니메이트 컨트롤, tree 컨트롤, spin button 등의 컨트롤 들이 존재한다.
  • MFC/RasterOperation . . . . 3 matches
         #define _MFC_
         = CDC Drawing Modes =
         = Explaination =
  • MobileJavaStudy/Tip . . . . 3 matches
         InputStream is = this.getClass().getResourceAsStream("readme.txt");
          int ch;
          System.out.print((char) ch);
          System.out.println(e);
  • NeoZeropageWeb . . . . 3 matches
         '''GNUBoard (main) + Zerowiki + Trac'''
         '''Trackback Center (main) + Tattertools 1.0 + Zerowiki + Trac'''
         '''Zerowiki (main) + Trac'''
  • NumericalAnalysisClass . . . . 3 matches
         강의내용 : 최근의 수치해석 수업은 그래픽스 수업의 선수과목으로서 성격이 이전과 달라졌다. 주로 line, curve, plane, matrix 등 그래픽스와 관련된 내용을 배운다.
          * ["NumericalAnalysisClass/Report2002_2"] - ["CubicSpline/1002"]
         === examination ===
         ''Object-Oriented Implementation of Numerical Methods : An Introduction with Java and Smalltalk'', by Didier H. Besset.
  • OpenGL . . . . 3 matches
         3D Programming 을 위한 API. 요새 유행하는 3D Game Programming 시에는 주로 [Direct3D] 와 [OpenGL]을 사용한다.
         http://nehe.gamedev.net - OpenGL Tutorial 로 유명하다. 각 언어 & 플랫폼별로(C++ - Visual C++ Project, C++ Builder , Java, Java/SWT, Linux SDL, Python 등) 튜토리얼 코드들을 정리해놓았다. 예전부터 OpenGL을 처음 공부하는 사람들에게 늘 추천되었던 사이트.
  • OurMajorLangIsCAndCPlusPlus . . . . 3 matches
         [OurMajorLangIsCAndCPlusPlus/print]
         [OurMajorLangIsCAndCPlusPlus/string.h] (cstring)
  • OurMajorLangIsCAndCPlusPlus/limits.h . . . . 3 matches
          == C++ Integer Limits ==
         ||SCHAR_MIN ||부호있는 char형의 최소값 ||–128 ||
         ||CHAR_MIN ||char형의 최소값 ||–128; 0 if /J option used ||
         ||SHRT_MIN ||short형의 최소값 ||–32768 ||
         ||INT_MIN ||int형의 최소값 ||–2147483648 ||
         ||INT_MAX ||int형의 최대값 ||2147483647 ||
         ||UINT_MAX ||부호없는 int형의 최대값 ||4294967295 (0xffffffff) ||
         ||LONG_MIN ||long형의 최소값 ||–2147483648 ||
  • OurMajorLangIsCAndCPlusPlus/signal.h . . . . 3 matches
          || SIGINT || Ctrl - C 인터럽트 ||
          || __cdecl signal(int, void (__cdecl *)) || 해당 시그널에 동작할 행동을 지정한다. 첫번째 인자가 시그널 번호, 두번째 인자가 행동을 지정한다. ||
          || int __cdecl raise(int) || 이 함수를 호출한 프로시져에 첫번째 인자에 시그널번호에 해당하는 시그널을 보낸다. 실패하면 0이 아닌값을 리턴하는데, 오직 유효하지 않은 시그널 번호에서만 실패하게 된다. ||
  • PC실관리 . . . . 3 matches
         에어컨 청소법 - [ttp://kin.naver.com/browse/db_detail.php?d1id=8&dir_id=813&docid=92267&ts=1052495994]
         그림을 포함한 청소 설명 - [http://www.airlove.co.kr/shop/index.php?inc=html/air]
  • PC실관리/고스트 . . . . 3 matches
          * Microsoft Office - WORD, Excel, PowerPoint
          * Alzip or WinRAR
          해당 계정 암호는 공지를 통해서 학우들에게 알리고, 관리자 계정인 Administrator 계정은 PC실 관리자들만 알고 잇어야할 것으로 보임.
  • PNA2011/서지혜 . . . . 3 matches
          * 9 NINES를 가진 전설적인 언어?
          * Motivation, Organization, Information/Innovation/Insight, Jiggle
          * Doing is faster than arguing
          * Think forward
  • PPProject . . . . 3 matches
         ProgrammingPearls에 나오는 문제를 풀어봅니다.
         PairProgramming VS AloneProgramming 20-30m
  • PragmaticVersionControlWithCVS/HowTo . . . . 3 matches
         || [PragmaticVersionControlWithCVS/Getting Started] || [PragmaticVersionControlWithCVS/AccessingTheRepository] ||
         == Organizing a Version Control System ==
  • PrimaryArithmetic/Leonardong . . . . 3 matches
          for digit in digits:
         if __name__ == '__main__':
          unittest.main()
  • ProcessExplorer . . . . 3 matches
         http://www.sysinternals.com/Utilities/ProcessExplorer.html
         http://www.sysinternals.com/images/screenshots/ProcessExplorer.gif
         그밖에도 http://sysinternals.com 에는 쓸만한 유틸리티들이 많음.
  • PyGame . . . . 3 matches
         사용하기 정말 쉽다. [Python] Interpreter 에서 한줄 한줄 입력하면서 공부할 수도 있다.
         ["데기"]는 PyGame 을 이용해서 3D Viewing System 을 만든바 있다.
          def __init__(self, aSize):
          pygame.Surface.__init__(self, aSize)
  • PythonIDE . . . . 3 matches
         현존 하는 파이선의 대표적인 개발환경은 상당한 수가 존재한다. 이중에 알려진 몇가지가 IDLE, SPE, Wing, PyDev 등이 있다.
          * wingIDE : 디버깅이 지원되는 IDE, 유료로 판매한다.
          * Visualwx : wxToolkit 의 WYSWIG 을 지원하는 디자인 중심의 IDE. 파이선 프로그래밍을 지원한다. GUI 개발시 wxWindow 를 공부하는 유저에게 상당히 좋은 학습자료가 될 수 있다.
  • PythonWebProgramming . . . . 3 matches
         Python WEB Proggramming
         http://people.linuxkorea.co.kr/~yong/python/docs/Cookie/
         http://www.cs.virginia.edu/~lab2q/lesson_7/ - 단, 소스가 잘못되어있다. cookie 스트링은 content header 보다 먼저 출력되어야 한다.
  • RegularExpression/2011년스터디 . . . . 3 matches
         matcher.find();
          var str='<body onload="firprint(;" onkeydown="keyboard);"> <input value="pause" onclick="pause();"/>';
  • ReverseAndAdd/1002 . . . . 3 matches
          rev = int(str(n)[::-1])
         for e in [195,265,750]: print reverseAndAdd(e)
  • ReverseAndAdd/이동현 . . . . 3 matches
          print "회문을 찾을 수 없는수?"
          reverse(n+int(str(n)[::-1]), count+1)
          print n
  • RubyLanguage/InputOutput . . . . 3 matches
         == InputOutput ==
          * STDOUT << , STDIN >>
          * each_line : 세퍼레이터를 넘겨 한 단위(세퍼레이터로 구분)씩 읽어옴
          * readlines : 배열로 읽어옴
         puts.client.readlines
  • SgmlEntities . . . . 3 matches
         To support international characters even on generic (US) keyboards, SgmlEntities know from HTML are a good way. These can also be used to escape the WikiMarkup characters.
         See also: MoinMoinTodo
  • 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팀 온라인 게임]
  • SibichiSeminar . . . . 3 matches
         = Sibichi Seminar =
          * [SibichiSeminar/OOP]
          * [SibichiSeminar/TrustModel]
  • SimpleDelegation . . . . 3 matches
          Vector(int size) {
         위임하는 객체(delegating object)는 위임 객체 또는 위임자 객체, 위임된 객체(delegate)는 대리자로 번역할 수 있을 것 같고(차라리 영어를 그대로 쓰는게 좋을지도 모르겠네요), 주체성은 참조를 의미하지 않을까요?
          cmd->Execute(this); // delegating object의 참조(this)를 delegate에게 전달
  • SoJu . . . . 3 matches
         ||[조현태]||undinekr골뱅이daum.net||O|| ||
         [DevCppInstallationGuide] // 인스톨 가이드 입니다. <- 필수!!
          [http://winapi.co.kr/clec/cpp1/cpp1.htm winapi.co.kr의 C기초강좌] 매우 자세하며 양이 많다.
  • SqLite . . . . 3 matches
         어플리케이션 내에 포함(Embedding) 이 가능한 DB. Java 에서 HypersonicSql 과 비슷한 역할. C/C++ 에서 간단한 데이터베이스 기능을 추가하고 싶을 때 비교적 쉽게 이용 가능.
         [http://www.int64.org/sqlite.html - SQLite C++ Wrapper]. 단, 이 코드의 경우 long long 형을 쓰는 관계로 VC6 에서는 컴파일이 되지 않는다. long long 형을 쓰는 부분을 __int64 로 바꾸면 VC6 에서도 이용은 가능.
  • StephaneDucasse . . . . 3 matches
         OORP(ObjectOrientedReengineeringPatterns) 의 저자중 한명.
         Refactoring 책에서 acknowledgement 를 읽던중 StephaneDucasse 이름을 보게 되었다. 이전이라면 저 이름을 그냥 지나쳤을텐데. 신기하다. --[1002]
  • StringResources . . . . 3 matches
         /** StringResorces.java - Information strings, Component's label strings resources load
  • TCP/IP 네트워크 관리 / TCP/IP의 개요 . . . . 3 matches
          * TCP/IP : UNIX 데이터 통신을 관리하는 소프트웨어 패키지(Package)
          *현재 인터넷(intetnet)은 네트워크의 모든 종류를 가리키는 포괄적 용어
          *''internet'' : 단일한 논리적 네트워크를 만들기 위해 동일한 프로토콜로 서로 연결된, 분리된 물리적 네트워크의 모든 모임
          *''Internet'' : 원래 ARPANET에서 성장. 다양한 네트워크를 하나의 논리적 네트워크로 묶기 위해서 인터넷 프로토콜(IP)을 사용하는 서로 연결된 네트워크의 전세계적 모임.
          *ISO(International Standards Organization, 국제 표준기구)에 의해 개발된 구조적 모델 '''OSI'''(Open Systems Interconnect Reference Model)은 데이터 통신 프로토콜 구조와 기능 설명을 위해 자주 사용.
          *Data link layer : 물리적 연결선을 이용해 안정적인 데이터 전송을 제공
  • TdddArticle . . . . 3 matches
         류군 이야기로는 Oracle 의 경우 설치하고 딱 실행하는데만 기본 메모리 200메가 잡아먹는다고 한다. -_-; 로컬 테스트를 위해 HypersonicSql를 쓸만도 하군.; (In-memory DB 식으로 지원가능. 인스톨 할것도 없이 그냥 콘솔에서 배치화일 하나 실행만 하면 됨. 근데, JDBC 를 완벽히 지원하진 않는 것도 같아서, 약간 애매. (ResultSet 의 first(), last(), isLast() 등의 메소드들이 실행이 안됨)
          그래서 오라클이 크다는 말씀이 아니실까? 나도 찍어봐야겠네 --NeoCoin
         Xper:XperSeminar 를 보니 일단 셋팅이 되고 익숙해지면 TDD 리듬이 덜 흐트러지는 방법 같았다. (재우씨랑 응주씨가 원래 잘하시고 게다가 연습도 많이 하셔서이겠지만;) password 추가되고 테스트 돌리는 리듬이 좋아보인다. 단, 테스트 돌아가는 속도가 역시 Real DB 이면서 [Hibernate] 까지 같이 돌아가서 약간 느려보이는데, 이건 해보고 결정 좀 해야겠군.
         reference 쪽은 최근의 테스트와 DB 관련 최신기술 & 문서들은 다 나온 듯 하다. 익숙해지면 꽤 유용할 듯 하다. (hibernate 는 꽤 많이 쓰이는 듯 하다. Intellij 이건 Eclipse 건 플러그인들이 다 있는걸 보면. XDoclet 에서도 지원)
         간만에 여유가 생겨서 한번 따라해보게 되었는데, [Hibernate] 가 생각보다 복잡한 녀석이라는 것을 알게 되었다. (내가 O-R Mapping Tool 에 대한 경험이 없기 때문에 더더욱) 한번에 습득하기에 쉬운 녀석은 아니였군.;
  • ThreeFs . . . . 3 matches
         Facts, Feelings, Findings. (사실, 느낌, 교훈/깨달은 점)
  • TortoiseCVS . . . . 3 matches
         TortoiseCVS 의 경우는 CVS Conflict Editor 를 Preference 에서 설정할 수 있다. [1002]의 경우는 WinMerge 로 잡아놓았다.
         WinMerge 등의 Diff 표현이 잘 되는 Compare tool 을 쓰는 것이 CVS Conflict 처리하기에는 훨씬 편하다. (기존의 <<<< ________ >>>> 으로 소스코드 안에 표현되었을때를 생각해보길. :) )
         WinMerge 에서 통합하고 난뒤 TortoiseCVS 에서의 확인을 한번 더 받고 나면 처리 완료.~
  • TuringMachine . . . . 3 matches
         = Turing Machine =
         == Intruduction ==
         참조) Turing Award : 알랜 튜링의 업적을 기리기 위해서 제정한 상으로, 컴퓨터 공학분야의 노벨상이라 칭해짐.
  • UglyNumbers . . . . 3 matches
         [http://online-judge.uva.es/p/v1/136.html 원문보기]
         || Seminar:지원 || Python || 30분 || Seminar:UglyNumbers/지원 || O ||
  • VacationOfZeroPage . . . . 3 matches
         2박3일 정도 교외로 RT를 가면 어떨까요? (see also Seminar:ReadershipTraining ) JuNe이 학부생으로 되돌아 간다면 선배, 후배, 동기들과 컴퓨터 고전을 들고 RT를 할 겁니다.
  • WantedPages . . . . 3 matches
         A list of non-existing pages including a list of the pages where they are referred to:
  • WikiHomePage . . . . 3 matches
         A WikiHomePage is your personal page on a WikiWiki, where you could put information how to contact you, your interests and skills, etc. It is regarded as to be owned by the person that created it, so be careful when editing it.
  • WikiKeyword . . . . 3 matches
          * http://www.kwiki.org/?KwikiKeywords : Kwiki use keywords. Keywords are listed in the left sidebar and each keywords link to another pages related with it.
          * http://openclipart.org/cgi-bin/wiki.pl?Keyword_Organization
  • Yggdrasil . . . . 3 matches
          * ["StringOfCPlusPlus/영동"] [[BR]]
          * ["LinkedList/영동"] [[BR]]
          * ["LinkedList/StackQueue/영동"] [[BR]]
  • Z&D토론백업 . . . . 3 matches
         참고 : [http://zeropage.org/jsp/board/thin/?table=open&service=view&command=list&page=3&id=4926&search=&keyword=&order=num 2002년1월7일회의록]
          * 상당히 민감한 문제로 가칭(제로페이지데블스)로 정함. 올해 선배님들의 자리를 갖고 선배님들의 의견을 듣고 결정. (이것은 언제 할 것인지? offline ? online?)
  • ZIM . . . . 3 matches
          * ["ZIM/UIPrototype"] (Window&Reports) (by 패키지 개발팀)
          * Class Diagram & Interaction Diagram ( by 시스템 아키텍트)
          * OS: Linux (Zeropage)
          * 시스템 엔지니어(System Engineer) : 이덕준
  • Zero,One 위키 통합에 대한 토론 . . . . 3 matches
         위키의 활성화를 위해 분리하였으나, 그리 효과는 크지 않은것 같습니다. 확인해본결과 중복된 페이지가 많지 않아, 적절히 통합가능 합니다. 어떻게 할까요?--NeoCoin
          지금 로그인해야 쓸수 있나요? 아닐껄요. 로그인해야 지울수 있는 기능일 아니에요? --NeoCoin
         통합하였습니다. :) --NeoCoin
  • ZeroPageServer/IRC . . . . 3 matches
          * 서버: [http://ozinger.org/ 오징어]
          * irc.ozinger.org (포트 6661–6669, 8080)
          * ssl.ozinger.org (포트 16666–16667)
  • ZeroPageServer/set2001 . . . . 3 matches
          * Linux version 2.2.16-22
          * gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
          * Resin 1.2
  • ZeroPage성년식/회의 . . . . 3 matches
          * Ice Breaking이 필요하다.
         || Ice Breaking || 3:10~3:30 || 김수경 ||
         == Ice Breaking ==
  • ZeroPage성년식/후기 . . . . 3 matches
          * Facts, Feelings, Findings, Future Action Plan, Feedback. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획, 피드백.
  • ZeroPage회칙토론 . . . . 3 matches
          ["neocoin"]:그거 어디에 있는지 아시는 분? --상민
          ["neocoin"]:설마, 그렇게 까지는 필요 없겠지 회원 자격 상실 조건과, 정모 만 확실하게 정하면 더 이상 무슨 규칙이 있겠냐 --상민
         각 항목에 몇조 몇항을 두는 이유는 index가 용이하라고 있는것이겠지만, 이 상황에 경우는 그리 필요없을것이라 생각함.--석천
  • ZeroWiki/제안 . . . . 3 matches
          * 외부에서 읽어가는 정적 파일들(favicon.ico, robots.txt, crossdomain.xml 등)을 모두 미리 처리해두지 않으면 위키 페이지로 오인될 염려가 있음 - [변형진]
         || YouNeedToLogin || 페이지 수정에 관한 YouNeedToLogin 모드 적용 제안 ||
  • ZeroWikian . . . . 3 matches
         [[include(틀:추가바람)]]
          * [celfin]
          * [Hyacinth]
          * [KIN]
  • Zeropage/Staff/회의_2006_03_04 . . . . 3 matches
         PaintBox
         MineFinder
  • [Lovely]boy^_^/ExtremeAlgorithmStudy/MathematicalFoundations . . . . 3 matches
          * 내림(Floors), 올림(Ceilings)
          * 수열(Series), 급수(Summation), 수학적 귀납법(Mathematical induction), ... 이건 좀 생소해 보이는데.. 무슨 수렴성 판정하는거 같다.(Bounding the terms), 적분
  • [NewSSack]Template$ . . . . 3 matches
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • biblio.xsl . . . . 3 matches
         <?xml version="1.0" encoding="ISO-8859-1"?>
          <xsl:output method="html" indent="yes"/>
          <div style="margin-bottom:6pt;">
  • callusedHand/projects/messenger . . . . 3 matches
          * SWING
          * Java Network Programming
          * ["StringResources"]
          * Swing 어렵다.
  • dduk . . . . 3 matches
         [http://zp.cse.cau.ac.kr/~dduk/cgi-bin/moin/moin.cgi]
  • eclipse디버깅 . . . . 3 matches
         == Step Into - F5 ==
         == Run to Line - Ctrl + R ==
         에디터에서 커서가 위치한 곳까지 실행한다. 브레이크포인트를 새로 추가하지 않고도 코드 내 임의의 위치로 실행포인트를 옮기고 싶을 때 유용하다. 실행되지 않을 부분을 선택한 상태에서 Run to Line을 실행시키면 프로그램이 끝까지 진행돼 버릴 수 있으므로 주의해야 한다.
         == Terminate ==
  • eclipse플러그인 . . . . 3 matches
         see also [(ZeroPage)Eclipse/PluginUrls]
          * In eclipse menu: window > preferences > team > svn change the default SVN interface from JAVAHL(JNI) to JavaSVN(Pure JAVA)
  • erunc0/XP . . . . 3 matches
         == eXtreme Programming Installed ==
         '경험들' 로 친다면 오히려 Installed 가 맞는 선택일 것 같은데. --a 중간중간 실제 했었던 일들 이야기도 있었으니까 (RonJeffries 와 Chet 의 Pair 등) 뭐 암튼 적당하게 속도를 맞춰서 읽되, 한국어판 책의 서문 대로 '각 Practice를 극한까지 실험해보길'. 개인적으로 'Installed 가 추상적이다' 라는 말에는 반론 (Explained 라면 모를까..) 지금 XP 를 실천하는 중인 사람들을 보고 싶다면 뉴스그룹이 가장 생생하지 않을까 생각. (또는 http://xprogramming.com 의 글들) --["1002"][[BR]][[BR]]
  • fnwinter . . . . 3 matches
          InsideCPU
          Python/Win32/델파이/VB/MFC/기타등등에 쓰일 범용 Skin Library
          http://netgroup-serv.polito.it/windump/ -zennith.
  • html5/offline-web-application . . . . 3 matches
          * 'window.applicationCache', 또는 'applicationCache'
         || CHECKING ||업데이트 체크 중 ||
         || DOWNLOADING ||업데이트 다운로드 중 ||
         || checking ||업데이트 체크 중 ||
         || downloading ||업데이트 다운로드 중 ||
  • neocoin/MilestoneOfReport . . . . 3 matches
         = Internal Document =
          * 실행 방법,과정 (Process of Executing)
         = Thing to Select both I/E Documents =
         ["neocoin"]
  • neocoin/Read/5-6 . . . . 3 matches
         ["neocoin/Read"]/5-6
          * 작성자 : ["류상민"](99,["neocoin"])
         ["neocoin/Read"]/5-6
  • sisay . . . . 3 matches
         [[PlayMusic(http://www.dcinside.com/a-new/hit/img/zerghasu-01.wma)]]
         http://dc4.donga.com/zero/data/westernfood/1110918392/P1010222.jpg - DeadLink
         http://down.humoruniv.com/hwiparambbs/data/pds/zz%25A4%25BB%25A4%25BB.jpg - DeadLink
  • uCOS-II . . . . 3 matches
         ["EmbeddedSystemsBuildingBlocks"]
         음 아까정직이가 같이 번역,정리하자고 해서 그냥 미리 해본다. 쩝.. 그나저나 차례랑 그런거 쓰는거 잘 알아야 할텐데. zp moin 가서 봐야겠다. --인택 [[BR]]
         두번째 번역 시작 fnwinter (02/08)
  • 구구단/정수민 . . . . 3 matches
         k = input('구구단을 외자 구구단을 외자')
         for n in range(1,10):
          print k,'*',n,'=',(k*n)
  • 그래픽스세미나/5주차 . . . . 3 matches
          PPT 파일: Upload:CGSeminar5.zip
          *MATERIAL_SHINE 0.2500
          *MATERIAL_SHINESTRENGTH 0.5000
          *MATERIAL_SHADING Blinn
          *MATERIAL_FALLOFF In
          *MATERIAL_SHINE 0.2500
          *MATERIAL_SHINESTRENGTH 0.0500
          *MATERIAL_SHADING Blinn
          *MATERIAL_FALLOFF In
          *INHERIT_POS 0 0 0
          *INHERIT_ROT 0 0 0
          *INHERIT_SCL 0 0 0
          *MESH_FACE 0: A: 0 B: 2 C: 3 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 2 *MESH_MTLID 1
          *MESH_FACE 1: A: 3 B: 1 C: 0 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 2 *MESH_MTLID 1
          *MESH_FACE 2: A: 4 B: 5 C: 7 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 3 *MESH_MTLID 0
          *MESH_FACE 3: A: 7 B: 6 C: 4 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 3 *MESH_MTLID 0
          *MESH_FACE 4: A: 0 B: 1 C: 5 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 4 *MESH_MTLID 4
          *MESH_FACE 5: A: 5 B: 4 C: 0 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 4 *MESH_MTLID 4
          *MESH_FACE 6: A: 1 B: 3 C: 7 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 5 *MESH_MTLID 3
          *MESH_FACE 7: A: 7 B: 5 C: 1 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 5 *MESH_MTLID 3
  • 김준호 . . . . 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)
  • 데블스캠프2005/Socket Programming in Unix/Windows Implementation . . . . 3 matches
         UnixSocketProgrammingAndWindowsImplementation
  • 데블스캠프2005/목요일후기 . . . . 3 matches
         [[HTML(<center>)]]'''후기 적는 방법 : ThreeFs Fact(사실), Feeling(느낌), 교훈(Find)[[BR]] 을 구분해서 명확히 이야기 해줄래요?''' [[HTML(</center>)]]
         김태훈([zyint]) 러플 보안과 비쥬얼 파이선을 배웠다. 직접 로봇을 움짓이는것같은 러플은 매우 흥미로웠다. VPython의 신기한 기능...암호화의 원리를 배우게 되었다>.< 매우 재미있었다.
  • 데블스캠프2005/보안 . . . . 3 matches
         #include <stdio.h>
         #include <string.h>
  • 데블스캠프2005/월요일후기 . . . . 3 matches
         [[HTML(<center>)]]'''후기 적는 방법 : ThreeFs Fact(사실), Feeling(느낌), 교훈(Find)[[BR]] 을 구분해서 명확히 이야기 해줄래요?''' [[HTML(</center>)]]
         김태훈([zyint])
  • 데블스캠프2008 . . . . 3 matches
          || 9시 ~ 12시 || [임영동] || 토이프로그래밍 1 || [이승한] || Emacs || [유상욱] || 객체지향 || [김동준] || 쿼터스 || [이병윤] || arp spoofing and sniffing ||
          || 3시 ~ 6시 || [조현태] || vb in Excel, Midi || [장재니] || 토이프로그래밍 2 || [임상현] || 정규표현식 || [허아영] || 러플 |||| 페어 코드레이스, 총화 ||
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/강성현 . . . . 3 matches
         body {background-image:url('paper.gif'); padding:0px; margin:0px; }
         <img src="http://tunakheh.compuz.com/zboard/data/temp/aa.png" width="600" height="400" onclick="window.open('http://tunakheh.compuz.com/zboard/data/temp/aa.png','photo_popup','width=600,height=400,scrollbars=yes,resizable=yes');">
  • 데블스캠프2009/화요일 . . . . 3 matches
         || 안혁준 || winAPI || || ||
         ||pm 04:00~05:00 || winAPI || 안혁준 ||
         ||pm 05:00~06:00 || winAPI || 안혁준 ||
  • 데블스캠프2010/Prolog . . . . 3 matches
          * [http://lakk.bildung.hessen.de/netzwerk/faecher/informatik/swiprolog/indexe.html Editor]
         13.독일인은 프린스(Prince) 담배를 피운다.
  • 데블스캠프2011/넷째날/Git . . . . 3 matches
          * setup git and github - http://help.github.com/win-set-up-git/
          * github repository address - https://github.com/beonit/devils2011GitSeminar
          * git cheat sheet - http://ktown.kde.org/~zrusin/git/git-cheat-sheet-medium.png
  • 데블스캠프2011/첫째날/오프닝 . . . . 3 matches
          || [박정근] || :) || pjk41018 || Linus ||
          || [김수경] || 오늘 맛있는 거 먹어요. || linflus || Linflus ||
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission2/서영주 . . . . 3 matches
          MessageBox.Show(sender.ToString() + "\n" + e.ToString());
          MessageBox.Show((dateTimePicker1.Value.Year-dateTimePicker2.Value.Year).ToString());
  • 데블스캠프2012/셋째날/후기 . . . . 3 matches
          * [황현] - 키노트를 끝내고 내려와서 생각해보니 LLVM+Clang에서 가장 중요한 부분인 컴파일 오류 화면을 안 다루고 지나갔다는 것이 떠올라 멘붕합니다. 제가 다루고 싶었던 바로 그걸 안 긁고 넘어갔네요. 대신 그거랑 관련된 포스팅 하나를 링크하니 꼭 읽어보도록 하세요: http://minjang.egloos.com/2914484 - [황현]
          * 그리고, 키노트 제일 처음에 컴퓨터가 주저리주저리 떠들던 건 여기에 음성 파일을 올려뒀습니다: http://zeropage.org/seminar/62033
          * [김해천] - 크아아아. 각도조절 구현했어요. 상당히 재미있는 언어인 것 같습니다. 어제부터 자바스크립트에서 왠지모를 자유스러움(?)과 마력을 느꼈는데, 오늘 집에 오면서 책 하나 질렀습니다. 방학때 할 것이 엄청 많기는 하지만, 그래도 해볼렵니다. http://haechoen0.hosting.paran.com/ex.html
  • 동영상처리세미나 . . . . 3 matches
          * 2006.08.10, 2006.08.17 : input 받아 출력
         for each in y
          for each x in x
  • 레밍즈프로젝트/프로토타입/SetBit . . . . 3 matches
         for(int i=100; i<200; i++)
         for(int i=10; i<100; i++)
          for(int j=10; j<100; j++)
  • 문자반대출력/변형진 . . . . 3 matches
         PHP에서는 strrev()라는 문자열 처리 기본 함수를 제공하지만, 현재 버전에서의 PHP는 기본 함수로는 Multibyte String을 지원하지 못한다.
         fputs($fp, join("", array_reverse(preg_split("//u", join("", @file("source.txt"))))));
  • 문자열검색 . . . . 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
          ||중앙대 ing||
          5 Minute alone
          === Further Reading 가입하기 ===
  • 병역문제어떻게해결할것인가 . . . . 3 matches
          * 자세한 사항은 [https://inclue.kr/3 복무 정보], [https://inclue.kr/4 구직 정보]를 참조하면 됩니다.
          * ~~[http://www.caucse.net/phpwiki/index.php?%C4%C4%B0%F8%C0%CE%B1%BA%B4%EB%B0%A1%B1%E2 컴공인군대가기(동문서버 위키)]~~
  • 비행기게임 . . . . 3 matches
          print 'static method', x, y
          게임 그래픽 부분이 만만치 않긴 하지.. 흐흐. 스프라이트 그리는 사람이 고충이 생각보다 많음. 안티 엘리어싱 부분의 경우 투명색이 제대로 처리가 되지 않기 때문에 도트노가다를 해주어야 하거든. 나의 경우 포토샵으로 일단 트루컬러로 그린뒤 그것을 256 indexed color 로 바꾸고 투명색 하나 넣어서 도트노가다 해주는 식이거나, 또는 아에 3D 툴로 그리던지. (3D 툴로 모델링하고 렌더링시에 웬만한 툴들은 alpha channel 을 따로 저장하거든. 그래서 3D 툴로 만든건 안티 엘리어싱 문제를 그리 의식하지 않음.) 또는 아에 엔진 자체가 3D이고 스프라이트들이 3D 이던지지만 이건 논의 대상 밖이겠군; 해성이의 경우는 원래 도트 노가다에 일가견이 있기에 뭐 전부 그려주긴 했고;
          암튼. 초반의 열정이 후반의 끈기로 이어지려면, 해당 일에 대한 좋은 방법들을 중간에 계속 궁리하고, 적용해봐야겠지. 개인적인 조언이라면, 초반에 너무 그래픽 등에 많이 신경쓰지 않는것이 낫다고 생각함. 일단은 전반적인 틀과 게임 엔진을 만든다는 기분으로 하고, 그 엔진이 자신이 원하는 아이디어를 수용할 수 있는가에 더 촛점을 맞추는게 낫지 않을까 함. 단, 생각은 전반적인 부분을 보되, 구현을 쉽게 하기 위해서는 구체적 예제 데이터를 가지고 작업하는것이 효율적이겠지. 그리고 그 예제 데이터를 기반으로 일종의 SpikeSolution식으로 구현을 한뒤, 그 구현된 프로그램을 보고 다시 코드를 작성하던지 또는 ["Refactoring"] 해서 일반화시키던지.(새로 짜도 얼마 시간 안걸림. 예상컨대, 아마 중반에 소스 한번 뒤집어주고 싶은 욕구가 날껄? 흐흐) --["1002"]
  • 사람들이모임에나오지않는다 . . . . 3 matches
         사람들을 다그쳐 봐야 아무런 효과가 없습니다. 어떻게 그들에게 영향을 줄까(influence)를 고민해야 합니다. 내가 그 사람을 바꾸려고 하지말고, 그 사람이 스스로 바뀌어서 "자발적으로 나오고 싶은 마음이 굴뚝 같게" 될 수 있는 상황을 만들어야 합니다.
         "Reform the environment, stop trying to reform the people. They will reform themselves if the environment is right." --NoSmok:BuckminsterFuller
  • 사랑방 . . . . 3 matches
         시험이 막바지에 이르자, 사람들이 글러쉬를 하고 있다. --["neocoin"]
          ''약간은 사기라고 봐도 됩니다. 퀵소트에서 첫번째 원소를 피봇으로 잡는 경우가 헤스켈에서 아주 간단히 표현될 수 있다는 점을 이용한 것이죠 -- 첫번째가 피봇이 되면 문제가 생기는 상황들이 있죠. 보통 헤스켈의 "간결성"을 강조하기 위해 전형적으로 사용되는 예입니다. 뭔가 독특한 점을 강조하기 위해 쓰인다는 것 자체가 이미 약간의 과장을 암시하고 있습니다. see also Seminar:QuickSort --JuNe''
         negative LA assertion을 쓰면 간단합니다. {{{~cpp &(?!#\d{1,3};)}}} RE를 제대로 사용하려면 ''Mastering Regular Expressions, 2Ed ISBN:0596002890''를 공부하시길. --JuNe
  • 새싹-날다람쥐 6월 10일 . . . . 3 matches
         그리고 d는 char*형태이기 때문에 Casting을 해 주어서 (char*)malloc(sizeof(char)*100); 와 같은 형태가 되어야 한다.
         int temp;
         C에서는 변수 선언을 맨 위에 해야 하므로 int d[temp]와 같은 형태로 선언할 수 없다.(아무데서나 선언을 할 수 있는 C++에서도 이런 형태는 불가능하다.)
  • 새싹C스터디2005/선생님페이지 . . . . 3 matches
          * 배열을 추가했습니다. 배열(이중)을 제대로 가르쳐야 Linked List를 제대로 가르칠 수 있을 것 같네요. Linked List를 쓰는 이유를 알려면 이중 배열을 알아야한다 생각해요. 안쓰면 뭐가 안좋은지 알 수 있을테니까요. [이영호]
         여러분들보다 조금은 세미나 경험이 많은 사람이기에 한가지 이야기만 드리겠습니다. 세미나를 통해 무언가를 설명할 때 정의(definition)에 대해서 명확하게 알려주도록 노력해 보세요. 여러분이 세미나를 한 후에 신입생들에게 "변수의 정의가 무엇이냐?", "함수의 정의가 무엇이냐?" 와 같은 질문을 한다면 신입생들이 대답을 할 수 있을까요? 혹은 여러분들은 이러한 질문에 명쾌하게 대답을 할 수 있습니까? 어떤 새로운 것을 배울 때 가장 중요한 것은 그것이 어디에 쓰이는 것인지, 그것이 어떻게 쓰는 것인지와 같은 것들이 아니라 그것이 무엇인지를 아는 것입니다. 무엇인지 확실하게 알아야 그 다음을 이해하는데에도 보다 쉽지 않을까요?
  • 새싹교실/2011/Pixar/5월 . . . . 3 matches
          * linear search
          * binary search
         binary search 는 너무어려웠어요 ㅠㅡㅠ 그리고 2차원 배열에 대해서 배웠는데 흠 말로 설명을 못하겠네요 ㅠㅡㅠ 수업시간엔 너무졸려서 잠만자다가
  • 새싹교실/2011/쉬운것같지만쉬운반/2011.3.15 . . . . 3 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2011/씨언어발전 . . . . 3 matches
          * Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2013/라이히스아우토반/4회차 . . . . 3 matches
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * Internet Explorer를 제외한 다른 브라우저 (Chrome,FireFox, Opera)로 위키에 들어오면 편집하기 쉬워요.
  • 새싹교실/2013/록구록구/1회차 . . . . 3 matches
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2013/록구록구/6회차 . . . . 3 matches
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2013/양반/2회차 . . . . 3 matches
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 새싹교실/2013/양반/5회차 . . . . 3 matches
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
  • 서울대컴공대학원구술시험/05전기 . . . . 3 matches
         int max(int, int)는 두 인자중 큰 수를 반환하는 함수입니다. a) 트리의 높이를 구하는 함수 b) 2n + 1
  • 세미나/2004 . . . . 3 matches
         || 2 || 상규&홍선 || cache || [1st Seminar] ||
         || 5 || 세환&보창 || 크래킹 || [CrackingProgram] ||
         || 7 || 휘동 || [Debugging] || 간단한 디버거 사용 시연, 디버깅에 대해 이야기 나누기||
  • 시간관리하기 . . . . 3 matches
         ==== Getting Things Done (끝도 없는 일 깔끔하게 해치우기) ====
         '''The Simplest Thing That Could Possibly Work'''
  • 온라인서점 . . . . 3 matches
         [http://alladin.co.kr 알라딘]
         [http://morning365.com/ 모닝 365]
         [http://www.bandibook.com/ 반디앤 루니스] [http://www.bandibook.com/c2c/index.php 중고책]
  • 위키에대한생각 . . . . 3 matches
          * 기존에는 월단위로 백업하고, history를 삭제해서 복구가 불가능했다. --NeoCoin
          * SeeAlso NoSmok:일반게시판 NoSmok:위키게시판 NoSmok:WikiIsNotABulletinBoard
         모든 이야기는 '''게시판에 비해서''' 라는 말을 다 붙이는 것이 암묵적으로 생략된 느낌이 든다. --NeoCoin
  • 위키요정 . . . . 3 matches
         관련한 기술들을 NoSmok:WikiGardening 에서 참고 할수 있다.
         하지만 위키는 일전에 창준이형 말씀대로 NoSmok:WikiGardening 처럼 구두를 수선하는 것보다 정원을 다듬는 은유법이 더 어울리는 것 같다. 망가지지 않도록 끊임없이 관리하는 것, 정원일이란 그대로 두면 인간에게 불편한 자연을 좀더 편하게 즐길수 있게 만드는 작업이라서 그러한 것일까?
         --NeoCoin
  • 위키의특징 . . . . 3 matches
         '''MindMap [위키위키] KMS(Knowledge Management System) 비교'''
         || '''구분''' || '''MindMap''' || '''[위키위키]''' || '''KMS''' || '''[블로그]''' ||
          * 현대의 정보화 사회에서는 많은 지식을 머리속에 가지고 있는 사람보다는 유용한 지식이 어디 어디에 있는지 알면서 쉽게 찾아내는 사람이 지식인이다. 그런 의미에서 위키는 자신의 개인적 지식이나 특정 커뮤니티에서의 지식등을 체계적으로(사람의 두뇌 구조와 유사한 방식.. 링크 - 유사연상) 관리한다. 사람의 두뇌 구조와 비슷하기 때문에 일종의 외부 두뇌(external brain)로 볼수도 있다. 위키위키는 논리적이고 이성적인 객관화된 사실이나 진실을 찾아가는데는 탁월하다.
  • 이중포인터의 동적할당 예제 . . . . 3 matches
         void main()
          int n=3,m=4;
          int i;
  • 일반적인사용패턴 . . . . 3 matches
          * ["HelpOnFormatting"]
          * ["HelpOnEditing"]
         위키위키의 장점중 하나로 자유로운 링크에 있습니다. 기본적으로 auto link를 지원하므로 해당 위키 페이지 링크 뿐만 아니라 다른 웹 페이지의 링크도 자유롭습니다. (쓰다가 보면 가끔 위키 내에서 다른 페이지로 날라가기 허다해진다는. --;) 위키페이지 링크는 [[ "해당페이지이름" ]] 을 하시면 되고, 일반 웹 페이지는 URL을 그냥 입력해주시면 됩니다.
  • 임인택/코드 . . . . 3 matches
          * 헤더파일 : windows.h, imm.h
          * 헤더 : winuser.h, windows.h
  • 자료병합하기 . . . . 3 matches
         a,b 데이터를 크기 순서로 (Ascending) 병합(Merge)하는 프로그램을 작성하여라.
         int a[] = {10, 40, 70, 80, 90, 99}
         int b[] = {20, 30, 40, 50, 60, 70, 85, 90, 95, 97, 99}
  • 자바프로젝트/방화벽팀메신저 . . . . 3 matches
          * [http://www.caucse.net/cgi-bin/moin/moin.cgi/_c0_da_b9_d9_c7_c1_b7_ce_c1_a7_c6_ae_2f_b9_e6_c8_ad_ba_ae_c6_c0_b8_de_bd_c5_c0_fa 자바프로젝트/방화벽팀메신저 ]
  • 전문가의명암 . . . . 3 matches
         NoSmok:AlfredNorthWhitehead''''''는 ''Civilization advances by extending the number of important operations which we can perform without thinking of them.''라는 명언을 남겼다.
  • 정모/2002.12.30 . . . . 3 matches
          || 책 || PowerReading ||
          * 학술제, Team 별 Shooting Game 제작, Programming Party
  • 정모/2002.9.26 . . . . 3 matches
         시간관리, 우선순위 관리에 대해 고민하는 사람들이 많았다. 마침 재동이 '끝도없는일 깔끔하게 해치우기'(NoSmok:GettingThingsDone) 를 읽던 중이여서 책을 아는 사람들이 그와 관련한 이야기들이 있었다.
         이런 비형식적인 오프모임도 좋은 것 같다. 오늘은 Seminar:RenaissanceClub 모임 스타일이랑 비슷한데, 꼭 '안건', '의견' 식으로 가지 않아도 좋을 것 같다. 사람들의 최근 관심사가 무엇인지 알고, 서로 자유롭게 의견을 말하거나 물어보는. 개인적으로는 이런 스타일로 계속 가보는 것도 재미있을 듯 싶다. ^^; --["1002"]
  • 정모/2004.9.24 . . . . 3 matches
          * [Hacking] - Linux OS 다루기, 취약점과 소스 분석. 아직 모임없었음. 책 하나를 익히기
          * [XML.ing] - ? (팀원 불참)
  • 정모/2011.7.25 . . . . 3 matches
          * [Spring/탐험스터디]
          * 다시 구현해보는 WinMerge 계속 진행중입니다.
          * [EnglishSpeaking/2011년스터디]
  • 정모/2011.8.22 . . . . 3 matches
          * [Spring/탐험스터디]
          * [EnglishSpeaking/2011년스터디]
          * 준식이의 wow add on 글이 delete라고 되어 있길래 뭔가 했더니 그런 이유가 있었군요 -ㅅ-;; 흐으음.. 사생대회.. 오랜만에 하네요,, 혼자 약간 떨어져 앉아 ㅋㅋㅋ Pink Floyd의 음악을 들으며.. 이것 저것 잡다하게 막 뭔가 해 놓고 나니.. 다 쓰레기네요 ㅋㅋㅋㅋㅋ 재밌었습니다 - [권순의]
  • 정모/2011.8.8 . . . . 3 matches
          * [Spring/탐험스터디]
          * Plz update this line.
          * [EnglishSpeaking/2011년스터디]
  • 정모/2011.9.27 . . . . 3 matches
          * Git, Grails, Cappuccino, Apache Thrift에 관한 설명.
          * [Spring/탐험스터디]
          * 이 주는 정말 공유할 것들이 많은 정모였지요. 전 역시나 Cappuccino에 관심이 많아서 그걸 설명...+_ 사실 옵젝-C를 배울때 최대 약점이 될 수 있는게 그 시장이 죽어버리면 쓸모가 없어진다는건데 브라우저는 그럴일이 없으니 좋죠. 제대로 release되어서 쓸 수 있는 날이 오면 좋겠네요. -[김태진]
  • 정모/2012.7.25 . . . . 3 matches
          * Spring : SimpleWiki 작성. 게시물 Page Repositery 기능. Hibernate 사용하는 기능을 Page Repositery에 붙이려고 하는데 Hibernate가 어려워서 잘 될까 모르겠다. 이후에는 Spring의 security 기능을 이용해서 회원가입 기능을 붙일 예정. 위키 문법을 어느 정도까지 다루어야 할지 생각 중.
          * MVC의 Model과 DDD(는 아니지만)의 Domain - Repository와의 관계에 대해 고민했다. DAO와 Repository의 차이가 무엇인지 아직 잘 모르겠다. - [서지혜]
  • 정모/2013.5.13 . . . . 3 matches
         Facts, Feelings, Findings, Future Action Plan. 즉, 사실, 느낀 점, 깨달은 점, 앞으로의 계획.
          * TIP : Internet Explorer를 제외한 브라우저(FireFox라던가 Chrome이라던가)로 들어오면 각 항목 우측에 "편집"이라고 떠요. 좀 더 편하게 수정 할 수 있죠.
  • 정모/2013.9.4 . . . . 3 matches
          * 클린 코드 : SRP(Single Responsibility Principle), DIP(Dependency Inversion Principle) 방식을 공부하였고 디자인패턴 중 템플릿 메소드에 대해서 공부하였습니다.그리고 스레드에 대해서 공부 하였습니다. trello와 github연동하는 방법이 있습니다.상당히 유용할 것같으므로 관심있으신분들은 조금만 찿아보시면 쉽게 하실수있습니다.
  • 졸업논문 . . . . 3 matches
          * http://xper.org/wiki/seminar/_b3_ed_b9_ae_c0_d0_b1_e2
          * http://tint.egloos.com/1310733
         = Link =
  • 주요한/노트북선택... . . . . 3 matches
          나같은 경우에는 [http://kr.dcinside14.imagesearch.yahoo.com/zb40/zboard.php?id=notesell nbinsde노트북중고] 에서 중고 매물로 소니바이오 S38LP를 158만원에 샀는데,, 아는 선배는 같은것을 새거로 290만원 가까이 주고 샀었다는 말을 주고 보람도 있었음,,
          노트북은 에버라텍이 가격대 성능비가 괜찮다고 하고, IBM 거는 튼튼하다고 하고 뭐 여러가지가 있는데, 저 http://nbinsde.com 에서 직접 정보를 모아 보는게 제일 좋을듯... 나같으면 새거같은 중고 노트북을 사겠지만.. - [(namsang)]
  • 중위수구하기 . . . . 3 matches
         === input ===
         || 김태훈([zyint]) || PHP || . || [중위수구하기/김태훈zyint] ||
  • 지금그때2004 . . . . 3 matches
         그때의 사진을 찾습니다.'''--NeoCoin
          휘동이가 좋은 기회를 놓칠지 모르겠군. --NeoCoin
          * 연기해서 다음주 화요일인가요? 일주일이라서 저는 수요일인줄 알았는데.. 어떻게 된건지요? --NeoCoin
  • 지금그때2004/회고 . . . . 3 matches
          * 질문 : 기록을 찾을수 없어서 그러한데, 이번에 리허설을 대략 몇시간 정도 했나요? --NeoCoin
          * 도우미들이 적극적으로 Recorder 가 되는 건 어떨까. MinMap이나 ScatterMap 기법들을 미리 숙지한뒤, 레코딩 할때 이용하면 정리 부분이 더 원활하게 진행될것 같다.
          * 적는 사람 입장에서는 2개 짜리 책상이 좋았습니다. 그러나 관찰 해보면, 책상이 작은 쪽이 좀더 가까이 바라보고 이야기하는 느낌을 받았습니다. 적절히 섞여 있는 편이 좋은것 같습니다.--NeoCoin
  • 지금그때2006/선전문 . . . . 3 matches
         이 행사의 모토는 이렇습니다. "<a href="http://sgti.kehc.org/child/contents/teaching/14.htm"> <B> 지금 알고 있는 것을 그때도 알았더라면 </B> </a> " 단지 후회에서 그치지 않고 어떻게 했을까 생각해 봅니다. 의외로 지금도 늦지 않았다는 것을 발견할 수도 있습니다.
         이 행사의 모토는 이렇습니다. "<a href="http://sgti.kehc.org/child/contents/teaching/14.htm"> <B> 지금 알고 있는 것을 그때도 알았더라면 </B> </a> " 단지 후회에서 그치지 않고 어떻게 했을까 생각해 봅니다. 의외로 지금도 늦지 않았다는 것을 발견할 수도 있습니다.
         <a href="http://165.194.17.5/zero/index.php?title=%C1%F6%B1%DD%B1%D7%B6%A72006%2F%C8%C4%B1%E2&url=zeropage"> 후기 쓰러 가기(클릭) </a>
  • 최대공약수 . . . . 3 matches
         === input ===
          || 김태훈([zyint]) || C || 30분 || [최대공약수/김태훈zyint] ||
  • 최소정수의합 . . . . 3 matches
          - 문제가 그렇습니다. 처리조건은 HINT라기 보다는 그 말 대로, 처리하기 위한 조건이라서 문제의 하위 조건이라고도 볼 수 있습니다.
         === input ===
         || 김태훈[zyint] || C || . || [최소정수의합/김태훈zyint] ||
  • 캠이랑놀자/051229 . . . . 3 matches
         == Color-Whitening ==
         == Alpha-Blending ==
         == Mosaic (Sampling) ==
  • 큰수찾아저장하기 . . . . 3 matches
         === input ===
          ||김태훈[zyint]|| C || . || [큰수찾아저장하기/김태훈zyint] ||
  • 프로그래밍잔치 . . . . 3 matches
         || 99 || ["이덕준"] , ["comein2"] , ["JihwanPark"] , ,||
         || 00 || 정직(["fnwinter"]) , 영현(["erunc0"]), ["zennith"] , 광식(["woodpage"]) , , ,||
          * 잔치하니까 왠지 시골 잔치가 생각난다 ... 잔치 국수 먹고 싶다!....["fnwinter"]
  • 프로그래밍잔치/정리 . . . . 3 matches
          -> Opening Question 의 중요. 토론을 시키기 전, 그 주제를 명확하게 표현해주는 '질문' 문장을 미리 3-4개정도 작성해온다.
          -> Opening Question 이 있다면 어느정도 해결가능하리라 생각. Facilitator 가 답을 유도하지 않되, 너무 다른 길로 걸어가지 않도록 하는 기준이 될 수 있으리라 생각.
          * Pair Programming 중 실천적인 구체적 방법을 미리 제시해주지 않음. - Pair 가 잘 이루어지지 않는 팀을 빨리 파악하고 빠른 대처/처방안을 주었더라면 하는 아쉬움이 든다.
  • 프로그래밍잔치/첫째날 . . . . 3 matches
          * '''Think Difference 낯선 언어와의 조우'''
         === 시간 - Think Different! 낯선언어와의 조우! ===
          * Python 은 메소드(함수, 프로시저)의 길이가 7줄을 넘으면 안된다. line 기준
  • 프로그래밍파티 . . . . 3 matches
          ZP 랑 Moa 랑 페이지가 따로 열려있어서 정보가 분산되는 느낌이 드는데, 한곳에서 토의하는건 어떨까요? 그리고 DesignFest랑 ProgrammingContest 중 어떤거 할것인가는 무기명투표모드를 함 적용하는것도..~ (ProgrammingContest 의 경우 IPSC로 ZP가 예습(?)한 것 같은 느낌이 들어서;; 오 찔린다;) 14일까지 결정하고, 16일까지 행사때 진행방법을 구체적으로 정했으면 합니다.~ ^^ --석천
         See Also ["ProgrammingPartyAfterwords"]
  • 프로젝트 . . . . 3 matches
          * [XpWeek] - 2004년 겨울방학 ExtremeProgramming 체험하기
          * [ZeroPageMagazine] - 미완성
          * 참고 페이지 - [GuiTesting]
  • 프로젝트기록의필수요소토론 . . . . 3 matches
         ["neocoin"] 지금 프로젝트중 어정쩡한 상황으로 가는게 있는데, 반달정도에 한번도 업데이트 안되는 것을 그 예라고 생각합니다. 프로젝트의 끝이 명확해야 하지 않을까요? 비록 팀원들간에 사정으로 해당 프로젝트가 와해 되었다면, 팀원들중 아무나, 혹은 다른 회원의 지적으로 종료 시점을 기록해서 와해 이유와, 차후 방지에 관하여 한번쯤 생각해 봐야 할것이라고 생각 됩니다. [[BR]]
         [1002] 프로젝트 이름에 대해서 한마디 한다면, 'Java', 'ExtremeProgramming' 은 공부하려고 하는 지식의 종류이지 프로젝트의 이름으로 부적절하다고 봅니다. 만일 Java Study 팀이 두 개인 경우라면? 문제가 발생할 수 밖에 없습니다. 초창기에 해당 기술부분으로 페이지를 열 수는 있지만, 나중에 프로젝트가 끝나고 난다음에는 일반화시켜서 본래의 이름을 반환해주는 것이 좋다고 생각합니다. (즉, 'Java' 페이지는 Java 에 대한 소개나 기술 등을 넣어주고, 'Java' 페이지이름을 썼던 프로젝트팀은 프로젝트팀 이름의 새 페이지를 만들어서 경과보고를 하는식으로..)
         ["neocoin"] ZeroWiki의 프로젝트 페이지를 위한 6하 원칙을 생각해 봤습니다. 저정도면 될것 같네요. 어디서(where)이 있지만 이것은 보나마나 여기서 여기서니 프로젝트 이름으로 대체해서 했습니다. 앞으로의 모든 페이지가 저 정보가 꼭 있어야 한다고 정모에서 건의 함이(이거 원 정모를 해야 --;) --상민
  • 허아영/MBTI . . . . 3 matches
         '''사고형 (Thingking)'''
         T가 이렇다고 내가 F(feeling)쪽의 성향도 없는것은 아니다.
  • 협상의법칙 . . . . 3 matches
          * My Point:
          * NeoCoin : B) B) B)
         처음 저자가 냉장고를 살때의 스토리 텔링에서 난 '''너무 피곤하다.'''란 느낌에 사로 잡혔다. 이 선입감은 읽는 동안 나를 불편하게 만들었다. 더구나, 저자는 모든 사람 사이의 대화를 이러한 딱딱한 느낌의 협상의 대상으로 보고 이야기를 전개한다. '''이렇게 피곤하게 신경쓰며 평소에 살일이 있을까?''' 라는 생각이 든다. 저자가 문체를 약간은 더 평화롭게 해결하는 방향으로 잡았다면, 좀더 나에게 의미가 있는 책일것 이라고 생각한다. --NeoCoin
  • 05학번만의C++Study . . . . 2 matches
         16. string 클래스와 표준 템플릿 라이브러리
          * 아 그래??? 난 zeropage main 에서 들어오는데 ~ ㅋㅋ 검색해서 들어와도 되요 ㅋㅋ - 아영
  • 05학번만의C++Study/숙제제출/2 . . . . 2 matches
          * 평상시에는 문자열의 주소를 하나의 전달인자로 취하여, 그 문자열을 한 번 출력하는 함수를 작성하라. 그러다가 0이아닌 int형 값을 두 번째 전달인자로 제공하면, 그 시점에 도달할 때까지 그 함수가 호출되었던 횟수만큼 그 문자열을 반복해서 출력한다. (문자열이 출력되는 횟수는 두 번째 전달인자의 값이 아니라 그 함수가 호출되었던 횟수와 같다.)물론 이 함수는 거의 쓸모가 없다. 하지만 이것은 이 장에서 설명한 몇 가지 프로그래밍 기술을 사용할 것을 요구한다. 이들 함수를 사용하여 함수의 작동을 보여 주는 간단한 프로그램을 작성하라
          * 여기서 질문!! 전달인자가 1개인 함수와 2개인 함수만들어 오버 로딩 하라는 것인가? 그게 아니라면... cin을 라인별로 입력 받아햐겠는데.. 어떤때는 변수를 하나만 받고 어떤때는 변수를 두개 받아야하니.. 라인별로 처리 해야할듯.. 하지만 라인별로 처리해도....;;;; 음... 생각이 떠오르지 않음..;;; 쳇..;;[[BR]] 어제 교수가 defalte 에 대해 설명했던거 같은데.. 전달인자를 취하지 않으면 이미 입력된 변수의 값으로 처리한다. 라고...;; 음..;;;이렇게 해야하나?
  • 06 SVN . . . . 2 matches
         1. Tortoise install
         3. Create visual studio project in that folder.
  • 1thPCinCAUCSE/ProblemA/Solution . . . . 2 matches
         ["1thPCinCAUCSE/ProblemA"] 의 해.
         || ["1thPCinCAUCSE/ProblemA/Solution/zennith"] || ["zennith"] || C || 1 + a ||
  • 2002년도ACM문제샘플풀이 . . . . 2 matches
          * [http://cs.kaist.ac.kr/~acmicpc/problem.html 2002년도 문제 샘플] 풀이입니다. ["신재동"]과 ["상규"]가 '개발 시간 최소화' 라는 문제 때문에 시작부터 TDD와 Refactoring 그리고 OOP를 버렸습니다. 그래서 중복도 심하고 남에게 보여주기 정말 부끄럽지만... 용기내서 올립니다. 리펙토링 후에 변한 모습을 다시 올리도록 하겠습니다.
          ''부끄러워할 필요가 없다. 촉박한 시간에 쫓겼다고는 하나, 결국 정해진 시간 내에 모두 풀은 셈이니 오히려 자랑스러워 해야 할지도 모르겠다. 아마 네 후배들은 이런 배우려는 태도에서 더 많은 걸 느끼지 않을까 싶다. 이걸 리팩토링 해서 다시 올리는 것도 좋겠고, 내 생각엔 아예 새로 해서(DoItAgainToLearn) 올려보는 것도 좋겠다. 이번에는 테스트 코드를 만들고 리팩토링도 해가면서 처음 문제 풀었던 때보다 더 짧은 시간 내에 가능하게 해보면 어떨까? 이미 풀어본 문제이니 좀 더 편하게 할 수 있을 것 같지 않니? --JuNe''
  • 2005MFC스터디 . . . . 2 matches
         교재 판매 점 : [http://kangcom.com/common/bookinfo/bookinfo.asp?sku=200401310006]
  • 2005리눅스프로젝트<설치> . . . . 2 matches
          * 데비안을 사용할려고 했지만 경험부족 때문에 X-WINDOW를 설치를 못해서 다른 버전중에 레드핫 계열인 Fedora core4를 선택했습니다. 레드핫,데비안,Fedora 설치 해서 이 버전이 제일 갠찮은 것같아서 이걸로 사용하기로 결정을 했습니다.
          ''데비안에서는 x-window-system 패키지만 설치하면 만서 ok 인데;; 써보면 배포방식이 데비안 만큼 편한것이 없죠''
          * 저도 데비안을 사용하고 싶은데 그 x-window 깔줄몰라서 이러는 중입니다...ㅜㅜ
  • 2006김창준선배창의세미나 . . . . 2 matches
         Upload:SeminarMindMap.png
  • 2006신입생 . . . . 2 matches
          * 어디에 보니깐 전화번호도 공일구.오오팔.오구삼팔 과 같은 식으로 써놓던데 이렇게 하면 괜찮은건가 모르겠네요^^ - [http://165.194.17.5/zero/?url=celfin&sessionId=celfin&sessionName=하기웅 하기웅]
  • 2006신입생/방명록 . . . . 2 matches
         -아발이 돈 좀 뿌렸나보네^^ㅋㅋ - [http://165.194.17.5/zero/?url=celfin&sessionId=celfin&sessionName=하기웅 하기웅]
  • 2thPCinCAUCSE/ProblemA/Solution . . . . 2 matches
         ["2thPCinCAUCSE/ProblemA"] 의 해.
         || ["2thPCinCAUCSE/ProblemA/Solution/상욱"] || [상욱] || C++ || 50분 ||
  • 3rdPCinCAUCSE/J-sow전략 . . . . 2 matches
         input x, y
         [3rdPCinCAUCSE]
  • 3학년강의교재/2002 . . . . 2 matches
          || 이동컴퓨팅 || (원)wireless internet & mobile business || Harvey M. Deitel || DEITEL(?) ||
  • 5인용C++스터디/멀티쓰레드 . . . . 2 matches
         동기 클래스인 CSyncObject, CSemaphore, CMutex, CCriticalSection, CEvent와 동기화된 접근을 허용하는 CMultiLock과 CSingleLock이 그것이니다.
         OS에서 공유자원이나 특정코드가 수행되는 도중에 다른 프로세스에 의해 interrupt 되는것을 방지하기 위해 크리티컬 섹션을 사용하게 된다. 이는 윈도우즈 프로그래밍에서 스레드관련 처리를 해 줄 때에도 나오는 용어이다.
  • 5인용C++스터디/윈도우즈프로그래밍 . . . . 2 matches
         #redirect DevelopmentinWindows
  • ACE . . . . 2 matches
         ADAPTIVE Communication Environment. 플랫폼 독립적인 네트워킹 프레임워크. [Java]가 VirtualMachine 을 사용하여 플랫폼 독립적인 프로그래밍을 가능하게 하는 것 처럼 플랫폼에 상관없이 안정적이면서도 고성능의 네트워크 프로그래밍을 할 수 있도록 도와주는 프레임워크이다.
          * http://www.redwiki.net/wiki/moin.cgi - 역자 권태인씨의 홈페이지
  • AM/20040712세번째모임 . . . . 2 matches
          * 참고자료 Upload:am_study2.ppt [DevelopmentinWindows]
  • APlusProject/QA . . . . 2 matches
         Upload:APP_UnitTestResult_0609.zip -- index랑 페이지수 몇개 틀렸길래 수정해서 올립니다 -- QA승인끝
         Upload:APP_UnificationTestResult_0609.zip -- 최종문서 index틀렸길래 수정해서 다시 올렸습니다 -QA승인끝!
  • ArsDigitaUniversity . . . . 2 matches
         학부생 수준의 전산 전공을 일년만에 마칠 수 있을까. 그런 대학이 있다(비록 지금은 펀드 문제로 중단했지만). 인터넷계의 스타 필립 그리스펀과 그의 동료 MIT 교수들이 만든 학교 ArsDigitaUniversity다. (고로, Scheme과 함께 NoSmok:StructureAndInterpretationOfComputerPrograms 를 가르친다)
         자신의 전산학 지식을 전체적으로 정리하거나, 밑바닥부터 새로 공부하고 싶은 사람들에게 많은 참고가 된다 -- 모든 수업이 한 달이면 끝난다. ArsDigitaUniversity의 "하면서 배우는"(learn by doing) 교육 모델(날마다 구체적인 Problem Set이 주어지고 오전에 수업이 끝나면 오후에 Recitation을 하며, 매 주 NoSmok:교육적인시험 을 친다)도 흥미롭다. 모든 수업에 대해 VOD와 문제, 해답, 수업 노트가 제공된다.
          * MIT 박사 과정 타라 수잔의 교수 경험 http://www-math.mit.edu/~tsh/teaching/aduni.html
  • 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 역어셈블러 구글검색]
  • AssemblyStudy . . . . 2 matches
          * [http://kldp.org/HOWTO/html/Assembly-HOWTO/index.html Assembly-HOWTO]
          * [http://charsyam.springnote.com/pages/2429832 OS만들기]
  • AudioFormatSummary . . . . 2 matches
         || mp3 || ? || [http://www.ipm.fraunhofer.de/fhg/ipm_en/profil/lab_equipment/index.jsp Fraunhofer] || 공짜 아님. 손실압축. ||
         이 모든 포맷들을 커버하는 플레이어는 오직 [http://foobar2000.org foobar]뿐인듯. 3rd party plug-in 없이 재생 (M$ 애들꺼는 제외). 리눅스에서는 beep-media-player 추천(라이브러리 추가구성해야 함) - 임인택
  • BNUI . . . . 2 matches
         General Skin Library
         XML(Expat)->Object->Window->Control
  • Basic알고리즘 . . . . 2 matches
         {{| " 그래서 우리는 컴퓨터 프로그래밍을 하나의 예술로 생각한다. 그것은 그 안에 세상에 대한 지식이 축적되어 있기 때문이고, 기술(skill) 과 독창성(ingenuity)을 요구하기 때문이고 그리고 아름다움의 대상(objects of beauty)을 창조하기 때문이다. 어렴풋하게나마 자신을 예술가(artist)라고 의식하는 프로그래머는 스스로 하는 일을 진정으로 즐길 것이며, 또한 남보다 더 훌륭한 작품을 내놓을 것이다. |}} - The Art Of Computer Programming(Addison- wesley,1997)
  • BicycleRepairMan . . . . 2 matches
         http://bicyclerepair.sourceforge.net/ . python refactoring 툴. idlefork 나 vim 에 통합시킬 수 있다.
         Seminar:BicycleRepairMan , PyKug:BicycleRepairMan
  • BirthdayCake . . . . 2 matches
         [http://online-judge.uva.es/p/v101/10167.html 원문보기]
         [http://online-judge.uva.es/p/v101/p10167.gif]
         === Input ===
         === Sample Input ===
  • BookTemplate . . . . 2 matches
         DeleteMe when you fill in this page (이 페이지를 채워 넣을 때 삭제해 주세요)
          * My Point
  • C++Seminar03/SampleProblems . . . . 2 matches
         [C++Seminar03]에서 ZeroWikian 들이 풀게 될 문제들을 간단하게 정리합니다.
         [C++Seminar03], [문제분류]
  • C/Assembly/for . . . . 2 matches
          incl (%eax)
          incl (%eax)
  • CMM . . . . 2 matches
          * SE-CMM : Systems Engineering Capability Maturity Model. 시스템공학 분야에서 적용하여야 할 기본 요소들을 대상으로 현재의 프로세스 수준을 측정하고 평가하기 위한 모델로서 기본적인 프레임웍은 SW-CMM과 유사
          * IPD-CMM : Integrated Product Development Capability Maturity Model. 고객 요구를 보다 잘 충족시키기 위하여 소프트웨어 제품의 생명주기 동안에 각각 진행되는 프로젝트들이 적시에 협동할 수 있는 제품 개발체계를 도입하기 위한 모델
          * CMMI : Capability Maturity Model Integration. 모델을 사용하는 입장에서는 각각의 모델을 별개로 적용하는 것보다는 전체적 관점에서 시너지 효과를 내기 위해서는 어떻게 적용할 것인가에 대한 방안이 필요하게 되어 개발된 통합 모델
  • COM/IUnknown . . . . 2 matches
         = IUnknown Interface =
         virtual HRESULT QueryInterface(REFIID riid, void** ppvObject) = 0;
         HRESULT (*QueryInterface) (IUnknown *This, REFIID *This, REFIID riid, void** ppvObject);
         == QueryInterface ==
         C++ 스마트 포인터에서는 참조 카운팅을 이용해서 dangling pointer 문제를 해결한다. boost 의 shared_ptr이 이를 구현한다.
         인터페이스 포인터는 '''QueryInterface(IID_IUnknown, (void**) &pIUnknownInterface)''' 를 통해서 얻을 수 있으며, 이의 유효를 검사하는 것이 가능하다.
  • CategoryCategory . . . . 2 matches
         OriginalWiki와 일관적으로 만드려면 모든 분류는 "Category"로 시작하도록 지정해야 합니다. 물론 다른 방식으로 이름을 붙여도 문제되지 않습니다.
         For more information, see Wiki:AboutCategoriesAndTopics .
  • CauGlobal/ToDo . . . . 2 matches
          * 인터뷰 정리 - [CauGlobal/Interview]
          * Contact Point 별
          * [http://www.dvuser.co.kr/info/sony/dcr-dvd201_review.htm 디지털 캠코더]
  • ChainsawMassacre . . . . 2 matches
         [http://online-judge.uva.es/p/v100/10043.html 원문보기]
         === About [ChainsawMassacre] ===
         === Input ===
         === Sample Input ===
  • CommonPermutation . . . . 2 matches
         [http://online-judge.uva.es/p/v102/10252.html 원문보기]
         === Input ===
         === Sample Input ===
         walking
  • ComputerNetworkClass/Exam2004_1 . . . . 2 matches
         다음은 Distance Vector 와 Link State 의 비교이다. 각 부분을 적으시오.
         Multicasting 시 확장방법
  • ConvertAppIntoApplet/영동 . . . . 2 matches
         import javax.swing.*;
          public void init() {
          JOptionPane.showInputDialog(
          JOptionPane.INFORMATION_MESSAGE,
         ["JavaStudyInVacation/진행상황"]
  • ConverterMethod . . . . 2 matches
         스몰토크의 String 클래스에 보면 asDate라는 메세지가 있다. 켄트벡이 경험한 정말 극단적인 경우에 하나의 객체마다 다른 형태로 변환시켜주는 Converter Method가 30개씩 있었다고 한다. 새로운 객체가 추가될때마다 저 30개의 메소드를 모두 추가해줘야만 했던 것이다.
         위의 일화와 같이 객체안에다가 Converting 해주는 메소드를 계속 추가 하다보면 끝도 없이 많은 메소드가 나올 것이다. 게다가 수신객체와의 커플링이 증가한다. 이것을 피하려면? 컨버전할것만 구현하면 된다.
  • CppStudy_2002_2/슈퍼마켓 . . . . 2 matches
          * inventory -- 산 물건의 목록을 보여준다
         >>> inventory
  • CryptKicker . . . . 2 matches
         [http://online-judge.uva.es/p/v8/843.html 원문보기]
         === Input ===
         === Sample Input ===
         또 gh, ing, ed, the, a 와같은 자주출현하는 글자쌍도 존재한다. 만약 암호화된 코드에 덩그라니 한글자짜리 x 가 존재한다면 그것은 a일 가능성이 높아진다. 또 qer가 있따면 이것은 the가 될 확률이 높아지는것이고.
  • CubicSpline/1002/test_lu.py . . . . 2 matches
         if __name__=="__main__":
          unittest.main()
  • CubicSpline/1002/test_tridiagonal.py . . . . 2 matches
         if __name__=="__main__":
          unittest.main()
  • Curl . . . . 2 matches
         http://mycurl.com/usr/src/introduction.php
         [ProgrammingLanguage]
  • DataStructure/Foundation . . . . 2 matches
         double lalala(double x, int n)
         double lalala2(double x, int n)
  • DecomposingMessage . . . . 2 matches
         === Decomposing Message ===
          controlInitialize();
          controlTerminate();
  • DermubaTriangle . . . . 2 matches
         [http://online-judge.uva.es/p/v102/10233.html 원문보기]
         [http://online-judge.uva.es/p/v102/p10233.gif]
         === Input ===
         === Sample Input ===
  • DevPartner . . . . 2 matches
         솔루션탐색기에서 솔루션의 속성 페이지(ALT+ENTER)를 열면, "Debug with Profiling"이란 항목이 있습니다. 이 항목의 초기값이 none으로 되어 있기 때문에, None이 아닌 값(대부분 native)으로 맞추고 나서 해당 솔루션을 다시 빌드해야합니다. 링크시 "Compuware Linker Driver..."로 시작하는 메시지가 나오면 프로파일링이 가능하도록 실행파일이 만들어진다는 뜻입니다.
  • DirectX2DEngine . . . . 2 matches
          * SDK는 이 주소로 받으세요 : [http://www.microsoft.com/downloads/info.aspx?na=90&p=&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=1FD20DF1-DEC6-47D0-8BEF-10E266DFDAB8&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f5%2ff%2fd%2f5fd259d5-b8a8-4781-b0ad-e93a9baebe70%2fdxsdk_jun2006.exe DOWNLOAD]
          * SVN 이용 : svn://zeropage.org/home/SVN/rhasya/dxengine
  • 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
  • EmbeddedGogo . . . . 2 matches
         = EmbeddedLinux =
         부트로더 공부할려면 어셈블리하고 인텔 CPU에 대해 우선 공부해야 될텐데 ---[fnwinter]
  • EnglishSpeaking/TheSimpsons . . . . 2 matches
         [[pagelist(^EnglishSpeaking/TheSimpsons/S01)]]
         [EnglishSpeaking/2011년스터디]
  • ExploringWorld/20040506-무제 . . . . 2 matches
          * PHP OCU 시험 : Programming x 3 + 느낀점 x 3
         ExploringWorld
  • ExploringWorld/참고링크 . . . . 2 matches
         Java Servlet Container
         ExploringWorld
  • ExtractMethod . . . . 2 matches
         See ["Refactoring/ComposingMethods"]
  • ExtremeBear . . . . 2 matches
         ["ExtremeProgramming"] 을 실전과 같이 경험해 보기 위한 스터디.
          * [http://www.csc.calpoly.edu/~dbutler/tutorials/winter96/crc/ CRC cards] : CRC cards Tutorial
  • ExtremeBear/OdeloProject . . . . 2 matches
          * gui사용(swing)
          * tdd와 PairProgramming 을 익숙하게 단련한다.
  • FileStructureClass . . . . 2 matches
         교수: 강현철 교수님 [http://dblab.cse.cau.ac.kr/FS/index.html 수업홈페이지]
         === examination ===
  • Flex . . . . 2 matches
         = Link =
          * 더욱 많은 자료 : http://www.adobe.com/kr/products/flex/productinfo/overview/flex_datasheet.html
  • FoafMacro . . . . 2 matches
         ||[[Foaf(http://internetalchemy.org/iand/foaf.rdf)]]||
         ||[[Foaf(http://internetalchemy.org/iand/foaf.rdf,homepage)]]||
  • FortuneMacro . . . . 2 matches
          1. fortune이 설치되어 있어야 한다. {{{/usr/bin/fortune, /usr/share/games/fortune/}}}
          1. 이게 맞지 않는다면 {{{plugin/fortune.php}}}에서 소스를 직접 조정해 주세요.
  • FunctionalLanguage . . . . 2 matches
         [http://c2.com/cgi/wiki?FunctionalProgrammingLanguage FunctionalProgrammingLanguage]
  • GarbageCollection . . . . 2 matches
         2번째 경우에 대한 힌트를 학교 자료구조 교재인 Fundamentals of data structure in c 의 Linked List 파트에서 힌트를 얻을 수 있고, 1번째의 내용은 원칙적으로 완벽한 예측이 불가능하기 때문에 시스템에서 객체 참조를 저장하는 식으로 해서 참조가 없으면 다시는 쓰지 않는 다는 식으로 해서 처리하는 듯함. (C++ 참조 변수를 통한 객체 자동 소멸 관련 내용과 관련한 부분인 듯, 추측이긴 한데 이게 맞는거 같음;;; 아닐지도 ㅋㅋㅋ)
         특정 주기를 가지고 가비지 컬렉션을 하기 때문에 그 시점에서 상당한 시간상 성능의 저하가 생긴다. 이건 일반적 애플리케이션에서는 문제가 되지 않지만, time critical 애플리케이션에서는 상당한 문제가 될 부분임. (Incremental garbage collection? 를 이용하면 이 문제를 어느정도 해결하지만 리얼타임 동작을 완전하게 보장하기는 어렵다고 함.)
  • Genie . . . . 2 matches
         [VendingMachine/재니]
  • GoodMusic . . . . 2 matches
         요즘엔 이런게 재미있네요.-_-a 자신이 좋아하는 노래들을 적어봅시다. 역시 InterestingCartoon 페이지처럼 스마일로 점수를 매겨봅시다. 위키 활성화 차원에서..^^;
         || 박혜경 - Rain || :D || 1 ||
  • 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]
  • HardcoreCppStudy/두번째숙제/ConstructorAndDestructor/변준원 . . . . 2 matches
         IntArray (int sz = defSize)
         ia = new int[sz];
         ~IntArray()
  • HelpOnAdministration . . . . 2 matches
          * HelpOnInstallation - 설치하려면
          * HelpOnUpdating - 예전에 설치된 것을 새로운 버전으로 업데이트 하려면
          * HelpOnCvsInstallation - CVS로부터 다운받아서 설치하려면
         [[Navigation(HelpOnAdministration)]]
  • HelpOnCvsInstallation . . . . 2 matches
          1. 설명에 나와있는 것처럼 먼저 CVS로 로그인을 합니다. {{{cvs -d :pserver:anonymous@kldp.net:/cvsroot/moniwiki login}}}
         이후의 설치방법은 HelpOnInstallation 페이지를 참고하세요.
         [[Navigation(HelpOnAdministration)]]
  • HelpOnRules . . . . 2 matches
         Please see HelpOnEditing.
         [[Navigation(HelpOnEditing)]]
  • HerdingFrosh . . . . 2 matches
         [http://online-judge.uva.es/p/v101/10135.html 원문보기]
         === About [HerdingFrosh] ===
         === Input ===
         === Sample Input ===
  • HolubOnPatterns . . . . 2 matches
          * [http://www.yes24.com/24/goods/1444142?scode=032&OzSrank=1 Holub on Patterns: Learning Design Patterns by Looking at Code] - 원서
  • HowBigIsIt? . . . . 2 matches
         [http://online-judge.uva.es/p/v100/10012.html 원문보기]
         [http://online-judge.uva.es/p/v100/p10012.gif]
         === Input ===
         === Sample Input ===
  • HowManyPiecesOfLand? . . . . 2 matches
         [http://online-judge.uva.es/p/v102/10213.html 원문보기]
         [http://online-judge.uva.es/p/v102/p10213.jpg]
         === Input ===
         === Sample Input ===
  • HowManyZerosAndDigits . . . . 2 matches
         [http://online-judge.uva.es/p/v100/10061.html 원문보기]
         == Input ==
         책에 있는 올림피아드 문제 원문 그대로를 실었습니다. 문제가 명확하지 않다는 점을 부정할 순 없지만, 문제에 손을 댈 경우 제 주관적인 생각이 문제의 틀을 바꿔버릴 수 있기때문에 어쩔수 없습니다. 개인적 소견으로는 N!을 B진법으로 변환하는 것이므로, 입력을 받는 N이 조금만 커져도 N!이 굉장히 커지기 때문에 N은 B보다 작은 범위, 즉 B진수 체계에서 한자리를 입력받는 문제가 아닐까 합니다. 또한, 문제의 마지막 조건인 2^31-1 같이 int형의 오버플로우방지를 해 놓은 것에서 보듯 범위를 어느정도 제한해 놓았다고 보여집니다. 정확한 답변을 드리지 못해 죄송합니다. - [문보창]
  • 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 을 사용하도록 하자.
  • ImmediateDecodability . . . . 2 matches
         [http://online-judge.uva.es/p/v6/644.html 원문보기] <- [DeadLink]
         == Input ==
         == Sample Input ==
  • IntentionRevealingMessage . . . . 2 matches
         == Intention Revealing Message ==
         어떻게 된건가? 의사소통이다. 한 줄의 메소드가 의사소통에 가장 중요하다.(?) 사용자의 입장에서는 그냥 highlight라는 메세지에 영역만 넣어서 보내면 되는 것이다. 사각형을 뒤집음으로써 highlight된다는 사실을 몰라도 되는 것이다. IntentionRevealingMessage는 컴퓨터를 위한다기보다는 사람을 위한 가장 극단적인 형태의 패턴이다. 의도와 구현을 분리하자는 것이다. 메세지의 이름을 그 메세지 내에서 어떻게 되는건가로 짓지 말고, 그 메세지가 무엇을 하는건가로 짓자.
  • InterIconMap . . . . 2 matches
         http://chemie.skku.ac.kr/wiki/pds/InterIconMap/wkpgmail.png 140x21
         TwinPages http://chemie.skku.ac.kr/wiki/imgs/moni2/inter.png 16x16
  • IsThisIntegration? . . . . 2 matches
         [http://online-judge.uva.es/p/v102/10209.html 원문보기]
         === IsThisIntegration? ===
         [http://online-judge.uva.es/p/v102/p10209.jpg]
         === Input ===
         === Sample Input ===
         || 하기웅 || C++ || 2시간 || [IsThisIntegration?/하기웅] ||
         || 허준수 || C++ || ? || [IsThisIntegration?/허준수] ||
         || 김상섭 || C++ || ㅡㅜ || [IsThisIntegration?/김상섭] ||
  • JSP . . . . 2 matches
         == Install and Excute ==
         1. http://tomcat.apache.org 에서 4.1 v 받아서 Install
         == JSP Programming ==
         3. C:\Program Files\Apache Group\Tomcat 4.1\bin 의 startup
         == Index ==
  • Java Script/2011년스터디/박정근 . . . . 2 matches
          document.write("Infor : "+s,"<br>")
          for (var i in person)
          for (var i in person)
  • JavaScript/2011년스터디/박정근 . . . . 2 matches
          document.write("Infor : "+s,"<br>")
          for (var i in person)
          for (var i in person)
  • JavaStudy2002/해온일 . . . . 2 matches
          * 첫째주 ... '우리가 배우는 자바라는 것이 과연 무엇일까?' 와 'OOP in Java' 라는 것에 대해 공부.
          * Structerd Programming Style 시연 Java, C
  • JavaStudy2004 . . . . 2 matches
          * 추천도서 - Java HowToProgram - Deitel사. 2학년 전공 JavaProgrammingClass에서 교재로 사용하는 책. 간단하고 쉽다. 자바를 처음 시작하는 이에게 추천도서
          그리고 실습 같은것을 2명 짝 PairProgramming으로 하는걸 생각하고 있습니다
  • JihwanPark . . . . 2 matches
          * [http://zeropage.org/moin/moin.cgi?action=userform&uid=1010395501.34.23553 로그인]
  • KAIST전산대학원면접/06전기 . . . . 2 matches
         "그건 Left Scanning의 약자야. "
         "그럼 Left Scanning을 하는데 왜 둘이 다른 파서를 생성하지?"
  • KDP_토론 . . . . 2 matches
          * 로그인의 실명화 - UserPreferences 에 자신의 이름과 password를 등록시키면 자신의 SessionID가 붙는 MoinMoin 바로가기를 얻을 수 있을것임. 그 링크를 즐겨찾기에 놓고 사용하면 자동으로 로그인이 된 상태로 모인모인에 접속가능.
  • Karma . . . . 2 matches
         [http://karma-runner.github.io/0.10/index.html]
         [http://www.yearofmoo.com/2013/01/full-spectrum-testing-with-angularjs-and-karma.html]
  • LexAndYacc . . . . 2 matches
          * John R.Levine, Tony Mason, Doug Brown 의 3명이 같이 썼습니다.
          * lex 는 linux 나 unix 상에서 커멘드 프롬프트 상에서 lex란 커맨드를 치고 그곳에 스크립트를 입력하는 형식입니다.
  • LinkedList/StackQueue . . . . 2 matches
         LinkedList로 Stack과 Queue를 구현하는 것입니다.
         || 영동 || ["LinkedList/StackQueue/영동"] || C++ ||
  • LionsCommentaryOnUnix . . . . 2 matches
         노스모크세미나(Seminar:LionsCommentaryOnUnix) 위키에서 퍼왔습니다.
  • LoveCalculator . . . . 2 matches
         || 김태훈[zyint] || C++ || 1시간23분 || [LoveCalculator/zyint] ||
  • MIT박사가한국의공대생들에게쓴편지 . . . . 2 matches
         http://www.allblog.net/GoPage/goPageFrame.aspx?http%3a%2f%2focomet.jaram.org%2ftt%2findex.php%3fpl%3d158 에서 퍼옴.
         특히 한국 중 고등학교에서 가르치는 수학의 수준이 미국의 그것보다 훨씬 높기 때문에 공대생들로서는 그 덕을 많이 보는 편이죠. 시험 성적으로 치자면 한국유학생들은 상당히 상위권에 속합니다. 물론 그 와중에 한국 유학생들 사이에서 족보를 교환하면서 까지 공부하는 친구들도 있습니다. 한번은 제가 미국인 학생에게 족보에 대한 의견을 슬쩍 떠본일이 있습니다. 그랬더니 정색을 하면서 자기가 얼마나 배우느냐가 중요하지 cheating 을 해서 성적을 잘 받으면 무얼하느냐고 해서 제가 무안해진 적이 있습니다. (물론 미국인이라고 해서 다 정직하게 시험을 보는 것은 물론 아닙니다.)
  • MapBrowserSite . . . . 2 matches
          * [http://www.seoul.go.kr/org/introduction/others/map/map.html 서울시 지도]
          * [http://map.daum.net/main/?_top_sec=map 다음 지도]
  • MobileJavaStudy . . . . 2 matches
          * ["MobileJavaStudy/NineNine"] - 구구단을 종류별로 출력하는 프로그램 제작 (9월 20일 까지)
  • NUnit . . . . 2 matches
          * 표현이 잘못된것 같다. .NET(C#, VB.NET Managed C++ 등)을 쓴다면. Logic에서는 NUnit 밖에 쓸수 없다. --NeoCoin
          * Java 1.5 에 메타 테그가 추가되면 NUnit 방식의 TestCase 버전이 나올것 같다. 일단 이름의 자유로움과, 어떠한 클래스라도 Test가 될수 있다는 점이 좋왔다. 하지만, TestFixture 를 붙여주지 않고도, 목표한 클래스의 Test 들을 실행할 수 있는 방식이면 어떨까 생각해 본다. --NeoCoin
  • NiceMilk . . . . 2 matches
         [http://online-judge.uva.es/p/v101/10117.html 원문보기]
         [http://online-judge.uva.es/p/v101/p10117.gif]
         === Input ===
         === Sample Input ===
  • NumericalAnalysisClass/Report2002_2 . . . . 2 matches
         (3) Compute and plot the piecewise cubic interpolate L3(x)
         (4) Compute and plot the cubic N-spline S3(x)
  • Ones/정진경 . . . . 2 matches
         main(n,s,c){for(;scanf("%d",&n)+1;printf("%d\n",c))for(s=c=1;s%=n;s+=s*9+1)c++;}
  • OpenCamp . . . . 2 matches
          * 일시: 2014년 Spring Semester 예정
          * 주제: Programming Language and its Application(프로그래밍 언어와 그 응용)
  • OperatingSystemClass/Exam2006_1 . . . . 2 matches
         겁나게 쪼잔한 책의 내용과는 달리 대체적으로 무난한 문제였다. msdos와 unix 비교하는 것 말고는-_-;
         2. MSdos와 Unix의 디자인 차이를 쓰시오. 그림으로 그려서 설명하시오.
         [OperatingSystemClass]
  • OurMajorLangIsCAndCPlusPlus/2006.1.5 . . . . 2 matches
         [OurMajorLangIsCAndCPlusPlus/string.h]
         [OurMajorLangIsCAndCPlusPlus/print]
  • Parallels . . . . 2 matches
         요즘에는 이 프로그램이 [http://www.xprogramming.com/xpmag/whatisxp.htm#small eXtremeProgramming] 으로 완성된 제품으로 꽤나 알려졌나보다. ( [http://fribirdz.net/506 관련 블로그] )
         = LINK =
  • Perforce . . . . 2 matches
         프로그램은 서버, 클라이언트 환경으로 관리되며, 서버는 소스의 모아서 관리한다. 서버 프로그램은 유닉스, 맥, MSWin 버전으로 제공된다. 클라이언트는 GUI, CMD 버전의 툴을 지원하며 다양한 OS 에서 이용가능하다. 또한 IDE 와 연동역시 지원한다. (IDE에는 3dmax, maya, photoshop, office 등을 포괄하는 방대한 시스템)
         = Relate Links =
  • PluginInfoMacro . . . . 2 matches
         [[PluginInfo(PluginInfo)]]
  • 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
  • PowerOfCryptography . . . . 2 matches
         === Input ===
         === Sample Input ===
         === Hint ===
         [PowerOfCryptography/Hint]
  • ProgrammingLanguageClass/Exam2002_2 . . . . 2 matches
          * pass by value-result, pass by reference, pass by name 에서 actual parameter 로의 Binding Time 을 서술하시오
  • ProjectLegoMindstorm . . . . 2 matches
         = ProjectLegoMindstorm (2008) =
         == LINK ==
          * [http://mindstorms.lego.com/eng/Hong_Kong_dest/Default.aspx 레고 마인드스톰 홈피]
  • ProjectPrometheus/Estimation . . . . 2 matches
         Login System 0.5
         Admin System 0.5
  • ProjectPrometheus/Iteration4 . . . . 2 matches
         |||||| User Story : Login 후에 Search을 하고 책을 보면 추천 책이 나온다. ||
         || Task || Point || 진행여부 ||
  • ProjectPrometheus/Tips . . . . 2 matches
         Seminar:UsingIdle
  • ProjectWMB . . . . 2 matches
          * Analysis code(Code reading)
         === Doing ===
  • PyOpenGL . . . . 2 matches
         PyKug:PyOpenGL Python OpenGL Binding. Python 으로 [OpenGL] 프로그래밍을 하게끔 도와준다.
  • QueryMethod . . . . 2 matches
          string status;
          string& getStatus() {
  • RedundantArrayOfInexpensiveDisks . . . . 2 matches
         shadowing 혹은 mirroring 이라고 부르며, 단어 그 자체 대로, 여러개의 디스크에 완벽하게 동일한 자료를 저장한다. 물론 읽어오는 작업을 할 때에는 병렬로 읽어올 수 있기때문에 성능향상이 있지만, 쓰기작업을 수행할때는 하나의 디스크를 사용하는 것과 차이가 없다. 조금 무식한 방법이지만 자료의 무결성을 보장하려고 할때 가장 확실한 방법이기도 하다.
  • ReleaseDebugBuildStartGo의관계 . . . . 2 matches
          inline bool isValid(){return b_isValid_;}
  • ReverseAndAdd . . . . 2 matches
         [http://online-judge.uva.es/p/v100/10018.html 원문보기]
         일단 어떤 수를 받아서 그 수를 뒤집은 다음 뒤집어진 수를 원래의 수에 더하는 과정을 뒤집어서 더하기라고 부르자. 그 합이 회문(palindrome, 앞뒤 어느 쪽에서 읽어도 같은 말이 되는 어구. 예:eye, madam, 소주만병만주소)이 아니면 회문이 될 때까지 이 과정을 반복한다.
         === Input ===
         === Sample Input ===
  • RoboCode . . . . 2 matches
          * [http://robocode.alphaworks.ibm.com/docs/robocode/index.html RoboCode API(English)]
         ||[RoboCode/random], [RoboCode/sevenp], [로보코드/베이비] , [RoboCode/msm], [RoboCode/siegetank],[RoboCode/ing] || 2005년 데블스캠프 ||
  • RubyLanguage/Class . . . . 2 matches
          * Mix-in
         == Mix-in ==
          * '''Include''' : 클래스가 모듈을 상속받는 것.
  • RubyLanguage/ExceptionHandling . . . . 2 matches
          * begin안에서 실행하다 예외가 발생하면 rescue 구문으로 컨트롤이 이동된다.
          * 자바의 finally와 같음
  • RuminationOnC++ . . . . 2 matches
         = Intro =
          '''Technique in book'''
          - 제본하자 -_-; - intaek
  • SVN/Server . . . . 2 matches
          * [http://www.pyrasis.com/main/SVNSERVEManager SVNSERVEManager] 설치
          * [http://www.pyrasis.com/main/Subversion-HOWTO]
  • SWEBOK . . . . 2 matches
         [http://object.cau.ac.kr/selab/lecture/undergrad/20021/참고자료/SWEBOKv095.pdf SWEBOK] - Software Engineering Body of Knowledge
  • SeparationOfConcerns . . . . 2 matches
         Information Hiding 을 의미. DavidParnas 가 처음 제시.
         See Also Xper:InformationHiding
  • Slurpys . . . . 2 matches
         [http://online-judge.uva.es/p/v3/384.html 원문보기]
         === Input ===
         === Sample Input ===
          || JuNe || Python || 1시간 || Seminar:Slurpys/JuNe ||
  • StandUpMeeting . . . . 2 matches
         Xper:StandUpMeeting
         ExtremeProgramming
  • 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
  • TabletPC . . . . 2 matches
         see also : http://www.microsoft.com/windowsxp/tabletpc/default.asp
         TabletPC 가 대중화 된다는건 다수의 실패사례에도 불구하고 MS의 추진이 이상하게 느껴질 정도이다. 이것보다 PostPC 라는 개념이 더 광범위한 토론을 촉구 시킬것 같은데.. --["neocoin"]
  • Technorati . . . . 2 matches
         = main page =
         Upload:technorati_main_screen.JPG
  • TestDrivenDevelopmentByExample . . . . 2 matches
         개인적으로 TDD 중 빠른 테스트 통과를 위해 가짜 상수로 쌓아나갈때 어떻게 '중복' 이라 하여 ["Refactoring"] 할까 고민했었는데, 이전의 SeminarHowToProgramIt 에서의 예제 이후 이 문서에서의 예제가 깔끔하게 풀어주네요. 인제 한번 들여다 본 중이긴 하지만, 저자가 저자인 만큼 (KentBeck).~
  • TheJavaMan/비행기게임 . . . . 2 matches
         ||image||link||
          * DoubleBuffering , Thread 등을 적절하게 이용해보세요~* - [임인택]
  • ThePriestMathematician . . . . 2 matches
         [http://online-judge.uva.es/p/v102/10254.html 원문보기]
         [http://online-judge.uva.es/p/v102/p10254b.jpg]
         === Input ===
         === Sample Input ===
  • TheWarOfGenesis2R . . . . 2 matches
          == Doing ==
         = Link =
         ["2dInDirect3d"] [Direct3D] ["프로젝트분류"]
  • TheWarOfGenesis2R/일지 . . . . 2 matches
          * 파일을 읽고 쓸 수 있다. (Text모드도 Binary모드도 OK)
          * 초기에는 Text모드로 스크립트를 만들고, 추후에 Binary모드로 스크립트를 만들 계획
  • TugOfWar . . . . 2 matches
         [http://online-judge.uva.es/p/v100/10032.html 원문보기]
         === Input ===
         === Sample Input ===
         worst case(입력자료 크기로만) 입력은 TugOfWarInput 참조
         || JuNe || Python || 1시간 || Seminar:TugOfWar/JuNe ||
  • Ubiquitous . . . . 2 matches
          유비쿼터스 컴퓨팅의 최종 목표는 '''‘고요한 기술’'''의 실현이다.('사라지는 컴퓨팅 계획(Disappearing Computing Initiative)')
  • UglyNumbers/1002 . . . . 2 matches
          for x in [2,3,5]:
          print idx,currentCount
  • UglyNumbers/남훈 . . . . 2 matches
         print "The " + `goal` + "(st/nd/th) ugly number is " + `ugly2(goal)`
         print "The " + `goal` + "(st/nd/th) ugly number is " + `ugly3(goal)`
  • UglyNumbers/승한 . . . . 2 matches
          print n , count
         print n-1
  • UnityStudy . . . . 2 matches
          transform.rotation *= Quaternion.AngleAxis(Input.GetAxis("Horizontal") *30.0 * Time.deltaTime, Vector3(0, 0, 1));
          transform.rotation *= Quaternion.AngleAxis(Input.GetAxis("Vertical") *30.0 * Time.deltaTime, Vector3(1, 0, 0));
          * 스플래시 이미지로 사용할 이미지를 Asset에 드래그 드롭으로 등록한 다음, Build Setting에서 Splash Image에서 설정할 수 있다.
          - Camera의 포지션을 이동하고, Point Light를 등록한 뒤, Cube에 빛을 쪼인다. 빛의 범위는 Range로 조정 가능하다.
  • UniversalsAndParticulars . . . . 2 matches
         WardCunningham은 이런 말을 했다. 작지만 유용한 프로그램을 매일 만들어봐라. 복잡하고 큰 걸 만들다 보면 중요한 아이디어가 감추어져 버릴 수 있다.
         자바 스윙에서 어떤 API를 통해 어떻게 그림을 그리는지를 가르치기 보다, Event Driven Programming을 가르치되, 스윙이라는 맥락을 방편으로 이용해 가르친다. 해당 프레임웍의 API가 복잡한 경우, 학습자들은 오히려 그 API를 외우고 공부하느라 더 중요한 것을 잊을 수 있다. 따라서 이런 경우 가르치는 사람이 미리 좀 더 추상적인 차원의 레이어를 만들어(이를 교육학에선 스캐폴딩이라 한다) 제공할 수 있다.
  • UselessTilePackers . . . . 2 matches
         [http://online-judge.uva.es/p/v100/10065.html 원문보기]
         [http://uva.onlinejudge.org/external/100/p10065.gif]
         === Input ===
         === Sample Input ===
  • VMWare . . . . 2 matches
         유사제품으로 [Parallels] ( [eXtremeProgramming] 으로 개발되었다고 함. Mac 버전의 경우 윈도우 환경을 거 70%~90% 퍼포먼스로 구현했다고 들었음) 가 있다.
         유사기술을 적용한 Linux [Xen] 커널이 등장하기 시작했으며, Xen 은 차후 나타나게될 멀티코어 CPU 환경(플랫폼 자체가 완전히 다른)에 적합한 커널의 구축을 목표로 하고 있다고 한다. (완전히 다른 프로세서라면 당연히 해당 머신에 접근하는 인터페이스 역시도 다를텐데 XEN 을 이용해 해당 부분을 추상화시켜서 접근하는 식으로..) 현재에는 해당 기술을 보안 분야에서 이용하기 위한 연구가 진행중이며 기존의 단일 커널하의 커널모드, 유저모드 식의 구분이 아닌 관리자 커널, 애플리케이션 커널과 같은 구분으로 2개의 서로 다른 커널을 구현해 커널 단에서 애플리케이션이 머신에게 직접적으로 접근할 가능성을 원천 차단하는 방식의 연구가 되고 있다.
         = RELATED LINKS =
  • VisualStuioDotNetHotKey . . . . 2 matches
         Shift+Alt+F12 : 이거 찾기보다 좋더군요. 함수나 define등 아무거나에서 사용
         Ctrl-Shift-G : #include "파일명" 에서 "파일명" 파일로 바로 직접이동
  • WERTYU . . . . 2 matches
         [http://online-judge.uva.es/p/v100/10082.html 원문보기]
         http://online-judge.uva.es/p/v100/p10082.jpg
         === Input ===
         === Sample Input ===
         I AM FINE TODAY.
  • WardCunningham . . . . 2 matches
         ExtremeProgramming의 세 명의 익스트리모 중 하나. WikiWiki 창안자.
         see NoSmok:WardCunningham
  • WeightsAndMeasures . . . . 2 matches
         [http://online-judge.uva.es/p/v101/10154.html 원문보기]
         === Input ===
         === Sample Input ===
          테스트 케이스가 필요하다면 꽁수가 있기는 하다. Java로 standard input으로 읽는 라인을 합쳐다가 모조리 특정 URL에 포스트 하도록 하는 코드를 만들어 업로드 한다. 그러면 심사때 사용하는 테스트 케이스를 알 수 있다. --JuNe
  • WhatToProgram . . . . 2 matches
         이 프로그램을 개발해서 일주일이고, 한달이고 매일 매일 사용해 봐야 한다. 일주일에 한 번 사용하는 프로그램을 만들기보다 매일 사용할만한 프로그램을 만들라. 자신이 하는 작업을 분석해 보라. 무엇을 자동화하면 편리하겠는가. 그것을 프로그램 하라. 그리고 오랜 기간 사용해 보라. 그러면서 불편한 점을 개선하고, 또 개선하라. 때로는 완전히 새로 작성해야할 필요도 있을 것이다(see also [DoItAgainToLearn]). 아마도 이 단계에서 스스로를 위한 프로그램을 작성하다 보면 아이콘을 이쁘게 하는데 시간을 허비하거나, 별 가치없는 퍼포먼스 향상에 시간을 낭비하지는 않을 것이다. 대신 무엇을 프로그램하고 무엇을 말아야 할지, 무엇을 기계의 힘으로 해결하고 무엇을 여전히 인간의 작업으로 남겨둘지, 즉, 무엇을 자동화할지 선택하게 될 것이다. 또한, 같은 문제를 해결하는 여러가지 방법(기술, 도구, ...) 중에서 비용과 이익을 저울질해서 하나를 고르는 기술을 익히게 될 것이다.
         see also [http://www.sdmagazine.com/documents/s=7578/sdm0210g/0210g.htm Beyond Tool Use]
  • XPlanner . . . . 2 matches
          ExtremeProgramming 팀을 위한 웹-기반 프로젝트 관리도구, 위키 스타일의 포매팅도 지원한다고 한다.
          http://www.xplanner.org/images/screenshots/integration.jpg
  • XpWeek . . . . 2 matches
         한 주 동안 ExtremeProgramming을 '''최대한''' 체험해보기.
         See also [ExtremeBear],[ExtremeProgramming]
  • YongAn처음화면 . . . . 2 matches
         [Beginning_XML]
  • ZIM/UIPrototype . . . . 2 matches
         http://zeropage.org/~reset/zb/data/Zim_LoginMode.gif
          * '''Message Window'''
  • ZPHomePage . . . . 2 matches
          * http://www.click4u.pe.kr/index_0.html - 홈페이지를 만드는데 필요한 다양한 내용들이 들어있습니다.^^
          * http://cafe.naver.com/rina7982.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=750 - 웹안전색상
  • ZeroPageMagazine . . . . 2 matches
         어떤 식으로 시작해야 할까요? [유쾌한이노베이션]에서 읽은 내용을 한 번 실험해보면 재밌겠다는 생각을 합니다. 여러 팀으로 나눠서 ZeroPageMagazine의 프로토타입을 만드는거지요. 프로토타입은 완성품이 아니기 때문에, 한 팀에서 여러가지 프로토타입을 만드는 것이 전혀 문제될 것이 없습니다. 오히려 권장할만한 일이죠. 그렇게 프로토타입을 모아 놓고, 좋은 부분을 골라서 합치는 과정을 반복할 수 있을 것입니다.
         AnswerMe ZeroPageMagazine은 앞으로도 계속 만들어나갈 것인가요? 일회성 행사에 그친다면 아쉬움도 많이 있겠지만 앞으로도 계속 만들어나갈 것인지 아니면 한번 만들고 끝낼 것인지에 따라 발간형식이 달라질것 같아서요. 예를들어 직접 인쇄를 해서 ZeroPagers, ZeroWikian들에게 나누어줄 것인지, 혹은 위키위키형식으로 만들어나갈 것인지, 혹은 웹페이지, PDF, ... 등등 발간형태가 여러가지가 될 수 있는데 이에 대해서도 생각해 보아야 할것 같습니다 - [임인택]
  • ZeroPageServer/Wiki . . . . 2 matches
         한글화 중 오타, 띄어쓰기 잘못된곳 , 이해 가지 않은 부분, 어색한 부분, 상황에 맞지 않거나, 이중 해석될수 있는 메세지를 보고해 주세요. 대안도 가능하면 제안해 주세요. --NeoCoin
          아하! CssMarket 에 있는것도 그런게 있네요. 감사합니다. ~ --NeoCoin
  • ZeroPage소개 . . . . 2 matches
          * ZeroPage는 컴퓨터공학부 내에 있는 학술 동아리로서, 올해 21년째를 맞이 하고 있습니다. ZeroPage에서는 Computer Science&Engineering 전반에 걸쳐 구성원들이 하고자하는 분야를 탐구하고, 프로젝트를 진행하고 있습니다. 또, 매주 정모를 통해 구성원들과 자신의 스터디, 프로젝트 진행사항들을 이야기하고 각종 세미나들을 통해 자신이 알고 있는 것을 다른 사람들과 공유하여 구성원들 모두가 함께 발전해나가고자 하는 동아리입니다. 또한 새싹교실과 데블스 캠프와 같이 동아리 구성원이 아닌 학우들도 함께 참여할 수 있는 프로그램을 통해 함께 발전해나가고자 하고 있습니다.
  • [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/
  • django/AggregateFunction . . . . 2 matches
         = max, min =
          for c in Consequence.objects.values('loss'):
  • django/Example . . . . 2 matches
         [django/ModifyingObject]
         [django/RetrievingObject]
  • erunc0/RoboCode . . . . 2 matches
          * not yet playing.. but this is so exsiting!!!!
  • html5/geolocation . . . . 2 matches
          * Geolocation API 관련 메서드는 모두 window.navigator 객체에 정의
         ||heading||진행방향||
  • html5/web-workers . . . . 2 matches
          * terminate() : 워커 강제 종료
          * window, document사용 불가
  • iPhoneProgramming/2012년프로젝트 . . . . 2 matches
         = iPhoneProgramming =
          * 이때까지 Objective-C를 얼마나 배웠는가, XCode에 대한 이해, iPhoneProgramming에 대한 이해를 공유해봄.
  • maya . . . . 2 matches
          * Software engineering
  • sibichi . . . . 2 matches
          * ProjectLegoMindstorm
          * [SibichiSeminar]
  • stuck!! . . . . 2 matches
         설치법 - [DevCppInstallationGuide]
         '''[http://winapi.co.kr/clec/cpp1/cpp1.htm winapi.co.kr의 C기초강좌] 매우 자세하며 양이 많다. 이것이 교재 적당히씩 읽고 와주세요'''
  • vending machine . . . . 2 matches
         DeleteMe) rename or modify : 일단 ZeroPage 에서 작성했었던 VendingMachine 과는 다른 Spec 이여서 이 위키에서는 맞지 않은듯 합니다. 어떤 분이 작성하신건가요? --[1002]
  • zyint/vb . . . . 2 matches
         [zyint/vb/md5]
         [zyint]
  • 갓헌내기C,C++스터디 . . . . 2 matches
          * playing with C,엡솔루트 C++ , WINAPI , C로 쓴 자료구조론 (이석호 저)
          * playing with C는 내년에 새싹을 가르치는 만큼 스터디 보다는, 누군가를 붙잡고 가르쳐 보는것에 집중해서 공부를 진행
  • 강규영 . . . . 2 matches
          * DeleteMe 실명도 알려 주시면 주시면 안될까요? ;; --NeoCoin
          * DeleteMe 깨갱 ;; --NeoCoin
  • 강연 . . . . 2 matches
          ==== Adrian Tang 교수의 UbiquitousComputing ====
          * [http://www.caucse.net/boarding/view.php?table=board_freeboard&page=1&id=10847 유비쿼터스 컴퓨팅]
  • 객체지향분석설계 . . . . 2 matches
          * 예외1 : 여러 작업에서 중복되는 보조 업무를 유즈케이스로 뽑기도 한다. ex> Login/Logout
         = Link 및 참고자료 =
  • 공업수학2006 . . . . 2 matches
         Advanced Engineering Mathematics 9th ed
  • 곽세환 . . . . 2 matches
          * [ExploringWorld]
          * [Hacking]
  • 그래픽스세미나/6주차 . . . . 2 matches
          PPT파일: Upload:CGseminar6.alz Upload:CGseminar6.a00
  • 김동준/원맨쇼Report/08김홍기 . . . . 2 matches
         [http://inyourheart.biz/zerowiki/wiki.php/%EA%B9%80%EB%8F%99%EC%A4%80 Main으로]
  • 김민재 . . . . 2 matches
          * [Pinple] 프로젝트 구성원
          * [데블스캠프/2013] Speaker - "Opening", "새내기의,새내기에의한,새내기를위한C언어"
  • 김상협 . . . . 2 matches
         이멜 : sainthyup@ 핫 멜 점 컴
         엠에스엔 : sainthyup@ 핫맬컴
  • 김준영 . . . . 2 matches
          * '''Blog''' : '''''[http://hanginggardens.pe.kr/ http://hanginggardens.pe.kr]''''' (현재 관리 안함)
  • 김진아 . . . . 2 matches
         [[HTML(<PRE><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 돋움; color:black; LETTER-SPACING: -1px">)]]
         메신저 : jin-_-a골뱅이hotmail.com
         싸이월드 : http://www.cyworld.com/jin__a/
         [[HTML(<PRE><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 돋움; color:black; LETTER-SPACING: -1px">)]]
  • 김희성 . . . . 2 matches
          * [김희성/ShortCoding]
          * ShortCoding 좋아하는 사람은 꾸준히 있네요 ㅋㅋㅋ 왠지 반갑다 ㅋㅋㅋ 제가 좋아한다는 건 아니지만… - [김수경]
  • 다이얼로그박스의 엔터키 막기 . . . . 2 matches
          BOOL CLogInDlg::PreTranslateMessage(MSG* pMsg)
          if((int)pMsg->wParam==VK_RETURN || (int)pMsg->wParam==VK_ESCAPE)
  • 대순이 . . . . 2 matches
         안녕 . [http://165.194.87.227/zero/index.php?url=ZeroWiki&title=%B1%E8%C1%F8%C7%CF 클릭하지마요!]
         하이? [http://imagebingo.naver.com/album/image_view.htm?user_id=suk9214&board_no=28496&nid=13589]
  • 대학원준비 . . . . 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
  • 데블스캠프2003/ToyProblems . . . . 2 matches
         vending machine
         FileInputOutput [파일입출력] RandomFunction
  • 데블스캠프2004 . . . . 2 matches
         == 데블스 캠프 관련 링크 (Link to Devils Camp) ==
          * 현재 가장 많이 사용되는 페이지 위주로 [문서구조조정] 했습니다. 더 좋은 의견 있으면 수정하세요. --NeoCoin
  • 데블스캠프2004준비 . . . . 2 matches
         이번 데블스캠프2004에는 작년과 다른점이나 새로워지는 점같은것은 없나요? --NeoCoin
          당연히 없었습니다. [데블스캠프]의 기본취지를 보시면, '밤새서 회원을 뽑기위한' 것 입니다. [데블스캠프]를 재정의하던지, 새로운 행사로 이름을 바꾸던지 해야지요.--NeoCoin
  • 데블스캠프2005/금요일후기 . . . . 2 matches
         [[HTML(<center>)]]'''후기 적는 방법 : ThreeFs Fact(사실), Feeling(느낌), 교훈(Find)[[BR]] 을 구분해서 명확히 이야기 해줄래요?''' [[HTML(</center>)]]
  • 데블스캠프2005/수요일후기 . . . . 2 matches
         [[HTML(<center>)]]'''후기 적는 방법 : ThreeFs Fact(사실), Feeling(느낌), 교훈(Find)[[BR]] 을 구분해서 명확히 이야기 해줄래요?''' [[HTML(</center>)]]
  • 데블스캠프2006/SVN . . . . 2 matches
         1. Tortoise install
         3. Create visual studio project in that folder.
  • 데블스캠프2006/준비 . . . . 2 matches
          * 앗.. 신입생들의 머리를 확~ 달아오르게 하는 Toy Programing 은 없는거야? ^^; -[상욱]
          * 저기에서 할게 다 Toy Programming인데... 뭘 낼지를 정해야지.. --[선호]
  • 데블스캠프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
         pedding:0px;
         margin:0px;
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/박준호 . . . . 2 matches
         padding:0px;
         margin:0px;
  • 데블스캠프2009/월요일/연습문제/HTML-CSS/서민관 . . . . 2 matches
         padding:0px;
         margin:0px;
  • 데블스캠프2009/화요일후기 . . . . 2 matches
         == winAPI - 안혁준 ==
          * 전 늘 WinAPI가 어렵습니다. 욕이 절로나와요. --유상민09
  • 데블스캠프2010/넷째날/DHTML . . . . 2 matches
         <input type="text" size="10" maxlength="10">
         <input type="button" value="버튼">
  • 데블스캠프2011/첫째날/Java . . . . 2 matches
          * Simple Java Programming
          * JUnitTest (with JUnit 4 plug-in)
  • 데블스캠프2012/넷째날/묻지마Csharp/Mission2/서민관 . . . . 2 matches
          int oldYear = dateTimePicker1.Value.Year;
          int currentYear = dateTimePicker2.Value.Year;
  • 데블스캠프2012/다섯째날/후기 . . . . 2 matches
          * [권순의] - OMS에서도 관련된 주제로 이야기 하고 이번 시간에도 관련 주제로 이런 저런 이야기를 들었네요. Winapi를 가지고 하는거라 뭐랄까.. 이거 뭔가 너무 날거인거라 ㅋㅋ 거기다 소스도 참 ㅋㅋㅋㅋ 희성이도 인터넷에 돌아다니는 것도 이것과 비슷하다고 하는데 ㅋㅋ 뭐.. 비트맵이 예전엔 사양이 안 좋은 상황에서 쓰이다 보니 그런거니까 라고 ㅎㅎ.. 재미있었습니다.
          * [김희성] - Win32API를 할려다가 OMS에 없었던 12학번이 많아 OMS에서 했던 주제를 다시 했는데, 반응이 그다지 좋지 않은 것 같습니다. 비트맵 특성상 변수가 많이 쓰이는데 이해도를 위해 변수명을 축약이 아닌 풀네임으로 작성한 것이 오히려 가독성을 낮추어 이해를 어렵게 한 것 같습니다. 오랜만에 비트맵 했더니 예제 시연에서 삑나고... 여러가지로 문제가 많았던 것 같습니다.
  • 독서는나의운명 . . . . 2 matches
         [(reading)] 과 함께 진행.
          * 독서 카페 [(reading)] 도 있고 하니 여기서 진행하면 좋을듯..
  • 땅콩이보육프로젝트2005 . . . . 2 matches
          * [http://nlp.kookmin.ac.kr/HAM/kor/index.html 한국어 형태소 분석기]
  • 레밍즈프로젝트 . . . . 2 matches
         [http://kin.naver.com/knowhow/entry.php?eid=nBJQ5nKhX9tqUom8yL2H1B/AEoQj3M68]
         [CVS], [VisualStudio]6, [MFC], [XP]의 일부분, [FreeMind]
  • 문자반대출력 . . . . 2 matches
         === input ===
         || 김태훈([진트]) || C || . || [문자반대출력/김태훈zyint] ||
  • 문자반대출력/임인택2 . . . . 2 matches
         (|. (1!:1 < 'input.txt')) 1!:2 < 'result.txt'
         아직 J 에서 함수부분까지 못봤다. 문제의 조건을 전부 만족하지는 못함. built-in 으로 제공되는 녀석을 사용해서 내가 짠거라고 하기에는 좀..--;
  • 문제은행 . . . . 2 matches
         || ["임인택"] || Load Balancing || LoadBalancingProblem ||
  • 반복문자열 . . . . 2 matches
         === input ===
         || 김태훈 || C || || [반복문자열/김태훈zyint] ||
  • . . . . 2 matches
         [DevCppInstallationGuide] // 인스톨 가이드 입니다. <- 필수!!
         [http://winapi.co.kr/clec/cpp1/cpp1.htm winapi.co.kr의 C기초강좌]
  • 분류분류 . . . . 2 matches
          * 이 위키에서 사용되는 분류페이지들의 시작점(Starting Point).
  • 분류패턴 . . . . 2 matches
          * 프로젝트로부터 분파된 페이지들은 분류링크에 해당 프로젝트를 적는다. 그렇게 함으로서 해당 프로젝트와 관련된 페이지들을 분류패턴을 이용, 묶을 수 있다. (ex - ExtremeProgramming 쪽) 분류는 여러개를 두어도 상관없다.
          *(예제) JavaProject로 페이지시작 -> 프로젝트가 끝나면 결과물들을 가지고 JavaNetwork, JavaSwing 등의 페이지들로 분화시킨다. 중간에 분화시킬 수도 있겠다. -> JavaProject는 프로젝트의 여정들, 진행경과보고 페이지로 성격을 바꾼다.
  • 상규 . . . . 2 matches
          * [DevelopmentinWindows] (2002.6.26)
          * [JavaStudyInVacation] (2003.1.20 ~ )
          * [InWonderland] (2004.4.25 ~ 6.11)
  • 상협/Diary/7월 . . . . 2 matches
          * Designing Object-Oriented Software 이책이랑 Refactoring 책 빌려야징..
  • 새싹교실/2012/절반/중간고사전 . . . . 2 matches
          * #include와 헤더파일에 관한 성질
          * continue, break의 차이에 대해서
  • 새싹교실/2013/이게컴공과에게 참좋은데 말로설명할 길이 없네반 . . . . 2 matches
          (나는 그전에 WIN API를 준비해야할 것같다.)
         - 진도 : 컴퓨터 역사, 컴퓨터 언어의 역사, 컴퓨터 구조(미약하게.. 운영체제가 뭔지, 메모리가 뭔지, 컴퓨터가 뭔지.), 자료형, main함수(기본 구조)
         - 진도: 메모리 구조(미약하게), printf와 scanf 정말 간단하게 다음시간에 더 자세하게 쓰임새 알려주어야 할뜻 , 제어문 간단한 사용법과 필요성
  • 새회원을받으면 . . . . 2 matches
         현재 위키 실험 중인가 보군요. 그런데 왜 이리 체계 없이 느껴지는지, 지금 일련의 행사에 대한 계획이나 기록 어디 없나요? --NeoCoin
          - [http://netory.org 네토리]처럼 정기적(또는 비정기적)인 무언가가 있었으면 좋겠습니다. 굳이 그것이 모임의 형태가 아니더라도 ''새내기들이 자신이 제로페이지에 지원하였다는 사실을 잊어버리지 않게''해 주는게 필요하지 않을까요? 예를 들면, 숙제를 내준다던지, ProgrammingParty 같은 것들이요. - [임인택]
  • 서로간의 참조 . . . . 2 matches
          pView->UpdateWindwo();
          AfxGetMainWnd
  • 세벌식 . . . . 2 matches
         [http://paero3.myzip.co.kr/img/sebeol_typing_direction.gif]
          * 윈도우즈, 리눅스, MacOS 등에서 모두 세벌식을 쉽게 쓸 수 있다. [http://paero3.myzip.co.kr/use_sebeol_keyboard/index.html 이곳]에 각 OS에서 세벌식 배열을 사용할 수 있는 방법이 설명되어있다.
  • 소수점자리 . . . . 2 matches
         ios_base::fmtflags initialState = cout.setf(ios_base::fixed, ios_base::floatfield);
         cout.setf(ios_base::showpoint);
  • 송수생 . . . . 2 matches
         [BeingALinuxer]
  • 숫자를한글로바꾸기 . . . . 2 matches
          || 김태훈 || C || 40min || [숫자를한글로바꾸기/김태훈zyint] ||
  • 식인종과선교사문제/변형진 . . . . 2 matches
         이 문제를 푸는데 흔히 이용되는 Backtracking 기법을 사용하지 않고 구현하는 방법이 없을까 해서, Case-by-case로 최소한의 상황에 대한 처리 방법을 지정해보았다.
         여기서는 구현하지 않았지만, 모든 cases에 대해 각각 어떻게 처리할 수 있는지를 먼저 컴퓨터가 계산하여 DB에 담아서 일괄 처리하면, 이 문제가 상당히 복잡해질 경우 Backtracking보다 나은 효율을 보일 수도 있지 않을지?
  • 안혁준/class.js . . . . 2 matches
          for(var p in proto)
          for(var p in implementClass.prototype)
  • 양아석 . . . . 2 matches
          =for number in range(num)
         facing_north():북쪽을보는가
  • 요정 . . . . 2 matches
         또 트롤이란 요정이 있는데, 키는 대략 5-7cm 가량이다. 반면에 스프라이트라고도 불리는 꽃의 요정 데번은 약 12cm정도였다. 틸베리의 게르마스가 쓴 책에는 불과 8cm 정도밖에 안되는 포튜니스란 요정이 나오는데, 서양 사람들은 이 요정을 두려워했다. 그래서 그 시대 사람들은 요정을 ' good fellow' 또는 'kind people' 이라고 불렀다.
          정확히 서양의 동화 신화에서 등장하는 요정으로 생각하면 되겠죠. 반지제왕이 나오기 전에 원래 구설 동화랄까요? [위키요정] 이야기 하면서 [요정] 이야기를 써야 할곳을 찾다가 가지고 온거니까요. --NeoCoin
  • 우리홈만들기 . . . . 2 matches
          * 1월 13일 : 지혜의 도움으로 public_html폴더를 만들고, chmod로 다른 사람이 읽을수 있도록 하고, index.html만듬..^^;
          * 2월 19일 : ["PHP Programming"] 페이지를 열음.^^; 봐라에게 PHP책을 빌림
  • 위키개발2006 . . . . 2 matches
         || 페이지및 사이트 include || 남상협 ||
          owiki_join - 해당 서버, 가입자들이 있는 서버
  • 유니코드와ANSI문자열간변환 . . . . 2 matches
          * [http://www.winapiprogramming.com/MyHome/api.htm 참고자료]
  • 유상민 . . . . 2 matches
         #redirect NeoCoin
         [NeoCoin]
  • 이민석 . . . . 2 matches
          * 06월 06일 OMS 발표: http://zeropage.org/seminar/61737
          * 10월 29일 OMS 발표: http://zeropage.org/seminar/63770
  • 이영호/잡다 . . . . 2 matches
          2005-07-22 10:57:00 사장님.. 너무 간단히 보시는 듯한. ㅡ0ㅡa 생각보다 많은 인원이 필요 할듯 한데요..ㅋㅋ MaTin
         (matin03)
  • 일취집중후각법 . . . . 2 matches
         ["Refactoring"]의 도를 얻기 위한 수련법의 하나. see also HowToStudyRefactoring
  • 임민수 . . . . 2 matches
          * E-Mail : lminsu84 at hotmail.com
          * MSN : lminsu84 at hotmail.com
  • 임인택 . . . . 2 matches
         [http://marketing.openoffice.org/art/galleries/marketing/web_banners/nicu/fyf_composite.png]
  • 전문가되기세미나 . . . . 2 matches
          * well-defined task
          * informative feedback
          * Technical Environment with Automated Tests, Configuration Management, and Frequent Integration
  • 정규표현식/스터디/메타문자사용하기 . . . . 2 matches
          ||{{{[:graph:]}}} ||{{{[:print:]}}}와 동일하나 빈칸제외 ||
          ||{{{[:print:]}}} ||출력가능한 모든 문자 ||
  • 정모/2002.10.30 . . . . 2 matches
          * 부족한 내용을 채워주세요. --["neocoin"]
          ["NextEvent"] 에 아이디어를 풀어주세요 --["neocoin"][[BR]]
  • 정모/2011.10.12 . . . . 2 matches
          * Dynamic Programming으로 문제를 풀어보려 했으나 진경이를 제외하고는 accept시키지 못하여 재귀문으로 구현하는 것부터 해보기로 하였습니다.
          * [Spring/탐험스터디]
  • 정모/2011.3.28 . . . . 2 matches
          * [Spring/탐험스터디]
          * [김수경]은 SpringFramework를 공부하는 봄싹 스웨--터--거 3월 스터디에 참가함.
          * 새싹 돌아보기 도중 나왔던 윤종하 게임 세미나! 정확히 언제 하실지 궁금해졌습니다 ㅋㅋ 다음 주 부터 ZP에 관심 있는 새내기들도 참여한다던데, 이제 ICE BRAKING의 진가를 발휘할 때가 오지 않았나 싶습니다. 다른 사람들도 모두 알 수 있는 용어들로 채워졌으면 합니다. OMS에서 처음과 두번째 동영상은 TV 광고에서도 많이 봤던 류였지만, 세번째의 사람 전체 행동을 인식해서 컨트롤러 없이도 게임을 즐길 수 있는 것과 네번째 동영상에서 컨트롤러를 활용해 화이트보드에 글씨를 쓰거나 3D 형태로 보이게 하는 것이 신기했습니다. 특히, 로봇같은 경우는 오른쪽으로 가라고 하는 손가락질을 인식해서 이동하는게..정말 능력자가 많은 듯 싶습니다. 책 읽기 모임은 원래 격주로 하는데 시험이 3주밖에 안남아 다음주에 진행하고, 중간고사가 끝날 때까지 쉴까 고민중입니다. 어느 새 3월이 다 갔네요! 시간 참 빠르군요 ㅠㅠ - [강소현]
  • 정모/2011.5.16 . . . . 2 matches
          * [http://nforge.zeropage.org/projects/mymensingh/]
          * Winner : [김태진], [정진경], [이민규]
  • 정모/2011.5.2 . . . . 2 matches
          * 지난 시간에는 2장의 중간부분 까지 읽고 이야기를 나누었다. 구체 클래스의 externs가 좋지 않다는 이야기뿐이어서 답답했다. 저자의 예시인 Java의 swing도 직접 써본적이 없어 와닿지 않았다. 어려운 주제였던 것 같다.
          * [http://zeropage.org/index.php?mid=notice&page=2&document_srl=52787 여기]에서 제로페이지의 행사들을 이끌어갈 스태프 여러분을 모집합니다.
  • 정모/2011.5.30 . . . . 2 matches
          * 오늘 1시까지 기다리다 정모페이지가 안만들어지기에 제가 만들어버렸습니다 -_- 음, 이번주 스터디 공유에서 디자인패턴에 어떤 규칙에따라 만들어지는걸 구경했는데요. 규칙을 좀 더 자세히 알아보고 싶네요. 신기했거든요 +_+ 에.. OMS이번주 주제는 OMS였죠. 합주에 관한. 사실 생각해보면 하나하나씩 악기를 더해가는거니까 합주라고 볼 수도 있겠더라구요. 별로 생각도 안한 방법이었는데 신기했어요. (사실 잘 하는 악기가 없습니다만..) 그리고 OMS를 안 한 사람이 저밖에 없다보니 제가 OMS 다음주자를 맡게 되었지요. 다다음주에 하지 않게되면 너무 질질끌게 되니까 준비가 된다면(;;) 월요일 하도록 하겠습니다~~ (사실 주제도 걱정입니다..와우에 대해서 해볼까?!) 그리고 회고방식이 저번달과 많이 바뀌었던데요. 이것도 ICE Breaking의 한 방식이라니 신기했어요. 전 나이를 1살로 했지요. 전 이제 막 ZP에 들어와서 모든게 새로우니까!(지극히 주관적) 아, 그리고 데블스 캠프도 기대되네요. -[김태진]
          * 7시에 튜터링이라 조금 일찍 가긴 했는데 (그런데 7시 20분에 나갔..) 뭐 거의 다 하고 나간 거 같네요,, 이번 OMS에서는 정말로 One Man Show에 대한 것을 봤는데요, 평소 그런 영상도 많이 봐서 그런지 조금 더 관심있게 봤던 것 같습니다. 뭐 보면 Five For Fighting과 같이 혼자 악기를 다루고 노래 해서 음반 발매하는 사람도 있으니깐요. 데블스 캠프 연락처를 받고 연락을 돌렸는데, 연락이 되신 분도 있는데 다시 연락 주신다고 하시고.. (뭐 하루밖에 안 지났지만..) 답이 없으시네요 -_-;; 이번 5월 회고에서는 색다른 방식으로 진행되었던 것 같습니다. Zeropage에게 인격을 부여하니 참 다양한 모습이 나와 재밌었습니다. 생각해 보니 별명을 슬레이어즈의 가우리로 할껄 그랬네요 (밥 못 먹었을 때의 모습 -_-) 아무튼 재밌는 회고였습니다. ㅎ - [권순의]
  • 정모/2011.8.29 . . . . 2 matches
          * [:Spring/탐험스터디 스프링 스터디]
          * [:EnglishSpeaking/2011년스터디 잉글리쉬 톩킹 스터디]
  • 정모/2012.1.13 . . . . 2 matches
          * Spring - 김수경, 서지혜
          * [iPhoneProgramming/2012년프로젝트] - Apple에서 제공해주는 예시들을 참고하는 것이 어떻겠냐는 조언을 받음.
  • 정모/2012.1.6 . . . . 2 matches
          * [http://valleyinside.com/2012-technology-trend/ 2012년 기술 트렌드]
          * Spring - 김수경, 서지혜
  • 정모/2012.10.29 . . . . 2 matches
          * pinple 데모
          * irc.ozinger.org
  • 정모/2012.5.14 . . . . 2 matches
          * [Spring/탐험스터디]
          * 조금 늦어서 중간부터 들었지만 OMS 재미있게 들었습니다. 키보드 할 때 들어와서 키보드에 대한 이야기인가 했더니 한글에 대한 발표였네요. 사실 저는 Windows를 항상 주로 사용해왔기 때문에 한글 사용 관련하여 크게 불편함을 느낀 적은 없었는데 이번 OMS를 들으며 다양한 언어를 지원하기 위해 고려해야하는 점에 대해 생각해보게 됐습니다. PC실 관리는 사용하는 사람들이 불편할 때 학회실로 오게 하는 것이 좋다고 생각합니다. 그게 관리하는 쪽에서도, PC실 이용하는 쪽에서도 편한 방법이죠. - [김수경]
  • 정모/2012.7.11 . . . . 2 matches
          * Spring - simple Wiki 만들기 진행.
          * Chrome plugin - 영어 공부가 하기 싫어서 만듦. 우클릭 방지 풀기.
  • 정모/2012.8.1 . . . . 2 matches
          * Spring - 하이버네이트로 심플위키 만들고 있음, 하이버네이트는 사용하기에 난이도가 높은 것 같음.
          * 교수님 만나고 이런저런 개인 사정으로 스터디도 중간중간 빠지고 정모도 늦고...... Planning poker 좀 듣고 싶었는데 말이죠... - [서민관]
  • 정모/2012.8.29 . . . . 2 matches
          * Pinple
          * intra.zeropage.org
  • 정모/2012.9.24 . . . . 2 matches
          * Spring
          * Pinple
  • 정모/2013.2.26 . . . . 2 matches
          * [김태진] 학우가 3월 11일 정모시간에 Data Mining에 관한 간단한 세미나를 할 예정입니다.
  • 정모/2013.3.18 . . . . 2 matches
          * Q : 개발자가 필요하셔서 오셨다고 했는데, 어떤 개발자를 원하시는지? A : everything(...), 안드로이드 할 수 있으면 된다고 생각함. 서버 유지관리도. 아이폰 점유율 망해서 안 할 생각.
          * (의견)가입서를 쓰는 것 자체가 소속감을 불러 일으키므로 있었으면 좋겠다. (Off-line 용)
  • 정모/2013.4.1 . . . . 2 matches
         = A.I. (Data Mining) =
  • 정모/2013.7.15 . . . . 2 matches
          * [남근우] 회원의 'Introduction to psychology'
         == GDG miniCon 2013 ==
          * 오늘(15일) 7시부터 코엑스 그랜드볼룸에서 진행합니다. (https://sites.google.com/site/gdgminicon)
  • 제로위키이용의어려움 . . . . 2 matches
         그래서, 현 ZeroWiki 쓰기를 막아 버리고, 기존 사용자들과 새로운 사용자들과 새로운 위키에서 작업하는 것도 좋을것이라는 생각이 들었습니다. NeoCoin은 그냥 삭제를 생각했는데, [1002]는 처음에는 그냥 모든 Contents 를 앞으로 한두달간 막아 버리고, 새로운 규칙들이 생기면 기존 contents 를 녹여가는 것을 생각했습니다. 그리고 이야기 중에서 현 ZeroWiki 를 SisterWiki 로 연결한 새로운 위키도 괜찮다는 생각이 들었습니다.
         --NeoCoin
  • 주민등록번호확인하기 . . . . 2 matches
         || 김태훈([zyint]) || C || 40분? || [주민등록번호확인하기/김태훈zyint] ||
  • 지금그때 . . . . 2 matches
         [지금그때/OpeningQuestion]
         지금그때2012 in [ZeroPage성년식]
  • 지금그때2003/ToDo . . . . 2 matches
          * 재 공지 NeoCoin (V) [지금그때2003/선전문]
          NeoCoin 군은 페이지 보는대로 외부 링크로 사용하시길.
  • 지금그때2003/규칙 . . . . 2 matches
          ==== 게임 규칙(앞면 - index card 구멍이 왼쪽) ====
          a. 선호, 인수, 상민 Seminar:SimpleRule Test 금요일 1시간 동안 진행 (V)
  • 지금그때2003/후기 . . . . 2 matches
         이번 자리에 참관으로 교수님을 모셔볼까 했는데, 생각뿐 실천은 하지는 않았습니다. 조금 마음의 여유를 가지고 해볼것도 재미있을 것 같군요. --NeoCoin
         SeeAlso Seminar:OpenSpaceTechnology , [지금그때2003]
  • 지금그때2006 . . . . 2 matches
          [여섯색깔모자]와 [MindMap]을 활용합니다.
          * 주제뽑기 - [지금그때/OpeningQuestion]
  • 찜질방원정대 . . . . 2 matches
         === How to escape from invincible solo corps ===
  • 책거꾸로읽기 . . . . 2 matches
         얼마 전부터 글로벌 기업들은 과거 자기네 땅에서 자기나라 사람들을 고용해 처리하던 고객관리며 회계, 물류 같은 이른바 백 오피스(Back Office)업무를 인도에 넘겨주고 있다. 주된 이유는 비용을 절감하기 위해서다. BPO(Business Process Outsourcing)산업이 번성하면서 인도는 '''세계의 사무실'''이라는 별명까기 얻게 됐다. 인도에서 BPO산업이 숙성한 이유는 여러가지다. 먼저 영어가 되는 직원들을 쉽게 구할 수 있고, IT산업이 발달해 멀리 떨어진 본국 기업과도 불편 없이 일할 수 있다는 장점이 있다. 재밌는 건 여기에 절묘한 '''황금분할'''이론도 숨어 있다는 사실이다. 미국동부와 인도는 딱 12시간의 시차가 있다. 미국인들은 잠을 잘 때 인도인들은 일을 할 수 있다는 예기이다. 적은 비용을 들여서 쉬지 않는 24시간 업무 체제를 가동시키는 셈이다. 하지만 요즘 미국인들의 '''인도인들이 일자리를 빼았는다'''는 불만으로 정치적 문제로 비화되기까지 이르었다.
  • 책분류Template . . . . 2 matches
         DeleteMe when you fill in this page (이 페이지를 채워 넣을 때 삭제해 주세요)
          * My Point
  • 캠이랑놀자/보창 . . . . 2 matches
          r = fixIndex(rgbValue[0], 0)
          g = fixIndex(rgbValue[1], 0)
          b = fixIndex(rgbValue[2], degree)
         def fixIndex(value, degree):
         for x in range(0,100):
          for y in range(0,100):
  • 컴공과학생의생산성 . . . . 2 matches
         먼저 우리는 전산학과 학생이 아니고 컴퓨터공학과 학생이라는 점입니다. 국내에서 순수 전산학을 염두에 두고 가르치는 학교가 거의 전무하다는 점, 또 거의 대다수의 학부생이 IT 관련 취업을 목적으로 한다는 점 등을 고려할 때, 이 점은 학과 이름에 크게 관련없이 두루 적용되는 것일 겁니다. 우리는 공학(engineering)을 하고 있습니다. 생산성 이야기가 빠지고선 공학이 성립할 수가 없는 것이지요.
  • 코드레이스출동 . . . . 2 matches
         [http://oss.or.kr/coderace/index.html 온라인 등록]
          9 svnadmin create /var/svn/test-repo
  • 타도코코아CppStudy/0811 . . . . 2 matches
         || Seminar:SpiralArray || . || . || . ||
         || ZeroWiki:Telephone || 수진 || Upload:telephone_sujin.cpp || . ||
  • 토이/숫자뒤집기 . . . . 2 matches
         임의의 int 변수를 받아서 그것의 역순을 다시 int 로 나타내주면 됨
  • 통계청 . . . . 2 matches
         [http://kosis.nso.go.kr/cgi-bin/sws_999.cgi?ID=DT_1WB41&IDTYPE=3 총독서량]
         독서 통계는 5년 마다 한번씩이냐? 왜 아직도 업데이트가 안되는지.. 느낌표 끝나서 조사하기 싫은건가?--NeoCoin
  • 파스칼삼각형/김남훈 . . . . 2 matches
         (define (pascal r c)
         문제는 내가 scheme 시스템에서 stdin stdout 을 어떻게 다루는지 몰라서 그냥 함수만 만들었다는 점.
  • 프로그래머가알아야할97가지 . . . . 2 matches
         오라일리 출판사의 97 Things 시리즈 중 첫번째. http://programmer.97things.oreilly.com
  • 프로그래밍 . . . . 2 matches
          * [http://online-judge.uva.es/problemset/]
          * 2005.11.18 [프로그래밍/Pinary]
  • 프로그래밍잔치/둘째날후기 . . . . 2 matches
         전자수첩을 하기로 하고.. 샌드위치를 먹으며 각자의 역할과 작은 팀을 나누었고 칠피에 올라가서 시작.. 언어는 C++, MFC 툴킷을 사용하기로 했다. 그러나.. 총 개발시간의 절반을 MFC 와 싸우다가.. 인수군의 제안과 창섭군과 은지누나의 동의로 JAVA 로 언어를 바꾸고.. 인수군은 전자계산기를 기웅군, 은지누나와 페어를 하며 짜고 창섭군은 상욱군과 함께 전화번호부를 짜던 중 창섭군의 JAVA 실력 부재와 swing 경험 부족으로 인해(ㅜ.ㅜ) 은지누나와 상욱은 페어를 바꾸고.. 결국 어설픈 틀의 전화번호부와 계산기를 합치고 C++ 로 짜여진 상욱군의 만년달력을 끝으로 시간종료.
         창섭이나 인수가, 자신들의 팀프로젝트때 어떻게 했었는지 (특히 창섭.. 내가 자신과 Pair를 할때 어떤 방법들을 이용했었는지) 한번쯤 생각했더라면 좀 더 좋은 결과가 있지 않았을까. GUI Programming 먼저. UI 가 먼저되면 역시 좀.. 특히 사람들이 MFC와 Java 에 익숙하지 않다고 할때.
  • 피보나치/이승한 . . . . 2 matches
          print n1+n2
         if __name__ == '__main__':
  • 피보나치/임인택 . . . . 2 matches
         #using iteration w/o array (or anytype like array)
          for i in range(0, num-2):
  • 학문의즐거움 . . . . 2 matches
         http://www.aladdin.co.kr/Cover/8934908157_1.gif
         그냥 좋게 받아 드려서 스스로 즐겁게 공부하는 법을 터득했으면.... fnwinter
  • 학회간교류/08 . . . . 2 matches
          * TGWings
          * 제로페이지, PCRC, JARAM, TGWING, 숭실대
          * 자람에 연락은 제가 하고 TGWing에는 승한형이 하기로. 일단 연락에 대한 회답이 오길 기다림 2008.11.30 - [김홍기]
  • 함수포인터 . . . . 2 matches
         == link ==
         [http://www.cs.sfu.ca/%7Ecameron/Teaching/383/PassByName.html 5. html 문서]
  • 혀뉘 . . . . 2 matches
          * http://cyworld.com/rubywind
          * 추억만듦... since 1991.3.27
  • 회원정리 . . . . 2 matches
         경영학에서는 최근들어 조직이론에 패러다임 이동이 있습니다. 흔히들 말하는 군대식, 위계식, 고정적 조직에서 네트워크식, 수평적, 동적 조직으로의 변화이지요. 이합집산이 쉬워졌습니다. 조직과 조직간, 개인과 개인간의 결합력(coupling)이 약해졌습니다. 하지만 한번 모인 이상 응집력(cohesion)은 높습니다. 꼭 원하는 사람들만 모일 수 있죠. 대학사회에서도 비슷한 현상들이 나타나고 있지 않나 생각합니다. 예전에는 뭔가 큰 조직에 발을 담궈놓아야 편안함과 안정감을 느꼈는데 이제는 그렇지 않습니다. "개인주의적"이라고 비판을 받기도 하지만 현실을 부정할 수는 없을 듯 합니다. 그렇다면 변화하는 패러다임에 맞는 동아리 활동은 어떤 모양새여야 할까요?
         이전 99년도 즈음에 소위 'Filtering' 이라는 말이 있었습니다. 초기에 우루루 몰리는 회원, 한학기 반이 지난뒤 우루루 사라지는 현상을 보면서 일종의 회원정리 차원으로 한 일이죠. 하지만, 그 이후 학과 내 비 ZP 사람들이 ZP 에 대해 좋은 시선을 가질리는 없었습니다.
  • 02_C++세미나/0523 . . . . 1 match
          * 포인터와 동적할당을 이용한 Linked List
  • 05학번만의C++Study/숙제제출/1 . . . . 1 match
         섭씨 온도를 전달인자로 전달받아 화씨 온도로 환산하여 리턴하는 사용자 정의 함수를 main() 함수가 호출하는 프로그램을 작성하시오. 프로그램은 섭씨 온도로 입력할 것을 요구해야 하고, 다음과 같은 실행 결과를 출력해야 한다. 참고로, 섭씨 온도를 화씨 온도로 변환하는 공식은 Fahrenheit = 1.8 X Celsius + 32.0 이다.
  • 0PlayerProject/커널업로드작업정리 . . . . 1 match
          * finfo : NorFlash의 상태를 볼 수 있다. (R0 - U-Boot위치, E - Empty(꼭 지워야만 기록이 가능하다.)
  • 1st Seminar . . . . 1 match
         http://images.google.co.kr/imgres?imgurl=http://allan.ultra.nyu.edu/~gottlieb/courses/2001-02-fall/arch/lectures/figs/cache-set-assoc.png&imgrefurl=http://allan.ultra.nyu.edu/~gottlieb/courses/2001-02-fall/arch/lectures/lecture-22.html&h=460&w=777&sz=7&tbnid=NW3J1fy7BkwJ:&tbnh=83&tbnw=140&start=52&prev=/images%3Fq%3Dcomputer%2Bcache%26start%3D40%26hl%3Dko%26lr%3D%26ie%3DUTF-8%26newwindow%3D1%26sa%3DN
  • 1thPCinCAUCSE/ProblemA . . . . 1 match
         ["1thPCinCAUCSE"], ["문제분류"]
  • 1thPCinCAUCSE/ProblemB . . . . 1 match
         ["1thPCinCAUCSE"], ["문제분류"]
  • 1thPCinCAUCSE/ProblemC . . . . 1 match
         ["1thPCinCAUCSE"], ["문제분류"]
  • 2004여름방학MT . . . . 1 match
         Seminar:PraiseGame 라는 것을 재동이형이 예전에 제안했네요. 괜찮아보이는데요. --[Leonardong]
  • 2005MFC이동현님의명강의 . . . . 1 match
          * [http://zerowiki.dnip.net/~undinekr/Tictactoes.zip]
  • 2011국제퍼실리테이터연합컨퍼런스공유회 . . . . 1 match
          * IAF는 International Association of Facilitator의 약자.
          1. 3 Most Valuable Learnings - 채홍미/조현길 60분
  • 2thPCinCAUCSE/ProblemB/Solution . . . . 1 match
         ["2thPCinCAUCSE/ProblemB"] 의 해.
  • 2thPCinCAUCSE/ProblemC/Solution . . . . 1 match
         ["2thPCinCAUCSE/ProblemC"] 의 해.
  • 3rdPCinCAUCSE/ProblemB . . . . 1 match
         [3rdPCinCAUCSE],[문제분류]
  • 3rdPCinCAUCSE/ProblemC . . . . 1 match
         [3rdPCinCAUCSE],[문제분류]
  • 5인용C++스터디 . . . . 1 match
          || 나휘동 || [http://zeropage.org/pub/upload/TypingGamePlan.hwp] || . ||
  • ADisciplineOfProgramming . . . . 1 match
         http://cs.sungshin.ac.kr/~dkim/dop-chapter0.html
  • AI세미나 . . . . 1 match
         Artificial Intelligence (인공지능)에 대한 세미나.
         http://www.math.umn.edu/~wittman/faces/main.html - Neural Network를 사용하여 사람의 얼굴 인식.
  • AM/20040629첫번째모임 . . . . 1 match
          * 목표 : window 테트리스짜기
  • API . . . . 1 match
         #Redirect ApplicationProgrammingInterface
  • AcceleratedC++/Chapter15 . . . . 1 match
         = Chapter 15 Revisiting character pictures =
  • AntOnAChessboard . . . . 1 match
         [http://online-judge.uva.es/p/v101/10161.html 원문보기]
         === Input ===
         === Sample Input ===
  • AutomatedJudgeScript . . . . 1 match
         [http://online-judge.uva.es/p/v101/10188.html 원문보기]
         === Input ===
         === Sample Input ===
         Input Set #1: YES
         Input Set #2: NO
         Input Set #3: NO
         Input Set #0: YES
         Input Set #1: NO
         Input Set #2: NO
  • BarMacro . . . . 1 match
         We use it in conjunction with the [DueDate Macro] like this:
  • Barracuda . . . . 1 match
         ''Programming Jakarta Struts 인용''
  • Bigtable/DataModel . . . . 1 match
          1. memtable의 T/S가 더 최신이 아니라면 minor compaction을 하여 로그를 비운다.
  • BuildingParserWithJava . . . . 1 match
         3학년 1학기 ProgrammingLanguageClass에서 숙제로 파서를 만들면서 한계를 많이 느꼈었다. 가장 큰 문제는 모든 흐름이 함수 호출을 따라 흘러간다다는 것이었다. 어느 곳이 잘못되었는지 알기가 어려웠기 때문에 찾는데 무척 애를 먹었다. 문법을 하나 추가하는 작업도 매번 오래 걸렸다. 그러다 보니 평가에 중요한 예외처리를 할 시간이 많지 않았다.
  • C++Analysis . . . . 1 match
          * The C++ Programming Language Special Edition
  • C/Assembly/연산 . . . . 1 match
         int i=123;
  • CNight2011 . . . . 1 match
          * 많다면 많은 정보들이 한꺼번에 머릿속에 들어왔었는데요, 이것 저것 배우면서 저게 유용하긴 한데.. 분명 포인터랑 연관되어있다긴 하는데 뭐가 어떻게 연관된거야?! 라고 하다가 Linked List를 배우면서 왜 구조체가 필요한지(very powerful!) 왜 많은 수의 자료들을 무조건 배열로만 쓸 수는 없는지등 많은 것을 알게되었어요. 나중에는 카트가 3D면서 렉없는 상당히 잘만든 게임이라는 말도 들었는데, 자료가 유동성 있으면서 접근하기 쉬운 그런걸 만든다는게 쉬운 것만은 아니겠구나 라고 생각했지요. 자구를 공부하면 이런 부분을 공부하는거겠죠. 재밌겠네요+_+(까봐야 알지만) -[김태진]
  • CPPStudy_2005_1/STL성적처리_2_class . . . . 1 match
         = Info =
         = Input Text =
         [[NewWindow("http://www.zeropage.org/viewcvs/www/cgi/viewcvs.cgi/accelerated_cpp_stl_grade/?root=sapius", "source code")]]
  • CategoryHomepage . . . . 1 match
         Just saying Hi! -- J
  • 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
  • CauGlobal/Episode . . . . 1 match
         Episode in Episode --;;
  • 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 들이 각 다른 방식의 벡터 드로잉 방법을 가지고 있다고 한다.
  • CodeRace . . . . 1 match
         이 대회는 신입생의 흥미를 불러일으키기위해서 시행될수도 있습니다. 이때는 재학생을 같이 참여시켜 [PairProgramming]을 활용해 보는 것도 좋은 방법입니다.
  • CodeRace/20060105 . . . . 1 match
         || JuNe || require 'strings' <br/> alpha=:((97&+,65&+)i.26){a. <br/> alphaonly=:#~e.&alpha <br/> d=:alphaonly each cut (LF,' ') charsub s <br/> w=:{./.~ d <br/> c=:<"0 #/.~ d <br/> ascii=: +/@(a.&i.) each w <br/> sort w ,. c ,. ascii ||
  • CodingStandard . . . . 1 match
         ["ExtremeProgramming"]
  • CommentEachOther . . . . 1 match
         전에도 느꼈었고, 여러 대가들께서도 자주 말씀하시곤 하는데, 자신의 코드의 퀄리티를 높이려면 남이 만들어놓은 소스를 보라는 이야기가 있다. 이 글을 읽는 분들도 동의하리라 생각한다. CommentEachOther 는 [AOI]나 LittleAOI 처럼 여러 사람이 한 문제에 대한 풀이를 올리고 그것들에 대한 코멘트를 하는 스터디라 할 수 있겠다. 여기서 코멘트라 함은 소스코드에서 명령문 옆에 붙이는 간단한 부연설명이 될 수도 있겠고, 코드 전체에 대한 비평이나 느낌일수도 있다. 처음에는 간단한 문제로 시작해서 디자인 principle 이 들어가있는 프로그램으로 횟감의 스케일을 키워나가는게 어떨까 생각을 한다. 나는 그냥 제안하는 입장이고, 간혹 간단하게 작성한 소스를 올리는 정도로만 참여하도록 하고, 적극적인 참여를 할 사람들이 생기면 이곳에 문제와 자신의 코드를 올리고 토론을 해봤으면 좋겠다. 토론의 방법이야 오프라인 모임에서 하거나 따로 코멘트 페이지를 만들거나. 자. 다들 어떻게 생각하시는지? 참여할분들(!) 계시면 아래에 참여자 목록과 문제를 업로드해 주셨으면.~ - 임인택
  • ComponentBasedDevelopment . . . . 1 match
         http://ww5.introcom.net/~nkcho/ 관련 내용 자료를 많이 링크해 두셨다.
  • CppStudy_2002_2/STL과제 . . . . 1 match
          * 이름은 string 클래스로 처리한다.
  • CppStudy_2005_1/BasicBusSimulation . . . . 1 match
         || 김태훈[zyint] || [CPP_Study_2005_1/Basic Bus Simulation/김태훈] ||
  • CreativeClub . . . . 1 match
          * Trouble Shooting을 위한 wiki 운영.
  • C언어정복/3월30일 . . . . 1 match
         11. printf()와 scanf() 함수 이용 시연
  • C프로그래밍 . . . . 1 match
         printf 포맷
  • DataCommunicationSummaryProject . . . . 1 match
         || ["DataCommunicationSummaryProject/CellSwitching"] ||
  • DataSmog . . . . 1 match
         http://image.wowbook.com/book/large_image/89-374-2705-2.gif [[BR]][http://www.wowbook.com/generic/book/info/book_detail.asp?isbn=ISBN89-374-2705-2 데이터스모그]
  • DatabaseClass/Exam2004_1 . . . . 1 match
          * ODBC 에서의 SQLBindCol
  • DebuggingTip . . . . 1 match
         }}}--NeoCoin 상민이형과 메신저로 이야기하던 중.
  • DefaultValueMethod . . . . 1 match
         string Book::defaultSynopsis()
  • DevCppInstallationGuide . . . . 1 match
         └main.c이라는 이름으로 저장하기 보다 '''프로젝트 이름.c'''으로 저장하는 것이 나중에 다시 볼 때 좋습니다.
  • DevOn . . . . 1 match
         [[include(틀:추가바람)]]
  • Doublet . . . . 1 match
         "이상한 나라의 앨리스(Alice in the Wonderland)"를 쓴 루이스 캐롤(Lewis Carroll)은 끝말잇기를 비롯하여, 영어 단어를 이용한 퍼즐들을 많이 만들었습니다.
  • Doublets . . . . 1 match
         [http://online-judge.uva.es/p/v101/10150.html 원문보기]
         === Input ===
         === Sample Input ===
  • DrawingToy . . . . 1 match
         Upload:DrawingToy.JPG
  • EasyJavaStudy . . . . 1 match
          * ["Java"], ["Eclipse"], ["JUnit"], ["TestDrivenDevelopment"], ["TestFirstProgramming"]
  • EasyPhpStudy . . . . 1 match
          * ["PHP Programming"], ["ZPBoard/PHPStudy"]
  • Ellysavet . . . . 1 match
         아무런 소식이 없어서, ZeroPagers 에서 ZeroWikian 으로 분류를 바꾸었습니다. 원하시면 언제든지 참여해 주세요. --NeoCoin
  • EmbeddedC++ . . . . 1 match
          * [http://www.google.co.kr/search?hl=ko&newwindow=1&q=embedded+C%2B%2B&btnG=%EA%B2%80%EC%83%89&lr= 구글에서 Embedded C++의 검색 결과]
  • EnterpriseJavaBeans . . . . 1 match
         처음 공부하는 사람은 MasteringEJB 의 예제를 간단히 실행해보기를 추천.
         Lomboz - ["Eclipse"] 플러그인. 내부적으로 XDoclet를 이용, Home & Remote & Local Interface 를 자동으로 생성해준다.
  • Eric3 . . . . 1 match
         무료 Python IDE. 제공하는 기능이 꽤 많은듯 하다. [Refactoring]을 지원하는게 가장 큰 기능중의 하나가 아닐까 생각한다.
  • EuclidProblem . . . . 1 match
         [http://online-judge.uva.es/p/v101/10104.html 원문보기]
         === Input ===
         === Sample Input ===
  • EvolutionaryDatabaseDesign . . . . 1 match
         http://martinfowler.com/articles/evodb.html
  • Factorial2 . . . . 1 match
         Hint. 기본자료형으로는 택도 없습니다.
  • FactorialFactors . . . . 1 match
         [http://online-judge.uva.es/p/v8/884.html]
         === Input ===
         === Sample Input ===
  • FastSearchMacro . . . . 1 match
         5000여개의 파일이 있을 때 FastSearch는 2초 걸렸다. php는 파일 처리속도가 늦다는 이유로 FullSearchMacro를 쓰면 약 15여초 걸린다. 그 대신에, wiki_indexer.pl은 하루에 한두번정도 돌려야 되며, 5분여 동안의 시간이 걸린다.
  • FooBarBaz . . . . 1 match
          * Programming Language 서적에 나오는 예제 코드에 Foo, Bar, Baz 등의 단어가 자주 등장한다.
  • Freemarker . . . . 1 match
         '' Programming Jakarta Struts 인용''
  • FullSearchMacro . . . . 1 match
         세부 옵션(context=10, case=1,backlinks=1)을 추가할 예정입니다.
  • GameProgrammingGems . . . . 1 match
         위의 Game Programming Gems는 게임에 쓰이는 전반적인 알고리즘(2D, 3D, AI(길찾기 포함))들을 전반적으로 대부분 다루어 놓고 얼마나 효율적인 프로그래밍을 할 수 있고 어떻게 해야 가능한 가를 보여주는 책이 되겠다. [[BR]]
  • GenericProgramming . . . . 1 match
          * Moa:GenericProgramming
  • Google . . . . 1 match
         #Redirect Googling
  • GotoStatementConsideredHarmful . . . . 1 match
          SeeAlso : PPR:GotoConsideredTheBestProgrammingPracticeEverInvented PPR:GotoStillConsideredHarmful PPR:GotoConsideredHarmful
  • Hacking/첫번째과제 . . . . 1 match
         [Hacking]
  • HardcoreCppStudy/두번째숙제 . . . . 1 match
          * 프로그램을 파일 하나에 다 때려넣지 말고, 헤더파일(클래스 선언), 클래스 구현부, main함수의 파일 3개로 나눠서 작성하세요.
  • HardcoreCppStudy/첫숙제/ValueVsReference/김아영 . . . . 1 match
         - 함수내에서 전달된 변수를 사용하기 위해서 간접(indirection) 연산자를 사용해야 한다.
  • Hartals . . . . 1 match
         [http://online-judge.uva.es/p/v100/10050.html 원문보기]
         === Input ===
         === Sample Input ===
  • Header 정의 . . . . 1 match
         #define Header 이름
  • HelpIndex . . . . 1 match
         The following is a list of all help pages:
  • HelpOnPageDeletion . . . . 1 match
         지워지거나 손상된 페이지를 복구하려면 [[Icon(info)]]를 통해서 페이지 변경내역을 볼 수 있어야 합니다. 단축키로 '''i'''를 누르면 변경 내역을 보여줍니다.
  • Hibernate . . . . 1 match
         요새 한참 인기있는 Java O-R Mapping Tool
         조만간 [http://www.theserverside.com/resources/HibernateReview.jsp Hibernate In Action] 이란 책이 출간될 예정. Chapter 1 을 읽을 수 있다.
         [http://www.theserverside.com/resources/article.jsp?l=Hibernate Introduction to hibernate] 기사가 연재중이다.
  • HierarchicalWikiWiki . . . . 1 match
         HierarchicalWikiWiki''''''s can be created by using the InterWiki mechanism.
  • HostFile . . . . 1 match
         windows 의 경우는 system32/drivers/etc/host 라는 화일.
  • HotterColder . . . . 1 match
         [http://online-judge.uva.es/p/v100/10084.html 원문보기]
         === Input ===
         === Sample Input ===
  • HowManyFibs? . . . . 1 match
         [http://online-judge.uva.es/p/v101/10183.html 원문보기]
         === Input ===
         === Sample Input ===
  • HowToBlockEmpas . . . . 1 match
          ''검색결과의 삭제에 대한 내용이 다음 사이트에 있군요.'' [http://www.google.com/intl/ko/remove.html]
  • HowToDiscussIt . . . . 1 match
          * NoSmok:HowToMakeMeetingsWork
  • Hyacinth . . . . 1 match
         http://Hyacinth.xiop.net
  • IsBiggerSmarter? . . . . 1 match
         [http://online-judge.uva.es/p/v101/10131.html 원문보기]
         === Input ===
         === Sample Input ===
  • IsDesignDead . . . . 1 match
          * http://martinfowler.com/articles/designDead.html - 원문.
  • ItMagazine . . . . 1 match
          * SoftwareDevelopmentMagazine
  • Jakarta . . . . 1 match
         라이브러리, 툴, API 군과 Framework & Engine, Server Application 등을 제공.
  • JavaStudy2003 . . . . 1 match
         http://java.sun.com/docs/books/tutorial/java/index.html
  • JavaStudy2003/첫번째과제 . . . . 1 match
         http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html
  • JavaStudy2003/첫번째수업 . . . . 1 match
          * OOP in Java.
  • JavaStudyInVacation . . . . 1 match
          * ["Java"], ["Eclipse"], ["JUnit"], ["TestDrivenDevelopment"], ["TestFirstProgramming"]
          * ["JavaStudyInVacation/진행상황"]
          * ["JavaStudyInVacation/과제"]
  • 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--;}}
  • JollyJumpers . . . . 1 match
         [http://online-judge.uva.es/p/v100/10038.html 원문보기]
         === Input ===
         === Sample Input ===
  • JollyJumpers/정진경 . . . . 1 match
         c[3000];main(n,a,b,k){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),c[abs(a-b)]++?0:k--;}
  • KIV봉사활동/자료 . . . . 1 match
         [[include(KIV봉사활동/자료/멤버십)]]
  • KentBeck . . . . 1 match
         ExtremeProgramming의 세 명의 익스트리모 중 하나. CrcCard 창안. 알렉산더의 패턴 개념(see also DesignPatterns)을 컴퓨터 프로그램에 최초 적용한 사람 중 하나로 평가받고 있다.
  • KnowledgeManagement . . . . 1 match
          * I : Information
          * S : Sharing
  • LC-Display . . . . 1 match
         [http://online-judge.uva.es/p/v7/706.html 원문보기]
         === Input ===
         === Sample Input ===
  • LearnFunctionalProgramming . . . . 1 match
         Wiki:LearnFunctionalProgramming
  • LightMoreLight . . . . 1 match
         [http://online-judge.uva.es/p/v101/10110.html 원문보기]
         === Input ===
         === Sample Input ===
  • LinearAlgebraClass . . . . 1 match
         길버트 스트랭은 선형대수학 쪽에선 아주 유명한 사람으로, 그이의 ''Introduction to Linear Algebra''는 선형대수학 입문 서적으로 정평이 나있다. 그의 MIT 수업을 이토록 깨끗한 화질로 "공짜로" 한국 안방에 앉아서 볼 수 있다는 것은 축복이다. 영어 듣기 훈련과 수학공부 두마리를 다 잡고 싶은 사람에게 강력 추천한다. 선형 대수학을 들었던(그리고 학기가 끝나고 책으로 캠프화이어를 했던) 사람이라면 더더욱 추천한다. (see also HowToReadIt 같은 대상에 대한 다양한 자료의 접근) 대가는 기초를 어떻게 가르치는가를 유심히 보라. 내가 학교에서 선형대수학 수강을 했을 때, 이런 자료가 있었고, 이런 걸 보라고 알려주는 사람이 있었다면 학교 생활이 얼마나 흥미진지하고 행복했을지 생각해 보곤 한다. --JuNe
  • LoginMacro . . . . 1 match
         [[Login]]
  • MFC Study 2006 . . . . 1 match
          * 참고 http://winapi.co.kr
  • MFC/CObject . . . . 1 match
         #define _MFC_ _HIERARCHY_CHART_
  • MFC_ . . . . 1 match
         == Index ==
         2. [Dubble_Buffering]
  • MVCModel . . . . 1 match
         http://zeropage.org/~erunc0/study/java/mvc_model/swing_mvc_model.html
  • MacromediaFlash . . . . 1 match
         웹에서 interactive 한 화면 제작 & 웹 클라이언트 개발용으로 활발하게 이용되는 툴.
  • Marbles . . . . 1 match
         [http://online-judge.uva.es/p/v100/10090.html 원문보기]
         === Input ===
         === Sample Input ===
  • MemeHarvester . . . . 1 match
         || 데이터 수집 || 로봇이 모든 웹을 돌아다니면서 데이터 저장 || 사용자가 특정 웹을 지정하고, 해당 웹에서 사용자가 원하는 키워드가 포함된 글이 올라올 경우나 새 글이 올라올 경우(옵션에 따라) 실시간으로 알려줌, RealTimeSearchEngine ||
  • MentorOfArts . . . . 1 match
         서강대학교 컴퓨터 학과 스터디그룹. Interwiki 로는 '''{{{~cpp Moa:}}}''' 를 이용합니다.
         http://purl.oclc.org/NET/moa/moin.cgi/
  • MiningZeroWiki . . . . 1 match
          활동 아이디어 n조 * (OHP필름2장, 보드마커, IndexCard 1장, 지우개용휴지2장 ), 접착테이프
          * 1안 : 주최자가 시작점을 주고, 2인 일조가 되어 OHP에 보드마커를 이용해 링크 방향으로 MindMap 그린다. 차후 큰 장소에 OHP를 합쳐본다.
  • MobileJavaStudy/SnakeBite . . . . 1 match
          * ["MobileJavaStudy/SnakeBite/FinalSource"] - 최종 소스 (9월 25일)
  • ModelingSimulationClass/Exam2006_2 . . . . 1 match
         2. M/M/1 Queue에서의 Waiting Time을 유도하라.
  • MoniCalendar . . . . 1 match
          * 9/11 {*} 8:00pm '''Meeting'''
  • MoniWikiBlogOptions . . . . 1 match
         set category index. Plese see BlogCategories
  • MoniWikiCssTips . . . . 1 match
         == Customized input forms ==
  • MySQL/root암호분실시 . . . . 1 match
         shell>mysqladmin -u root password '원하는 암호'
  • MythicalManMonth . . . . 1 match
         This simple rule, consistently applied, would, within two years, double the
         See Also Moa:TheMythicalManMonth, Moa:ConceptualIntegrity , ["성당과시장"]
  • NIC . . . . 1 match
         Network Interface Card 혹은 Adapter
         ["zennith"]가 사용하고 있는 NIC 는 현재 '''Realtek 8029(AS)''' 이다. 이 NIC 에 대해서 특별히 불만은 가지고 있지 않았지만, 얼마전에 경험하게 되었다. 바로, Linux 에서의 드라이버 지원 문제였는데, 동사의 8139(10/100 mega bit ethernet 카드로서, 대부분 리얼텍 NIC 를 쓴다고 한다면 이8139일 것이다.)는 매우 잘 지원되는 것으로 보였으나.. 단지 10m bit ethernet 인 내 8029 는 너무 오래전에 나온것인지 꽤, 고난과 역경을 겪게끔 하는 그런 카드였다. 그래서, 지금 ["zennith"] 가 알아보고 있는 카드가 두개 있다. 하나는 ACTTON 에서 나온 것과, 또 다른 하나는 그 이름도 유명한 NetGear 에서 나온 10/100 카드이다. 전자의 ACTTON 것은 나름대로 한 시대를 풍미했던 DEC 의 튤립이란 카드의 벌크 제품이라던데... 7000원이라는 가격이 매우 돋보이지만, 이것역시 벌크제품인지라 드라이버 지원문제가 꽤 걸릴거 같아서, 아무래도 NetGear 의 제품을 사게 될 것 같다.
         이런 페이지는 NIC가 아닌 NetrowkInterfaceCard 로 이름을 하는것이 좋와 --["상민"]
  • NSIS_Start . . . . 1 match
          * 프로젝트 이름 : NSIS Start (About Nullsoft ({{{~cpp SuperPiMP}}} | Scriptable) Install System)
          * 주제 : Installer Program 에 대한 이해를 위해. free software 인 Nullsoft ({{{~cpp SuperPiMP}}} | Scriptable) Install System 영문메뉴얼을 보면서 한글 메뉴얼을 만든다.
          * 간단한 Installer (그냥 해당 디렉토리에 압축 풀리는 정도로.)
          * simple / full / custom 설정 가능한 Installer
          * uninstaller 포함된 Installer
  • NetBeans . . . . 1 match
         [[include(틀:IDE)]]
  • NewTestsForOldBugs . . . . 1 match
         ["ExtremeProgramming"]
  • NumericalAnalysisClass/Report2002_1 . . . . 1 match
         Cubic Spline 함수를 계산하기 위해서는 Tri-Diagonal Matrix 에 대한 해를 구할 수 있어야 한다. 다음과 같이 주어진 Tri-Diagonal Matrix 시스템의 해를 계산하는 프로그램을 작성하시오.
  • OOD세미나 . . . . 1 match
          정말 중간에 어려워서 LineDrawable 얘기할땐 잠깐 졸았지만 너무 유익한 세미나 였습니다~ - [박성현]
  • OPML . . . . 1 match
         #Redirect OutlineProcessorMarkupLanguage
  • ObjectOrientedDatabaseManagementSystem . . . . 1 match
         Malcolm Atkinson을 비롯한 여러 사람들이 그들의 영향력 있는 논문인 The Object-Oriented Database Manifesto에서, OODBMS에 대해 다음과 같이 정의하였다.
  • Omok . . . . 1 match
          * 그래픽을 썼을 때 저의 경우 코드라인수는 250line 정도였습니다. - 창섭
  • OnceAndOnlyOnce . . . . 1 match
         OAOO. 필요한 부분에 대해서는 중복없이 오직 한번만 나타나야 한다는 원칙. ["Refactoring"] 의 원칙.
  • One . . . . 1 match
          * http://www.winapi.co.kr/
  • One/실습 . . . . 1 match
          * int형 배열 10개 공간에 숫자 대입하고 출력
  • OpenCamp/두번째 . . . . 1 match
          * 13:00~13:10 Opening
  • OriginalWiki . . . . 1 match
          * wiki:Wiki:ExtremeProgrammingRoadMap
  • OurMajorLangIsCAndCPlusPlus/2005.12.22 . . . . 1 match
         string.h - 김상섭
  • OurMajorLangIsCAndCPlusPlus/2005.12.29 . . . . 1 match
         string.h - 김상섭
  • OutlineProcessorMarkupLanguage . . . . 1 match
         현재 RSS 리더에서 피드를 공유하는 목적으로 주로 이용되는 포맷으로, Radio UserLand 의 DaveWiner 가 개발했다.
  • PHPStudy2005 . . . . 1 match
          * [PHPStudy2005/RWAPMInstall]
          * [PHP Programming/HtmlTag]
  • PNGFileFormat/FileStructure . . . . 1 match
          * Interlace method : 이미지에 대한 비트오더.
          || Color Type || Allowed Bit Depths || Interpretation ||
          || 3 || 1, 2, 4, 8 || Each pixel is a palette index; a PLTE chunk must appear. ||
  • PNGFileFormat/FilterAlgorithms . . . . 1 match
         begin
  • PNGFileFormat/ImageData . . . . 1 match
         현재는 compression method 0만 있음. zlib의 inflate, deflate와 같다. 최대 윈도우 사이즈는 32768바이트
         === Inflate ===
  • PageHitsMacro . . . . 1 match
         특정 사용자명, 가령 개인위키라면 그 위키 주인, 은 제외하고 incCounter()하는 게 어떨까요?
  • PatternsOfEnterpriseApplicationArchitecture . . . . 1 match
         http://martinfowler.com/eaaCatalog/
  • PcixWiki . . . . 1 match
          DeadLink - Not Found 에러납니다.. -_-aa - [아무개]
  • PolynomialCoefficients . . . . 1 match
         [http://online-judge.uva.es/p/v101/10105.html 원문보기]
         === Input ===
         === Sample Input ===
  • PowerReading . . . . 1 match
          - 저도 읽어보고있는데 괜찮은것 같아요. self-testing ..(?) 을 안해서 그렇지..-_-; Do It Now! 를 마음속으로만 외치는군요.....- 임인택
  • PracticeNewProgrammingLanguage . . . . 1 match
         = PracticeNewProgrammingLanguage =
         = INTERMEDIATE LEVEL =
  • PragmaticVersionControlWithCVS/UsingModules . . . . 1 match
         || [PragmaticVersionControlWithCVS/CreatingAProject] || [PragmaticVersionControlWithCVS/ThirdPartyCode] ||
  • ProjectGaia . . . . 1 match
          * [http://165.194.17.15/~neocoin/jsboard/list.php?table=ProjectGaia 자료실]
  • ProjectPrometheus/AcceptanceTest . . . . 1 match
         AcceptanceTest Server - http://zeropage.org/~reset/cgi-bin/AcceptanceTestServer/testserver.cgi
  • ProjectVirush . . . . 1 match
         Trac을 이용해 [http://165.194.17.5/trac/aekae/timeline 프로젝트 진행상황]과 [http://165.194.17.5/trac/aekae/browser//ProjectVirush Source Code]를 확인할 수 있습니다.
  • PyDev . . . . 1 match
         [Eclipse]에서 [Python]프로그래밍을 가능하게 해 주는 플러그인. 2004년 8월 현재 Outline 까지는 보여주나, [리팩토링]등을 지원하지 않는 아쉬움이 있다.
  • PyIde/BicycleRepairMan분석 . . . . 1 match
         코드 분석방법에서 Eclipse 의 Ctrl + Alt + H 를 눌렀을때 나오는 Method call hierarchy 기능으로 코드를 읽어나가는 것이 유용하다는 점을 알아내었다. StepwiseRefinement 를 역순으로 따라가는 느낌이랄까.
  • PythonComTypes . . . . 1 match
         다른건 둘째치고, python win32 extension 보다 좋은점 :
  • PythonFeedParser . . . . 1 match
         http://diveintomark.org/projects/feed_parser/
  • REAL_LIBOS . . . . 1 match
         Little Basic Operating System의 약자.
         INTEL 80X86에서 리얼모드(DOS)로 실행 됨
         2. SENDING MESSAGE TO OTHER PROCESS [[BR]]
         3. POLLING DATA PARREL PORT [[BR]]
         4. SCHEDULING REAL-TIME [[BR]]
  • RISCOS . . . . 1 match
         plz Add RISC OS links. I feel curious that.
  • RUR-PLE . . . . 1 match
          * [http://prdownloads.sourceforge.net/wxpython/wxPython2.6-win32-unicode-2.6.1.0-py24.exe wxPython다운로드]
  • RandomWalk2/서상현 . . . . 1 match
         DoItAgainToLearn 할 생각임. 처음 할때는 중간 과정을 기록하지 않고 했지만 다시 할때는 과정을 기록해 봐야겠음.
  • RealTimeOperatingSystemExam2006_2 . . . . 1 match
          d) mutex 구조체 (맞나?)의 변수중 Counting관련 머시기가 있는데 이걸 상호배제 세마포에서는 어떻게 활용하나?
  • Redmoon . . . . 1 match
         무언가 해보려는 페이지 같기는 한데요... --NeoCoin
  • Release Planning . . . . 1 match
         Rename : ReleasePlanning 으로 이름변경합니다.
  • ReverseEngineering/책장사 . . . . 1 match
         4. Windows 구조에 관련된 서적.
  • RoboCode/ing . . . . 1 match
         http://zeropage.org/pub/upload/ing.IngTeam_1.0.jar
  • RoboCode/random . . . . 1 match
         Upload:random.ElLin_1.0.jar
  • RoboCode/siegetank . . . . 1 match
         Upload:siegetank.Zyint_1.0.jar
  • RssMacro . . . . 1 match
         [[RSS(http://chem.skku.ac.kr/~kle/moin/RecentChanges?action=rss_rc)]]
  • RubyOnRails . . . . 1 match
          * [http://beyond.daesan.com/articles/2006/07/28/learning-rails-1 대안언어축제황대산씨튜토리얼]
  • SLOC . . . . 1 match
         #Redirect Source_lines_of_code
  • SRPG제작 . . . . 1 match
         == Main Program ==
  • STL/Tutorial/연습문제규칙 . . . . 1 match
          --NeoCoin
  • SearchAndReplaceTool . . . . 1 match
          * HandyFile Find and Replace (http://www.silveragesoftware.com/hffr.html)
  • Self-describingSequence/shon . . . . 1 match
         function i = selfdscribing(N)
  • SibichiSeminar/TrustModel . . . . 1 match
         [SibichiSeminar], [2011년활동지도]
  • SimpleDesign . . . . 1 match
         ["ExtremeProgramming"]
  • SimpleDirectmediaLayer . . . . 1 match
          * SDL 소개(한글): http://www.libsdl.org/intro.ko/toc.html
  • SmallTalk/강좌FromHitel/Index . . . . 1 match
          | 1.4.1. Dolphin Smalltalk 등록하기
  • SmallTalk/강좌FromHitel/차례 . . . . 1 match
          | 1.4.1. Dolphin Smalltalk 등록하기
  • SmallTalk_Index . . . . 1 match
          | 1.4.1. Dolphin Smalltalk 등록하기
  • SnakeBite/창섭 . . . . 1 match
          * 뱀을 설계할 때 Linked List 로 해야 하는 것 같아 그걸 짜는데... 1학년 공부를 소홀히 해서 애를 먹었습니다.--;;
         DeleteMe) CRgn과 CRect에 있는 PtInRegion과 PtInRect함수로 영역 검사를 해보는 편이 편할듯 by 최봉환[[BR]]
  • SoftwareEngineeringClass/Exam2006_1 . . . . 1 match
         2) Tayloring 과 Deploy를 설명하라.
         3) S/W Test 와 Independent Verification & Validation 비교하라
  • SoftwareEngineeringClass/Exam2006_2 . . . . 1 match
         4. 심사를 하고 받은 후의 Software Engineer 로써 앞으로 조직의 비전을 위한 자신의 각오, 결단을 기술하시오.
  • 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"]
  • SpiralArray . . . . 1 match
         문제 Spec : Seminar:SpiralArray 를 참조.
  • Spring/탐험스터디/2011-02-04 . . . . 1 match
         [[pagelist(^Spring/탐험스터디)]]
  • Squeak . . . . 1 match
          * Squeak - Open Personal Computing and Multimedia
  • StarCraft . . . . 1 match
         늘 그렇듯이 대부분의 사람들이 물리적 대상과 객체를 대응하는 고정관념에 빠져있어서 문제가 됩니다. 관계, 개념 등도 객체가 될 수 있다는 발상전환을 가능케 해주면 좋겠지요. 처음에 이런 사항만 넌지시 알려주고 디자인 하게 합니다. 그러고 나서, 일단 학생들의 디자인으로 개발한 것을 놓고, 같이 토론해 보고(이 때 선배는 뒤에 물러서 관찰만 함) 다시 한번 새로 디자인하게 합니다. 그리고 이번에는 선배가 디자인한 것을 후배들이 최종적으로 디자인한 것과 동등하게 같이 놓고 토론해 봅니다. 이 때 중요한 것은 선배의 것이 마치 "궁극적 해답"인 마냥 비치지 않도록 주의하는 것이겠죠. (디자인 시에는 KentBeck과 WardCunningham이 최초 교육적 목적에서 개발한 CrcCard를 사용하면 아주 훌륭한 결과를 얻을 것입니다.) --JuNe
  • Steps . . . . 1 match
         [http://online-judge.uva.es/p/v8/846.html 원문보기]
         === Input ===
         === Sample Input ===
  • SubVersionPractice . . . . 1 match
         = Link =
  • SystemPages . . . . 1 match
         [[SystemInfo]]
          * TitleIndex - 제목으로 페이지들 목록 보기
          * FindPage - 페이지 찾기
          * InterWiki - 직접링크를 걸 수 있는 InterWiki들.
  • TableOfContentsMacro . . . . 1 match
         Please see HelpOnHeadlines
  • TestCase . . . . 1 match
          가 어떨까요? --["neocoin"]
  • 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.
  • TheBookOpenSources . . . . 1 match
         || http://www.aladdin.co.kr/Cover/897914069X_1.gif [[BR]] ISBN:897914069X ||
  • TheKnightsOfTheRoundTable . . . . 1 match
         [http://online-judge.uva.es/p/v101/10195.html 원문보기]
         === Input ===
         === Sample Input ===
  • ThePracticeOfProgramming . . . . 1 match
         [TheElementsOfProgrammingStyle] 에 대해 문의사항이 있어 저자중 한명에게 메일을 보냈더니, 이 책을 언급하였다. TEOPS 의 중요한 내용들을 이책의 첫 챕터에 수록하였다는 말과 함께. -_-a
  • TortoiseSVN . . . . 1 match
         http://gypark.pe.kr/cgi-bin/wiki/wiki.pl?TortoiseSVN
  • TowerOfCubes . . . . 1 match
         [http://online-judge.uva.es/p/v100/10051.html 원문보기]
         === Input ===
         === Sample Input ===
  • TravelSalesmanProblem . . . . 1 match
         가장 전형적인 TSP 로 distance 는 symmetric 하고, triangular inequilty 가 만족하고, 임의의 한 도시에서 다른 도시로의 직접(또 다른 경유도시를 이용하지 않고) 갈 수 있는 길이 항상 존재한다.
  • TugOfWarInput . . . . 1 match
         제대로 작성된 프로그램은 당연히 온라인 로봇 심사위원의 테스트 케이스를 모두 통과하며, 게다가 덤으로 50,50,100,200 인 경우에도 통과한다. 하지만 Programming Challenges 책에 실린 모법 답안 등의 프로그램은 로봇 심사위원의 테스트는 통과하지만 50,50,100,200 같은 경우는 실패한다.
  • UnitTestFramework . . . . 1 match
          * http://xprogramming.com
  • UnixHistory . . . . 1 match
         http://www.levenez.com/unix/
         http://www.levenez.com/unix/history.html
          자세한 Unix 계보
  • UpdateWindow . . . . 1 match
         재귀함수가 실행될때마다 Invalidate()를 호출하도록 해 두었는데. 화면 갱신은 재귀함수가 끝난 경우에만 하고 있었다.
         [상규]군에게 물어 해답을 찾았다. Invalidate()함수는 다음 WM_PAINT메세지가 왔을때 화면을 다시 그리도록 명령하는 함수이다. 재귀나 반복문을 수행하는 동안에는 WM_PAINT 메세지가 발생하지 않기 때문에 강제적으로 WM_PAINT메세지를 발생시켜 주어야 하는데, 그 함수가 UpdateWindow()함수이다.
  • UrlMappingMacro . . . . 1 match
         [[UrlMapping]]
  • UserPreferences . . . . 1 match
         '''[[GetText(logout)]]'''을 누르면 쿠키가 지워지고, '''[[Gettext(Login)]]'''을 하시면 쿠키가 사용되며, 다른 곳에서도 같은 설정을 유지하며 사용하실 수 있습니다. 공공의 PC에서 [필명]이 도용되는 것을 막기 위해서 '''[[GetText(Logout)]]'''을 이용해 주시기 바랍니다.
  • VisualStudio2005 . . . . 1 match
         http://www.microsoft.com/korea/events/ready2005/vs_main.asp
  • VoiceChat . . . . 1 match
          * linux, mac, pocket pc 용 버전도 있다.
  • WTL . . . . 1 match
         #Redirect WindowsTemplateLibrary
  • Westside . . . . 1 match
         * Minihome : [http://www.cyworld.com/pyung85]
  • WikiClone . . . . 1 match
         A software system that implements the features of the OriginalWiki.
  • WikiEngine . . . . 1 match
         See Wiki:WikiEngine
  • WikiFormattingRules . . . . 1 match
         Wiki:TextFormattingRules
  • WikiGardeningKit . . . . 1 match
         http://no-smok.net/nsmk/WikiGardening 이걸 전부 할 수는 없고
  • WikiName . . . . 1 match
         A WikiName is a word that uses capitalized words. WikiName''''''s automagically become hyperlinks to the WikiName's page.
  • WikiWiki . . . . 1 match
         What the hell is a WikiWiki? See the OriginalWiki.
  • WinMerge . . . . 1 match
         http://winmerge.sourceforge.net/
  • X . . . . 1 match
         === Game Programming Gems 시리즈 읽기 ===
  • XML/Csharp . . . . 1 match
         [http://www.c-sharpcorner.com/UploadFile/shehperu/SimpleXMLParser11292005004801AM/SimpleXMLParser.aspx Simple XML Parser in C#]
  • XMLStudy_2002 . . . . 1 match
          *[["XMLStudy_2002/Encoding"]]
  • XMLStudy_2002/XSL . . . . 1 match
         <?xml version="1.0" encoding="KSC5601"?>
  • XpWeek/20041222 . . . . 1 match
         [http://kin.naver.com/browse/db_detail.php?d1id=1&dir_id=10106&docid=722107 jsp에서 ms타임을 년시분초로 바꾸어주는 방법]
  • XperDotOrg . . . . 1 match
         국내 ExtremeProgramming 사용자(?) 모임.
  • YetAnotherTextMenu . . . . 1 match
         차라리 "텍스트 메뉴" 자체를 Event Driven Programming 개념을 전달하기 위한 toy problem으로 쓰는 건 어떨까? 간단한 구조를 통해, 콜백 함수가 무엇인지 등을 배울 수 있을 것이다.
  • Z&D토론/학회명칭토론 . . . . 1 match
         See Also [http://zeropage.org/jsp/board/thin/?table=open&service=view&command=list&page=0&id=5086&search=&keyword=&order=num 2002년1월30일회의록]
  • Z&D토론/학회명칭토론백업 . . . . 1 match
          * 창섭이가 언급한것처럼의 이름 방식은 절대 반대이다. 데블스는 99년에 새로운 회원을 모집하게되었고 98이전까지의 데블스 선배님 역시 대다수 제로페이지이고, 작년 home coming day에서 참석하신 분도 많다. 아예 재 흡수 방식으로 나가던지, 완전히 새로운 이름을 추구하던지 방식을 했으면 좋겠다. 지나간 역사들의 페이지에 연연하는건 바보 짓일지 모르나, 스폰때의 기억과, 전체 기수간의 balance조정(미안합니다. 요즘 rpg합니다. --;) 역시 대두되는 문제일 것이다.[[BR]]결정적으로 느끼게된 계기는 통합 회의라고 모인 회의에서 토론하던 것들이 내 경험에 99년 말에 했던 것과, 00년 말에 했던 것과 같고, 더 작은 부분 그 일부임을 깨달았을 때였다. 과거 했던 주제는 회원 모집, 회장 선출, 서버 관리 문제, 회비 문제, 전시회 문제, 방학중 스터디 구성, 활성화 방안 문제 였다. 이번 처음 경험인 01들은 마치 이번 회의가 통합을 위한 회의로 들렸을지 모르겠지만, 내용 상으로 봤을때 뭐가 다른가. 부족하면 부족했지. 아니면 데블스 인원이 참관인 같았다.[[BR]]그냥 이름을 고수 하던지 새로 하던지 둘중에 하나로 하라, 하지만 개인적인 의견이라면 '''선''' ''고수'' '''후''' ''변경'' 이다. 이유라면 또다시 긴글 써야 하니, 아무나 데블스 회원이 참여시 제발 설득해 달라 --; --상민
  • ZIM/ConceptualModel . . . . 1 match
          * '''Message Window''' : Zimmer 가 대화할 때 사용하는 창
  • ZIM/EssentialUseCase . . . . 1 match
          ''XP 는 User Story에서의 사용자 무게중심 & 실제 구현시의 걸릴 Task point 으로 잡고, UP 는 기반이 될 아키텍처 순위로 잡고. 둘을 비교해서 생각하는 것도 좋겠군요. 조언 감사해요.~ ^^ --석천''
  • ZPBoard/APM . . . . 1 match
          * http://www.mysql.com/doc/en/index.html - MySQL 메뉴얼
          * ["ZPBoard/APM/Install"] - APM 설치하기
  • ZPBoard/PHPStudy/기본문법 . . . . 1 match
          * define() 을 사용하여 정의할 수 있으며, 변수와는 달리 한번 정의된 뒤로는 변경할 수가 없다.
  • ZPBoard/PHPStudy/쿠키 . . . . 1 match
         boolean setcookie ( "이름" [, string value [, 제한시간 [, "경로" [, "주소" [, 보안]]]]])
  • ZeroPageServer/FixDate . . . . 1 match
         Linux 시간 맞추기
  • ZeroPageServer/계정신청방법 . . . . 1 match
         [[include(틀:Deprecated)]]
  • ZeroPageServer/계정신청상황2 . . . . 1 match
         || 신청인 || id || 학번 || join ||신청|| email || 상태(완료작업) ||
  • ZeroPage성년식 . . . . 1 match
         == Link ==
  • ZeroWikiVsOneWiki . . . . 1 match
         --NeoCoin
  • [Lovely]boy^_^/Cartoon . . . . 1 match
         빌려줘 회사로 놀러오면, 밥먹여 줄께 ^^;; --NeoCoin
  • [Lovely]boy^_^/Diary/2-2-1 . . . . 1 match
          * ObjectProgramming Report 나옴.(모자이크 만들어오기, until 9/12), 관련 자료 수집.
  • [Lovely]boy^_^/Diary/2-2-12 . . . . 1 match
          * Unix C Report도 끝났다. 도큐만 쓰면 된다.
  • [Lovely]boy^_^/Diary/2-2-8 . . . . 1 match
          * UnixC 공부중
          * 2시 학교에서 UNIXC 시험 - 조졌다
  • [Lovely]boy^_^/Diary/7/15_21 . . . . 1 match
          * Grammar In Use 39-41
          * Grammar in use 42-45
          * Grammar In Use 46~49
  • [Lovely]boy^_^/EnglishGrammer . . . . 1 match
          * 동기 : 얼마전에 do 다음에는 원형이라는 중학교 입학하고 젤 첨 배운다고 할 수 있는 문법도 생각이 안나는 데에 놀란 인수군은 영문법을 대강이라도 한번 공부하기로 마음먹는다. 교재는 Grammar in USE 영어로 되어 있어서 어떻게 볼까 생각했지만.. 추천이 장난이 아니더군. 그래서 함 봐봤는데.. 오 한글보다 이해하기 쉽군. 쿠하하 정리나 해봐야겠다. 영어만 치다보면 영타도 늘겠지.
          ''영문법을 공부하려면 한국의 웬만한 교재보다는 NoSmok:GrammarInUse 가 낫습니다. 보통 Murphy시리즈라고 부르죠 -- 레벨별로 책이 따로 나와서 "시리즈"라고 합니다. 이와 함께 Azar시리즈도 많이 봅니다. 외국에 어학연수란 걸 나가면 90% 이상 이 교재로 공부합니다(고로 어학연수가서 교실에서 하는 공부는 별거 없습니다). 문법 공부를 할 때에는 레퍼런스북이 있으면 좋은데, PEU(''Practical English Usage'', Michael Swan)를 적극 추천합니다. 영어실력에 상관없이 두고 두고 유용하게 사용할 것입니다. see also NoSmok:영어학습법 --JuNe''
  • [Lovely]boy^_^/ExtremeAlgorithmStudy . . . . 1 match
          * IntroductionToAlgorithms
          * ["[Lovely]boy^_^/ExtremeAlgorithmStudy/SortingAndOrderStatistics"]
  • 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 =
  • erunc0/PhysicsForGameDevelopment . . . . 1 match
          * 그러나 엄청 느렸다.. 그래서.. 전부 point 로 죄다 바꾸었다..
  • fm_jsung . . . . 1 match
          * fm_jsung 뜻이 머에여? -0- free style mc jin sung 멋진 아뒤 찾는 도중에, 친구의 도움으로^^
  • gester . . . . 1 match
         수개월간 아무런 소식이 없어서, ZeroPagers 에서 ZeroWikian 으로 분류를 바꾸었습니다. 원하시면 언제든지 참여해 주세요. --NeoCoin
  • html . . . . 1 match
         Document Type Definition(Doctype). HTML 문서의 버전을 명시한다. 버전 명시 이유는 [http://hooney.net/2007/08/21/438/ 여기]에서.
  • html5/drag-and-drop . . . . 1 match
          * Event Bubbling
  • html5/section . . . . 1 match
         #redirect html5/outline
  • html5/문제점 . . . . 1 match
          * http://www.findmebyip.com/litmus#target-selector
  • html5practice . . . . 1 match
         = Think big! 우리는 창의력 대장! :) =
  • iruril . . . . 1 match
          * 신사모 : [http://sinsamo.wo.ro]
  • jQuery . . . . 1 match
         - jQuery.com introduction
          * Internet Explorer, Firefox, Safari, Opera 모두에서 작동
  • k7y8j2 . . . . 1 match
         아무런 소식이 없어서, ZeroPagers 에서 ZeroWikian 으로 분류를 바꾸었습니다. 원하시면 언제든지 참여해 주세요. --NeoCoin
  • nilath개인페이지처음화면 . . . . 1 match
          Network Programming(40% 진행)
  • snowflower/Arkanoid . . . . 1 match
         Object Programming의 일환으로 Arkanoid(벽돌깨기)를 제작하고 있습니다ㅏ.
  • source . . . . 1 match
         [1~10사이 숫자 출력, 5 제외 (continue 문 사용)]
  • whiteblue . . . . 1 match
          * ["whiteblue/LinkedListAddressMemo"]
          * ["JavaStudyInVacation"]
  • zennith/MemoryHierarchy . . . . 1 match
         === Main Memory (Virtual Memory System) ===
  • zyint/articleTest . . . . 1 match
         [zyint]
  • 강희경/질문 . . . . 1 match
         nothing
  • 개초보의 프로그래밍에 관련된 개인적인 자료처음화면 . . . . 1 match
         http://kin.naver.com/open100/db_detail.php?d1id=1&dir_id=10105&eid=R5EfswL9ADckxU2I0vzUwtUrE3Qb5J7l&l_url=
  • 걸스패닉/디자인 . . . . 1 match
          * Upload:coin.gif 코인: 점수를 나타낸다. 원래 보석으로 할려고 했으나, 내맘대로 바꿈.
  • 겨울방학프로젝트/2005 . . . . 1 match
         || [PaintBox] || 시험끝났다고 놀지 말고 3일 빡세게 해서 JAVA로 그림판 짜기 || 보창 아영 선호 ||
         || [알고리즘] || Introdution to Algorithm 으로 공부 || 상섭 선호 보창 휘동 민경 도현 ||
  • 공개선언 . . . . 1 match
         자연어처리를 이해하는 차원에서 통계 기반 분석기를 개강 전까지 만든다. FoundationsOfStatisticalNaturalLanguageProcessing 를 참조하자.
  • 공개선언/메세지 . . . . 1 match
         == [http://zeropage.org/zero/index.php?title=%B0%F8%B0%B3%BC%B1%BE%F0&url=zeropage#2.1 2007년 1월] ==
  • 구공주 나라 . . . . 1 match
          E-mail:windygirl2002 at hanmail dot net
  • 구구단 . . . . 1 match
         ||.||.||.||Python|| [구구단/김태훈-zyint]||
  • 금고 . . . . 1 match
         입력은 표준 입력(standard input)을 통해 받아들인다. 입력의 첫줄에는 테스트 케이스의 개수 T(1 <= T <= 10)가 주어진다. 각 테스트 케이스는 한줄에 빌딩 전체 층수와 금고의 개수를 의미하는 두개의 정수 N과 K(1 <= K <= N <= 500)가 순서대로 주어진다.
         === Sample Input ===
         === Extra Test Input ===
  • 기본데이터베이스 . . . . 1 match
         Insert : 새로운 자료 추가
         Delete, Modify, Search 경우 자료 없으면 Can't find 라고 출력
  • 김동경 . . . . 1 match
         * 취미 : Sing!
  • 김수경/StickyWall . . . . 1 match
          * [https://github.com/Linflus/StickyWall Repository]
  • 김영준 . . . . 1 match
         == Link (!) ==
  • 김영현의Wiki처음화면 . . . . 1 match
         [ProgrammingWithInterface] [좋은글귀s]
  • 김정욱 . . . . 1 match
          * MIK(Made In Korea) soft 의 설립. 우주 최고의 소프트웨어 개발사로 키우는 것이 목표.
          * WinCE 프로그래밍.
  • 김희성/ShortCoding . . . . 1 match
          [김희성/ShortCoding/최대공약수]
  • 남도연 . . . . 1 match
         http://165.194.17.120/~saintanger/home.htm
  • 다른 폴더의 인크루드파일 참조 . . . . 1 match
         4. Additional include directories 에 ..\socket,..\data식으로 적어준다.
  • 다이어리효율적으로사용하는방법 . . . . 1 match
         [http://zine.media.daum.net/weekdonga/200612/26/weekdonga/v15180584.html 기사내용]
  • 달라이라마와도올의만남 . . . . 1 match
          * My Point
  • 답변 및 의견 1 . . . . 1 match
          * [Eclipse/PluginUrls] : 여기 보면은 Eclipse 플러그인으로 PHP 설치하면 Eclipse 에서 작업 할 수 있어. [[BR]]가능하면 에디터 플러스는 자제하고 이클립스 쓰는게 좋을껄.. -- [(namsang)]
  • 데블스캠프2003 . . . . 1 match
         || 7월 3일 || 목요일 || 임영동(Linux) || 리눅스 ||
  • 데블스캠프2003/넷째날 . . . . 1 match
         ["데블스캠프2003/넷째날/Linux실습"]
  • 데블스캠프2003/셋째날/여러가지언어들 . . . . 1 match
         [http://165.194.17.15/pub/language/Squeak3.5-current-win-full.zip Squeak]
  • 데블스캠프2005/FLASH키워드정리 . . . . 1 match
         parseInt
         input&DynamicText&staticText
  • 데블스캠프2005/RUR_PLE/조현태 . . . . 1 match
         Upload:test_dine_4.rur
  • 데블스캠프2005/VPython . . . . 1 match
         http://vpython.org/download/VPython-Win-Py2.4-3.2.2.exe 설치
  • 데블스캠프2005/참가자 . . . . 1 match
         감기 걸려서 오늘 못 갈꺼 같네. 내일 세미나를 해야겠어..ㅠㅠ --[fnwinter]
  • 데블스캠프2006 . . . . 1 match
         "선언적 프로그래밍(Declarative Programming)과 J 언어"를 주제로 강의해 드릴 수 있습니다. 혹시 생각이 있으면 연락하세요. --JuNe
  • 데블스캠프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]
  • 데블스캠프2006/준비/월요일 . . . . 1 match
         [http://wiki.izyou.net/moin.cgi/Zeropage/DevilsCamp2006]
  • 데블스캠프2006/화요일 . . . . 1 match
         [데블스캠프2006/화요일/pointer]
  • 데블스캠프2009/금요일/연습문제 . . . . 1 match
         == ACM & Short Coding - 김수경 ==
  • 데블스캠프2009/목요일 . . . . 1 match
         [http://inyourheart.biz/Midiout.zip Midi자료받기] - [조현태]
  • 데블스캠프2009/수요일 . . . . 1 match
         || 이병윤 || RootKit || Windows의 구조와 IA32 의 구조를 간단하게 설명. 커널레벨로의 접근을 이용한 간단한 루트킷 작성 || ||
  • 데블스캠프2009/수요일후기 . . . . 1 match
          * '''서민관''' - kernal이나 어셈블러 언어 등 전까지 별로 접할 일이 없던 생소한 개념들이 많이 나와서 솔직히 쉽지는 않았습니다. 그래도 OS의 구조나 Ring system 같은 것들은 개념적으로라도 알아두면 괜찮을 것 같네요. 그리고 전날 혁준 선배가 설명해준 dll에 대해 잠깐 다시 복습할 수 있었던 것도 좋았고요. 아쉬웠던 점은 역시 수업이 너무 고수준이라서 대략적인 이해만 하고 넘어가야 했던 것입니다. 그리고 수업 이후에 개인적으로 VMware의 사용법을 가르쳐 주신 것은 정말 감사합니다. 선배가 제 구세주입니다.
  • 데블스캠프2009/월요일후기 . . . . 1 match
          * [김준석] - 과거 06년도 데블스 캠프때 서버 할당받아서 svn잠깐 써보고 그다음에 전혀 써보지않았던 svn... 다시쓰기가 난감 할정도는 아니었지만 까는거에서 에러나면 어떻게 하는거야? 뭐여튼 nForge로 할당받아서 프로젝트 하나하나 올리면 되겠는데 문제는 이게 제로페이지 공용이라서 과연 학생들이 학업중 팀프로젝트때도 쓸려나.. 사용법을 가르쳐주는것 만으로 충분하긴 한데.. Zeropage내의 프로젝트는 얼마 되지 않는데;; 외부프로젝트라도.. 몇개나 올라올지는 모르겠지만 일단봐야지. 한 4~5개만 나와도 엄청난 프로젝트 갯수를 채우는 거겠군.. 프로젝트 진행중 중요한건 여러명의 개발자가 사용한 프로그램이기에 주석과 구조 그리고 변수건 함수건간에 서로 알아보기 쉽게 암묵적인 규약이라도 있어야된다는거 하긴 혼자할때는 그런거 필요없지만 SVN을 통해 올리는 프로젝트는 그렇게 해야 참고하고 구경하러온 학우들에게 도움이 될테니까. 특별히 코드레이스는 엄청나게 신경쓰면서 열심히 해봤는데 마지막에 올릴때 그것의 미인증이 인터넷을 막는 바람에 못올린것에 전산센터는 좀 반성해야되! 그리고 아쉬운점은 코드레이스는 좀더 늦게하고 제로페이지에 참가한 학우들에게 알고리즘이나 객체, 구조 함수에대해서 좀더 알려주고 조금 더 생각할 문제를 풀었으면 재밌었을텐데.. 난 printf()만 나오는 그리는 문제에는 잼병이란 말이다! 그렇다고 머리를 잘쓰는건 아니지만. 뭐.. 그렇듯 코드로 짜는건 빠른 손가락만 움직이면 되지만 푸는건 머리라는 사실은 변함이 없다. 코드레이스때 특정함수를 쓰게해서 DBMS나 라이브러리 북을 찾아보는 연습하는것도 좋았을텐데... 뒤에서 원그리고 있는데 앞에서 로보코드하고있을때는 안습. 끝나고 포트2 강추.
  • 데블스캠프2010/넷째날/후기 . . . . 1 match
          * 참 재밌었습니다. "쿠키와 세션"에 대한 내용도 조금 알 수 있었고 웹의 작동 원리를 알 수 있어서 좋았습니다. AJAX가 등장한 이유도 재밌었구요 ㅋㅋ 또 하나의 웹 페이지처럼 보이지만 실상은 여러 페이지를 include 한 것을 보고, "아 이런 원리였구나" 하고 깨닫게 되었습니다. 참 신기하고 재밌네요 ㅋㅋ C++0x도 역시 흥미로웠습니다. 새로운 문법들 중 &&를 이용한 우측값 참조, 이걸 들어보니깐 점점 C++은 접근하기 어려운 언어가 되어가는 듯한 느낌을 받았습니다... 하지만 저는 성능을 더욱 개선시킬 수 있다는 점에서 새로운 것을 알아 좋았습니다. - [박성현]
  • 데블스캠프2010/다섯째날/ObjectCraft . . . . 1 match
         1. Factorize, [REFACTORING]
          || zergling || 5 || 0 || 50 ||
  • 데블스캠프2011/넷째날/Android . . . . 1 match
          * 주제 : Android for Beginner
  • 데블스캠프2011/다섯째날/후기 . . . . 1 match
          * 수경이의 String 코드 레이스에서 저의 프로그래밍 달리기를 너무 빡세게 했던게 부끄러워서 이번엔 1학년 학우(저 같은 경우 성화수 학우)에게 설명해주고 그 학우가 하고 싶은 스펙으로 함께 프로그래밍 하고자 많이 노력했습니다. 파트너 교체 후 순의랑 파란 바를 만들어버리는 실수를 저지르긴 했습니다만 제가 부족한 탓이었구요-_-;; 개인적으로 화수의 '0층부터 지하까지' 아이디어는 신선했어요. 형진이가 처음에 의도했던 엘레베이터 문제(밖에서 누르고 층을 누르는 케이스)는 다른 클래스도 필요하고 일단 화수를 이해시키는데에 초점을 둬서 그걸 못 푼 점은 좀 아쉬웠어요.
  • 데블스캠프2011/둘째날/Scratch . . . . 1 match
          * http://info.scratch.mit.edu/Scratch_1.4_Download
  • 데블스캠프2011/셋째날/RUR-PLE/권순의 . . . . 1 match
         for number in range (2):
  • 데블스캠프2011/셋째날/RUR-PLE/박정근 . . . . 1 match
          if facing_north():
  • 데블스캠프2011/셋째날/RUR-PLE/변형진 . . . . 1 match
         for num in [5,4,3,2,1]:
  • 데블스캠프2011/셋째날/RUR-PLE/서영주 . . . . 1 match
         for i in range(0, 3):
  • 데블스캠프2011/셋째날/난해한프로그래밍언어 . . . . 1 match
          * 아희 표준: http://puzzlet.springnote.com/pages/219209
  • 데블스캠프2011/첫째날/후기 . . . . 1 match
          * Playing with Java시간에는 지금까지 한번도 써보지 못했던 이클립스를 써봤는데 아직은 문법을 잘 몰라서 약간 생소했지만 좋은 경험이었다고 생각합니다. 또 처음으로 여러 팀에서 각자 담당한 프로그램들을 짜서 그 다음에 붙여보는 활동을 했는데 재미있고 새로운 시간이었습니다.
  • 데블스캠프2012/넷째날/묻지마Csharp . . . . 1 match
         === Mission 3. Timer & String ===
  • 데블스캠프2013/넷째날/후기 . . . . 1 match
          * 전체적인 진행도 그렇고 내용도 그렇고 지금 ZP에서는 보기 힘든 분야가 되어버린(...) 부분을 지원 선배가 센스 있게 다루어 주셔서 좋았습니다. 시간은 다소 촉박했지만 그래도 바쁜 상황에 비해 꽤 매끄럽게 진행을 하시지 않았나 싶습니다. 다만 좀 아쉬운 점이라면 jenkins나 sonar를 쓰는 법도 혹시 다루지 않을까 싶었는데 그 부분이 없었다는 점이겠네요... 개인적으로 관심이 있었는데 ㅠㅠ - [서민관]
  • 로보코드/베이비 . . . . 1 match
         Upload:baby.Soomin_1.0.jar
  • 류상민 . . . . 1 match
         #redirect NeoCoin
  • 리팩토링 . . . . 1 match
         #redirect Refactoring
  • 마름모출력 . . . . 1 match
          || 김태훈 || 파이선 || || [마름모출력/zyint] ||
  • 맞춤교육 . . . . 1 match
         [http://news.kbs.co.kr/news.php?id=694145&kind=c 기업, '맞춤교육' 대학에 요구]
  • 몸짱프로젝트/BucketSort . . . . 1 match
          * 개발방식 : TestDrivenDevelopment using [JUnit]
  • 문서구조조정 . . . . 1 match
         새로 페이지를 만들어주거나, 기존의 스레드 토론에서의 의견, 주장 등의 글들을 요약 & 정리 해줌으로서 해당 주제를 중심으로 페이지의 내용이 그 주제를 제대로 담도록 해준다. 이는 프로그램 기법에서 일종의 ["Refactoring"] 과 비슷한 원리이다.
  • 문제풀이 . . . . 1 match
         || 00 || [임인택] (in Python) ||
  • 박성현 . . . . 1 match
          1. INS ( Image Network Service ) - ( 2010년 )
          1. Win32API - ( 2010년 ~ 2011년 )
  • 박소연 . . . . 1 match
         지금 나는 데블스캠프에서 공부ing?????????ㅋㅋ
  • 박정근 . . . . 1 match
         Linus;;;;;
  • 박지호 . . . . 1 match
          * [새싹교실/2011/AmazingC]
  • 박진섭 . . . . 1 match
         DeleteMe [홈페이지Template] 를 참고로 하여 페이지를 구성하시기를 추천합니다. --NeoCoin
  • 박진하 . . . . 1 match
         = http://jinahut.mr4u.com =
  • 박치하 . . . . 1 match
         치하 안녕~ [http://165.194.87.227/zero/index.php?url=ZeroWiki&title=%B1%E8%C1%F8%C7%CF 클릭하지마요!]
  • 배열초기화 . . . . 1 match
         int a[100]
  • 배진호 . . . . 1 match
          * [http://www.cyworld.com/bloodjino 싸이주소] 진부하다고 하지만 아직 합니다
  • 병희 . . . . 1 match
         수개월간 아무런 소식이 없어서, ZeroPagers 에서 ZeroWikian 으로 분류를 바꾸었습니다. 원하시면 언제든지 참여해 주세요. --NeoCoin
  • 봄과프로젝트 . . . . 1 match
         || windowsAPI || [이승한], [조동영] ||
  • 불의화법 . . . . 1 match
          * Title : 불의 화법(In the line of fire)
  • 상민 . . . . 1 match
         #redirect NeoCoin
  • 상협/100문100답 . . . . 1 match
         Smile again
  • 새싹교실/2012 . . . . 1 match
         ||3||[새싹교실/2012/startLine]||서민관, 박환희, 이성훈, 최재현|| 12회차 진행|| ||
  • 새싹교실/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]페이지처럼 주제별로 정리할 수 있습니다.
  • 새싹스터디2007/영동 . . . . 1 match
          * printf() 함수, scanf() 함수.
  • 생각을곱하는모임 . . . . 1 match
         Seminar:생각을곱하는모임
  • 생각하는프로그래밍 . . . . 1 match
         처음 읽었던 때를 대학교 2학년 가을학기로 기억한다. 어디서 봤는지 기억나질 않지만(지금은 찾을 수도 없다) " [ProgrammingPearls]라는 책이 있는데, 연습문제를 다 풀어보는데 6개월이 걸렸다"라는 서평을 읽은 후(들었는지도 모르겠다) 한 번 도전해보자는 마음으로 도서관에서 책을 빌렸다. 봄학기에 자료구조 수업을 재미있게 들었던 터라 자신감마저 가지고 원서를 읽기 시작했다.
  • 설득의심리학 . . . . 1 match
          * 작은 약속부터 시작하는 문전 걸치기 기법(the foot in the door technique)
  • 속죄 . . . . 1 match
          * My Point
  • 송년회날짜정하기 . . . . 1 match
          * 이거 왜 지워요;; 올해 말에 또 써먹으면 되지요 --NeoCoin
  • 수면과학습 . . . . 1 match
          * Jenkins & Dallenbach(1924) 실험
  • 순수원서 . . . . 1 match
         E-mail : choiwscj at intizen 점 com
  • 시간관리인생관리/요약 . . . . 1 match
          * 우리는 충동에 의해서 행동하는 정도를 확인하려고 한다. '''규정하기(Labelling)''' 연습을 해보자.
  • 시작 . . . . 1 match
         }}} [[ISBN(ISBN 숫자,KR]] [[FullSearch(내용단어)]] [[PageList(제목단어)]] [[RSS(RSS주소,5)]] [[LinkCount(페이지제목)]]
  • 실시간멀티플레이어게임프로젝트/프레임워크 . . . . 1 match
         - login.py: 로그인 화면
  • 아잉블러그 . . . . 1 match
         [LinuxServer]페이지의 오류로 분리된 페이지.
  • 안녕하세요 . . . . 1 match
         === 반가워~ 난 진하야 저 사진 디게 웃긴다 ㅋㅋㅋ [http://165.194.87.227/zero/index.php?url=ZeroWiki&title=%B1%E8%C1%F8%C7%CF 클릭하지마요!] ===
  • 안윤호의IT인물열전 . . . . 1 match
         [http://www.zdnet.co.kr/programming/technews/article.jsp?id=63523&forum=1 오타쿠와 프로그래머는 닮은꼴?]
  • 안전한장소패턴 . . . . 1 match
         ...좋은 물리적 환경 (CommonGroundPattern, PublicLivingRoomPattern)은 어떤 스터디 그룹에서든 필수적이다. 이 패턴에서 설명하는 지성적 환경 역시 마찬가지로 필수적이다.
  • 암호화실습 . . . . 1 match
         SeeAlso [http://kin.naver.com/browse/db_detail.php?dir_id=1&docid=265235 아스키코드표]
  • 양쪽의 클래스를 참조 필요시 . . . . 1 match
         1. Set 함수를 만들어서 pWnd Setting
  • 역링크 . . . . 1 match
          * [http://www.caucse.net/phpwiki/index.php?역링크 역링크]
  • 열정적인리더패턴 . . . . 1 match
         스터디 그룹은 지속적인 에너지(EnduringEnergyPattern)를 갖고 안전한 장소([안전한장소패턴])가 되기 위한 리더십이 필요하다. 이 패턴은 이런 특성을 만들기 위해 리더가 해야할 일을 설명한다.
  • 예수는신화다 . . . . 1 match
          * My Point
  • 우리가나아갈방향 . . . . 1 match
         이 말의 의도는 충분히 이해를 하지만 오해의 소지가 있을 것 같아 사족을 답니다. 모여서 할 수 있는 공부가 분명히 있습니다. 이것은 혼자서만 할 수 있는 공부와는 다릅니다. 모여서 하면 아주 좋은 성과를 볼 수 있는, 그러나 혼자서는 하기 힘든 그런 공부가 분명히 있습니다. 수프를 먹으면서 포크의 "비어있음"을 탓하고 스푼의 "차있음"을 찬양하지만, 과일을 먹으면서는 포크의 "비어있음"을 고마워하고 스푼의 "차있음"을 비난하는 법입니다. 사건(event)과 물건(thing), 즉 사물에는 "나"와의 관계 속에서 그것의 "도"를 밝혀주는 길과 쓰임이 생깁니다. 그 길로 다니면 편하고 자연스럽고 쓸모를 얻지만, 자신이 길을 억지로 내려고 하면 불편하고 거북하며 쓸모를 얻지 못합니다. --김창준
  • 위키메뉴얼 . . . . 1 match
         현재까지 완성된 메뉴얼의 모습: [http://rkd49.zeropage.org/index.php]
  • 위키설명회 . . . . 1 match
          * Rename, [문서구조조정]을 통해서 [Refactoring]을 경험하고, 이것이 프로그래밍의 영역에서 어떠한 관점을 가지고 있는지 이야기 해 본다.
  • 유럽여행 . . . . 1 match
         http://www.snailhome.com/new_minbak/europe
  • 이정화 . . . . 1 match
          정화야 안녕. 오티때 같은방 진하다 ㅋ 아침인데 졸라 졸려 -_-; [http://165.194.87.227/zero/index.php?url=ZeroWiki&title=%B1%E8%C1%F8%C7%CF 클릭하지마요!]
  • 이진훈 . . . . 1 match
         == ..ing? ==
  • 이학 . . . . 1 match
         단. 목적과 방향성없는 질문. 그리고 [http://kldp.org/KoreanDoc/html/Beginner_QA-KLDP/ 잘만들어진 메뉴얼을 읽지 않은 상태에서의 질문] 은 조금 생각해봐야 하지 않을까요. 이미 좋은 문서가 있는 가운데에서 선배들이 할 일은 '고기낚는 법' 을 가르쳐주는 것일지도.
  • 임다찬 . . . . 1 match
         나중에 [JollyJumpers] - dynamic programming 사용하나요???
  • 임인택/Link . . . . 1 match
          * [http://www.keysound.com/index.htm KeySound]
  • 임인택/Temp . . . . 1 match
         http://zeropage.org/~dduk/dcmp/wxPython2.6-win32-unicode-2.6.0.1-py24.exe
  • 임인택/책 . . . . 1 match
         The elements of programming style
  • 임지혜 . . . . 1 match
         == Link ==
  • 자료병합하기/임인택 . . . . 1 match
         === haskell built-in 함수와 lambda function 이용 ===
  • 자리수알아내기/나휘동 . . . . 1 match
         numDigit n base = ceiling (logBase base n) + 1
  • 장용운 . . . . 1 match
         Windows API
  • 장창재 . . . . 1 match
          * 막연히 검색하라는 것보다, 검색보다는 따라갈수 있는 길을 안내해드리는 것이 더 좋지 않을까요? ZeroWikian 에서 ZeroWiki를 참고하시거나, ZeroPagers 를 참고하세요. --NeoCoin
  • 재미있게공부하기 . . . . 1 match
         NeoCoin군은 재미있게 숙제하는 요령을 익힌 것 같다. 축하한다. 후배들을 위해 그 요령을 한번 풀어놓아보겠니? --JuNe
  • 전시회 . . . . 1 match
         == Comming Soon ==
  • 전철에서책읽기 . . . . 1 match
         작년 1월에 지하철을 타며 책읽기를 했는데 한 번쯤 이런 것도 좋을 듯. 나름대로 재미있는 경험. :) Moa:ChangeSituationReading0116 --재동
  • 정모/2002.11.13 . . . . 1 match
          DeleteMe) 이날 참석한 인원을 적어주세요. 해당 정보는 차후 회원 구분이 있을때 필요한 자료입니다. --["neocoin"]
  • 정모/2002.3.28 . . . . 1 match
          * 광고 - 학기중에 Generic Programming 을 공부 합시다. --상민
         PHP, 아파치, java, 파이썬, 모인모인, RESIN, mysql,
  • 정모/2002.5.16 . . . . 1 match
          * HCI(Human Computer Interaction)발표 하겠습니다. 이번 심리학과 리포트 때문에 작성하던 것인데, 같이 하시는 분께서 관련 업계 종사자라서, 너무 많은 자료 때문에 제가 치일 정도 입니다. 일단 방대한 자료는 필요시 드릴수 있고, (관련 논문, Samsung 개발자료 etc, xp, aqua, palm guide line 등) 발표 골자는 기본적으로 심리학의 이해 시간에 발표 자료 기반으로 컴공과에 맞추어 발표 하겠습니다. 못했지요. 약간 아쉽네요. 차후 HCI자료가 필요하신분이 있거나, 이런 분야도 있구나 란걸 알고 싶으면 세미나 해드립니다. --상민
  • 정모/2002.7.25 . . . . 1 match
          linked from ["즐거운공부"]
  • 정모/2002.9.12 . . . . 1 match
          1. 서버 해킹 -> neocoin 계정 해킹. 무작위 IP 로 패킷보내는 프로그램 설치하여 학교 네트워크 마비 => 전산센터에서 ZeroPageServer 블럭킹 => 외부접속 중단 => 서버관리자(99' 류상민)의 노력으로 서비스 재개
  • 정모/2003.1.15 . . . . 1 match
          * Java - 곧 시작할 예정... (["JavaStudyInVacation"] 참조)
          * 그 밖에 진행하고 싶은 스터디 - Windows API 와 MFC 스터디를 2월 중에 하기로 했음
  • 정모/2003.12.1 . . . . 1 match
          * Linux - 2명
  • 정모/2003.2.12 . . . . 1 match
          * 반갑습니다. 그런데 어쩌다가 여기에.. ;; --NeoCoin
  • 정모/2003.8.26 . . . . 1 match
         || Linux || 1 ||
  • 정모/2003.9.9 . . . . 1 match
          * 현재 위키의 이용율로는 위키에서 해결하는 것을 원하지 않습니다. 극단적으로는 정모에 참석한 사람들에 한하여 발급하고 싶기도 합니다. 식정모 참석도 저조하고, 스터디 참석도 저조한 상태에서 계정을 할당 받기는 어렵다고 생각합니다. 일단 9월 달 내로 제한없이 발급하고, 결정에 따라서 이후에 정리하는 방향으로 했으면 좋겠습니다. --NeoCoin
  • 정모/2004.3.2 . . . . 1 match
          * RummikubProject - continued
  • 정모/2004.5.21 . . . . 1 match
          과거에 대학원에 이야기해서 대학원실을 빌려서 사용했습니다. --NeoCoin
  • 정모/2004.8.9 . . . . 1 match
          *여러 팀이 각자의 프로토타입을 제작 ([ZeroPageMagazine]의 [나휘동]의 의견 참고)
  • 정모/2004.9.14 . . . . 1 match
         || 해킹 || [Hacking] || 홍선, 세환||
  • 정모/2005.2.2 . . . . 1 match
          위키 설명회는 회원모집날에 같이 하기로 하였고, 프로그램 배틀과 Joint 엠티는 일단 보류되었으므로 나중에 정해지면
  • 정모/2005.4.4 . . . . 1 match
          * 와해 분위기. WinAPI 프로젝트 새로 진행, smallTalk 본격추진.
  • 정모/2005.5.23 . . . . 1 match
         제안사항 : OOP, C//C++의 차이, JAVA 맛보기, 네트워크, 자료구조, Linux, C(주입식교육), 알고리즘
  • 정모/2005.9.13 . . . . 1 match
          * [EmbeddedLinux] : 이승한, 이영호
  • 정모/2005.9.5 . . . . 1 match
          * MFC, [EmbeddedLinux]
  • 정모/2006.1.12 . . . . 1 match
          * Point
  • 정모/2006.2.2 . . . . 1 match
         각자 Point 1점씩 줌.
  • 정모/2007.3.27 . . . . 1 match
         zeropage.org 3/27 meeting
  • 정모/2007.3.6 . . . . 1 match
         ...........................오늘 교양학교 등등의 바쁜일들이 많으므로 이 문제점은 다음에 다시 논의 하기로 합니다....................................To Be Continue
  • 정모/2011.11.30 . . . . 1 match
          * Agile Korea에 갔던걸 공유하지 못해 아쉽네요. 11학번들에게 Agile이 무엇인지 설명해줄 수 있을 수는 있을만큼 배워왔는데 다음시간에라도 공유할 수 있으면 좋겠어요. 성준이가 Paros를 통해 진경이 소스를 받아오는건 마치 데켐때 Cracking시간이 연상되는 OMS였습니다. 저번시간에 이어 재밌었어요!ㅋㅋ -[김태진]
  • 정모/2011.5.23 . . . . 1 match
         == SEMINAR ==
          * 휴면회원 [김홍기]의 [wiki:SibichiSeminar/TrustModel 이 사람이 휴면회원인 이유]
  • 정모/2011.7.11 . . . . 1 match
          * 주제 : Macintosh
  • 정모/2011.9.20 . . . . 1 match
          * [Spring/탐험스터디]
  • 정모/2012.1.20 . . . . 1 match
          * Spring - 이번주에 하지 못했음.
  • 정모/2012.11.19 . . . . 1 match
         == Judging Systems ==
  • 정모/2012.12.3 . . . . 1 match
          * Mindstorm을 가져가버려..?!
  • 정모/2012.5.7 . . . . 1 match
          * [Spring/탐험스터디]
  • 정모/2012.6.4 . . . . 1 match
          * [김준석]학우의 Mp3 태그달기, 새싹들과 함께하는 Planting 게임
  • 정모/2012.7.18 . . . . 1 match
          * 수요일 : callback 함수의 개념과 Javascript의 Event Handler 사용. 표준이 제정되지 않은 상황에서 Cross Browsing은 힘들다.
  • 정모/2012.8.8 . . . . 1 match
          * Spring - Secure...를 사용하지말자.??
  • 정모/2012.9.17 . . . . 1 match
          * ACM - 대학생 경진대회 목표, 방학 때 1주에 2번씩 만나 공부, 저번 주 목표: Binary 문제 구현, 쉬운 문제 풀어서 자신감 회복... 이번 주 : 으아아아아아아
  • 정모/2013.3.25 . . . . 1 match
          * printf, scanf 배운 반
  • 정모/2013.7.8 . . . . 1 match
          * code formatting에 대한 내용을 공부. 프로젝트에 대한 것을 하나 정해서 그걸 리펙토링 하는 방향으로 진행 방향정함.
  • 정모/2013.8.12 . . . . 1 match
          * 제로페이지에는 안드로이드 개발 기기(Nexus 7)을 비롯해 Kinect, 아두이노 등 개발을 위한 기기가 마련되어 있습니다.
  • 정모/안건 . . . . 1 match
         --NeoCoin
  • 정신병원에서뛰쳐나온디자인 . . . . 1 match
          * My Point
  • 정우 . . . . 1 match
         DeleteMe ZeroPagers 에 들어간다면, [홈페이지Template] 를 참고해서 자신의 페이지를 꾸며주세요. --NeoCoin
  • 정의정 . . . . 1 match
          * 07' 정의정-koalacousin
  • 정진균 . . . . 1 match
         #redirect comein2
  • 조현태/놀이/네모로직풀기 . . . . 1 match
          Upload:nemo_dine.jpg
  • 조현태/블로그 . . . . 1 match
         http://inyourheart.biz/Lock.gif
  • 중위수구하기/김태훈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 -_-ㅋㅋ --영호
  • 지금그때/도우미참고 . . . . 1 match
         Seminar:OpenSpaceTechnology
  • 지금그때2003/토론20030310 . . . . 1 match
          * Opening Questions - 대화를 할때 다른 사람들에게 의미를 줄 수 있는, 또는 다른 사람의 말문을 여는데 도움이 될 질문들. 또는, 주제에 가까운 질문들에 대해.
  • 지금그때2004/여섯색깔모자20040331 . . . . 1 match
         하양 : 작년 기준으로 볼때 홍보 횟수대비 신청자는 linear(비례)하게 증가하였다.
  • 지금그때2004/패널토의질문지 . . . . 1 match
         See Also [질문의힘],[지금그때/OpeningQuestion]
  • 지금그때2004/회의20040322 . . . . 1 match
         그럼 페이지 지우던지; 계속 잡담을 하자 --NeoCoin
  • 지금그때2005 . . . . 1 match
          * [지금그때/OpeningQuestion]
  • 지금그때2005/회의20050318 . . . . 1 match
          처음 나누어 주는 메뉴판에는 어느정도 [지금그때/OpeningQuestion]이 적혀있는 상태
  • 진법바꾸기 . . . . 1 match
         === input ===
  • 진트 . . . . 1 match
         #redirect zyint
  • 질문레스토랑 . . . . 1 match
          * 처음 나누어 주는 메뉴판에는 어느정도 [지금그때/OpeningQuestion]이 적혀있는 상태
  • 질문의힘 . . . . 1 match
          * My Point
  • 창섭/Arcanoid . . . . 1 match
          * 학교 Object Programming 숙제. -_-;;
  • 창섭/BitmapMasking . . . . 1 match
         || SRCPAINT || OR 연산 ||
         || SRCINVERT || XOR 연산 ||
         || 원본과 상대할(?) 색 || SRCAND(AND)의 결과 || SRCPAINT(OR)의 결과 ||
         http://165.194.17.15/~wiz/data/zpwiki/originalbmp.bmp
          1. 그림을 '''SRCPAINT''' 연산 한다.
          1. 마스크를 '''SRCPAINT''' 연산 한다.
  • 창섭/삽질 . . . . 1 match
          * type casting 에 의한 data 손실이 일어나는 곳을 추측하자.
  • 컴퓨터고전스터디 . . . . 1 match
         요즘 전산학과 대학생들이 모여서 리눅스 해킹법이니, MFC API니 하는 걸 같이 스터디하는 것도 나름대로 의미가 있겠지만 컴퓨터계의 고전 하나를 제대로 스터디하는 것은 어떨까 합니다. ''군자무본 본립이도생. 군자는 근본에 힘을 쓰니, 근본이 서야 길이 생기기 때문이다.''라는 말이 논어에 나오죠. 나이가 아직 어리고, 시간적 여유가 있는 때에는 어떤 구체적인 "기술"보다 좀더 일반적이고 보편적이며 이론적인 사유를 훈련하는 것이 좋지 않을까요. 구체적 기술은 거기에 갖혀버리는(Lock-In) 경향이 있습니다. 2-3년 뒤에는 쓸모없어진다든가 하는 것이죠. 하지만 고전은 대부분 앞으로도 10년은 족히 유효한 것들입니다. 꾸준히 재해석될 가능성이 있는 것들이고, 무엇보다 문제의식과 함께 치밀한 사유를 배우는 겁니다. 생각하는 법 말이죠.
          * 2004년 여름방학 현재 TheArtOfComputerProgramming으로 진행
  • 코바용어정리 . . . . 1 match
         == 동적 호출 인터페이스(DII : Dynamic Invocation Interface) ==
         == 동적 스켈레톤 인터페이스(DSI : Dynamic Skeleton Interface) ==
         ORB 인터페이스는 애플리케이션에 중요한 지역 서비스에 대한 API들로 구성되어 있지 않다. 이것은 곧바로 ORB로 가는 인터페이스이고 모든 ORB들에 대해 동일하다.ORB 인터페이스는 객체 어댑터 또는 객체 인터페이스에 의존하지 않는다. 대부분의 ORB의 기능이 객체 어댑터, 스텁, 스켈레톤 또는 동적 호출 등을 통해서 제공되므로 몇몇 오퍼레이션만이 모든 객체들에 대해 공통이다. 공통 오퍼레이션에는 get_interface와 get_implementation 같은 함수가 포함되어 있는데, 이것들은 임의의 객체 레퍼런스에 작용하며 각각 인터페이스 저장소 객체와 구현 저장소 객체를 얻는 데 사용된다.
  • 타도코코아CppStudy . . . . 1 match
          * FileInputOutput
          * 저도 잘 안써서 모르지만 F9 키로 break point 를 잡은 뒤, F11 키를 누르면 debug 가 되는 걸로 알아요^^ - 대근([CherryBoy])
  • 타도코코아CppStudy/0804 . . . . 1 match
         || Seminar:SpiralArray || . || . || . ||
  • 토비의스프링3/밑줄긋기 . . . . 1 match
         [토비의스프링3], [Spring/탐험스터디]
  • 통찰력풀패턴 . . . . 1 match
         대화 시 분위기는 중요한 역할을 한다. 어떤 환경은 대화를 촉진시키지만(CommonGroundPattern, PublicLivingRoomPattern), 그렇지 않은 환경도 있다.
  • 파스칼삼각형/변형진 . . . . 1 match
         모두가 알다시피 파스칼삼각형은 조합(Combination)에 관한 도형이다.
  • 페이지지우기 . . . . 1 match
         '''If you want to delete this page, YouNeedToLogin.''' 현재 ZeroWiki 에서 Delete''''''Page 권한은 계정 관리자가 갖고 있습니다. 로그인한 사용자도 그 권한을 사용할 수 있도록 한 단계 더 공개하는건 어떨까요? security.py 에서 {{{~cpp self.delete = self.delete and user.valid}}} 이 한 라인을 추가하면 됩니다. --["데기"]
  • 포커솔리테어평가 . . . . 1 match
         [컴공과프로그래밍경진대회] [4rdPCinCAUCSE]
  • 프로그래밍잔치/ErrorMessage . . . . 1 match
          ''내가 swing을 잘 몰라서, 상욱이한테 바꾸자구 그래써..^^ --은지''
  • 현재시간 . . . . 1 match
         link : Upload:handclock.swf
  • 환경의중요성 . . . . 1 match
         제로페이지는 훌륭한 공동체이다. 그들은 끊임없이 배우려고 하고 새로운 문화를 창출해 내려 한다. 단지 아쉬운건 그들에게 필요한 환경이 부족하다는 것이다. (TomDeMarco 가 PeopleWare에서 언급한 모델이나 AgileModeling에 언급되는 CavesAndCommon과 같은 장소적 측면에서의 환경) - [임인택]
  • 회원 . . . . 1 match
         == Link ==
  • 회원자격 . . . . 1 match
          * ["neocoin"]:나도 정말 동의, 그 몇번이란건 사전 연락 없이 2번 불참 이후 본인 의사 결정이면 적당할것 같다. --상민
Found 3644 matching pages out of 7555 total pages (5000 pages are searched)

You can also click here to search title.

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