User Profile

Collapse

Profile Sidebar

Collapse
Jacky Luk
Jacky Luk
Last Activity: Feb 17 '11, 08:08 AM
Joined: Aug 6 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Jacky Luk
    started a topic MFC Child Window Problems
    in C

    MFC Child Window Problems

    I am wondering how to designate a window for graphics drawing while dedicate another one for updating tabular data. I searched the web, the answer came up was to enumerate the window. Now, what I really would like to do is to specify which window perhaps by name and feeding data to it. Say I am transferring 3d objects to the child view window. How can I achieve that?
    Thanks
    Jack
    See more | Go to post

  • Jacky Luk
    started a topic Objective C to Visual C++
    in C

    Objective C to Visual C++

    I wonder how to convert the following statement into C++?

    [self setPathAssessme nt:[[[ASISpatialPathA ssessor alloc] initWithMap:map] autorelease]];

    It's in objective C
    Thanks
    Jack
    See more | Go to post

  • Jacky Luk
    started a topic stdext::hash_map question
    in C

    stdext::hash_map question

    Could anyone explain why this code doesn't crash,
    http://www.codeguru.co m/forum/showthread.php? t=315286
    while mine does,

    Code:
    typedef stdext::hash_map<int, bool> pf_type;
    pf_type pf;
    
    
    cAStar::cAStar()
    {
      char buff[256];
      pf[1] = false;
      sprintf (buff, "pf[1] is %s\n", pf[1] ? "TRUE" : "FALSE");
      OutputDebugString(buff);
    ...
    See more | Go to post

  • Jacky Luk
    started a topic Thread speed and cores hogging
    in C

    Thread speed and cores hogging

    When I start 12 threads simultanously in my core i5 750 system, all 4 cores are fully loaded 100%. Is it possible to bring it down? and also how do I control the execution speed of those threads?
    Thanks
    Jack
    See more | Go to post

  • Jacky Luk
    started a topic How to control the executable speed of a thread?
    in C

    How to control the executable speed of a thread?

    When I start 12 threads simultaneously in a program written in Visual C++. My Core i5 system has all its cores fully loaded 100%. I wonder is it possible to bring it down? and how do I control the speed of those threads?
    Thanks
    Jack
    See more | Go to post

  • Is it possible to use gnu stdlibc++ in Visual C++ (2008)?

    Hello,
    I've been trying to compile a source which consists of
    the use of the gnu library(gnu_cxx ::hash_map) and want to incoporate that project into my code base,
    because my base project is written in VC++, I wonder
    if it is possible to use gnu stdlibc++ in vc++, if yes,
    where can I download the appropriate lib? I have been looking gnu's web site, but it doesn't have any say about their products' compatibility...
    See more | Go to post
No activity results to display
Show More
Working...