#include #pragma hdrstop #include "Unit1.h" #pragma package(smart_init) #pragma link "CGAUGES" #pragma resource "*.dfm" TForm1 *Form1; //Thread Func DWORD WINAPI ThreadFunc(LPVOID Param) { while(Form1->m_bActive){ for(int i=0; iCGauge1->Progress++; Sleep(1); } Form1->CGauge1->Progress = 0; } return 0; } __fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { } void __fastcall TForm1::Butto..
# 어떤폼이든 처음에 폼을 만들었을때는 - Scaled = false - Position = 그때마다 다르게 설정 - CharSet = 한글로 설정 - Font = 굴림 - BorderStyle - FormStyle 1. TAdvStringGrid - FixedCols = 0 (맨앞 없애기) - Options -> goRowSelect = true (선택바) - ShowSelection = false (상태바 없애기) - Fixed Cols (컬럼 고정하기) - Fixed Font (타이틀 폰트 바꾸기) - Fixed Color (타이틀 색깔) - Navigation -> keepHorizScroll = true (스크롤시 움직이지 않기) - 정렬 switch(ACol){ case 0 : case 1 :..
#include #include #include #pragma hdrstop #pragma argsused int Sum(int a, int b) { return a+b; } int Mul(int a, int b) { return a*b; } void main(int argc, char* argv[]) { int x; int (*Func[2])(int, int); printf("Val :"); scanf("%d", &x); Func[0] = Sum; Func[1] = Mul; printf("\n%d", Func[0](3, 3)); printf("\n%d", Func[1](3, 3)); }
Operator Name ! Logical NOT. Bang. ++ -- Increment and decrement operators. * / % Multiplicative operators. + - Additive operators. > Shift operators. = Inequality comparators. == != Equality comparators & Bitwise AND. ^ Bitwise XOR. | Bitwise OR. && Logical AND. || Logical OR. ?: Conditional. = op= Assignment.
- Total
- Today
- Yesterday