手動排檔
MT手排:簡單、可靠、頓挫感重、自行控管離合
自動排檔
AMT自動的手排:同MT,現少見,多為低端車使用
AT自排:檔位少則頓挫耗油、檔位多則複雜度大幅提升,保養修繕費用可觀
DSG/DCT雙離合:理念不錯,然而乾式多問題
CVT無段變速:大腳煞車、油門較傷變速箱,適合平順行駛
public native String hihi();
JNIEXPORT jstring JNICALL Java_com_example_ycsheu_myapplication_MainActivity_hihi (JNIEnv *, jobject);
class A{
void foo(){ puts("foo_A"); }
}
class B : A{
void foo() { puts("foo_B"); }
}
B b;
A *p;
p = &b;
p.foo();
class A{expected result : foo_B
virtual void foo(){ puts("foo_A"); }
}
class B : A{
virtual void foo() override{ puts("foo_B"); }
}
B b;
A *p;
p = &b;
p.foo();
class C{
virtual void haha() = 0;
}
C c; // error, abstract class can't create instance
class D : C{
virtual void haha() override{ puts("foo_B"); }
}
void foo() const
char * p;p是個指標指向char
const char *p;p是個指標指到char,這個char是常數
char const *p;p是個指標指到一個常數char
char * const p;p是個常數指標指向char
# Ubuntu
sudo apt install python python-pip python-dev
pip install --user virtualenv
cd ~
ENV_NAME=tensorflow
mkdir ~/${ENV_NAME}
virtualenv --no-site-packages ${ENV_NAME}
source ~/${ENV_NAME}/bin/activate
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.4.1-cp27-none-linux_x86_64.whl
#url https://www.tensorflow.org/install/install_linux#the_url_of_the_tensorflow_python_package
pip install jupyter pandas
# Windows
# Make sure you download 64bit version python
pip install tensorflow