Not null
  • 홈
  • IT정보
  • C
  • Assemble
  • Python
  • System programing
  • Window
  • Linux
  • System
  • Web
  • Network
  • Forensic
  • 메뉴 닫기
  • 글작성
  • 방명록
  • 환경설정
    • All (102)
      • network (14)
      • ARM (2)
      • Programing (41)
        • C (3)
        • Assemble (0)
        • Python (8)
        • JavaScript (1)
        • Systemprograming (0)
        • 자료구조, Algorithm (20)
        • Web (4)
        • Git (2)
        • DataBase (1)
        • 운영, 배포, 관리 (2)
      • OS (4)
        • Window (0)
        • Linux (1)
        • theory (3)
      • etc, (3)
      • Hacking (18)
        • System technique (3)
        • Web technique (6)
        • Reversing (9)
      • wargame (11)
      • project (5)
        • android (2)
        • Automated vulnerability (0)
        • Vulnerability analysis (1)
        • Malware Analysis (0)
        • Code Virtualized (1)
      • school.study (1)
  • 홈
  • 태그
  • 방명록
Programing/C

구조체와 클래스의 차이점

구조체는 함수를 멤버로 가지지못한다. 클래스는 함수를 멤버로 가질수 있다. 디폴트 접근제어자에서 차이가 있다. 구조체는 public 클래스는 private C#에서 클래스는 참조타입이고 구조체는 값을 전달받는 타입이다.

2016. 6. 18. 04:46
Programing/C

[C언어] 연산자 / 연산자 우선순위

- 대입 연산자, 산술 연산자 연산자 의미 결합성 = 대입 - 뺄셈 -> * 곱셈 -> / 나눗셈 -> % 나머지 -> -증가 연산자, 감소 연산자 연산자 의미 결합성 ++a 선 증가, 후 연산 a a>=b a가 b보다 크거나 같은가 -> -논리연산자 연산자 연산의 예 의미 결합성 && (논리 곱) [AND] 1*1 = 1(ture)1*0 = 0(false)0*1 = 0(false)0*0 = 0(false) ture면 ture를 리턴 -> ||(논리 합) [OR] 1+1 = 1(ture)1+0 = 1(ture)0+1 = 1(ture)0+0 = 0(false) 하나라도 ture면 ture를 리턴 -> ! (논리 부정) [NOT] a = 0&&1 // = 0(false)printf("%d",!a);>> 1(..

2016. 5. 11. 21:19
Programing/C

C# packet capture

art_Form.cs using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Net.Sockets;using System.Net; namespace WindowsFormsApplication{ public enum Protocol { TCP = 6, UDP = 17, Unknown = -1 }; public partial class art_Form : System.Windows.Forms.Form { private Socket mainSocket; //The..

2015. 12. 2. 18:30
  • «
  • 1
  • »

공지사항

전체 카테고리

  • All (102)
    • network (14)
    • ARM (2)
    • Programing (41)
      • C (3)
      • Assemble (0)
      • Python (8)
      • JavaScript (1)
      • Systemprograming (0)
      • 자료구조, Algorithm (20)
      • Web (4)
      • Git (2)
      • DataBase (1)
      • 운영, 배포, 관리 (2)
    • OS (4)
      • Window (0)
      • Linux (1)
      • theory (3)
    • etc, (3)
    • Hacking (18)
      • System technique (3)
      • Web technique (6)
      • Reversing (9)
    • wargame (11)
    • project (5)
      • android (2)
      • Automated vulnerability (0)
      • Vulnerability analysis (1)
      • Malware Analysis (0)
      • Code Virtualized (1)
    • school.study (1)
애드센스 광고 영역

블로그 인기글

Powered by Privatenote Copyright © Not null All rights reserved. TistoryWhaleSkin3.4

티스토리툴바