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
Steve
n
Schronk
Added an example with a
struct
.
commit
|
commitdiff
|
tree
2009-12-30
Ste
v
en Sc
h
ronk
Ad
d
ed example cbd_rand_dist
.
Generates
r
a
ndom number
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Schronk
Ad
d
ed
e
xample cdb_time
.
Calculates minutes and
seconds
.
commit
|
commitdiff
|
tree
2009-12-30
Steven S
c
hro
n
k
Ad
d
ed
e
xma
p
le cbd_pennies_adv
.
N
ow calculates
final
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schr
o
nk
Added example cbd_pennies
.
Calculates c
h
a
n
ge fou
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schron
k
Added example cbd_
l
aw
n
.
Calculates
area of y
a
r
d in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schronk
Ad
d
ed
e
xamp
l
e cbd_triple_int
.
Find
s
tri
p
les of integers
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
t
eve
n
Schronk
Add
e
d cbd_rand
.
Generate
s
x rando
m
nu
m
bers in y column
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Steven Schronk
Added example 5-14
.
So
r
ts
data fro
m
stdin
.
H
as some
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
Steven Schronk
Added
e
xample 5-13
.
Code ne
e
ds a littl
e
cleaning a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
Ad
d
ed example 5-10
.
Calc program uses command line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
Modified example
5-8
.
Array of months remo
v
ed; no
t
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
Adde
d
exam
p
le
5-8
.
C
o
n
verts from da
y
s, years and
yearday
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Created custom r
e
suable library of fav
o
rite fu
n
c
t
ions
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven
S
c
h
ronk
Added example 5-7
.
R
eads i
n
p
ut lines and stores each
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
even S
c
hronk
Added
f
unc
t
ion to ex
a
m
ple 5-5 n
a
med strncmp
.
C
ompares
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Added
f
unctio
n
to example 5-5 named strnca
t
.
Appends
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Ste
v
en
Schronk
Added p
a
rtial tut
o
rial 5-5
.
Function
c
opies
n
chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
e
ven Schronk
A
dded tuto
r
ial 5-4
.
Compares ch
a
rs at e
n
d of t
w
o arrays
.
commit
|
commitdiff
|
tree
2009-12-22
S
t
even S
c
hronk
Ad
d
e
d
exampl
e
5-
3
.
Copy a
n
d
c
oncatin
a
te strings using
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
S
tev
e
n Schronk
Added exa
m
ple 5-1
.
No
t
good e
x
ample of p
r
oblem for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steve
n
Schro
n
k
Added tutorial 4-1
3
.
R
e
v
erses array using
recursion
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven Schronk
Added t
u
t
o
r
ial 4-12
.
Conv
e
rts int to
array of c
h
ar
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven
S
c
hr
o
nk
Re
m
oved need
f
or un
g
etch in Adv
.
C
a
lc
.
Use
s
static
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schronk
Adv
.
Calc now suppo
r
ts Trig fu
n
c
t
ions (
s
in, cos, tan
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schron
k
U
p
da
t
e
d
A
dv
.
Calc prog
r
a
m
.
Need
e
d
a
bility to duplicate
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
Steven Schronk
Comments in t
u
t
o
rial
3-5 moved to co
r
rect locat
i
on
.
commit
|
commitdiff
|
tree
2009-12-18
Steven Sch
r
onk
Added tutorial 3-5
.
Converts
int to stri
n
g of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
S
t
even Schronk
Made
s
o
me
small cha
n
ges to con
v
ert and exampl
e
2-5
.
commit
|
commitdiff
|
tree
2009-12-17
St
e
ven Schro
n
k
Merg
e
branch '
m
aster' of github
.
c
om:
s
t
even-schronk
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schro
n
k
A
d
ded
print and reverse stack functions
.
Still needs
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
A
d
van
c
ed calcu
l
ator now supports
modulus
.
commit
|
commitdiff
|
tree
2009-12-16
Ste
v
en Sc
h
r
o
n
k
Completed tutorial for
4
-2
.
Converts string of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
S
teven Schron
k
Changed p
e
rmissions of sou
r
c
e
files
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Added code for
tutoria
l
4-2
.
Complet
e
and tested, w
i
t
h
out
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Ste
v
e
n
Schronk
Added tutotial 4-1
.
Function finds last char in str
i
ng
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schronk
A
dded tutorial 3-6
.
Con
v
erts integer
into array of
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Ste
v
en Sch
r
onk
Added
tutorial
3
-3
.
Prints out
s
tr
e
am of chars
b
ased
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
S
t
e
ven Schronk
Added program to
d
isplay bits c
o
ntained in an integ
e
r
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Sch
r
onk
Added tutori
a
l
ex_2-5
.
F
u
nction ret
u
rns loc
a
tion of
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Example 2-4 re
t
ur
n
s inidcation of
found stri
n
g
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Sc
h
ronk
Added exa
m
ple 2-4
.
Program compares strings
.
commit
|
commitdiff
|
tree
2009-12-11
St
e
ven Schronk
A
dded program to co
n
vert Hex into Decima
l
commit
|
commitdiff
|
tree
2009-12-02
S
t
even Schronk
A
d
d
e
d pro
g
ram
to
d
isplay datatype info
.
commit
|
commitdiff
|
tree
2009-12-02
S
t
eve
n
Schronk
Added working example of
shell
sort
.
commit
|
commitdiff
|
tree
2009-11-30
Steven Sc
h
ronk
Added calculat
o
r and c
h
ar counter ex
a
mp
l
es from book
.
commit
|
commitdiff
|
tree
2009-11-26
Stev
e
n Schronk
Add
e
d tut
o
ri
a
l 1-
2
3
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
A
d
d
e
d tutorial 1-1
9
.
commit
|
commitdiff
|
tree
2009-11-25
Stev
e
n Schronk
Added tuto
r
ial
1
-17
.
commit
|
commitdiff
|
tree
2009-11-25
S
t
even Schron
k
Added solution to problem 1-16
.
commit
|
commitdiff
|
tree
2009-11-25
St
e
ven Schronk
Exa
m
ple work
i
ng with char arrays
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schro
n
k
Added pro
g
ram that
illustrates passing data by val
u
e
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
Steve
n
Schronk
Ini
t
al Comm
i
t
commit
|
commitdiff
|
tree