Search:

Type: Posts; User: DsH

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    851

    Solved... it was (mistakenly) declared again...

    Solved... it was (mistakenly) declared again inside a method. I guess that was it : /
  2. Replies
    3
    Views
    851

    Passing variables between methods

    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...
  3. Replies
    7
    Views
    2,039

    (I was using \\ but didnt know you could use just...

    (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 :)
  4. Replies
    7
    Views
    2,039

    ok, I added a cin.ingore() before the getline and...

    ok, I added a cin.ingore() before the getline and it's now working :)
    thanks

    EDIT:
    just one small thing:



    string Caminho;
  5. Replies
    7
    Views
    2,039

    That's what I tried, but it skips the input part....

    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
    {
  6. Replies
    7
    Views
    2,039

    Unsized string input

    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...
Results 1 to 6 of 6