TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: all
from: Roy McNeill
date: 1996-03-04 21:33:32
subject: # and _

#:



I recently wrote a teensy program to play a small tune, and used

the line



#define  C#  271



to define the integer frequency of C Sharp. The compiler (BC++4)

objected to the # in C#. I thought the preprocessor was a true

macro processor, and could handle abominations like that. Why was I

wrong?



_:



I've always been puzzled by the use of the leading underscore in C

programs. It's a standard character like a,b,c as far as the

compiler is concerned, but it appears at the front of some

constants and functions as if it has some magical significance.

What is this significance?



--- PPoint 1.88


* Origin: Silicon Heaven (3:711/934.16)
SEEN-BY: 711/809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.