Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~983 People Reached
Favorite Forums
Favorite Tags
c++ x 8
Member Avatar for man4ish

I am working on STL(map) in shared memory. How can it be implemented. I am successsful in creating the two process process1 : writing a text to the sahred memory process2 : reading the same text from shared memory. But now i am planning to implement the shared memory for …

Member Avatar for kvprajapati
0
168
Member Avatar for man4ish

I have one file with the following tab separated records with four columns.Now I am trying to convert the file into fixed length binary file. How it is possible. in C++. rs149915 29103059 A/G + rs149932 29116347 C/G - rs149933 29123223 C/G - rs149934 29084753 C/T - rs150082 29117038 A/C …

Member Avatar for Danny_501
0
127
Member Avatar for man4ish

How to make map with two kwys. I am using struct. struct Key { char * gi; char * offset; Key(const char * _gi, const char * _offset) { gi = new char [strlen(_gi) + 1]; strcpy(gi, _gi); offset = new char [strlen(_offset) + 1]; strcpy(offset, _offset); } ~Key() { …

Member Avatar for BradenMurphy
0
178
Member Avatar for man4ish

#include <iostream> #include<string> using namespace std; class substr { public: void getsubstr(char* b, char* db) { char* stpos = strstr(db,"gi|"); int pos = db-stpos; char* end = strstr(db,"|ref"); int endpos = abs(db-end); b= new char[endpos-pos+2]; int i=pos+3; for(;i<endpos;i++) { *b++=*(db+i); } *(b+i)='\0'; } }; int main() { substr* s; char* …

Member Avatar for iamthwee
0
79
Member Avatar for man4ish

#include <boost/config.hpp> #include <iostream> #include <vector> #include <utility> #include <string> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/graph_utility.hpp> #include <boost/property_map.hpp> #include "ed.h" #include "ve.h" using namespace boost; using namespace std; class Molecule { map<int,string> m; public: void set_molecule_property(vector<string>& s4) { for (unsigned int i = 1; i <= s4.size(); i++) { m=s4[i-1]; } } …

Member Avatar for Salem
0
150
Member Avatar for man4ish

I am creating a graph using boost library, I am making the network using create_Network function() i am adding the vertices to this graph by creating the object g of class Graph. I am trying to use this object g in the another function get_neighbours() but it is not giving …

Member Avatar for Salem
0
281