I'm having some issues with my BSP Dungeon Generation and I'm not sure why! I'd greatly appreciate the help :) Occasionally I'll get an IllegalArgumentException in RandomHelper. That may help, but it's not the issue because it only happens rarely. As you can see, [this image](http://puu.sh/nb9Ir/70efbe5e81.png) shows that the Rooms are not in the right positions, and sometimes not even the right size! It should also be spliting each leaf 4 times, but it only splits the room into 2 leafs, then stops. [Here's](http://www.roguebasin.com/index.php?title=Basic_BSP_Dungeon_generation) a link to help understand what I'm trying to accomplish. And, all the relavent code: **BSPDungeon.java** …

Member Avatar
Member Avatar
+0 forum 5

I want to do a /home search and remove for files named error_log that are over 5mb I use this now but it doesn't factor space: find /home -type f -name error_log -exec rm -f {} \; Any idea how to add the 5 mb limit here? Thanks!

Member Avatar
Member Avatar
+0 forum 3

Hi everyone. I have a very simple question to which apparently there is no easy solution (I googled a bit but haven't found any yet). How can I force Visul Studio 2013 to install on a different drive so that it doesn't eat up my C: space? In our company we are using virtual PCs for development which are provided by a 3rd party. Those machines are provided as standard packages and it's not possible to modify them. The C: drive comes with 40GB and there's nothing we can do to extend it. We want to upgrade from VS2005 to …

Member Avatar
Member Avatar
+0 forum 4

i've stored a line into string `$output='01/07/201521/08/201691754.0';` i want split the line as three different words & store into variables var1 var2 and var3. eg: var1=01/07/2015 var2=21/08/2016 var3=91754.0 hope someone will fix this issue.

Member Avatar
Member Avatar
+0 forum 8

How do the numbers in a matrix relate to coordinates in 3D space. I've looked at a ton of tutorials for an answer but I still haven't come to an answer. They explain mainly the math which I try to use to answer my question, but I can't come to a conclusion I'm sure of. If I needed to apply a transformation matrix to the vertices of a model, I'd be held completely at how the matrix values correspond to x, y, and z locations.

Member Avatar
Member Avatar
+0 forum 2

I use vb.net 2012 with Crystal reports I have a report with two database fields : streetname (char 25) and house number (char 10) waterstreet 12a walkingstreet 2544 But if i print the report it looks like this: waterstreet 12a walkingstreet 2544 But i want no only space(1) between streetname and house number.See below: waterstreet 12a walkingstreet 2544 Can i use trim function? Thanks,

Member Avatar
Member Avatar
+0 forum 1

Hello i have a little problem with writing the words in the database, after some space between the words the database can't remember it, thats why because the link eg. ( /some_file.php?search=something%20wierd ) that "%20" its the space between the words but from my mobile application when ill type space doesnt write it into the database... what should i do ? :/ Also i want to give message "You are not connected to the Internet" if is true... public static String sendSearch(String search) throws Exception { URL url = new URL("http://secretchatsk.host56.com/some_file.php?search="+search); URLConnection conn = url.openConnection(); InputStream stream = new BufferedInputStream(conn.getInputStream()); …

Member Avatar
Member Avatar
+0 forum 18

I have no clue to why this isn't working but when I try creating a shell path variable in `/etc/bash.bashrc`. This is my variable `SCHOOL="/home/stephen/Steve's\ Stuff/School"` When I type `$SCHOOL` into the terminal I get `bash: cd: /home/stephen/Steve's\: No such file or directory`

Member Avatar
Member Avatar
+0 forum 1

When I started to compile this list I did not think there would be very many "Space Sandbox" games out there - boy was I wrong ! Here is a list of all the space building / sandbox games that I know of - If I missed any, let me know ! [List of Space Sandbox Games](http://www.gamedev.net/topic/652029-space-ship-building-simulation-games-wow/)

Member Avatar
+0 forum 0

Here is the code for GUI in C++, http://facebook.com/muhammadmuzzammil1998 Tested in Code::Blocks hope it will help you :) #include <windows.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class name into a global variable */ char szClassName[ ] = "CodeBlocksWindowsApp"; int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nCmdShow) { HWND hwnd; /* This is the handle for our window */ MSG messages; /* Here messages to the application are saved */ WNDCLASSEX wincl; /* Data structure for the windowclass */ /* The Window structure */ wincl.hInstance = hThisInstance; wincl.lpszClassName = …

Member Avatar
+0 forum 0

xhi, my task is to make a script, which displays the string read from console input in the form of 1 letters / line only. my code looks like this so far read string hossz=`expr length "$string"` for i in `seq 1 $hossz` do echo `expr substr $string $i 1` done my problem is that if the string contains spaces, i only get a bunch of expr syntax errors, else its working correctly. i tried using the tr command to change the spaces into "\n" but i failed to do that too :(. also tried googleing but i couldnt find …

Member Avatar
Member Avatar
+0 forum 2

this keeps popping up in a separate tabe in Google Chrome. Yesterday, it had a cartoon picture of a curvaceous woman with brown skin and blond hair whose teeth were being extracted with a pliers. Underneath the pliers was the caption: "Belief"

Member Avatar
Member Avatar
+0 forum 5

Hello Community, I was wondering if there is a way to limit users on how many database entries they can insert then once they have reached 100 (Max entried) entries it will delete old entries. So if the user has reached 100 entried and they try to insert another entry it will delete and old entry to make room for there entry.

Member Avatar
Member Avatar
+0 forum 7

Is it possible to replace commas and spaces with commas in c#? I'm fresh in c# and am looking for guidance. Any help is appreciated! **Before:** Deleting 11 files.ABC: Total Time = 01:16:30, Remaining Time = 00:00:00 **After:** Deleting,11,files,ABC: Total,Time,01:16:30,Remaining,Time,00:00:00

Member Avatar
Member Avatar
+0 forum 5

hey i'm using windows 7..since last 2 days my D: drive has been filling up space itself..i deleted some files and created 2GB free space..but again that space is automatically filled up..my D: drive has total 90GB allocated to it..but all the files stored in it make only 87GB..so i'm confused about where the 3GB space has vanished because it shows only 4KB free space..please help

Member Avatar
Member Avatar
+0 forum 13

hi am creating .xls file by using POI library. This code will create xls file, but it's not giving space between border of cell and its content.how can i set space to content type property. Thanks HSSFWorkbook wb = new HSSFWorkbook(); HSSFSheet sheet = wb.createSheet(styleSheetName); HSSFRow row; HSSFCell cell; HSSFCellStyle hedarStyle = wb.createCellStyle(); HSSFFont headerFont = wb.createFont(); headerFont.setFontName(HSSFFont.FONT_ARIAL); headerFont.setFontHeightInPoints((short) 8); headerFont.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD); headerFont.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD); headerFont.setColor(HSSFColor.BLACK.index); hedarStyle.setFont(headerFont); hedarStyle.setAlignment(HSSFCellStyle.ALIGN_RIGHT); hedarStyle.setWrapText(true); hedarStyle.setVerticalAlignment(hedarStyle.VERTICAL_TOP); row = sheet.createRow(0); row.setRowStyle(hedarStyle); cell = row.createCell((short)0); cell.setCellValue(new HSSFRichTextString("1")); cell.setCellStyle(hedarStyle); cell = row.createCell((short)1); cell.setCellValue(new HSSFRichTextString("2")); cell.setCellStyle(hedarStyle);

Member Avatar
+0 forum 0

What is the usual cause of website having a big white space on the right, making the horizontal scroll bar appear. Check a screen shot of the project [Click Here](http://prntscr.com/z0bon). Sorry no live site for the mean time. When I use "overflow:hidden" on the div, it will be fixed. But I cannot use that code because it will cut other divs. I also tried "clearfix". Didnt work. Help

Member Avatar
Member Avatar
+0 forum 11

Hello everyone I am designing a j-query mobile app and I have set the bacground as a canvas and set it to fixed, which is causing it to display white space when i scrool down. Following is the image of the problem ![b5991988c1e4153b2f9d363fb86ea210](/attachments/small/3/b5991988c1e4153b2f9d363fb86ea210.png "align-left") Any fix for this? Thnaks for the reply. :)

Member Avatar
Member Avatar
+0 forum 5

1. I am trying to use this code snippet, to learn how to create a dropdown menu, populated by a mysql database. 2. I have worked out the kinks of the database credentials. 3. I have created and populated a test database. 4. This does actually work, now that it is morning time and the sun is coming up already.. 5. I do get mostly a blank screen, but with a drop down menu (in the top left corner), with the 2 fields i inserted in my database shown.. So stoked there! 6. BUT! I receive the error @ the …

Member Avatar
Member Avatar
+0 forum 27

Hi. Well, i'm trying to add new data to mysql, <input type="text" name="name"/> example: Billy Boy when I check mysql table, it shows "BillyBoy" How do I fix that error? Thank you.

Member Avatar
Member Avatar
+0 forum 3

I need to design an application that reads a string from the user, then determines and prints how many of each lowercase vowel appear in the entire string. Separate counter for each vowel. I also need to count and print the number of consonants, spaces, and punctuation marks. The problem I'm having with my code is that the consonants counter won't work. It gives me the wrong number. The rest works perfectly fine. import java.util.*; public class Vowel14 { public static void main (String[] args) { Scanner scan = new Scanner(System.in); int letA = 0, letE = 0, letI = …

Member Avatar
Member Avatar
+0 forum 1

Hi everyone, When I purchased my hard drive, its size was 1TB. Iformatted it a few times and I don't know why and how it has lost 70GB. Is there a way that I can get it back up to its original size? if yes, Will I be able to do the remove operation on it while it is plugged in?

Member Avatar
Member Avatar
+0 forum 8

I need a help? I m designing a webpage. I have used <**div**>s everywhere, from header to footer, moreover I have used **relative** **positioning** with **top** and **right** tag. Somewhere top value has gone -1200 and so. At last I m left with about 800px of useless area below the footer and I don't want that. I looks very disgusting.Is there anyway of removing those ***whitespaces*** or stopping scroll below the ***footer*** block???? I there anyone for rescue?? **HELP** **HELP** **HELP**!!!!!!!!!!!!!!!

Member Avatar
Member Avatar
+0 forum 6

The latest NASA rover to be sent to Mars, Curiosity, successfuly landed on Mars late yesterday evening. I think this is wonderful. Anybody else in Daniweb following the progress of this mission?

Member Avatar
Member Avatar
+0 forum 6

can u give me some details regarding this paper?can u plz tell me what is a master defect record and feature association?

Member Avatar
Member Avatar
+0 forum 1

int main(void) { char faceValue[2]; char suitValue[2]; //User enters the value of their hole cards. setCardFaceValue(faceValue); setCardSuitValue(suitValue); for(int i=0;i<2;i++) printf("Element %i: %c %c\n",i,faceValue[i],suitValue[i]); return 0; } void setCardFaceValue(char* face) { char card[2][20] = {"left card:","right card:"}; for(int i=0;i<2;i++) { printf("Enter face value for "); for(int x=0;x<19;x++) { printf("%c",card[i][x]); if(card[i][x] == ':') { fgets(&face[i],3,stdin); } } } } void setCardSuitValue(char* suit) { char card[2][20] = {"left card:","right card:"}; for(int i=0;i<2;i++) { printf("Enter suit value for "); for(int x=0;x<19;x++) { printf("%c",card[i][x]); if(card[i][x] == ':') { fgets(&suit[i],3,stdin); } } } } Here is the output: [Click Here](http://gyazo.com/6fe495527ffdb35a7ba066c26be24bac) The value entered for the first …

Member Avatar
Member Avatar
+0 forum 5

Hey guys, probably no programming for a long time (around 3 days), I lost myself on this, the `dent_space1(max_space1, ' ')` just not compiling, for its format. if so, how can I 'delete space' for the sake of this task? 4-2. Write a program to calculate the squares of int values up to 100. The program should write two columns: The first lists the value; the second contains the square of that value. Use setw (described above) to manage the output so that the values line up in columns. if (counter == upstage1) { upstage1 *= powerof; max_space1 -= freespaces; …

Member Avatar
Member Avatar
+0 forum 3

Hey guys, My name is Dane and I am an 18 year old I.T Apprentice based in Blackpool. Our I.T manager has gone on holiday and I have had a call giving a deadline on getting a form on our intranet working, I look and it is all ColdFusion! I have never seen it before, so I go into panic mode and I start learning the language as fast as possible. I have experience with HTML and CSS but never any scripting languages :( I am doing my best but I need some help, some noob help in noob speak …

Member Avatar
Member Avatar
+0 forum 2

Hi guys, I'm trying to use the random number generator as part of the GSL library and it is working fine for a few hundred 'rounds' of my code (it is used quite a few times per round) but then i get an error message in the command window: [CODE]gsl: rng.c:46: ERROR: failed to allocate space for rng state Default GSL error handler invoked.[/CODE] A quick look at the rng.c shows that this is an error from the gsl_rng_alloc part (see bottom)and this is what I can find about that function on that topic: [CODE]— Function: gsl_rng * gsl_rng_alloc (const …

Member Avatar
Member Avatar
+0 forum 4

hi iam trying to activate 3Ds max 2010 but all i get is blank screen with 2 buttons i was looking on Google and tired almost everything but still i get the blank white screen can you help me pl? thank u Fiona

Member Avatar
Member Avatar
+0 forum 1

The End.