[DENIED] c data types and computer control flow proggraming

General chat area for anything whatsoever

Moderator: Core Staff

Post Reply
Ruan12
Kindergarten King
Kindergarten King
Posts: 368
Joined: April 5th, 2013, 5:32 pm

[DENIED] c data types and computer control flow proggraming

Post by Ruan12 » April 20th, 2013, 7:49 pm

Data Types

In the C programming language, data types refers to an extensive system for declaring variables of different types. The language itself provides basic arithmetic types and syntax to build array and compound types. Several headers in the standard library contain definitions of support types, that have additional properties, such as exact size, guaranteed.

Basic typesThe C language provides many basic types. Most of them are formed from one of the four basic arithmetic type identifiers in C (char, int, float and double), and optional specifiers (signed,unsigned, short, long). All available basic arithmetic types are listed below:TypeExplanationTypeExplanationcharsmallest addressable unit of the machine that can contain basic character set. It is an integer type. Actual type can be either signed or unsigned depending on implementationsigned charsame as char, but guaranteed to be signed.unsigned charsame as char, but guaranteed to be unsigned.short
short int
signed short
signed short intshort signed integer type. At least 16 bits in size.unsigned short
unsigned short intsame as short, but unsigned.int
signed intbasic signed integer type. At least 16 bits in size.unsigned
unsigned intsame as int, but unsigned.long
long int
signed long
signed long intlong signed integer type. At least 32 bits in size.unsigned long
unsigned long intsame as long, but unsigned.long long
long long int
signed long long
signed long long intlong long signed integer type. At least 64 bits in size. Specified since the  C99 version of the standard.unsigned long long
unsigned long long intsame as long long, but unsigned. Specified only in C99 version of the standard.float(single precision) floating-point type. Actual properties unspecified, however on most systems this is  IEEE 754 single precision floating point format.doubledouble precision floating-point type. Actual properties unspecified, however on most systems this is  IEEE 754 double precision floating point format.long doubleextended precision floating-point type. Actual properties unspecified. Unlike types float and double, it can be either  80-bit floating point format, the non-IEEE "double-double" or  IEEE 754 quadruple precision floating-point format if a higher precision format is provided, otherwise it is the same as double.

Control Flow

In computer science, control flow (or alternatively, flow of control) refers to the order in which the individual statements, instructions or function calls of an imperative or a declarative program are executed or evaluated.
Within an imperative programming language, a control flow statement is a statement whose execution results in a choice being made as to which of two or more paths should be followed. For non-strict functional languages, functions and language constructs exist to achieve the same result, but they are not necessarily called control flow statements.

Types:

If statementif(conditional)
{
//code
}If-else statementif(conditional)
{
//code
}
else
{
//code
}Switch and caseswitch(variable)
{
case value:
//code
case value:
//code
default:
//code
}gotogoto label;

label:
//codebreakloop
{
break;
//code...
}
Image

Ruan12
Kindergarten King
Kindergarten King
Posts: 368
Joined: April 5th, 2013, 5:32 pm

Re: c data types and computer control flow proggraming (21 a

Post by Ruan12 » April 20th, 2013, 7:57 pm

Ok I founded it on a program learning these
Image

Pedsdude
Site Admin
Site Admin
Posts: 15909
Joined: October 15th, 2004, 7:18 pm
Location: UK

Re: c data types and computer control flow proggraming (21 a

Post by Pedsdude » April 20th, 2013, 9:29 pm

Sorry, your upload request has been denied.

Reason: You're f**king insane.
Image
Image

User avatar
[SoE]_Zaitsev
Core Staff
Core Staff
Posts: 14220
Joined: October 21st, 2004, 7:17 pm
Location: Holland
Contact:

Re: [DENIED] c data types and computer control flow proggram

Post by [SoE]_Zaitsev » April 20th, 2013, 9:31 pm

I didn't even get to vote on this :(
matt101harris wrote:big cock was the first thing that came to my head lol

Ruan12
Kindergarten King
Kindergarten King
Posts: 368
Joined: April 5th, 2013, 5:32 pm

Re: [DENIED] c data types and computer control flow proggram

Post by Ruan12 » April 20th, 2013, 9:41 pm

Too bad it is not uploaded
'_'
Image

Pedsdude
Site Admin
Site Admin
Posts: 15909
Joined: October 15th, 2004, 7:18 pm
Location: UK

Re: [DENIED] c data types and computer control flow proggram

Post by Pedsdude » April 20th, 2013, 10:26 pm

Ruan12 wrote:Too bad it is not uploaded
'_'
Well to be honest, you have to submit a video file to be in with a chance. Please take the time to read the sticky topic with the rules in before submitting again.
Image
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: [DENIED] c data types and computer control flow proggram

Post by Drofder2004 » April 20th, 2013, 10:47 pm

Ruan12 wrote:Too bad it is not uploaded
'_'
Image
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: c data types and computer control flow proggraming (21 a

Post by F |Madness| U » April 26th, 2013, 8:11 pm

Pedsdude wrote:Sorry, your upload request has been denied.

Reason: You're f**king insane.
Second this. I literally cannot understand (the reason behind) 95% of his posts I've been.
-

Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 23 guests