Thread: reading numbers from input file

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    16

    reading numbers from input file

    Hello.
    I would like to say that i am a newby in c++ programming i have verey little experience.

    I would like to know were in wich tutorials i'd have to search to find how to get integers from example.txt file:

    number of lines 20 number of rows 40 (this is example.txt)

    and i wuld have to get input
    int a, b;
    a is number of lines, and b is number of rows

    i searched google, read on cprogramming and culdent find it

  2. #2
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. opening empty file causes access violation
    By trevordunstan in forum C Programming
    Replies: 10
    Last Post: 10-21-2008, 11:19 PM
  2. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  3. reading a columns input data file
    By vk13wp in forum C Programming
    Replies: 6
    Last Post: 04-28-2003, 01:32 PM
  4. reading input file
    By dellebelle751 in forum C++ Programming
    Replies: 6
    Last Post: 09-28-2002, 02:05 PM
  5. what does this mean to you?
    By pkananen in forum C++ Programming
    Replies: 8
    Last Post: 02-04-2002, 03:58 PM