hi prelude...
thanks for the help but i was wondering what i need to change so that if the input.txt file did not exist and the user types in his own name and i want to create that file...how can...
Type: Posts; User: indy
hi prelude...
thanks for the help but i was wondering what i need to change so that if the input.txt file did not exist and the user types in his own name and i want to create that file...how can...
hi prelude...
appreciate your help but, my input file contains the contents like this...
line 0 - test one message..
line 1 - Uni. of Glasgow
line 2 - Dept. of MIS
line 3 - room 625
line 4...
hi prelude...
sorry i compiled it okay BUT no output from scrip...this is what i did
cc -C filename.c
then a.out
getting the following error...
File open failure: No such file or...
hi prelude
this is what i have from scartch...
#include <stdio.h>
#define MAX 10
#define LEN 80
hi prelude...
thanks...but i am bit confused and have alot of versions , yes i have well butchered it u are right, could u please start me off again....heres what i want to do...
enabling a...
hi there
thanks walt p ...i bit confused and having problems with adding text for a line number...had a look at the faq/archive but still having problems, my code below, does ask for file name and...
hi prelude...
thanks...more i read up on this more confused i get...i just want to get this finished today...so i may be asking for more help...sorry ...i hope this is okay...
Hi all
HELPpppp, i have the code below which i want to modify so that i can prompt the user with the following while reading a file into memory..
1. enabling a user to insert a line in a...
Hi ther quaze
thanks for the reply,hint...much appreciated, i have the code below which i want to modify so that i can prompt the user with the following while reading a file into memory..
1....
Hi there prelude...
thanks for the reply, heres my code so far, i want to incoperate my previous logic...i real sloww in getting it into script and i need more help...thanks...indy
...
hi there prelude
thanks for the logic, what i was thinking is would it not be better to check if the file exists or prompt the user to read the text file, if y continue then abort...code would...
hi prelude
thanks for the reply, but this is what i want to do , sorry i did not explain properly...
i want to enabling a user to insert a line in a specific part of a text file, i.e.
- ask...
sorry folks, i had problems posting...my apologises....thanks...indy
Hi all
This may sound like a silly/simply question how do i create a file from user input e.g. i want the user to input a file name and that input creates a file with same name...
required...
hi walt p
thanks for the reply, could u please give me some code...thanks...indy
Hi all
I am new to c programming and i need help with the following logic, what i want to do is to ask user to input details and then process the file e.g
What I asked you to do was enabling a...
Hi all
Thanks again all especially prelude....all the best...going home now...good bye...
Hi prelude
sorry my mistake, it does write to the file, but it does not do the following
1. i want to limit the max input value to 20 and i did put the following...#define MAX 20 at the top...
Hi prelude...
thanks for the script modification, mych appreciated but i found the following wrong things....
1. it does not write to the file.txt but writes okay the contents of it...
...
Hi there
thanks for the help...my inital code just lists the contents of the file, i want to read in to memory and ask the user to enter input number and then print the contents of the file......
Hi all
New to c programming , please feel to modofy my code below...this is what i want to do,
1. i want to read a file and update this file once the user has input the number..
2. i want to...