Search:

Type: Posts; User: BlackSlash12

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    2,030

    Thank you guys finally I made it: #include...

    Thank you guys finally I made it:



    #include <fstream>
    #include <sstream>
    #include <string>
    #include <iostream>
    using namespace std;
  2. Replies
    13
    Views
    2,030

    I am not working... I am a student of...

    I am not working... I am a student of university...
    I am running out of time here because I have to post this to my teacher on Tuesday morning.

    I know that you are helping me with your advices...
  3. Replies
    13
    Views
    2,030

    Well all I need is a c++ programa to do the job....

    Well all I need is a c++ programa to do the job. To output:

    ...
  4. Replies
    13
    Views
    2,030

    If the programm is this: #include...

    If the programm is this:



    #include <fstream>
    #include <sstream>
    #include <string>
    #include <iostream>

    int main()
  5. Replies
    13
    Views
    2,030

    Thank my friend. Unfortunatelly this line...

    Thank my friend.

    Unfortunatelly this line error my compiler too...
    can you fix this ?
  6. Replies
    13
    Views
    2,030

    for the real thing the link.txt contains the...

    for the real thing the link.txt contains the following:

    The link.txt file :


    I want to isolate:...
  7. Replies
    13
    Views
    2,030

    Search through file

    I want to make a programm that reads the text file link.txt
    and then look for the phrase "video_id="

    Imagine the the link.txt is something like this:...
  8. Replies
    4
    Views
    9,730

    This works perfect for me. #include...

    This works perfect for me.



    #include <stdio.h>
    #include <iostream>
    #include <math.h>
    using namespace std;

    void InputCheck(int *data, int n)
  9. Replies
    4
    Views
    9,730

    scanf and pointer

    Hello there,

    I have a problem in C with pointers.
    I want to a input data check in my main function. I use a function to do that job. But I do not the syntax for pointer format.

    look:



    ...
  10. Well Daved, you have rights as always. I am...

    Well Daved, you have rights as always. I am reading this C++ book, and it reveals me slowly the secrets. Thanks man and thank all of you guys. I really appreciate your help and guideness.

    Queries...
  11. another way to avoid 2Copy Constructors and its...

    another way to avoid 2Copy Constructors and its 2Destructors:



    #include <iostream>

    using namespace std;
    class MyClass
    {
    public:
  12. Well I fixed the first example: #include...

    Well I fixed the first example:



    #include <iostream>

    using namespace std;
    class MyClass
    {
    public:
  13. I tried the following source code: ...

    I tried the following source code:



    #include <iostream>

    using namespace std;
    class MyClass
    {
    public:
  14. OK, I got the point. What about copy constructor...

    OK, I got the point. What about copy constructor ? Could you please, give me a similar source code example ?
  15. I compiled this: #include ...

    I compiled this:



    #include <iostream>

    using namespace std;

    class SimpleCat
    {
  16. Ok. So, a Constructor is a special function that...

    Ok. So, a Constructor is a special function that initialize the class.

    for example.


    class SimpleCat
    {
    public:
    SimpleCat(); //constructor
    ...
  17. Passing Objects, Constructors, Pointers, References, Values ???

    Hello once again my friends. I have a problem here. I cannot understand the use of the constructor,destructor,and copy constructor. What are these things ? Do I need these ? How am I suppose to know...
  18. Replies
    32
    Views
    3,583

    Thanks matsp, you rock dude!!!! :)

    Thanks matsp, you rock dude!!!!
    :)
  19. Replies
    32
    Views
    3,583

    I study your example and I have to say that is...

    I study your example and I have to say that is NOT good to combine the cin.ignore() method with the method of conversion. There is a problem in input stream and it's difficult to discover it. Anyway...
  20. Replies
    32
    Views
    3,583

    First of all I need to say a BIG thank you to...

    First of all I need to say a BIG thank you to matsp for his great work and the time that he devoted to post here these great piece of code.



    #include <iostream>
    #include <sstream>
    #include...
  21. Replies
    32
    Views
    3,583

    I care about reliable code and well working...

    I care about reliable code and well working applications!!!

    So, matsp, can you write me function that checks the numeric input (without any other limitation such as you said 1000 years old) using...
  22. Replies
    32
    Views
    3,583

    The question is simple: Suppose that you have to...

    The question is simple:
    Suppose that you have to develop a program in C++. This program asks for user to insert some numeric values. Such as:
    cout << "Give me your age";
    cin >> age;
    cout <<"Give...
  23. Replies
    32
    Views
    3,583

    No! I've tested and all cins work great! How...

    No! I've tested and all cins work great!

    How do I know when I suppose to flush the buffer output ?
  24. Replies
    32
    Views
    3,583

    You said: "I'd just like to reiterate my comment...

    You said: "I'd just like to reiterate my comment that attempting input AND conversion at the same time is just a mess waiting to happen, as already noted by several others."

    Salem, I do NOT use...
  25. Replies
    32
    Views
    3,583

    I am not asking for my course exercises. I am...

    I am not asking for my course exercises. I am asking because I want to develop a Qt program on GNU/Linux (for Desktops). So, matsp you said that there is not problem using string conversion to...
Results 1 to 25 of 66
Page 1 of 3 1 2 3