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...
Type: Posts; User: panfilero
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...
does anyone know what this + sign is for in here, what it does?
fscanf(fin,"%3d%f+%4d%d%*f",&n,&x,&i,&j);
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...
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?
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...
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
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...
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
...
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......
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...
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(...
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....
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...
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...
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?
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...
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...
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...
this is what I have in main:
FILE *fin,*fout;
fin = fopen("cp20550.dat", "r");
fout = fopen("cp20550.out", "w");
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...
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*...
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...
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.
...
I have this input file:
John LongLastName
143
Ann Iaeiouyhfsdf.
103
How can I make scanf skip a blank line....
I want it to fscanf some numbers
input file:
123
12235