본문 바로가기

전체 글

php와 database 연동 $connect = mysql_connect("[hostname or op]", "[user_id]", "[user_password]");if(!$connect){ die('did not connect: ' . mysql_error());}mysql_select_db("[database_name]", $connect);#result = mysql+query("query");while ($row = mysql_fetch_array($result)){ echo $row['first_name'] . " " . $row['last_name']; echo "";}  mysql_close($connect);?> 더보기
아이폰 블랙골드 테마(Black & Gold theme) 적용하기 이 배경은 ios 3.1.3에서 적용한 것입니다. 테스트 해본결과 ios 4.0이후에서는 아래의 내용과 완벽히 적용되지 않습니다. 원인을 찾아내는대로 포스팅 할게요. 아이폰의 테마를 적용하려면 우선 탈옥을 먼저 해야 한다. 탈옥하는 방법은 아래의 링크에 자세히 나와 있다. http://blog.naver.com/bluehtmjh?Redirect=Log&logNo=30086659684 (아이폰 탈옥 방법 총정리 완전탈옥 3.1.3) [출처] 아이폰 탈옥 방법 총정리 ( 완전탈옥 3.1.3 ) |작성자 문뎅이 작업을 시작하기 전에 반드시 추가해야할 앱을 시디아에서 다운 받는다. -------------------------------------------------------------------------.. 더보기
Windows XP에서 Visual Studio 2008 설치 후 나타나는 컴파일 에러 PROBLEMS Windows XP에서 Visual Studio 2008을 사용하기 위해 인스톨을 하고 빌드를 하면 다음과 같은 에러를 볼 수 있다. " C:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxwin.h(26) : fatal error C1189: #error : Your version of the Windows SDK is earlier than 6.0. Try setting the 'WINVER' and '_WIN32_WINNT' definitions in your project to less than 0x0600. " WHY? 이유는 Visual Studio 2008 부터 만든 프로그램을 실행 시키기 위한 플랫폼 버전으로.. 더보기
아이폰 iOS 4.1 곧 탈옥 가능? (출처 : http://www.geohot.us/2010/09/greenpois0n-jailbreak-for-ios-41-is.html) 이렇게 친절하게 릴리즈 날짜 까지 가르쳐 주었네요,,;; 한국에 아이폰4가 출시된지 한달도 채 안되서 탈옥 소식을 들으니 아이폰 유저로서 이렇게 기쁠수가 없습니다! 비록 정확한 발표 날짜는 이야기 하지 않았지만 believe me, it's very soon 이라는 짧은 문구를 마지막으로 아이폰 유저들을 애타게 기다리게 만드네요 ^^ " The hacker behind SHAtter exploit has just published all decryption keys to jailbreak iOS 4.1 on iPhone 4. This means that the new .. 더보기
void pointer vs null pointer C++ Void Pointer and Null Pointer In this C++ tutorial, you will learn about two interesting types of pointers; void pointers and Null Pointer. These pointers will be discussed in conjunction with syntax, usage and example Pointer to Void General Syntax: void* pointer_variable; Void is used as a keyword. Referring back to pointer definitions and usage, it is known that the data type the pointer .. 더보기
Steve Jobs Stanford Commencement Speech I am honored to be with you today at your commencement from one of the finest universities in the world. I never graduated from college. Truth be told, this is the closest I've ever gotten to a college graduation. Today I want to tell you three stories from my life. That's it. No big deal. Just three stories. The first story is about connecting the dots. I dropped out of Reed College after the f.. 더보기
Stack ADT(Abstract Data Type) Stack ADT Definitions // Stack ADT Type Definitions typedef struct node { void* dataPtr; struct node* link; } STACK_NODE; typedef struct { int count; STACK_NODE* top; } STACK; ADT Create Stack STACK* createStack (void) { // Local Definitions STACK* stack; printf("===== createStack()\n"); // Statements stack = (STACK*)malloc(sizeof(STACK)); if(stack) { stack->count = 0; stack->top = NULL; } // if.. 더보기
7 tentpole features of iPhone OS 4.0 1. Multitasking - Background audio - Voice over IP - Background location - Push notifications - Local notifications - Task completion - Fast app switching 2. Folders - Drag and drop UI - Intelligent naming - 180 -> 2,160 apps 3. Mail - Unified inbox - Multiple Exchange accounts - Fast inbox switching - Threaded messages - Open attachments with apps 4. iBooks - Delightful ebook reader - iBookstor.. 더보기