132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Dimitar

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
Member Avatar for Dimitar
0
435
Member Avatar for kayfar

how to insert radiobutton value into Access database using c#? rely need help...

Software Development
Member Avatar for Lusiphur
0
117
Member Avatar for deez2183

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++
Member Avatar for jonsca
0
255
Member Avatar for Kingcoder210

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
Member Avatar for finito
0
89
Member Avatar for TrustyTony

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, …

Software Development puzzle python
Member Avatar for TrustyTony
0
1K
Member Avatar for Mathukutty

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
Member Avatar for Mathukutty
0
223
Member Avatar for man.getName()

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
Member Avatar for man.getName()
0
197
Member Avatar for Rocky111

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
Member Avatar for Rocky111
0
90
Member Avatar for amit.hak50

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
Member Avatar for amit.hak50
0
275
Member Avatar for daudiam

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
Member Avatar for JamesCherrill
0
138
Member Avatar for SHARKASI

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
Member Avatar for SHARKASI
0
200
Member Avatar for baillot

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
Member Avatar for gerard4143
0
174
Member Avatar for annitaz

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
0
77
Member Avatar for annitaz

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
0
53
Member Avatar for dxmedia

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
Member Avatar for dxmedia
0
454
Member Avatar for amit.hak50

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
Member Avatar for NormR1
0
784
Member Avatar for vivek01anand

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
Member Avatar for invisal
0
114
Member Avatar for jammy4java

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
Member Avatar for rkj2ban
0
1K
Member Avatar for annitaz

1 ; The program must be keyed in exactly as is given here. 2 3 4 org 0x100 5 bits 16 6 00000000 E90900 jmp start ; Start program execution 7 00000003 42524F574E20464F58 char: db 'BROWN FOX' ; Please key in exactly as shown, 8 ; with a space between …

Software Development assembly
Member Avatar for tesuji
0
119
Member Avatar for sarosh

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
Member Avatar for sarosh
0
129
Member Avatar for bizzpu

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
Member Avatar for dghervas
0
103
Member Avatar for dghervas

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
Member Avatar for dghervas
0
1K
Member Avatar for RicardoE

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
Member Avatar for amit.hak50
0
204
Member Avatar for paeez

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
Member Avatar for jonsca
0
110
Member Avatar for daudiam

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
Member Avatar for JamesCherrill
0
94
Member Avatar for embeddedravi

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]

Software Development assembly display
Member Avatar for embeddedravi
0
89
Member Avatar for Wakesta

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
Member Avatar for Wakesta
0
186
Member Avatar for sanam2010

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
Member Avatar for sanam2010
0
80
Member Avatar for Silvershaft

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
Member Avatar for Hektzu
0
212
Member Avatar for mnmw

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 …

Software Development dataset sql vb.net
Member Avatar for mnmw
0
191
Member Avatar for onlyvidya

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.

Software Development c++ java
Member Avatar for onlyvidya
0
145
Member Avatar for foco

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++
Member Avatar for vijayan121
0
94
Member Avatar for Denxerator

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
Member Avatar for Teme64
0
3K
Member Avatar for dxmedia

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
Member Avatar for Teme64
0
2K
Member Avatar for WildBamaBoy

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
Member Avatar for WildBamaBoy
0
20K
Member Avatar for 1314abc

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
Member Avatar for 1314abc
0
162
Member Avatar for goodwillwins

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
Member Avatar for goodwillwins
0
111
Member Avatar for johnb08

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++
Member Avatar for johnb08
0
106
Member Avatar for bigtreeworld

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
Member Avatar for TheDevelopper
0
471
Member Avatar for angel_eyez

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
Member Avatar for Lusiphur
0
115
Member Avatar for dhanapal86mca

Can Any one tell me how to use phython with .net and wat is the main use of phython

Software Development asp.net python
Member Avatar for ultimatebuster
0
115
Member Avatar for Silvershaft

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 …

Software Development c c# c++ mysql
Member Avatar for Silvershaft
0
4K
Member Avatar for BonaDrag

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
Member Avatar for BonaDrag
0
86
Member Avatar for dhruv_arora

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++
Member Avatar for nbaztec
0
163
Member Avatar for joshalb

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++
Member Avatar for joshalb
0
152
Member Avatar for DaJ4ck3L

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
Member Avatar for Excizted
0
165
Member Avatar for shishir

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 …

Software Development java java-jsp microsoft oracle sql
Member Avatar for NormR1
0
169
Member Avatar for arete

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
Member Avatar for arete
0
352
Member Avatar for Shikhin

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
Member Avatar for Shikhin
0
178
Member Avatar for sankaran1984

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
Member Avatar for WolfPack
0
176

The End.