repo.or.cz
/
C-Programming-Examples.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Added example cbd_rand_dist. Generates random numbers and displays distribution.
2009-12-30
Steven Schronk
Added ex
a
mple cb
d
_
rand_dist
.
Gen
e
ra
t
es random numbers
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
Ste
v
en Schronk
Added example cdb_time
.
Cal
c
ulates m
i
nutes a
n
d
s
ec
o
nds
.
commit
|
commitdiff
|
tree
2009-12-30
Steven
Schr
o
nk
Added ex
m
aple
cbd_pe
n
nies_adv
.
Now calculates final
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schronk
Added exa
m
ple cbd_pen
n
ies
.
Calculates change found
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
tev
e
n S
c
hronk
Added
ex
a
mple cbd_lawn
.
Calculat
e
s are
a
o
f
ya
r
d
in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schronk
Added
e
x
ample cbd_triple_int
.
Finds t
r
i
p
les
o
f i
n
t
egers
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
t
ev
e
n Sc
h
ronk
Added c
b
d_r
a
nd
.
Generates x ra
n
dom numbers in y columns
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Steve
n
S
c
h
r
on
k
Added exa
m
ple 5-14
.
Sorts data from stdin
.
Has so
m
e
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
Steven Schronk
A
dded example 5-1
3
.
Code need
s
a littl
e
cleaning and
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven
S
chronk
A
d
ded example 5-10
.
Calc program uses command line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven
Sch
r
onk
Modifie
d
example 5-8
.
Array of months removed
;
not
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Ste
v
en Schronk
Added e
x
ample 5-8
.
Converts
from days, years and yeardays
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven
Schronk
Created cust
o
m res
u
able library of
favorite funct
i
ons
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schron
k
Added example 5-7
.
Reads input
l
ines and stores each
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schron
k
Added functio
n
to example 5-5 named st
r
ncmp
.
Comp
a
res
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steve
n
Schronk
A
d
ded
f
unction to example 5-5 named strnc
a
t
.
Appen
d
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
St
e
ve
n
S
chron
k
Added pa
r
tial tutorial 5
-
5
.
Function c
o
pie
s
n chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
St
e
v
e
n
Schronk
Ad
d
ed tutorial 5-4
.
C
ompares
chars at e
n
d
o
f two arrays
.
commit
|
commitdiff
|
tree
2009-12-22
Steven Schronk
A
dded examp
l
e
5-
3
.
Copy a
n
d
concatinate str
i
ngs using
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
S
teven Schronk
A
d
ded example 5-1
.
Not good exampl
e
of
problem for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven
Schro
n
k
A
dded tut
o
ria
l
4-1
3
.
Reverses a
r
ray using recu
r
sion
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven
Schronk
Added tutorial 4-12
.
Converts int to a
r
ray of char
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schron
k
Removed need for ungetch in A
d
v
.
Calc
.
U
ses static
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
S
tev
e
n Schronk
Adv
.
C
alc now supp
o
rts Trig
functions (sin,
c
os, tan
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schronk
Upda
t
e
d Adv
.
Calc program
.
Neede
d
ability to duplicat
e
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
Steven Schro
n
k
Comm
e
n
t
s in tutorial
3-
5
moved
t
o cor
r
ect locat
i
on
.
commit
|
commitdiff
|
tree
2009-12-18
S
t
even Schr
o
nk
Added
t
utorial 3
-
5
.
Converts int
t
o string of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
S
teven Schronk
Mad
e
some sm
a
ll c
h
anges to conver
t
and
e
xample 2-
5
.
commit
|
commitdiff
|
tree
2009-12-17
S
t
even Schronk
Merge branch 'master' of github
.
com:steven-schronk
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Sc
h
ron
k
Added print
a
n
d
r
e
v
ers
e
stack fun
c
tio
n
s
.
Stil
l
needs
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Advanced calculat
o
r no
w
s
upports modulus
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schr
o
nk
C
ompleted tutorial f
o
r 4-2
.
Converts stri
n
g of
chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
S
t
even Sch
r
o
n
k
Changed perm
i
ssi
o
ns
o
f
so
u
rce files
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Sch
r
onk
Add
e
d code for tutori
a
l 4
-
2
.
Complete
a
nd te
s
ted, witho
u
t
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven S
c
hr
o
nk
Adde
d
tuto
t
ial 4-1
.
Fu
n
ction finds last char in
s
tr
i
ng
.
commit
|
commitdiff
|
tree
2009-12-15
St
e
ven Schron
k
Adde
d
t
u
torial 3-6
.
C
o
nverts integer into array of
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
St
e
ven Schronk
Added tutorial 3-3
.
P
rints out
s
tream
of chars
b
a
s
ed
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Added
p
rogr
a
m to display bits contained
i
n an integer
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schr
o
nk
Added
t
uto
r
ial ex_2-5
.
Funct
i
on retu
r
ns locati
o
n o
f
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven
Schronk
Exampl
e
2-4 r
e
turns inidcatio
n
of
found
s
tr
i
n
g
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Adde
d
example
2
-4
.
P
rogr
a
m compares strings
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schron
k
Added program to c
o
nvert Hex into Deci
m
al
commit
|
commitdiff
|
tree
2009-12-02
Steven
S
chronk
Added program to display dat
a
type info
.
commit
|
commitdiff
|
tree
2009-12-02
Steven Schronk
A
dded working example of shell sort
.
commit
|
commitdiff
|
tree
2009-11-30
Steve
n
Schronk
Added cal
c
ulator and char
counter examples from book
.
commit
|
commitdiff
|
tree
2009-11-26
Steve
n
S
chronk
Added tutorial 1-23
.
commit
|
commitdiff
|
tree
2009-11-25
Stev
e
n
S
chr
o
n
k
Ad
d
e
d
tutorial 1-19
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Sc
h
r
o
nk
Added
tutorial 1-17
.
commit
|
commitdiff
|
tree
2009-11-25
S
teven Schronk
A
dded s
o
lution to problem 1-16
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Examp
l
e work
i
ng with char
a
rrays
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Sch
r
onk
Ad
d
ed program that
i
llustrat
e
s pa
s
sing d
a
ta by
value
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
Steven Schr
o
nk
I
n
ital Com
m
it
commit
|
commitdiff
|
tree