Haxe
  • Home
  • Download
  • Blog
  • Use Cases
    • Overview
    • Games
    • Web
    • Mobile
    • Desktop
    • Command Line
    • Cross Platform APIs
    • Who Uses Haxe
  • Haxe Foundation
    • About The Foundation
    • Who is who
    • Jobs
    • Supported Projects
    • Support Plans
    • Donate
    • Branding
    • Shop
    • Open Source
    • Contact
  • Support Plans
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Forums
    • Chat
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact
PHP untyped functionsGetting started with Haxe/C++
  • Introduction
    • What is Haxe?
    • About this Document
      • Authors and contributions
      • License
    • Hello World
    • History
  • Types
    • Basic Types
      • Numeric types
      • Overflow
      • Numeric Operators
      • Bool
      • Void
    • Nullability
      • Optional Arguments and Nullability
    • Class Instance
      • Class constructor
      • Inheritance
      • Interfaces
    • Enum Instance
      • Enum Constructor
      • Using enums
    • Anonymous Structure
      • JSON for Structure Values
      • Class Notation for Structure Types
      • Optional Fields
      • Impact on Performance
      • Extensions
    • Function Type
      • Optional Arguments
      • Default values
    • Dynamic
      • Dynamic with Type Parameter
      • Implementing Dynamic
      • Dynamic access
      • Any type
    • Abstract
      • Implicit Casts
      • Operator Overloading
      • Array Access
      • Enum abstracts
      • Forwarding abstract fields
      • Core-type abstracts
    • Monomorph
  • Type System
    • Typedef
    • Type Parameters
      • Constraints
    • Generic
      • Construction of generic type parameters
    • Variance
    • Unification
      • Between Class/Interface
      • Structural Subtyping
      • Monomorphs
      • Function Return
      • Common Base Type
    • Type Inference
      • Top-down Inference
      • Limitations
    • Modules and Paths
      • Module Sub-Types
      • Import
      • Import defaults / import.hx
      • Resolution Order
  • Class Fields
    • Variable
    • Property
      • Common accessor identifier combinations
      • Impact on the type system
      • Rules for getter and setter
    • Method
      • Overriding Methods
      • Effects of variance and access modifiers
    • Access Modifier
      • Visibility
      • Inline
      • Dynamic
      • Override
      • Static
  • Expressions
    • Blocks
    • Constants
    • Array Declaration
    • Object Declaration
    • Field Access
    • Array Access
    • Function Call
    • var
    • Local Functions
    • new
    • for
    • while
    • do-while
    • if
    • switch
    • try/catch
    • return
    • break
    • continue
    • throw
    • cast
      • unsafe cast
      • safe cast
    • type check
  • Language Features
    • Conditional Compilation
    • Externs
    • Static Extension
      • In the Haxe Standard Library
    • Pattern Matching
      • Introduction
      • Enum matching
      • Variable capture
      • Structure matching
      • Array matching
      • Or patterns
      • Guards
      • Match on multiple values
      • Extractors
      • Exhaustiveness checks
      • Useless pattern checks
      • Single pattern check
    • String Interpolation
    • Array Comprehension
    • Map Comprehension
    • Iterators
    • Function Bindings
    • Metadata
    • Access Control
    • Inline Constructors
  • Compiler Usage
    • HXML
    • Global Compiler Flags
  • Compiler Features
    • Built-in Compiler Metadata
    • Dead Code Elimination
    • Compiler Services
      • Overview
      • Field access completion
      • Call argument completion
      • Type path completion
      • Usage completion
      • Position completion
      • Top-level completion
      • Completion server
    • Resources
    • Runtime Type Information
      • RTTI structure
    • Static Analyzer
  • Macros
    • Macro Context
    • Arguments
      • ExprOf
      • Constant Expressions
      • Rest Argument
    • Reification
      • Expression Reification
      • Type Reification
      • Class Reification
    • Tools
    • Type Building
      • Enum building
      • @:autoBuild
      • @:genericBuild
    • Limitations
      • Static extension
      • Build Order
    • Initialization Macros
  • Standard Library
    • String
    • Data Structures
      • Array
      • Vector
      • List
      • GenericStack
      • Map
      • Option
    • Regular Expressions
      • Matching
      • Groups
      • Replace
      • Split
      • Map
      • Implementation Details
    • Math
      • Special Numbers
      • Mathematical Errors
      • Integer Math
      • Extensions
    • Lambda
    • Template
    • Reflection
    • Serialization
      • Serialization format
    • Xml
      • Getting started with Xml
      • Parsing Xml
      • Encoding Xml
    • Json
      • Parsing JSON
      • Encoding JSON
      • Implementation details
    • Remoting
      • Remoting Connection
      • Implementation details
    • Unit Testing
  • Haxelib
  • Target Details
    • JavaScript
      • Getting started with Haxe/JavaScript
      • Using external JavaScript libraries
      • Using Untyped JavaScript
      • JavaScript untyped functions
      • JavaScript target Metadata
      • Exposing Haxe classes for JavaScript
      • Loading extern classes using "require" function
    • Flash
      • Getting started with Haxe/Flash
      • Embedding resources
      • Using external Flash libraries
      • Flash target Metadata
    • PHP
      • Getting started with Haxe/PHP
      • PHP untyped functions
    • C++
      • Getting started with Haxe/C++
      • The Hxcpp Build Environment
      • build.xml File Format
      • Using C++ Defines
      • The Hxcpp Cache
      • Threads And Stacks
      • Defines
      • Build.xml
      • Build.xml - Structure of the top-level
      • Build.xml - Files
      • Build.xml - Tags
      • Build.xml - Targets
      • Build.xml - Compiler
      • Build.xml - Linker
      • Build.xml - Stripper
      • The Haxe Target
      • Xml Injection
    • Cppia
      • Getting started with Haxe/Cppia
    • Java
      • Getting started with Haxe/Java
    • C#
      • Getting started with Haxe/C#
      • .NET version and external libraries
      • Haxe/C# Defines
      • Haxe/C# Metadata
      • Injecting raw C# code
    • Lua
      • Getting started with Haxe/Lua
      • Using external Lua libraries
      • Version flags
      • Multireturns
  • Debugging
    • Logging and Trace
    • Position Information Parameter
    • Tracing Types
    • Debugging in JavaScript
    • Source Maps
      • Source Maps in JavaScript
      • Source Maps in Php7

12.5 C++

12.5.1: Getting started with Haxe/C++

12.5.2: The Hxcpp Build Environment

12.5.3: build.xml File Format

12.5.4: Using C++ Defines

12.5.5: Using C++ Pointers

PHP untyped functionsContribute to this pageGetting started with Haxe/C++

  • Home
    Download
    Blog
    Support Plans
  • Use Cases
    • Overview
    • Games
    • Web
    • Mobile
    • Desktop
    • Command Line
    • Cross Platform APIs
    • Who Uses Haxe
  • Haxe Foundation
    • About The Foundation
    • Who is who
    • Jobs
    • Supported Projects
    • Support Plans
    • Donate
    • Branding
    • Shop
    • Open Source
    • Contact
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib

© 2019 Haxe Foundation | Contribute to this page