Reputation: 0 Apprentice
- Active Members
- Active Posts:
- 121 (0.09 per day)
- 30-October 10
- Profile Views:
- Last Active:
- Dec 18 2012 08:52 PM
- Dream Kudos:
Posts I've Made
Posted 18 Dec 2012I will probably have to recode it and then post it up, since we are using pair, which I think is another class on its own. Thanks.
Posted 18 Dec 2012It's truly beautiful. I would have never thought of something so simple yet extravagant.
Just out of curiosity, so I can become a better coder, do you know what was wrong with the logic in my code?
Posted 17 Dec 2012No that is correct. I want to keep the open prices static, however then close prices (probably not a good choice for variable name) should change based on the continuous flow of prices and the output should indicate by how much the last price changed either up or down.
Posted 17 Dec 2012Yes I agree having a function to enter stocks would be good, however I am still looking to find what is wrong with my logic. All my open_ticker values are being replaced. Can you help with the error in my logic?
Posted 7 Oct 2012If you refuse to take the advise and stop using the global variables you must stop passing these global variables into your functions. When you pass a variable into your function that has the same name as your global variable you will use the variable you pass as a parameter, not the global. Even though they have the same name they are not the same variable.
I suggest you take the advise given and stop using the global variables, and learn to pass the variables correctly.
Are we talking about
- Member Title:
- D.I.C Head
- Age Unknown
- Birthday Unknown
- Click here to e-mail me
nquadr hasn't added any friends yet.