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 example with variable arrays.
2010-05-05
Steven Schro
n
k
A
dded example with variable arrays
.
commit
|
commitdiff
|
tree
2010-01-25
Ste
v
en Schronk
Added an example with
a struct
.
commit
|
commitdiff
|
tree
2009-12-30
St
e
ven Schronk
Added exam
p
le cbd_rand_dis
t
.
G
e
nerates random numb
e
rs
.
.
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Schronk
Added example
cdb_time
.
C
alculat
e
s mi
n
utes and
s
econds
.
commit
|
commitdiff
|
tree
2009-12-30
Steven Schronk
Ad
d
e
d
ex
m
a
pl
e
cb
d
_
p
ennies_adv
.
Now calculates final
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven
S
chronk
Ad
d
e
d
e
x
a
mple cbd
_
pennies
.
C
al
c
ul
a
tes chang
e
f
o
und
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schronk
Added exa
m
ple cbd_lawn
.
Calculates area
of yard in
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Steven Schro
n
k
A
dd
e
d
exam
p
le
cbd
_
triple_in
t
.
Finds
t
riples
of i
n
t
e
g
e
r
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
S
teven Sc
h
ro
n
k
Added
cbd_rand
.
Generates x random num
b
ers in y co
l
umns
.
.
.
commit
|
commitdiff
|
tree
2009-12-28
Steven Schronk
Added example 5-14
.
Sorts data fro
m
stdin
.
Has some
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
S
t
even Schronk
Ad
d
ed exam
p
l
e
5-13
.
Code n
e
ed
s
a littl
e
c
leanin
g
and
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven
Schronk
Added exam
p
le 5-10
.
C
alc pro
g
r
a
m
uses com
m
a
n
d line
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Schr
o
nk
Modified examp
l
e 5-8
.
Arra
y
of mo
n
t
hs removed; not
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
Steven Sc
h
r
onk
Add
e
d e
x
ample 5-8
.
Conver
t
s
from d
a
y
s, y
e
ar
s
and y
e
ardays
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Crea
t
ed custom resuable library
of favorite fun
c
tions
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven
S
chronk
Ad
d
ed
e
x
am
p
le 5-7
.
Reads in
p
ut lines
and store
s
each
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Ste
v
en Sch
r
on
k
Added funct
i
on to example 5-5 nam
e
d st
r
ncmp
.
Compare
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven
S
ch
r
onk
Added f
u
nction to example
5-5 name
d
strn
c
a
t
.
Appends
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Ste
v
en Schronk
Adde
d
partial tutorial 5
-
5
.
F
unction
copies n chars
.
.
.
commit
|
commitdiff
|
tree
2009-12-23
Steven Schronk
Add
e
d t
u
torial 5-4
.
Compares char
s
at end of two arrays
.
commit
|
commitdiff
|
tree
2009-12-22
Steven S
c
hron
k
Adde
d
ex
a
m
p
le 5-3
.
Copy
a
nd co
n
catinate
s
trings using
.
.
.
commit
|
commitdiff
|
tree
2009-12-22
Steven Sc
h
ronk
Added example 5-1
.
No
t
good example of proble
m
for
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Ste
v
e
n
Schronk
Added tut
o
r
ial
4
-13
.
Reverses
a
r
ra
y
usin
g
recursion
.
.
.
commit
|
commitdiff
|
tree
2009-12-21
Steven Schr
o
nk
A
dded t
u
tor
i
al 4-12
.
C
on
v
erts int to ar
r
ay of char
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Sch
r
onk
Re
m
oved
n
eed
f
or ungetch i
n
Adv
.
C
a
lc
.
Uses static
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
S
teve
n
Schr
o
nk
Adv
.
C
a
lc now supports Trig fun
c
tions (sin, cos, tan
.
.
.
commit
|
commitdiff
|
tree
2009-12-20
Steven Schron
k
Upda
t
ed Adv
.
Calc pro
g
ram
.
Needed abi
l
it
y
to d
u
plicate
.
.
.
commit
|
commitdiff
|
tree
2009-12-18
S
t
e
v
en Sc
h
ronk
Comments in tutorial 3
-
5 moved to
c
orrect location
.
commit
|
commitdiff
|
tree
2009-12-18
Steven Schronk
A
dded tut
o
r
i
a
l 3-
5
.
Converts int to string
of char
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-17
S
teven
Schronk
Ma
d
e some small changes
to convert a
n
d
example
2-5
.
commit
|
commitdiff
|
tree
2009-12-17
Steven S
c
hronk
Mer
g
e
branch 'ma
s
ter' of githu
b
.
c
o
m:steven-schronk
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steve
n
Schronk
Added print
a
nd reverse
s
t
ack fun
c
tions
.
Sti
l
l
needs
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steven S
c
hro
n
k
A
dvan
c
ed calculator n
o
w supp
o
rts modu
l
us
.
commit
|
commitdiff
|
tree
2009-12-16
Steve
n
S
c
h
r
onk
Completed t
u
t
o
rial f
o
r
4-2
.
C
o
nverts
string o
f
char
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-16
Steve
n
Schronk
Changed permissions of so
u
r
c
e files
.
commit
|
commitdiff
|
tree
2009-12-16
Steven
S
chronk
Added code for tu
t
orial 4-2
.
C
o
m
plete and
t
e
s
ted, with
o
ut
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven
S
chronk
Added tutotial 4-1
.
Function fin
d
s
las
t
char i
n
s
tr
i
ng
.
commit
|
commitdiff
|
tree
2009-12-15
Steven Schro
n
k
Ad
d
e
d
tuto
r
ial 3-6
.
Con
v
erts integer into
array o
f
.
.
.
commit
|
commitdiff
|
tree
2009-12-15
Steven S
c
hronk
Added
tutori
a
l 3-3
.
Prints out st
r
eam o
f
chars based
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Steven Schronk
Adde
d
prog
r
am to
d
i
spla
y
b
its contained in
an in
t
eger
.
commit
|
commitdiff
|
tree
2009-12-11
S
t
even Schronk
Added tutorial ex_2-5
.
Fun
c
t
ion
returns loca
t
ion of
.
.
.
commit
|
commitdiff
|
tree
2009-12-11
Ste
v
e
n Sch
r
on
k
Exa
m
ple 2-4 returns inidcation
o
f
found string
.
commit
|
commitdiff
|
tree
2009-12-11
Steven
Sch
r
onk
A
dded example 2-4
.
Pr
o
gram compa
r
es
s
trings
.
commit
|
commitdiff
|
tree
2009-12-11
Steve
n
S
c
hronk
Add
e
d p
r
ogram to convert Hex
i
nto Decimal
commit
|
commitdiff
|
tree
2009-12-02
Ste
v
en Schronk
Ad
d
ed pro
g
ram to display datatype info
.
commit
|
commitdiff
|
tree
2009-12-02
Steven S
c
hronk
Added
w
orking ex
a
mp
l
e
of shell
sort
.
commit
|
commitdiff
|
tree
2009-11-30
S
t
e
v
en S
c
hronk
Added c
a
lc
u
lator
and char counte
r
ex
a
mp
l
es from b
o
ok
.
commit
|
commitdiff
|
tree
2009-11-26
Ste
v
en Schronk
Added tutori
a
l 1
-
23
.
commit
|
commitdiff
|
tree
2009-11-25
Steve
n
Schronk
Add
e
d tut
o
rial
1-19
.
commit
|
commitdiff
|
tree
2009-11-25
St
e
v
e
n Sc
h
r
onk
Added tutor
i
a
l
1-17
.
commit
|
commitdiff
|
tree
2009-11-25
Steve
n
S
chronk
Ad
d
e
d solu
t
ion
t
o proble
m
1-16
.
commit
|
commitdiff
|
tree
2009-11-25
Steven
S
chronk
Ex
a
m
ple w
o
rk
i
n
g
w
ith char arrays
.
commit
|
commitdiff
|
tree
2009-11-25
Steven Schron
k
Add
e
d
p
rogram th
a
t
ill
u
strates pas
s
ing data by va
l
u
e
.
.
.
commit
|
commitdiff
|
tree
2009-12-01
Steven Schronk
Inital Com
m
i
t
commit
|
commitdiff
|
tree