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 with variable arrays.
2010-05-05
Steven Schronk
A
d
ded
e
x
ample w
i
th var
i
able arrays
.
commit
|
commitdiff
|
tree
2010-01-25
Steven Schronk
Added an example w
i
th
a
stru
c
t
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Schr
o
nk
Added example cbd_r
a
nd
_
dist
.
Generates rando
m
nu
m
bers
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
Steve
n
Sc
h
ronk
Added example cdb_time
.
Cal
c
u
lat
e
s m
i
nutes
an
d
seconds
.
commit
|
commitdiff
|
tree
2009-12-30
Ste
v
en Schronk
Added exmaple c
b
d_pennies_adv
.
Now c
a
lculates final
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Sch
r
onk
A
d
d
ed ex
a
mple cbd_
p
ennies
.
C
alculates change fou
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Sch
r
onk
Added ex
a
mple
c
bd_lawn
.
Ca
l
culates area of y
a
rd in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven
S
c
h
ronk
Added
e
xamp
l
e cbd_tri
p
l
e
_int
.
Finds tr
i
ple
s
of
i
ntegers
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Sc
h
ron
k
Ad
d
ed cb
d
_ra
n
d
.
Gen
e
r
a
t
es
x
r
a
ndom numbers
in
y
co
l
umns
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
St
e
ven Sch
r
on
k
A
dded example 5-14
.
Sorts data from
s
td
i
n
.
Has
some
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
Steven S
c
hron
k
Added ex
a
m
p
le 5-13
.
Cod
e
needs a l
i
ttle cleaning and
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
St
e
v
e
n
S
chronk
Add
e
d example 5-
1
0
.
Calc program uses command l
i
n
e
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven S
c
hro
n
k
Modified exampl
e
5-8
.
Array
of months removed; not
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steve
n
Schronk
Added example 5-8
.
Conve
r
ts from days, years and yeardays
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
St
e
ven Schro
n
k
C
r
eated custom resu
a
ble
libr
a
ry
of
favori
t
e functions
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven S
c
hron
k
Ad
d
ed exampl
e
5-7
.
Reads input
l
in
e
s and stores e
a
ch
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Added
f
u
n
ction to exampl
e
5-5 named st
r
ncmp
.
Compar
e
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
St
e
v
en S
c
hronk
Added function to e
x
am
p
le 5
-
5 named
strncat
.
Appends
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Stev
e
n
S
chronk
Added partial tut
o
rial 5-5
.
Fu
n
ction co
p
ies n chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
even
Schronk
Added tutorial 5-
4
.
Compares chars
at end of two arrays
.
commit
|
commitdiff
|
tree
2009-12-22
S
t
even Schronk
Add
e
d example 5-3
.
Copy and concatinate strings using
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
Steven Schr
o
nk
Ad
d
ed example 5-1
.
Not
goo
d
examp
l
e of problem for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven Schronk
Added t
u
tori
a
l 4-13
.
Re
v
er
s
es array using recursion
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Ste
v
en Schron
k
Added
t
utorial 4-12
.
Converts int
to
array o
f
char
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schronk
Removed need fo
r
u
n
getc
h
in A
d
v
.
C
a
lc
.
U
s
e
s sta
t
ic
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
S
teven Schronk
A
d
v
.
Calc
now supports Tr
i
g
f
unctions (sin, cos, t
a
n
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steve
n
S
c
hronk
Updated Ad
v
.
Calc
p
r
ogram
.
Nee
d
ed abi
l
it
y
to duplic
a
te
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
Steven Schronk
Comments in tutorial 3-5 moved to correct location
.
commit
|
commitdiff
|
tree
2009-12-18
S
t
even
S
c
h
r
onk
Added
t
utorial 3-5
.
Converts int
t
o str
i
ng of c
h
ar
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
Steven Schro
n
k
Made s
o
me sm
a
l
l
chang
e
s
to
convert an
d
e
x
ample 2-5
.
commit
|
commitdiff
|
tree
2009-12-17
Steven Schr
o
nk
Me
r
ge br
a
nch '
m
aster' of gi
t
hu
b
.
com:
s
teven
-
sc
h
ronk
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
S
teven Schronk
Add
e
d print and reverse stack functi
o
ns
.
Still nee
d
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
S
t
eve
n
Sc
h
ronk
Advan
c
ed calcul
a
tor
now
s
upport
s
modulus
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Comple
t
ed tutor
i
al for
4
-
2
.
Converts string of ch
a
r
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
St
e
ven Sc
h
ronk
Chan
g
ed permi
s
s
ions of
s
ource files
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Added code for tutorial 4-2
.
Co
m
p
lete and tes
t
ed,
witho
u
t
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schronk
Adde
d
tutotia
l
4-1
.
Fu
n
c
tion finds last char in string
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schronk
A
dded tu
t
orial 3
-
6
.
C
onverts integ
e
r
i
nto
a
r
r
ay
o
f
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schronk
A
d
ded tutor
i
al 3
-
3
.
Prints ou
t
stream of chars b
a
sed
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
St
e
v
en Sch
r
onk
A
d
ded pr
o
gram to
d
isplay bits con
t
ain
e
d in an integer
.
commit
|
commitdiff
|
tree
2009-12-11
St
e
ven Schronk
Adde
d
tu
t
oria
l
ex
_
2
-
5
.
Func
t
ion returns location o
f
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
St
e
ven
S
chronk
Exam
p
l
e
2-
4
ret
u
r
n
s
i
nidcati
o
n of
found
s
tring
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Added ex
a
mple 2-4
.
Program compares str
i
ngs
.
commit
|
commitdiff
|
tree
2009-12-11
Steven S
c
hronk
Add
e
d program to conv
e
rt Hex in
t
o Dec
i
mal
commit
|
commitdiff
|
tree
2009-12-02
Steven Sc
h
r
onk
Added prog
r
am to display datatype in
f
o
.
commit
|
commitdiff
|
tree
2009-12-02
S
tev
e
n Schronk
Added wor
k
ing example of
s
h
e
l
l
s
ort
.
commit
|
commitdiff
|
tree
2009-11-30
S
t
even Schron
k
Added calculator and ch
a
r
counter
e
x
a
mples from book
.
commit
|
commitdiff
|
tree
2009-11-26
Steve
n
Schronk
Added
tuto
r
ial 1
-
23
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Ad
d
ed tutorial 1-
1
9
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Sch
r
o
n
k
Added tutori
a
l 1-17
.
commit
|
commitdiff
|
tree
2009-11-25
Steven
Schronk
Add
e
d soluti
o
n to pro
b
lem 1
-
16
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Sc
h
r
onk
Example worki
n
g with char ar
r
ays
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Added program
t
h
at
illustrates
pas
s
i
n
g data by v
a
lue
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
Steven Schronk
Inital Co
m
mit
commit
|
commitdiff
|
tree