Thread: advice

  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    8

    advice

    Hi everyone.

    Im tryin to create a mobile phone transfer file for a text based organiser.

    i have to do the following.
    Ask the user for a filename to save the transfer data in.
    Any records that have the mobile indicator set to true are to be transferred.

    im using structs in my program.

    Can ne1 help me.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >Ask the user for a filename to save the transfer data in.
    fgets is a good function for reading file names. Don't forget to kill the trailing newline though.

    >Any records that have the mobile indicator set to true are to be transferred.
    That's good. We wouldn't want to transfer records that have the mobile indicator set to false.

    >im using structs in my program.
    Structures are good for records. I approve.

    >Can ne1 help me.
    Not based on the information you've given.
    My best code is written with the delete key.

  3. #3
    /*enjoy*/
    Join Date
    Apr 2004
    Posts
    159
    salut je vous conseille d'utiliser les macros du c++ pour que ca facilite le dialogue entre utilisateur et programme .
    --->attention pour la bibliotheque fstream.h pour la gestion des fichiers car elle considere un fichier comme une grande chaine de caractere a gerer ...
    bonne chance

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Advice on C Programming with MSVC++ 2008
    By IT_Guy in forum Windows Programming
    Replies: 1
    Last Post: 03-06-2009, 04:23 AM
  2. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  3. Resume advice
    By Zughiaq in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-15-2005, 02:16 PM
  4. girl friend advice (prob. the wrong place)
    By B0bDole in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 10-22-2004, 06:38 PM
  5. Partitioning advice?
    By mart_man00 in forum Tech Board
    Replies: 6
    Last Post: 01-10-2003, 10:53 PM