I want to ask, does gcount() return the amount of characters or bytes read?
And can anyone give me an example on how to use it? :p
Thanks in advance! ;)
Type: Posts; User: Ignited
I want to ask, does gcount() return the amount of characters or bytes read?
And can anyone give me an example on how to use it? :p
Thanks in advance! ;)
It seems that cin.getline is unrecognized in Dev-C++ is there some other function I can use?
I haven't tried fgets() since I want to stick to the C++ style.
Thanks.
Thanks that did the trick....
Sorry about the simple mistakes I'm kinda new to FILE I/O and some of the things there were automatically put in since I was using Dev-C++ 4.9.9.2
Thanks again :)
The problem is simple enough...
Here the "read" part of my program..
#include <cstdlib>
#include <iostream>
#include <fstream>
using namespace std;