a realy stupid question, how do I put char constants in my code?

Started by
10 comments, last by PPCThug 21 years, 7 months ago
strange... the last time I tried ''y'' I got a compile time error. go figure? I glanced through three c tutorials(two I''ve read and the third I''m half way through) for that and I couldn''t find a hint. thanks!


MSVC++ 6.0 intro
DX 8.0a DX SDK 6.1
win98
#define WIN32_LEAN_AND_MEAN
the Particle Projection Cannon fires a shimmering blue bolt, much like a cross between lightning and a sine wave that ripples along its path.
Bloodshed Dev-C++ 4.9.8.0 Mingw DX 9.0a DX SDK 6.1win2k#define WIN32_LEAN_AND_MEANthe Particle Projection Cannon fires a shimmering blue bolt, much like a cross between lightning and a sine wave that ripples along its path.mechwarrior 2 mercenaries, 4 particle projection cannons, thug chassis
Advertisement
you might have got a compiler error if you are using the other ` , ’ , instead of ' ( I hope these come out right! ). If you want, just hold and type in 39 in the numpad and release in MsDev, Word etc to get the actual char. (39 for UK keyboard char set anyhow ).

[edited by - mark duffill on August 27, 2002 8:23:37 PM]

This topic is closed to new replies.

Advertisement