Showing posts with label program. Show all posts
Showing posts with label program. Show all posts

Friday, October 5, 2018

The endless possibilities


https://www.linuxliteos.com/download.php


FREEWARE ZA SVAKI DAN 

Drugari, instalirajte što pre ovaj izvanredan operativni sistem, jer isti ne smeta Windowsu, možete imati na primer Microsoft Windows 10, a pored njega i ovaj predivni operativni sistem kao alternativu.

On je u svakom slučaju mnogo brži od Microsoft Windows-a, neki kažu da je i lepši, mada se o ukusima ne raspravlja.

Imajte Microsoft Windows 10 kao i do sada, ali instalirajte i ovaj operativni sistem. Instalacija je veoma jednostavna i može se obaviti iz samog Windows 10 operativnog sistema koristeći mali instalacioni fajl.

Ukoliko imate neko pitanje ili Vam zatreba pomoć, ja sam Vam uvek na raspolaganju kao i do sada 24 sata, 7 dana u nedelji.


Ovaj linux fabrički ugradjuju u brand new Asus laptopove, tako da predstavlja sasvim solidnu zamenu kako za Windows, tako i za ostale Linux distribucije, a da ne govorimo o Android OS.

Ovaj Linux veoma podseća kako na Microsoft Windows 10, tako i na Android, takoreći od oba sveta po malo šmeka:


Ukoliko i Vi imate da reklamirate neki svoj proizvod ili slične sadržaje, blogove, knjige i sajtove slobodno me kontaktirajte.




https://www.bcgroup-online.com/laptopovi/asus-x540na_gq052-%28pentium-n4200.-4gb.-1tb%29-48144

https://www.bcgroup-online.com/laptopovi/asus-x540na_dm164-%28full-hd.-pentium-quadcore-n4200.-4gb.-500gb%29-48008


ENDLESS OS


Preloaded with content

Endless comes with more than 100 free apps and powerful tools that don’t require an Internet connection.

Simple as a smartphone

Endless is designed to feel natural and intuitive, making it easy to use even if you have little or no computer experience.

No hidden costs

Endless is free to download, and software updates are automatically included. It's also virus-resistant, saving you money at every step.

Connect to the world

When you are connected to the internet, Endless works like any other computer, so you can search the web or stay in touch with friends.
Endless OS Short (English) from Endless on Vimeo.





Još mojih lepih i korisnih aplikacija:
Super korisna aplikacija


https://vimeo.com/168222535









Monday, September 24, 2018

Typed Files in Delphi & Lazarus

Simply put a file is a binary sequence of some type. In Delphi, there are three classes of filetyped, text, and untyped. Typed files are files that contain data of a particular type, such as Double, Integer or previously defined custom Record type. Text files contain readable ASCII characters. Untyped files are used when we want to impose the least possible structure on a file.

Typed Files

While text files consist of lines terminated with a CR/LF (#13#10) combination, typed files consist of data taken from a particular type of data structure.
For example, the following declaration creates a record type called TMember and an array of TMember record variables.
 type
  TMember = record
    Name : string[50];
    eMail : string[30];
    Posts : LongInt;
  end;
 var Members : array[1..50] of TMember; 
Before we can write the information to the disk we have to declare a variable of a file type. The following line of code declares an F file variable.
 var F : file of TMember; 
Note: To create a typed file in Delphi, we use the following syntax:
var SomeTypedFile : file of SomeType
The base type (SomeType) for a file can be a scalar type (like Double), an array type or record type. It should not be long string, dynamic array, class, object or a pointer.
In order to start working with files from Delphi, we have to link a file on a disk to a file variable in our program. To create this link we must use AssignFile procedure in order to associate a file on a disk with a file variable.
 AssignFile(F, 'Members.dat') 
Once the association with an external file is established, the file variable F must be 'opened' to prepare it for reading and/or writing. We call Reset procedure to open an existing file or Rewrite to create a new file. When a program completes processing a file, the file must be closed using the CloseFile procedure. After a file is closed, its associated external file is updated. The file variable can then be associated with another external file.
In general, we should always use exception handling; many errors may arise when working with files. For example: if we call CloseFile for a file that is already closed Delphi reports an I/O error. On the other hand, if we try to close a file but have not yet called AssignFile, the results are unpredictable.

Write to a File

Suppose we have filled an array of Delphi members with their names, e-mails, and number of posts and we want to store this information in a file on the disk. The following piece of code will do the work:
 var
  F : file of TMember;
  i : integer;
begin
 AssignFile(F,'members.dat') ;
 Rewrite(F) ;
 try
  for j:= 1 to 50 do
   Write (F, Members[j]) ;
 finally
  CloseFile(F) ;
 end;
end; 

Read from a File

In order to retrieve all the information from the 'members.dat' file we would use the following code:
 var
  Member: TMember
  F : file of TMember;
begin
 AssignFile(F,'members.dat') ;
 Reset(F) ;
 try
  while not Eof(F) do begin
   Read (F, Member) ;
   {DoSomethingWithMember;}
  end;
 finally
  CloseFile(F) ;
 end;
end; 
Note: Eof is the EndOfFile checking function. We use this function to make sure that we are not trying to read beyond the end of the file (beyond the last stored record).

Seeking and Positioning

Files are normally accessed sequentially. When a file is read using the standard procedure Read or written using the standard procedure Write, the current file position moves to the next numerically ordered file component (next record). Typed files can also be accessed randomly through the standard procedure Seek, which moves the current file position to a specified component. The FilePos and FileSizefunctions can be used to determine the current file position and the current file size.
 {go back to the beginning - the first record}
Seek(F, 0) ;
{go to the 5-th record}
Seek(F, 5) ;
{Jump to the end - "after" the last record}
Seek(F, FileSize(F)) ; 

Change and Update

You've just learned how to write and read the entire array of members, but what if all you want to do is to seek to the 10th member and change the e-mail? The next procedure does exactly that:
 procedure ChangeEMail(const RecN : integer; const NewEMail : string) ;
var DummyMember : TMember;
begin
 {assign, open, exception handling block}
 Seek(F, RecN) ;
 Read(F, DummyMember) ;
 DummyMember.Email := NewEMail;
 {read moves to the next record, we have to
 go back to the original record, then write}
 Seek(F, RecN) ;
 Write(F, DummyMember) ;
 {close file}
end;

Completing the Task


That's it -- now you have all you need to accomplish your task. You can write members' information to the disk, you can read it back and you can even change some of the data (e-mail, for example) in the "middle" of the file.


ORIGINAL ARTICLE:

https://www.thoughtco.com/create-database-delphis-file-typed-files-1058003






NEMA ODMORA DOK TRAJE OBNOVA ---->>>>>

IDEMO DALJE ------------>>>>>

Friday, June 8, 2018

Aplikacija Tragac i Otvarac za Windows 7,8,10

Aplikacija Tragac i Otvarac




1) #Aplikacija Tragac i Otvarac  za Windows se uopšte ne instalira. Aplikacija radi odmah bez instaliranja i bez ikakvih framework-ova, runtime-ova, emulatora ili nekih dodatnih dll-ova.

