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 Sc
h
ro
n
k
Adde
d
st
a
ck ad
d
ress rando
m
i
zation example
.
commit
|
commitdiff
|
tree
2010-06-24
Steven S
c
hronk
B
u
g found in Primes
p
rogram
.
commit
|
commitdiff
|
tree
2010-06-16
St
e
ven Schronk
A
d
ded prime nu
m
ber function example
.
commit
|
commitdiff
|
tree
2010-06-10
S
t
even Schronk
Added program
t
o disp
l
a
y
t
he datatype limits of C
.
commit
|
commitdiff
|
tree
2010-05-05
Steven Schronk
Added example with variable a
r
ra
y
s
.
commit
|
commitdiff
|
tree
2010-01-25
S
teven Schronk
Added an ex
a
mple with a struct
.
commit
|
commitdiff
|
tree
2009-12-30
S
te
v
en Schronk
Added exa
m
ple c
b
d
_rand_dist
.
Gene
r
a
tes random num
b
ers
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Sc
h
ro
n
k
Added ex
a
m
ple cdb_time
.
Ca
l
culates minutes and seco
n
ds
.
commit
|
commitdiff
|
tree
2009-12-30
Steve
n
Schronk
Added exmaple cbd_pennies_adv
.
N
ow calculates fina
l
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
te
v
en Schro
n
k
A
d
ded exa
m
p
l
e cbd_p
e
nn
i
es
.
Calculates change
found
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Stev
e
n Schronk
Added
e
xample cbd_l
a
w
n
.
Calcu
l
ate
s
are
a
o
f
yard in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven
S
chr
o
nk
Added example cbd_
t
riple_int
.
Fi
n
ds triples
of integers
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schronk
A
d
ded cbd_rand
.
Gener
a
t
e
s
x random
nu
m
b
ers
in
y c
o
lu
m
n
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Steve
n
Sch
r
onk
A
d
ded exam
p
le 5-14
.
S
orts data
f
rom st
d
in
.
Has some
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
Stev
e
n
S
chr
o
nk
Added
e
x
ample 5-13
.
Code needs a little cleanin
g
and
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
S
t
eve
n
Schronk
Add
e
d
example 5-
1
0
.
C
a
lc
pro
g
r
a
m uses comm
a
nd line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
M
od
i
fied e
x
am
p
l
e
5-8
.
Arr
a
y
o
f mon
t
hs removed; not
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steve
n
Schron
k
A
d
d
e
d
e
xampl
e
5-8
.
Converts from days, yea
r
s
a
n
d
y
ear
d
ays
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Ste
v
e
n
S
ch
r
on
k
C
reated
custom resuable library of
fa
v
orite functions
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
A
d
ded exam
p
l
e 5-7
.
Reads
input lines and
s
t
ore
s
e
ach
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven S
c
hronk
A
dded f
u
nction to
example 5-5 n
a
med strnc
m
p
.
Compares
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
even S
c
hro
n
k
Added f
u
nctio
n
to example 5-5 named
s
trncat
.
App
e
nds
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Added parti
a
l tutorial 5-5
.
Function copies n chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Added tutorial 5-4
.
Compares c
h
a
r
s a
t
end of tw
o
ar
r
ays
.
commit
|
commitdiff
|
tree
2009-12-22
Ste
v
e
n Sch
r
o
n
k
Added example 5-
3
.
Copy and concatinate strings u
s
ing
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
Steven S
c
hronk
Ad
d
ed example
5-1
.
No
t
go
o
d e
x
ample
o
f
prob
l
em for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven
S
c
hronk
Adde
d
tut
o
r
i
al
4
-13
.
R
e
verses array us
i
ng recursion
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven
S
c
hronk
Added tutorial 4-12
.
C
o
nverts int to
a
r
r
a
y of char
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
S
teven Sch
r
onk
Removed need for
un
g
etch in Adv
.
C
a
l
c
.
Uses static
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schron
k
Adv
.
Calc now supports
T
ri
g
functions (
s
in, c
o
s, tan
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schronk
Upd
a
ted Adv
.
Calc program
.
Needed ab
i
li
t
y
t
o duplicate
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
Ste
v
e
n
S
c
hronk
C
o
mments in tuto
r
ial
3
-5
mo
v
ed to correct l
o
cation
.
commit
|
commitdiff
|
tree
2009-12-18
Steven Schronk
Added
tu
t
orial 3-5
.
Converts
int t
o
strin
g
o
f
cha
r
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
Steven
S
c
h
ronk
Made some
small changes
t
o conver
t
a
n
d
e
xamp
l
e 2-5
.
commit
|
commitdiff
|
tree
2009-12-17
Steven Sch
r
onk
Merge
b
ran
c
h 'master' of github
.
com:
s
t
e
ven
-
schronk
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Stev
e
n Schronk
A
d
ded pri
n
t a
n
d rever
s
e stack fun
c
t
i
o
n
s
.
Still needs
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Advanced calcula
t
o
r
now supports
modulus
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Schronk
Com
p
leted t
u
to
r
ial for 4-2
.
Converts s
t
r
ing o
f
chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven
Sch
r
onk
Changed
p
ermissions of source f
i
le
s
.
commit
|
commitdiff
|
tree
2009-12-16
St
e
ven
Schronk
Ad
d
ed co
d
e for tuto
r
ial 4-2
.
C
o
m
ple
t
e
and tested, without
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Ste
v
en S
c
hronk
Add
e
d
t
utotial 4-1
.
Functi
o
n f
i
nds
l
ast
c
har
i
n string
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schronk
Added tutorial 3-6
.
Converts int
e
ger into
a
rray of
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schronk
Add
e
d tutorial
3-
3
.
P
ri
n
ts out st
r
eam of chars ba
s
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Stev
e
n
S
chronk
Added prog
r
am
to
d
isplay bits containe
d
in an integer
.
commit
|
commitdiff
|
tree
2009-12-11
Steven S
c
hronk
Added tutoria
l
ex_2-5
.
Fun
c
tion return
s
location of
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Ste
v
e
n Schr
o
nk
E
xample 2-4 returns inidca
t
ion of fo
u
nd string
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Adde
d
example
2
-
4
.
Program compares strings
.
commit
|
commitdiff
|
tree
2009-12-11
S
tev
e
n Schronk
Added
pro
g
ram to convert
Hex
into Deci
m
al
commit
|
commitdiff
|
tree
2009-12-02
Stev
e
n
S
chronk
A
dded program to d
i
splay dat
a
type
i
nfo
.
commit
|
commitdiff
|
tree
2009-12-02
Steven Schronk
Added
w
orking
e
xa
m
pl
e
of shell sort
.
commit
|
commitdiff
|
tree
2009-11-30
Steven Schronk
Added calc
u
lator and char counter
e
xamp
l
es from book
.
commit
|
commitdiff
|
tree
2009-11-26
Steven Sch
r
on
k
A
dded tutor
i
a
l
1-23
.
commit
|
commitdiff
|
tree
2009-11-25
S
t
e
ven Schronk
Added tutorial 1-19
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Adde
d
tutori
a
l 1-17
.
commit
|
commitdiff
|
tree
2009-11-25
St
e
v
e
n
Schronk
Added solution to pr
o
blem 1-16
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
Example work
i
ng with char arrays
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schronk
A
d
d
ed program
t
hat il
l
ustrates passing data by value
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
Steven S
c
hro
n
k
I
n
ita
l
Commit
commit
|
commitdiff
|
tree