in the skeleton code that my instructor provided, he has some assert (boolean statement) calls. is assert a keyword in C++ and is it a built-in method ...? do i need to put something at the top of my code to make sure it is called?

at the top of my code right now i have

#include <iostream>
using namespace std;

#include "file in the system that has a few things .. but no assert"

and then my class declaration starts.

thanks
charity

assert is a macro that's defined in the <cassert> header.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.