Search:

Type: Posts; User: neilman88

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,208

    i am working on a program containing this right...

    i am working on a program containing this right now. i think that you have to make a for loop:

    for(int i=0; i<array.length; i++)
    {
    if(array[i]==" ")
    {
    ...
  2. Replies
    2
    Views
    1,454

    downloading libraries

    where would i download libraries on my computer?

    i want to download:
    apstring.h
    apstring.cpp
    apvector.h
    apvector.cpp

    thank you for your response:)
  3. like someone said, you should try ...

    like someone said, you should try
    while(!infile.eof())

    but also, you could do this:
    while(!infile.eof() && !infile.fail());



    it might work, but if it doesn't it...
  4. i think that you are missing a bracket({) after...

    i think that you are missing a bracket({) after the do in the do while statement.
  5. Replies
    1
    Views
    1,570

    selecting input from a floppy

    how do you select what line of code you want to use as input to a program if you have an input stream connected to a floppy?

    what if it was the 3rd line in a floppy and you want to use it and...
  6. Replies
    3
    Views
    839

    output to file

    if i have the following code
    #include <iostream.h>
    #include <conio.h>
    #include <fstream.h>
    #include <assert.h>
    #include <STDIO.h>

    //LEVEL ONE FUNCTION...
  7. im not sure, but i think that you would do: ...

    im not sure, but i think that you would do:

    long double number=0.0;

    just like you would do:

    long int number=0; for a long integer
  8. Replies
    1
    Views
    1,247

    output file streams

    i wrote this program, but it doesn't work. it keeps giving me the error "test_file not recognized". i have a floppy disk in my computer when i run this program. i thought that if there is no file by...
Results 1 to 8 of 8