132,726 Archived Topics
Remove Filter ![]() | |
I have directory which is used to temporary store images while working with them. Once all process are done and images are not need it anymore I would like to delete them. I tried following code but it didn't work. Where is problem? [code] Runtime comPrompt = Runtime.getRuntime(); String[] execStr … Software Development java | |
[COLOR=red][B]good day everyone [/B][/COLOR] [COLOR=red][B]i have a smart question and it is my homework i did not know how to start and what the ideas [/B][/COLOR] [COLOR=red][B]Can you help ????[/B][/COLOR] [COLOR=red][/COLOR] [COLOR=red][/COLOR] [COLOR=red][B]Write a linear-time algorithm that sorts [/B][/COLOR][COLOR=red][B]n distinct integers, each of which is between 1 and [/B][/COLOR][COLOR=red][B]500[/B][/COLOR][COLOR=red][B]. Hint: … | |
hey, here i have a question. i want to select a directory path alone... For example, by using "openfiledialog" control, we can select the file path (eg., d:\sample\dest.txt). But i want to select only the path (eg., d:\sample\).... can anyone help me ? thanks in advance........... Software Development vb.net | |
Hi. I'm having trouble with a program I am writing in MIPS. This is an assignment, so I'll understand if no one helps. The program has two recursive functions: Power and Multiply. The basic algorithms for each are: [code] int Power(int base, int expon) { if(expon == 0) return 1; … Software Development assembly | |
Hi i'm lil new to perl wat i want to do is to login to my gmail account and click on the "Search mail" button using the perl script. this is my script, but thr is a problem tht when i click on the "Search mail " button (second last … Software Development perl | |
I have an application that I want to create my own dialog screens. For example, the user cliks on one frame, and I want to open a window for the user to enter data, after the user finishes, he presses OK and then the main app continues. On the class … Software Development java java-swing | |
Can anybody help me out and tell me that in which microprocessor 8086 or 8088, a far procedure call executes faster and with reasons Plz help me as early as possible Software Development assembly | |
Hello, I keep getting segmentation faults when running this program. Could anyone help me with this? [code=c] #include<stdio.h> #define SIZE 5 void clearTicket(int ticket[SIZE]); void printTicket(int ticket[SIZE]); int main() { int ticket[SIZE]; int number; int sentinel; int i; /* Simple instruction prompts for the user's benefit */ printf("\nWelcome to the … Software Development c | |
Hi, im in the process of developing an iptables firewall for personal use...Being a newbie in shell scripting im trying to adapt a code i found here:[URL]http://homelansecurity.sourceforge.net/script.php[/URL]. thanks to [J. Howard.] but dont quite understand this block of code below especially the content of '$1' variable as related to the … Software Development shell-scripting | |
Is there a way to read the long answer from server not using non-blocking sockets? The problem is that recv blocks if server stops to send. [CODE]while(true){ n=recv(skt, buf, BUFFER_SIZE,0); if(n<=0)break; buf[n]='\0'; std::cout<<buf; }[/CODE] So, how to break from while(true) before recv() blocks? My experiments with select() failed. =( Software Development c++ | |
[B]Team:[/B] [B]I have a date which comes in the format of mm/dd/yy.[/B] [B]Example: 08/01/00[/B] [B]Now, I have my regular expression to check for this in this[/B] [B]format.[/B] Example: $result = $start_date =~ /(\d\d)\/(\d\d)\/(\d\d)/; So, when I enter a date in the format of 08/01/00, the result is success, or a … Software Development perl | |
[COLOR=#555555]Hi I was assigned a project in my C++ class. the project is to write a program using arrays. I have to write it for a plane that has 15 seats. Seat 1 to 7 is first class and seat 8 to 15 is economy. The program should be able … | |
hey ppl.. i`m searching for a nice software community. Can you provide a list wit other community like this? I want to make a comparation :) thank yoy, adrian Software Development c | |
Ok i just started C++ about 2 days ago and I have somthing not working and somthing I need to ask, hopfully somone can help me. Im making a dll to use with a gamemaking software called gamemaker that support using dll's. oh ya, im using Dev-C++ First, This is … Software Development c++ | |
Hello. I made an command-line application. Now I want tomake an gui version but I don't know which GUI I should choose. I want the executable to have requirements for libaries while running (so I don't think about using GTK). I tried QT but I don't know if I can … | |
hey, its me again, i was thinking of asking you this questions since.... I study C++ by myself without any tutor apart from the help i get here... although i understand everything i read... and i solve most of the exercises easily .. except few... i don't know.. is this … | |
Hey, I was just wondering how to get a variable assigned a random number within a certain range. I tried the rand, but I seem to get the same set of numbers everytime I run the code... I did some research on random numbers in C++ and understand the whole … Software Development c++ | |
Hi! I have both combo boxes and datagridview on the same form. Combos are not inside the datagrid. They are outside On the top of datagrid aligned in a horizontal line. Each combo is aligned with its own column from datagridview. But... When I resize (to the right) let's say … Software Development vb.net | |
I'm very new to [URL="http://www.daniweb.com/techtalkforums/post343678.html#"]VB[/URL] this is my first attempt at a project. basically i want a simple [URL="http://www.daniweb.com/techtalkforums/post343678.html#"]program[/URL] that will display a famous singers surname in a text box, then ask the user to input the singers first name in another box. The system must then check the answer … Software Development vb.net | |
I am trying to figure out a way to write a program that takes the "digital product" of a number (has to be positive). Like if I had 123456789, it would take 1*2*3*4*5*6*7*8*9 which is 362880. It would then take 3*6*2*8*8 (leaves out zeros) which is 2304. Then 2*3*4 which … Software Development java | |
Hi there, I am going to develop a program which get its input via USB port. I have no idea how I can read data from the USB port using C#(C++ would be alright). Can you guys help me? Thank you so much. :o Software Development | |
dire friends i write code in applet for scrole text left to right.now i want same thing in verical direction n cover full length of screen.so what i should do it Software Development java | |
HOw do you compare 2 strings without using strcmp...??? would u please give me an example and how it will work.. THNK YOU Very Much!!:S:X Software Development c++ | |
Need help urgenlty -please I'm new to the forum and request help I need to write code containing a for loop from 1 to 30.everytime the loop is executed, the answers of one respondent to each of the 3 questins, should be inputed - Q1. how old are you, Q2, … Software Development c++ | |
Hi, I want to calculate 2's complement [ Negate all bits + 1] of BYTE array in c++ or VC++ firstly i am adding all elements of BYTE array and assigning it to integer variable now i want to calculate 2's complement of it. How can i do this plz … Software Development c++ | |
how could I connect the saved implementations in subversion to the main/test program outside the subversion? I want to use the saved file in the subversion as a library so that i could use it in any programs... tnx in advance... | |
Hi All, I am working on linked list application which the structure is as: [code] public static void Main(String[] args) { Console.WriteLine("Please Enter the data to be Inserted in the LinkList..."); Object obj = new Object(); node n = new node(); linklistImp llist = new linklistImp(); ArrayList ast = new … Software Development data-structure linked-list | |
I have trying C and so far it's gone great but this has been driving me mad today. I could swear scanf worked earlier but its crashing my programs? I know you get this problem when you forget the pointer thing & but this should work [code] #include<stdio.h> int main() … Software Development c++ | |
I'm taking an Operating Systems course in which I need to write some really in depth programs (more specifically, along the lines of a terminal based program which implements many system level unix-like commands). However, the catch is that this must be written in straight C, which I have no … Software Development c++ operating-system unix | |
Can anyone help me in integreation of vb.net and Autocad. i want to read autocad's digrame's dimentions through vb.net or vb 6.0.it emergency Software Development vb.net | |
well, I'm using a book called "Learn C++ in 21 days" and it's working out great so far. The only problem is that when I type in the code from the book, letter for letter, many errors pop up. Is this book made for a previous version of C++? It … Software Development c++ | |
I am having trouble with inheritance. I am wanting to use fullName.h as the base class and call the functions print and setName into student.h. The problem is that I am getting errors that I can not figure out. The errors are: [I]student.h(22) : error C2352: 'fullName::print' : illegal call … Software Development c++ | |
how do i compare two strings or char.. otherthan using strcmp?? Software Development c | |
Hi, I have a database with 15 tables and couple of queries created in SQL Server 2005 and I am making a form/interface for the database in Visual Basic .NET. I managed to connect the tables by using the BindingSource / DataGridView controls. However I cannot find the queries in … Software Development sql vb.net visual-basic windows-server | |
HELLo !! pls, i need help i have a VB.net application developed in MS Development Enviroment 2003 v.71.3088, with crystal reports in it, developed with Crystal Decisions for Visual Studio.net. so, reports are coded in the application, and deployed as part of the code , like this; Dim report As … Software Development operating-system vb.net visual-studio | |
Between NASM and FASM which one would you pick? And I pretty new to ASM but I think the Intel style looks better so I think that rules GNU out unless they have a Intel version syntax. Software Development assembly | |
I'm trying to port some code written in MS Visual C++ 8.0 (the version is copyright 1998, I know that for sure.) into MS Visual C++ 2005 Express. I've been having trouble trying to translate the code though. I've been using #include<random> as a header to generate random numbers. After … Software Development c++ | |
I am writting the fallowing program: The program is working find; however I can't get the funciton to calculate the total and the tax. can someome help me please. Here is the code... [COLOR=#0000ff]#include[/COLOR][COLOR=#000000]<iostream> [/COLOR] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000]<string> [/COLOR] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000]<iomanip> [/COLOR] [COLOR=#0000ff]void[/COLOR][COLOR=#000000] showMenu(); [/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] std; [/COLOR] [COLOR=#0000ff]const[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]int[/COLOR][COLOR=#000000] menu = … Software Development c++ | |
Hi buddies, Can any1 put my wheels on the right track. What i wana do is... Create a form with which is shown below.. 1 textBox (To get the URL like;[url]www.yahoo.com[/url]) 1 button (which when presss the input website will open automatically) help me Thnakx in advance.. Some what like … Software Development | |
I have this simple program that counts characters in a line as well as a specific character z and Z. I am trying to figure out the simplest way to output my results to a file "outfile.txt". any ideas? #include<stdio.h> #include<string.h> #include<stdlib.h> int main(void) { char string[80]; char *s; int … Software Development c | |
I'm doing a database project in c# and i have designed a ER diagram for it but i'm not sure if it is right can anybody possibly have a look at it for me to see if it is correct. If you can help me can you leave me a … Software Development | |
So, it would be nice to be able to insert scrollbars into my program (with Tkinter). Right now I'm using labels to display all my long blocks of text, and people flip through pages to get throught it all. I thought I'd try to add a scrollbar, but it doesn't … | |
Hi , Some one help me in excel macro If the cell vale is other than 2480, 4465, 3140,2689 i want the entire row to be deleted. regards Victor Software Development visual-basic | |
ok...i'm new to this c language and i was wondering what am i supposed to do if the user enters a string that is longer than my array size. for our assignment, we're supposed to ask for the user's name and our array size is supposed to be 20 characters. … Software Development c | |
So I'm at the final stages of my program -- it's a working experiment that creates a data file for each participant. My hope was that when I was done, it would be relatively easy to create an analysis program that searches through all the data files and create a … Software Development python | |
Hi to all... In a MFC application, I need to change the background color of a drop down list - combo box control. IDC_MYCOMBO is the resource id and m_myCombo is the name of the control. I need to change the backcolor programmatically. Is there a way to achieve that? … Software Development c | |
Hi, I am writing code in c++ for sending and receiving messages through ports. I have written code for opening port as hComm = CreateFile(portname,GENERIC_READ | GENERIC_WRITE, 0, 0,OPEN_EXISTING,0,0); this is done , but Now I need to send the message to be send to Port. also need to get … Software Development c++ | |
In the thread programming environment on the C language, we have to create a "struct" data structure if more than one arguments are needed. I need a two dimensional array on that struct. I got a syntax error when I declare it! The following is the code: [code=c] #include<stdio.h> #include … Software Development c data-structure | |
ok you will probably be sick of my posts but i have tryed and got this far, i ripped the program to pieces and started again. basically its a atm program that i have to do for college. if anyone can see why its not workin properly it would be … Software Development python | |
I'm very new to VB this is my first attempt at a project. basically i want a simple program that will display a famous singers surname in a text box, then ask the user to input the singers first name in another box. The system must then check the answer … Software Development visual-basic |
The End.