[ create a new paste ] login | about

chatsiri.ratana

Name: chatsiri.ratana
Email:
Site/Blog: http://www.chatsiri.com
Location: Thailand
Default language: C++
Favorite languages: C++
About: Let's talk about programming.

Saved pastes by chatsiri.ratana:

C++, pasted on Feb 20:
1
2
3
4
5
#ifndef CONNECTIONDB_H
#define CONNECTIONDB_H
#include "dbclient.h"
#include "connectiondb.h"
class ConnectionDb {
...
view (21 lines)
C++, pasted on Feb 20:
1
2
3
4
5
#include "connectiondb.h"

ConnectionDb::ConnectionDb(){
	connection.connect("localhost");
	std::cout<<"Connection to Database start..."<<std::endl;		
...
view (46 lines, 3 lines of output)
C++, pasted on Feb 20:
1
2
3
4
5
#include <iostream>
#include "dbclient.h"
#include "connectiondb.h"

using namespace mongo;
...
view (14 lines)
C++, pasted on Jan 25:
1
2
3
4
5
class ControlConfig {

public:
	static ControlConfig &instance();
	virtual void op1 = 0; 
...
view (50 lines)
C++, pasted on Jan 25:
1
2
3
4
5
class ControlConfig {

public:
	static ControlConfig &instance();
	virtual void op1 = 0; 
...
view (50 lines)
C++, pasted on Jun 20:
1
2
3
4
5
#include"Apr_xml.h"
#include"Apr_xml.cpp"
int main(){
        /*create object */
	apr_status_t  rvStatus;
...
view (13 lines)
C++, pasted on Jun 20:
1
2
3
4
5
//Apr_XML.h
#ifndef APR_XML_H_
#define APR_XML_H_

#ifdef HAVE_CONFIG_H
...
view (55 lines, 4 lines of output)
C++, pasted on Jun 20:
1
2
3
4
5
//Apr_XML.cpp
#include "Apr_xml.h"

Apr_xml::Apr_xml( const char * fileName ): fName( fileName ){
	/* apr initial */
...
view (66 lines, 3 lines of output)
Plain Text, pasted on May 30:
1
2
3
4
5
MYLIBPATH = ['/usr/lib','/usr/lib/gcc/x86_64-redhat-linux/4.3.0','/usr/lib64','/usr/local/apr/lib']

MYCPPPATH = ['/usr/include/c++/4.3.0','/usr/include','/usr/local/apr/include/apr-1/',
              '/home/Chatsiri/workspacecpp/apr/']
USED_LIBS = ['pthread',
...
view (14 lines, 1 comment)
C++, pasted on May 30:
1
2
3
4
5
#ifndef APRIMPLEMENT_H_
#define APRIMPLEMENT_H_
#include<iostream>
#include <apr_general.h>
#include <stdio.h>
...
view (38 lines)
C++, pasted on May 30:
1
2
3
4
5
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include "APRImplement.h"
...
view (86 lines, 1 comment)
Plain Text, pasted on Dec 27:
1
2
3
4
5
MYLIBPATH = ['/home/Chatsiri.rat/bdb/lib',
             '/usr/lib','/usr/lib/gcc/x86_64-redhat-linux/4.3.0','/usr/lib64']
MYCPPPATH = ['/usr/include/c++/4.3.0','/usr/include',
              '/home/Chatsiri.rat/workspacecpp/dbTest/src']
USED_LIBS = ['db_cxx',
...
view (15 lines)
C++, pasted on Dec 20:
1
2
3
4
5
/* retive database */
#ifndef RETIVEDATABASE_H_
#define RETIVEDATABASE_H_

#include<iostream>
...
view (95 lines)
C++, pasted on Dec 20:
1
2
3
4
5
/*EnvTest.h*/
#ifndef ENVTEST_H_
#define ENVTEST_H_

#include <sys/types.h>
...
view (97 lines)
C++, pasted on Dec 20:
1
2
3
4
5
/*main() EnvTest */
/* base int main() */
#include <sys/types.h>
#include <iterator>
#include <algorithm>
...
view (336 lines)
C++, pasted on Dec 19:
1
2
3
4
5
/* RetiveData.h */
#include <sys/types.h>

#include <errno.h>
#include <iostream>
...
view (90 lines)
C++, pasted on Dec 19:
1
2
3
4
5
/* BufferRetive.h */
#ifndef BUFFERRETIVE_H
#define BUFFERRETIVE_H
#include<iostream>
#include <sys/types.h>
...
view (93 lines)
C++, pasted on Dec 19:
1
2
3
4
5
/* base int main() */
#include <sys/types.h>
#include <boost/lambda/lambda.hpp>
#include <iterator>
#include <algorithm>
...
view (359 lines)
C++, pasted on Nov 23:
1
2
3
4
#ifndef ENVTEST_H_
#define ENVTEST_H_

#include <sys/types.h>
...
view (103 lines)
C++, pasted on Nov 23:
1
2
3
4
5
//for insert key and data (main)
#include <sys/types.h>

#include <errno.h>
#include <iostream>
...
view (206 lines)
C++, pasted on Nov 10:
1
2
3
4
5
#include "ClassImple.h"
#include<iostream>
ClassImple::ClassImple(int _valueOne,int _valueTwo)
{
	valueOne_ = _valueOne;
...
view (53 lines)
C++, pasted on Nov 10:
1
2
3
4
5
#ifndef CLASSIMPLE_H_
#define CLASSIMPLE_H_

class ClassImple
{
...
view (23 lines)
Plain Text, pasted on Oct 25:
1
2
3
4
5
MYLIBPATH = ['/home/Chatsiri.rat/bdb/lib',
             '/usr/lib','/usr/lib/gcc/x86_64-redhat-linux/4.3.0']
MYCPPPATH = ['/usr/include/c++/4.3.0','/usr/include']
USED_LIBS = ['db_cxx',
             'pthread']
...
view (14 lines)
C++, pasted on Oct 25:
1
2
3
4
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <db_cxx.h>
...
view (67 lines, 3 lines of output)