Search:

Type: Posts; User: Lechx

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    2,621

    the accu's book review link is down now :(. All...

    the accu's book review link is down now :(. All the links and books you guys have provided have been extremely helpful and they will be books I'll be putting on my desk once I graduate from school. ...
  2. Hmm that takes care of two the values...and...

    Hmm that takes care of two the values...and getting the third is very easy. Thanks for the idea! I was thinking of coding practices and overlooked what IRC has already done for me!
  3. I was thinking about doing a static table in...

    I was thinking about doing a static table in memory, but I don't know the number of entries. I could have 10, or I could have 9999. Should I instead use a dynamically allocated table?
  4. IRC-type logger with files based on three values

    I'm starting to write an app that is similar to an IRC logger. Each log file will be based on three values or so -- user name, IP, and channel. The reason I have both user name and IP is so that I...
  5. Replies
    6
    Views
    2,621

    Algorithms and data structures book?

    I want to learn more popular algorithms to accomplish common tasks, ie. Dijkstra's and A* search, and I want to learn more popular data structures, ie. minheaps, search trees. I am interested in a...
  6. I was planning on doing something small (ie ascii...

    I was planning on doing something small (ie ascii art vs. a real gui) and building up. I'll likely add obstacles and work with those two algorithms.
  7. thanks for all the help. The main problem was...

    thanks for all the help. The main problem was whether there was a common way to store the relative angle, but I'll just stick with all the if statements. Time to look into ascii art to get this...
  8. I'm currently using something like that now. I...

    I'm currently using something like that now. I just find the angle to get from one coordinate to another, but the difficulty lies in turning with respect to where it currently is. I just went...
  9. Moving in rectangular coord with vehicle via user clicks

    I am trying to set up a program where I have a car and I want to make it move wherever the user decides. For now, I only have text printing out telling me what is happening to make sure I can do the...
  10. Restarting a Program (via restarting process or making new one)

    I am using Visual Studio. I have a program which calls a function that can fail (Bluetooth initialization, closed source). If this certain function fails, then I'll need to restart the process. I...
  11. Replies
    3
    Views
    1,911

    In an earlier post, someone told me to try...

    In an earlier post, someone told me to try valgrind to look for memory leaks.
  12. Replies
    5
    Views
    2,429

    Thanks for all the tips! I did what you said and...

    Thanks for all the tips! I did what you said and changed pointers instead of re-creating a hash table. It works great now!!! I doubt i'll ever use this function in the real world, but now i'm going...
  13. Replies
    5
    Views
    2,429

    Sorry, I tried to PM you to delete my other post,...

    Sorry, I tried to PM you to delete my other post, but when I try to PM it says I do not have user privledges. Is it possible for me to delete my other post?
  14. Replies
    5
    Views
    2,429

    Please help me find memory leaks

    I'm new to C and learning about dynamic memory allocation, and I would like some help if possible.
    I am getting memory leaks, but I am not sure precisely where. Whenever I call Resize_Hash_Table,...
  15. i would like to check the memory that my program...

    i would like to check the memory that my program is using through a function. I've attached my code below.

    I've never used a debugger, but i'll take a look at valgrind.


    /*This hash table...
  16. Function to check memory left from malloc and free?

    I just started learning malloc and free, but I'm not sure if I'm using them right. Is there a way to check how much memory is left after a free? I seem to be using up all the heap space pretty...
Results 1 to 16 of 16