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 prime number function example.
2010-06-16
Steven Schronk
Added
prime n
u
mb
e
r funct
i
on exa
m
ple
.
commit
|
commitdiff
|
tree
2010-06-10
Steve
n
Schronk
A
d
ded
p
rogram
t
o display the datatype limi
t
s
of
C
.
commit
|
commitdiff
|
tree
2010-05-05
Steven
Schronk
A
d
ded example with variable arrays
.
commit
|
commitdiff
|
tree
2010-01-25
S
teven S
c
hronk
Added an example with a s
t
r
uct
.
commit
|
commitdiff
|
tree
2009-12-30
Steven
S
ch
r
onk
Added ex
a
mpl
e
cbd_r
a
nd_dist
.
Generates
rand
o
m numbers
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
Steven
S
chronk
Added example cdb_t
i
me
.
Calcu
l
ates min
u
tes and
seconds
.
commit
|
commitdiff
|
tree
2009-12-30
S
teven Schro
n
k
Adde
d
ex
m
aple cbd_pennie
s
_adv
.
Now calcul
a
tes final
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schro
n
k
Added e
x
ampl
e
cbd_pennies
.
Calculat
e
s change found
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
t
even Schronk
Added
example cbd
_
la
w
n
.
C
a
lcul
a
t
e
s area of y
a
rd in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steve
n
Sc
h
ronk
Ad
d
ed example
c
bd_triple_int
.
Finds
t
r
iples of integers
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven
S
chro
n
k
Added
cb
d
_rand
.
Generates x
rando
m
numbers
i
n y
c
olu
m
ns
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Steven Sc
h
ronk
Add
e
d
e
xample 5-14
.
Sorts
data fro
m
s
tdin
.
Has some
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
Steven S
c
h
ronk
Add
e
d exampl
e
5-13
.
Code needs
a
li
t
t
le cleaning
and
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven
S
chro
n
k
Added
e
xa
m
p
l
e 5-10
.
Calc progra
m
uses
c
o
m
mand line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Ste
v
en S
c
hr
o
nk
Modi
f
i
ed example 5-8
.
A
r
ra
y
of months
removed; not
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
S
teve
n
Schronk
Ad
d
ed
exampl
e
5
-
8
.
Convert
s
fro
m
d
a
ys, years an
d
yearda
y
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
even Schronk
Created custom re
s
uabl
e
l
i
brary of
f
avo
r
ite functions
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
even Schronk
Adde
d
exam
p
le
5-7
.
Reads in
p
ut li
n
es and
s
tores each
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Added function to example
5-5 nam
e
d s
t
rncmp
.
Compares
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schro
n
k
Add
e
d
f
unction to e
x
ample 5-5
nam
e
d strnca
t
.
Appends
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Sc
h
ronk
Added pa
r
tial
t
ut
o
ria
l
5-5
.
Function copi
e
s n chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
teven Schronk
Added tutorial 5
-
4
.
Compar
e
s chars at end of two a
r
rays
.
commit
|
commitdiff
|
tree
2009-12-22
Steven S
c
hronk
A
dded example 5-3
.
C
o
py and c
o
nca
t
inate strings
u
sing
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
Ste
v
en Schronk
Added e
x
a
m
ple 5-1
.
N
ot
goo
d
ex
a
mple of
probl
e
m
f
or
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven
Sc
h
ronk
Added tutorial 4-13
.
Reve
r
ses arr
a
y us
i
n
g
recursion
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
St
e
ven
S
chr
o
nk
Added
t
utorial
4-12
.
Convert
s
int to ar
r
ay of cha
r
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
S
t
e
ven
Schr
o
nk
Re
m
ove
d
need for
ungetc
h
in Adv
.
Calc
.
U
s
es
s
t
atic
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steve
n
Sc
h
ronk
Adv
.
Calc now supports Trig f
u
nctions (sin
,
cos, tan
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schr
o
nk
Updated Adv
.
Cal
c
program
.
Neede
d
a
bi
l
ity
to duplicat
e
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
S
t
even Schronk
Comme
n
ts
in tutorial 3-5 moved to cor
r
e
ct locatio
n
.
commit
|
commitdiff
|
tree
2009-12-18
Ste
v
en S
c
hr
o
n
k
Ad
d
e
d
tutor
i
a
l
3-5
.
Converts
i
n
t to s
t
ring of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
Steven Sch
r
onk
Made
some small ch
a
n
ges to convert an
d
ex
a
mpl
e
2-5
.
commit
|
commitdiff
|
tree
2009-12-17
S
teven Schronk
Merge
b
r
anch 'm
a
ster'
o
f gi
t
hub
.
c
o
m
:
s
t
e
ven
-
schronk
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Ad
d
ed print
a
nd reverse
s
tack functions
.
Still needs
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven
S
chron
k
Advanced
c
alcul
a
to
r
n
ow supports modulus
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Complet
e
d
tutorial for 4-2
.
Con
v
er
t
s
s
tring of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Ste
v
en Schronk
Change
d
permis
s
i
o
ns of source files
.
commit
|
commitdiff
|
tree
2009-12-16
St
e
v
e
n
Schronk
Added code for tutorial 4-2
.
Complete and tested, without
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schronk
A
d
ded t
u
totial
4
-1
.
Function finds last char in string
.
commit
|
commitdiff
|
tree
2009-12-15
Stev
e
n Schro
n
k
Added tutorial 3-6
.
Conve
r
ts integer i
n
to array of
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schronk
Added tutorial
3-3
.
Pr
i
n
t
s ou
t
s
tream o
f
char
s
b
as
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schr
o
nk
Added
program to dis
p
lay
bits contained in an intege
r
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Ad
d
ed tutoria
l
ex_2-5
.
Fu
n
ction returns location of
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
S
t
even Schronk
Exa
m
p
l
e 2-4 retu
r
ns i
n
idcation of found string
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Add
e
d
example 2-4
.
Pr
o
gram compares
s
trings
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Added pro
g
ram to convert Hex in
t
o D
e
cimal
commit
|
commitdiff
|
tree
2009-12-02
Steven Schronk
Added pr
o
gram to dis
p
lay dataty
p
e in
f
o
.
commit
|
commitdiff
|
tree
2009-12-02
Steven Schronk
Added workin
g
exam
p
l
e of shell sort
.
commit
|
commitdiff
|
tree
2009-11-30
St
e
v
e
n S
c
h
ronk
Added
c
a
l
c
u
lat
o
r
a
nd char
c
o
u
n
te
r
e
x
amples from
boo
k
.
commit
|
commitdiff
|
tree
2009-11-26
Steven Schronk
Added
t
u
t
o
r
ia
l
1-23
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Add
e
d tutorial 1-1
9
.
commit
|
commitdiff
|
tree
2009-11-25
Steven
S
chronk
Adde
d
tuto
r
i
al 1
-
17
.
commit
|
commitdiff
|
tree
2009-11-25
S
t
even
S
c
hr
o
n
k
Added so
l
ution to pr
o
blem 1-1
6
.
commit
|
commitdiff
|
tree
2009-11-25
Steven S
c
hronk
Example workin
g
with char arrays
.
commit
|
commitdiff
|
tree
2009-11-25
St
e
ven Schronk
A
dded p
r
og
r
am th
a
t illustrates
passing da
t
a
by valu
e
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
S
t
eve
n
Schr
o
nk
Inital Commit
commit
|
commitdiff
|
tree