No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
18 Posted Topics
I've read that one should use cin.get() instead of system("pause"). Why is that? | |
Re: Ok, so your trying to see if a word is a palindrome or not? I notice that in your code you only compare the first and last letter. But really, a palindrome is a word whose letters are in the same order, forward and backward. First lets plan this out. … | |
Hey forum, I've been interested in creating Python scripts to work with iTunes, and I recently learned about the win32com library, and more specifically, win32com.client. My problem is that I lack knowledge of the iTunes.Application properties and methods. I've done multiple Google searches in hopes of finding a knowledge base … | |
Hey guys! I'm requesting constructive criticism on the code that I've written so that I might get a better idea of how to strengthen my code while keeping it short and sweet, or even just pointing out unnecessary things or things that I should have added. My assignment was: [quote]Write … | |
Hey Daniweb Python forumers, I'm guessing that this is a Vista thing, but when I run my wxPython programs in Vista by double-clicking the file, I get errors from the computer saying that "python.exe has stopped working". I also use the IDLE IDE, so when I run the program from … | |
"They also don't allow goto. The problem with the three of them is that they disrupt the flow of the code for someone reading it. You are supposed to put everything into the conditions for the loop. It seems to me that there are times when a few continues or … | |
Hey guys. I'm having an issue with my Dev-C++ IDE where whenever I try to compile my code, I get a " [Linker error] undefined reference to `__cpu_features_init' ld returned 1 exit status " error. Even with simple programs with just sending information to [I]cout[/I] I get this error. Something … | |
Hey, this time I'm back with a threading error! I need to write code that gets the address of a message sender while at the same time letting the user know that the pygame didn't freeze, so I started a thread to keep control of the screen while searching for … | |
I've got an issue with lists right now. I've got 2 lists, Checker1 and Checker2, which check for the Ko rule in my game of Go. However, Checker2 should always be checking the board one turn behind Checker1, which checks the board every turn. That way, the Ko rule can … | |
Hi guys, I have a simple question. I'm trying to import my modules from a different folder (the different folder is in the same place as the the program I'm importing from), but I don't know how. I've looked on Google, but I've had no luck so far. My question … | |
Well, I couldn't think of a better word than online for a title, but I meant allowing others on other computers to connect to a server to play a game. Right now, I need help in planning my "online" game of Go. I'm moderately new to servers and clients (I … | |
Re: I've used Visual Python once before (for about an hour?), but never got the hang of it well. What I have to ask is if Visual Python has some kind of function that automatically updates objects like Pygame does? If so, could just sub-class the box/sphere objects? Otherwise, threading would … | |
Hi there. I'm pretty beginner at functions, and I would like to know if it's possible to have a parameter of a function that takes multiple arguments. Like in Python, you could have [CODE=python] >>> def a(*args): print args >>> a(1, 2, 3, 4, 5, 6) (1, 2, 3, 4, … | |
Hi there. I'm pretty new to the C++ language (came from Python :lol: ) and I was wondering how to create a library. In Python I used to create files with functions that can be used in other programs, and I want to know how to do that in C++. … | |
Re: 'for' loops iterate through a sequence, such as a string or list, and does stuff with it. For example, in your given code [CODE=python] a = ["cat", "window", "defenstrate"] for x in a: print x, len(x)[/CODE] 'for' initiates the loop. The next variable (which happens to be x) after 'for' … | |
Re: Sorry, but could you please be more specific with what your program does? I have no idea what a 'rpn' calculator does, neither what it is. If you could explain what your calculator is supposed to do, I believe I can be of some help =] | |
At the moment, I'm looking for formulas for jumping, falling, accellaration, and de-accellaration (pardon my spelling!). Does anyone have any good formulas for them? Thanks alot! | |
Hi there, Im trying to start learning C++, but I haven't been able to find any compilers for it. Does anyone know any good compilers for C++? Thanks. |
The End.