grimofdoom's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
Members
Active Posts:
22 (0.03 per day)
Joined:
14-August 12
Profile Views:
615
Last Active:
User is offline Sep 09 2014 10:33 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   grimofdoom has not set their status

Posts I've Made

  1. In Topic: Simple compiler or IDE

    Posted 9 Sep 2014

    I wish not to use something less heavy and more lightweight in itself. I think I saw something about 'Vim' but not sure what exactly it is. If I must in the end, I'll download code::blocks (visual doesn't run on my computer for some reason,I already tried and it just crashes. Was on when I bought it)
  2. In Topic: C++ game in browser

    Posted 5 Sep 2014

    Not the browser itself yeah, but I meant with javascript or flash or whatnot...but if no one knows of such/is impossible...alright

    Instead of making another thread for something quick, is there an easy program I can use that can compile and run c++. I'm looking for something simple with just text-like the IDE that comes with python install.
  3. In Topic: C++ game in browser

    Posted 5 Sep 2014

    I know c++ can be interpreted in browser, and I was wondering if anyone knew a website that can interpret c++ and run it cross platform and use a graphics library too.
  4. In Topic: Help with append list -> dict

    Posted 14 Jul 2014

    As I read it, it sounds almost exactly what i am currently trying to do-but more technical and strange. What i have now up there works if I take the function 'info' out of the class(and remove 'self'),but as it is now,does not work. I am trying to make it as easy as possible and doing 'pokemon.info(id#,wanted_element)' would be easier to understand than using just info outside of the class. But as I said, i get an error:
    Traceback (most recent call last):
      File "C:\Users\Admin\Desktop\Pokemon Mengakana\pokemon.py", line 399, in <module>
        Pokemon.info(1,0)
    TypeError: unbound method info() must be called with Pokemon instance as first argument (got int instance instead)
    
    

    I have the function inside the class and include the 'self' when needed.
  5. In Topic: Help with append list -> dict

    Posted 14 Jul 2014

    I feel kinda stupid now of not thinking i could add tuple to new list and search through that new list. I want to add a function to my class to speed up and make things easier when finding a specific spot. When i create the function outside of the class, it works. But if i insert it into the class(+ adding self to top) and change the calling of it to include the class name, it spits out an error saying Pokemon must be called before info (got int instead)
    import operator
    class Pokemon(object):
        def __init__(self,name):
            self.name=name
            self.pokemon=pokemon
        find=[
            ('???',0,0,0,0,0,0,0,'???','???','???'),
            ('Bulbasaur',45,49,49,65,65,45,1,'grass','poison','medslow'),
            ('Ivysaur',60,62,63,80,80,60,2,'grass','poison','medslow'),
            ('Venasaur',56,80,83,100,100,80,3,'grass','poison','medslow'),
            ('Charmander',39,52,43,60,50,65,4,'fire',0,'medslow'),
            ('Charmeleon',58,64,58,80,65,80,5,'fire',0,'medslow'),
            ('Charizard',78,84,78,109,85,100,6,'fire','flying','medslow'),
           
            ]
        def info(self,pokemon,place):
            found=Pokemon.find[pokemon]
            print 'name:',found[0]
            print 'Chosen Spot:',found[place]
    Pokemon.info(1,0)
    
    

    (i honestly feel stupid about the previous post and how wasteful of space it is. Though,searching the web has found no results that have worked. All the ones I come to say i should do something like 'info=pokemon.info()' or of the sort. Did not work doing that either. I would be really appreciate if I could get this last piece of the puzzle found and placed, with this i should be able to do everything else i planned)

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Click here to e-mail me

Friends

grimofdoom hasn't added any friends yet.

Comments

grimofdoom has no profile comments yet. Why not say hello?