average calculation with hundredths of seconds?
Hi guys i'm trying to get the average of two times. In other words I have two times in minutes:seconds:hundredths_of_seconds and i'm trying to get the average of these times but i just cant seem to get...
View ArticleGet Apache rewritten URL
I've got a problem with my site due to an SEO mod I installed for my forums software, which generates a long set of RewriteRules for .htaccess. By and large, the site is fine, but if I navigate to a...
View ArticleQuestion about searching for value in databse using vb.net
I'm trying to create a login that will take the users email from the login textbox and find it in the login table of my database. The issue I have is that the login table has two different email types...
View ArticleFilling a 2d array with preset characters using loops?
Does anyone know how to fill this 2d array with a loop?? String s = "AABBCCDDEEFF" String input[][]; input = new String [4][3]; input [0][0]= s.substring(0, 1); input [0][1]= s.substring(1, 2); input...
View Article3D Arrays on Hangman game - java
public static String getWords(String cat, String diff) { Random generator = new Random(); String name = ""; String topic[][][] = new String[3][3][3]; while(cat.equalsIgnoreCase("places")){ if(diff ==...
View ArticleComing up with Classes - Program Design
I've always been fairly weak in coming up with class design and program design. I usually start programming and if I find something I'm using often I think, "Hmm, that would be good to implement as a...
View ArticleProblem. How do you create new files in a file.
This question has been bothering me for a while and I have not found any concrete examples or helpful answers as to do this. Currently, I am making a program that does very simple file manipulation. I...
View ArticleMaking a 3D Box That Doesn't Need to Be Visualized
I have a problem that I have been working on for some time. I need something that will follow the guidelines that were given to me by a d.i.c. member. I'm having issues with Point3d and portability so...
View ArticlePython Roguelike Help - Making Circular Rooms
Hi there! I've been making games for a while with free non-programmy tools (Construct and the like) and wanted to move to programming, but NOT right into C++ since I don't have any experience and want...
View ArticleError 18 Only assignment, call, increment, decrement, and new object e
Hi, I'm trying to check if the row and column are within the bounds of the rectangular array. If they are within the bounds, it returns what is at the board at position row, column. I can' return what...
View ArticleWrite a function that takes 3 10x10 arrays as arguments. Store the mat
I just need somebody or people to guide me in starting this whole thing. One thing I'm not sure of, and am drawing a blank, is when it says take them as arguments and everything else. Any help would be...
View ArticleMemory not being freed as expected when using pointers
Hello everyone, I am trying to write a template class but I get a memory leak. The class is as follows: template <class T> class Cvector{ public: Cvector(){//pass initial parameters...
View ArticleShell Script to navigate sub-directories and move directories
Hi guys, I currently have a Ubuntu Server set up that I'm using as a media server. I have movies and music that transfer over to the server in a general "downloads" folder. Then I move the folders over...
View ArticleCryptarithmetic Problem
I'm given the assignment following this sentence, and I'm pretty sure I did it right however when I run the program I get nothing. You'll see my code as well: In cryptarithmetic puzzles, mathematical...
View ArticleGridview UpdateCommand Question
Is there a way to input two update queries for the gridview UpdateCommand? I used an inner join for gridview so that I would be able to show all of the pertinent information about the Administrator...
View Articleprintf() and Increament Operator in C
Hello, I have following code snippet #include <stdio.h> int main(int argc, char *argv[]) { int i=5; printf("%d %d %d %d %d\n",i++,i--,++i,--i,i); return 0; } When i calculated on my own i have...
View ArticleWhy does this not count the letter chosen.
So I'm jus tplaying around with arrays trying to get used to them. I decided to create a program that instead of counting the say, a's of text in a rich text box it will count the number of times any...
View ArticleI am having problems with this program i have written
[Private Sub sendmail_Click(ByVal sender As Object, ByVal e As System.EventArgs)] [Dim from As String] [Dim recipient As String] [Dim bcc As String] [bcc = bcc.ToString] [Dim cc As String] [cc =...
View ArticleDynamic Object Creation
Normally I would create an object using operator=, as such: docbook::db5::CsimplesectType pf_ss = pf.simplesect.append(); However, I have the need to create multiple instances of the object. e.g:...
View Articlecheck for a condition before calling a process (info inside)
Hey everyone. It's my first question here. I have to simulate deadlock and then solve it. I did the simulating part by calling 3 process to lock text files. but in order to solve the deadlock, i need...
View Article