#include <iostream>
using namespace std;
int main()
{
cout << "Hello, world!" << endl;
return 0;
}
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include "glog/logging.h"
#include "scaccelibrary.h"
#include <stdio.h>
#include <string.h>
#include <getopt.h>
#include <time.h>
#include <sys/time.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include<iostream>
using namespace cv;
using namespace std;
int main(int argc, char* argv[]) {
//========================start====================//
int read_num_start = 0;
int read_num_end;
Mat img;
img = imread("/root/Documents/rgb.bmp");
c++ 命名空间
所谓namespace,是指标识符的各种可见范围,bimianmingmingchongtu。C++标准程序库中的所有标识符都被定义于一个名为std的namespace中。
<iostream>和<iostream.h>不一样
后缀为.h的头文件c++