Search:

Type: Posts; User: panfilero

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    849

    link list question

    Hello, I was looking for some help in manipulating a linked list. I'm not looking for code so much as I am looking for a way to approach the problem.

    I have a linked list, where the nodes each...
  2. Thread: about scanf

    by panfilero
    Replies
    1
    Views
    916

    about scanf

    does anyone know what this + sign is for in here, what it does?




    fscanf(fin,"%3d%f+%4d%d%*f",&n,&x,&i,&j);
  3. Replies
    8
    Views
    1,781

    I've been looking on google for some kind of...

    I've been looking on google for some kind of sorting algorithm that would help with this, but I can't find any... I think this might be called a diagnolly dominant matrix... but I can't find any...
  4. Thread: smith chart?

    by panfilero
    Replies
    1
    Views
    2,849

    smith chart?

    hello

    does anyone here know what a smith chart is... and if you do, do you know how I may get started making a smith chart program?
  5. Replies
    0
    Views
    3,675

    Initialize an array in FORTRAN

    hello, does anyone know if it is possible to re-initialze a vector (array) in fortran?

    I need to keep printing out this vector, it's in a loop statement, but I need to keep filling it with...
  6. Replies
    8
    Views
    1,781

    no, no... what I mean is that your code is not...

    no, no... what I mean is that your code is not moving the rows.... my code needs to just move rows to provide the diagnol

    none of these rows


    8 6 6 1
    5 4 3 6
    5 1 2 3
    4 2 4 1
  7. Replies
    8
    Views
    1,781

    well, what I'm trying to do is something...

    well, what I'm trying to do is something different than what yours does.. i'm trying to take in a matrix and just switch around the rows, for instance for the matrix you made:



    6 2 1 7
    2 2 6 6...
  8. Replies
    8
    Views
    1,781

    loop building question

    Hello, I am trying to build a loop that makes a matrix diagnolly dominant (I'm not sure if thats the right term... I mean where the values on the diagnol are from greatest to least... like this
    ...
  9. Replies
    2
    Views
    1,749

    Its About Fortran

    I'm sorry to post something here that doesn't pertain directly to C.
    I have found this Board extremely helpful while I've been learning to program in C and I've recently started learning Fortran......
  10. Replies
    4
    Views
    1,829

    MP3 file searching question

    OK, first, I have posted a very similar question like this before. It has been pointed out to me not to repost similar questions. I have a different one about the same thing though.

    I have...
  11. Replies
    2
    Views
    1,136

    does anyone know how to pop off a stack?

    I have a linked list, that I want to remov things off the top like a stack....

    I made this function but it doesn't work...

    does anyone know what I'm doing wrong?



    STUDENT* remv_student(...
  12. Replies
    7
    Views
    1,288

    What's wrong with the part in red? It moves my...

    What's wrong with the part in red? It moves my data from the second node being tested to the first, if the first is less than the second....
  13. Replies
    7
    Views
    1,288

    I tried to do this.... but it didn't work, I...

    I tried to do this.... but it didn't work, I don't know why it doesn't work though



    void sort_list(STUDENT* stud) {

    STUDENT* first;
    STUDENT* second;
    STUDENT...
  14. Replies
    5
    Views
    1,234

    sorting question

    I have a linked list I am trying to sort... I wrote this function to sort it.... I go through it logically and I don't see why it wouldn't work.... does anyone know a better, simpler way to sort a...
  15. Replies
    2
    Views
    989

    how can i get a int out of a string?

    I have this string "Class Size 3" stored in an array named temp_name2.... I need to get the 3 out of there and store it in a int variable.... does anyone know how I can do this?
  16. Replies
    7
    Views
    1,288

    I don't understand, this one has got me really...

    I don't understand, this one has got me really confused. You suggested to ways to do this. I'm not sure how to implement either.

    For the first one, my linked list is already made... if I...
  17. Replies
    4
    Views
    2,139

    Quzah I am impressed at how much you know about...

    Quzah I am impressed at how much you know about this C stuff. I posted this somewhere else but I wanted to ask you, it's similar to what we were discussing here, so I'm reposting it here, maybe you...
  18. Replies
    7
    Views
    1,288

    Another Linked List Question

    I have a linked list. Each node has 2 pieces of data (a name and a number) plus the pointer to the next node.

    One of the pieces of data is an arbitrary number. I need to somehow create a...
  19. Replies
    4
    Views
    19,869

    this is what I have in main: ...

    this is what I have in main:



    FILE *fin,*fout;
    fin = fopen("cp20550.dat", "r");
    fout = fopen("cp20550.out", "w");
  20. Replies
    4
    Views
    19,869

    fin fout, file pointer question

    Hello

    I wrote a program that has a function in it that prints to an output file...

    I want to use the file pointer fout

    But whenever I declare fout outside of the main function... like a...
  21. Replies
    4
    Views
    2,139

    Thanks for the tips quzah, I went with door...

    Thanks for the tips quzah, I went with door number 4 and attempted to write my own function that would reverse my linked list. Its my first time doing this, this is what I wrote:



    STUDENT*...
  22. Replies
    4
    Views
    2,139

    Linked Lists Question

    Hello, I have created a linked list and am wanting to print out information from it in reverse order... I'm not sure how to go about this. Could someone help me.... I'm not looking for code, just in...
  23. Replies
    3
    Views
    1,323

    I've modified my loop a bit into this: but it...

    I've modified my loop a bit into this:

    but it is still not working right, it is not stopping at class size like the while loop says and it is also printing blank lines... I don 't know why.


    ...
  24. Replies
    3
    Views
    1,323

    trouble reading input

    I have this input file:




    John LongLastName
    143

    Ann Iaeiouyhfsdf.
    103
  25. Replies
    1
    Views
    2,848

    scanf question

    How can I make scanf skip a blank line....

    I want it to fscanf some numbers

    input file:


    123
    12235
Results 1 to 25 of 84
Page 1 of 4 1 2 3 4