Can't initialize vector C++
<p>SockeClient.h file</p>

<pre><code>#define SIZE_OF_BUFFER 4096

class SocketClient {

public:
    SocketClient(int cfd);
    virtual ~SocketClient();

    int recv();
    int getFd();

protected:
    int             m_fd;
    char            *m_buffer;
    vector&lt;char&gt;    m_vbuffer;

};
</code></pre>

<p>I was trying to do </p>

<pre><code>vector&lt;char&gt;    m_vbuffer(SIZE_OF_BUFFER);
</code></pre>

<p>And I got a syntax error... How do I initialize the vector with size of 4096.
Thanks in advance</p>
