132,726 Archived Topics
Remove Filter ![]() | |
hy can anyone help me out with this code plz [CODE] #include <iostream> //Declarations #include <iomanip> #include <fstream> #include <cstdlib> using namespace std; double SaleSlcdDep(); double SaleALLDep(); double AveSaleALLDep(); double HighestSaleALLDep(); double alphatest1(); double alphatest2(); double menu(); int main() { double sales[12]; // Sales Input for the 12 departments double … Software Development c++ | |
This progran is a frontend for the windows "taskkill". If i type the output directly into a command window, it works, but it will only kill taskmgr.exe from this app. Any thoughts appreciated. [CODE] #include <iostream> #include <cstdlib> using namespace std; int main(int argc, char *argv[]) { string computer,domain_user,password,imagename,command,force; int … Software Development c++ | |
For the last 3 days I have been trying to compile m assingment on visual studio 2008. Its giving me error: [QUOTE]Error 2 error C2143: syntax error : missing ';' before 'using' screen.cpp 27 Assignment_2[/QUOTE] This is the same error its giving me in my main: [QUOTE]Error 1 error C2143: … Software Development c++ visual-studio | |
hi everyone, how can i react on a plugged in usb drive? (e.g. show a messagebox or whatever when a usb drive is plugged in) The whole thing needs to run under windows only (xp and maybe vista) Software Development c++ windows-vista | |
Hi everyone, I am new to this programming and I was wondering if someone, well anyone can help me. I have this assignment due in a few days and I don't know where to start. The challenge is: Evaluate if the word or sentence entered by the user is a … Software Development c++ | |
Hi Friends! I am creating a project & want to minimized its form like photoshop in its own status bar. How can I do this ? Any Idea .... ? Software Development visual-basic | |
I made a datareport simple. just connect. but I want to make it with condition. I have 2 dtpicker for date. I want 1 day report or weekly or monthly report by dtpicker. example I want 03/11/08 report or 01/11/08 to 03/11/08 report. But I dont know how make it. … Software Development visual-basic | |
Does anyone here have a wxPython code that converts a folder of images to a .wmv file just by clicking a button? What I did in my program was I load an Image-to-Video Converter Software by clicking a button but I feel that it would be better if I can … | |
Hi, I would appreciate any help with the problem I am having. I am trying to read text from a file (currently just 'yes' or 'no') and print the out the results in this format: 1 yes 2 no 3 no etc. I have been able to write a some … Software Development c++ file-system ios | |
hi i want code in VB.net 2008 or 2005 to find Max for negative value ??? also this function can find max for positive value Example: -223.5 , -456.7 , - 999.7 , -78.9 Max= -78.9 please help me :( Software Development vb.net | |
Hi, In one of my task i need to strip off zero from a string. In the following variable declaration : var i = A010; (Alphanumeric format type which has 10 spaces) i need to strip off zero between A and 1. i should not remove the zero which comes … Software Development java | |
[QUOTE]Hello Everyone, [/QUOTE] I would like to ask some help from you. I'm Mark from the Philippines. I'm a newbie programmer and I'm new with java,that's why it's very difficult for me to make a program using java. Our Teacher had given us an assignment using java,to make a simple … Software Development java | |
I've got a lot of text to display in an app I am working on. I know that this eats of resources so I'd like to put them somewhere else, like maybe a file that I stuff into the resource file, if that is possible. Also, I'm thinking to the … | |
Having a big project and having to compile it in order to run it each time, takes long time. I want to run it without build stage if possible(provided that i didnt make any change to source codes). Any ideas? Thanks. Software Development asp.net | |
hi,pls wat does this symbol mean(%)?i know it means remainder,but can not seem to understand in what context . for example if you say hours = hours%24; minutes = mins%60;................. Software Development java | |
Hi, How to get the value from a hashtable irrespective of its case... plz reply ASAP. Thanks in advance, Shilpa Software Development java | |
I tried a code like this [CODE] #include <stdio.h> int main() { enum a { b, c, d, e,}f; printf("The stack top is near %p\n", &(f = e) ); return f; }[/CODE] and got message : error: lvalue required as unary ‘&’ operand I use gcc4.3.2. and I had tried … Software Development c | |
Hi. Just wondering if there's a shortcut to this code? [code] if (calculation(codeword, s[0]) == calculation(codeword, s[1]) || calculation(codeword, s[0]) == calculation(codeword, s[2]) || calculation(codeword, s[0]) == calculation(codeword, s[3]) || calculation(codeword, s[1]) == calculation(codeword, s[2]) || calculation(codeword, s[1]) == calculation(codeword, s[3]) || calculation(codeword, s[2]) == calculation(codeword, s[3])) [/code] Thanks in … Software Development java | |
Hi, I'm trying to work on a program to reverse string input upper case to lower case vice versa. I got that part working but the second thing is I have to count the number of graphical character from user input. I'm a bit confused about using pointer as well. … Software Development c++ | |
Hi friends, I'm newbie to shell script. I wanted to create a shell script which able to write a result for all the telnet connection status. For example, from this machine I want to test the telnet connection (total 100+ servers) with this machine. Any idea how to write this … Software Development shell-scripting | |
Hello Fellas, I would like to ask some help from you. I'm Mark from the Philippines. I'm a newbie programmer and I'm new with java,that's why it's very difficult for me to make a program using java. Our Teacher had given us an assignment using java,to make a simple chat … Software Development java | |
hi i need help with writing a program...I have to Write a program that simulates a student registration. A button allows entering a student name. Three more buttons are used to enter test scores. Name and test scores are entered into a text field. The information about the student, including … Software Development gui java java-swing | |
What is the easiest way to search a text file for a particular string? I have text files resembling the following : FILE A HAS 2266 LINES OF WHICH 951 WERE IGNORED FILE B HAS 2193 LINES OF WHICH 878 WERE IGNORED THERE WERE 2 DIFFERENCES Can anyone help me … Software Development python | |
Hi, I need help building a very simple excel macro that iterates through all cells of the table, checks if they are not a particular color and if so changes to another color. So if the two colors are called BLANK and FILLED respectively, then the psedocode would look like: … Software Development visual-basic | |
// author :: DEEPAK PS // AMRITA UNIVERSITY,AMRITAPURI //BSC CS [code=c] #include <graphics.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> int main(void) { /* request auto detection */ int gdriver = DETECT, gmode, errorcode; int left, top, right, bottom,i; // char s[20]="Done By DEEPAK.."; /* initialize graphics and local variables */ … Software Development c | |
How to convert ISingleResult<..> to List? in WCF? please give detail information... Software Development | |
Whats the difference between loading an XML into a string or from a file stream? Software Development file-stream xml | |
Hello! I am a newbie to scripting and I'm trying to start an application via a bash script after checking to make sure that two condititions do (or do not) exist first. I've attempted to write down what I'd like to do and was hoping someone could point me in … Software Development shell-scripting | |
what's wrong with the code, it doesn's display the data based on the SQL query: Private Sub cmdSearch_Click() On Error GoTo Notfound squery = "": squery = "Select * from tblStation where Station like " & txtStation.Text & "" Call ExecuteCommand With Me .txtStation = rs!Station .cboCluster = rs!Cluster .txtArea … Software Development sql visual-basic | |
I am running the following Update Query in my program and I am encountering the following Error: Run-time error '2147217900 (80040e14)': Syntax error in UPDATE statement Here is the code i am running My module contains the following code: Public UserName As String Public UpdatePassword As String Public rsUpdateUserQuery As … Software Development sql visual-basic | |
hi all, I have one problem with resizing forms. I am developing our application in vb and i gave code for resizing forms in resize event of form. First i save the sizes of all controls in forms in form load event and then in resize event i resizes all … Software Development visual-basic | |
Where should I get the declaration ADODB.Stream Object? as far as i know, ADODB library has only 4 objects: Command, Connection, Recordset & Parameter. I need this object for the Image DB. thanks Software Development visual-basic | |
Hey guys i need help. I need to write a program that computes all of the following statistics for a file and outputs the statistics to both the screen and to another file: the total number of occurrences of characters in the file, the total number of nonwhitespace characters in … Software Development c++ file-stream | |
Hi I have a command that produces the following: [code] /usr/ucb/ps -auxxx|awk '{print $3,$4,$2,$1,$11}'|grep -v 0.0 %CPU %MEM PID USER COMMAND 0.2 5.217405286920 1910 noaccess 0.1 0.1 180 root 0:43 0.1 0.1 686 root 0:41 0.1 0.1 26198 chris /usr/lib/ssh/sshd 0.1 0.1 26767 root /usr/ucb/ps 0.1 0.1 26215 root bash … Software Development shell-scripting | |
Hi, im working on a Computing A Level project, it involves making a virtual Ballot Box. One of the things the Ballot Box is required to do is to choose the winner by determining which candidate has received the highest number of votes. Has anyone got ANY IDEA how i … Software Development visual-basic | |
how do i find methods in a .exe so i can create a dll injection that uses those methods? Software Development c++ | |
Is there a reason to use [code] cout << static_cast<int>(thing); [/code] instead of [code] cout << (int)thing; [/code] ? Thanks, Dave Software Development c++ | |
I like really clean code so I want to pull all of the common includes into a separate file and then include that single file in all my other files. Also makes it easier if I start using a new or different library cuz I only have to change it … | |
error correction codes how to write a progam for error correction codes. Software Development c++ | |
whether there is c program implimentation forthe stable marriage problem? How can I extend this problem in a real life situation? Software Development c | |
Hello, I have just started learning Python. Please can you tell me if there is a way to read in a file one bit or byte at a time (i.e. in binary). Thank you! Software Development python | |
Hi, i need some help, i'm stuck with a program that takes that takes 4 object, sorts them out and prints them. I'm using pointers but now i'm stuck because i cannot out see what i'm doing wrong. I have a felling that at some point i'm not passing the … Software Development c++ | |
Hi I was just wondering if anyone knows/ can recommend books on wxPython? Of course quite a few come up on Amazon when I do a search but I was wondering if someone here has used a wxPython book and found it particularly helpful? Thanks Software Development python | |
![]() | a while ago i asked for help with a web crawler and i got it, but now in the air cadets we are looking at the history of the raf and i wanted to know if there is any way i can edit the code below to search for sites … Software Development python |
The file gets more kB then the original ( 114KB to 914KB) And something weird: when I try open the new file with the notepad, it loads forever and i get a program not responding message when I try to close it, with the original file it loads ok.. By … Software Development c++ file-system ios | |
Hi I am trying to process a large text file. I would like to include parameters at some places in the file. Run it through python and write out the "processed" file with the values of the parameters in the new file. Example: original file: a =1 b=2 c= param1 … Software Development file-system python | |
how can i pass a variable to command? ex.. [CODE] #include <iostream> using namespace std; int main(int argc, char *argv[]) { string ip cout << "Enter an ip"; cin >> ip; system("ping ip"); //// this is the problem. how do i enter the value of "ip" here? system("PAUSE"); return EXIT_SUCCESS; … Software Development c++ | |
In the writing of this program, I have happened upon a problem in the main method of the Tester class. In the Tester class, I am trying to print out the average monthly electric bill value. However, when I try to run it, I get an error stating: "calcAveragePrice(java.util.ArrayList<java.lang.Double>in CO2FromElectricitycannot … Software Development java | |
I just wrote a simple function to convert a number with any base into a base 10 number: [CODE=c]#include <stdio.h> #include <math.h> #include <string.h> int tobase10(int *input, int size, int base); int main() { int input[256] = {2, 2, 1, 0}; printf("%d\n", tobase10(input, 4, 3)); printf("Press any key to continue … Software Development c |
The End.