🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by uncsmb Tue, 26 May 1981 10:39
casts and constants
#1
Author: uncsmb
Date: Tue, 26 May 1981 10:39
11 lines
442 bytes
The Ritchie C compiler does not treat the construct

	(char) 100

as a constant.  This means that statements like

	switch(c) {
		case (char) 0x80:	foobar();

are illegal.  The Portable C compiler on the 11, and the VAX C compiler
do not suffer from this problem.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads