CAssign[lhs,rhs]is a symbolic representation of an assignment statement.
To use SymbolicC you first need to load the package:
This is a basic assignment:
This assigns the location pointed to by pt to 10:
This declares a variable and assigns it:
You can use different operators. This adds 5 to a and assigns the result in a:
You can give a list of right-hand values. This is useful for initializing an array:
ToCCodeString COperator CDeclare