Thread: hi to create a .txt file

  1. #1
    Registered User
    Join Date
    Jan 2009

    hi to create a .txt file

    C program to create .txt file containing 10 records. Record schema will be as follows: customer id integer, type of customer char (1) G/B, age integer and name char (20).

  2. #2
    Registered User
    Join Date
    Sep 2006
    Vijay, we don't do homework, please read our policy. We help students (and others), who have specific problems with their programs. You show that you've been working on the problem by posting your code, or a portion of your code, that shows the problem.

    You'll never be a decent programmer, or pass your tests, if someone else is doing your homework all the time. Especially with programming - it takes practice to be good.

    Post back when you have some code, and are prepared to tell us what the problem with it is.

  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Very good. Carry on and write the program.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie homework help
    By fossage in forum C Programming
    Replies: 3
    Last Post: 04-30-2009, 04:27 PM
  2. File transfer- the file sometimes not full transferred
    By shu_fei86 in forum C# Programming
    Replies: 13
    Last Post: 03-13-2009, 12:44 PM
  3. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  4. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM