132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vadiraj86
Member Avatar for Ramy Mahrous
0
103
Member Avatar for acidpaul

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
Member Avatar for Tight_Coder_Ex
0
338
Member Avatar for Mr.Wobbles

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
Member Avatar for Mr.Wobbles
0
142
Member Avatar for fuzzy89

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
Member Avatar for Duoas
0
195
Member Avatar for Infeligo

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++
Member Avatar for vijayan121
0
244
Member Avatar for sachinpatil886

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
Member Avatar for jwenting
0
145
Member Avatar for Jade_me

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
Member Avatar for Jx_Man
0
205
Member Avatar for joshmo

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
Member Avatar for joshmo
0
105
Member Avatar for lsleongps

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
Member Avatar for lsleongps
0
119
Member Avatar for talablink

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
Member Avatar for choudhuryshouvi
0
75
Member Avatar for clarkkent

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
Member Avatar for clarkkent
0
113
Member Avatar for henpecked1

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++
Member Avatar for henpecked1
0
229
Member Avatar for Max_Payne

Does anyone know where can i get the game engine: LlamaWorks2D ?

Software Development c++
Member Avatar for beefstick720
0
140
Member Avatar for Koldsoul

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
Member Avatar for new_2_java
0
144
Member Avatar for mmxbass

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
0
107
Member Avatar for daviddoria

Is it possible to make a function with an unknown number of parameters without knowing ANY of them? ie. void Test(...) I know you could do void Test(va_alist) with varargs.h, doesn't make sense that this functionality has been removed does it? Thanks! Dave

Software Development c++
Member Avatar for Ancient Dragon
0
93
Member Avatar for Spencicle

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++
Member Avatar for plgriffith
0
92
Member Avatar for EnderX

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
Member Avatar for Aborad
0
303
Member Avatar for Spencicle

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++
Member Avatar for superjacent
0
1K
Member Avatar for aminit

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
Member Avatar for nukewarm
0
116
Member Avatar for Robb@W

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
Member Avatar for Robb@W
0
115
Member Avatar for teddyzhai

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

Software Development c++ xml
Member Avatar for teddyzhai
0
162
Member Avatar for nate12457

What is your opinion of the best beginner java book?

Software Development java
Member Avatar for jwenting
0
134
Member Avatar for mariegomez84

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
Member Avatar for mariegomez84
0
979
Member Avatar for Kob0724

All this regex stuff has me really confused. How could I just replace all the occurrences of "\\" in a string with "\n"?

Software Development java regex
Member Avatar for Kob0724
0
134
Member Avatar for Jennifer84

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++
Member Avatar for Jennifer84
0
178
Member Avatar for purplestar86

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
Member Avatar for Jx_Man
0
255
Member Avatar for monkey_boy_401

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++
Member Avatar for morb
0
110
Member Avatar for Parsu7

I just want to know what happens when this code is written: public static void main(String[] args) throws IOException

Software Development java
Member Avatar for Parsu7
0
132
Member Avatar for sura17

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
Member Avatar for sura17
0
88
Member Avatar for nelledawg

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++
Member Avatar for nelledawg
0
181
Member Avatar for Metalsiege

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++
Member Avatar for Metalsiege
0
190
Member Avatar for sonygamer

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++
Member Avatar for Lerner
0
336
Member Avatar for nitsmooth

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
Member Avatar for nitsmooth
0
306
Member Avatar for iwilcox

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
Member Avatar for VernonDozier
0
152
Member Avatar for suresh1010

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++
Member Avatar for Ancient Dragon
0
180
Member Avatar for Shanomacadaemia

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
Member Avatar for Shanomacadaemia
0
81
Member Avatar for RexxX

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
Member Avatar for sukhmal.sena
0
96
Member Avatar for jimps

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++
Member Avatar for atish00
0
85
Member Avatar for johnqsmith

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++
Member Avatar for Ancient Dragon
0
188
Member Avatar for Run.[it]

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
Member Avatar for Run.[it]
0
207
Member Avatar for fiz hafiz

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
Member Avatar for Ancient Dragon
0
170
Member Avatar for clavezza

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 …

Software Development c++ sqlite
Member Avatar for HOLYANDHOLY
0
242
Member Avatar for abar

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++
Member Avatar for abar
0
242
Member Avatar for bornok15

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 …

Software Development mssql vb.net
Member Avatar for JRSofty
0
115
Member Avatar for gauravmishra

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 .........

Software Development image java
Member Avatar for gauravmishra
0
104
Member Avatar for bornok15

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
Member Avatar for JRSofty
0
612
Member Avatar for mmc18

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); …

Software Development c c# c++
Member Avatar for mmc18
0
116
Member Avatar for KimJack

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
Member Avatar for sohguanh
0
920
Member Avatar for IceBikers

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
Member Avatar for galleon_10
0
492

The End.