132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for new_2_java

Hi all, I want to make an executable JAR file, and am facing some problems. Here's what I have tried: My program is in the following folder C:\extract\ExportTest.class I created a Manifest (Manifest.mf) file in the same directory and the content of it is: [code] Main-Class: ExportTest [/code] There's also …

Software Development java
Member Avatar for majestic0110
0
117
Member Avatar for jobob64

what about overloading the subscript operator to… say sort an array of ints without templates... example: [code] class Whatever { private: int * m_value; public: int &operator[](std::size_t index); }; [/code]

Software Development c++
Member Avatar for Narue
0
116
Member Avatar for shankarjadhav

Guys, How to check for java installation in windows, i want some code/pseudo code/algorithm.. Help me out.....

Software Development algorithm java
Member Avatar for Ezzaral
0
529
Member Avatar for SteveDee

I am writing a simple program to read in date from a lotto winning numbers file. The data is structured like this: 01/03/1998 6 - 12 - 20 - 33 - 34 - 50 01/10/1996 13 - 22 - 34 - 40 - 44 - 49 etc. No matter how …

Software Development c++
Member Avatar for Narue
0
577
Member Avatar for jessxe02

plss give me some basic example of sorting with user input!!!! thx

Software Development java
Member Avatar for Ezzaral
0
75
Member Avatar for driplet

Hi masters: I got an error message when I was compiling my code: "E2293 ) expected" It indicates some thing wrong in a line on which I defined a function. There are a lot of arguments in this function and some ones are array. I checked this section many times …

Software Development c++
Member Avatar for driplet
0
154
Member Avatar for sourcerer

Can you please help me to write code on SRTF (Shortest Remaining Time First) on my O.S. subject! The requirements are: Enter No. of Jobs, Arrival Time and the Burst time! PLZ HELP ME!

Software Development java
Member Avatar for javaAddict
0
85
Member Avatar for DoctorBob

Hello.. I finished a program that does multiplication by successive addition.. But now I want to change my program to do division by successive subtraction? I tried to change my while loop to break out sooner but it didn't work... Thanks for any Help! [code] #include<iostream> using namespace std; int …

Software Development c++
Member Avatar for Colin Mac
0
99
Member Avatar for Agni

I have a vector of a structure.. say [QUOTE]struct employee { string name; int age; int empId; }; and a vector of this structure RWTValOrderedVector<employee> vec;[/QUOTE] suppose this vector has 4 entries. Now if i want to find in this vector for employee information of a specific employeeid, how do …

Software Development c++
Member Avatar for DangerDev
0
123
Member Avatar for hidash_in

i want to move a single file from a folder. i tried my level best. but the all the files from the folder is moving. pls anyone is there to solve my problem.

Software Development java
Member Avatar for masijade
0
300
Member Avatar for shaikh_mshariq

Hi, I am new in programming snmp using java. I found snmp4j api for java to snmp programming but it does not contain any example to create agent and deploy it. Any one have solution for my problem. One more question using snmp can we deploy snmp agent remotely ? …

Software Development api java
Member Avatar for shaikh_mshariq
0
97
Member Avatar for SiPexTBC

I'm making a program that divides by 1000. It works fine until it divides by a number higher than itself. For example [CODE] double asdf = (1000 / 3000); Math.Round(asdf); txtSpeed.Text = asdf.ToString();[/CODE] When it divides by a number higher than 1000 it just gives me 0. Anyone know what's …

Software Development
Member Avatar for Ramy Mahrous
0
271
Member Avatar for Saman Aslam

Hi All ! I want to use the returned value of user defined function of source code(VB.NET) in Databases( MSSQL) is it possible to throw the returned value of user defined function of source code into databases? Kindly Help me in this regrads plzzzz ... its really very urgent ! …

Software Development mssql vb.net
Member Avatar for Ramy Mahrous
0
106
Member Avatar for twoheadedboy

