Skip to content

Instantly share code, notes, and snippets.

View yaswanth1701's full-sized avatar
🎯
Focusing

Yaswanth yaswanth1701

🎯
Focusing
  • Addverb
  • Noida, India
  • 19:19 (UTC +05:30)
View GitHub Profile
@shenfeng
shenfeng / gist:4016355
Created November 5, 2012 09:45
serialize/deserialize vector<string>
#include <iostream>
#include <vector>
using namespace std;
char* serialize(vector<string> &v, unsigned int *count) {
unsigned int total_count = 0;
for(int i = 0; i < v.size(); i++ ) {