This file contains 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
#pragma once | |
#include <stdio.h> | |
#include <string.h> | |
#include <string> | |
#include <vector> | |
#include <unordered_map> | |
#include <iostream> | |
#include <boost/optional.hpp> |
This file contains 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
\documentclass[letter]{res} | |
\setlength{\textheight}{9.5in} | |
%\usepackage{fontspec} | |
\usepackage{geometry} | |
\usepackage{xcolor} | |
\usepackage[utf8]{inputenc} | |
\geometry{ | |
a4paper, | |
total={210mm,297mm}, |
This file contains 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
┌─[shravan40@Shravan] - [~/work/ChangeStreet-Algorithm] - [Sat Dec 24, 17:11] | |
└─[$] <git:(mutualFundSelection*)> g++ -std=c++1y main.cpp -I ../../date -L ./cpr/build/lib -lsqlpp-mysql -lmysqlclient -lboost_system -lpthread | |
/tmp/ccyYCkCr.o: In function `main::{lambda(crow::request const&)#14}::operator()(crow::request const&) const': | |
main.cpp:(.text+0x876b): undefined reference to `cpr::Parameters::Parameters(std::initializer_list<cpr::Parameter> const&)' | |
/tmp/ccyYCkCr.o: In function `cpr::Response cpr::Get<std::string, cpr::Authentication, cpr::Parameters>(std::string&&, cpr::Authentication&&, cpr::Parameters&&)': | |
main.cpp:(.text._ZN3cpr3GetIISsNS_14AuthenticationENS_10ParametersEEEENS_8ResponseEDpOT_[_ZN3cpr3GetIISsNS_14AuthenticationENS_10ParametersEEEENS_8ResponseEDpOT_]+0x23): undefined reference to `cpr::Session::Session()' | |
main.cpp:(.text._ZN3cpr3GetIISsNS_14AuthenticationENS_10ParametersEEEENS_8ResponseEDpOT_[_ZN3cpr3GetIISsNS_14AuthenticationENS_10ParametersEEEENS_8ResponseEDpOT_]+0x75): undefined ref |
This file contains 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
┌─[shravan40@Shravan] - [~/work/ChangeStreet-Algorithm] - [Sat Dec 24, 17:01] | |
└─[$] <git:(mutualFundSelection*)> find . -name libcpr.a | |
./cpr/build/lib/libcpr.a | |
┌─[shravan40@Shravan] - [~/work/ChangeStreet-Algorithm] - [Sat Dec 24, 17:02] | |
└─[$] <git:(mutualFundSelection*)> g++-4.9 -std=c++1y main.cpp -I ../../date -L ./cpr/build/lib/libcpr.a -lsqlpp-mysql -lmysqlclient -lboost_system -lpthread | |
/tmp/ccuDKcGu.o: In function `main::{lambda(crow::request const&)#14}::operator()(crow::request const&) const': | |
main.cpp:(.text+0x876b): undefined reference to `cpr::Parameters::Parameters(std::initializer_list<cpr::Parameter> const&)' | |
/tmp/ccuDKcGu.o: In function `cpr::Response cpr::Get<std::string, cpr::Authentication, cpr::Parameters>(std::string&&, cpr::Authentication&&, cpr::Parameters&&)': | |
main.cpp:(.text._ZN3cpr3GetIISsNS_14AuthenticationENS_10ParametersEEEENS_8ResponseEDpOT_[_ZN3cpr3GetIISsNS_14AuthenticationENS_10ParametersEEEENS_8ResponseEDpOT_]+0x23): undefined reference to `cpr::Session::Session()' | |
main.cpp:( |
This file contains 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
┌─[shravan40@ChangeStreet] - [~] - [Fri Dec 16, 16:41] | |
└─[$] <> git clone git@github.com:jpbarrette/curlpp.git | |
Cloning into 'curlpp'... | |
remote: Counting objects: 1840, done. | |
remote: Total 1840 (delta 0), reused 0 (delta 0), pack-reused 1840 | |
Receiving objects: 100% (1840/1840), 2.48 MiB | 912.00 KiB/s, done. | |
Resolving deltas: 100% (1429/1429), done. | |
┌─[shravan40@ChangeStreet] - [~] - [Fri Dec 16, 16:42] | |
└─[$] <> cd curlpp && mkdir build && cd build && cmake .. | |
-- The C compiler identification is GNU 4.9.2 |
This file contains 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
┌─[shravan40@Shravan] - [~/sqlpp11/build] - [Sat Nov 19, 05:46] | |
└─[$] <git:(master*)> cmake .. | |
-- Pyparsing is installed: Enabling ddl2cpp tests. | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/shravan40/sqlpp11/build | |
┌─[shravan40@Shravan] - [~/sqlpp11/build] - [Sat Nov 19, 05:46] | |
└─[$] <git:(master*)> make | |
[ 29%] Built target sqlpp11_tests | |
[ 32%] Built target sqlpp11_result_row |
This file contains 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
crow_all.h:9382:86: error: no matching function for call to ‘crow::Crow<>::route(const char [20])’ | |
#define CROW_ROUTE(app, url) app.route<crow::black_magic::get_parameter_tag(url)>(url) | |
^ | |
main.cpp:20:5: note: in expansion of macro ‘CROW_ROUTE’ | |
CROW_ROUTE(app,"/welcome/<uint64_t>") | |
^ | |
crow_all.h:9382:86: note: candidate is: | |
#define CROW_ROUTE(app, url) app.route<crow::black_magic::get_parameter_tag(url)>(url) | |
^ | |
main.cpp:20:5: note: in expansion of macro ‘CROW_ROUTE’ |
This file contains 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
/* | |
Copyright 2007 - 2008 MySQL AB, 2008 - 2009 Sun Microsystems, Inc. All rights reserved. | |
The MySQL Connector/C++ is licensed under the terms of the GPL | |
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most | |
MySQL Connectors. There are special exceptions to the terms and | |
conditions of the GPL as it is applied to this software, see the | |
FLOSS License Exception | |
<http://www.mysql.com/about/legal/licensing/foss-exception.html>. | |
*/ |
This file contains 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 <limits> | |
#include <iostream> | |
int firstNonRepeatingInteger(int* input, int n) | |
{ | |
int min = std::numeric_limits<int>::max() ; | |
int max = std::numeric_limits<int>::min() ; | |
// Find min/max values in input array. | |
for(int i = 0; i < n; ++i) |
This file contains 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> | |
#include<vector> | |
using namespace std; | |
int main() | |
{ | |
cout<<"Enter the number of element in sequence : "; | |
int n; | |
cin>>n; | |
vector<int> data; | |
int temp; |
NewerOlder