Skip to content

Instantly share code, notes, and snippets.

x2 (*"3 0) y
procedure p(liczba : integer);
function f(x:real):real;{real – typ zwracany}
#include <stdio.h>
#include <stdarg.h>
int f_wiele_arg (char *licznik, ...)
{
va_list arg;
int liczba, i = 0;
va_start (arg, licznik);
//w licznik jest zawarte kolejne typy zmiennych(c-znak; inne – liczba);
func f() (float32, int){
return 22.3444, 1
}
#define max 100
#ifdef LINUX
#include <biblioteka_linux.h>
#else
#include <biblioteka_windows.h>
#endif
var map_liczba map[int]string
map_liczba = make(map[int]string)
map_liczba[1] = "bella"
type Vertex struct {
Lat, Long float64
}
var sss map[int]Vertex
sss = make(map[int]Vertex)
sss[1] = Vertex{2.3, 4.5}