:eek:
thanks for giving me some tips, i tried some of those ways and now i get segmentation errors. I havent learned pointers yet so the pointer in my program i just copied from the FAQ.
maybe...
Type: Posts; User: cproghelp
:eek:
thanks for giving me some tips, i tried some of those ways and now i get segmentation errors. I havent learned pointers yet so the pointer in my program i just copied from the FAQ.
maybe...
Hi, Im having trouble debugging my program.
My program is suppose to read a txt list that consists of a number followed by letters
82
fsdfkd
0
fdsfds
I got that part to work thanks to some...
Okok, I used that method...
with this file
------------------------
32
abcdefg
22
hijklm
45
nopqr
Hi, if I have a file that looks like this
--------------------
8
ihave
22
a
0
aheadache
Thanks for the advice!
I fixed up my code using a temp[] and now its working!
Hi, Im writing a program and the first step is to read a text file containing characters and then store them into an array. The text files looks something like this:
abcde
fghij
klmno
I want...