2) Potrebno je samo da raspakujete arhivu u kojoj se nalazi exe aplikacija i nju možete presnimiti na bilo koji uredjaj, cd, dvd, usb ili neki drugi disk.

3) Aplikacija se može pokrenuti sa bilo kog foldera, uredjaja ili diska.

4) To znači da se radi o portable aplikaciji.

5) Aplikacija pronalazi svaki fajl koji odgovara postavljanim parametrima pretrage.

6) Ukoliko je pretraga duga, to znači da imate veliki broj foldera i podfoldera na uredjaju, pa je u svakom trenutku možete prekinuti na dugme (ESC) ili sačekati da se normalno završi.

7) Sve pronadjene datoteke se ispisuju sa kompletnom putanjom i mogu se aktivirati na dupli klik, a ovaj spisak možete kopirati u Clipboard Windows-a i posle iskopirati - nalepiti sa Edit-Paste (CTRL+V) u neki tekst dokument kao dokazni materijal.

8) Možete tragati za *.doc, *.jpg, *.mp3, *.mp4, *.xls, *.pdf, *.cs, *.php, *.pas, *.asp, *.py, *.proj, *.exe i mnogim drugim tipovima datoteka.

DOWNLOAD...






Za neupućene, ukoliko ih uopšte ima:

Ako tragate za:

*.doc -- to su Microsoft Office Word tekstualne datoteke
*.jpg -- to su fotografije načinjene kompjuterom, kamerom tabletom ili mobilnim telefonom
*.mp3 -- to je muzika koju slušate preko mp3 plejera, mobilnog telefona, tableta ili ajfona
*.mp4 -- to su filmovi koje gledate preko youtube-a, mp4 plejera, mobilnog telefona, tableta ili ajfona,  
*.xls -- to su Microsoft Office Excel tabele
*.pdf -- to su elektronske knjige
*.cs -- to su c# aplikacije koje pišete u Microsoft Visual Studio
*.asp -- to su web c# i asp aplikacije koje pišete u Microsoft Visual Studio
*.sql -- to su sql skripte za MSSQL Server, Oracle ili MySQL 
*.php -- to su php skripte za vašu internet stranicu
*.pas -- to su Delphi ili Lazarus aplikacije
*.py -- to su Python skripte za vašu Blender 3d fps igricu
*.proj -- to su vaši projekti ukoliko ste full stack programer
*.exe -- to su Vaše omiljene aplikacije za Windows

A wildcard oznaka u parametrima *.* lista sve tipove datoteka.





more tips>

https://www.howtogeek.com/355524/how-to-use-windows-10s-hidden-video-editor/

https://www.kaspersky.com/downloads/thank-you/secure-connection-pc

https://wiki.delphigl.com/index.php/Tutorial

http://make-games.ru/forum/54-512-1

https://github.com/cgarciagl/Delphi-FPS

http://turboloops.blogspot.com/2013/07/building-lazarus-ide-with-free-pascal.html


https://www.pascalgamedevelopment.com/showthread.php?5613-OpenGL-3-x-with-Delphi

https://www.khronos.org/opengl/wiki/Tutorial:_OpenGL_3.1_The_First_Triangle_(C++/Win)

https://github.com/neslib/DelphiLearnOpenGL/blob/master/Tutorials/1.GettingStarted/4.Textures/App.pas

https://wiki.delphigl.com/index.php/dglOpenGL.pas/en

https://github.com/saschawillems/dglopengl

https://wiki.delphigl.com/index.php/Tutorial

http://www.gamedev.ru/files/?id=51962

https://www.youtube.com/watch?v=2O-nPYTHGdU

http://blog.naver.com/simonsayz


http://edn.embarcadero.com/article/26401