Go Back   Twilight MU Online Forum > Community > Programming Section

Programming Section All programming related stuff goes here.


Welcome to the Twilight MU Online Forum forums.

You are currently viewing our boards as a guest which gives you limited access. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

After registering you will receive an email with a confirmation link that you will need to click in order to activate your forum account.

NOTE: It's recommanded that you use on forum a different username and password than the game username and password.

If you have any problems with the registration process or your account login, please contact contact us.


DramaBox | Join us on Discord
Please Note That Only Registered Users Can View The Shouts
Loading...

Reply
 
Thread Tools Display Modes

C++ Basics
Old 14-02-2008   #1
Milamber
Senior Member

 
Milamber's Avatar
 
InGame Character:
My Mood:
Milamber is offline
Points: 8,747, Level: 40
Points: 8,747, Level: 40 Points: 8,747, Level: 40 Points: 8,747, Level: 40
Level up: 25%, 303 Points needed
Level up: 25% Level up: 25% Level up: 25%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Oct 2007
Location: Lorencia
Rep: Milamber is a splendid one to beholdMilamber is a splendid one to beholdMilamber is a splendid one to beholdMilamber is a splendid one to beholdMilamber is a splendid one to beholdMilamber is a splendid one to behold
Rep Power: 161
Casino Cash: 1448
Post C++ Basics

Hey people

Welcome to my C++ Basics thread.So,what is C++ ?
Just as we people speak english,french,swedish or whatever,one of the most common languages which computers understands is C++.Yes,this is how we communicate data,orders,to the machine,and how it runs that message.

You write you C++ program with statements.
For example if you want your program to say : "Hello there.Whats up?"
You do this :

// My first noob program

cout << "Hello there.Whats up?" ;


Notice the // doesnt affect the program.Its just to help yourself organise your program.In other words,if you do this :

// does
// this program
// work?


The answer is : No

So,you write your program,whatever it is,and then you use a compiler to pack the data and build an application to run your program.

- You do not need to know how a compiler or why C++ works in details unless you want to become a computer scientist/technician

-If you want to program you need to learn the C++ launguage,in other words C++ statements and its rules.As long as the C++ data works and the complier does its job correctly,you're good to go

Here is another C++ statement/declaration :

int factor;
factor = 212 - 32;

This is if you need to invlove mathematical calculations in your program.
int factor declares there will be a value
factor = ... is the value you want to use
; is to close your statement and pass on to the next statement.

Of course,whats the use of knowing this if you do not have a C++ developper program?Well,you should have asked before.Here is is :
Download it from http://bloodshed.net

And remember,its ok to be a beginner.When I started computing,I didn't know what Winrar or what an IP was xD

Good luck,future programmer!
__________________
Retired twi-player :annoyance:
  Reply With Quote

Old 14-02-2008   #2
Wael90
Mister Twilight 2007 & 2010
First Player to 1000 Resets
The Magic Gladiator

 
Wael90's Avatar
 
InGame Character:
My Mood:
Wael90 is offline
Points: 54,461, Level: 100
Points: 54,461, Level: 100 Points: 54,461, Level: 100 Points: 54,461, Level: 100
Level up: 0%, 0 Points needed
Level up: 0% Level up: 0% Level up: 0%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Mar 2007
Location: Somewhere I belong...
Age: 29
Rep: Wael90 has a reputation beyond reputeWael90 has a reputation beyond reputeWael90 has a reputation beyond reputeWael90 has a reputation beyond reputeWael90 has a reputation beyond reputeWael90 has a reputation beyond reputeWael90 has a reputation beyond reputeWael90 has a reputation beyond reputeWael90 has a reputation beyond reputeWael90 has a reputation beyond reputeWael90 has a reputation beyond repute
Rep Power: 303
Casino Cash: 16360
Default

Nice one, i will play with it soon hehe, thanks.

Maybe something about Pawnio? I heard it's similar to C++...
__________________
  Reply With Quote

Old 15-02-2008   #3
B-BOY
New Member

 
B-BOY's Avatar
 
InGame Character:
My Mood:
B-BOY is offline
Points: 4,397, Level: 27
Points: 4,397, Level: 27 Points: 4,397, Level: 27 Points: 4,397, Level: 27
Level up: 99%, 3 Points needed
Level up: 99% Level up: 99% Level up: 99%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Rank: New Member
Join Date: Feb 2008
Age: 32
Rep: B-BOY is just really niceB-BOY is just really niceB-BOY is just really niceB-BOY is just really niceB-BOY is just really nice
Rep Power: 0
Casino Cash: 641
Default

i play too^^ hehe
__________________

Ty Codez:)


Ty Judobreaker:)


Ty sprbean:)
  Reply With Quote

Old 15-02-2008   #4
CATahata
New Member

 
CATahata's Avatar
 
InGame Character:
My Mood:
CATahata is offline
Points: 4,293, Level: 27
Points: 4,293, Level: 27 Points: 4,293, Level: 27 Points: 4,293, Level: 27
Level up: 65%, 107 Points needed
Level up: 65% Level up: 65% Level up: 65%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Feb 2008
Rep: CATahata is just really niceCATahata is just really niceCATahata is just really niceCATahata is just really niceCATahata is just really nice
Rep Power: 152
Casino Cash: 364
Default

hmmmm nice
  Reply With Quote

Old 22-04-2011   #5
deva98
Silver Member

 
deva98's Avatar
 
InGame Character:
My Mood:
deva98 is offline
Points: 6,672, Level: 34
Points: 6,672, Level: 34 Points: 6,672, Level: 34 Points: 6,672, Level: 34
Level up: 92%, 28 Points needed
Level up: 92% Level up: 92% Level up: 92%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2009
Location: jamaica
Age: 25
Rep: deva98 has a brilliant futuredeva98 has a brilliant futuredeva98 has a brilliant futuredeva98 has a brilliant futuredeva98 has a brilliant futuredeva98 has a brilliant futuredeva98 has a brilliant futuredeva98 has a brilliant futuredeva98 has a brilliant futuredeva98 has a brilliant futuredeva98 has a brilliant future
Rep Power: 155
Casino Cash: 4959
Default

// "We Need to bring this back, oopps I already did";
__________________


thx rani



  Reply With Quote

Old 22-04-2011   #6
voltz
New Member

 
InGame Character:
voltz is offline
Points: 4,237, Level: 27
Points: 4,237, Level: 27 Points: 4,237, Level: 27 Points: 4,237, Level: 27
Level up: 46%, 163 Points needed
Level up: 46% Level up: 46% Level up: 46%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jul 2008
Location: cocking heaven
Age: 45
Rep: voltz is just really nicevoltz is just really nicevoltz is just really nicevoltz is just really nicevoltz is just really nice
Rep Power: 147
Casino Cash: 5589
Default

// the nearest to C++...would be xD
  Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -5. The time now is 04:49 PM.



vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Copyright 2006 - 2019 Twilight MU. All Rights Reserved