- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
14 Posted Topics
Hey everyone. I'm new to Python and Django, and I've been trying to get Django up and running for over 10 hours now. I've scoured the web, but with very little good documentation available, I thought I'd ask others for help. I'm trying to write a program which will connect … | |
Hi, I'm pretty new to ColdFusion, and I was wondering if someone could give me a little help. I'm getting the following CF error: **Incorrect parameter count in the call to native function 'DATE_FORMAT'** Here's the code that's producing it. <cfquery name="qryGetDateName" datasource="DATABASE" result="RESULT"> SELECT DATE_FORMAT(Events.event_date,"%W") AS "Date" FROM Events … | |
Hi everyone. I'm teaching myself Android and it's been nothing but trouble. I'm having difficulty even doing some of the simplest tasks. Anyways, I've created a login screen, and when the user presses "OK", I want to switch activities, but it's not working. Here're my Logcat erros: 10-26 10:24:23.779: E/Trace(952): … | |
Hello, I'm following along Riemer's tutorial for terrain generation and I have my program working, but about 15 seconds after running the program, I get a an error that says, "Win32 Exception was unhandled. The operation completed successfully" Here is my code. [code=c#] using System; using System.Collections.Generic; using System.Linq; using … | |
Hello everyone! I'm making a game where players build walls and move their pieces to try to be the first player to reach their target square. Essentially, it's a checkerboard, and players can build walls on the segments between adjacent squares to impede their opponents' movement. The one catch is … | |
Hello. I can't seem to figure out why the following code is producing a NullReferenceException. I have checked, and have confirmed that the arrays are in fact not null, all of the elements contain data. So why does VS think something's null? Thanks for your help. // This line produces … | |
Hello all! I'd like some help with some code to fade in and out banner images on my website. Basically, the idea is that every 10 seconds, the image will fade out as another image fades in. The way I am trying to accomplish this is by changing the opacity … | |
Re: You could also look into XNA, which uses Microsoft's C# language. It's very similar to Java and C++. | |
Simple question: Is having multiple 'ref' parameters allowed in the same method? For example, [code=c#] private void RouletteSelection(ref Chromosome child1, ref Chromosome child2) { ... ... ... } [/code] I'm not getting any compiler or runtime errors, but the output I'm getting suggests there may be a problem with this … | |
Can someone please help me? I'm getting an exception: Given final block not properly padded. I can't figure out what I'm doing wrong. Shouldn't Java automatically pad the data for me? [CODE] import java.security.*; import java.io.*; import javax.crypto.*; public class AES { static String fileName = "javaEncrypted.dat"; static File inputFile … | |
Hello, I'm getting a segmentation fault in my code, at the IF statement. Can anyone tell me why? The printf() statement right before outputs the correct data, so *buffer definitely isn't null. Thanks for your help. [CODE]int main(int argc, char *argv[]) { FILE *inputFile, *rejects; char hold[200], hold2[30], *buffer = … | |
Hello. Can someone please tell me what happens when you cast a large number to a char? For example: [CODE=C] char string[8]; int num = 2040; string[0] = (char) num; [/CODE] I'm working my way through a larger program to figure out what it does, but I'm not sure how … | |
Hello all! I thought I was finally getting good at this "Java" thing, and then someone suggests to me that I use a singleton and factory class. I'd never heard of these before so I set off googling it. Now, I get the gist of singleton and factory classes, but … | |
I'm trying to create my own little collection of code that I can basically copy and paste into programs as I need them, but it seems to be causing some problems. After importing a LinkedList class and a Node class into Netbeans and then changing the constructors a little bit, … |
The End.