C++ queries are working in a basic form.