This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program feb2014_prvi; | |
const MAX = 20; | |
type matrix = array [1..MAX,1..MAX] of integer; | |
var matrica : matrix; | |
x, v, k : integer; | |
procedure eq_matrix(matrica : matrix; x,v,k : integer); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program septembar2013_prvi; | |
const MAX=100; | |
type arr = array [1..MAX] of integer; | |
ponavljanje = record | |
ime:integer; | |
brojp:integer; | |
end; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background yes | |
use_xft yes | |
xftfont Ubuntu:pixelsize=12 | |
xftalpha 0.5 | |
update_interval 1 | |
total_run_times 0 | |
own_window yes | |
own_window_type normal | |
own_window_transparent yes | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* main.c | |
* | |
* Created on: May 13, 2015 | |
* Author: Darko Demic | |
*/ | |
#include <stdio.h> | |
//Testing pointers | |
/* a copy of the int n can be changed within the function without affecting the calling code */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
//preprocessor | |
int main(){ | |
printf("Unesite duzinu niza: "); | |
int d=0; | |
scanf("%d",&d); | |
float array[d]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
//preprocessor | |
int main(){ | |
int M=0; | |
char S1[17]; | |
//Unost stringa i broja | |
printf("Unesite String S1: "); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Compiled using GCC 5.1 | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
//preprocessor | |
void reverse(char s[], int s3l){ | |
char r[s3l]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Pointeri | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
//preprocessor | |
int main(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
//preprocessor | |
int main(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
//preprocessor | |
int main(){ |
OlderNewer