Overview

This section will walk you through authoring a Process in C++ (1199). Note that the Standard Library is authored in 1199, so the source code for this will be a valuable resource if you need more example material.

C/C++ in BRAHMS

C/C++ provides primitive numeric types like float and int, but the exact nature of these types (specifically, bit-width) cannot be relied upon across implementations (platform, compiler). Since bit-width is important in BRAHMS (because interfaces between components rely upon it) we define standardised Numeric Types in the Component Interface and use these instead of those provided by the language for communication across module boundaries. Internally to a module you can do whatever you like, but you may still find these standard types helpful.

General C++ Resources

For those who are largely familiar with C and at least the syntax of object-oriented code in C++, this is an excellent reference resource, covering all the stuff you'll need from day to day.

The FAQ Lite is a fantastic resource which will answer most of the questions that will come up when you're wondering how to use features of C++ sensibly.