Solved... it was (mistakenly) declared again inside a method. I guess that was it : /
Type: Posts; User: DsH
Solved... it was (mistakenly) declared again inside a method. I guess that was it : /
Hey
So, I have a class and in that class I have many methods (or functions or whatever you call it in english).
It's suposed to create a linked list of char arrays. One of the methods inserts...
(I was using \\ but didnt know you could use just /)
Ah...
My mistake...
if(!Ficheiro.fail())
was suposed to be
if(Ficheiro.fail())
My fault... now it's working properly, thank you all :)
ok, I added a cin.ingore() before the getline and it's now working :)
thanks
EDIT:
just one small thing:
string Caminho;
That's what I tried, but it skips the input part.
This is what I have.
Sorry, the variables are in portuguese... But you're programmers, I think you'll get it :)
int Opcao;
do
{
Hi (btw, I'm new in this Forum)
I'm doing a project and I have a problem with strings and char arrays (mainly because of the limited size, but also some other stuff).
I'm not sure if I need to...