Skip to content

DOCSP-61800: CPP Getting Started - #7

Open
tmcneil-mdb wants to merge 3 commits into
mainfrom
CPP-Get-Started
Open

DOCSP-61800: CPP Getting Started#7
tmcneil-mdb wants to merge 3 commits into
mainfrom
CPP-Get-Started

Conversation

@tmcneil-mdb

@tmcneil-mdb tmcneil-mdb commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Summary | JIRA

Adds the C++ Get Started sample application under cpp/hello-world, mirroring the existing node/hello-world sample. The app connects to a MongoDB deployment using the connection string in the MONGODB_URI environment variable, seeds a few sample product documents into the get_started.products collection, then queries and prints one of them.

Changes:

  • cpp/hello-world/main.cpp — sample application
  • cpp/hello-world/CMakeLists.txt — targets the MongoDB C++ Driver (mongocxx) 3.10+
  • cpp/hello-world/README.md — setup and run instructions
  • cpp/hello-world/.gitignore — ignores build artifacts
  • Added the C++ entry to the root README

This is the sample referenced by the C++ Get Started docs page link

@tmcneil-mdb tmcneil-mdb changed the title CPP-Get-Started DOCSP-61800: CPP-Get-Started Jul 28, 2026
@tmcneil-mdb tmcneil-mdb changed the title DOCSP-61800: CPP-Get-Started DOCSP-61800: CPP Get Started Jul 28, 2026
@tmcneil-mdb tmcneil-mdb changed the title DOCSP-61800: CPP Get Started DOCSP-61800: CPP Getting Started Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant