Search Results

Showing results 1 to 40 of 41
Search took 0.02 seconds.
Search: Posts Made By: rysin
Forum: C++ Nov 9th, 2009
Replies: 4
Views: 243
Posted By rysin
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
Posted By rysin
#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
Posted By rysin
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
Posted By rysin
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
Posted By rysin
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
Posted By rysin
Thanks for the replies. I believe I get it now.
Forum: C++ Oct 12th, 2008
Replies: 4
Views: 507
Posted By rysin
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
Posted By rysin
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
Posted By rysin
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
Solved: Program Problem
Views: 1,134
Posted By rysin
I found the problem thanks for all the help!
Forum: Perl Apr 23rd, 2008
Replies: 4
Solved: Program Problem
Views: 1,134
Posted By rysin
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
Posted By rysin
Control D. Thanks kath.
Forum: Perl Apr 21st, 2008
Replies: 2
Views: 856
Posted By rysin
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
Solved: Perl problem
Views: 1,001
Posted By rysin
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
Posted By rysin
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
Posted By rysin
Thanks Sneekula, I got it now!
Forum: Python Mar 21st, 2008
Replies: 2
Views: 549
Posted By rysin
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
Posted By rysin
Here they are -= and +=. What do they mean?
Forum: Python Mar 20th, 2008
Replies: 8
Views: 832
Posted By rysin
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
Posted By rysin
What is eval? And what is "% filename" the percent for? Thanks for the help leet!
Forum: Python Mar 19th, 2008
Replies: 4
Views: 567
Posted By rysin
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
Posted By rysin
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
Posted By rysin
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
Posted By rysin
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
Posted By rysin
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
Posted By rysin
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
Posted By rysin
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
Posted By rysin
How would I go about detecting keystrokes on the keyboard?
Forum: Python Feb 17th, 2008
Replies: 1
Views: 665
Posted By rysin
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
Posted By rysin
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
Posted By rysin
THis is what I got

>>>
>>>
It just skipped to a new line
Forum: Python Feb 1st, 2008
Replies: 7
Views: 846
Posted By rysin
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
Posted By rysin
Post your code, I would like to see how you did this.
Forum: Python Feb 1st, 2008
Replies: 7
Views: 846
Posted By rysin
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
Posted By rysin
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
Posted By rysin
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
Posted By rysin
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
Posted By rysin
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
Posted By rysin
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
Posted By rysin
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
Showing results 1 to 40 of 41

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC