Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Zadania z Labratorium w C
C Objective-C C++
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
1-budowanie-programow
15-struktury
5-petle
7-funkcje
wyklad-04-11
wyklad-13-01
wyklad-18-11
wyklad-28-10
.gitignore
README.md
hello.c
pierw.c

README.md

Laboratoria z C

Szablon programu hello world:

#include <stdio.h>

int main() {
  printf("hello world\n");

  return 0;
}

Kompilacja:

cc -g -Wall hello.c -o hello

ANSI C99

#include <stdio.h>

int main() {
  printf("hello world\n");
}

Kompilacja:

cc -g -Wall -std=gnu99 hello.c -o hello -lm
c99 -g -Wall hello.c -o hello -lm            # POSIX
Something went wrong with that request. Please try again.