[code=language] #include <iostream> #include <fstream> #include <cmath> using namespace std; //Begin by defining the functions that are to be called in the main program double f (double x) //Function 1 Finding 1/x, the integrand, this shall be called f { //Function 1 Body double y; y=1.0/x; return y; } //End …

Software Development c++
Member Avatar for VernonDozier
0
149
Member Avatar for Ankita B

Hi, My java file is compilin fine but wont execute. its a simple hello application.i have set classpath as .;C:\Program Files\Apache Group\Tomcat 4.1\webapps\myfolder\WEB-INF\classes;(even if i remove the semicolon at end it doesnt work) and path as C:\j2sdk1.4.1_01\bin This is where my class and jdk are saved. i've tried all the …

Software Development apache java
Member Avatar for masijade
0
61
Member Avatar for jince

I Am Currently Working On A Project For A Pathology Lab. I Am Trying To Display Only The Fields That I Need And It Is Not Quite Working. For Eg:- I Have 3 Fields ----name,add And Tel And I Only Fill The Name And Add, The Report Looks Like This …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
65
Member Avatar for xeption12

hi there :) i'm currently practicing with the recursive backtracking method by trying to solve all the suggested problems... one of them says: find all the solutions for the next ecuation: 3x + y + 4xz = 100 so the solution would be of type S={(x,y,z) | x,y,z belonging to …

Software Development c++
Member Avatar for xeption12
0
131
Member Avatar for ashkash

I have data in a list and each entry in the list is seperated as follows: XXXXX,XX/XX/XXXX Where the X represents a number. The data after the comma is supposed to be a date and could possibly be null. I need to take the first part of the data before …

Software Development java
Member Avatar for javaAddict
0
116
Member Avatar for sn_sundeep

Hi, Is there any way so that I call mspaint through my C program and edit the resolution or resize my photos? Sundeep

Software Development c
Member Avatar for Belrog
0
81
Member Avatar for Allen 0108

I can only compile my source code if the command prompt is pointed to the compiler directory or the source code directory. Basically, I can get the compiler to compile from either: [B][B]C:\Borland\BCC55\Bin>[/B] C:\bcc32>[/B] or [B] C:\01proj\hworld.cpp[/B] (location of source code) My source code is [code=c++] // C++ code template …

Software Development c++
Member Avatar for Adrian99420
0
111
Member Avatar for jeme

i would like adding tow number by postfix when the inputs like : 5,7 then the out put: 57+ i hope there is recommendable code for that program

Software Development c
Member Avatar for Belrog
0
95
Member Avatar for kv79

Hi , How can i get access to ( .rc)file when i already load it(already start my program). I want to make some changes from main window. Thank you for your effort of reading .

Software Development c
Member Avatar for Belrog
0
102
Member Avatar for achillez

[code=c] #include <stdio.h> int main() { unsigned short i = 0; scanf("%u", &i); printf("%u", i); } /* int main() { unsigned short i = 0, j = 0; scanf("%u", &i); printf("%u", i); } */ [/code] hey try the above prog, cc short.c -o short then ./short enter a number, you …

Software Development c
Member Avatar for Belrog
0
143
Member Avatar for Lynxus

I have a petrol pump simulator system and the Price Per Litre is entered through an Edit box and then the Images for each digit is displayed in an Imagebox. That part works fine, but however eachtime the application is closed the Price per litre is reset and It has …

Software Development delphi pascal
Member Avatar for Duoas
0
195
Member Avatar for gcardonav

Hey guys I know I have posted this type of question before but I want to get to the nitty-gritty of this. I have the following program that sorts ten numbers enter by the user. The program work but I am not able to see the results because the program …

Software Development c++
Member Avatar for plgriffith
0
184
Member Avatar for mark192

I've been programming for about a week now and I'm just learning if statements now I made a simple program that asks the user for a number input (1-4) and depending on what they input it will add/subtract/multiply/divide 2 numbers they enter after they decide what operation they want to …

Software Development c++
Member Avatar for hsram
0
114
Member Avatar for teppuus

