thanks i figured it out
hehe (i have strange programming habits)
Type: Posts; User: Dragoncaster131
thanks i figured it out
hehe (i have strange programming habits)
Hey,
you could probably see that i am tryng to make a linked list program.
When I compile the prog, there are no errors. The problem is somewhere in my methodology.
Can anyone help me...
For the illistration, when you made 2 pointers and 2 "regular" instances. Do you have to make the same amount of pointers as you do the instances? And does that mean i have to define another link in...
Hi,
You may have read alot of my previous posts about linked lists, this is my last resort. I have no idea what I am doing. Everyone is assuming that I know what i am doing, or I know what they...
thanks quzah
hey,
I am somewhat a new programmer, so my code isn't the best, but I need to turn this into linked list. Can anyone help?
#include <stdio.h>
#include <string.h>
typedef struct army {
:confused: I am trying to get fscanf to input properly into a linked list
for example
equipment.txt
shield
50
Sorry about the "int main()" thing... i have never heard of that before. i have only been programming a few weeks. Thanks for your help, it is greatly appreciated.
Hurray, i have a gotten the fgets() to read the txt properly. This is the code that i have gotten to work...
#include <stdio.h>
#include <windows.h>
char subsection [1000];
char...
So... if i am getting this correct. i need to store the input of the fgets() into an array and then go through the array and break it up into seperate components?
is there a way to make fgets() to go to a certain line? I am making a program that needs to read a huge text file and store the information into a linked list. my first step is to get have the...
how do i scan an entire line of a text file and store it into an array and then move on to the next line and store that into another array?
Any information would help, thanks.
ok... well the thing is i dont know what i am doing wrong. i am able to read the file ok but, when i get to the second fgets the program messes up. what am i doing wrong?
everything with the // are...
Hi,
I am trying to make a program that reads a txt file and sets the information into a linked list. It is hard for me to explain it, so i will give an example:
The txt file:
Master Rune...