| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> damn to big for my baking oven <1> Yeah, 3 foot 6. <2> what is mscomctl.ocx ? <2> does all c++ program need that file <3> it's probably the Micosoft Common Control library ocx... so no <2> then what language uses that <3> it's not a 'language' thing <3> it's an activeX control... most languages can use it <4> ugh. another day gone by messing with hardware :P <3> that what you kids call it these days <5> is anyone here interested to work on a BIG project with payment ? <6> Do you represent a company?
<7> do you advice mathematica <6> No, he didn't. <7> :) <0> i hope he didnt want to offer a PHP job <7> I am getting still believement Europe Humans <7> I remeber give up to claim php <7> phpp virus ? <7> easy but effect <0> well .. PHP is the only programming language with build-in-remote-administration-support :) <7> yes <7> do you have web page ? <0> I? yes <0> sure .. but no PHP on the server <7> okey <7> I want to see <8> beginner here. is there any difference bet _tmain() and main()? <9> _tmain() sounds like a compiler extension <9> int main() is the standard <9> i wouldn't know if there's any functional difference between them when compiled in some particular compiler (or environment) tho <8> but it has nothing to do with being unmanaged c++ or managed? <9> what the hell is managed c++? :> <0> managed c++ is a compiler/runtime extension <9> that too sounds like some weird platform-specific thing <10> __happy_guy, Do you know what TCHAR is? <8> yeo <8> yep <10> Well, _tmain is to main what TCHAR is to char. <8> ahh.yeah <9> what's tchar? <8> i think has something to do with unicode,ascii or somesort. <6> For people who still write ANSI applications, TCHAR is a way to switch between char and wchar_t depending on preprocessor definitions. <10> six, It's a typedef like..... #ifdef UNICODE typedef TCHAR wchar; #else typedef TCHAR char; #endif <7> main() standart c <6> rhw, you **** at typedefs. <10> erm, yeah <8> yep:) <10> feh, he got the point :P <9> right <8> hey another one.in Visual C++ how do u make line number visible at left corner? <10> Tools -> Options -> Text Editor -> C/C++ -> check Line Numbers. <6> As opposed the right corner? <8> ah <6> Or do you mean margin rather than corner? <8> yea rethquals <8> let see..if i can find it there <8> found it thnx much.rhw <10> Apparently, as opposed to not visible at all :P <7> under insurence ansi-c who is president ? <7> codes <6> Are you a random string generator? <0> sound like this :) <9> rethguals, pretty good distribution too <10> Good night. <6> Bye <6> Hm. What's the complexity of a the retarded Fibonacci algorithm? <6> Er, never mind. It's obviously Fib(n + 1) <11> anyone familiar with lex? <0> Rethguals: lol <0> Rethguals: thats O(n) <6> Er, no.. I was thinking of the implementation that says Fib(n) = Fib(n - 1) + Fib(n - 2)
<0> O(2n) == O(n) isn't it? <6> Yes, but that's not O(n) <0> well ... ok you recurse ... <0> O(n^2) <6> Nah. <0> almost :) <6> Not even close. <0> mhm <0> ok forget about big-O <6> Heh, wow. My crappy preprocessor discards 739143 environment frames during the computation of Fib(22). <6> I was expecting about 17756 :p <6> Er, twice that. <6> Meh... stupid profile guided optimisation: <6> 1>2713 of 2713 (100.00%) profiled functions will be compiled for speed <0> mhm <6> Maybe I designed my code so awesomely that it doesn't have any cold spots. <0> heh .. sure :) <6> Heh, having said that, the runtime is 1.15 seconds faster. <6> It's now 14.39 <0> in C? <6> C++ <6> Why did you think C? <0> dunno what you try .. but for implementing fibonacci C == C++ in most cases <0> unless you try to optimize recursion with templates <6> Er, no... I'm optimising the Artois preprocessor. <0> ah ok <0> has artois a GC? <6> The preprocessor does. <0> or just relying on managed C++ ? :) <0> which one? <6> Nah, I even cross compile this on GCC to avoid depending on anything Windowsy <6> cehteh, a spectacularly bad one that I wrote myself. <0> well bad one too :) <6> Actually, it's just a system for following references without getting into loops and clearing up anything else. It works surprisingly well. <0> first i had a reference counting one .. but thats was awful to debug and quite inflexible <0> http://www.pipapo.org/pipawiki/Acogc <0> well i think it is in no way compareable with biggier players .. but as small GC it will work quite well for its purpose <6> Sounds pretty similar. Although mine's very simple: at the moment, just a 300 line header with a few templates, and policies for each instance of use. <0> $ cat engine/acogc.c engine/acogc.h | wc -l <0> 1138 <0> got a bit biggier <0> my first reference counting one was very minimal .. compiled to a only 180 bytes objectile <6> It works really well though. Reference counting would be impossible in the interpreter for the Artois preprocessor because it has first-cl*** functions and closures, but the speed hit from this is negligable. It's probably a performance benefit for "normal" translation units. <6> 180bytes?!? <0> yes .. well ok .. with -Os <0> and stripped <6> Meh. I can't imagine anything so small :) <0> hehe <0> http://www.pipapo.org/cgi-bin/archzoom.cgi/chth@gmx.net--2004/mala-glibc--rgc--0.2--patch-4/engine/rgc.c <6> Oo.. long time since I've looked at C. It's horrible really, isn't it? :) <6> Well, without reading the code :) <0> G* <0> the debugging instrumentation is really bad ... was a fast hack <6> It always is :( <0> i now use valgrind based instrumentation <6> valgrind? <0> you dont know valgrind? <0> http://www.valgrind.org/ ... omg :) <0> well ok its linux only .. but its awesome <6> Hm, nope. I've googled. Looks almost exactly like something I wanted the other day. <6> Ah. I knew there was a catch :P <0> a virtual machine which checks every single bit <0> actually it has diffrent plugins .. memory checker, profiler, cache analyzer, lock race analyzer ... <0> heap profiler <0> http://www.pipapo.org/people/ct/acogc_in_action.ps even generates such nice heap-usage diagrams :) <0> http://www.pipapo.org/people/ct/acogc.png or such <6> Heh, nice :) <0> http://www.pipapo.org/people/ct/dbg21.ps ... a binary tree looks like that when you swap left and right accidentally :) <6> Heh :) <6> VC doesn't do anything like that. <0> thats just a small dump macro i did by myself <6> Oh.
Return to
#c++ or Go to some related
logs:
syed rahmat ullah bot selam versin #worldchat #linux #allnitecafe marie rish philippines
#chat-world #allnitecafe #chat-world siktirlen
|
|