Not equal to in 'if' statements?

It's probably somewhere on the site, but how do I have a condition for an if statement that runs if a variable is not equal to something?
Something like (But in actual code)

if (var not equal to 3)
{
My code :D
}

Simple question, but been googling around and can't find anything, and can't find anything on the site :<

EDIT: Using Dev-C++ on Windows vista 32 bit, if that helps.
Last edited on
Topic archived. No new replies allowed.