hi,
thanks for your tips. i know cat <filename> is to display contents of file in Unix, but what is the equivalent code in C?
Do i have to open the file first fopen() before displaying the...
Type: Posts; User: zagelle
hi,
thanks for your tips. i know cat <filename> is to display contents of file in Unix, but what is the equivalent code in C?
Do i have to open the file first fopen() before displaying the...
hi all,
how do i list the contents of a file and calculate the string length (strlen) with it?
thanks!
maybe you'd like to try the condition for < 0 instead of -1 only so that ALL negative scores will be reflected as error?
hi walt,
thanks for your advice. am i right to assume that for various unix functions, i use the relevant c functions instead?
e.g.
remove() --> int remove
rename() --> int rename
thanks
sorry.....i messed it up.
(code) and (/code) but using square brackets instead.
apologies for a confusing reply...
oh and by the way, code tags are basically using "
" and "" tags at the start and end of your codes respectively to denote the indents and start/end of your program. hope it helps...
Correct me if I'm wrong, but it would seem that the 3 sides of 4, 6, 10 seems highly unlikely? I can't draw a triangle with those measurements.
Pythagoras ain't gonna be happy if he sees his...
Hi all,
This virtual file system is implemented as a binary file and I have a problem with some of the functions as it needs to incorporate with Unix and I don't know how/where to start. The basic...