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]==" ")
{
...
Type: Posts; User: neilman88
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]==" ")
{
...
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:)
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...
i think that you are missing a bracket({) after the do in the do while statement.
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...
if i have the following code
#include <iostream.h>
#include <conio.h>
#include <fstream.h>
#include <assert.h>
#include <STDIO.h>
//LEVEL ONE FUNCTION...
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
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...