본문 바로가기

Visual Basic5

몫과 나머지 구하기 오늘은 간단하게 몫과 나머지를 구하는 방법을 알아보겠습니다. 몫을 구하는 연산자 : \ 나머지를 구하는 연산자 : Mod 전체소스 실행결과 의외로 프로그램을 짜다보면 기본적인 연산자를 몰라서 어려움을 겪는 때가 많은데 기본에 충실하여 보다 좋은 프로그램을 작성하시는데 도움이 되시길 바랍니다. 2008. 7. 22.
2진수와 16진수로 변환해주는 프로그램 오늘은 간단하게 10진수를 2진수와 16진수로 바꿔주는 프로그램을 간단하게 만들어 보았습니다. 16진수로 변환하는 함수 : Hex() 2진수로 변환 : modulo를 이용해서 실행결과 4달 동안 학원에 다닌 결과물로 프로젝트를 수행중인데 제가 맡은 부분 1. VB2005f를 사용하여 socket 을 이용한 멀티 메시지 프로그램 2. MSSQL2005 DB handling (시간이 되면 오라클로 하고 싶은데..시간이 없음..-.,-;;) 3. Crystal report를 이용한 멋진(?) 결과물 (예전에 많이 써 본 SAS 의 현란한 결과보고서에 비하면 턱없이 부족하지만..ㅋㅋ) 물론 내가 맡은 부분 관련하여 학원에서 알려준 부분은 2번의 간단한 사용법 정도지만...ㅋㅋ 1번은 했고 2번, 3번은...선행.. 2008. 7. 17.
A destructor method in a class A destructor method in a class Within a class, a destructor method lets the class perform “cleanup” processing before the garbage collector(GC) releases the memory that holds an object. I explained GC through last lecture. Let’s refer to last lecture http://fromyou.tistory.com/entry/memory-management-In-the-NET-environment Well, To specify the processing you want a program to perform before an o.. 2008. 6. 26.
how to Initialize Class Member Variables Initializing Class Member Variables When you create a class object, you will normally immediately assign values to specific class member variables. For example, the following code fragment defines a Person class that contains fields for a Name, Age, OfficeNumber, and CellularPhoneNumber: Class Person Public Name As String Public Age As Integer Public OfficeNumber As String Public CellularPhoneNu.. 2008. 6. 24.