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
~2K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags

11 Posted Topics

Member Avatar for jgehlot09

I am trying to grab the string/object from the treeview. So when a user click on any item in the treeview, I can show it on the terminal. ANy help is appreciated.Here is the code. QtCore.QObject.connect(self.treeWidget, QtCore.SIGNAL("clicked(QModelIndex)"), self.treefunction) def treefunction(self, index): print index Output on clicking the item in treeview …

Member Avatar for jgehlot09
0
745
Member Avatar for jgehlot09

I want to generate 1billion random integer with no duplication, I dont know how do I allocate memory for such a huge amount of data.

Member Avatar for Adak
0
127
Member Avatar for jgehlot09

I am writing a simple code in c to extract the values from string for ex-P23V32 gives me output of 23*32. But when I am trying to use the isalpha() and isdigit() to check whether the value is a charecter or a digit, the compiler return always zero. Here is …

Member Avatar for jephthah
0
217
Member Avatar for jgehlot09

I am compiling the code with icpc command and I want to change the color of specific text in the program. How can I do that?

Member Avatar for jephthah
0
90
Member Avatar for jgehlot09

I am trying to write an function, which takes an string as input and do something and return the strings. Here Is a small try from my side. [CODE] #include<stdio.h> char algo(char n) { char result[15]; if(n=='1' || n=='2' || n=='3' || n=='4' || n=='5' || n=='6') { result = …

Member Avatar for Adak
0
108
Member Avatar for jgehlot09

I have a file name fun.c contain the fuction to add two number (addnum(a,b)).Now I create another file name callfunc.c.Here I want to call the function (addnum(a,b)) from the file fun.c. How can I do that?.

Member Avatar for jephthah
0
239
Member Avatar for jgehlot09

Below is the code, when it run shows a combination of back-slash and forward slash and by putting them together and printing them shows a stick rotating. The problem is that it is only rotating at a same position I want to move it back and forth in a line. …

Member Avatar for MyrtleTurtle
0
126
Member Avatar for jgehlot09

I want to create a function in which a text printed just shown for 1 sec then flush and then a new text appear.. basically the purpose is to create a loader...which appers when the data is manipulating..it will show like this. \|/.....when it moves fast ..it looks like a …

Member Avatar for Ancient Dragon
0
72
Member Avatar for jgehlot09

Hello I am new to python...I met with this simple problem [CODE] def search(path,filename,extension): name=' ' listdir=os.listdir(path) print listdir flname=filename+'.'+extension i=0 match='' while(i<len(listdir)): if(listdir[i]==flname): match='YES' print 'got the match' break i=i+1 if(match=='YES'): assign(filename) else: name = filename+'.'+extension print 'the filename is',name return name lets_text=search(path,filename,extension) print 'the name we gt is',lets_text …

Member Avatar for woooee
0
163
Member Avatar for jgehlot09

I am new to python . The QList widget contain the list of files in a directory ...I want to select the name of the file and store it in a variablle.....How can i do that?...

Member Avatar for scru
0
119
Member Avatar for jgehlot09

I m trying to sending the data over TCP/IP by segmenting it into different sizes ....with 10KB and 100KB the data is tranferring perfectly but when I segment it to 500KB ..it transfer sometime perfectly and sometime it failed by giving error socket.error: [Errno 104] Connection reset by peer

Member Avatar for Tech B
0
113

The End.