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

Search:

Type: Posts; User: answer

Page 1 of 13 1 2 3 4

Search: Search took 0.08 seconds.

  1. Re: im looking for a website developer to build me a social website

    Your PM is disabled you should enable it.

    I have a site that has social networking functionality I can show you and we can discuss later.

    PM me if you are still interested.
  2. Replies
    2
    Views
    2,226

    Re: Iphone Game Development

    I made a game in using SDL/OpenGL and then ported it to iPhone. The main thing I had to do is wrap the entire game into a game class so it was like

    game->step();

    then in the drawing section...
  3. Replies
    17
    Views
    10,787

    Re: Constructor to extend existing class

    there needs to be a way to add functions to a class without deriving or inheriting. Mostly because I like seeing

    integrated = image.integrate();

    more than

    integrated = integrate(image);
    ...
  4. Thread: tab

    by answer
    Replies
    8
    Views
    1,960

    Re: tab

    Does that mean its going to get done? Go PeejAvery you can implement it like no other :). I don't mind if it works in some browsers. Like IE would be a pain to get it working it can be left out.
  5. Thread: tab

    by answer
    Replies
    8
    Views
    1,960

    Re: tab

    I have done it before for my own purposes. All you have to do is to add an event listener using javascript for the textareas on key down/up. Have it check if the key code is a tab and if yes insert a...
  6. Replies
    1
    Views
    6,069

    Re: Fixed point number to and from string

    int D = before comma
    int d = after comma

    once parsed your fixed point becomes (D << 12) + d.
    Now to parse d (assuming base 10 for string) you go through every digit and multiply by 10^(-digit)
    ...
  7. Thread: tab

    by answer
    Replies
    8
    Views
    1,960

    tab

    When using the text editor for posting since this is a coding forum and the tab key is used alot. Do some javascript that inserts a tab character and prevents a change of focus on the textarea. I'm...
  8. Replies
    2
    Views
    2,763

    Re: Looking for edge detection algorithm

    I don't understand your problem very well.

    You can do a variant of the hough transform for circles. It would be like this


    r is the radius of the circle you want
    foreach pixel x. y
    sum =...
  9. Replies
    0
    Views
    653

    making a search engine

    I need to make a search engine for job postings. Are there any resources about algorithms out there? The best I can think of is doing really simple stuff. And integral word count.

    I'm having...
  10. Replies
    5
    Views
    3,953

    Re: How to know if a job posting is a scam?

    Try googling the names of the CEO and the other employee. They could be a startup that is growing. .
  11. Re: Any tool to help trace where memory is allocated?

    For a case like that I use my own memory allocater which allocates extra memory and uses a linked list to keep track of all memory allocated. You can do something like


    void* my_alloc(int N, int...
  12. Replies
    12
    Views
    1,840

    Re: Make a sharable EXE

    Thats so simple I dont know why I didnt think of it. And because I will always append the animation to the end I can just change it once in the share.exe file. Then the main app just has to make a...
  13. Replies
    12
    Views
    1,840

    Re: Make a sharable EXE

    I didn't think of the pointer idea. I dont even know how to do that.

    I cant add it as a resource cause the animations will be created after the program is created. in other words an artist will...
  14. Replies
    12
    Views
    1,840

    Re: Make a sharable EXE

    I dont want to output C code. The end user doesnt want like a whole dev environment set up. I'm thinking for the shareable exe (share.exe) make a copy of it, and append the animation to the share.exe...
  15. Re: get an array of numbers from an input sequence of arbitrary length

    sscanf? and allocate an array of 1 element. If sscanf("&#37;d") succeeds then increase the size of the array with like realloc
  16. Re: get an array of numbers from an input sequence of arbitrary length

    sscanf? and allocate an array of 1 element. If sscanf("%d") succeeds then increase the size of the array with like realloc
  17. Replies
    12
    Views
    1,840

    Make a sharable EXE

    would it be ok if I make a "shareable exe" which is a striped down of the editor that only "plays" an animation. Then copy all the animation data into the end of the sharable exe data.

    Finaly to...
  18. Replies
    15
    Views
    2,774

    Re: Reading a Textbox into an array

    There should be like a to c string function.

    See
    http://msdn.microsoft.com/en-us/library/system.string.chars.aspx

    and the full doc of string which textbox->text returns
    ...
  19. Replies
    5,488
    Views
    946,193

    Re: The "last one to post on this thread wins" Thread

    I'am THE Answer muhahahaha
  20. Replies
    2
    Views
    996

    Re: floating constant

    why not 3 regular expressions?
    1: check if its integer
    2: if its a float
    3: if its of the form 12.323e+3

    those should be simple
  21. Thread: I'm so lonely

    by answer
    Replies
    2
    Views
    1,103

    Re: I'm so lonely

    nice poem, captures a programmer who is working diligently on a project outside of work which temporarily lost his direction.
  22. Replies
    1
    Views
    3,102

    contentDocument.body.appendChild gives error

    I got an iframe of different domain than mine and I got firefox security a little down by setting tis stuff to "allAccess".

    Now I can do frame.contentDocument.createElement("div"); all without any...
  23. Replies
    1
    Views
    1,111

    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...
  24. Replies
    3
    Views
    1,579

    Re: Newbie question - text parser

    the best language for parsing strings is Perl. Perl uses regular expressions. Using regular expressions you'll simply say how a string looks like and perl will pretty much find it for you.


    ...
  25. Poll: Re: Today is the day most software turned to "garbage"...

    I would like to learn how to code for multiple cores. I see some people have managed to optimize this way; but I cant find resources on how to do it? Do I simply create threads and the OS will put...
Results 1 to 25 of 305
Page 1 of 13 1 2 3 4





Click Here to Expand Forum to Full Width

Featured