This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Barguna", | |
"Barisal", | |
"Jhalokati", | |
"Patuakhali", | |
"Pirojpur", | |
"Bandarban", | |
"Brahmanbaria", | |
"Chandpur", | |
"Chittagong", | |
"Comilla", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 1, | |
"kind": "project", | |
"id": "R.OpenCV application", | |
"category": "I.Projects", | |
"trDescription": "Creates a simple C++ application using either qmake, CMake, or Qbs to build.", | |
"trDisplayName": "Create OpenCV application", | |
"trDisplayCategory": "Non-Qt Project", | |
"icon": "../../global/consoleapplication.png", | |
"enabled": "%{JS: [ %{Plugins} ].indexOf('QmakeProjectManager') >= 0 || [ %{Plugins} ].indexOf('QbsProjectManager') >= 0 || [ %{Plugins} ].indexOf('CMakeProjectManager') >= 0}", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%{Cpp:LicenseTemplate}\ | |
#include <iostream> | |
#include <opencv2/highgui/highgui.hpp> | |
#include <opencv2/core/core.hpp> | |
using namespace cv; | |
int main(int argc, char** argv) | |
{ | |
namedWindow("Output", 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEMPLATE = app | |
CONFIG += console c++14 | |
CONFIG -= app_bundle | |
CONFIG -= qt | |
INCLUDEPATH += G://OpenCV2Build//install//include | |
LIBS += G://OpenCV2Build//install//x64//mingw//lib//libopencv_calib3d2411.dll.a | |
LIBS += G://OpenCV2Build//install//x64//mingw//lib//libopencv_contrib2411.dll.a | |
LIBS += G://OpenCV2Build//install//x64//mingw//lib//libopencv_core2411.dll.a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
auto returnInt(void) { return 100; } | |
auto returnString(void) { return "Hello World"; } | |
auto returnDouble(void) { return 100.5; } | |
int main(int argc, char *argv[]) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 1, | |
"kind": "project", | |
"id": "R.Plain Cpp14 Application", | |
"category": "I.Projects", | |
"trDescription": "Creates a simple C++ application using either qmake, CMake, or Qbs to build.", | |
"trDisplayName": "Plain C++14 Application", | |
"trDisplayCategory": "Non-Qt Project", | |
"icon": "../../global/consoleapplication.png", | |
"enabled": "%{JS: [ %{Plugins} ].indexOf('QmakeProjectManager') >= 0 || [ %{Plugins} ].indexOf('QbsProjectManager') >= 0 || [ %{Plugins} ].indexOf('CMakeProjectManager') >= 0}", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 1, | |
"kind": "project", | |
"id": "R.Plain Cpp14 Application", | |
"category": "I.Projects", | |
"trDescription": "Creates a simple C++ application using either qmake, CMake, or Qbs to build.", | |
"trDisplayName": "Plain C++14 Application", | |
"trDisplayCategory": "Non-Qt Project", | |
"icon": "../../global/consoleapplication.png", | |
"enabled": "%{JS: [ %{Plugins} ].indexOf('QmakeProjectManager') >= 0 || [ %{Plugins} ].indexOf('QbsProjectManager') >= 0 || [ %{Plugins} ].indexOf('CMakeProjectManager') >= 0}", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEMPLATE = app | |
CONFIG += console c++14 | |
CONFIG -= app_bundle | |
CONFIG -= qt | |
SOURCES += %{CppFileName} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Default baud speed for communication | |
#define BAUD 9600 | |
//led | |
#define led 13 | |
//macro for on/off | |
#define on (digitalWrite(led, HIGH)) | |
#define off (digitalWrite(led, LOW)) | |
void setup(){ | |
Serial.begin(BAUD); |