Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
80% Quality Score
Upvotes Received
10
Posts with Upvotes
7
Upvoting Members
8
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
~79.1K People Reached
Favorite Tags

113 Posted Topics

Member Avatar for vegaseat

These practices are very very nice. But could you please provide the best answers too?? By best I mean, the way that it is easiest and most efficient to do it with Python. Editor: People need to actually work out these projects to best learn Python or programing in general. …

Member Avatar for vegaseat
20
18K
Member Avatar for knan

I'm sorry to tell you that, Dictionaries are not meant to be sorted. There are some tricks though, but I suggest you to use lists or tuples.

Member Avatar for grantjenks
0
812
Member Avatar for group256

Hi, I'm trying to output a list of dvd titles along with some of their details. The problem is that it seems I can't get them aligned all pretty well. So I upload the screen shot as well as the code generating it. Please help me out here. This is …

Member Avatar for niario
0
15K
Member Avatar for group256

Hi everyone, I have the implementation for a linked-list based Stack. I believe the entire code is correct, but only the way I call the push and pop function mighe be wrong. Any idea how they should be called? Mine returns garbage: #include <iostream> using namespace std; typedef struct Elements …

Member Avatar for deceptikon
0
284
Member Avatar for Florinmoc

I agree with both other guys, but remember one thing. Talent is something that helps you progress faster but it doesn't mean that will stop you from being a good programmer. Not everyone can have natural talent of Michael Shumacher, but it doesn't mean rest of us should stop driving …

Member Avatar for florin.mocanu.501
0
221
Member Avatar for PM312

How old is your Windows? And by the way, does it randomly happen or when you for example are running CPU/GPU intensive tasks?

Member Avatar for PM312
0
197
Member Avatar for Gus_19

I personally never check for existance of the file since at least the languages I use (C/C++/Java/Python) create the file as soon as you issue "writre" to stream. If you want to keep the content of the file and add to it, then use append. Append also creates the file …

Member Avatar for group256
0
122
Member Avatar for group256

I have an apache server running on Ubuntu server and I've plugged all my external hard disks to it and mounted them so I can access my files using apache file and folder listing. It's good enough for browsing through files and folders, but it's not efficient because I can't …

Member Avatar for tzakuk
0
169
Member Avatar for Richard0

First suggestion: Use switch instead of all those ifs,else ifs... Second suggestion: Don't use system! Third suggestion: Show what you have done so far for delete and why you have failed to finish it, and we'll definitely help you.

Member Avatar for group256
0
111
Member Avatar for group256

Hello everyone, I have to code an array that in each row, it has 16 columns! So I called it myself a 17 dimensional array but I was wondering what data sturcture in Python can best represent this keeping in mind that, it should be easily addressable and modifible. For …

Member Avatar for group256
0
180
Member Avatar for group256

Dear experts in Python, I have written a binary search method that receives a list of float and one new float item. It needs to look for the proper index for that item to be placed and return that index. To make it simple, I give an example: imagine a …

Member Avatar for group256
0
183
Member Avatar for group256

Dear everyone, I'm trying to implement something like gmail conversational view and the way I've designed it is that I store "subject" of the mail + other parties email address (in case you send, other party is recipient, and in case of receiving, sender is the other party). What I …

Member Avatar for group256
0
173
Member Avatar for Utsav Chokshi

I don't know why you need to know your compilation time but it's not that hard to perform. But in general as you compile once and you always in most cases running time is crucial to programmers not the compilation time. As for running time that I think what you …

Member Avatar for group256
0
103
Member Avatar for geekme

There are a lot of editors (many many of them) for C. But I personally use either "Eclipse" or "Vim" editors. Eclipse is actaully an IDE but Vim is an editor. You can also configure Vim in linux to compile your program. Both are amazing editors.

Member Avatar for chrjs
0
96
Member Avatar for roseworld

How much do you know about openCV?? Because this is not that easy to be accomplished yet not that hard either, but don't expect to do it quickly. One more thing, one camera mostly suffices to do face recognition, can you explain why you need to use two cameras???

Member Avatar for roseworld
0
187
Member Avatar for crv_great

if you are using C++, you don't need the .h at the end of some of your libraries. Get rid of ".h" at the end of fstream.h and iostream.h. I'm not sure about dos.h and process.h as I believe they are avaialable only under Windows.

Member Avatar for group256
-1
2K
Member Avatar for rusl07cl08
Member Avatar for stevanity

This is called cheating dude!! You'd better use your brain and solve it.

Member Avatar for stevanity
-3
94
Member Avatar for sirlink99

Can you state what part is your problem. I couldn't run your code unfortunately.

Member Avatar for sirlink99
0
118
Member Avatar for Martje
Member Avatar for Martje
0
94
Member Avatar for skaliam

You need to modify your design to avoid complication, somehow, I wrote a code that does what you want. [CODE]import csv import sys ifile = open('trainingSet1.csv', "rb") f = open('train', "wb") reader = csv.reader(ifile) last = '' myString = '' for row in reader: num = 1 for col in …

Member Avatar for TrustyTony
0
203
Member Avatar for vbx_wx

I'm interested to know this too. I guess there should be something related to Javascript as most of the times, pop ups are generated by Javascript.

Member Avatar for group256
0
72
Member Avatar for qingmui
Member Avatar for vegaseat
0
780
Member Avatar for seanbp

I am not quite sure in general if exists any automatic locking mechanism, but in this case, as far as I can see there is no locking, not automatic nor manual.

Member Avatar for griswolf
0
95
Member Avatar for thekitoper
Member Avatar for thekitoper
0
1K
Member Avatar for efregoso

