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 an example with a struct.
2010-01-25
Steven Sch
r
onk
Add
e
d an example with a s
t
ruc
t
.
commit
|
commitdiff
|
tree
2009-12-30
Ste
v
en Sch
r
onk
Added example cbd_rand_dist
.
Gen
e
rate
s
random number
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Schronk
Adde
d
exa
m
ple cdb_
t
ime
.
Calculates
m
inutes
and seconds
.
commit
|
commitdiff
|
tree
2009-12-30
S
teven Schronk
Add
e
d exmap
l
e cbd_pennies_adv
.
No
w
c
a
lculates fin
a
l
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schron
k
Added examp
l
e cbd
_
pennies
.
Ca
l
cula
t
e
s
change f
o
und
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steve
n
Sc
h
ron
k
A
d
d
ed
e
xample c
b
d
_lawn
.
Calcula
t
es area
o
f yard in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Ste
v
en Schronk
Add
e
d examp
l
e cbd_
t
rip
l
e_int
.
F
inds trip
l
es of
i
ntegers
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schronk
Added cbd_rand
.
Generates x
r
an
d
o
m numbers in
y
columns
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
St
e
v
en
Schron
k
Added
example 5-
1
4
.
Sorts data fr
o
m
stdin
.
Has
s
om
e
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
Steven Schronk
Added examp
l
e 5-13
.
Code
nee
d
s a lit
t
le cl
e
aning a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Sch
r
onk
Add
e
d example 5
-
10
.
Calc
p
rogram uses c
o
mmand line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
S
t
e
ven Schronk
Modified example
5
-
8
.
Array
o
f
m
onth
s
removed;
not
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
Added example 5-8
.
Converts fro
m
day
s
,
y
ear
s
and
ye
a
rdays
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Created cus
t
om resuab
l
e library
o
f favor
i
te fu
n
c
t
i
ons
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
even Schr
o
nk
Added example 5-7
.
Rea
d
s
input lines and st
o
res each
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Added
f
uncti
o
n to
e
xampl
e
5
-5
named strn
c
mp
.
Co
m
pares
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Sc
h
ronk
Adde
d
function
to
e
xample 5-
5
na
m
ed strncat
.
Appen
d
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven
Schronk
Added p
a
rtial
t
u
t
orial
5
-5
.
Function copies n chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven
Schronk
A
dded tutorial 5-4
.
Compares chars at end of two arr
a
ys
.
commit
|
commitdiff
|
tree
2009-12-22
S
t
ev
e
n Schronk
A
dd
e
d
example
5
-3
.
Copy and conca
t
inat
e
strings using
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
St
e
v
en Schronk
Added
e
x
ample 5-1
.
Not good ex
a
mple of problem for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven Schronk
Ad
d
ed tutor
i
al 4
-
13
.
Reverses array using recursion
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven Schronk
Adde
d
tutorial 4-12
.
Converts
i
n
t to
a
rr
a
y
of char
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Ste
v
e
n
Schronk
Remove
d
need
for ungetch
in Adv
.
Calc
.
U
ses stat
i
c
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Stev
e
n
S
chronk
Adv
.
Calc now
s
upports Trig functions (sin, cos,
t
a
n
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
S
teven Schronk
Upd
a
ted Adv
.
Cal
c
program
.
N
eeded ability to duplicate
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
Steven Schro
n
k
Comments in tut
o
rial
3
-5 moved to
correct l
o
catio
n
.
commit
|
commitdiff
|
tree
2009-12-18
Steven
S
ch
r
o
n
k
Adde
d
tu
t
oria
l
3-5
.
Converts
int
to str
i
n
g
of ch
a
r
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
St
e
ven
S
ch
r
o
nk
Made so
m
e small changes to conve
r
t
a
nd example 2-5
.
commit
|
commitdiff
|
tree
2009-12-17
Steven S
c
hronk
Merge
branch '
m
aster' of git
h
ub
.
com:
s
t
even-sch
r
onk
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Adde
d
pr
i
nt and
reverse stack functi
o
ns
.
Still n
e
e
d
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Advanc
e
d
c
al
c
u
l
a
tor now support
s
modulus
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Sc
h
ro
n
k
Complet
e
d t
u
to
r
ial for
4
-2
.
Con
v
erts st
r
ing
o
f chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Sc
h
ronk
Changed
p
e
rmi
s
sions of source files
.
commit
|
commitdiff
|
tree
2009-12-16
Steve
n
Schronk
A
dde
d
code for
tutorial 4-2
.
Complete
a
n
d t
e
s
t
ed, witho
u
t
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schronk
Added
t
ut
o
tial
4-1
.
Function f
i
nd
s
l
a
st char in strin
g
.
commit
|
commitdiff
|
tree
2009-12-15
Steven
Schr
o
nk
Added tutorial 3-6
.
Co
n
verts integer into array of
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Sch
r
onk
A
dded tut
o
ria
l
3
-
3
.
P
r
ints
o
ut stream
o
f chars based
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven S
c
hronk
A
d
ded pr
o
gra
m
to
d
is
p
lay bits co
n
tained
in an i
n
teger
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Added tutorial
ex
_
2
-
5
.
Funct
i
o
n
r
et
u
rns lo
c
atio
n
of
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Ste
v
e
n
Schronk
Example 2
-
4 re
t
urn
s
inidcation
o
f found s
t
ring
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Added exampl
e
2-4
.
Program compares
strings
.
commit
|
commitdiff
|
tree
2009-12-11
St
e
ven Schronk
Added program to convert
H
e
x
i
nto Dec
i
mal
commit
|
commitdiff
|
tree
2009-12-02
Ste
v
en Schronk
A
d
ded pr
o
gram
to display datatype info
.
commit
|
commitdiff
|
tree
2009-12-02
Ste
v
en Schronk
A
d
ded
w
orking
e
xa
m
ple of shel
l
sort
.
commit
|
commitdiff
|
tree
2009-11-30
Steven Schronk
A
d
ded
calculat
o
r
and
c
h
ar counter
examp
l
e
s
f
r
om bo
o
k
.
commit
|
commitdiff
|
tree
2009-11-26
Steven
S
ch
r
onk
Added tutorial 1-23
.
commit
|
commitdiff
|
tree
2009-11-25
Steven S
c
hronk
Ad
d
e
d
tuto
r
ia
l
1-19
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schro
n
k
Adde
d
tu
t
o
rial 1-17
.
commit
|
commitdiff
|
tree
2009-11-25
Steven
S
chronk
A
d
ded solution to p
r
oblem 1-16
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Example working w
i
th c
h
ar arra
y
s
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Sch
r
onk
Added program that illust
r
ates
passin
g
dat
a
by value
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
Steve
n
Schron
k
In
i
tal Commit
commit
|
commitdiff
|
tree