MsPage
  • HOME
  • self_driving_lidar
    • Nuvo6108GC Ubuntu Installation
    • Xavier environment installation
    • Velodyne 相關紀錄與議題
  • Study Note
    • Ubuntu
    • Tensor to TensorRT
    • C++
    • Qt5 & QtCreator
    • ROS
  • Python Study Note
    • Flask
  • CHEATSHEET
    • Git CheatSheet
    • Ros Launch Attribute
    • Vim Command (basic)
  • SAMPLE CODE
    • Rosbag Extractor in Python
Powered by GitBook
On this page
  • c++ 中 :: . -> 的差異
  • c++中 * 與 & 的意義
  • new宣告
  • include <ssstreamm>
  • Debug 好用關鍵字

Was this helpful?

  1. Study Note

C++

c++ 中 :: . -> 的差異

  • class::method 用於 Class

  • struct.obj 用於結構內物件

  • struct->pointer 用於結構內指標物件

c++中 * 與 & 的意義

int p = 17 #此時 p 為完整變數, p 為記憶體地址

int v = 17 #此時 v 為完整變數, &v 為記憶體地址

new宣告

代表配置一個無初始值僅有型態的變數

include <ssstreamm>

用於做字串與其他型態的轉換

Debug 好用關鍵字

cout << __FILE__ << endl;  //for file
cout << __LINE__ << endl;  //for line number
PreviousTensor to TensorRTNextQt5 & QtCreator

Last updated 6 years ago

Was this helpful?