일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- xss game 풀이
- blind sql injection
- suninatas 풀이
- Pwndbg
- window
- 객체
- python
- object
- 메소드
- 자바스크립트
- 함수
- IF문
- 파이썬
- element 조회
- xss game
- 포인터
- burp suite
- document
- 김성엽 대표님
- lord of sql injection
- 백준 파이썬
- jQuery
- 배열
- htmlspecialchars
- property
- 조건문
- 백준 알고리즘
- sql injection
- 사칙연산
- github
- Today
- Total
목록언어 (193)
power-girl0-0
함수 (function) 1. 내장함수(=sql함수) 1)집계함수(=복수행함수) ->sum,avg,맥시멈,미니멈. ...등.. 2)단일행 함수 -문자형(char, varchar2)함수 :upper,lower,length,concat,substr, lpad, rpad, lterim,rtrim - 숫자형(number)함수 - 날짜형(date)함수 :sysdate -변환함수 to_date to_number 날짜 숫자 -------> 데이터에서 널값이 있으면 문제가 발생하기 쉽기 때문에 정확히 작성해야 한다. -decode함수, case문 :절차적 x 집합적 사고 , oracle advanced 기능 2.사용자 정의 함수 문자형 함수 show user desc user_objects select object_n..
scott 스키마 설치 아래는 scott.sql 파일의 내용이다. -- -- Copyright (c) Oracle Corporation 1999. All Rights Reserved. -- -- NAME -- demobld_scott.sql -- -- DESCRIPTION -- This script creates the SQL*Plus demonstration tables. -- -- USAGE -- SQL> @demobld_scott.sql -- -- -- scott/tiger 계정 생성 -- system 계정으로 접속한다. SET FEEDBACK 1 SET NUMWIDTH 10 SET LINESIZE 80 SET TRIMSPOOL ON SET TAB OFF SET PAGESIZE 999 SET ECH..
사용자 정보 확인 show user 유저에 관한 정보를 확인할 수 있다. sql developer는 sql+ 라는 에디터 명령어를 지원해준다. 환경변수 확인 & 설정 show parameter 위 명령어는 시스템 환경 변수를 볼 수 있다. show parameter nls 는 언어와 관련되어 있다. alter session set nls_date_format= 'yyyy/mm/dd hh:mi:ss'; alter 를 이용해서 환경변수의 값을 세팅할 수 있다. 위 명령어로 session 값을 바꾸었다. 오늘 날짜 확인하기 select sysdate from dual; oracle sql 에서 select 는 무조건 from 이 필요하다.(오라클은 "select"만 할 수 없다.) from 뒤에 쓸 것이 없다..
보호되어 있는 글입니다.
클래스 선언부 -> name.h #include #include using namespace std; class Account{ string name; int id; int money; public: Account(string n, int i, int m); int inquiry(); string getOwner(); int deposit(int m); int withdraw(int m); ~Account(); }; 클래스 구현부 -> detail.cpp #include #include #include "name.h" using namespace std; Account::Account(string n, int i, int m){ name = n; id = i; money = m; } int Account..
생성자와 소멸자에 대한 개념은 아래 주소를 참고해주세요 : ) ( 주소 : 2021.03.23 - [언어/C++] - [ C++ ] 클래스 & 객체) [ C++ ] 클래스 & 객체 클래스 & 객체 개요 클래스 객체를 만들어내기 위해 정의된 설계도, 틀이다. 클래스는 객체가 아니다. 클래스 내부에는 멤버변수와 멤버 함수 선언이 가능하다. 객체 객체는 생성될 때 클래 power-girl0-0.tistory.com 아래 예제는 생성자를 만들어, 이름과 나이를 입력받는 예제이다. #include #include using namespace std; class Person{ string name; int age; public: Person(); Person(string n, int a); Person(string..
#include using namespace std; class Rectangle{ public: int width; int height; int getArea(); int getdul(); }; int Rectangle::getArea(){ return width*height; } int Rectangle::getdul(){ return (width*2)+(height*2); } int main(){ Rectangle rect; rect.width =3; rect.height = 5; cout
클래스 & 객체 개요 클래스 객체를 만들어내기 위해 정의된 설계도, 틀이다. 클래스는 객체가 아니다. 클래스 내부에는 멤버변수와 멤버 함수 선언이 가능하다. 객체 객체는 생성될 때 클래스의 모양을 그대로 가지고 탄생된다. 멤버변수와 멤버함수로 구성한다. 메모리에 생성되어, 실체(instance)라고도 부른다. 하나의 클래스 틀에서 찍어낸 여러 개의 객체 생성이 가능하다. 객체들은 상호 별도의 공간에 생성된다. C++ 클래스 생성 클래스 작성 멤버변수와 멤버함수로 구성하고, 클래스 선언부와 클래스 구현부로 구성된다. 클래스 선언부 class 키워드를 이용하여 클래스를 선언하고, 멤버변수와 멤버함수를 선언한다. 멤버에 대한 접근 권한 지정한다. 접근 권한 지정에는 private, public, protect..