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
S
chronk
Ad
d
ed an
example wi
t
h
a
str
u
ct
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Sch
r
onk
Add
e
d exam
p
le cbd_rand_dist
.
Gene
r
a
tes r
a
ndom numbe
r
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
Stev
e
n
Schronk
Added
example cdb_time
.
Calc
u
lates mi
n
utes
and
second
s
.
commit
|
commitdiff
|
tree
2009-12-30
Steven
S
c
hronk
Added exmaple
c
bd_penn
i
es_adv
.
No
w
calculates final
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steve
n
Schronk
A
d
d
e
d
example
cbd_pennies
.
Cal
c
u
lates change f
o
und
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Sc
h
ron
k
Add
e
d exampl
e
c
b
d
_lawn
.
C
alcu
l
ates area of yard in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven
S
chr
o
nk
Added
e
xamp
l
e
c
bd_tri
p
l
e
_int
.
Finds
t
riples of i
n
t
e
ge
r
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Sc
h
r
o
n
k
Adde
d
cbd_r
a
nd
.
G
ener
a
t
es x random n
u
m
b
ers in y
columns
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Stev
e
n Schronk
Added ex
a
mple 5-14
.
S
orts data from stdin
.
Has some
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
S
t
even Schronk
Add
e
d
e
xample 5-13
.
Code n
e
ed
s
a l
i
ttle cleaning and
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
S
t
even Schr
o
nk
Added e
x
ample
5
-
10
.
Calc program uses com
m
and line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
Modified
e
x
a
m
ple 5-8
.
Array o
f
mo
n
ths
removed; not
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steve
n
Schronk
Add
e
d example 5-8
.
Converts from days, yea
r
s and
yeardays
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steve
n
S
c
hronk
C
reated cust
o
m resuable library o
f
favo
r
ite functi
o
n
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven
Schro
n
k
A
d
d
ed example 5-7
.
Reads in
p
ut lines and sto
r
es each
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Sch
r
onk
Added f
u
nction
to exampl
e
5-5 named strn
c
mp
.
Compares
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Ad
d
e
d
function to examp
l
e 5-5 na
m
ed s
t
rnca
t
.
A
p
pends
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Adde
d
part
i
al
t
utoria
l
5-5
.
Function copies
n
chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
St
e
v
e
n
Schronk
A
d
ded
tutorial 5-4
.
Compares chars at end
of tw
o
arrays
.
commit
|
commitdiff
|
tree
2009-12-22
Steven
Schr
o
nk
Added examp
l
e 5-3
.
Copy a
n
d concatinate strin
g
s using
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
S
t
even Schr
o
nk
A
d
ded e
x
ampl
e
5-1
.
Not
good e
x
ample of
proble
m
for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
S
t
even
Schronk
Added tut
o
rial 4-13
.
R
e
verses arr
a
y using recursi
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven Schronk
Added
tutorial 4-12
.
Converts int
to
a
rray of c
h
a
r
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven
S
chro
n
k
Removed nee
d
for
ungetch
i
n Adv
.
Cal
c
.
Uses stat
i
c
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Sch
r
onk
Adv
.
Calc now supports Trig functions (sin, c
o
s, tan
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
St
e
v
e
n Schronk
Updated Ad
v
.
Ca
l
c program
.
Needed a
b
ility to du
p
li
c
a
t
e
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
S
te
v
en
S
chronk
Comment
s
in tut
o
r
i
al 3-5 moved to correct location
.
commit
|
commitdiff
|
tree
2009-12-18
S
teven Sc
h
ronk
Added
t
utorial 3-5
.
Converts int
to
s
tring o
f
c
ha
r
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
Steven Schronk
Made s
o
me s
m
a
ll changes to c
o
nvert and example
2
-
5
.
commit
|
commitdiff
|
tree
2009-12-17
S
teven Schronk
Merge branch
'
master' of github
.
com:
s
te
v
en-s
c
h
r
onk
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Ste
v
e
n Schronk
A
d
ded print and reve
r
se s
t
ack function
s
.
Still needs
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven
S
c
hron
k
Advanced calculator
now supp
o
rts modulus
.
commit
|
commitdiff
|
tree
2009-12-16
S
t
even Schronk
Completed tutorial for 4-2
.
Convert
s
s
trin
g
of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Chan
g
ed
p
ermissions of
source f
i
l
es
.
commit
|
commitdiff
|
tree
2009-12-16
S
t
even Schronk
Added code for tutoria
l
4-2
.
Complete an
d
tested,
with
o
ut
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steve
n
S
c
h
r
onk
Added tut
o
tial 4-1
.
Function finds las
t
c
h
ar in
s
t
r
i
ng
.
commit
|
commitdiff
|
tree
2009-12-15
S
t
even
S
c
h
ron
k
Adde
d
tuto
r
ial 3-6
.
Converts integer i
n
to a
r
r
ay of
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Stev
e
n Schronk
A
dded t
u
torial 3-3
.
Prints out strea
m
of char
s
ba
s
ed
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven S
c
h
ronk
Added program to di
s
play bits c
o
ntained in an int
e
ger
.
commit
|
commitdiff
|
tree
2009-12-11
Steven
S
chronk
A
dded tut
o
ria
l
e
x
_2-
5
.
Fu
n
ction returns loca
t
io
n
of
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steve
n
Sch
r
onk
Example 2
-
4
r
eturns i
n
i
dcation of found st
r
ing
.
commit
|
commitdiff
|
tree
2009-12-11
Steve
n
Schronk
Add
e
d
example 2-4
.
Pr
o
gram compare
s
strings
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
A
dded pro
g
ram to
c
onvert He
x
into
Decimal
commit
|
commitdiff
|
tree
2009-12-02
Steven Schronk
Added
progr
a
m
to
d
i
s
p
l
ay d
a
tat
y
pe info
.
commit
|
commitdiff
|
tree
2009-12-02
S
t
even Schronk
Added working example of sh
e
ll sort
.
commit
|
commitdiff
|
tree
2009-11-30
Steven Schronk
Added
calculator
a
nd cha
r
co
u
nter exam
p
les from bo
o
k
.
commit
|
commitdiff
|
tree
2009-11-26
Steven Schronk
A
d
ded tutori
a
l
1-23
.
commit
|
commitdiff
|
tree
2009-11-25
Steven
S
chr
o
nk
Added tutorial 1-1
9
.
commit
|
commitdiff
|
tree
2009-11-25
Steve
n
Sc
h
ronk
Added tutorial 1-17
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Added solution to problem 1-16
.
commit
|
commitdiff
|
tree
2009-11-25
Ste
v
en S
c
h
r
onk
Exam
p
le w
o
rking
with ch
a
r arr
a
ys
.
commit
|
commitdiff
|
tree
2009-11-25
Steven S
c
hronk
Added program t
h
at il
l
u
s
trate
s
p
a
s
sing data by v
a
lue
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
Steven S
c
hronk
Inital C
o
mmit
commit
|
commitdiff
|
tree