CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    235

    places of code snippets

    Hi,

    I'm feeling lazy; What are some good sites to search for code snippets. E.g. code to just multiply 2 4x4 matrices stored linearly in memory?

    I wrote like matrix code many times of all sorts; Now I have to write it again :S.

    I feel the first reply will be like "Quit being lazy and write matrix multiplication again" lol.

    I wasted one hour looking for multiplying 4x4 matrices of code where I could have done it myself in 5min lol. Maybe my brain is getting fried or something.

    Thanks
    01101000011001010110110001101100011011110010000001110011011001010111100001111001

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: places of code snippets

    I'll give you a hint. For as many people reading this, as well.

    Half will know how to do what you want, and the other half will WANT to know what you want to do. Your problem:
    Code:
    I wrote like matrix code many times of all sorts;
    You need it again.

    You didn't specify what language you wanted it in, nor what you used before.

    If you write out the mathematical steps involved, along with some sample data & expected results, I'd bet that someone helps you code it
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured