I JUST TOLD YOU!!
Are you stupid?
Can someone close this thread? For pete's sake!
I JUST TOLD YOU!!
Are you stupid?
Can someone close this thread? For pete's sake!
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
I'm not the one who's stupid, 'cause you haven't explained what that is. And you are pretending you are. Your stupid !
lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu
"read on static data members" is that your explanation. It's very informative! It doesn't even form a sentence !
lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu
just learn about how static member functions work.Originally Posted by ElastoManiac
You call it like
Single &instance = Single::instance();
I'm calling for a boycott on this lazy bum. Cool it Mario. If he's not getting it, he will someday...
Code:#include <stdio.h> void J(char*a){int f,i=0,c='1';for(;a[i]!='0';++i)if(i==81){ puts(a);return;}for(;c<='9';++c){for(f=0;f<9;++f)if(a[i-i%27+i%9 /3*3+f/3*9+f%3]==c||a[i%9+f*9]==c||a[i-i%9+f]==c)goto e;a[i]=c;J(a);a[i] ='0';e:;}}int main(int c,char**v){int t=0;if(c>1){for(;v[1][ t];++t);if(t==81){J(v[1]);return 0;}}puts("sudoku [0-9]{81}");return 1;}
all you can say is " he can't understand it "
you'r not a good source of information, goodbye.
lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu
Wow, I have never seen such a heated debate.
One example of a static data member:
I am not sure if that example is what you are looking for, but usuallyCode:class Foo { public: Foo() {}; ~Foo() {}; static int s_data; // static data member // static member function static int getData() { return s_data; } }; // initalize static data member int Foo::s_data = 0;
all static class member functions are defined as shown. I do not want
to get caught up in the debate with you and mario, I am just trying to
understand the problem. Of course, you are free to ignore this post if it
is not want you were after.
private
Double Helix STL