Search:

Type: Posts; User: indy

Search: Search took 0.00 seconds.

  1. Replies
    20
    Views
    3,282

    ~ sorry thanks...prelude

    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...
  2. Replies
    20
    Views
    3,282

    thanks but...more problems..

    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...
  3. Replies
    20
    Views
    3,282

    ~ compiled okay BUT no output..??

    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...
  4. Replies
    20
    Views
    3,282

    ~ new code ...from scratch...

    hi prelude

    this is what i have from scartch...



    #include <stdio.h>

    #define MAX 10
    #define LEN 80
  5. Replies
    20
    Views
    3,282

    ~ sorry - was bit lost !!~

    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...
  6. Replies
    20
    Views
    3,282

    thanks - sloww coder...need more help..

    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...
  7. Replies
    2
    Views
    1,420

    ~thanks prelude ...~

    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...
  8. Replies
    2
    Views
    1,420

    ~ Help with my code modification ~

    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...
  9. Replies
    20
    Views
    3,282

    ~ More help !!..code not working~

    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....
  10. Replies
    20
    Views
    3,282

    ~ More help on my code prelude~

    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




    ...
  11. Replies
    20
    Views
    3,282

    ~ thanks yes but ~

    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...
  12. Replies
    20
    Views
    3,282

    ~thanks prelude - more help please~

    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...
  13. Replies
    4
    Views
    3,207

    ~ sorry ~

    sorry folks, i had problems posting...my apologises....thanks...indy
  14. Replies
    20
    Views
    3,282

    ~Help - File processing with user input~

    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...
  15. Replies
    4
    Views
    3,207

    ~ code please !!~

    hi walt p

    thanks for the reply, could u please give me some code...thanks...indy
  16. Replies
    4
    Views
    3,207

    ~ User Input script help~

    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...
  17. Replies
    8
    Views
    4,126

    ~ Thanks a lot all !!~

    Hi all

    Thanks again all especially prelude....all the best...going home now...good bye...
  18. Replies
    8
    Views
    4,126

    ~ Sorry prelude...it does work..but !!~

    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...
  19. Replies
    8
    Views
    4,126

    ~ thanks prelude but more prob !!~

    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...
    ...
  20. Replies
    8
    Views
    4,126

    ~ thanks - more help please !!~

    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......
  21. Replies
    8
    Views
    4,126

    c script help to read a file & update

    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...
Results 1 to 21 of 22