132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for fidan

Hello, I wrote a program which takes CNF-files as input. It takes from 1 sec up to 1 hour to finish its task (Checking satisfiability). However, there is one CNF file which takes about 1 hours before it spurts out the message: aborted <core dumped> ... and creates an *.exe.stackdump …

Software Development c c# c++
Member Avatar for GDICommander
0
163
Member Avatar for nubs

Hello newbie here! I'm a student working on a small project with Visual Basic Express. I'm about finishing my project and been trying to publish it to a CD. This project contains labels which read data from text files stored in the bin directory and a login database. But I …

Software Development publishing vb.net visual-basic
Member Avatar for Comatose
0
160
Member Avatar for karthi_selva

hi, i am doing some windows application program using .net. i show the information in treeview. when user selects the data from treeview. i like to show in datagrid view. i do't know any direct mapping is present or not. if present please share ur ideas. (now currently i m …

Software Development
Member Avatar for Ramy Mahrous
0
388
Member Avatar for tomtetlaw

before i ask this question i want you to keep in mind that i am asking it in general, and i also want a general answer :) i am making a 3d first person shooter and i want to know how i would go about getting a gun infront of …

Software Development c++
Member Avatar for _adam_
0
182
Member Avatar for JerryShaw

I have an SQL2005 table loaded with ICON (image) BLOBs. I need to dynamically add ToolStripMenuItems to my Windows form including the same row Icon from the database table. This is a Plugin system where I pull the plugin file (assembly) names from the database according to the operator's rights …

Software Development assembly delphi sql
Member Avatar for JerryShaw
0
200
Member Avatar for jobi116

First of All i would Thank this forum. Most of my programming queries were solved here. I dint had to write any new thread.. I am new to windows Application programing. but i am some how managing .. But now i need a start to do something like [URL="http://f.imagehost.org/view/0916/Untitled-1_copy"]This[/URL]. If …

Software Development
Member Avatar for jobi116
0
107
Member Avatar for daviddoria

