Forum is shutting down, join us on Discord.

- No new threads can be created
- Shoutbox has been disabled
- All chat/support/market will be on Discord
- if you have a special status on forum (ie: staff, legendary user, etc), then PM Phoenix on forum with your Discord name to reclaim your status on Discord
See you all on Discord!


  
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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next

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: 210
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:
 
 

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 10:35 AM.



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