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
S
teven Schr
o
n
k
Added an e
x
a
mple with a struct
.
commit
|
commitdiff
|
tree
2009-12-30
Steven S
c
hronk
Added example cbd_rand_
d
ist
.
Generates random numbers
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
St
e
ve
n
Schron
k
Added
e
xample cdb_time
.
Calculates minutes
a
nd se
c
on
d
s
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Schronk
A
d
de
d
exmaple cbd_pennies_adv
.
Now calculates f
i
nal
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Sc
h
ronk
Added example cbd_pennies
.
Calc
u
l
ates
c
hange found
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schronk
Added exa
m
ple cbd_
l
awn
.
Calculate
s
a
r
ea of yard in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schr
o
nk
Added
e
xamp
l
e cbd_triple_int
.
Finds trip
l
es of integers
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven
S
chronk
Added cbd_rand
.
Generate
s
x r
a
ndom num
b
ers
i
n y colum
n
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Steve
n
Schro
n
k
Added e
x
ample 5-
1
4
.
Sorts
data f
r
om stdin
.
Has some
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
S
t
even S
c
hronk
Adde
d
example 5-13
.
Code needs a little cle
a
ning an
d
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven
S
chronk
Added example 5
-
10
.
Calc prog
r
am uses comman
d
line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schr
o
nk
Modified example 5-8
.
Array of
mo
n
ths remove
d
;
n
ot
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schr
o
nk
Added example 5-8
.
Convert
s
from days,
y
e
ars
a
nd yearda
y
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Stev
e
n Schr
o
nk
Created custom resuable libra
r
y of fa
v
orite fun
c
tions
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven
S
c
h
ronk
Added example 5-7
.
Reads
i
nput
lines and s
t
o
res each
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Sc
h
ronk
Added f
u
nction to example 5-5 named strncmp
.
Compares
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
even Schronk
Added funct
i
on to example 5-5
n
amed strncat
.
Appends
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schron
k
Add
e
d partial tutorial
5
-5
.
Function copies
n
c
h
ars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven S
c
hronk
Added tutori
a
l 5
-
4
.
Compares chars at en
d
o
f two arr
a
ys
.
commit
|
commitdiff
|
tree
2009-12-22
Steven Schronk
Added
example
5
-3
.
Copy
and c
o
nca
t
i
n
at
e
strings using
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
Steve
n
Schronk
A
d
ded example
5
-1
.
Not good exam
p
le of pro
b
lem for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven Schron
k
A
d
d
e
d
tutorial 4-13
.
Re
v
erses ar
r
ay
using
rec
u
rsion
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steve
n
Sc
h
ronk
Added
t
utorial 4-12
.
Conver
t
s int to array o
f
char
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Sc
h
ronk
R
emoved need
f
or
ungetc
h
in Ad
v
.
Cal
c
.
Us
e
s
static
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven
Sc
h
ronk
Adv
.
Calc now s
u
ppor
t
s
Trig functions (si
n
, cos, tan
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
S
teve
n
Sch
r
onk
Upda
t
ed Adv
.
C
alc program
.
Needed ability to
d
u
p
l
icate
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
Steven
S
c
hr
o
nk
C
omment
s
in tutori
a
l 3-5
moved to correct location
.
commit
|
commitdiff
|
tree
2009-12-18
Steven
Schro
n
k
A
d
d
ed tutoria
l
3-5
.
Converts int
to string of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
Steven Schronk
Mad
e
so
m
e small
changes to convert and
e
x
amp
l
e
2
-5
.
commit
|
commitdiff
|
tree
2009-12-17
Steven Schr
o
nk
Merge branch
'
master' of github
.
com:
s
teven-schronk
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven S
c
hro
n
k
A
d
ded print and reve
r
s
e st
a
ck funct
i
on
s
.
Still nee
d
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Advanced calculator n
o
w
supports
m
odu
l
us
.
commit
|
commitdiff
|
tree
2009-12-16
Ste
v
en Schr
o
nk
C
ompleted tut
o
ri
a
l
for
4-2
.
Converts string of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Ste
v
e
n
Schro
n
k
Cha
n
ge
d
permissions of sour
c
e files
.
commit
|
commitdiff
|
tree
2009-12-16
Steven
S
chronk
Added
c
ode for tutor
i
a
l
4-2
.
Complete and t
e
sted, wi
t
ho
u
t
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
St
e
ven Schro
n
k
Add
e
d
tutotial 4-1
.
F
unction finds last
c
har in string
.
commit
|
commitdiff
|
tree
2009-12-15
S
teven
S
c
h
r
onk
Add
e
d tutoria
l
3-6
.
Conve
r
ts integer in
t
o arr
a
y
o
f
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Sch
r
onk
Added tutorial 3-3
.
Prin
t
s out s
t
ream of chars base
d
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Stev
e
n Schronk
A
d
de
d
program to displa
y
bits con
t
ained in an
integer
.
commit
|
commitdiff
|
tree
2009-12-11
Ste
v
en Schronk
Add
e
d
t
ut
o
rial ex_2-5
.
Function ret
u
rns loca
t
ion of
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
S
teven Schronk
Example 2-4 retur
n
s
i
nidcat
i
on o
f
fo
u
nd string
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Sch
r
onk
Added e
x
amp
l
e 2-4
.
Program
compare
s
strings
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schron
k
Added prog
r
am t
o
c
o
nve
r
t
H
ex into Decima
l
commit
|
commitdiff
|
tree
2009-12-02
Ste
v
e
n
S
chro
n
k
Added progra
m
to display da
t
atype in
f
o
.
commit
|
commitdiff
|
tree
2009-12-02
S
t
even Schronk
Add
e
d working example of shell sort
.
commit
|
commitdiff
|
tree
2009-11-30
Steven
Schronk
Added calculator a
n
d char
c
o
unter
e
xa
m
pl
e
s f
r
om book
.
commit
|
commitdiff
|
tree
2009-11-26
Stev
e
n Schronk
Added tutoria
l
1-23
.
commit
|
commitdiff
|
tree
2009-11-25
S
t
even Schronk
Added t
u
tori
a
l 1-19
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Ad
d
ed tutori
a
l
1-
1
7
.
commit
|
commitdiff
|
tree
2009-11-25
Steven
S
chronk
A
dded solu
t
ion to problem
1
-16
.
commit
|
commitdiff
|
tree
2009-11-25
St
e
ven Schronk
Example w
o
rking with char arr
a
y
s
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Added p
r
ogram that
i
llustrates
p
assin
g
data by val
u
e
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
S
t
e
ven Schronk
Ini
t
al Co
m
m
it
commit
|
commitdiff
|
tree