These are cheats that ONLY work in Single Player mode in Starcraft. If you always use cheats and never won any missions or campaigns without them, then you're a newbie. Also, its more fun without cheats sometimes.
Using cheat mode:
While playing the game, push ENTER and type one of the following codes, and press ENTER again to enable the cheat. If it works, it will display "Cheat Enabled" in the game. To disable a cheat, press enter and type the cheat again and it will display "Cheat Disabled" in the game.
Power overwhelming - God mode (cannot get hurt except for some spells)
Show me the money - Gives you 10,000 ore and gas
Black sheep wall - Reaveals entire map
War aint what it - used to be Disables fog of war
Operation CWAL - Speeds construction of buildings, units, and upgrades.
Whats mine is mine - Gives you 500 ore
Breath deep - Gives you 500 gas
Something for nothing - Upgrade everything once
Food for thought - Ignore supply, psi, and underling limit. (not over 200)
The gathering - Unlimited energy
Noglues - Computer has no energy
Modify the phase variance - Build anything (ignore requirements)
Medieval man - All spells, abilities, technologies researched
There is no cow level - Ends your game as a victory
Game over man - Ends your game as a defeat
Ophelia - Enter this to enable level skipping cheat. Then enter the mission you want to skip to (i.e., "terran10") to go there. For Brood War levels type x before the levels (i.e., "xterran8")
Staying alive - Prevents the mission from ending due to victory or defeat.
Radio free zerg - This "cheat" only works if you are Zerg. It plays a secret .wav file.