Forum: C++ Feb 24th, 2008 |
| Replies: 9 Views: 767 awesome it works. thank you very much |
Forum: C++ Feb 24th, 2008 |
| Replies: 9 Views: 767 This is the whole function as it stands at the moment, I basically changed everything to the strings and copied and pasted your string into the main.
int write(string id)
{
ofstream myfile;... |
Forum: C++ Feb 24th, 2008 |
| Replies: 9 Views: 767 awesome that makes sense but now I've run into a new problem.
myfile.open (id);
the compiler is saying no matching function or call to std::basic and then goes on to define the write part.... |
Forum: C++ Feb 24th, 2008 |
| Replies: 9 Views: 767 question was more of a statement but still there
at the point where I'm trying to access the file
myfile.open ("account/"id"/example.txt"); //this is where the error pops up
I want to... |
Forum: C++ Feb 24th, 2008 |
| Replies: 9 Views: 767 I am trying to write a file that writes to a user specified folder using ofstream. The basics of the code looks like this:
#include <iostream>
#include <fstream>
#include <conio.h>
#include... |