Forum: Python May 23rd, 2009 |
| Replies: 2 Views: 240 oops, looks like a reinstall and restart fixed it, I took a screenshot this morning. So sorry. |
Forum: Python May 23rd, 2009 |
| Replies: 2 Views: 240 So, Python 2.6.2 is supposed to have the following JSON module:
http://docs.python.org/library/json.html
I have the standard MacPython 2.6.2, but the attributes of my JSON library are... |
Forum: C Apr 21st, 2007 |
| Replies: 5 Views: 999 That seems like very useful information, thank you. |
Forum: C++ Apr 2nd, 2007 |
| Replies: 3 Views: 871 Understood. Thanks a lot! |
Forum: C++ Apr 2nd, 2007 |
| Replies: 3 Views: 871 #include <iostream>
using namespace std;
int main()
{
int a;
cout<<"Enter a number";
cin>>a;
if(a=5)
{ |
Forum: C Mar 14th, 2007 |
| Replies: 5 Views: 999 I guess that's why we call them pseudo random functions. Oh boy, the more I think of this, the more my head is getting twisted.
Anyway, thanks, but I'm still looking for the mathematical proof,... |
Forum: C Mar 14th, 2007 |
| Replies: 5 Views: 999 I ask this question because I want to try out some probability theories and I want to get as close as possible to randomness. What my instinct tells me is that we cannot fabricate any function that... |
Forum: Existing Scripts Feb 12th, 2007 |
| Replies: 22 Views: 56,523 I prefer SMF. For a free product, it has a lot of features compared to PhpBB. |
Forum: C++ Feb 10th, 2007 |
| Replies: 10 Views: 1,786 I've been programming in C++ a year to two myself, mosty console applications, and not much else. How big a step up do you reckon is GUI programming, and how much does C++ help in making apps for... |
Forum: C Feb 10th, 2007 |
| Replies: 13 Views: 25,174 Well, maybe this might help.
Its a mathematical fact that any prime number greater than 3 can be represented by (6a+1) or by (6a-1), where a is a parameter. Simply try to generate all such numbers... |
Forum: C++ Feb 9th, 2007 |
| Replies: 6 Views: 2,235 Ok, thanks. I'll check out the group you mentioned too. |
Forum: C++ Feb 9th, 2007 |
| Replies: 6 Views: 2,235 Thanks, this is a great first experience here on Daniweb. The replies were very informative.
So, you mean to say that the friend function is also now a friend function to the derive class.... |
Forum: C++ Feb 3rd, 2007 |
| Replies: 6 Views: 2,235 I'm new to these concepts but a derived class cannot access private members of the base class because they are simply not accessible externally. But what if I define the derived class in a friend... |