janotte's Profile User Rating: *****

Reputation: 988 Master
Group:
Expert w/DIC++
Active Posts:
5,135 (1.86 per day)
Joined:
28-September 06
Profile Views:
31,550
Last Active:
User is offline Mar 29 2014 01:26 AM
Currently:
Offline

Previous Fields

Country:
AU
OS Preference:
Mac
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
25
Expert In:
C/C++

Latest Visitors

Icon   janotte is so tired of dumb old men being in charge of so much of the world

Posts I've Made

  1. In Topic: Error running Python IDLE

    Posted 27 Apr 2013

    A few links to look at:

    Sadly you don't tell us what OS you are running on but I guess by the look of the screen shot that you are on Windows.

    http://stackoverflow...ng-on-windows-7

    http://www.gossamer-...n/python/958563
  2. In Topic: Error through looping

    Posted 17 Apr 2013

    View Postchan 06, on 18 April 2013 - 12:36 AM, said:

    I don't really get what you were trying to say.


    Do you understand the term 'flag'?

    I am not sure how much shared language we have here.

    Here's the very simple algorithm I am suggesting.

    foundName = false
    positionInLoop = 0
    loop through the name list
        if current list item == name then
            foundName = true
            positionInLoop = loop iterator
            break out of loop
    
    if foundName == true then
        print PositionInLoop
    else
        print -1
    
    


    This is a terrible way to find a match in a list in Python but I am assuming you are using the looping idea because you have been told you have to.

    If you just want to find an item in a list then there are far better ways to do this.
    Have a read here
    http://docs.python.o...structures.html
  3. In Topic: a program that change the program to an execution program

    Posted 17 Apr 2013

    Once you have compiled the code to a binary that binary will run on any machine.

    You don't need an IDE to run code.

    I wonder if I am missing the point of your question completely?
  4. In Topic: guys ,, I have an assignment

    Posted 17 Apr 2013

    View Post101newbie, on 17 April 2013 - 11:02 PM, said:

    helping out does not cost anyone anything


    Well it does cost your classmates the credit they deserve for doing the work if you can get the same mark without putting in the effort.

    And in the long run it costs you because you will one day end up needing to be able to live up to what it seems you can do and since you can't then you will lose then.

    Have a try at writing the Python code. If you won't even try then we really can't help you.
  5. In Topic: Error through looping

    Posted 17 Apr 2013

    sorry - didn't understand what you were asking the first time.

    okay you won't know if the name was not in the list until you have finished looping through the whole list. That makes sense doesn't it?

    So set a flag to false before you start looping.
    If you find a name set the flag to true before you break out of the loop.

    Outside the scope of the loop test the flag.
    If it is true then the name was in the list.
    If it is false then... <you can answer that can't you?>

My Information

Member Title:
code > sword
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Comments

Page 1 of 1
  1. Photo

    yowzz28 Icon

    07 Oct 2013 - 23:46
    Hello Ma'am can you please help me in doing my Project :(( We need Just a simple payroll system . i've seen your post and you program well can you please help me to a simple payroll system :( Thanks a lot
  2. Photo

    chuajh Icon

    31 Mar 2011 - 19:41
    can u help me to answer this question?^^Thanks
    http://www.dreamincode.net/forums/topic/225366-computer-science-curriculum-question/page__p__1297885__fromsearch__1&#entry1297885
  3. Photo

    goldfish Icon

    27 Feb 2011 - 08:11
    Thank you. I was really getting confused. I'm going to work on it step by step as you suggested.
  4. Photo

    goldfish Icon

    26 Feb 2011 - 07:52
    Thank you so much for your help. I was so stuck and so depressed in the middle of night in the kitchen. Everyone asleep. Now you game me a direction, I will work on this today and I know I will come back with MORE prolblems. Yay!
  5. Photo

    taratatat Icon

    21 Jan 2011 - 00:16
    hi pwede po b manghingi ng sample ng information system using c++
  6. Photo

    janotte Icon

    12 Jan 2011 - 01:22
    It's not that I don't get comments left but usually they aren't very nice (because I am not very nice) so I delete them.
    Thanks for 'hi'.
  7. Photo

    Alex6788 Icon

    11 Jan 2011 - 16:48
    I don't see how you don't have any comments. I'll be the first to say hi.
Page 1 of 1