100519084

Page 1


Drzewa binarne

Struktury.

Krok 1. Tworzenie drzewa

Sztuka DOBREGO PROGRaMOWaNIa

SZTUKA DOBREGO PROGRAMOWANIA

Hubert Zacharski
shutterstock/polygraphus
Iwona Lewandowska
Irena Puchalska

Drzewa binarne

Struktury.

Krok 1. Tworzenie drzewa

dobrych

Install o nazwie root

ImageWriter

Vim, Gvim Emacs uint wykladnik(uint n, uint k) { uint w = 0; while (n/=k) w += n; return (w); } void main() { }

wykladnik.c

Konsole

$ gcc -o wykladnik wykladnik.c wykladnik

o nazwie wykladnik

$ ./wykladnik

The Top 11 Best Linux Distros for 2015

The Best Linux Distros of 2016

openSUSE

Compiling C and C++ Programs

60 = 22 · 31 · 51

Zadanie: k n, k n!

6! = 1 · 2 · 3 · 4 · 5 · 6 = 720

= { 6! = = 6 · 5! = = 6 · 5 · 4! = = 6 · 5 · 4 · 3! = = 6 · 5 · 4 · 3 · 2! = = 6 · 5 · 4 · 3 · 2 · 1! = = 6 · 5 · 4 · 3 · 2 · 1 = 720 lista parametrów);

char, switch, return.

wykladnik, _silnia, n, k1.

zmiennej zmienna

zmiennej

od 0 do 255

od -128 do 127

int od -2 147 483 648 do 2 147 483 647

od 0 do 4 294 967 295

od 1.2E-38

od 2.3E-308

od 3.4E-4932

#defineDyrektywy preprocesora

Od tego momentu typ uint unsigned int

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.