Hi, I have a form called "Comments" and what I am trying to do is insert some sort of object that will allow the user to enter an unlimited amount of comments. I tried using the Memo function but it only allows 255 characters. Does anyone know of anything I can use in a form that...
* Is there another way to open an infile and outfile? I think the problem I am having is the .c_str(). It seems like it only outputs the first string in the whole input file and forgets about the rest. **
#include <iostream>
#include <fstream>
#include <string>
#include <stdio.h>
using...
I'm running the program below and I enter in the file name and the output file and then a message box appears that reads...
The instruction at "0x00406375" referenced memory at "0xdddddddc". The memory
could not be "read"
Click OK to terminate...
that tok thing didn't work for me so i tried this.
I wanted to search an outfile for the "," again, and until i find that I want to be able to add up the number of characters and store them in memory. Once the "," is found i want it to output the characters that are stored...
What command can I use to do the following...
I create a string City; and I want to search for the character "," and if there is a "," in it it will place that string in the variable city.
i.e. Newport News, VA It will take the Newport News, and put it under city...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.