Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
OzyMandrill
Aug 12, 2013

Look upon my words
and despair

const did you know the c in c++ stands for const








i made that up but declared it const so you can't change it.

Adbot
ADBOT LOVES YOU

Sweevo
Nov 8, 2007

i sometimes throw cables away

i mean straight into the bin without spending 10+ years in the box of might-come-in-handy-someday first

im a fucking monster

const rain yourself from posting

compuserved
Mar 20, 2006

Nap Ghost

Sweevo posted:

const ☁️💦 yourself from posting

your rein of terror ends here

Constant Hamprince
Oct 24, 2010

by exmarx
College Slice
i never use const because all my programming is in baby scripting languages like python or maybe js

Constant Hamprince
Oct 24, 2010

by exmarx
College Slice
final solution to the gnuish question

VikingofRock
Aug 24, 2008




const is awesome, and the only thing better than using const is using a language where you have to declare things mutable.

qntm
Jun 17, 2009

Ludwig van Halen posted:

i sometimes call c++ c-- because its actually worse than C!!

C-- already exists and is a different language, and I expect C!! is as well

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

qntm posted:

C-- already exists and is a different language, and I expect C!! is as well

so is C+@

Doc Block
Apr 15, 2003
Fun Shoe
I am constantly being called a Nazi, is that the same thing OP?

.lnk to the past
May 3, 2005

psoting while drunk
use whatever makes the compiler shut up and leave the fallout to some other schmuck

Fanged Lawn Wormy
Jan 4, 2008

SQUEAK! SQUEAK! SQUEAK!
i go back and forth mentally on using #define vs const for things because I don't know which hammer I should be using on all of these nails (some of which are probably screws)

Adbot
ADBOT LOVES YOU

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

VikingofRock posted:

const is awesome, and the only thing better than using const is using a language where you have to declare things mutable.

  • Locked thread