Hello, I am having some trouble traversing backwards through a double linked list. Basically this program pulls words from a text file (I have attached the file I am using), corrects the words and stores them in an array of pointers (one pointer per letter of alphabet) of double linked …

Software Development c++ data-structure file-stream linked-list
Member Avatar for teppuus
0
178
Member Avatar for mahendrazod

Hi friends, I am trying to develop the smiley installer which will install the smiley/emoticons on messengers installed on your system. Can anyone help me for below. 1) which language/technology should I use for it? 2) Give outline/algorithm ? Thanks in advance. Regards, mahendra

Software Development algorithm java
Member Avatar for Phaelax
0
62
Member Avatar for Joga

Hi everyone, I need help with the C++ program. I need to find a way to write this: compute the product of a*(a+1)*(a+2)*...*(b)

Software Development c++
Member Avatar for Narue
0
117
Member Avatar for coolbreeze

I've got a program to write and im struggling to start out.. read one integer, n, from a file, then loop the program n times, using indexes 1-n. I'm not really sure where to start with that statement... Im a bit rusty in c++ haha. Each time through the loop …

Software Development c++
Member Avatar for vmanes
0
161
Member Avatar for k2k

Does anyone know how to delete a specific index of an array? Is there any recommended library out there ?

Software Development c++
Member Avatar for Narue
0
110
Member Avatar for ConfusedMuchMor

Hi Folks I had problems running my project outside the enviroment. I was told I should Publish it. I don't understand the paths or option I have to choose from, does anyone have a link to some literature on the subject or able to enlighten me? I've tried publishing it …

Software Development publishing
Member Avatar for tostrinj
0
122
Member Avatar for nice_sayed

The Address Book is a collection of records and one record should have following fields about a contact • Name • Address • Phone number • Email address The Address Book program should have the following features 1. Add-to add a new person record 2. Delete-to delete an existing person …

Software Development c++
Member Avatar for zandiago
0
105
Member Avatar for LanierWexford

I have a file of cencus data that I need to read and then manipulate in several ways. The file looks like this. CountyName Population Housing Location Adams County 34340 15175 W Attala County 19661 8639 E Benton County 8026 3456 N Bolivar County 40633 14939 N Calhoun County 15069 …

Software Development python
Member Avatar for Ene Uran
0
108
Member Avatar for shadowfire36

ok i just got my ass chewed by my professor cause he gave us a a program to build and i used visual studio to build it . he told me he wants his programs built in a compiler , i told him i was using visual studio , he …

Software Development c++ ide visual-studio
Member Avatar for WaltP
0
959
Member Avatar for jimmy.rocks1

Hi, I am having a problem in implementing multithreading in my program.i have a function which goes like this int x=NodesArray[2]->SendData(routeInfo,countDataPackets,pathInf); i want to call this function with the help of CreateThread and i did it this way hThread[0]=CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)NodesArray[2]->SendData(routeInfo,countDataPackets,pathInf),NULL,0,&dwID[i]); i just read some programs online and read microsoft visual c++ …

Software Development c++ multithreading
Member Avatar for jimmy.rocks1
0
122
Member Avatar for MikeKristal

I have a question, my code doesn't work right, I try to put in a break, so it understands to go to the next case, but it doesn't do anything...Does anyone know how to make it run so that the Username enter in correctly and run the rest of my …

Software Development c++
Member Avatar for MikeKristal
0
118
Member Avatar for piers

right I am trying to practice with my programming taking my lectures advice and breaking the problem down into steps, then when I code, code a small amount, compile it check it works and then code the next bit. So I have an exercise I am trying out. Part of …

Software Development java
Member Avatar for Ezzaral
0
145
Member Avatar for Ajuddy

/stores and retrieves data for two secret asgents [code=c] #include<stdio.h> void main () { struct personnel { char name [30]; int agnumb; int agent; }; struct personnel agent1; struct personnel agent2; char numstr[81]; printf("\nagent 1.)\nEnter name:"); printf("Enter agent number (3 digits): "); gets(numstr); agent1.agnumb=atoi(numstr); gets(agent2.name); printf("Enter agent number (3 digits);"); …

