Search:

Type: Posts; User: niponki

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    2,370

    hmm.. I don't really follow. I did try to take...

    hmm.. I don't really follow. I did try to take away the new arrays for the "new_area" and "new_phone" and just inputed them into the old ones to try and "cover-up" the old information, but it still...
  2. Replies
    4
    Views
    2,370

    Ok, another couple hours down the drain, and...

    Ok, another couple hours down the drain, and still not getting it!! arrrhhgg... anyone?
  3. Replies
    4
    Views
    2,370

    Replace a list with a new entry?

    Hey guys, back again with yet another "intelligent" question :rolleyes:

    So, I finished my linked list assignment to build a telephone directory, or phone book.

    The teacher then gave us the...
  4. Replies
    16
    Views
    3,014

    thanks for the tip, i will definately use that...

    thanks for the tip, i will definately use that next time to help reduce my lines. thanks again guys!!
  5. Replies
    16
    Views
    3,014

    awesome!! I got my assignment done and I could...

    awesome!! I got my assignment done and I could not have done it with out your help!! Thanks so much quzah and everyone else who gave input. I think I am finally getting an understanding of all...
  6. Replies
    16
    Views
    3,014

    so what you are saying is that the person who...

    so what you are saying is that the person who wrote this code put the "NODE" or whatever we want to call it as a global pointer instead of putting it into the structure? In effect, he took the...
  7. Replies
    16
    Views
    3,014

    Ok, I was looking for some programming examples...

    Ok, I was looking for some programming examples online to help me out, and i stumbled accoss this one. And just for a disclaimer, I am not going to use this for my homework assignment. I just...
  8. Replies
    16
    Views
    3,014

    so this is what I came up with for my homework...

    so this is what I came up with for my homework assignment to create the structures.



    typedef struct
    {
    int key;
    char first_name[81];
    char last_name[81];
    int areaCode;
  9. Replies
    16
    Views
    3,014

    haha.. my thoughts exactly

    haha.. my thoughts exactly
  10. Replies
    16
    Views
    3,014

    Why would you ever want to do this? This sounds...

    Why would you ever want to do this? This sounds like it would just complicate things no? So I think.. best bet is to just leave that part out. Doesn't make any sense that they put this statement...
  11. Replies
    16
    Views
    3,014

    Ok, so what I am getting from your two inputs is...

    Ok, so what I am getting from your two inputs is that the first statement does not really have to be there. It can to make things more readable, but does not actually have to be there? Hope that is...
  12. Replies
    16
    Views
    3,014

    simple structure/linked list question

    Hi,

    Just need a little clarification here. I am studying linked lists and structures in my class and had a general question for anyone that would be kind enough to help out :) Here is an...
  13. Replies
    2
    Views
    3,460

    whoa.. took me almost all night, but I think.. ...

    whoa.. took me almost all night, but I think.. well, I guess I know that i got it since it works. Thanks for the help. Here is the last part of the code that I came up with.



    ...
  14. Replies
    2
    Views
    3,460

    finding the max/min/average

    Hi,

    Need some help on this one. I am writing a program using structures and arrays for students grades. I am getting the input from a file and I am suppossed to print out the data, then print...
  15. Replies
    12
    Views
    6,668

    hey thanks a lot for your help guys. I am going...

    hey thanks a lot for your help guys. I am going to keep working on it and I will let you know i can get it done!! again, i really appreciate it!!
  16. Replies
    12
    Views
    6,668

    I'm sorry, I am still not 100% understanding...

    I'm sorry, I am still not 100% understanding this. This is what I know I have to do. I know I have a function that reads a file, then calls another function to fill an array with that file. This...
  17. Replies
    12
    Views
    6,668

    so i am going to take make a function call from...

    so i am going to take make a function call from the readfile function to fill the array. I know how to fill the array, and I know how to fill and array of strings, but i do not know how to do it...
  18. Replies
    12
    Views
    6,668

    ok, so after a little more research, i can easily...

    ok, so after a little more research, i can easily see that this last post was pretty stupid... i think... so my fgets and my str[] array are not linked in anyway. i just don't understand the...
  19. Replies
    12
    Views
    6,668

    Ok, so i modified the readfile function of my...

    Ok, so i modified the readfile function of my program with the fgets command and compiled it with no errors. Is there anyway to test my program to make sure that the file really is being read into...
  20. Replies
    12
    Views
    6,668

    oOh ok.. I will try that out and see what I come...

    oOh ok.. I will try that out and see what I come up with. Thanks!!
  21. Replies
    12
    Views
    6,668

    Ok, I have been doing some more reading, and I...

    Ok, I have been doing some more reading, and I know how to initialize a string. For example,


    string1[] = "Monday";

    That would initialize an array called string1 that is filled with a...
  22. Replies
    12
    Views
    6,668

    Fill an array with strings from file

    Ok, so I have been tasked with a simple assignment where I must write a program that creates an array of strings, where the number of rows is specified by the user. The program reads the data from...
  23. Replies
    5
    Views
    2,297

    ahhh.. forgot to initialize.. i added -->...

    ahhh.. forgot to initialize..

    i added --> for (row = 0; row < rowNum; row++) <-- and it seems to work fine now.

    Thank you so much for your help. now onto the rest of the program for me. ...
  24. Replies
    5
    Views
    2,297

    Wow, thanks for the fast response and the link. ...

    Wow, thanks for the fast response and the link. That helped me understand a little better. However, when i run the program now, it prints to the screen great, but it crashes when i input a value...
  25. Replies
    5
    Views
    2,297

    Specify number of rows in an array??

    Hi guys, first time posting here so I just want to thank anyone in advance for any help that I might receive. I wish I had known about this forum earlier. Anyway, let me get to it. I am to write a...
Results 1 to 25 of 25