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 cdb_time. Calculates minutes and seconds.
2009-12-30
Steven
Schronk
Adde
d
e
x
am
p
le cdb
_
time
.
Calcu
l
ates mi
n
ute
s
and s
e
conds
.
commit
|
commitdiff
|
tree
2009-12-30
Steven S
c
hronk
Adde
d
exmap
l
e cbd_penni
e
s_adv
.
Now calculates final
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Stev
e
n Schronk
Added example
c
b
d_pe
n
ni
e
s
.
Calcula
t
es cha
n
g
e
f
ound
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
t
even S
c
h
ronk
Added exa
m
ple cbd_lawn
.
Calculates are
a
of ya
r
d i
n
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Sc
h
r
onk
Added e
x
ampl
e
cbd_t
r
iple_int
.
Finds
t
ripl
e
s of i
n
t
egers
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Stev
e
n Schron
k
Added cbd_rand
.
Generates x r
a
ndo
m
numbers in y col
u
mns
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Steve
n
Schron
k
A
d
ded example 5-14
.
Sorts data from
s
t
d
in
.
Has
s
om
e
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
Steven Sc
h
ronk
Added example 5-13
.
Code needs a
little cleaning and
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven S
c
hro
n
k
Added e
x
ample 5-10
.
Calc prog
r
am uses command line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
Modi
f
i
ed e
x
ample 5-8
.
Array of mont
h
s removed; not
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
Added example 5-8
.
Convert
s
from days, years and yeardays
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
e
ven Schronk
Create
d
cus
t
om resuable l
i
br
a
ry o
f
fav
o
rit
e
fun
c
tion
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Ste
v
en Schronk
Added example
5-7
.
Reads input l
i
nes and stores each
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Ad
d
ed f
u
nction to e
x
amp
l
e 5-5 named strncmp
.
Compa
r
es
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
St
e
v
e
n Schronk
Added function to exa
m
p
le 5-5
n
amed str
n
cat
.
A
p
pends
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Sc
h
ronk
Added partial tuto
r
ial 5-5
.
Functi
o
n
cop
i
e
s
n c
h
ars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
teven Schronk
Added tu
t
orial 5-4
.
C
o
mpares chars at end of two arrays
.
commit
|
commitdiff
|
tree
2009-12-22
Steven Schronk
A
d
ded
example 5-3
.
Copy and concatinate strings us
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
Steven Schron
k
Ad
d
ed example 5-
1
.
N
o
t good examp
l
e of p
r
oblem for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven Schronk
Ad
d
ed tu
t
orial
4
-
1
3
.
Reverses array
u
sing
r
ecur
s
io
n
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Ste
v
en Sc
h
r
o
nk
Added t
u
to
r
ia
l
4-12
.
Con
v
e
r
ts int to arra
y
of c
h
ar
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
S
t
even Schronk
Rem
o
ved nee
d
for ungetch in
Adv
.
Calc
.
Uses static
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Sc
h
ronk
A
dv
.
Calc now supports Trig func
t
ions (sin, c
o
s, tan
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schronk
Updated A
d
v
.
Calc pr
o
gram
.
Needed a
b
ility to dupl
i
cate
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
S
t
e
ven Schro
n
k
Comme
n
ts
in tutorial 3-5 m
o
ved
to corre
c
t
location
.
commit
|
commitdiff
|
tree
2009-12-18
St
e
ven Schronk
Added
t
utorial 3-5
.
Converts int to
s
t
ring of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
Steven Sc
h
ronk
Made some small c
h
anges to convert
and example 2-
5
.
commit
|
commitdiff
|
tree
2009-12-17
S
t
e
v
en Sc
h
ronk
Merge b
r
anch 'master' of github
.
com:steven-
s
chronk
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven
Schron
k
Added pr
i
nt
and rev
e
rse stack funct
i
ons
.
St
i
ll
n
eeds
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schron
k
A
d
vanced
calculator now suppor
t
s modu
l
u
s
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Sc
h
r
o
nk
Completed tutorial
f
or 4-
2
.
Conve
r
ts
string of char
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
S
t
even Schronk
Changed per
m
issions of source files
.
commit
|
commitdiff
|
tree
2009-12-16
S
t
even Schr
o
nk
Added
c
ode for tut
o
ria
l
4-2
.
Complete and
tes
t
ed, witho
u
t
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Stev
e
n
Schronk
A
d
d
ed t
u
totial 4-1
.
Function find
s
l
a
s
t
char in string
.
commit
|
commitdiff
|
tree
2009-12-15
Ste
v
en Schro
n
k
A
dded tutorial 3-6
.
Conv
e
rts int
e
ger
int
o
array of
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Stev
e
n S
c
hro
n
k
Add
e
d tutorial 3-3
.
Pri
n
ts ou
t
stre
a
m
o
f
chars
ba
s
ed
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
S
t
even Schronk
Adde
d
program to display bits contained i
n
an integer
.
commit
|
commitdiff
|
tree
2009-12-11
S
teven Sc
h
r
o
nk
Added tutorial ex_2-5
.
Function returns l
o
c
ation
of
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Example 2-4 return
s
inidcation o
f
found
str
i
n
g
.
commit
|
commitdiff
|
tree
2009-12-11
S
t
even
S
chron
k
Added example
2
-4
.
P
r
ogr
a
m compares strings
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schro
n
k
Added progra
m
to convert Hex
i
n
t
o
D
e
c
i
m
a
l
commit
|
commitdiff
|
tree
2009-12-02
S
t
e
ven Schronk
A
d
ded program to display datatype info
.
commit
|
commitdiff
|
tree
2009-12-02
Stev
e
n Sch
r
onk
Ad
d
ed working e
x
ample of s
h
ell sor
t
.
commit
|
commitdiff
|
tree
2009-11-30
Steven Schronk
A
dded
c
alculator
a
n
d ch
a
r count
e
r examples from book
.
commit
|
commitdiff
|
tree
2009-11-26
Steven Schronk
Added tutorial 1-23
.
commit
|
commitdiff
|
tree
2009-11-25
Steven
S
ch
r
on
k
Added tutorial 1-19
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
A
dded
t
utorial 1-
1
7
.
commit
|
commitdiff
|
tree
2009-11-25
S
t
even Schronk
Added solut
i
on to p
r
oblem 1-16
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Sc
h
ronk
Examp
l
e wor
k
i
ng with char arrays
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Added program that illust
r
at
e
s passi
n
g data by
v
alue
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
Steven Schronk
I
nital Commit
commit
|
commitdiff
|
tree