Welcome to NQC

Not Quite C is a simple language with a C-like syntax that can be used to program Lego's RCX programmable brick (from the Mindstorms set). If you are just getting started with programming, then graphical environments such as the Mindstorms RIS software or Robolab are probably better choices. If, however, you're a C programmer and prefer typing a few lines to drag and drop icon programming, then NQC may be perfect for you.

NQC is free software released under the Mozilla Public License (MPL).

NXT Programming News

NQC does not currently support the new LEGO NXT programmable brick. If you want to use a high-level text-based programming language to program your NXT you should have a look at Not eXactly C (NXC). It is designed to be easy to use and very similar to NQC so that you don't have to learn a completely new programming language.


June 6, 2007 - NQC 3.1 r6 is released Minor code changes to support 64bit platforms.

October 13, 2005 - NQC 3.1 r4 is released Corrects a minor Spybot task code generation issue.

October 3, 2005 - NQC 3.1 r3 is released Fixes a bug in expressions like a = a*2 + a*3.

June 9, 2005 - NQC 3.1 r2 is released Fixes the FindWorld Spybot API function.

March 15, 2005 - NQC 3.1 r1 is released Adds support for Dick Swan's firmware. Adds LASM-compatible listing output via a new -c switch. Several API fixes and enhancements.

February 11, 2004 - NQC 3.0 a2 in beta test Fixed a bug in returning from Spybotic subroutines

January 22, 2004 - NQC 3.0 a1 in beta test Added -q quiet mode (no sound played after program download and firmware download) Improved firmware download (support for alternate firmwares and fast mode via USB tower on Windows platform) Changed asm statement to use $ rather than & Incorporated Spybotics API into built-in API definitions. Added support for more writable sources for RCX2 and Spybotics. Added support for pointers and function parameters of type int* and const int*

Send me an email if you have any questions.