Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~39.5K People Reached
About Me

s/w engineer

Interests
listening to music
Favorite Tags
c++ x 22
c x 12
perl x 4
php x 2

17 Posted Topics

Member Avatar for karthik.c

hi guys, im trying to do map in cpp using STL and when i ran a simple program it was showing error that: error: nomatchfor'operator<<'in'std::cout<<(&mp0_iter)->std::_Rb_tree_iterator<_Tp>::operator* [with _Tp = std::pair<const int, int>]()'.... my program was like this: [code=c++] #include<map.h> #include<iostream.h> int main() { map<int,int>::iterator mp0_iter; map<int,int>mp0; map<int,int>mp1; mp1.insert(1,13); mp1.insert(2,16); mp1.insert(3,17); for(mp0_iter=mp1.begin();mp0_iter!=mp1.end();mp0_iter++) …

Member Avatar for alvinyang
0
499
Member Avatar for karthik.c

hi, im getting recv:bad address error in the server code when im receiving the data from the client.i tried passing the structure and an integer alone ,but for both i got the same error. for structures: client: [code=c++] struct Data { char data1[255]; char data2[255]; int val1; }; struct Data …

Member Avatar for programmersbook
0
3K
Member Avatar for karthik.c

hi guys im tryin to do a java client / c++ server socket program .in the java client program i serialize the object and pass them over socket to c++ server.now when im gettin them in c++,im not able to deserialize it properly as i tried for binary serialization since …

Member Avatar for ejosiah
0
600
Member Avatar for karthik.c

hi guys ,im trying to send serialized php object to c++ server. i dont have clear idea if it is possible to deserialize the php object in c++ code.i dont know how to convert it into c++ object and get the value out of it. when im running the server …

Member Avatar for karthik.c
0
1K
Member Avatar for karthik.c

hi ,when im trying to insert key-value pair in map(key-char array field of a structure,value-entire structure)im having errors . NDBAPI/TGBitsNdbApi.cpp: In function `int get_map(Ndb*, char*, char*, void*, void*)': NDBAPI/TGBitsNdbApi.cpp:154: error: request for member `Msisdn' in `structPtr', which is of non-class type `void*' NDBAPI/TGBitsNdbApi.cpp:156: error: `void*' is not a pointer-to-object type …

Member Avatar for karthik.c
0
2K
Member Avatar for rob lloyd

[QUOTE=vmanes;859929]Partition Magic is another good tool for this. $$[/QUOTE] i've tried partition magic s/w for resizing the hard drive space(which contained datas) which i already created and and it worked fine .The only problem is that it names the drive by itself i.e it gives D: for CD/DVD drive by …

Member Avatar for rob lloyd
0
138
Member Avatar for karthik.c

hi guys im trying to code patricia trie in c using gcc and when i debuged the program im gettin segmentation stack problem in search function of it.im not sure why it is showing and i've included pat.c,pat.h and ncspatricia.h files. i also want to know what is the difference …

Member Avatar for karthik.c
1
150
Member Avatar for tasosa

if you are programming in linux ,then debug the program using gdb or some other debugger and find out where segementation fault problem is occuring.

Member Avatar for Ancient Dragon
0
165
Member Avatar for fadia

@above code-there is no need to put any open/close paranthesis iniside each case statements...

Member Avatar for karthik.c
0
127
Member Avatar for karthik.c

hi guys im trying to write a makefile which contains :two cpp files and two header files. now i've put cppfiles in a folder called source whose path is: /root/workspace/source and header files in a folder called header whose path is: /root/workspace/makedemo/header my makefile is in the path:/root/workspace/makedemo my makefile …

Member Avatar for karthik.c
0
155
Member Avatar for karthik.c

hi guys i've problem in tcp:client/server program when i run it: this program is to print the contents of a file in other m/c connected to LAN im sure that i've given the correct IPAdress,and also path of the file in other m/c but still its not printing the contents …

Member Avatar for Ancient Dragon
0
181
Member Avatar for karthik.c

hi guys ,im new to perl programming and when i programmed tcp client-server coding in perl i encountered some problem saying : Can't locate socket.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-...) i tried this in linux-centos and version of perl im using is: v5.8.5 my program was like this: tcp-server: [code=perl] …

Member Avatar for karthik.c
0
185
Member Avatar for karthik.c

Hi guys ,i came across coding in a book where they given the below program and named it as singleton class.but here we are able to create 2nd object and also call constructor for second object (only here do we check the status of count and exit from the program …

Member Avatar for ArkM
0
103
Member Avatar for karthik.c

i want to print string(given as input) as number(o/p) and i did it in c using switch case .i want to do the same in python... wat if python provides switch case??n do we have equivalent of it in python?? Examle: input:three hundred and fifty(string) output:350(number)

Member Avatar for karthik.c
0
92
Member Avatar for karthik.c
Member Avatar for scru
0
20K
Member Avatar for karthik.c

hi guys wat if List is equivalent 2 Arrays in c or do we have Arrays seperately defined in python??

Member Avatar for karthik.c
0
185
Member Avatar for curiouskitten

hi guys i tried out wat u said but its showing error:name error my code was like this: first=input("Enter a sentence :\n") second="" vowels='aeiou' for i in first: if i in vowels: second=second+i.upper() else : second=second+i print second i've one more doubt about assigning the value of vowel i.e what …

Member Avatar for Ene Uran
0
11K

The End.