Skip to content

The "CXX Basics" example developed during our tutorial series.

License

Notifications You must be signed in to change notification settings

KDABLabs/CXX-Basics-Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mixing C++ and Rust - Multi-Language "Hello World" with CXX

This is the code developed during this tutorial video: https://www.youtube.com/watch?v=OrvMmnzcT70&list=PL6CJYn40gN6jOg_cPqRfXMNriHknKy4VW&index=2

Building and Running

To build this project, you will need:

  • A C++ compiler (e.g. clang/gcc/msvc)
  • An installation of Rust with Cargo

You should then be able to run it with:

$ cargo run
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/cxx-basics`
Hello, World!
Bonjour, le monde!
Hallo, Welt!
Bye!
Au revoir!
Auf Wiedersehen!

License

All the code in this repository is under the MIT license (see also: LICENSE.md).

About

The "CXX Basics" example developed during our tutorial series.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published