Basics of C vs. C++ Programming

Опубликовано: 08 Март 2026
на канале: ElectroSciTech
19
2

In this video, I will be creating a double tutorial for both C and C++ computer programming languages. This video will also be a detailed comparison of the differences between C and C++ computer programming languages.

A few points of reference from the video:

Variables:
bool(true:1;false:0)//Boolean is Only Allowed in C++
char(1 byte '')
short(2 bytes)
int(2 or 4 bytes)
long(8 bytes)
float(4 bytes, 6 Decimal Places)
double(8 bytes, 15 Decimal Places)
long double (10 bytes, 19 Decimal Places)
string - String Requires 'string' Include and is Only Available in C++
Array
struct
void
NULL

Format Specifiers:
char %c
signed int %d
scientific %e or %E, %g or %G
float %f
signed short %hi
unsigned short %hu
unsigned int %i
long %l or %ld or %li
unsigned int or unsigned long %lu
double %lf
long double %Lf
long long %lli or %lld
unsigned long long %llu
octal %o
pointer %p
char[] %s
unsigned int %u
hexadecimal %x or %X
Print Nothing %n
% %

#programming #computers #computerprogramming #clanguage #cpp #cpplanguage #cpplus #linux #terminal