132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Spanki

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++
Member Avatar for ddanbe
0
95
Member Avatar for eviocg

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++
Member Avatar for mitrmkar
0
119
Member Avatar for sid78669

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
Member Avatar for sid78669
0
228
Member Avatar for replic

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
Member Avatar for William Hemsworth
0
81
Member Avatar for sophia77

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++
Member Avatar for sophia77
0
185
Member Avatar for Ravi Kant

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
Member Avatar for abu taher
0
114
Member Avatar for abu taher

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
Member Avatar for abu taher
0
812
Member Avatar for karenmaye

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 …

Software Development image python video
Member Avatar for sneekula
0
2K
Member Avatar for DCvonB

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
Member Avatar for Ancient Dragon
0
174
Member Avatar for zahraj

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
Member Avatar for zahraj
0
93
Member Avatar for av11453

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
Member Avatar for verruckt24
0
152
Member Avatar for campuzcrazyness

[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
Member Avatar for kebede
0
203
Member Avatar for m610

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 …

Software Development app-store pascal
Member Avatar for jsosnowski
0
160
Member Avatar for serkan sendur

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
Member Avatar for dickersonka
0
146
Member Avatar for get2tk

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
Member Avatar for masijade
0
80
Member Avatar for SSagar

Hi, How to get the value from a hashtable irrespective of its case... plz reply ASAP. Thanks in advance, Shilpa

Software Development java
Member Avatar for masijade
0
99
Member Avatar for PCli

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
Member Avatar for PCli
0
110
Member Avatar for shevy24

hello, can somebody tell me where i can download a free c++ video tutorial.....i really need it badly

Software Development c c# c++ video
Member Avatar for Spanki
0
213
Member Avatar for T'Scoopz

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
Member Avatar for masijade
0
104
Member Avatar for delifion

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++
Member Avatar for MrSpigot
0
109
Member Avatar for yhcheong

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
Member Avatar for Comatose
0
1K
Member Avatar for campuzcrazyness

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
Member Avatar for stultuske
0
428
Member Avatar for ComputerGirl

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
Member Avatar for darkagn
0
137
Member Avatar for JeyC

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
Member Avatar for JeyC
0
122
Member Avatar for neclark2

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
Member Avatar for cguan_77
0
93
Member Avatar for deepakps

// 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
Member Avatar for ithelp
0
118
Member Avatar for tanu.rajgor

How to convert ISingleResult<..> to List? in WCF? please give detail information...

Software Development
Member Avatar for alc6379
0
270
Member Avatar for mastermosley

Whats the difference between loading an XML into a string or from a file stream?

Software Development file-stream xml
Member Avatar for alc6379
0
3K
Member Avatar for rman10

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
Member Avatar for eggi
0
168
Member Avatar for arvin2006

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
Member Avatar for arvin2006
0
146
Member Avatar for jreeson

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
Member Avatar for jreeson
0
202
Member Avatar for guest11

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
Member Avatar for guest11
0
161
Member Avatar for arvin2006

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
Member Avatar for arvin2006
0
1K
Member Avatar for sabian4k

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
Member Avatar for sabian4k
0
301
Member Avatar for chris5126

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
Member Avatar for Fest3er
0
2K
Member Avatar for deems

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
Member Avatar for vb5prgrmr
0
151
Member Avatar for nschessnerd

how do i find methods in a .exe so i can create a dll injection that uses those methods?

Software Development c++
Member Avatar for nschessnerd
0
81
Member Avatar for daviddoria

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++
Member Avatar for Narue
0
102
Member Avatar for toadzky

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 …

Software Development c++ opengl
Member Avatar for toadzky
0
194
Member Avatar for dharanidaran

error correction codes how to write a progam for error correction codes.

Software Development c++
Member Avatar for Ancient Dragon
0
137
Member Avatar for miniroselit

whether there is c program implimentation forthe stable marriage problem? How can I extend this problem in a real life situation?

Software Development c
Member Avatar for ArkM
0
99
Member Avatar for alicem

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
Member Avatar for jlm699
0
6K
Member Avatar for losh177

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++
Member Avatar for losh177
0
229
Member Avatar for artemis_f

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
Member Avatar for lllllIllIlllI
0
128
Member Avatar for leegeorg07

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
Member Avatar for lllllIllIlllI
0
108
Member Avatar for Icebone1000

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
Member Avatar for nucleon
0
209
Member Avatar for ask2

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
Member Avatar for ask2
0
188
Member Avatar for eviocg

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++
Member Avatar for eviocg
0
99
Member Avatar for jdbarry

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
Member Avatar for jasimp
0
190
Member Avatar for Hiroshe

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
Member Avatar for Hiroshe
0
171

The End.