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
Added exam
p
l
e
c
db_time
.
Calcul
a
te
s
minu
t
e
s
a
n
d s
e
conds
.
commit
|
commitdiff
|
tree
2009-12-30
St
e
ven
Sch
r
on
k
Added exmapl
e
cbd_pennies_adv
.
No
w
c
a
lc
u
lates final
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steve
n
Schronk
Added exa
m
ple cbd_pennies
.
Calculate
s
change found
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
St
e
ve
n
Sc
h
ronk
Added
examp
l
e
cbd_lawn
.
Calculates
a
rea
of yar
d
in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schr
o
nk
A
dded examp
l
e cbd_triple_int
.
Finds triple
s
of in
t
e
gers
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
teven Schr
o
nk
Add
e
d cbd_rand
.
G
enerates x random
nu
m
b
e
r
s in y c
o
lumns
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Steven
Schronk
Added exa
m
p
l
e 5-14
.
Sorts data from stdi
n
.
Has some
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
S
t
even Schronk
Added ex
a
mple
5-13
.
C
ode n
e
eds a little
clea
n
ing and
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schr
o
n
k
Added exa
m
p
le 5-10
.
Cal
c
prog
r
am uses co
m
m
a
n
d line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
Mo
d
i
f
ied
ex
a
mple 5
-
8
.
A
r
r
a
y
o
f
month
s
r
emoved;
n
ot
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
S
t
even Schro
n
k
Added
ex
a
mple 5-8
.
Conve
r
t
s
f
r
om days, years and yearda
y
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steve
n
Schro
n
k
Create
d
custom re
s
u
able library
o
f
favorit
e
functio
n
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven
Sc
h
ronk
Added examp
l
e 5-7
.
Re
a
ds input
l
ine
s
an
d
stores
each
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven S
c
hronk
A
dde
d
function to exa
m
ple 5-5 named strn
c
mp
.
Compares
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
eve
n
Sch
r
o
nk
A
d
ded function to example 5-5 named
s
trncat
.
Appends
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Ste
v
en Schronk
A
d
d
e
d
partial tutor
i
a
l
5-5
.
Function copies n chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
A
d
d
ed tutorial 5-4
.
Com
p
a
res chars at end o
f
two arrays
.
commit
|
commitdiff
|
tree
2009-12-22
Stev
e
n
S
chro
n
k
A
d
d
e
d
example 5-3
.
Copy and concatinate strings usin
g
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
Steven Schronk
Ad
d
ed example
5-1
.
No
t
g
o
od exa
m
p
l
e of
problem for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven Schronk
Added tut
o
rial 4-13
.
Rever
s
es array using
r
e
cursion
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Stev
e
n
S
chronk
Added
t
utorial 4-12
.
Conve
r
t
s
int to
a
rray of ch
a
r
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Stev
e
n Schronk
R
e
moved ne
e
d for ungetch in Adv
.
Calc
.
U
ses stat
i
c
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven S
c
hr
o
nk
Adv
.
Calc
n
ow
s
u
pports Trig functions
(
sin, cos, tan
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
S
t
e
ve
n
Sch
r
o
nk
U
p
da
t
ed Adv
.
Ca
l
c p
r
ogram
.
Nee
d
ed
a
b
ility to dupli
c
ate
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
St
e
ven Schronk
Comments in tutorial
3-5 m
o
v
ed to correct locatio
n
.
commit
|
commitdiff
|
tree
2009-12-18
Steven Schr
o
n
k
A
dded tutori
a
l 3-5
.
Converts in
t
to
s
tri
n
g
o
f char
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
Steven
Sch
r
onk
Made
some small
c
hanges to convert an
d
example 2-
5
.
commit
|
commitdiff
|
tree
2009-12-17
Steven
Schronk
Me
r
ge branc
h
'master
'
of github
.
c
o
m:steven-
s
chro
n
k
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
S
teve
n
Schro
n
k
Ad
d
e
d p
r
int
a
n
d
r
everse sta
c
k functions
.
Still need
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
A
d
vance
d
cal
c
ulato
r
now suppo
r
ts m
o
dulus
.
commit
|
commitdiff
|
tree
2009-12-16
Steven
S
c
h
ronk
C
o
mpleted tut
o
rial for 4-2
.
C
o
n
ver
t
s string of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Change
d
perm
i
s
sions of sou
r
ce fi
l
es
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Added co
d
e f
o
r tutorial 4-
2
.
Co
m
plete
and tested, without
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
S
teven Schron
k
Added tut
o
tial 4-1
.
Fu
n
ction find
s
l
ast char in stri
n
g
.
commit
|
commitdiff
|
tree
2009-12-15
Steven S
c
hronk
Added tutor
i
al 3-6
.
Converts
i
nteger into arr
a
y of
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schronk
Added tuto
r
i
a
l 3-3
.
Pri
n
ts out
st
r
eam
o
f
chars based
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven
S
chronk
Added program to disp
l
ay bits containe
d
in an in
t
ege
r
.
commit
|
commitdiff
|
tree
2009-12-11
St
e
ven Schronk
A
dded tutor
i
al e
x
_2-5
.
Fun
c
tion r
e
tur
n
s location of
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven S
c
hronk
Exa
m
ple 2-4
r
et
u
rn
s
inidcation of found string
.
commit
|
commitdiff
|
tree
2009-12-11
Steve
n
Schro
n
k
Added e
x
a
m
ple
2
-
4
.
Program compares strings
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schr
o
nk
Adde
d
program to convert
H
e
x
into D
e
cimal
commit
|
commitdiff
|
tree
2009-12-02
S
teven Schr
o
nk
Added p
r
ogram to displa
y
datatype
i
nfo
.
commit
|
commitdiff
|
tree
2009-12-02
Ste
v
en
S
ch
r
onk
Add
e
d wo
r
kin
g
exampl
e
of shell
s
ort
.
commit
|
commitdiff
|
tree
2009-11-30
Steve
n
Sch
r
o
n
k
Added calcu
l
ator and char
c
oun
t
e
r exa
m
ples
f
r
o
m book
.
commit
|
commitdiff
|
tree
2009-11-26
Steven Schronk
Add
e
d t
u
torial
1-23
.
commit
|
commitdiff
|
tree
2009-11-25
St
e
ven Schronk
Added
t
u
t
o
rial 1-19
.
commit
|
commitdiff
|
tree
2009-11-25
Steve
n
Sch
r
o
n
k
Ad
d
ed tutori
a
l
1
-17
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schro
n
k
Added sol
u
tion to
problem
1-16
.
commit
|
commitdiff
|
tree
2009-11-25
Stev
e
n
Schron
k
Exa
m
ple working with
char arrays
.
commit
|
commitdiff
|
tree
2009-11-25
S
teven
S
chronk
Adde
d
p
r
ogra
m
that
i
llustrates passing data by
v
a
lue
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
Steven Schronk
Ini
t
a
l
Commit
commit
|
commitdiff
|
tree