FreeBASIC
![]() Logo programu | |
| Autor | Wolontariusze |
|---|---|
| Pierwsze wydanie | 2004 |
| Aktualna wersja stabilna | 1.09 – 1 stycznia 2022; około 4 lata temu |
| System operacyjny | DOS, Linux, Windows |
| Rodzaj | Kompilator |
| Licencja | GPL, wbudowane biblioteki na licencji LGPL |
| Strona internetowa | |
FreeBASIC – darmowy kompilator języka BASIC, udostępniony na licencji open source. Z założenia jest syntaktycznie podobny do QuickBasica, jednakże wprowadza nowe możliwości, jak np. obsługa Unicode, wskaźniki, liczby bez znaku, wstawki asemblerowe, preprocesor i przestrzenie nazw.
FreeBASIC używa zestawu narzędzi GNU binutils jako silnika i jest w stanie wyprodukować aplikacje zarówno konsolowe, jak i GUI. Umożliwia także użycie bibliotek statycznych i dynamicznych. FreeBASIC kompiluje programy dla DOS, Xbox, Microsoft Windows i Linuksa. Obecnie trwają prace nad portami dla innych platform.
Aktualnie biblioteki takie jak GTK+, GNU Scientific Library, SDL, Allegro, Lua i OpenGL mogą być używane bezpośrednio, a kolejne są dodawane w każdym nowym wydaniu. Kompletny zestaw nagłówków Windows API także został dołączony.
Kompilator wraz ze swymi 75000 liniami kodu był, i nadal jest, kompilowany przez FreeBASIC. Pierwsza wersja FreeBASIC została napisana w Visual Basic dla DOS.
Program Hello World
Poniżej podany jest przykład programu Hello world.
print "Hello,World!"
Zobacz też
Linki zewnętrzne
- Oficjalna strona projektu (ang.)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.
