5

my problem is I want to use Neo4j database from a C++ program and I read a lot, but still don't know, how can I start.

First I would like to make a connection between Neo4j and C++, and I would like to create nodes from the C++ program.

Anyone have an example code, or can somebody help, how can I start?

ASCIImau
  • 83
  • 1
  • 3

2 Answers2

8

For the upcoming binary remoting protocol there's already a driver written in C, see:

Please note that this will only work on Neo4j 3.0 builds. As of today, milestone-2 is the most current one. Be sure to read the release notes when working with milestones.

Maifee Ul Asad
  • 3,992
  • 6
  • 38
  • 86
Stefan Armbruster
  • 39,465
  • 6
  • 87
  • 97
3

There are no current C/C++ Neo4j drivers targeting Neo4j 2.x that I'm aware of. (See Stefan's answer for a C driver targeting the upcoming Neo4j 3.0 release)

However, using the transactional Cypher API endpoint you should be able to use any C++ http client / JSON parser to interact with Neo4j using Cypher.

William Lyon
  • 8,371
  • 1
  • 17
  • 22