There was another thread about this ([url]http://www.daniweb.com/forums/thread114737.html[/url]) but it didn't seem to be resolved? If I have a vector of int's and another vector of the same length of corresponding names, I would like to sort the ints and have the names "follow" [code] vector<string> Doubles; Doubles.push_back("Name1"); Doubles.push_back("Name2"); Doubles.push_back("Name3"); vector<int> …

Software Development c++
Member Avatar for kbshibukumar
0
134
Member Avatar for lrnzsmok1

Can anyone help me with this program?? Professor asked me to create a program that permits a user to enter a maximum of 50 characters into a stack Object, then have the program sort the stack contents into increasing order from A to Z. Is there any way i can …

Software Development c++ storage
Member Avatar for kbshibukumar
0
135
Member Avatar for redmaverick

[code=Java]class Grade { public static void main (String args[]) { final int score = Integer.parseInt (args[0]); final char grade; if (score >= 90) { grade = 'A'; } else if (score >= 80) { grade = 'B'; } else if (score >= 70) { grade = 'C'; } else if …

Software Development java
Member Avatar for stephen84s
0
108
Member Avatar for happymadman

Hi, how would I get the timer() class to change time display()'s self.time I'm new to threads and classes and have been sitting here thinking about it for the last half hour and still have know idea Thanks heaps for any help. [code=python] # Count down timer import time import …

Software Development python
Member Avatar for happymadman
0
105
Member Avatar for dyollretsel08

i have a homework. do a program using java that will ask a user to input a infix expression , and the program will convert it to postfix expression... help!!

Software Development java
Member Avatar for stultuske
0
133
Member Avatar for srs_grp

Hello, I want to check uniqueness of id at the time of entry only.And I want to give message to the user at that time only.How to do this?

Software Development java
Member Avatar for stephen84s
0
181
Member Avatar for r.stiltskin

The code below is a simplified excerpt which compiles & runs, just to show the problem I encountered. I tried to use BoxLayout in the ColorPanel method, but the JLabel "swatch" was not visible in the frame at all. I found that I can get the effect that I wanted …

Software Development java java-swing
Member Avatar for r.stiltskin
0
76
Member Avatar for chebude

I have too collect a daily rainfall data from a certain model output. The model ouput gives out each stations daily data separately which I have to collect together and further analyse. [I have tried the following, it works but my data - thousands of pcp_#.txt which makes the process …

Software Development python
Member Avatar for chebude
0
173
Member Avatar for farooq82

Is anyone have idea of how we add new row in datagrid I want to add DR and CR Column in datagrid view DataGrid View have 4 column Sr#, Discription, DR, CR [CODE] Dim DR As Decimal Dim CR As Decimal DR = DataGridViewCashBook.Rows(index).Cells(4).Value.ToString() CR = DataGridViewCashBook.Rows(index).Cells(5).Value.ToString() DataGridViewBankStatment.Rows.Add() [/CODE]

Software Development vb.net
Member Avatar for 4advanced
0
158
Member Avatar for rahulrborkar

Folks, I am using xsl and xml for Report generation. In XSL I have created a table which has 6 columns and say 7 rows, in 6th column of each row I want to display multiple rows again. For this I am thinking of passing new line character after particular …

Software Development java pdf xml
Member Avatar for rahulrborkar
0
145
Member Avatar for leegeorg07

i looked at the python 3k print module from griboullis and i want to use it for python 2.5 without having to import it every time, i think it needs to be builtin but how can it do this, i don't mind if the old print is still there but …

Software Development python
Member Avatar for leegeorg07
0
88
Member Avatar for dinilkarun

hi, I want to put a textbox over a bitmap in MS Excel sheet and populate the textbox with a value from VB code. Please guide me in acheiving the same. Regards, Dinil

Software Development visual-basic
Member Avatar for cguan_77
0
90
Member Avatar for homeryansta

[CODE] ifstream inputfile; cout << "enter the name of the file: "; cin >> filename; inputfile.open(filename); string temp; int i = 0; while(filename != NULL) { while(isalpha(filename)) { temp[i++] = filename; } if(i > 0) { insert(temp, 1); i = 0; } } [/CODE] this is my code, what am …

Software Development c++ linked-list
Member Avatar for homeryansta
0
129
Member Avatar for Deepak.G

hi im trying to write a python script for a telnet client. So far im able to establish a connection with a server. My problem is that i want to print (at the client) all the activities at the server end. Let me put it this way. Suppose i send …

Software Development client-server python
Member Avatar for Stefano Mtangoo
0
3K
Member Avatar for zaraeleus

Okay, I am having more difficulty with my Java class again. My professor assigned us a 2-D chart program... This is the output he wants: This program displays the annual cost of gasoline for different mpg and price per gallon of gas assuming 18,000 miles driven annually. MPG 1.50 1.75 …

Software Development java
Member Avatar for stephen84s
0
173
Member Avatar for Duki

I have an assignment question that says "Decide whether the [I]syntax[/I] of the following statements is valid or invalid." These are the statements: [code=c++] a) listData->next = ptr1->next ; b) listData->next = *(ptr2->next) ; c) *listData = ptr2 ; d) ptr2 = ptr1->next->info ; e) ptr1->info = ptr2->info ; f) …

Software Development c++
Member Avatar for Duki
0
105
Member Avatar for JAGgededgeOB172

Hi all, The program I'm making needs to basically interpret long math operations (see the attached text file) and compute them. Simple right? I have to use stacks and queues to reorder the operation into the desired output (the output will compile properly if you run the program as it …

Software Development c++ file-stream queue
Member Avatar for cikara21
0
138
Member Avatar for ruri

Hi, I'm new to C, and an assignment for multithreading was just kind of thrown at me, so I'm kind of lost. I need to write a program that creates four threads. The first thread would have to read stdin, writes the char to array of 64 bytes, and after …

