C Programming
Join now to read essay C Programming
C programming for the complete newbie
Hello there im Krisis you may have seen me on irc.hackersclub.com.
Well I thought it was about time to write an article like everyone else. But
unlike many others
mine wont be on Hacking, Cracking, or Phreaking its on C programming, you
see Im not the best
hacker but Im an ok programmer. So here it goes. This is based for absolute
beginners so those
of you like my friend Chrak wouldnt be interested in it.
1st lets talk about some of C s history. C was invent by Dennis Ritchie
and Kenneth
Thompson. They modeled it after the language they were using called B. C
was a subset of B hence
the name. C was made because B was going out of style and they needed a new
language to write
UNIX in. Yes UNIX was made in C. C was made popular very quickly because
every UNIX sold had a C
compiler. A compiler is a program thats looks at your source code and
transfers it into object
code, after it is transferred
into object code it must be linked, once its
linked it can be
executed.
2nd Lets talk about variables they are your integers and characters and so
on. You have
many data types they are.
int integers
char characters
long int bigger integers
short int same as int
float decimal numbers
double even bigger decimal numbers
To define a variable 1st you must put something like int MyNum;
MyNum = 2;
or for a character value it would be like char name; name
= Jim;
notice the you must have those around character values, they are not
needed for integers or
decimals.
3rd Ill tell you about stuff like #include and #define. #include is used
to tell the
compiler that whatever is in the brackets just be included like its part of
your code.
#include
#define is used to define something Like the color of a truck or car.
#define TRUCK “red”
#include and #define must come before any functions are even prototyped
(Ill talk about this
later).
Essay About C Programming And 1St Lets
Essay, Pages 1 (357 words)
Latest Update: July 1, 2021
//= get_the_date(); ?>
Views: 97
//= gt_get_post_view(); ?>
C Programming And 1St Lets. (July 1, 2021). Retrieved from https://www.freeessays.education/c-programming-and-1st-lets-essay/