CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: naemi

Search: Search took 0.02 seconds.

  1. Thread: movable paint

    by naemi
    Replies
    6
    Views
    2,002

    Re: movable paint

    hmmm... mix some paint in a bucket, pick it up, move it -- there ya go, movable paint!
  2. Replies
    10
    Views
    3,667

    Re: Really hard to solve

    Yeah, I know, that's Westley's 1988 obfuscated c contest entry, plenty more there for those interested: http://www0.us.ioccc.org/years.html#1988_westley
    I think there ought to be an obfuscated...
  3. Replies
    10
    Views
    3,667

    Re: Really hard to solve

    We java people have twisted minds, I prefix my solution thus because what I present to you isn't pretty but it does the job and fulfills the requirements... yep...


    public class CharGetter {...
  4. Replies
    38
    Views
    68,994

    Re: Color Detection Algorithm

    Just use the code posted in this thread to discriminate between the two regions as black and white. Then go through all the pixels, and identify border pixels -- they are the ones that aren't...
  5. Replies
    2
    Views
    3,800

    Re: Virtual machine description value is empty

    Maybe it's me just being ignorant but I looked up JDI and VirtualMachine interface has no list() method. What interface are you using? My guess is that whatever it is, there just isn't a 32bit...
  6. Thread: Help Urgent

    by naemi
    Replies
    3
    Views
    1,719

    Re: Help Urgent

    That's some messy code you've got there... I suggest: indent it nicely, put it into [ code ] [ / code ] tags when posting (without spaces inside tags that is), use the preview post button first, and...
  7. Re: Netbeans custom components that preview nicely?

    initComponents() is autogenerated by netbeans, it's a method that does the work of adding everything to the component and setting all the properties. But you are right, I don't know what I was...
  8. Netbeans custom components that preview nicely?

    Hi,
    This has been bugging me for a while, I'm using a JPanel to render some custom graphics output (a 2D plot) and I want this custom JPanel, or any similarly-designed component, to preview nicely...
  9. Replies
    3
    Views
    954

    Re: Need help in a doubly-linked list

    and if I do this will there be cake?
  10. Replies
    4
    Views
    7,975

    Re: Algorithm Database

    Wikipedia may have already beat you to this, see http://en.wikipedia.org/wiki/List_of_algorithms. Most of those articles include pseudocode, so it may be better to concentrate on helping wikipedia...
  11. Replies
    3
    Views
    1,152

    Re: maximise and minimise event

    My bad, I didn't read OP's question carefully. I guess the options then are to use JNI to interface with Windows API or look for some library that already does this for you. Sorry I can't be of more...
  12. Replies
    2
    Views
    3,025

    Re: Cohen–Sutherland Algorithm Modification

    To clarify my question here's the code, I finished it today and it seems to work, so if someone can please take a look at it and tell me if my approach to line clipping makes sense I'd really...
  13. Replies
    3
    Views
    1,152

    Re: maximise and minimise event

    add a window listener to your window and implement windowIconified method
  14. Replies
    2
    Views
    1,003

    Re: Please help me with this page

    Short answer: no, try again. You have the right idea but you're off by one.
  15. Replies
    2
    Views
    3,025

    Cohen–Sutherland Algorithm Modification

    Hi,
    My question is regarding a modification I was considering making to the Cohen-Sutherland algorithm to remove the need for a loop, specifically I want to know if the performance benefits of such...
Results 1 to 15 of 15





Click Here to Expand Forum to Full Width

Featured