Skip to content

codyfeng/kdb-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sample C++ code connecting to kdb+

How to Use

  1. Download k.h from https://github.com/KxSystems/kdb/blob/master/c/c/k.h and c.o from https://github.com/KxSystems/kdb/blob/master/l64/c.o. Put them in include/external/.

  2. Compile and build examples

    • Simple table query - examples/query_table.cpp

      g++ -std=c++11 -lpthread -o kdb_cpp include/internal/*.cpp examples/query_table.cpp include/external/c.o
      
    • A lot of test cases - examples/test.cpp

      g++ -std=c++11 -lpthread -o kdb_cpp include/internal/*.cpp examples/test.cpp include/external/c.o
      
  3. Run the binary

    ./kdb_cpp
    

About

C++ class to connect to kdb+

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published