Search found 634 matches

by Desperado
Sat Mar 14, 2009 8:41 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compile order ms vs c++
Replies: 33
Views: 3565

Re: compile order ms vs c++

thx,onno! well it is not only because the topic we discussed here, i am just interested how in the jungle-world of microsoft something simple like the compile-order can be managed :-). Perhaps i will never use it. and perhaps there comes a time it is necessary to know. Of course the "enum-style" is ...
by Desperado
Sat Mar 14, 2009 7:50 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compile order ms vs c++
Replies: 33
Views: 3565

Re: compile order ms vs c++

hi again onno, (thx for your interest) i agree with: =========== - your better style statement - that constants arent the same as enums (i just put them together because both dont help me, but of course of different reasons) - the compile order should not matter i dont agree with: ============= - if...
by Desperado
Sat Mar 14, 2009 7:13 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compile order ms vs c++
Replies: 33
Views: 3565

Re: compile order ms vs c++

once again, more simply... //---------------------------------------------------------- MODUL1: //============DESPERADO.H======= #define PIECE_H #include "piece.h" //============================== //---------------------------------------------------------- MODUL2: //===========ANY_OTHER_MODUL.H== #...
by Desperado
Sat Mar 14, 2009 6:52 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compile order ms vs c++
Replies: 33
Views: 3565

Re: compile order ms vs c++

Hi marco, ok enum doesnt allocate anything, then it is just a declaration (the same thing i do). But if you look at the pseudo-code there arent any "tricks". (2 moduls (modulx,desperado) including "piece.h"), what "doubious" tricks? (pls dont get ugly...) it is just definition of constants and decla...
by Desperado
Sat Mar 14, 2009 6:07 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compile order ms vs c++
Replies: 33
Views: 3565

Re: compile order ms vs c++

hi Onno, enum cannot get the "extern" statement... So it would be necessary to put the enum-statement in each header, or to have one header with the enum(constants), which then is included by each modul(like Robert mentioned). now for my explanation enum and constants are handled equal... That would...
by Desperado
Sat Mar 14, 2009 4:58 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compile order ms vs c++
Replies: 33
Views: 3565

Re: compile order ms vs c++

At first thx for reply, but i have to mention that the data is declared already, it is used ! in the scope where it is declared, but "switch statement doesnt work". Otherwise nothing would work without knowing the constants. So here is little pseudo-code of what the matter is. //===============main-...
by Desperado
Sat Mar 14, 2009 3:39 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compile order ms vs c++
Replies: 33
Views: 3565

compile order ms vs c++

Hi everyone. Does anybody know how to change the compile-order in VStudio c++ ? (it's a jungle... :( ) The reason is, that i have a header which contains constants. My main-modul gets the definitions while all other moduls just getting a declaration. All works fine, but when i want to use a switch-c...
by Desperado
Mon Mar 02, 2009 1:28 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: inconsistent performance
Replies: 25
Views: 3578

Re: inconsistent performance

Oh, i think there can be a lot of bugs, also if the values,all you mentioned are matching... 1. I had once the same(maybe similar) problem, all was matching..., then i watched the taskmanager where memory usage got higher and higher and :-) higher. i didnt notice the failure because i always used sh...
by Desperado
Mon Mar 02, 2009 1:00 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: inconsistent performance
Replies: 25
Views: 3578

Re: inconsistent performance

Sorry, but i am missing something in this thread (perhaps i overread...). But what kind of speedtest are you doing, a "perft", or a search with all its abilities ? if you dont have the same problems on a (simple,no TT or other "advanced" stuff, just move,moveback,nodecount) perft, then go bughunting...
by Desperado
Thu Feb 26, 2009 6:56 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Replacement Scheme / Hash Hits
Replies: 11
Views: 2178

Re: Replacement Scheme / Hash Hits

hg muller: ok. think i got it. if the rootnode for example is stored in the TT, the slot where it is stored would be locked forever in a depth-preferred replacement scheme. similar to nodes near the root. So after a while all slots (so to say the TT) would be locked because of depth preferred condit...