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
St
e
ven Schronk
Added an
e
xamp
l
e with a
s
truct
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Schronk
Added
e
xample cbd_rand_dist
.
Generates
r
a
n
dom numbers
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
Steven
S
chronk
Add
e
d
e
x
a
m
ple cdb_time
.
Cal
c
ulates minute
s
a
n
d
seconds
.
commit
|
commitdiff
|
tree
2009-12-30
Steve
n
Schronk
Added
e
xmapl
e
cbd_pennies_
a
dv
.
Now calcul
a
tes final
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
St
e
ven Schronk
Added
e
x
a
mple
cbd_pennies
.
C
a
l
culates chan
g
e fou
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Ste
v
en Schronk
Adde
d
example cbd
_
lawn
.
Calculates area
of
y
ard in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schr
o
nk
Ad
d
ed
example
c
bd_
t
riple_int
.
F
i
nds
t
riples
of
i
nt
e
ger
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
St
e
ve
n
Schronk
Added cbd_rand
.
G
enerates x
random
n
umber
s
i
n
y col
u
mns
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Steven S
c
h
r
onk
Added example 5-14
.
Sorts
data from stdin
.
H
as
some
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
Steven Schro
n
k
Added ex
a
mpl
e
5
-13
.
C
ode needs a litt
l
e cleanin
g
and
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Sch
r
onk
Add
e
d e
x
ample 5-10
.
Calc prog
r
a
m
uses command line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
Modified e
x
a
m
ple 5
-
8
.
Array of months
removed; not
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Sc
h
ronk
Added example
5-8
.
C
o
nverts f
r
o
m days, years and yeardays
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
St
e
ven Schro
n
k
Create
d
c
u
stom
r
e
s
uab
l
e libra
r
y of favorite functions
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Stev
e
n Schronk
Add
e
d
example 5-7
.
Reads in
p
ut
lines an
d
s
tores each
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Sc
h
r
o
nk
Added function
to example 5-5 name
d
strncmp
.
Co
m
p
a
res
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Added function
t
o
example 5-5
n
amed strnc
a
t
.
Appends
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Sch
r
onk
A
dde
d
partial tut
o
rial 5-5
.
Function copies n chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
tev
e
n Schronk
Added tuto
r
ial 5-4
.
Compare
s
chars at e
n
d of two arrays
.
commit
|
commitdiff
|
tree
2009-12-22
St
e
ven
S
chronk
Added
exa
m
ple 5-3
.
Copy and concatin
a
t
e
strings using
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
Steven Sch
r
onk
A
d
ded example 5-1
.
Not good example of problem for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
St
e
ven Schro
n
k
Added t
u
tor
i
al 4-13
.
Reverses array using recursion
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
S
t
e
ven Schro
n
k
Added tuto
r
ial 4-12
.
Conv
e
r
ts int to array o
f
char
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Sch
r
o
n
k
Re
m
oved need
f
or
u
n
g
e
tch in Adv
.
Calc
.
Us
e
s static
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
S
t
eve
n
Schronk
Adv
.
Calc n
o
w su
p
por
t
s Trig functions (sin
,
cos, tan
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
S
t
e
ven Schron
k
Updated
A
dv
.
Calc pr
o
gram
.
Ne
e
de
d
ability to duplicate
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
Ste
v
en Schr
o
nk
C
o
m
m
ents in tutorial 3-5 moved to corr
e
ct location
.
commit
|
commitdiff
|
tree
2009-12-18
S
teven Sch
r
o
n
k
Added
t
utorial 3-5
.
C
o
nve
r
ts int to s
t
ring of char
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
Stev
e
n Sc
h
ronk
M
a
de
some small
changes to con
v
ert a
n
d example 2-5
.
commit
|
commitdiff
|
tree
2009-12-17
S
teven
S
c
hronk
Merge branch
'
master' of git
h
ub
.
com:steven-schronk
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
St
e
ven
Schron
k
Added p
r
i
n
t and reverse stac
k
functions
.
S
til
l
needs
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Adv
a
nced
c
al
c
ulator now
supports modulu
s
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Com
p
leted tutorial for 4-2
.
C
onv
e
r
t
s
s
tring of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Ste
v
e
n
Schronk
Changed permissions of sou
r
ce
files
.
commit
|
commitdiff
|
tree
2009-12-16
S
t
even S
c
h
r
onk
Added
cod
e
for tutorial 4
-
2
.
Complete and teste
d
,
w
i
thout
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
St
e
ven Schronk
Added tu
t
otial 4-1
.
Function finds last char in string
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Sch
r
o
nk
Added tutorial 3-6
.
C
o
n
ve
r
ts integer into array of
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schron
k
A
dded tutorial 3
-
3
.
Prints out stream of
chars
based
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
S
teven
S
chronk
Added pro
g
ram to disp
l
a
y bits cont
a
i
ned in an integer
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Sc
h
ronk
Add
e
d
tutoria
l
ex_2-5
.
Function return
s
location
o
f
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Stev
e
n
S
c
hronk
E
x
a
m
ple 2-
4
returns inidcation of found strin
g
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Sch
r
onk
Added example
2
-4
.
Prog
r
am compares strings
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Added pro
g
ram
to conve
r
t Hex
i
nto De
c
imal
commit
|
commitdiff
|
tree
2009-12-02
S
t
ev
e
n Schronk
Added program to display
datatype info
.
commit
|
commitdiff
|
tree
2009-12-02
S
t
e
ven Schronk
Added working
e
xample of shell
sor
t
.
commit
|
commitdiff
|
tree
2009-11-30
Steve
n
Schronk
Added calculat
o
r and ch
a
r c
o
u
n
ter examples from book
.
commit
|
commitdiff
|
tree
2009-11-26
Steven Schronk
Added tutorial 1
-
23
.
commit
|
commitdiff
|
tree
2009-11-25
St
e
ven Schro
n
k
Added tutorial 1-19
.
commit
|
commitdiff
|
tree
2009-11-25
Ste
v
en Schronk
Adde
d
tutorial
1
-17
.
commit
|
commitdiff
|
tree
2009-11-25
St
e
v
en Sc
h
ronk
Ad
d
ed
s
olution to problem
1-
1
6
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schro
n
k
Exam
p
le wo
r
ki
n
g
w
ith char arrays
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Ad
d
ed program t
h
at illustrates
passing data by va
l
ue
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
Steven Schr
o
nk
Inital Commit
commit
|
commitdiff
|
tree