add a StackDemo in cpp