132,726 Archived Topics
Remove Filter ![]() | |
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 … | |
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 | |
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 | |
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++ | |
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 … | |
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 | |
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++ | |
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 … | |
[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 | |
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 | |
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 | |
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 | |
![]() | 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 ![]() |
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 | |
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 | |
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 … | |
![]() | 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 ![]() |
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 | |
[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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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. … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
![]() | 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 … ![]() |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
how do I pause the program so it doesn't just disappear instantly? Software Development assembly |
The End.