Detecting duplicate numbers in an array
I am trying to detect duplicate numbers in an array. If there are duplicates then it should return false, but if each number in the list is different then it should return true. The problem it that it...
View ArticleObject serialization and try/catch
I am having some trouble understanding the order of execution in the try/catch statement. Staying close to the code in my textbook (for purposes of understanding their code), I have the following in my...
View ArticleCrystal Report on Windows 7 64 bit.
Hello Sir/Madam I have a project in VB.NET which is based on HPMS. In this project there are lots of reports.Its work fine.. When i run this project on 32 bit operating system its work fine and print...
View ArticleSmall Battle Simulator Problem
Hi there, it's difficult to explain the problem. I am VERY new to C# as it is my first language. I tried writing a little one sided battle simulator but the problem occurs that sometimes when clicking...
View ArticleInner Join in VB 6.0
hello guys I have a question i hope you can help me, to solve this. I have a Database using Ms Access 2003 and the table name is "Subject" in Subject i have 2 fields "StudentID" and "Subject" and in My...
View Articlenew to php
hi im new to php and i searched this code that adds elements to m program and i can't seem to access the code when i open it on my browser on localhost/(myfile) here is my code: <!DOCTYPE html...
View ArticleBest way to create statistics out of a DB with Lists<T>
Hello guys I'm doing some practice with Lists in C# to get more experience, so I thought I could do some statistics with data stored in a database. My idea: I have a Sqlite DB with some data about...
View Articlehow to make a rectangle bounce in java
hey guys i made a code that let the rectangle move move in y coordinate and x coordinate but when it touches the JFrame it stopes moving, so can any one tell me how to let it bounce?
View Article[Program]Save 10 seconds of your life.
Hello! I've made a program that creates a "main.cpp" in a new project.It is useful for time saving I think /> The code that is written in "main.cpp" is taken from a "sc.txt" file,located in the...
View ArticleBasic Singly Linked List printing undesirable data
I am not an affluent programmer. My code for this linked list is printing what seems to be not only a series of endlines, but also a zero that I have no idea where it is coming from. You might notice...
View ArticleHow to replace/overwrite a line in a file in Java?
I have a program which allows the user to search a record from a file by typing the name. Then the record will appear in the text boxes provided, so that the user can edit them. However, i can read the...
View ArticleASP.NET blog?
I have created a website in asp.net for a friend, and now he wants a blog on his page, where he can update news, and people can comment on it etc. Does Microsoft offer a finished blog that easy to...
View ArticleError on St_ID data
Private Sub Form_Load() DTPicker1.Value = DateValue(Now) connect SQL = "select St_ID from Student_Info" Set rs = conn.Execute(SQL, adExecuteNoRecords) If rs.EOF = False Then UserID.Caption =...
View ArticleRecursion or Loop?
Hi, I'm working on the texture tile system for a small GDI+ game and I'm wondering what approach should I take for the sub that draws all the texture elements on the map - loop through entire array of...
View ArticleLeast Common Substring Algorithm
* This is a homework problem, I am not looking for you to do it. I just want some insight on where to go on from here or where my problem is with my algorithm not working. Thanks. Basically this...
View ArticleSaving a spreadsheet from a URL and opening it as a text file
I need to download a spreadsheet from a URL (for example http://ichart.finance.yahoo.com/table.csv?s=TSCO.L&d=0&e=19&f=2013&g=d&a=6&b=1&c=1988&ignore=.csv). I then want...
View Articleproblem with dynamic allocation
im trying to insert values in the linked list... the first insert works but the the second fail and the program stops working... i guess the problem is with the allocation.. i couldnt solve it:( sorry...
View ArticleHow To Extract Every <Name> & Value From *Any XML File
Using System.xml I can loop through child and parent nodes of an xml file. Although I'm still a little fuzzy on the term "node" and or "xml element", What I plan to achieve is to get all the following...
View ArticleWhy does OpenGL seem too complicated?
I have recently bought the book "OpenGL superbible 5th edition" in an attempt to learn OpenGL, my understanding of c++ is good coming from a java background, but my main problem is that this book...
View ArticleStudio not starting on occasion
Hello. With Visual Studio Express 2012 (and the previous version) pressing Start in a Console application sometimes doesn't do anything. It tends to work the first few times but, occasionally, just...
View Article