Search:

Type: Posts; User: Glauber

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Yes, ofcourse. But that is numbers right?

    Yes, ofcourse. But that is numbers right?
  2. Replies
    8
    Views
    1,514

    Thanks.

    Thanks.
  3. Replies
    7
    Views
    1,310

    Thanks.

    Thanks.
  4. Need another example.

    Need another example.
  5. Replies
    8
    Views
    1,514

    Any case where a beginner might want to use void...

    Any case where a beginner might want to use void main() or main(void) (difference?) instead of int main()
  6. Replies
    7
    Views
    1,310

    So basicly you never "have" to use std::?

    So basicly you never "have" to use std::?
  7. Replies
    7
    Views
    1,310

    std::vector and vector, difference?

    What's the advantages of typing "std::" before a vector initialization, for example:

    std::vector<type> instance;

    or

    vector<type> instance;

    Both seem to work, right? So what's better?
  8. Thanks

    Thanks
  9. Replies
    8
    Views
    1,514

    Beginner question

    What's the difference between int main() and void main()?
  10. Replies
    9
    Views
    1,697

    It just skips the cin when the program is run...

    It just skips the cin when the program is run when you use getline!?
  11. Replies
    17
    Views
    3,281

    Thank you.

    Thank you.
  12. What if the string is unknown to the program...

    What if the string is unknown to the program before the input?
    Is there an easier way of sorting strings?
  13. It's in a for loop, and it dosent seem to work...

    It's in a for loop, and it dosent seem to work the way you put it. There are lots of cin and cout in the program, and the loop aswell.
  14. Thanks

    Thanks
  15. Do you have any examples of an "easy" function to...

    Do you have any examples of an "easy" function to sort strings?
  16. Replies
    17
    Views
    3,281

    How would that be in the following example?: ...

    How would that be in the following example?:



    struct data
    {
    string name;
    string title;
    string author;
    };
  17. I know that a header named "" exists....

    I know that a header named "<fstream>" exists. And as I said, it dosent have to be very complex at the beginning stage of the learning process. Using the most easy way will do it for a starter.
  18. Making cin attach no value to an array when you push enter

    How do you make cin to allow the program to continue to the next line, if there is no value to store in the array when you push enter?

    Example:



    cout << "Enter a name: "
    cin >> X;
    cout <<...
  19. Using the simplest .txt storage methods is a good...

    Using the simplest .txt storage methods is a good start point, no? In case you want to help out, I'd love to understand it.
  20. Replies
    17
    Views
    3,281

    That's the case.

    That's the case.
  21. Yes, the data in the application is stored in a...

    Yes, the data in the application is stored in a vector. But how do you "extract" the data of a vector to a text file; AND still be able to make the app recognize it, and edit it later on?
  22. Isnt it like in maths, that for example 1>2. But...

    Isnt it like in maths, that for example 1>2. But how can you compare A and B? A>B?
  23. Replies
    17
    Views
    3,281

    Elysia, you have been following my threads, thank...

    Elysia, you have been following my threads, thank you. Now if you wanted to use a map to find something as in my prev. examples, how would you do?


    struct data
    {
    string...
  24. Replies
    9
    Views
    1,697

    So, how is it done? Do you have to use the...

    So, how is it done? Do you have to use the pointer method?
    getline >> x?
    getline x?
  25. Replies
    9
    Views
    1,697

    Why does the array not accept blankspaces?

    When you enter a word inside a char x[30] array, for example Max, it's working, but if you enter Max Maximus, it automaticly fills the NEXT cin. How do you fix it?
Results 1 to 25 of 62
Page 1 of 3 1 2 3