Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 3,152
» Latest member: Ryleihemi
» Forum threads: 857
» Forum posts: 3,646

Full Statistics

Online Users
There are currently 3 online users.
» 0 Member(s) | 1 Guest(s)
Bing, Google

Latest Threads
Womans from your city - V...
Forum: Random Discussion
Last Post: iHOMEz
02-27-2025, 12:59 PM
» Replies: 1
» Views: 2,853
Looking for Adventure? Fi...
Forum: Random Discussion
Last Post: iHOMEz
01-08-2025, 11:00 PM
» Replies: 1
» Views: 1,877
Find Local Women Looking ...
Forum: Random Discussion
Last Post: iHOMEz
12-27-2024, 12:11 AM
» Replies: 0
» Views: 1,024
Prettys Womans in your to...
Forum: Random Discussion
Last Post: iHOMEz
10-30-2024, 07:45 AM
» Replies: 0
» Views: 1,853
Prettys Womans in your ci...
Forum: Random Discussion
Last Post: iHOMEz
10-26-2024, 10:50 AM
» Replies: 0
» Views: 1,790
Beautiful Womans from you...
Forum: Random Discussion
Last Post: iHOMEz
10-19-2024, 02:48 PM
» Replies: 0
» Views: 1,931
Prettys Womans in your ci...
Forum: Random Discussion
Last Post: iHOMEz
10-06-2024, 05:00 PM
» Replies: 0
» Views: 2,055
Supreme Сasual Dating - A...
Forum: Random Discussion
Last Post: iHOMEz
06-14-2024, 11:28 AM
» Replies: 0
» Views: 2,879
Beautiful Womans in your ...
Forum: VB.NET
Last Post: iHOMEz
06-09-2024, 09:23 PM
» Replies: 0
» Views: 3,063
Hangman in Rust
Forum: Other
Last Post: brandonio21
02-04-2018, 11:14 AM
» Replies: 2
» Views: 22,636

 
  Help with web browser please...
Posted by: PNG - 08-13-2012, 11:40 PM - Forum: Programming Help - Replies (1)

I am trying to make a web browser but am having some trouble because some sites wont work with it due to it not having flash... Could someone please tell me how to resolve this issue.

Print this item

  Datagrid Help
Posted by: Moldraxian - 08-13-2012, 08:10 AM - Forum: Programming Help - Replies (4)

Hello everybody! I just made a program that contains a datagridview. Is there a way to make information in a datagridview display in labels or textboxes?

Print this item

  NEED YOUR HELP PLEASE..
Posted by: jochen29 - 08-11-2012, 05:07 AM - Forum: Programming Help - Replies (21)

i'm having problem with my program.. its like directory for the students i want to include picture in the student info.. but i dont know how to do that.. is there any way i can do that? please i really need your help for these.. any help will do.. <!-- sCry --><img src="{SMILIES_PATH}/icon_cry.gif" alt="Cry" title="Crying or Very Sad" /><!-- sCry -->

Print this item

  Need some help plz!
Posted by: bigbubblewrap - 08-09-2012, 02:50 PM - Forum: Java - Replies (4)

Hey i was watching Learning java part 14 on YouTube and i followed through with the tutorial line for line, however , eclipse kept telling me i did something wrong.

Here's the error:


Exception in thread "main" java.lang.Error: Unresolved compilation problem:

i cannot be resolved to a variable

at AL.PrintArray(AL.java:43)
at AL.main(AL.java:20)


and here's my code:

Code:
import java.util.ArrayList;
import java.util.Scanner;

public class AL {

        static Scanner reader = new Scanner(System.in);
        static ArrayList<Integer> array = new ArrayList<Integer>();
        
        public static void main(String[] args)
        {    
            System.out.println("Please enter an array of numbers, type in 0 when finished!");
            int in = reader.nextInt();
            while (in != 0)
            {
                array.add(in);
                in = reader.nextInt();
            }
            
            //The user typed 0
            PrintArray();
            
            System.out.println("What number would you like to delete?");
            int del = reader.nextInt();
            for (int i = 0; i < array.size(); i++)
            {
            
            if (array.get(i) == del){
                array.remove(i);
                break;
            
                }
            }
            //Break will put us right here
            PrintArray();
        }
        
        public static void PrintArray()
        {

System.out.println("-------------------------");
        
        {
        System.out.println(i);    
        }
    }
        
        
}

If you can find the problem please do tell i still have not figured it out <!-- sSad --><img src="{SMILIES_PATH}/icon_e_sad.gif" alt="Sad" title="Sad" /><!-- sSad --> <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> <!-- s:!: --><img src="{SMILIES_PATH}/icon_exclaim.gif" alt=":!:" title="Exclamation" /><!-- s:!: --> . -Thanks & your tutorials are great keep it up! <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin -->

Print this item

  Possible Visual C++ Topic Page?
Posted by: Moldraxian - 08-08-2012, 11:40 AM - Forum: Computing - Replies (2)

I have started programming in Visual C++ and wondered if maybe we could create a topic page like the VB.Net and VB C# pages for people who have started to get into C++.

Print this item

  Programming Help Website
Posted by: Vinwarez - 08-08-2012, 08:10 AM - Forum: Off-Topic - Replies (5)

Hello, everyone! I found a great website which helped me a lot. I am learning how to make a simple 2D game and I found really interesting material there.

This website is called ZetCode and is owned by Jan Bodnar.

Print this item

  MySQL Database Issue
Posted by: Moldraxian - 08-07-2012, 07:04 AM - Forum: Programming Help - Replies (7)

Hey everybody. I created a shelled version of brandonio's mysql database. I am only using form 3 and form 3 code.
When I run the program I get an error with a null. The data from the database does not come up in the list.

[code2=vbnet]txt_order.Text = splitread(1).ToString[/code2]
^
Object reference not set to an instance of an object.

If anyone has any help on this it would be greatly appreciated.

Print this item

  Getting a term in the fibonacci sequence with recursion
Posted by: brandonio21 - 08-06-2012, 11:53 PM - Forum: Java - No Replies

Here is how to get the specified term in the Fibonacci sequence by using recursion. As you can see, it is a pretty elegant solution. However, it is rather slow.
[code2=java]public long GrabFibTermRecursive(int term)
{
if (term == 0) return 0;
if (term <= 2) return 1;


long fibTerm = (GrabFibTermRecursive(term - 1) + GrabFibTermRecursive(term - 2));

return fibTerm;
}[/code2]

Print this item

  Getting a term in the fibonacci sequence without recursion
Posted by: brandonio21 - 08-06-2012, 11:51 PM - Forum: Java - No Replies

Here is a quick code snippet that gets the specified term of the Fibonacci sequence without recursion.
[code2=java]public long GrabFibTerm(int term)
{
if (term == 1) return 0;
if (term == 2) return 1;

long a = 0;
long b = 1;

int count = 2;
while (count <= term)
{
long oldB = b;
b = (a + b);
a = oldB;

count++;
}
return b;
}[/code2]

Print this item

  Reversing Numbers
Posted by: brandonio21 - 08-06-2012, 11:28 PM - Forum: Java - Replies (1)

This method will return the reverse of a non-zero number
[code2=java]public static long ReverseNumber(long number)
{
int reversedNumber = 0;
while (number > 0)
{
reversedNumber *= 10; //Shift over the reversed number
reversedNumber += (int)(number % 10); //Add on the end of the submitted number
number/=10;
}

return reversedNumber;
}[/code2]

Print this item