Software Development c multithreading
Member Avatar for ruri
0
109
Member Avatar for SoulMazer

Hi, so I just have a question that I at least think will be pretty easy. So, I am making a script that basically gives you a "vocabulary test". There is just one feature I would like to implement that I need help with. I would like to make it …

Software Development python
Member Avatar for SoulMazer
0
240
Member Avatar for karthiknv

Hi, For my project, i have to kill a Java.exe process of a particular application forcibly( i have other application runs on java.exe- i should not kill it). Can somebody do the needful....it's very urgent...please help me.... Thanks & Regards, Karthik

Software Development visual-basic
Member Avatar for SCBWV
0
277
Member Avatar for ryan311

hi can anyone help me? how can i convert to time if i inputted 2400 it should 12:00 then a running a time? for example i have 1 textbox if i input 2300 it should 11:00 how can i do this in timer? thanks

Software Development visual-basic
Member Avatar for SCBWV
0
90
Member Avatar for wookinhung

Hi all, I want to display a picture by moving the mouse cursor on a label or picturebox without clicking on them... How can I do that? PS: The picture would be big sized. Regards, wookinhung -VB noobie-

Software Development display visual-basic
Member Avatar for wookinhung
0
122
Member Avatar for number87

I did a program to read the output of the UNIX command ls -ali and count the number of directories, write files, link files etc. But there seeems to be something wrong with my code and I cant compile it. I cant seem to find out whats wrong with it. …

Software Development c++ unix
Member Avatar for death_oclock
0
128
Member Avatar for mruane

I am preparing for my a+ exams, and am turning all of my notes into a test. I plan on doing this in python, of course. But, I am a little lost at what would be best. Should I create each question as a specific function, calling the next question …

Software Development python
Member Avatar for mruane
0
148
Member Avatar for abby2589

can you give an example of sorting? in c..tnx!

Software Development c
Member Avatar for death_oclock
0
98
Member Avatar for dollmar

im new to vb6..plz help me to solve my problem.. 1.I make a textbox that can input time 2. I have a shape in form 3. I use label to display time how can i change the color of shapes in red when i input the exact time in the …

Software Development visual-basic
Member Avatar for dollmar
0
120
Member Avatar for Jigs_ff

