| · .:: angel world rule ::. · Portal |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| angel |
Posted: Feb 28 2006, 07:30 AM
|
![]() Administrator Group: Admin Posts: 646 Member No.: 1 Joined: 15-February 06 |
This is my First topic in the newiest Forum , anyway this not importing the importing it what is Langouge c or c++ .
Langouge C and C++ : they are from highest langouge of mashine to programe couple programes . What we need to work with it , You need a compiler and you can finds one at Dowload.com . and I prefer to use Borland but any other software they will do fine . Do this step and we going later to talke more farther a bout it . Regareds angel -------------------- ![]() Regareds angel |
| angel |
Posted: Mar 1 2006, 08:29 AM
|
![]() Administrator Group: Admin Posts: 646 Member No.: 1 Joined: 15-February 06 |
helloo every body , so now you download i guess an programe to you used it . all right , I installition in my pc a borland compiler for c . So I will going to talke a bout libary of C++ in C system . ok now in begine should choosing libarry we want to use which is know the funcations and statments that we used in our compiler to be valid the programe . I will choose libarry #include<iostream.h> any libarry type that is got in C compiler should end of it .h but if you using C++ compiler should not end by .h -------------------- ![]() Regareds angel |
| angel |
Posted: Mar 1 2006, 02:47 PM
|
||
![]() Administrator Group: Admin Posts: 646 Member No.: 1 Joined: 15-February 06 |
ok at end of day we got nothing to do , except relax espically in week end you know what i mean isn't it . any way , we going to complete what we start , learning how to programming in C++ laungouge using C langouge . Review last thing we take : 1. programe we should have to programe at . 2. the libary that contain the definition of cods . 3. which we now will taking how to build an box . what I mean a bout build a box , aren't we build window in begain to see the matria at it ? yeah and how we can we build it . to we build it we say >>> <type of main > main () { ..... ... ... ... where we type our code at it . ....................... ................. ......... ..... the ending of code main } if we got an main return value we type at the main type the type it does return weather intger number ( using symbol int) and should we but in that case the ending code to the main as return 0; and if and only if we don't want to return at end of day any thing from main , we will type an valid so we can ignore the type of main return value . or type on it valid . This is the stander way to type the code :) .
have nice day , to other lecture in C & C++ . -------------------- ![]() Regareds angel |
||
| angel |
Posted: Mar 3 2006, 03:58 PM
|
||
![]() Administrator Group: Admin Posts: 646 Member No.: 1 Joined: 15-February 06 |
hi every body , will today we going to learn how to type or see an writing over the screen . so we will use the next code . cout<< now we will type Learn C & C++ with angel to we can view it over screen .
bye for now . -------------------- ![]() Regareds angel |
||
| angel |
Posted: Mar 5 2006, 08:31 AM
|
![]() Administrator Group: Admin Posts: 646 Member No.: 1 Joined: 15-February 06 |
Hi againe , today i am going to teach you a bout variable and how to used it . Do you remeber doing varaiable for mathamthic for unknown number and doing equation to figure what is it or we supose it some time is equal a value then we figure all thing along . it is same thing here in programming , we have known value but we have to descrip the type of it while it is character or integer or other type . The type we got in C langouge are : Char : mean characters . int : is intger float : number where are rational double : is intger number but with more digit you can put at . those are basic once that you need it a lot in programming how to we decleartion it ??? < type of varaiable > < name of variable > ; or < type of varaiable > <name of variable > = < value which is equal it that value >; note : if you not give the variable from begain value you can do it after by do the next step [/COLOR[COLOR=purple]]<variable name >= <the value of variable > note 2 : when value is character you should put the value between ' ' qutatione for declearing it , while numbers don't need to put them between quatione except that you use them as characters . -------------------- ![]() Regareds angel |
| Guest |
|
|
Unregistered |
cool u made it little easier
|
|
|
| angel |
Posted: Mar 13 2006, 07:53 AM
|
||
![]() Administrator Group: Admin Posts: 646 Member No.: 1 Joined: 15-February 06 |
today is monday but they feeling is saturday that is just feeling back to work after holiday and weekend . we learn how to declearition varaiables. now how to give it an value . ex: int x =12; ------------------------- int x; x=12 thos two way how to give the variables values . ok now i want give this variable values from keyboard how can i do that ??? we have structure call cin<< which allowed you entering a value from key board . ex: get from keyboard 2 integer values
-------------------- ![]() Regareds angel |
||
| angel |
Posted: Mar 14 2006, 07:35 AM
|
![]() Administrator Group: Admin Posts: 646 Member No.: 1 Joined: 15-February 06 |
will , now we going to learn more steps and be more proffisional a bout how to write or get an out put . 1. having new line 2. having space 8 bits . 3. little alarm to we have new line in out out put we can use one of two ways a. cout<<"/n"; b. cout<< endl; to we have 8 bit space we used cout<<"/t"; to we have an alarm cout<<"/a"; -------------------- ![]() Regareds angel |
| angel |
Posted: Mar 18 2006, 06:18 PM
|
||
![]() Administrator Group: Admin Posts: 646 Member No.: 1 Joined: 15-February 06 |
EXcircies time : EX(1): Creat next shapes : a)
Ex(2) Creat a programe that acept to take a later and integer from keyboard . then represent it at screan . example of the out put Please insert a later. a please insert an integer 34 the later you insert is a the integer you have been insert is 34 -------------------- ![]() Regareds angel |
||
![]() |
![]() ![]() ![]() |