The Helper Forums
The Helper offers free technical support for computer games,
computer hardware, and other computer software. Staffed
by volunteer tech support workers, The Helper is highly
regarded as a premium destination for those who are
experiencing technical problems with their computers.
Affiliate Sites
Warcraft 3 World Editor Tutorials - The Greatest Resource for the new Warcraft 3 Mapper
Silkroad Online Forums
Houston Microsoft Access, VBA and Visual Basic Programming
The source for NUON news, information, and games.
Griffonrawl Muay Thai and MMA
Warcraft 3 Modding Site.
Element Tower Defense by Karawasa.
Topaz Games.
Chernobyl Lost Riddles

Able Auto Glass specializes in Houston Auto Glass Replacement as well as windshield repair and replacement services.
Apex Steel Pipe - Buys and sells Used Steel Pipe.

Go Back   The Helper Forums > Technical Support Zone > Programming Forum

Reply
 
Thread Tools Display Modes
  #61  
Old November 10th, 2009, 05:53 AM
codemonkey's Avatar
codemonkey codemonkey is offline
_
 
Join Date: Jun 2009
Posts: 535
codemonkey seems to have the helping tendency (+150)codemonkey seems to have the helping tendency (+150)
Isn't there something like an explode() or split() function in C++ that takes a string and delimiter and returns an array?
Reply With Quote
  #62  
Old November 10th, 2009, 08:40 AM
Samael88's Avatar
Samael88 Samael88 is offline
Evil always finds a way
 
Join Date: Apr 2008
Location: Sweden
Posts: 2,297
Samael88 is becoming a force to be reckoned with (+400)Samael88 is becoming a force to be reckoned with (+400)Samael88 is becoming a force to be reckoned with (+400)Samael88 is becoming a force to be reckoned with (+400)Samael88 is becoming a force to be reckoned with (+400)
Quote:
Originally Posted by ElderKingpin View Post
what happens when you want to scramble more then one word. a paragraph maybe.

Have a function that takes every space (considering a space means separation of words) and check the integer before and after that. If it is equal to an array (a,b,c etc., skipping periods and commas) then it would take letters in-between the two letters and scramble them.
That is why I suggest you to use char arrays instead for this That way you can build such a function from scratch with relative ease
Reply With Quote
  #63  
Old November 17th, 2009, 01:17 PM
GooS's Avatar
GooS GooS is online now
SC2 Tarsonis Assault TD
 
Join Date: Jan 2007
Location: Ösd, Jämtland, Sweden
Posts: 875
GooS is becoming more respected daily (+350)GooS is becoming more respected daily (+350)GooS is becoming more respected daily (+350)GooS is becoming more respected daily (+350)
Python is neat, its disregard for variable types, multiple types being treated as sequences/containers, pseudo-code syntax, self explanatory functions, vast standard library.

It's absolutely perfect for light apps, swift programming and fast learning curve.

However, with its overhead garbage collection, no control (or is there?) memory management, de-compilable sources, no true privates and other squigly class elements.
It doesn't make for the safest applications. But these cons is nothing you need to remotly care about if you just want to program for a bit of fun.

When you do start to glance over these things, you will have to change language and learn over again because the syntax of all thoose languages are far more like c++ than python.

Pythons biggest pro: It's easy! (relatively speaking)
Pythons biggest con: It's -to- easy!

So if you want to learn why and how the program works and not just how to make it work you gotta go lower and lower through the levels of programming.

So here goes the real questions:

1. What program do i use to MAKE the code.

I'm using eclipse, don't know which the best one is, don't really care, eclipse works great for me.

2. What program do i use to RUN the code (as in make it come to life)

When you compile to code, yes you need a compiler aswell, you will get an executable (windows: .exe) depending on which platform you compile for the resulting executable alters. The, if your IDE (that would be "the program to MAKE the code") doesn't start the application automatically you could probably do so by locating it and running it yourself as you would with any other application on you computer.

3. What program do i use after i completed my work i can play the "game"

See above....

4. When i asked my dad about it. He didnt seem to mind that i was a newbie, he didnt even point out anything he just started into it.
(Is it hard to pick up?)

Harder than some, easier than some, a bit of logic come a long way.

5. He uses NetLinx (which he said you require a certificate to use) does that use C++?

No idea what NetLinx uses or have i ever used the app myself, but paying for an IDE is not necessary, use the free ones.

//==GooS

PS: If I'm incorrect about my statements of cons in Python, do correct me as I'm not that good at Python.
Reply With Quote
  #64  
Old November 17th, 2009, 09:58 PM
Tru_Power22's Avatar
Tru_Power22 Tru_Power22 is offline
Christmas is Over :'( - ಠ_ಠ
 
Join Date: Aug 2009
Location: Edmonton Canada
Posts: 1,825
Tru_Power22 is doing a good job (+300)Tru_Power22 is doing a good job (+300)Tru_Power22 is doing a good job (+300)Tru_Power22 is doing a good job (+300)
Quote:
Originally Posted by codemonkey View Post
Ok you guys obviously don't get it so I'll clarify.

Low level languages are almost identical to machine code, like Assembly. Middle level languages are sort of similar but have it's own syntax, they usually have the ability to use memory allocation. High level languages are very different from machine code. Even more so with very high level programming languages.

LOL, I was arguing with you, even though I agreed with you. I really wanted to respond to the guy that said you could do more with python.
Reply With Quote
Reply

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

Forum Jump


All times are GMT -5. The time now is 07:13 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.