Hi All, I am new to programming world, i wanted to make a script which will create folder when counting of files breaks. for Example- 1) I have 1000 no of jpg files in a single folder.(but ) 2) but these files has a number break in between. (like it …

Software Development visual-basic
Member Avatar for Comatose
0
110
Member Avatar for darkfury18

for example if i write hello on one line and then wanted to write goodbye right underneath what do i have to do? as when i press the enter key it just prints hello

Software Development python
Member Avatar for scru
0
4K
Member Avatar for eyewirejets

Can someone please look at my code and see if I'm writing it efficiently using parameters and return values. Thank you for your support [code] PAY_RATE = 12.75 #This program ask the user for: hours worked, then calculates gross pay. def get_hours(): hours = input("How many hours did you work?: …

Software Development python
Member Avatar for jrcagle
0
331
Member Avatar for rosenberg_a

I have a problem in the book (not for homework) that says. List Reverse Modify the linked list class you created in the previous programming challenges by adding a member function named reverse that rearranges the nodes in the list so that their order is reversed. Demonstrate the function in …

Software Development c++ linked-list
Member Avatar for rosenberg_a
0
376
Member Avatar for Haze

Hey just wondering if you can do something like that with variables for example [CODE] class test(object): a = 55 def dispmenu(self): print self.a instance = test() [/CODE] How would i be able to call "instance.dispmenu()" without having to type that. Some things i have tried [CODE] action1 = instance.dispmenu() …

Software Development python
Member Avatar for jrcagle
0
132
Member Avatar for radiatorz

hi i need to create menu with icons from xml file, icons from url xml look like this [CODE]- <Item name="cat" ico="http://....../cat.bmp"> </Item> - <Item name="dog" ico="http://....../dog.bmp"> </Item> - <Item name="cow" ico="http://....../cow.bmp"> </Item>[/CODE] my c# code is [CODE] XmlDocument doc = new XmlDocument(); doc.Load("katalogs.xml"); foreach (XmlNode node in doc.DocumentElement.ChildNodes) { …

Software Development xml
Member Avatar for Ramy Mahrous
0
176
Member Avatar for C# beginner

:-/ Hello, I am trying to allow only text in a textbox, not numbers or symbols, and when i user does enter something other than that it diplays a message box that says only letters please. I know how to do a messagebox I just can't seem to get on …

Software Development
Member Avatar for Diamonddrake
0
158
Member Avatar for leegeorg07

hi again ive got more questions for ides i have been using UliPad but it keeps on closing and uninstalling itself im looking for something that can: run code in ide debug syntax lightweight all round simple to use preferably i would like it to have a module lib what …

Software Development ide python
Member Avatar for leegeorg07
0
78
Member Avatar for drjay1627

hey, given one side and an angle how do you calculate the other sides and angles in a right angle triangle in c++. I'm basically looking for an algorithm. Thanks drjay

Software Development algorithm c++
Member Avatar for StuXYZ
0
113
Member Avatar for makimbo

Hi! I wrote this program to generate a keyboard determined random numbers. [code] #include <stdio.h> #include <stdlib.h> #include <time.h> int amount, aleatory_numbers; int array[70]; int counter=0; int generator () { printf ("Introduce the amount of numbers that you wish: "); scanf ("%d", &amount); srand ( time(NULL) ); do { aleatory_numbers …

Software Development c++
Member Avatar for StuXYZ
0
112
Member Avatar for winrawr

I'm trying to use new but I can't seem to get it right... in this example I ask how many strings the user would want to input, then ask for each one, then echo them back. [code=c++] #include<iostream> using namespace std; int main(int argc, char** argv){ int num, i; char** …

Software Development c++
Member Avatar for Freaky_Chris
0
132
Member Avatar for progurammaar

Hello there, This is my first post. I want to make a currency converter program in Java and for that i want live/real-time exchange rates. So can you please tell me how can this be done. I have full time net connection, so thats not a problem :)

Software Development java
Member Avatar for stephen84s
0
139
Member Avatar for ddanbe

I have an array of array wich all have the same length. Which syntax is to be preferred : multidimensional : string[,] names = new string[5,4]; or jagged : string[][]names = new string[5][4]; Or is it, in this case just a matter of style? I searched this site and I …

Software Development
Member Avatar for ddanbe
0
86
Member Avatar for xtremerocker

My program needs to use exponents, however, double does not allot enough space for my numbers, is there another way to use the pow(x,y) function or is there another function for exponents that I'm overlooking? [CODE=cplusplus] #include <iostream> #include <cmath> using namespace std; int main(void) { int thresh = 10000; …

Software Development c++
Member Avatar for xtremerocker
0
215
Member Avatar for winrawr

I'm trying to write a class that will read and organize the command line arguments of a program. Like, it will read -a as a 'switch', and --abcd as a 'switch' and you can define different switches as having parameters, so -a bc de fg will have bc and de …

Software Development c++
Member Avatar for winrawr
0
105
Member Avatar for Arfarf

Hi, I've been trying to get my head around x86 assembly lately, and I've been working on this one problem. I'm trying to write a program that reads characters from a text file, then display them on the console. It's a simple exercise in file operations, but I'm having a …

Software Development assembly file-system
Member Avatar for skinman
0
297
Member Avatar for farooq82

Hi everyone, Below is code snippet to load excel file in datagrid. When my excel file is load is show unnecessary column with blank data. I did not want to show these columns. Can any help me how I will remove this column. I don't know how much blank column …

Software Development open-source vb.net
0
69
Member Avatar for yuriythebest

how do I pause the program so it doesn't just disappear instantly?

Software Development assembly
Member Avatar for Salem
0
117

The End.