Student Class in C++ using sstream for format
You are writing a C++ program, so why have you used C Style comments?
If parameters aren't changing it makes it clearer to readers/maintainers if you declare them as const.  It they are const they may as well be const references.
The point of namespaces is to provide a degree of separation of the code in libraries, so they don't clash.  using namespace std; breaks this don't use it.
Defining multiple variables on a line is a maintenance nightmare, also it means you can write comments explaining what they are used for.
There are very few cases when not assigning an initial value to a variable is a good idea.  The first time you production code crashes on the customer's machine you will appreciate why initialising variables is a good idea.
Rather than calling 4 set functions why not define a constructor that takes for optional parameters?
Rather than letting main() format the output why not write a function that displays the student record in the format that the class dictates.  To make it easier, just right the data to a multi line string.
You should get into the habit of commenting the code better.
Although you don't need to explicitly declare the class members as private it is a good idea to do so, because then someone can add a public function at the top of the class without exposing all your variables.
Its a personal preference but I think the Java style of curly braces {} shouldn't be used in C++.  It makes the code clearer if every { and } is on a separate line.  IMO.
Always include all header files you need, it makes it easier to reuse code because everything you need is there.  (You missed ).
The code should be in 2 files, the class in one and main in another.


`  

#include &lt;string&gt;
#include &lt;iostream&gt;
#include &lt;sstream&gt;

// Enter code for class Student here.
// Read statement for specification.
class Student
{
private:
    int m_age;
    string m_first_name;
    string m_last_name;
    int m_standard;

public:
    Student(const int age, const std::string&amp; fName, const std::string&amp; lName, const int&amp; standard)
        : m_age(age)
        , m_first_name(fName)
        , m_last_name(lName)
        , m_standard(standard)
    {
    }

    int get_age() const
    {
        return m_age;
    }
    std::string get_first_name() const
    {
        return m_first_name;
    }
    std::string get_last_name() const 
    {
        return m_last_name;
    }
    int get_standard() const
    {
        return m_standard;
    }
};

int main() 
{
    int age(-1)
    int standard(-1);
    std::string first_name();
    std::string last_name();
    stringstream ss();

    cin &gt;&gt; age &gt;&gt; first_name &gt;&gt; last_name &gt;&gt; standard;

    Student st(age, first_name, last_name, standard);

    cout &lt;&lt; st.get_age() &lt;&lt; "\n";
    cout &lt;&lt; st.get_last_name() &lt;&lt; ", " &lt;&lt; st.get_first_name() &lt;&lt; "\n";
    cout &lt;&lt; st.get_standard() &lt;&lt; "\n";
    cout &lt;&lt; "\n";

    ss &lt;&lt; st.get_age() &lt;&lt; "," &lt;&lt; st.get_first_name() &lt;&lt; "," &lt;&lt; st.get_last_name() &lt;&lt; "," &lt;&lt; st.get_standard();
    cout &lt;&lt; ss.str() &lt;&lt; endl;

    return 0;
}


`