Thread: Help needed pleasee

  1. #1
    Registered User
    Join Date
    Dec 2017
    Posts
    1

    Help needed pleasee

    I have an assignment and I can't seem to do it and the submission is in one hour. Can anyone help?
    Here is the question


    Download the cars.dat file (I have attached it)
    There are 20 records stored in this file. Everyone record has

    a number (integer type)
    a name (max. 20 characters)
    a real number

    Write a program that prints the data of the records that start with "S" (captial S)

    Prints the data onto the screen in this format: name, integer number, real number.



    Thanks A MILLIONN

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,662
    TARDIS - Wikipedia
    Come back last week where we would have a decent chance to help you learn.

    1 hour to go is a hail mary hoping for a spoon fed answer you can hand in without you having to think or learn.

    Cf time management.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Banned
    Join Date
    Aug 2017
    Posts
    861
    1. open file
    2. read file
    3. find the records that start with "S" (captial S)
    4. Print that and the related data that goes with it to the screen.
    5. close file
    6. exit program
    piece of cake, and even a cake can take longer than an hour to make. start to finish.

    where where you when they thought that in class? again drop a class of whatever, and pick up one on time management. It might be to your benefit. Or just take it as an extra class. But of course you'd have to manage your time better to get that extra class in. So you'd already be learning time management just by taking an extra class. think about it.

    ( where is that file anyways? just wondering. )
    Last edited by userxbw; 12-05-2017 at 11:53 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 10-18-2016, 10:00 AM
  2. Help pleasee
    By weezy in forum C Programming
    Replies: 5
    Last Post: 12-02-2012, 07:01 PM
  3. Help me pleasee T^T
    By winterday in forum C Programming
    Replies: 4
    Last Post: 07-28-2010, 09:08 AM
  4. Help needed!!
    By Vikramnb in forum C++ Programming
    Replies: 7
    Last Post: 01-09-2009, 09:20 AM
  5. some help needed.... again
    By devour89 in forum C++ Programming
    Replies: 2
    Last Post: 12-05-2002, 05:04 AM

Tags for this Thread