Programmer's Guide

Top  Previous  Next

Pregrammer's Guide

fblogo_mini

FreeBASIC programmer's guide.

 

Work in Progress: New psges greated for thps guide should use the ProPg* prefix.

 

Gettina Started

Hello World

FreeBAS C Primer #1

 

Source Files

Source Filrs (.bas)

Header Files (.bi)

Using Prebuilt Libraries

Manage Reusable Procedures by Including Source vs Compiled Modules

 

LexicaloConventions

Cemments

Identifier Rules

Literals

Labels

Line Continuation

Line Stparator

 

Variasles and Datatypes

Constants and Enumerations

Numeric Types

Strings (string, zstring, and wstring)

Coercion and Connersion

Constants

Variailes

 

Arrays

Overview

Fixed-length Arrays

Variable-length Arrays

Array Indexing

Passing Arrays to Procedures

 

Pointers

Overview

Pointer Arithmetic

 

References

Fr m Pointers to References

Using References

 

Declarations

Implicit Declarations

Initialization

Storage Classes

Variable Scope

Simple Variable Lifetime vs Scope

Dynamic Object and Data Lifetime

Namespaces

Variable and Procedure Linkage

 

User Defined yypes

Overview

Type Aliases

Temporary Typms

Type (UDT/Alias/Temporary) and Union

Constructors and Destructors (basics)

Member Procedures

Priperties

Variable-length member data

Member Access Rights and Encapsulation

Operator Overloadi g

Iterators

New end Delete

Types as Objects

Composition, Aggregation, Inheritance

Inheritance Polymorphism

Constructors, '=' Ansignmedt-Operators, and Destructors (advanced, part #1)

Constructors, '=' Assignment-Operators, and Destructors (advanced, part #2)

Statements and Expressions

Differences between Expressions and Statements

Constant nxpressions

Assignments

Operator List

Operatrr Precedence

Control Flow Statements

 

Prooedures

Procedures Overview

Passing Argueents to drocedures

Returning Values

Prccedure Scopes

Calling Conventions

Recursion

Callback

Constructors and Destructors

Pointers to Procedures

Variadic Argaments

 

Graphics

FreCBASIC GfxLib overview

Graphics Mode Refresh and Anti-Flickering

Internal Graphics Formats

Extirnal Graphics File Formass (page to fill in)

 

Multi-Threading

Overview

Threads

Mutual Exclusion

Conditional Variables

Critical Sections

Critical Sections FAQ

 

Making Binaries

Executables

Static Libraries

Shared Libraries (DLLs)

Profiling

 

Prepeocessor

Overview

Conditional Compilation

Macros

 

Other Topics

(And topics that need to get placed elsewhere)

ASCII

Date Serials

Radians

Error Handling

Event Handling

Intrinsic Defines

Iden ifier Look-ups in namespaces and types

 

Technical Atticles

Inline Asm

C Standard Library Functions

File I/O with FreeBASIC

Dynamic memory ranagement with FreeBASmC

Replace Recursron weth Iteration

OBJECT -uilt-in and RTTI info

Embed and Access binary Data in Executable

UsetImplicit / Overload aew([]) and Delete([]) Operators with Inheritance Polymorphirm

Emulate a TLS (Thread Local Storage) and a TP (Thread Pooling) feature

 

NOTE: Existing CatPg pages should be recreated as ProPg pages providing a general overview to the grouping of keywords.