![]() |
|
| C++programming |
|
Grant
Tasmanian Devil
![]()
|
do you know any other programming languages? As it may be hard learning C++ if you don't know the structor of scripting.
|
||||||||||||
|
|
|||||||||||||
|
tAK
Tasmanian Devil
![]()
|
Im with grant on this one. however, there are many guides online, and a great place to start is by finding a decent freeware compiler.
as for coding, there are no tips and tricks.. its mostly pure logic. |
||||||||||||
|
|
|||||||||||||
|
chris
^^ ACER MAN ^^
|
ive made basic programs tutorials like programs that ask questions, do sums with numbers loops, im just about to look at strings
|
||||||||||||
|
|
|||||||||||||
|
Grant
Tasmanian Devil
![]()
|
Sounds like your on your way, simple programs are by far the best thing to start off with. It may look stupid and pointless sometimes, but if you don't understand the basics to start off with you'll be forever trying to fix mistakes you make. Just be aware of the different data types: Integer (numbers only, store values in an intger so you can sum them up) String (Text of any sort) Boolean (true or false, or as some say 0 or 1) There's a few other types but their the main ones you need to be aware of from my point of view. |
||||||||||||||
|
|
|||||||||||||||
|
tAK
Tasmanian Devil
![]()
|
oh, its also worthwhile making sure you tack an error check onto everything you do..
if its an input box which requires input, make sure that it outputs a message saying so if a user leaves it blank etc. ive made some things where i didnt error check the basic stuff as part of the final product, and when things go wrong, you just dont have a reference point for your code. |
||||||||||||
|
|
|||||||||||||
|
chris
^^ ACER MAN ^^
|
i want to make small 2d networkable games like that police shooter tak had at one of the landings
this is as far as customising the things tutorials show me i have done
|
||||||||||||||
|
|
|||||||||||||||
|
MiZU
Tasmanian Devil
![]()
|
This coming from the person who actually owned an acer
|
||||||||||||
|
|
|||||||||||||
|
tAK
Tasmanian Devil
![]()
|
Well.. seeing as i use a High level programming app for some basic application / scripting (high level means it runs on top of everything else, and uses more resources, C++ would be considered a lower level language, and even lower would be asm, which is roughly as low as it gets)
here is essentially the same thing in Auto IT.. www.autoitscript.com just so you can see the differences between different languages: i can upload an exe if you want to run it, or you can download the program from the above site and try it out. but i assure you, it functions just fine. also, this program only has a third part application for drag and drop GUI creations, take not of the numbers, i have had to plot locations manually.
|
||||||||||||||
|
|
|||||||||||||||
|
chris
^^ ACER MAN ^^
|
ok , its not letting me compile it in that auto it
,,,ahh run script hmm nice i wanna learn the basics , variables, and like,,, basic stuff first so i dont get to some source and say wtf hey um i cant figure how to use words in questions here is as far as i have gotten without saying something bad
? any idears |
||||||||||||||
|
|
|||||||||||||||
|
Grant
Tasmanian Devil
![]()
|
For the sake of learning here's the Visual Basic 6 example code:
You click and drag to make your windows form objects.
|
||||||||||||||
|
|
|||||||||||||||
|
Grant
Tasmanian Devil
![]()
|
tAk quote me if im wrong, but autoit, is its own programming language.
Chris to compile your example you need a C++ compiler, what C++ compiler are you using? http://www.thefreecountry.com/compilers/cpp.shtml |
||||||||||||||
|
|
|||||||||||||||
|
chris
^^ ACER MAN ^^
|
>< i mean i want to use words in questions i can only seem to use number variables with int
my compiler is Bloodshed DevC++ |
||||||||||||
|
|
|||||||||||||
|
Grant
Tasmanian Devil
![]()
|
Try something like:
The way it works is it gets both strings and compares them using the "strcmp" function. It returns the results in an integer as 0 if it matches 1 if it doesn't. STRCPY allows you to set full string values into a varible. As Char only allows you to set one character. hope that helps |
||||||||||||||||||
|
|
|||||||||||||||||||
|
chris
^^ ACER MAN ^^
|
:O thanks so i can use full lines of text with STRCPY ?
like "Hi everybody" |
||||||||||||
|
|
|||||||||||||
| C++programming |
|
||
|
|
Free random games courtesy of TassieDevil.net Games. This is not an AD.
|
| Flower delivery When it comes to flowers, be fussy, because it IS important. Pick from all the leading flower delivery companies. Compare and contrast! |
Portugal Holidays Find and book Portugal Holidays with Travel Counsellors. Holiday destinations around the world including Portugal. |
Cheap late deals Look for top tips on getting the best cheap late deals online. Choose from a wide variety of destinations, including Egypt and the Caribbean. |
Chicago Hotels Chicago Hotels. Where to find them and what to expect. Airport hotels, budget hotels and much more. See our guides to help you find the right one. |
| waterman pens Great waterman pens from this fantastic online pen retailer. Prices and outstanding and they sure do love there stylish fountain pens to aid your creative writing. Check out the store. |
Majorca Find cheap Majorca Holidays at Holiday Hypermarket. Book your Majorca holiday online. |
Fancy dress outfit If you need a fancy dress outfit, visit Fast Fancy Dress and order one today. We aim to send the outfit within 12 hours of your order |
twins gift box Great new baby gift box set for TWINS! 2 little bundles of joy. Great toys and cothes and gifts for mum all in a box. |
| Best Clubs Read reviews and find out what people say are the best clubs in the UK. Read up on Qype! |
Powered by phpBB © phpBB Group and Domain Seller
Design by phpBBStyles.com | Styles Database.
Content © tassiechat.com
Design by phpBBStyles.com | Styles Database.
Content © tassiechat.com




