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 stack address randomization example.
2010-09-16
Steven Schronk
A
dded stack address ran
d
omization ex
a
mple
.
commit
|
commitdiff
|
tree
2010-06-24
Steven Schronk
Bug found in
P
ri
m
es progr
a
m
.
commit
|
commitdiff
|
tree
2010-06-16
Stev
e
n Schr
o
nk
Ad
d
ed pr
i
me n
u
mb
e
r funct
i
on example
.
commit
|
commitdiff
|
tree
2010-06-10
Steven Schronk
Add
e
d program to
displa
y
t
he
d
a
t
atyp
e
limits of C
.
commit
|
commitdiff
|
tree
2010-05-05
Steven Sch
r
onk
Added ex
a
mple
w
ith variable arrays
.
commit
|
commitdiff
|
tree
2010-01-25
Steven
S
c
hronk
Adde
d
an example
with a struct
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Schronk
Add
e
d
e
xamp
l
e cbd_rand_di
s
t
.
Generat
e
s random numbers
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
S
t
even Sch
r
onk
Added example cdb_time
.
C
a
lcul
a
te
s
minut
e
s and seconds
.
commit
|
commitdiff
|
tree
2009-12-30
Steven
Schro
n
k
Added ex
m
aple cbd_pennies_a
d
v
.
Now
c
alculates f
i
n
a
l
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven S
c
hronk
Adde
d
example cbd
_
pen
n
ies
.
Calculate
s
cha
n
ge found
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
teven Schronk
Added
e
x
ample cbd_lawn
.
Calcu
l
a
t
es area of yar
d
in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
t
even Schronk
Added example cbd_
t
riple_int
.
Fin
d
s triples of intege
r
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Ste
v
en Sch
r
o
n
k
Added cbd
_
rand
.
G
enera
t
es x random
numbe
r
s i
n
y columns
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Steven S
c
hronk
A
d
ded example 5-1
4
.
Sor
t
s data
from st
d
in
.
H
as some
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
Steve
n
Schronk
A
d
de
d
e
x
ample 5-13
.
Code ne
e
d
s a
l
it
t
le cleaning and
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Sc
h
ronk
Added example 5-10
.
Calc program use
s
command line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
M
o
dified e
x
ampl
e
5-8
.
A
r
ray of
m
on
t
hs
removed; not
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven
Schronk
A
d
ded example 5-8
.
Converts from
d
ays,
years and yeardays
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Sch
r
onk
Created cust
o
m resuable l
i
brary of fa
v
orite function
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
eve
n
S
ch
r
onk
A
d
ded examp
l
e 5-7
.
Reads i
n
put l
i
nes and
s
to
r
es each
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Added function to exam
p
le 5
-
5 named str
n
c
m
p
.
Compa
r
es
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Sc
h
ronk
Added function t
o
e
x
a
mple 5
-
5 name
d
strncat
.
Appends
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
e
v
en
Schro
n
k
Ad
d
e
d
partial tuto
r
i
al
5
-5
.
Function
copies n chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steve
n
Schronk
Added tutorial 5-4
.
Compares chars at e
n
d o
f
two
a
rrays
.
commit
|
commitdiff
|
tree
2009-12-22
Steven S
c
hronk
Ad
d
e
d example 5-3
.
Copy and conca
t
inate st
r
ings using
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
St
e
ven Schronk
Added example 5-
1
.
N
ot good e
x
a
mp
l
e o
f
p
r
oblem for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven Schr
o
nk
A
d
d
ed tutorial 4
-
13
.
Reverses array u
s
ing re
c
ursion
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
S
tev
e
n Schronk
Added tu
t
orial 4-12
.
Conve
r
t
s
int to array of c
h
ar
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
St
e
ven
Sch
r
onk
Removed nee
d
for ungetch in A
d
v
.
Calc
.
Uses s
t
atic
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steve
n
Schronk
A
d
v
.
Calc n
o
w
su
p
p
o
r
ts Trig functio
n
s (s
i
n, cos,
t
a
n
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Ste
v
en Schronk
Up
d
ated A
d
v
.
Calc
progr
a
m
.
Needed a
b
ility to du
p
licate
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
Steven
S
chro
n
k
Com
m
ents
in t
u
t
orial 3-5 moved to
c
orrect location
.
commit
|
commitdiff
|
tree
2009-12-18
Steven Schronk
Added tutorial 3-5
.
C
o
n
ve
r
ts int
t
o string of cha
r
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
Steven Schronk
Made som
e
s
m
all chan
g
es to c
o
nvert and ex
a
mple 2-
5
.
commit
|
commitdiff
|
tree
2009-12-17
Stev
e
n Schronk
Merge
b
ranch 'mast
e
r'
of git
h
ub
.
com
:
steven-schronk
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Added print and reverse st
a
ck f
u
n
ctions
.
Still need
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
S
t
e
ven Schronk
Advance
d
c
a
lculator now supports modulus
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Completed tutoria
l
for 4-2
.
Converts string of chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Changed permi
s
s
i
o
ns of source fi
l
es
.
commit
|
commitdiff
|
tree
2009-12-16
S
tev
e
n
Schronk
Added code f
o
r
tutorial 4-2
.
Com
p
lete an
d
tested, without
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
S
t
even Schronk
Adde
d
t
u
totial 4
-
1
.
Function finds l
a
st char in s
t
ring
.
commit
|
commitdiff
|
tree
2009-12-15
Stev
e
n Schronk
Added tutorial 3-
6
.
Converts
i
ntege
r
into array of
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schronk
Added tu
t
orial 3-3
.
Prints out st
r
eam o
f
cha
r
s
bas
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
A
d
ded progra
m
to display bi
t
s co
n
ta
i
ned in an integer
.
commit
|
commitdiff
|
tree
2009-12-11
S
t
ev
e
n Sc
h
ron
k
Added tu
t
orial e
x
_2-5
.
Func
t
i
on
r
eturn
s
location of
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
E
x
amp
l
e
2
-4 returns inidcation of fo
u
nd string
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Sc
h
ronk
Added example 2-4
.
P
r
o
gram compares strings
.
commit
|
commitdiff
|
tree
2009-12-11
S
te
v
e
n
Schro
n
k
A
dded p
r
ogram to convert
H
ex into Decimal
commit
|
commitdiff
|
tree
2009-12-02
Steven Schronk
Added prog
r
am to d
i
splay d
a
t
atyp
e
info
.
commit
|
commitdiff
|
tree
2009-12-02
S
t
even Schronk
Ad
d
ed worki
n
g example of shell sor
t
.
commit
|
commitdiff
|
tree
2009-11-30
Steven Schro
n
k
Added calc
u
l
ator a
n
d
char counter
examples from bo
o
k
.
commit
|
commitdiff
|
tree
2009-11-26
S
t
even
S
chronk
A
d
ded tutorial 1-23
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Added tutorial 1-19
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schr
o
n
k
Added tutorial 1-17
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Sc
h
r
onk
Added
solution to
pro
b
l
e
m
1
-
16
.
commit
|
commitdiff
|
tree
2009-11-25
S
t
even S
c
hro
n
k
Example working with c
h
ar ar
r
a
ys
.
commit
|
commitdiff
|
tree
2009-11-25
St
e
ven S
c
hronk
A
d
d
e
d program
that
i
llustrates
passing data
by value
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
S
tev
e
n S
c
hronk
Inital
Commit
commit
|
commitdiff
|
tree