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
S
chron
k
Adde
d
prime
n
um
b
er function exampl
e
.
commit
|
commitdiff
|
tree
2010-06-10
Steve
n
Schronk
Added prog
r
am to display the
d
atatype limits of C
.
commit
|
commitdiff
|
tree
2010-05-05
Steven Schronk
Add
e
d ex
a
m
p
le with variable arrays
.
commit
|
commitdiff
|
tree
2010-01-25
Steven Schronk
Added an ex
a
mple
w
ith a
s
truct
.
commit
|
commitdiff
|
tree
2009-12-30
Ste
v
en Schronk
Added e
x
a
m
ple cbd_rand_dis
t
.
Gener
a
tes r
a
ndom numb
e
rs
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
S
t
e
v
en
Schron
k
Adde
d
example cdb_time
.
Calculate
s
m
i
nu
t
es and seconds
.
commit
|
commitdiff
|
tree
2009-12-30
S
t
e
v
en Schr
o
n
k
Added exmaple cb
d
_pe
n
nie
s
_
adv
.
Now
calculates final
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven
S
c
h
ro
n
k
Added example cb
d
_pennies
.
Calculates
c
h
ange found
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schronk
A
d
ded exa
m
pl
e
cbd_lawn
.
C
a
l
c
ulates area of
y
ar
d
in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schronk
Added example c
b
d_triple_
i
nt
.
Finds t
r
iples of integers
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schro
n
k
A
d
ded cbd_rand
.
Generates x random n
u
mbers in y columns
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Steven Schronk
Added example 5-14
.
S
ort
s
data from stdin
.
H
as some
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
Ste
v
en S
c
hronk
Added exa
m
ple 5-
1
3
.
Code needs a
lit
t
le clean
i
ng and
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
S
teven Schronk
Added example 5-10
.
Calc program use
s
command li
n
e
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
Modif
i
ed example 5-8
.
Array of
m
onths removed; n
o
t
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Stev
e
n Schronk
Added
ex
a
mple 5-8
.
Co
n
ver
t
s
f
r
o
m
days, years and
y
e
a
rdays
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Created cu
s
tom resuabl
e
libra
r
y
o
f
f
avorite fun
c
tions
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
te
v
en
Schr
o
nk
Added
e
xample 5-
7
.
Reads i
n
put line
s
and s
t
ores e
a
ch
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
e
ven
Schronk
Added function to example
5
-5 named strn
c
m
p
.
Compares
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Sch
r
onk
A
d
ded function to example 5-5
nam
e
d strnc
a
t
.
A
p
pends
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven
S
chr
o
nk
Ad
d
ed partial tutoria
l
5-5
.
F
u
nction cop
i
es n cha
r
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schro
n
k
Add
e
d tutorial 5-4
.
Compar
e
s
c
hars at end o
f
two arrays
.
commit
|
commitdiff
|
tree
2009-12-22
Ste
v
en
S
chronk
Added exam
p
l
e 5-3
.
Copy and c
o
nc
a
tinate s
t
rings using
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
Steve
n
Schronk
Added e
x
ample
5
-1
.
Not go
o
d example
of probl
e
m
for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
S
t
even Schronk
Added tut
o
rial 4-13
.
Reverses array
u
sing recurs
i
on
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven Sc
h
ron
k
Added
t
utorial
4-12
.
Conve
r
ts
i
n
t to
a
rr
a
y of char
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Sc
h
ronk
Removed need for ungetch in Adv
.
Calc
.
U
s
e
s sta
t
i
c
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schro
n
k
Adv
.
Calc now supports Trig fu
n
ctions (sin, cos, t
a
n
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Sch
r
onk
Updated A
d
v
.
C
alc program
.
N
e
eded ab
i
lity to duplicate
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
S
t
e
v
en Schronk
Comme
n
ts
i
n t
u
torial 3-5 m
o
ved to
correct location
.
commit
|
commitdiff
|
tree
2009-12-18
Steve
n
Schronk
A
dded tutorial 3-5
.
Co
n
verts int t
o
s
t
rin
g
of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
Steven
S
ch
r
onk
Made
s
o
me small chang
e
s to conver
t
a
nd
exampl
e
2-5
.
commit
|
commitdiff
|
tree
2009-12-17
St
e
ven S
c
hro
n
k
Merg
e
bran
c
h
'
master
'
of g
i
thub
.
c
o
m
:
st
e
ven-schronk
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
A
d
ded print
a
nd reverse stac
k
functions
.
Still needs
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Advanced ca
l
c
u
lator now supports modulus
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schron
k
Completed tutorial f
o
r 4-2
.
Converts string of c
h
ars
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
S
tev
e
n Sc
h
ron
k
C
hang
e
d permis
s
ions of source files
.
commit
|
commitdiff
|
tree
2009-12-16
Stev
e
n
Schronk
A
dded code for tutorial
4
-
2
.
Comple
t
e and tested,
without
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
S
t
even Sch
r
o
nk
A
dded tutotial 4-1
.
Funct
i
on finds las
t
char i
n
string
.
commit
|
commitdiff
|
tree
2009-12-15
Steven S
c
hron
k
A
dded
tutori
a
l 3-6
.
C
onverts
i
nt
e
ge
r
into arr
a
y of
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Ste
v
en Schronk
Add
e
d
tu
t
orial
3
-
3
.
Print
s
out stream of
c
hars based
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Stev
e
n Schronk
Add
e
d pr
o
gram t
o
di
s
pla
y
bits conta
i
n
e
d i
n
a
n integer
.
commit
|
commitdiff
|
tree
2009-12-11
Steve
n
Schronk
Added tutoria
l
ex_2-
5
.
Fu
n
ction
returns
location of
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
S
t
even Schronk
Example 2-4 returns i
n
idcation of
f
o
u
nd string
.
commit
|
commitdiff
|
tree
2009-12-11
S
t
ev
e
n
S
chronk
Added e
x
ample 2-4
.
Progra
m
c
o
m
pares st
r
ing
s
.
commit
|
commitdiff
|
tree
2009-12-11
Steve
n
Schronk
Added pr
o
gram to convert Hex into
D
e
cimal
commit
|
commitdiff
|
tree
2009-12-02
S
t
even Schro
n
k
Add
e
d program to display datatyp
e
in
f
o
.
commit
|
commitdiff
|
tree
2009-12-02
Steven Sch
r
o
n
k
Added w
o
r
k
ing
e
xamp
l
e
o
f s
h
ell so
r
t
.
commit
|
commitdiff
|
tree
2009-11-30
S
t
even Schronk
Added calculator
and
c
ha
r
counter
e
xamples fro
m
book
.
commit
|
commitdiff
|
tree
2009-11-26
Steven Schronk
A
dded tutorial 1-23
.
commit
|
commitdiff
|
tree
2009-11-25
S
teven Schro
n
k
Added
t
u
tori
a
l 1-19
.
commit
|
commitdiff
|
tree
2009-11-25
S
t
eve
n
S
c
h
r
o
nk
Added tutori
a
l 1-17
.
commit
|
commitdiff
|
tree
2009-11-25
Steven
Sc
h
r
onk
Ad
d
ed
s
olution to pro
b
l
e
m 1-16
.
commit
|
commitdiff
|
tree
2009-11-25
Ste
v
en
Sc
h
ronk
Example w
o
rking with char
arrays
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Ad
d
e
d progra
m
that illust
r
ates passing data by va
l
ue
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
S
t
even Sc
h
r
o
nk
Inital Commit
commit
|
commitdiff
|
tree