132,726 Archived Topics
Remove Filter ![]() | |
Hello everyone, I am trying to pre-allocate a certain number of nodes to a linked list, I allocate 10 nodes at first and, if I have more data to store, I'll need to resize it by adding half of the total number of nodes, sort of like 10, second time … Software Development c++ linked-list | |
how to insert radiobutton value into Access database using c#? rely need help... Software Development | |
The recent assignment I was given in my programming class had me utilize a structure. Structures are not covered for another 10 chapters in our textbooks, however I did read up on them as much as I could to try to figure this thing out. I am still unsure on … Software Development c++ | |
I need to make report there in crystal report there in crystal report. Let me make it clear to you. Listen I have a table called result ok? When user creates result for Tom it saves data in the table like that - ID - Name - Subject - Oral … Software Development vb.net | |
See the link ([URL="http://norvig.com/sudoku.html"]Solve Every Sudoku Puzzle[/URL] for fine description of logic of the code) I attach the top95.txt file of tough problems and the sudoku claimed toughest of all time by Finnish mathematician Arto Inkala ([URL="http://www.kristanix.com/sudokuepic/worlds-hardest-sudoku.php"]The Worlds Hardest Sudoku Puzzle[/URL]) Solving this was piece of cake for the code, … | |
In the code below, I don't understand why the diference in elapsed time calculated with System.currentTimeMillis() is different tm.getCurrentThreadUserTime() The elapsed time in millisecond is always a value like 23 or 14 while time calculated with tm.getCurrentThreadUserTime() is always 0 . I know one is milli and the other is … Software Development java | |
Hi everybody, I would like to use a XYBlockchart with the following features: 1. Highlight square when mouse is over it 2. Show tooltip (which is simple, as far as I know - just setting a flag == true) 3. Open an additional frame with a graph by double-clicking on … Software Development java | |
I am new to C++. I have a problem regarding access specified elements from a text File. I have two File containg the random sorted integert values. and an Array with some size. For exapmle if array contain 10 elements and files will contain random number upto 10 with no … Software Development c++ file-system | |
When i clicked on JMenuitem ..it opens a new window ..but when i close this window the parent window also closes... is there any method to resolve ..i don't want to close the parent window only the new window.. Software Development java java-swing | |
Static fields and methods are allocated memory once only, when they are first referenced, irrespective of the no. of objects u later create. But, memory is allocated for its data members each time an object is created. But what about the non-static methods, they don't change for each object. So … Software Development java | |
I'm having trouble finding a problem in this program that supposedly converts currencies, is it possible to find some help from specialists in the Java programming language ...? the codes here: import java.awt.*; import java.awt.event.*; import java.util.*; import javax.swing.*; import javax.swing.event.*; import java.io.* ; public class CurrencyConvertor extends JFrame { … Software Development java java-swing | |
Hello I am sorry if this is a dumb question but is it conceivable to determine the memory address of a function that is inside a running application from another application? Say I have an application A that has a function helloWorld(). A is being launched. I would like to … Software Development c | |
Write a program in PC assembly language to execute the following code: b := 0; a := 0; read c (c must be between 5 and 9) while ( (a+b) < c ) do begin b := b+a; a := a+1; end; Software Development assembly | |
Write a program in PC assembly language to execute the following code: b := 0; a := 0; read c (c must be between 5 and 9) while ( (a+b) < c ) do begin b := b+a; a := a+1; end; I wrote the followng but something is wrong … Software Development assembly | |
Hi, As there is almost no documentation for this, I would like to know hot to properly use in VB NET 2008 the keep alive socket option. Tried this: [CODE]myTcpClient.Client.SetSocketOption(SocketOptionLevel.Tcp, SocketOptionName.KeepAlive, 1)[/CODE] but then the TCP does not connect any more, and how do I know when the connection brakes … Software Development vb.net | |
Hi My problem is that , The Jframe window does not remember it's position after minimizing ....suppose I minimize at co'ordiates (45,89)..but after maximizing it again open at (37,28)..means at different co-ordinates ..i want that jframe should open at the same position...after maximizing..like remeber it's position.. please help Software Development java java-swing | |
there are N elements in an array. u have one number x. u have to check whether there exists two elements in that array whose sum is x. But order should be less than N^2( N square). i dont know the method how to achieve order less than n^2. Software Development c | |
Need some help regarding this program. I had done a similar program having output as:- S A I F E E S A I F E S A I F S A I S A S Its output is as follows:- [code] class Name { public static void main(String args[]) … Software Development java | |
hi, suppose i have many windows open like two image files, a terminal , a firefox. and using command line i want to exit specifically 1 of these.. how can i do this? is there any shell command to do this? thanx... i am waiting for reply. its urgent! m … Software Development shell-scripting ubuntu | |
Hy guys, I'm new here and I have one error... I wanna read from one *.ini file but not clasic read. Here is content of file confing.ini that I wanna read: [Config] String0=some text1 String1=some text2 String2=some text3 .... Read that I wanna get is value of String1 for example, … Software Development vb.net | |
Hello, I am a newbie with vb 2010 but some experience with vb6 My problem is relatively simple but i cant find the answer to it I have a form with a textbox and a button on it when i press the button i have code that starts a sub … Software Development vb.net | |
Hello all, can anyone tell me how to make a JFrame fixed, by not allowing user to drag it somewhere else in the window? like doking the JFrame in the screen, also disallow user to resize it. Thanks. Software Development java | |
Hello, I am writing a program in c# that should convert postcodes to the corresponding coordinates. I assume there should be a sort of database,maybe gps coordinates data base, but i do not know how to access them. On the other hand i see that there are some websites that … Software Development | |
Hi, I'm just a little confused as to what to we call a reference. [CODE]A ob=new B();[/CODE] Here B is a subclass of A. Should we say "ob is a reference of A which has been assigned an object of B" or "ob is a variable of A which has … Software Development java | |
Creating embedded system based virtual Text Display. use 9V battery for supply video : [url]http://www.youtube.com/watch?v=tVU-1ligVYU[/url] source here : [url]http://www.embeddedravi.com/forum/viewtopic.php?f=2&t=12[/url] | |
I have started to follow the Beginner tutorial's so the first one is Hello World, so I have followed what was shown and it has failed this was created in Console application template then added the main.cpp file to the source folder. this is the below error message, can someone … Software Development c++ visual-studio | |
hello, I have a problem! I have an infopath form and I want to connect into database,I use C# for coding behind, in the code I use below namespaces: [COLOR="Green"]using System.Data; using System.Data.SqlClient;[/COLOR] when I build the project, it shows me below error: [COLOR="Red"]"The type or namespace name 'Data' does … Software Development assembly visual-studio | |
Hey, I am making a small network game and I suddenly got some problems with my player class, specially when trying to call the getName function and using the second constructor I get this error: [code] 1>------ Build started: Project: RPG, Configuration: Release Win32 ------ 2>------ Build started: Project: Server, … Software Development c++ visual-studio | |
I have been using the code below to edit SQL database fields from the data stored in a dataset. Problem is I have to repeat this long code for each database field to be edited....I find this very tiring...IS THERE A SHORTER WAY OF EDITING SQL Database FIELDS. (Am using … | |
hi frnds m doing project on tracking keyboard,mouse & URL activity. which programming language is much easier to implement this project? Is Java better or VC++ is more better option? plzzzzz suggest me as soon as possible. | |
My goal is to have a simple piece of code that will raise an exception if input of non-int is entered. My problem so far, is that I haven't been able to reach the catch block. I have read a little about bad_typeid, but do not know how to implement … Software Development c++ | |
You know when you insert an image into BASIC it makes a new folder called "Resources" and puts the picture in it? Well, I want a file in it so I can access it. [CODE]PictureBox3.ImageLocation = "C:\Users\Kenneth Rhee\Desktop\CIB\Profiles\" + TextBox3.Text + "" + TextBox4.Text + "" + TextBox6.Text + "\" … Software Development vb.net visual-basic | |
Hi, Even though there are many examples of Invoke operations, I can't find something that works for me. (I'm using VS 2008, and working in VB) Here is what i have: A main module with functions (thread 1) that starts a BeginRead for a TCPClient. When the callback function executes … Software Development vb.net | |
I cannot get shutil to copy one folder to another. This code results in the error below. What am I doing wrong? [CODE]if os.path.exists(backup + "\\Safety Backup"): pass else: print "Backing up original music. . ." os.mkdir(backup + "\\Safety Backup") for folder in musicFolders: shutil.copy2("C:\ABCD123", backup + "\\Safety Backup") print … Software Development python | |
i just show the code [CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * NewJFrame1.java * * Created on Jun 26, 2010, 9:54:49 PM */ import java.io.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; /** * * @author THKFC … Software Development java java-swing | |
Well i have the following program where i need to swap students(dynamically created structure array) . Just cant seem to get the swap right. Main problem's here : [code=c] struct student *stemp; stemp=(struct student *)malloc(sizeof(student)); *stemp.name=s[i].name; s[i].name=s[j].name; s[j].name=stemp->name; [/code] Other info : [code=c] where s[i] belongs to a dynamically created … Software Development c | |
Ok the requirements include a program that asks for three positive number and checks if they are a triangle. I did that ok, but now I have to figure out what kind of triangle that I entered is. The choices include: right angle triangle acute triangle (all three angles < … Software Development c++ | |
How do you make a glass form in VB.NET? Like the vista/win7 effect, but extended into the form. I saw a tutorial for C#, but can't find one for VB.NET Software Development vb.net | |
Hi I'm new to C# and need help. i want my listbox updated when it collect as many logs. The application at the background is still working but the GUI is not as responsive. I tried it with the thread also but got the error "Cross-thread operation not valid: Control … Software Development gui | |
Can Any one tell me how to use phython with .net and wat is the main use of phython | |
Hey! I am making a program that keeps track of users so the program has to update the number in the database how do I actually do it? I know how to select things and such, but have no idea how the update works.. I didn't really find anything for … | |
How do I make a calendar show a date that I fetch from another control? The fetched date is 'date' and will be different every time. To show the current date I do this: [code=c] CalendarMyMeetings.SelectedDate = System.DateTime.Today; [/code] ...so I'm guessing I need to replace 'Today' with 'date', but … Software Development | |
I wrote this small program that enters a password from a user and displays '*' instead of the letters so I could add this into my project. I compiled it through Dev C++ using Windows 7 and I am getting errors, please help me out. The program :- [CODE] #include<iostream.h> … Software Development c++ | |
A friend and I are working on our first game engine in C++. We're both new to C++, but not to programming in general. Our current method of handling objects (things within the game, such as a player object) works fine, and is pretty fast! But I'm not sure if … Software Development c++ | |
I was wondering what all files this program accesses, and any other info you could tell me about this program.. The program is in the link below. [url]www.thelandofoz.net/help/program.rar[/url] Mucho thanks in advance!! -DaJ4ck3L Software Development c++ microsoft-access | |
hello everyone i have been trying to run my ejb-jsp code using j2ee server and have connceted to oracle using sun.jdbc.odbc.jdbcodbc bridge driver. but i am encountering this particular problem again and again and no data is inserted into database Error java.sql.SQLException: [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed … | |
Hey, I'm working through Objects First with Java and using bluej. I've just gotten to where I call other classes and methods, and sometimes I can get it to work. Other times, like the example below, I'm completely suck. I've tried every combination I can think of to get the … Software Development java | |
First of all Hello to all of you. I am new to programming(about a week since I started learning it), a little young(12 years old) and totally interedtes in its thrill. Second of all I would like to clear the [I]superstition[/I] that students join this forum as they want you … Software Development c | |
I want to write a method to remove consecutive items with duplicate data values from a singly linked list. The method should return the number of items removed. The method should clean up memory as required, and should assume that memory was allocated using new. For example, passing in the … Software Development c c# c++ linked-list |
The End.