Forum: C++ Nov 9th, 2009 |
| Replies: 4 Views: 243 Ahh alright thanks anyway, ill keep working with it when I get rid of some spanish work. |
Forum: C++ Nov 8th, 2009 |
| Replies: 4 Views: 243 #include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int main() {
string names[] = {"Jim", "Rob", "Sam", "Tim"}; |
Forum: Computer Science Oct 13th, 2009 |
| Replies: 8 Views: 470 Yea that would work. Then we could just get a flash drive and paste it all together.We could all work on different functions and then have one guy work on the actual program using the functions that... |
Forum: Computer Science Oct 13th, 2009 |
| Replies: 8 Views: 470 Hey everyone, Ive got a question about team programming. My teacher for Computer Science gave us our first team project last week. The goal was to create a program that calculated how long it took a... |
Forum: C++ Oct 12th, 2008 |
| Replies: 4 Views: 418 I have the following code (as you will see im using the same template as earlier...:$
#include <cstdio>
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int... |
Forum: C++ Oct 12th, 2008 |
| Replies: 4 Views: 507 Thanks for the replies. I believe I get it now. |
Forum: C++ Oct 12th, 2008 |
| Replies: 4 Views: 507 Wow thats a quick reply....3 minutes? Yikes. Anyway what do they do though. Whats an argument??Whats using namespace std mean? |
Forum: C++ Oct 12th, 2008 |
| Replies: 4 Views: 507 Ive began a book to learn c++ and in the first chapter I ran across my first question(thats never good...). In the book it says I should use this same template in every single c++
program I EVER... |
Forum: Perl May 26th, 2008 |
| Replies: 2 Views: 792 Ive been working with perl for a while now and was wondering how and if I could get started in making my perl code do real life things like flip a switch. Any help is appreciated. |
Forum: Perl Apr 24th, 2008 |
| Replies: 4 Views: 1,134 I found the problem thanks for all the help! |
Forum: Perl Apr 23rd, 2008 |
| Replies: 4 Views: 1,134 How do you add to a variable that is inside a foreach loop? Everything I try hasnt worked. |
Forum: Perl Apr 22nd, 2008 |
| Replies: 2 Views: 856 |
Forum: Perl Apr 21st, 2008 |
| Replies: 2 Views: 856 I have #!/usr/bin/perl
@line = <STDIN>;
print @line; and when I hit control D, control c, or even control z it just ends the program. Im on a linux machine. Any help? |
Forum: Perl Mar 27th, 2008 |
| Replies: 2 Views: 1,001 Hey guys. Ive got a problem with a simple hello world script. Im a perl beginner so bear with me. Im running mandriva linux if it matters. Also this file is saved under /home/rysin/documents.
... |
Forum: Python Mar 22nd, 2008 |
| Replies: 1 Views: 467 During my quest to learn pygame I came across a tutorial that was really helping me through. However I came across a piece of code that has confused me. Being that this tutorial has a very vague... |
Forum: Python Mar 22nd, 2008 |
| Replies: 4 Views: 1,417 Thanks Sneekula, I got it now! |
Forum: Python Mar 21st, 2008 |
| Replies: 2 Views: 549 Yes it is possible. In my attempts to learn Pygame I read somewhere that you can use it to make a media player. Im not sure what other methods are available however. |
Forum: Python Mar 21st, 2008 |
| Replies: 4 Views: 1,417 Here they are -= and +=. What do they mean? |
Forum: Python Mar 20th, 2008 |
| Replies: 8 Views: 832 Thanks again leet! If I have questions about pygame can I post em here or do I have to post them in game development... Thanks for all who replied! |
Forum: Python Mar 19th, 2008 |
| Replies: 4 Views: 567 What is eval? And what is "% filename" the percent for? Thanks for the help leet! |
Forum: Python Mar 19th, 2008 |
| Replies: 4 Views: 567 If I have something like this
a = input("Number: ")
b = 2 + a
How do I make the answer of b the name of a file? Thanks! |
Forum: Python Mar 19th, 2008 |
| Replies: 8 Views: 832 Can you explain your code for me please? And if you dont have time to run through all of it can you run me through one of the class's. Like what is a rect? ALthough ive used __init__ before in some... |
Forum: Python Mar 19th, 2008 |
| Replies: 8 Views: 832 Leet, what do you think is the best way to approach pygame from a game making point of view? I used pygame for an app I did not to long ago, and that was my first encounter with it. But that wasnt... |
Forum: Python Mar 18th, 2008 |
| Replies: 10 Views: 2,660 I asked this question to someone back when I was coding my text editor(horrible project). THis is what that person gave me to use.
def count_words(self):
text = self.text.get(1.0, 'end')... |
Forum: Python Mar 18th, 2008 |
| Replies: 8 Views: 832 Hey guys. Ive been coding python for about a year now, and yesterday my older brother,who has no experience in programming at all, asked me when I was going to start programming video games. Is there... |
Forum: Python Mar 9th, 2008 |
| Replies: 5 Views: 1,732 Thanks for the reply. The program I wrote with pygame did certain actions when keys were pressed. When you held control and g down, google opened up. Can you do the same thing with Tkinter? |
Forum: Python Mar 9th, 2008 |
| Replies: 5 Views: 1,732 Turns out Pygame isnt just for games. I wrote this script using it and it does exactly what I wanted it to do! |
Forum: Python Mar 9th, 2008 |
| Replies: 5 Views: 1,732 How would I go about detecting keystrokes on the keyboard? |
Forum: Python Feb 17th, 2008 |
| Replies: 1 Views: 665 I want to make a program that prints how long it has been running. I tried this
import time
b = time.tick()
print b
Even if this did work it wouldnt do what I want it to do. I basically... |
Forum: Python Feb 1st, 2008 |
| Replies: 7 Views: 846 YES! After many many hours(3 to be exact!) of debugging I found the problem. It was actually later in the program! Thanks to all who helped! |
Forum: Python Feb 1st, 2008 |
| Replies: 7 Views: 846 THis is what I got
>>>
>>>
It just skipped to a new line |
Forum: Python Feb 1st, 2008 |
| Replies: 7 Views: 846 No it doesnt haha! What do you think is wrong with it? IM on a compaq computer... do I put that in the path name? |
Forum: Python Feb 1st, 2008 |
| Replies: 9 Views: 1,439 Post your code, I would like to see how you did this. |
Forum: Python Feb 1st, 2008 |
| Replies: 7 Views: 846 In my file name i mispelled background and spelled it backround. I was to lazy to fix it so its still backroundorb.jpeg |
Forum: Python Feb 1st, 2008 |
| Replies: 9 Views: 1,439 I think hes talking like a key logger. He probably wants to make it so that when a key is pressed it sends what key to his email or something. There can be honorable and dishonorable uses for this.... |
Forum: Python Feb 1st, 2008 |
| Replies: 7 Views: 846 Hey guys, recently I started playing around with pygame. Right now im making a little orb move when you hit a key. But its stuck with the image loading!
background_image_filename =... |
Forum: Python Jan 10th, 2008 |
| Replies: 6 Views: 917 I need a little help understanding how im going to do this. How am I gonna get the information that a user sends to the bot to the server program and how am I gonna get the info I wanna send to the... |
Forum: Python Jan 10th, 2008 |
| Replies: 6 Views: 917 Thanks for the help! Im going to begin reading those documents now. If I have a question I shall post it. |
Forum: Python Jan 10th, 2008 |
| Replies: 6 Views: 917 I just want it to be able to talk to other users. If someone says "hi", I want to say high back. |
Forum: Game Development Jan 8th, 2008 |
| Replies: 1 Views: 1,313 Can someone explain to me exactly what a game editor does. How do you incorporate the game script into the editor, and how exactly would you go about scripting one? Thanks |