Software Development c c# c++
Member Avatar for WaltP
0
113
Member Avatar for new_2_java

Hi all, I want to run an OS command from my Java code. Basically I want to delete an unknown number of file from a particular directory from my Java code (in windows). But the way "del *.*" commnad works it prompts you whether you want to delete it or …

Software Development java
Member Avatar for new_2_java
0
126
Member Avatar for francisprite

This is a piece of code that I can't seem to get right. Hehe. I've initialized the string "sym" to have the values '0' and '0'. I then call the function "cnvrt" and use "sym" in the parameter(not so sure if that's the right term) of "cnvrt". Since strings are …

Software Development c
Member Avatar for WaltP
0
100
Member Avatar for Maelstrom80

I bet the answer to my problem is hidden somewhere in these forums as this seems to be a fairly common question, yet after literally 2 days of searching for an answer I can't find it so please bare with me. What I'm trying to do here is to read …

Software Development c
Member Avatar for Ancient Dragon
0
129
Member Avatar for n_mehdi

hey guys... here's my question i have to read a text file and find some key words in it .... i know i cannot have a set of strings, and i know everytime i find a word i can check the word with a linklist or an array of strings.......... …

Software Development pascal
Member Avatar for fayyaz
0
79
Member Avatar for linux0id

Hi everyone! I am new to C++, started not so long ago. I am writing a database program using sqlite3 and gtkmm (C++ bindings to GTK) GUI toolkit. I am using Eclipse for project building (managed make). In my project, I have two folders - 'db' and 'interface'. here is …

Software Development c++ gui
Member Avatar for linux0id
0
124
Member Avatar for jforell

Hey everyone, I'm taking an intro to python class and i've run into a bit of a barrier. My assignement is listed below: "Write a program that takes the following inputs: (i) an initial capital C, (ii) a yearly investment Y ,(iii) an interest rate (percentage) P, and (iv) a …

Software Development python
Member Avatar for ZZucker
0
102
Member Avatar for fonz87

hey guys i need mad help with this! im soo lost and stressed out over this and not understanding how to do this. Can anyone help me with this ??? I m new to python and some of this stuff is so confusing to understand. i have 4 problems i …

Software Development python
Member Avatar for ZZucker
0
82
Member Avatar for new_2_java

Hi all, I want to read a properties file from the same directory as my program, e.g. my program is in C:\WorkSpage\Myprogram.java and I have a properties file called index.properties how can I read the file, without specifying a path? I have tried the following but it doesn't read the …

Software Development file-system java
Member Avatar for new_2_java
0
152
Member Avatar for aaronight

am having this problem .........visual studio 2008\projects\project school billing systems\project school billing systems\project school billing systems.cpp(5) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory and below is my code, can some 1 help me get it right,......... [COLOR="Red"]school billing system from lower primary(1-3)/ upper …

Software Development c++ visual-studio
Member Avatar for JRM
0
2K
Member Avatar for damir_john

how can I create a simple script to do this: find the diroctory of iw3mp.exe open iw3mp.exe + connect 62.211.12.142:27015

Software Development c++
Member Avatar for JRM
0
149
Member Avatar for larryperl

Here is mywhole script. [CODE]WhenToRun="01:00" FilesToDelete="*log* *.log*" FileLocation="$INTAS_INSTALL_DIR/envs/logs" if [[ ! -d $FileLocation ]];then echo "The FileLocation specified in Non-Existant" fi Progname=$(basename $0) Usage="Usage:$Progname"'[-a <delete or backup>] [-l|-L <backup location>] [ -t <time>]' IsCronJob=0 if [[ "$1" = "cron" ]]; then . ~/.kshrc IsCronJob=1 if [[ -z "$INTAS_INSTALL_DIR" ]]; then …

Software Development shell-scripting
Member Avatar for larryperl
0
157

The End.