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
S
c
hronk
Added exa
m
ple cbd_
r
and_d
i
st
.
Generat
e
s
ran
d
om numbers
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Schro
n
k
Added example cd
b
_time
.
Calculates minutes and seco
n
ds
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Schronk
Ad
d
ed
exmaple cbd_pennies
_
adv
.
Now calcula
t
es
f
i
nal
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
t
even Sch
r
o
n
k
Added exam
p
le c
b
d
_
pennies
.
Ca
l
culat
e
s chang
e
found
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
t
even Schronk
Added example cbd_lawn
.
Calculates area of yar
d
in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
teven Schronk
Added
example cbd_triple_int
.
Finds triples
of integers
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schronk
Ad
d
e
d
cbd_rand
.
Generates x random number
s
in
y
c
olumn
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Steven Sc
h
r
onk
A
d
ded
example 5-14
.
Sorts data from
s
tdin
.
Has some
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
S
teven Schronk
A
dded
example
5
-13
.
Co
d
e needs a l
i
t
t
l
e
c
leaning and
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
Added example 5-10
.
C
a
lc pr
o
gr
a
m uses c
o
mmand
line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schro
n
k
Modified exampl
e
5-8
.
Array of mont
h
s
removed;
not
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schro
n
k
Added example 5-
8
.
Converts from d
a
ys, years and ye
a
rdays
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven
S
chronk
Cr
e
ated custom resuable l
i
brary of f
a
vorite functions
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
St
e
ven Schronk
Adde
d
ex
a
mple
5-7
.
Rea
d
s input lines
and
stores each
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schro
n
k
Added functi
o
n to
e
x
a
mple 5-5
name
d
strncmp
.
Compares
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
even Schronk
A
d
d
ed function to example 5-5 n
a
m
e
d strncat
.
Append
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Ste
v
en
S
ch
r
onk
Add
e
d par
t
ia
l
tut
o
r
ia
l
5-5
.
Function copie
s
n chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven
Sc
h
ronk
Added tutoria
l
5-4
.
Com
p
a
r
e
s chars
at end of two arrays
.
commit
|
commitdiff
|
tree
2009-12-22
Ste
v
e
n Schronk
Added
e
x
a
mple
5-3
.
Copy an
d
con
c
atinate strings
us
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
Steven Schro
n
k
Added exa
m
ple 5-1
.
Not good
example of problem
for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven
Schron
k
Added tu
t
ori
a
l
4-13
.
Reverses array using
recursion
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
S
teven Schronk
Added tutorial 4-12
.
Converts int
to array of char
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
St
e
ven
S
chronk
Removed need for u
n
getc
h
i
n
Adv
.
Calc
.
Us
e
s st
a
tic
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schr
o
nk
Ad
v
.
Calc now supports Trig functions
(sin
,
cos,
tan
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven
Schr
o
nk
Updated Adv
.
Calc pr
o
gram
.
N
eeded ability to
dup
l
icate
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
S
t
even Sc
h
r
o
nk
Comments i
n
tu
t
orial
3-5 moved to cor
r
ec
t
location
.
commit
|
commitdiff
|
tree
2009-12-18
Steven Sc
h
r
o
nk
A
d
ded
tuto
r
ial 3-5
.
C
o
nverts
i
nt t
o
string
o
f
chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
Steven Schr
o
nk
Ma
d
e some s
m
all chan
g
e
s
to convert and exam
p
le 2-5
.
commit
|
commitdiff
|
tree
2009-12-17
Steven Schr
o
nk
M
e
rge bran
c
h 'ma
s
ter' o
f
gith
u
b
.
c
o
m:steven-schron
k
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Added print
a
nd reverse
s
tack fun
c
tions
.
Still
n
e
ed
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Sch
r
o
nk
Advanced calcul
a
t
or n
o
w supp
o
rts m
o
dulus
.
commit
|
commitdiff
|
tree
2009-12-16
S
t
even Schronk
Completed
tutorial for 4-2
.
Co
n
verts string of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
S
t
even S
c
hronk
Changed permi
s
s
ion
s
of
s
o
u
rce files
.
commit
|
commitdiff
|
tree
2009-12-16
Steven
Schronk
Add
e
d cod
e
for
tutorial 4-2
.
Complete a
n
d tested, wi
t
hout
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
S
t
e
v
en
S
chronk
A
d
d
e
d
tutotial 4-1
.
Functi
o
n f
i
nds last cha
r
in
s
tring
.
commit
|
commitdiff
|
tree
2009-12-15
S
t
eve
n
Sc
h
ronk
A
d
ded t
u
t
orial 3-6
.
Co
n
v
erts integer into arr
a
y o
f
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schronk
Adde
d
tutorial
3-3
.
Pr
i
n
ts
out stream of ch
a
rs
b
ased
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Ad
d
ed progr
a
m
to
d
is
p
l
ay bits con
t
ained in an in
t
eg
e
r
.
commit
|
commitdiff
|
tree
2009-12-11
S
te
v
en Sch
r
onk
Add
e
d tut
o
r
i
al ex_2-
5
.
Fu
n
ct
i
o
n r
e
turn
s
l
ocati
o
n
o
f
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
S
te
v
en Schronk
Example 2-4
r
eturn
s
i
n
i
dcation of found string
.
commit
|
commitdiff
|
tree
2009-12-11
Steven
S
chronk
A
d
ded
e
xample 2-4
.
Program
c
ompares strings
.
commit
|
commitdiff
|
tree
2009-12-11
Steven
S
c
h
r
onk
Added program to conv
e
rt Hex i
n
to
Decimal
commit
|
commitdiff
|
tree
2009-12-02
Steven Sc
h
ronk
Added prog
r
a
m
t
o display datatype inf
o
.
commit
|
commitdiff
|
tree
2009-12-02
Steve
n
Sch
r
on
k
A
dded
working ex
a
mp
l
e of
s
hell sort
.
commit
|
commitdiff
|
tree
2009-11-30
S
teven S
c
hr
o
nk
A
dded calculato
r
a
n
d char counter
examples from book
.
commit
|
commitdiff
|
tree
2009-11-26
Stev
e
n
S
chronk
Added t
u
t
o
ri
a
l 1-2
3
.
commit
|
commitdiff
|
tree
2009-11-25
St
e
ven
Sch
r
onk
Added tutorial 1-19
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Added tutor
i
al 1-1
7
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Added solution
t
o pro
b
lem 1-16
.
commit
|
commitdiff
|
tree
2009-11-25
Steven
S
ch
r
onk
Example working with char
arrays
.
commit
|
commitdiff
|
tree
2009-11-25
Stev
e
n
Sch
r
onk
Added pro
g
ram t
h
a
t
il
l
ustra
t
e
s
passing data by va
l
u
e
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
S
teven Schronk
Inital
Com
m
i
t
commit
|
commitdiff
|
tree