Search:

Type: Posts; User: dlwlsdn

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,063

    How about using dirent.h? Doing something like ...

    How about using dirent.h? Doing something like



    dirp = opendir(".");

    while (dirp) {
    errno = 0;
    if ((dp = readdir(dirp)) != NULL) {
    if (strcmp(dp->d_name, name) == 0) {
  2. Replies
    3
    Views
    1,063

    Sounds great. Thanks.

    Sounds great. Thanks.
  3. Replies
    3
    Views
    1,063

    fopen to open archive

    can you use fopen to open/read/write to archives?

    archives so as the command used in unix like "ar"

    example being:
    ar -q myarchive file1.c file2.c file3.c file.4 file5.c

    and so forth.
    ...
  4. Replies
    1
    Views
    1,062

    How to count with hash

    So i have a string, lets say "I love dogs. I love cats. I love turtles." in this file. I pass the file through and I want to count the amount of each word that pops up so the output would be like
    ...
  5. Replies
    3
    Views
    1,448

    Nevermind, I got it :D Thanks for responding...

    Nevermind, I got it :D

    Thanks for responding though. Seems like coffee can do the trick sometimes lol.
  6. Replies
    3
    Views
    1,448

    Hash tables / hash maps

    Hi I am having trouble wrapping my head around on how to empty my buckets.




    struct hashLink {
    KeyT key; /*the key is what you use to look up a hashLink*/
    ValueT value; /*the value stored...
  7. Replies
    5
    Views
    1,540

    Need help to check sort

    Hello everyone.

    So through my journey of all these different algorithms of sorting, I came across quick sort. Which is pretty tight, does everything, very nice and everything, but I realized......
  8. Replies
    2
    Views
    9,343

    Ahh, thank you. I wrote something similar, except...

    Ahh, thank you. I wrote something similar, except with two while loops.



    //make a random temp variable and a couple new links
    newLink = list->front->next->next
    while(newLink != list->back) {...
  9. Replies
    2
    Views
    9,343

    Insertion Sort and Linked List

    Hi, I'm having a hard time getting through this and was wondering if you guys can guide me or lead me in the right direction.

    So we have a insertion sort code, something like, a variation

    ...
  10. you guys are so smart! :D thank you for...

    you guys are so smart! :D

    thank you for responding very fast. My family came down, so we went out to eat and just shopped and stuff. Sorry I couldn't respond until now.

    I get what your saying,...
  11. A random object in main? How do i write that?...

    A random object in main?

    How do i write that? is it the same as writing like x = rand() ?
  12. I know its a C forum, but I need help with my java...

    Hi everyone!, I know this a forum dedicated to a C coding, but i really need some help with my java... I'm a really big newb at java. You will probably laugh at me, but I really want to understand...
  13. Using 2D array, hmm... I don't quite understand,...

    Using 2D array, hmm... I don't quite understand, let me re-read the post.
  14. Hmm, 3D array... I haven't learned 3D array yet...

    Hmm, 3D array... I haven't learned 3D array yet...
  15. I need help, and you guys are the only ones I can think of

    Need help with my code, I wrote comments and such on what I need and stuff.... I really need help badly, please become my hero.



    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>...
  16. Replies
    20
    Views
    11,367

    haha, sorry, I was typing it from memorization....

    haha, sorry, I was typing it from memorization. I'm at work at the moment, hehe. Also working with textedit at the moment, to see how it will hold me up. Soon I'll be home and then the real deal...
  17. Replies
    20
    Views
    11,367

    Here is my code at the moment, I was just...

    Here is my code at the moment, I was just thinking of a way for a while to do this... its quite long, but basically my comments are the things where it explains everything. I'll still be working on...
  18. Replies
    20
    Views
    11,367

    Alrighty, I saved it as a .csv. Now I'm confused...

    Alrighty, I saved it as a .csv. Now I'm confused on how to get the integers, how i have a clue on how to get the chars, but yeah. I'm going to read some tutorials and stuff. Thanks for the help ^^
  19. Replies
    20
    Views
    11,367

    Sorry I was gone for a bit. Hmm so, is there no...

    Sorry I was gone for a bit. Hmm so, is there no way to read my xls file or something?
  20. Replies
    20
    Views
    11,367

    Hmm... 250 pages.... haha. Well I just like...

    Hmm... 250 pages.... haha.

    Well I just like coding, its fun and it takes other stress off of me. Just trying things with coding and stuff, see how far I can go and stuff, but it seems like...
  21. Replies
    20
    Views
    11,367

    hmm... really? Hmm... is it that much harder...

    hmm... really? Hmm... is it that much harder reading it from a xls spreadsheet? can't we something like



    FILE *fp;
    fp=fopen(projectscores.xls, r);

    int i;
    int x;
    for(i=0; i != EOF; i++)
  22. Replies
    20
    Views
    11,367

    Reading xls files

    Hello everyone! I ran into another problem. So I have this excel spreadsheet that has like many many names and many scores on projects (school stuff). My OBJECTIVE: Find the highest score on each...
  23. Replies
    20
    Views
    5,036

    Download speed is what residential people use,...

    Download speed is what residential people use, commercial on the other hand probably hosts servers/upload files non-stop. That is why you are having a very low cap on your upload speed.

    But think...
  24. Replies
    45
    Views
    5,421

    Program is finished and all good. If you guys...

    Program is finished and all good. If you guys want to see it, let me know. But its quite long and messy, because I know its not the most efficient way to do it :D, but its all thanks to you guys that...
  25. Replies
    45
    Views
    5,421

    OoO interesting. Nice night owl.. month number...

    OoO interesting. Nice night owl.. month number being what the user wrote. So january would be 1, feb. = 2, etc.
Results 1 to 25 of 91
Page 1 of 4 1 2 3 4