convert this code in c++:
import java.util.Scanner;
import java.util.Stack;
// Java program for expression tree
class ExpNode {
char value;
ExpNode left, right;
public ExpNode(char item) {
this.value = item;
this.left = this.right =null;
}
}
class ExpressionTree {
//check if character is operator
boolean isOperator(char c) {
if (c == ‘+’ || c ==’-‘
|| c == ‘*’ || c == ‘/’
|| c == ‘^’) {
return true;
}
return false;
}
//function to do inorder traversal
void inorder(ExpNode t) {
if (t != null) {
inorder(t.left);
System.out.print(t.value + ” “);
inorder(t.right);
}
}
//function to do preorder traversal
void preorder(ExpNode t) {
if (t != null) {
System.out.print(t.value +
PayPal Gateway not configured
PayPal Gateway not configured