132,726 Archived Topics
Remove Filter ![]() | |
retrieving a dynamic dropdownlist value in an asp table Software Development asp | |
Can someone help me undestand each line of code. I used emu8086 for this program.. Any help will be appreciated! Title Fibonacci series ; Fibonacci series ; ; Write a program that generates the first 15 integers ; of the Fibonacci series {1,2,3,5,8,...}. Beginning with ; the third element, each … Software Development assembly | |
I am trying to add child nodes to a Treeview list, I have the parent node and this is the code I have to add the child node: [CODE] parentNode = New TreeNode() parentNode.Text = Me.headerSelect.Text.ToString parentNode.Nodes.Add(Me.fieldName.Text.ToString) [/CODE] It doesn't do anything - no errors, no adding, nothing.. Also if … Software Development vb.net | |
I need this translated in MIPS can anyone help me out? [CODE]#include <stdio.h> int n; int row[8], s = 0; bool safe(int x, int y) { int i; for (i = 1; i <= y; i++) if (row[y - i] == x || row[y - i] == x - i … Software Development assembly | |
Hello to everybody. I am simulating a tree without a recursion, that is I have an array of leaf nodes and I want to go one level deeper. I wrote the following code: [CODE] #include <iostream> using namespace std; int main() { int* row; int root_row[1]; int row_size = 1; … Software Development c++ | |
Hi i have written following java application in java and now i wnt to convert it into java applet,so an anybody help me out,plz.thanx in advance. import java.awt.*; import java.io.*; import java.awt.event.*; import javax.swing.*; import java.util.*; import java.text.*; import javax.swing.event.*; import javax.swing.undo.*; import javax.swing.text.*; import javax.swing.KeyStroke.*; public class mynote extends … Software Development java java-jsp java-swing | |
hi all... anyone know how to count files when it selected on dialog box.i use common dialog, but i didn't find any function to count selected files (multiselect properties is true). any help will be appreciated. thanks. Software Development vb.net | |
hey...can anyone show me what am doin wrong here?? cant get this program to loop till the user enters a character other than "y"....it prompts the first time and its a succes. prompts the second time but does not wait for response.... [CODE]#include <stdio.h> #include <string.h> #define LEN 20 main() … Software Development c | |
Hi, I have been struggling to design a form, so that the form can be escalated from person A to person B, then person B to person C and so forth automatically. The person A only needs to click at a button (exp: confirmed?), then the form will be sent … Software Development visual-basic | |
Hello everyone, can anyone tell me where i can find sample codes of basic vb programming of making a database..a sample program where it shows me how to add update search delete and all those stuff..or does anyone have that program here or show me anything? please cause i have … Software Development visual-basic | |
This Header function is from VB. I am trying to do the same with C# using HttpWebRequest and having trouble. Can anyone help to show me what i am doing wrong? Here is a VB function which is sent using winsock. [CODE]Function Header(Question As String, Answer As String) As String … Software Development first-post html-css os-x xml | |
I have been given an assignment to construct a program that reads in temperatures every hour for 24 hours, find lowest, highest, and average, then output the temps in a tabulated form. I'm semi-sure I can manage the computational and display part, but I am at a loss as to … Software Development c++ | |
Does anyone know where can i get the game engine: LlamaWorks2D ? Software Development c++ | |
My assignment is to use a method to do the pig latin part of a program I have already done. So basically, I have the program written, code is below, but am getting two errors in it. I have not really gone over using strings and returning them to the … Software Development java | |
I've been working on this basic DFS proof of concept for hours and just by reading the code I would swear on a stack of bibles that it's flawless and yet it flat out doesn't work. What the heck am I doing wrong? I'm 99% sure that the problem lies … Software Development | |
Sorry for the 2nd post but I thought it might be seen better than if it was in my other post, which btw, thanks everyone in there for helping me. The second program i have to write is about the user inputing their annual interest rate, current balance, and amount … Software Development c++ | |
If this is in the wrong place, I apologize. I use ShellExecute only in Delphi, but I am aware that it may not be properly considered part of the language. I have a program that is supposed to generate a .csv file for an output report. However, my boss wants … Software Development delphi file-system pascal | |
You have just purchased a stereo system that cost $1000 on the following credit plan: No down payment, an interest rate of 18% per year (and hence 1.5% per month), and monthly payments of $50. The monthly payment of $50 is used to pay the interest and whatever is left … Software Development c++ | |
Hello All: I want to make a simple login to a program created in C#, I want when I entered the program I must asked about the password, another thing is how can I by another form confirm the password(change the password), nest time when I entered I must the … Software Development | |
Hi, I've recently started learning C++ and though I have been sticking to command line stuff so far, would now like to have a play with the IDEs I've downloaded, Dev-C++ and the Microsoft stuff. When I installed Visual C++ 2005 Express edition a while back, I must have set … Software Development c++ ide open-source | |
Hi, there: I'm recently working on parsing xml file in c++. i have googled sort of libraries. just dont which one is better. Could someone who has experience say sth. about it. I mean, "right" easy to learn, light -weight... 3ks Regard Teddy | |
What is your opinion of the best beginner java book? Software Development java | |
Hi, everybody! I'm working in Visual Basic 6 (NOT for excel application). I'm quite new in this and I'm trying to plot some curves in a graph. The point is that when I plot the curve the second time, the curve for the first time is still there!!! And I … Software Development visual-basic | |
All this regex stuff has me really confused. How could I just replace all the occurrences of "\\" in a string with "\n"? | |
I have a Form application. From Form1 I open Form3. On Form3 I have a button that consists of 20 pages of code. (The code reads .txt files store values into vectors) 9/10 Times when pressing this button the program function perfectly but 1/10 times I run the program, an … Software Development c++ | |
Hi experts! I'm a newbie in this site and i wanted to ask for help in VB timers. We have a simple system about time monitoring. May i ask, what code will i use. if i clicked a command button (time in), it will run the time. then if i … Software Development visual-basic | |
Hi, I am new to using dev. C++ and i was wondering if anyone could help me start writing the code. I know how to open up a new project but thats about it. Please help me? Software Development c++ | |
I just want to know what happens when this code is written: public static void main(String[] args) throws IOException Software Development java | |
This Is My Code:- [code] Begin gotoxy(31,1); write('Peters Petrol Pump'); gotoxy(31,2); write('=================='); gotoxy(0,4); write('Welcome To Peters Petrol Pump...Here Are Your Options:-'); gotoxy(5,6); write('1. Console'); gotoxy(5,7); write('2. Petrol Pump'); gotoxy(5,8); write('3. Exit'); gotoxy(0,10); write('Please Select An Option...'); read(StartingAnswer); if StartingAnswer =1 then Begin clrscr; gotoxy(30,11); write('Under Construction'); repeat gotoxy(30,12); write('Press Enter … Software Development pascal | |
Hi everyone, I'm new to the forums and having a problem that I can't seem to fix, so it would be great if someone could help me out! Everything in the following code works except for the while loop. When it gets to the "Input another product? (y/n) :" line, … Software Development c++ | |
Trying to have a user input their grades as letter values and then assigning the letters numbers to be saved in an array. For some reason I can't get case 1 to work correctly. All it does is ask for the lab and then the grade, but once you input … Software Development c++ | |
Hello again everyone. I've been trying to finish this code that calculates the eigen digit (i.e. 2349 is 2+3+4+9=18=1+8=9. It wont give me a single answer though. And we are supposed to do it through a recursive function. The code looks like this: [code=c++] #include <iostream> using namespace std; int … Software Development c++ | |
I made this program to create a binary search tree but it is not working properly ......could smbdy tell me whts the prob /* Creating a BInary Tree */ #include<conio.h> #include<stdio.h> struct node { struct node *lt; struct node *rt; int data; }*temp; void inorder(struct node* root) { while(root != … Software Development c | |
Alright, so I am trying to create a program that will take a [m][n] Matrix and multiply it by a [n][p] Matrix, filling each matrix with increasing values. I am having a problem with my function, prototype, and call. I keep getting the "...not declared in this scope" error and … Software Development c++ matrix-multiplication | |
can u please temme the string funtion which will eliminate the character in the desired position in C++. ie in (string.h) example i need to remove the 4th character in "SACRED" so the resultant array must be "SACED" without a blank space in the deleted postion. so the size gets … Software Development c++ | |
Hi, I'm new to assembler and I really need to make this work as it's crucial to my success in this course at college. Normally I wouldn't ask for help, but because time is such a factor now and due to my limited understanding of the language, I feel I … Software Development algorithm assembly encryption file-system | |
If I have a struct defined as [code] struct node { char *data; struct node *next; }; typedef struct node* nodePtr; nodePtr newNode; ... int main(void) { newNode = (nodePtr *) malloc(sizeof (nodePtr)); //dynamically allocate memory if(newNode == NULL) { printf("Error: could not allocate a new node\n"); exit (1); } … Software Development c | |
Hey, I'm not sure how to do this. I know how to convert a char into an int, getting the ascii value, or the numeric value, but that's not what I want to do. Basically I have a CHAR, I give it a value, usually a short sentence, then I … Software Development c++ | |
Problem background: gcc v 4.1 2 .cpp files, 2 .h files Files: main.cpp a.cpp a.h b.h Organization: main.cpp includes a.h (because it calls a.cpp code) a.cpp includes a.h a.h includes b.h (because a class in a.h uses a b.h class) There is no inheritance between a.h or b.h or any … Software Development c++ | |
In class weve been shown how to read from a binary file and read from a text file but Im unsure how to write text to a binary file? Heres my attempt so far, Can you help? [CODE] #include <iostream> #include <stdio.h> using namespace std; int main() { FILE *namefile … Software Development c c# c++ file-system | |
Title : Student Course Registration System Every semester you will use the university course registration system in the early weeks of new semester. Assuming that the pre-registration process has not been exercised. Now, you will try to create a similar system that will have somewhat the same function of the … Software Development c | |
Hello Group Nice to meet everyone. First time posting to forum. I hope to have better luck then I did on Sourceforge.net forum. I am using DevC++ version 4.9.9.1. I am getting this error message in my compile log and I do not know how to fix this problem. Here … | |
I want to override the normal keypress event Alt+F4 in my application. I am using borland builder 6. i wrote a fn for Application->OnMessage = msghandler; In this handler I am checking for the Key State of the Alt & F4 & then if the key is pressed I am … Software Development c++ | |
I have installed a VS 2005 that has a MSSQL Server. When i was about to try running the SQL Server i can't find anything except Configuration tools. I don't know if its express edition or not. Is SQL Server 2005 like this? how would i know that the SQL … | |
hi i want to know that what does the scale() method of AffineTransform do i mean when we reduce the size of a image does this transform reduces the number of pixels or something else ......... | |
I've been working with a class module to make my connection codes abit shorter but when i removed my connection from the class and made it public it was not working anymore. The way I use the class lcon = New ADOcon lds = New DataSet Dim ltb As DataTable … Software Development dataset open-source vb.net | |
typedef struct Individual{ int number_of_la; double cost; }Individual; void deleteIndividual2(Individual **ind){ if((*ind)==NULL) return; freeLists2(&((*ind)->MSC),1); freeLists2(&((*ind)->BSC),1); freeLists2(&((*ind)->LA),1); freeLists2(&((*ind)->BS),1); (*ind)->MSC=NULL; (*ind)->BSC=NULL; (*ind)->LA=NULL; (*ind)->BS=NULL; free((*ind)); (*ind)=NULL; } //LAList-LA-LA_BS ,if includeGroup=1 remove all LAList-LA-LA_BS otherwise List and element will be removed void freeLists(Network_Element_List *head,int includeGroup){ Network_Element_List *temp=head; while(temp !=NULL ){ Network_Element_List *x=temp->next; if(includeGroup) freeLists(temp->element->groupHead,0); … | |
Hello All, I am having a problem with removing a specific item from a linked list. Any advice would be great: Here are some snippets: private Node head; //the head node at the front of the list private Node previous; //element just before the current position private Node current; //refers … Software Development java linked-list | |
Hi, i have set validating cell control into the datagridview by only allow numeric and a single dot, but i only want to validate specific column only instead all columns. below is what i did [CODE] Private Sub DataGridView1_EditingControlShowing(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewEditingControlShowingEventArgs) Handles DataGridView1.EditingControlShowing 'source: http://www.devx.com/dotnet/Article/33748/1954?pf=true … Software Development vb.net |
The End.