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
Ste
v
en Schronk
Added pr
i
me numbe
r
funct
i
on exam
p
le
.
commit
|
commitdiff
|
tree
2010-06-10
Steven S
c
h
r
onk
Added
p
ro
g
ram t
o
display
the datatype limi
t
s of C
.
commit
|
commitdiff
|
tree
2010-05-05
Ste
v
e
n
S
c
h
ronk
Add
e
d
e
xample
w
i
t
h variable a
r
r
ays
.
commit
|
commitdiff
|
tree
2010-01-25
Steve
n
S
c
h
ronk
Added an example wi
t
h a struct
.
commit
|
commitdiff
|
tree
2009-12-30
S
teve
n
Schronk
Added example cbd
_
rand_dist
.
Generates random numbers
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Schr
o
nk
Added example cdb_time
.
C
al
c
u
lates min
u
t
es and seconds
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Schronk
Added exmaple
cbd_pennies_adv
.
Now calcu
l
ate
s
f
inal
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
teve
n
Schronk
Added
e
xam
p
le cbd_pennies
.
Calculates
change found
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven S
c
hronk
A
d
ded
ex
a
mple cbd_lawn
.
Calc
u
lates area of yard in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schronk
Added exampl
e
cbd_triple_int
.
F
i
n
ds triples of inte
g
ers
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steve
n
Schronk
Added cbd_ran
d
.
Ge
n
erates
x
rando
m
numbers i
n
y columns
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Stev
e
n S
c
hronk
A
dded example 5-
1
4
.
So
r
ts da
t
a from stdin
.
Has some
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
Steven Schr
o
nk
Adde
d
exa
m
p
l
e 5-13
.
Code need
s
a little cle
a
ning and
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
Added
e
xample 5-10
.
Calc progra
m
uses command line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schron
k
Modifie
d
e
x
ample 5-8
.
Array
o
f months
remov
e
d; not
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schronk
Ad
d
ed
examp
l
e
5-8
.
Converts from
days, years and yeardays
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Ste
v
en Schron
k
Create
d
custom resuable
l
ib
r
ary of favor
i
te
functions
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
even Schronk
Adde
d
example 5-7
.
R
e
ads input lines an
d
s
t
ores ea
c
h
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
teve
n
Schronk
Adde
d
f
unction to
e
xa
m
ple 5-5
named
s
trncmp
.
Compares
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steve
n
Sc
h
ronk
Added
function to example 5-5 named strncat
.
Appends
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Stev
e
n Schronk
A
dded
partial tutoria
l
5-
5
.
Fun
c
t
i
on cop
i
es n
chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
S
t
even Sc
h
r
onk
Added tuto
r
i
a
l
5-4
.
Compares chars at
e
nd of two
a
r
r
ays
.
commit
|
commitdiff
|
tree
2009-12-22
Steven S
c
hronk
Added examp
l
e
5-3
.
C
opy a
n
d conca
t
inate
s
trings
u
s
i
ng
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
Steven Schronk
Added example 5
-
1
.
Not good exa
m
ple of problem
for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven S
c
h
r
o
n
k
Added tutorial 4-13
.
Reve
r
s
es a
r
r
ay using
recur
s
ion
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven Schronk
Added tut
o
rial
4
-
12
.
C
onverts int to array of char
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steve
n
Schronk
Removed need for ungetch in Adv
.
Calc
.
Uses static
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schronk
A
d
v
.
Calc now su
p
por
t
s Trig functions (sin, cos, tan
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schronk
U
p
dated Adv
.
C
alc progra
m
.
Needed ab
i
li
t
y to
du
p
l
icate
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
Steven Sch
r
onk
C
omments
i
n tutori
a
l
3
-
5
moved to correct loca
t
i
o
n
.
commit
|
commitdiff
|
tree
2009-12-18
St
e
ven Schr
o
n
k
Added t
u
torial 3-5
.
Converts int to string of char
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
Steven Schronk
Made some small c
h
ange
s
to convert and
example 2-5
.
commit
|
commitdiff
|
tree
2009-12-17
Steve
n
S
c
hronk
Merge branch 'ma
s
ter' of github
.
c
om:steven-schr
o
n
k
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
St
e
ven Sch
r
onk
A
dded pri
n
t and reverse stack f
u
nctions
.
Still
needs
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
S
t
eve
n
S
chr
o
nk
A
d
v
a
nced calculator now
suppo
r
ts modul
u
s
.
commit
|
commitdiff
|
tree
2009-12-16
Steven Sch
r
onk
C
ompleted tutorial f
o
r 4-
2
.
Converts s
t
ring of
c
hars
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Ste
v
en Sch
r
onk
Changed
p
ermissions of
sour
c
e fil
e
s
.
commit
|
commitdiff
|
tree
2009-12-16
S
t
even Schron
k
Adde
d
cod
e
f
o
r tuto
r
i
a
l 4-2
.
Complete a
n
d
t
ested, wi
t
ho
u
t
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven
S
ch
r
onk
Added tu
t
otial 4-1
.
Func
t
ion fin
d
s la
s
t char in string
.
commit
|
commitdiff
|
tree
2009-12-15
Steve
n
Schro
n
k
Added tut
o
ri
a
l 3-6
.
Conv
e
r
t
s integ
e
r into array of
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Stev
e
n Schronk
A
dd
e
d
t
utorial 3-3
.
Prints out stream of cha
r
s based
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Sch
r
o
nk
A
d
ded
program to
d
isplay bi
t
s c
o
nt
a
in
e
d
in an i
n
teger
.
commit
|
commitdiff
|
tree
2009-12-11
St
e
ven Schr
o
nk
Added tu
t
orial ex_2-5
.
F
u
n
cti
o
n retur
n
s lo
c
ation of
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schron
k
E
x
a
m
ple 2-4 retur
n
s inidc
a
t
i
on of f
o
und str
i
ng
.
commit
|
commitdiff
|
tree
2009-12-11
Steve
n
Schr
o
n
k
Add
e
d example 2
-
4
.
Pr
o
gram c
o
m
p
ares
s
trings
.
commit
|
commitdiff
|
tree
2009-12-11
Stev
e
n Schronk
Added program to
c
onvert
H
ex into D
e
cim
a
l
commit
|
commitdiff
|
tree
2009-12-02
Steven S
c
h
r
onk
Added program to dis
p
lay dat
a
type info
.
commit
|
commitdiff
|
tree
2009-12-02
Steven Schron
k
Added working exam
p
le of shell sort
.
commit
|
commitdiff
|
tree
2009-11-30
Steven Schronk
A
dded calculator and char counter
e
xamp
l
es from book
.
commit
|
commitdiff
|
tree
2009-11-26
Steven Schronk
Added tutorial 1-23
.
commit
|
commitdiff
|
tree
2009-11-25
S
t
eve
n
Schr
o
nk
A
dde
d
tutorial 1-19
.
commit
|
commitdiff
|
tree
2009-11-25
St
e
ven
S
c
hronk
Add
e
d tuto
r
ial 1-17
.
commit
|
commitdiff
|
tree
2009-11-25
Ste
v
en Schronk
Added
s
olut
i
on to prob
l
em 1
-
16
.
commit
|
commitdiff
|
tree
2009-11-25
St
e
ven Sc
h
ronk
Exa
m
ple working with char a
r
r
a
ys
.
commit
|
commitdiff
|
tree
2009-11-25
Steven S
c
hr
o
nk
Added program that illustra
t
es passing
d
a
t
a by
v
alue
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
Steven
Schronk
Inital C
o
m
m
it
commit
|
commitdiff
|
tree