[CODE]fp = open(filename, "r") #"r" means open in read mode[/CODE] for converting your string to integer: Let's say I have a string "test" with the coordinates: [CODE]test = '20, 10, -5' num1, num2, num3 = test.split(',') print int(num1.strip(' ')) print int(num2.strip(' ')) print int(num3.strip(' ')) [/CODE]

Member Avatar for TrustyTony
0
183
Member Avatar for brianmitchell

You are saying that you don't want to use loops(while, for), then why are you using it yourself?? If you don't use loops, it would make the code large, and dependent to the size of the items you are trying to sort.

Member Avatar for seanbp
0
209
Member Avatar for Blackberryy

Where did you get the module graphics from?? I don't have it on my default list of libraries.

Member Avatar for Blackberryy
0
121
Member Avatar for NVR_@!2107

Please study about C++ standard libraries and namespaces. Your code should be changed to: [CODE] #include <iostream> using namespace std; int main() { for(int i = 1; i < 100; i += 2) //You were missing i here { cout << i << endl; } return 0; //End Statement. } …

Member Avatar for group256
0
110
Member Avatar for Sykee

Could you please post your code, cause I don't know about the modules you mentioned, maybe at least I could find some errors inside the code.

Member Avatar for group256
0
258
Member Avatar for ScreamingPsycho

Change line 42, 43 to: [CODE]for(i=0;i<=25;i++) letterDisplay[i]=char(i+65);// letterDisplay is formed[/CODE]

Member Avatar for ScreamingPsycho
0
166
Member Avatar for Toxic_Rice

You can ignore the warning. For line 85, TRUE should be in lower case ----> [CODE]if (isFull() == true)//Lower case!![/CODE]

Member Avatar for Toxic_Rice
0
237
Member Avatar for Alerwiali

I don't know what you are doing in your code, cause I just know it gets stuck in the first "while" loop as I can see, but I have a suggestion for you. My idea is, make an integer array which its size is the number of ascii characters you …

Member Avatar for Shankye
0
164
Member Avatar for testie

Your code seems fine, but I have a question, how do you realize whether or not the spaces are still there when you print it????

Member Avatar for richieking
0
105
Member Avatar for Rickay

Your question is not clear enough. I don't understand if you want to prompt the user and if after 5 seconds user didn't enter anything, program would say "too late" or you want the program to say "too late" after 5 seconds users entered the key. If you want the …

Member Avatar for Rickay
0
231
Member Avatar for incubus9x9

Please use google, there are very good explanation and examples online. I also have noticed there are very good videos available on Youtube regarding sorting.

Member Avatar for group256
0
132
Member Avatar for hobokook
Member Avatar for kafro

[CODE]fp = open('text.txt', 'r') t = () data = [] line = fp.readline() while len(line) != 0: e1, e2, e3 = line.split(',') t = e1, e2, e3.rstrip() data.append(t) line = fp.readline() fp.close() print data [/CODE] Remember, you can't add or delete from tuple!!!!

Member Avatar for group256
0
219
Member Avatar for suger
Member Avatar for Unidennn
Member Avatar for Adak
0
202
Member Avatar for jems

Please remember that it is not a necessity for both fans to be running all the time. Most of the time, one fan is for the CPU and the other is for the graphic card. So if you are not playing games or doing anything that can stress the graphic …

Member Avatar for group256
0
119
Member Avatar for selsium

you should say [CODE]javac Hello.java // You forgot the extension[/CODE] By the way, your post is not formatted at all, makes it hard to understand and reply.

Member Avatar for selsium
0
117
Member Avatar for dnambembe

If you mean why it doesn't run, the answer is because it's a class implementation and you need to have another program to use this class. You don't even have main function, so how do you expect this code to run in the first place????

Member Avatar for dnambembe
0
128
Member Avatar for samaniac

There are so many C++ book out there, countless!!! Look in amazon for good ones, those that have high ranking and large number of readers. I had a glance at [URL="http://www.amazon.com/Beginners-Guide-Second-Herbert-Schildt/dp/0072232153/ref=ntt_at_ep_dpi_5"]this book[/URL], seemed good for a beginner. Most famous online references for C++ that I know: [url]http://www.cplusplus.com/[/url] [url]http://www.cppreference.com/wiki/[/url]

Member Avatar for vijayan121
0
241
Member Avatar for ace8957

First of all, thank you for your easy to read explanation and providing all the code and information needed. Your problem is that you should send the address of your "b" value if you don't want to return anything from your function(Let me know if you still need more information …

Member Avatar for ace8957
1
7K
Member Avatar for plasticfood

The pointer I can give you is most of programming languages I know, have NO method to modify the content of a file. However, You can copy line by line from a file to another and make your modification in between. Say, in your case, you read the first line, …

Member Avatar for plasticfood
0
114
Member Avatar for ronan269

I am pretty sure you do know this, but Java is probably one of the few languages that the name of file that you wrote your program in is related to the code inside it. To provide an example, in your case, the name of the file should be reverse.java. …

Member Avatar for Abdel_eid
0
312
Member Avatar for shinsengumi
Member Avatar for glenc70

I do have some rough ideas, but first of all, tell us detailed information about both processors. I'm not interested in graphic cards or ram(they really don't matter is this case), just about the CPUs.

Member Avatar for glenc70
0
171
Member Avatar for shinsengumi

please take a look at [URL="http://randu.org/tutorials/threads/"]this website[/URL]. The concept you are using here is not quite right. You don't need to define 2 separate functions to take care of your task. So your general design should be like, create a function which gets the your link address(ex: [url]www.yahoo.com[/url]) as a …

Member Avatar for sree_ec
0
923

The End.