Okay.. I'm now able to copy the file :D
but I don;t know how to return it from the function :confused:
Please help :( What am I doing wrong :(
#include <fstream>
Type: Posts; User: godfrey270487
Okay.. I'm now able to copy the file :D
but I don;t know how to return it from the function :confused:
Please help :( What am I doing wrong :(
#include <fstream>
Would I have to create 2 different variables, maybe calling them file1 ( fiel to fead from) and file2( file to copy to) ?
#include <fstream>
#include <iostream>
using namespace std;
void main()
{
cout<<"Enter name of file";
string filename;
cin>>filename;
How would I do this?? This is what I have so far.. It's like chinese writing to me..lol
void main()
{
ifstream infile;
ofstream outfile;
string name;
Hey guys, I really need help with this program I am to write out, I don't even know where to start :( I just can't get my head around files no matter how much I study it. My notes aren;t that great...
Thanks guys, It works now. I really appreciate the help, I have an exam in this Wednesday and up till today I was clueless, still am but I think I know the basics.
#include <iostream>
using namespace std;
void quadraticequation(float a, float b, float c);
int main()
{
int a,b,c;
cout <<"a"<< endl;
cin>>a;
Will the tutorial show me how to complete option 2??.. (displaying last student info).. Is that also under the heading looping?
THank you.. LOL.. I better read up on it quickly :D..TTHanks again :D
Thanks.. so that would be for option 3 then?
I am so slow at this stuff :)
Sorry I am really new to ALL of this.. How to I initliaize option to null ( which option?).. I really dont understand what you are saying because I am new to english too..sorry :(
Plus its only...
THANK YOU VERY VERY MUCH you guys for replying :D :D :D
Sorry, my english is bad..
cout << "1)... Add Student Information" << endl;
cout << "2)... View Last Students Information" <<...
OKay here's the program Im suppose to write.. it involves looping and branching(I think :confused: )
******************************************
#include <iostream>
int main()
{