Member Avatar

As many of you know, DaniWeb was hit by a Google algorithm update back in November 2012 and we lost about 50% of our search traffic. In investigating the issue, I discovered that DaniWeb, in addition to most other programming forums out there, all lost their google traffic to [StackOverflow](http://www.stackoverflow.com). For those who don't know, StackOverflow is a Q&A-based wiki-forum hybrid that was born a few years ago and subsequently received a lot of venture capital. Hands down, it deserves really high listings in Google results: it is fast-loading, lots of people link to it, it has almost exclusively high …

Member Avatar
+9 forum 111
Member Avatar

I get a stackoverflow exception on following commented line. namespace Football_Manager_WFA { public partial class Settings : Form { Color def_bgdColor = SystemColors.Control; Color def_fontColor = Color.Black; // ERROR static FontFamily fontFamily = FontFamily.GenericSansSerif; Font def_fontType = new Font(fontFamily, 8.0f); } }

Member Avatar
+0 forum 2
Member Avatar

this method return "[B]StackOverflowException[/B]" error for some inputs;like "12" where is Infinite loop point? [CODE] public void cycle(int f){ int i, j; if (f == 0) return; else { for (i = f; i >= 0; i--) { for (j = 0; j <= 10; j++) { if (i == Math.Pow(2, j)) { f = f - (int)Math.Pow(2, j); switch (j) { case 1: cbx1.Checked = true; break; case 2: cbx2.Checked = true; break; case 3: cbx3.Checked = true; break; case 4: cbx4.Checked = true; break; case 5: cbx5.Checked = true; break; case 6: cbx6.Checked = true; break; case 7: …

Member Avatar
+0 forum 8
Member Avatar

Hey Guys! Below is my code of Battleship game. I keep getting "Process terminated due to StackOverflowException." error. It keeps pointing to [CODE] char[,] Grid = new char[10, 10]; [/CODE] and i have no idea what it's asking to fix. Please help me. Thanks! [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BattleShip_Jamshid_Berdimuratov { class BattleshipBoard { Player p = new Player(); public void Randomize() { p.SetGrid(1, 2); p.SetGrid(2, 2); p.SetGrid(3, 2); } public void DisplayBoard(char[,] Board) { int Row; int Column; Console.WriteLine(" ¦ 0 1 2 3 4 5 6 7 8 9"); Console.WriteLine("--+--------------------"); for (Row = …

Member Avatar
+0 forum 2
Member Avatar

[B]For the error and my question, skip to the bottom. I just posted all of the code in case it's needed.[/B] [CODE]/*********************************************************************************** * * File: Customer.java * * Author: Austin Smith * * Date: 04/04/2011 * * Description: The Customer class handles all client information * such as name and address. * **********************************************************************************/ public class Customer { /*** Defaults/Constants ***/ public static final String DEFAULT_NAME = "ERROR: Invalid Name"; public static final String DEFAULT_ADDRESS = "ERROR: Invalid Address"; public static final String DEFAULT_CITY = "ERROR: Invalid City"; public static final String DEFAULT_STATE = "ER"; public static final String DEFAULT_ZIP_CODE = …

Member Avatar
+0 forum 3
Member Avatar

Hi friends, I am facing this problem while adding a panel to another panel. Please give me the solution. I have put my code below. [CODE] Dim pan As Panel = DirectCast(UserControlTest1.FindControl("Pan_ItemBind"), Panel) pan.Controls.Add(Panel1)[/CODE] Thanks in advence...

Member Avatar
+0 forum 4

The End.