DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
c++ map values range
To map [A, B] --> [a, b] use this formula (val - A)*(b-a)/(B-A) + a
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#map
#values
#range
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit