Twise Random

A site about computer science .
Skip to content
  • apple
  • android
  • c
  • cpp
  • data structure and algorithms
  • macos
  • python
  • tutorials

Author: mohamad wael

The compilation process of a c source file

Posted on November 18, 2020March 23, 2021 by mohamad wael

Compiling a C source file , into an executable program , involves multiple steps . They are as follow :

Preparation of the source files

The first step in compiling a C source file , is the preparation of the … Read More

c as, cc, cpp, gcc, ld

How to install nginx , php , mysql , and WordPress on macOS ?

Posted on November 17, 2020February 23, 2021 by mohamad wael

Install Macports

To be able to install MacPorts , you must have Xcode first installed using the App Store , and you must also install the Xcode command line developer tools :

$ sudo xcode-select --install
# To install Xcode 
… Read More
macos Macports, mysql, nginx, php, wordpress

What is a character , wide character , and multibyte character in c ?

Posted on November 15, 2020March 23, 2021 by mohamad wael

Characters

A char is a region of memory , formed of bits , large enough to hold any character of the basic execution character set . A char is the encoding , of the basic execution character set .

The … Read More

c c, character, multibyte character, wide cahracter

C : source , execution , basic , and extended character sets

Posted on November 14, 2020 by mohamad wael

 
There are two character sets in C . The first one is the source character set , which is the set of characters , in which a C source file , is written .

So the source character set … Read More

c basic character set, c, character set, execution character set, extended character set, source character set

Command line editing keyboard shortcuts

Posted on November 9, 2020 by mohamad wael

The command line , is the place where you type in your commands , to be interpreted and executed by the shell .

The command line is located just after the shell prompt , which usually has the format: username@host:currentWorkingDirectory$… Read More

unix command, command line, command line shortcuts

History of the c programming language

Posted on November 7, 2020March 23, 2021 by mohamad wael

The Creation of C

The c programming language was created by Dennis Ritchie in 1971 . It is derived from the B programming language , created by ken Thompson in 1969 . The B programming language is derived from the … Read More

c ansi c, c, classic c

Text to speech on freeBSD using festival

Posted on October 31, 2020March 23, 2021 by mohamad wael

There are multiple options for text to speech under freebsd , for example espeak and festival . This tutorial is about festival .

To install festival , issue the following command :

root$ pkg install festival 

After installing festival , … Read More

freebsd festival, freebsd, tts

What is the c exit function ?

Posted on October 29, 2020March 23, 2021 by mohamad wael

The exit function is part of the c standard library , and is defined in the stdlib.h header .

The stdlib.h define some types , macros , and it contains general utility functions , to perform numerical conversion , generate … Read More

stdlib c, exit, exit(0) vs exit(1), stdlib

Sqlite database gui managers

Posted on October 8, 2020February 23, 2021 by mohamad wael

There are multiple sqlite GUI managers that can be used . Some can be used from within the browser and others can be used from within windows , linux and freebsd .

SQLite Manager by lazierthanthou

This sqlite manager can … Read More

Sqlite DB Browser for SQLite, Sqlite, SQLite Manager, sqlitestudio

fix being unable to copy files using vmware shared folder from freebsd guest to host

Posted on October 6, 2020 by mohamad wael

To install vmware tools under freebsd , you can follow this post .

If you face a problem , while trying to copy files from freebsd 12.1 , to shared folders using vmware , like the following one :

Error 
… Read More
freebsd freebsd, vmware, vmware tools
  • «
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • 11
  • »