'Programming > php' 카테고리의 다른 글
php 로그인 예제 2 (0) | 2016.12.27 |
---|---|
php pdo? - PHP Data Object (0) | 2016.11.23 |
php 버전 및 년도 (0) | 2016.10.11 |
php get / post 변수 그리고 global 변수 (0) | 2016.10.11 |
php 디버그 메시지 출력하게 하기 (0) | 2016.10.10 |
php 로그인 예제 2 (0) | 2016.12.27 |
---|---|
php pdo? - PHP Data Object (0) | 2016.11.23 |
php 버전 및 년도 (0) | 2016.10.11 |
php get / post 변수 그리고 global 변수 (0) | 2016.10.11 |
php 디버그 메시지 출력하게 하기 (0) | 2016.10.10 |
4.1도 아닌 4.0 대로 테스트 하려면.. 우분투로는 무리구나...
04.10 부터 나왔으니 우분투는.. 2004년 이라 4.2 버전 이상일 듯?
[링크 : http://old-releases.ubuntu.com/releases/]
[링크 : https://en.wikipedia.org/wiki/PHP#Release_history]
4.1.0 $_POST $_GET 변수들 추가
4.0.6
[링크 : http://www.php.net/ChangeLog-4.php]
+
ubuntu
04.10 php 미존재
05.04 php 미존재
08.04 php5
php pdo? - PHP Data Object (0) | 2016.11.23 |
---|---|
php template (0) | 2016.11.14 |
php get / post 변수 그리고 global 변수 (0) | 2016.10.11 |
php 디버그 메시지 출력하게 하기 (0) | 2016.10.10 |
php 구버전 post 변수. (0) | 2016.10.10 |
구버전(4 이전)에서는 그냥 변수로 다 넘겨 주었던 듯?
$_GET['varname'];
$_POST["varname"];
[링크 : http://phplecture.com/19]
$GLOBALS['varname']
php template (0) | 2016.11.14 |
---|---|
php 버전 및 년도 (0) | 2016.10.11 |
php 디버그 메시지 출력하게 하기 (0) | 2016.10.10 |
php 구버전 post 변수. (0) | 2016.10.10 |
php hiphop (0) | 2016.07.14 |
php.ini에 하는것도 있지만
php 파일에서 직접할 수 있는게 편하긴 하네..
<?php error_reporting(E_ALL); ini_set("display_errors", 1); $string = "Hello World ! <br/>" echo $string ?> |
php 버전 및 년도 (0) | 2016.10.11 |
---|---|
php get / post 변수 그리고 global 변수 (0) | 2016.10.11 |
php 구버전 post 변수. (0) | 2016.10.10 |
php hiphop (0) | 2016.07.14 |
php chunked encdoing (0) | 2015.02.02 |
그냥 막 보냈었구나...
<INPUT type=password name=pass size=8 maxlength=8> <INPUT type=text name=title size=60 maxlength=35> |
[링크 : http://ezphp.net/lecture/lecture26.php]
<? //데이터 베이스 연결하기 include "db_info.php"; $query = "insert into testboard values ('','$name','$email','$pass','$title','$comment',now(),'$REMOTE_ADDR',0)"; $result=mysql_query($query, $conn); |
[링크 : http://ezphp.net/lecture/lecture27.php]
헐.. 저런식의 문법으로 된거라면...
이건 무슨.. PHP3 시절인건가?!?! ㄷㄷㄷ
$_POST $HTTP_POST_VARS [deprecated] (PHP 4 >= 4.1.0, PHP 5, PHP 7) $_POST -- $HTTP_POST_VARS [deprecated] — HTTP POST variables |
php get / post 변수 그리고 global 변수 (0) | 2016.10.11 |
---|---|
php 디버그 메시지 출력하게 하기 (0) | 2016.10.10 |
php hiphop (0) | 2016.07.14 |
php chunked encdoing (0) | 2015.02.02 |
PHP 웹 다국어 지원 트릭 (0) | 2015.02.02 |
웬지 벤치마크 용으로 쓰이는 예제
카메라 위치 라던가 애니메이션이라던가
기어 크기라던가 중심으로 분석해봐야지
[링크 : https://fossies.org/dox/mesa-demos-8.3.0/glxgears_8c_source.html]
openGL Stereoscopic (0) | 2018.04.25 |
---|---|
openGL cardboard lens distortion (0) | 2018.04.25 |
opencv opengl (0) | 2016.02.26 |
opengl camera의 이해 (0) | 2016.02.02 |
myAHRS cube 예제 (0) | 2016.02.02 |
[링크 : http://www.learncpp.com/cpp-tutorial/8-8-the-hidden-this-pointer/]
문득 this를 쓰면 잘못된게 아닐까? 라는 생각
문법으로도 지원하는 자기자신을 의미하지만
크게 쓸 의미도 없고 (명시적으로 표기한다면야 머...)
굳이 명시적으로 써야할 멤버 함수 인자의 명칭과 클래스 멤버 변수가 충돌할경우?
[링크 : http://stackoverflow.com/questions/6779645/use-of-this-keyword-in-c]
[링크 : http://stackoverflow.com/questions/2337540/when-should-you-use-the-this-keyword-in-c]
c++ 함수 인자 기본값 (0) | 2017.11.08 |
---|---|
cpp string compare 와 == (0) | 2017.01.31 |
class 기본 접근제한자 (0) | 2016.07.18 |
cpp 매크로 __PRETTY_FUNCTION__ (0) | 2016.07.18 |
cpp dlopen / gcc -l (0) | 2016.07.12 |
라즈베리에서 돌릴려고 하니 이미지가 큰지 segmentation fault가 뜨네 ㅠㅠ
소스는 해당 링크에서 다운로드..
클래스는 소스가 웹상에 없으니 이메일 써주고 받는게 속 편함
[링크 : http://www.pyimagesearch.com/2016/01/11/opencv-panorama-stitching/]
ImportError: No module named cv2
요런 에러 뜨면 패키지가 덜 설치 된거니 추가 설치 필요함
$ sudo apt-get install libopencv-dev python-opencv
[링크 : http://raspberrypi.stackexchange.com/questions/29148/python-cannot-import-opencv-module]
openCV release mode와 debug mode 속도 차이 (0) | 2018.03.19 |
---|---|
openCV multicore support (0) | 2018.03.19 |
opencv stitch (0) | 2016.07.14 |
opencv rtsp (0) | 2016.07.13 |
openMP + openCV 실패한 이유가.. (0) | 2015.11.27 |
말은 거창한데..
결론
class 내에 기본적으로 모든 유형에 대해서
private:로 설정됨
[링크 : http://www.cplusplus.com/doc/tutorial/classes/]
근데 이런것도 정리 안해놧었나 -ㅁ-?!?!??
cpp string compare 와 == (0) | 2017.01.31 |
---|---|
cpp this (0) | 2016.07.18 |
cpp 매크로 __PRETTY_FUNCTION__ (0) | 2016.07.18 |
cpp dlopen / gcc -l (0) | 2016.07.12 |
cpp thread.... / pthread (0) | 2016.07.11 |
__FUNC__
는 매크로에서 지원하는 함수명 출력명인데..
클래스를 포함하려면
비표준이지만(gcc/clagn)
__PRETTY_FUNCTION__
를 쓰면 클래스:함수명 이렇게 나온다고 한다.
[링크 : http://stackoverflow.com/questions/11988895/g-function-on-methods-with-class-name]
$ cat func.cpp #include <iostream> using namespace std; class AAA { public: int a; int get(); int set(int val); }; int AAA::get() { cout << __func__ << endl; cout << __PRETTY_FUNCTION__ << endl; return a; } int AAA::set(int val) { cout << __func__ << endl; cout << __PRETTY_FUNCTION__ << endl; a = val; } int main() { AAA a; a.set(1); a.get(); return 0; } $ g++ func.cpp $ ./a.out set int AAA::set(int) get int AAA::get() |
cpp this (0) | 2016.07.18 |
---|---|
class 기본 접근제한자 (0) | 2016.07.18 |
cpp dlopen / gcc -l (0) | 2016.07.12 |
cpp thread.... / pthread (0) | 2016.07.11 |
객체지향과 if문? (0) | 2016.07.11 |