132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for miraj0072004

Hello friends , I am new to ant tasks.in this custom ant tasks I have tried to implement, there are two classes HelloWorld.java and CmdCompile.java. this is the build.xml I use, [CODE]<?xml version="1.0" ?> <project name="Antcompile" default="main" basedir="."> <!--<description>Builds, tests, and runs the project Antcompile.</description>--> <import file="nbproject/build-impl.xml"/> <taskdef name="hello" classname="just.inside.HelloWorld"/> …

Software Development java xml
Member Avatar for ~s.o.s~
0
379
Member Avatar for effizy

Hello all, I am completely new to c++ and have no idea what am doing or should be doing but am ready to learn. My first problem is to write a code "to calculate average score of uncertain numbers of student and the output should be (number of students,total points …

Software Development c++
Member Avatar for bleedi
0
114
Member Avatar for srinivasan106

[B]this program is to find maximum and minimum using divide and conquer technique[/B] [CODE=C]int min=32000,max=0; void maxi(int [],int,int),merge(int [],int,int,int,int); void main() { int a[30],n,i; printf("enter the limit\n"); scanf("%d",&n); printf("enter the aray elements\n"); for(i=0;i<n;i++) scanf("%d",&a[i]); maxi(a,0,n-1); printf("maximum is %d and minimum is %d\n",max,min); getch(); } void maxi(int a[],int first,int last) { …

Software Development algorithm c
Member Avatar for ananda2007
0
154
Member Avatar for sizzlefire

I currently have a program I have been working on that uses GeckoFX which is a webbrowser control for its backend. It works fine if I have it load a site such as google, however this specific site is crashing the browser no matter what and I cannot debug it. …

Software Development
Member Avatar for sizzlefire
0
91
Member Avatar for sap.queue

#include<stdio.h> #include<stdlib.h> #include<ctype.h> #include<string.h> #include<math.h> #define TRUE 1 #define FALSE 0 int t=1; int place(int k,int n); int queen(int k,int n); int x[5];//index for column and value at that index is row number int place(int k,int n) { int j; for(j=1;j<k;j++) { if((x[j]==x[k])||(k-j)==abs(x[j]-x[k])) { //printf("hi\n"); t=0; return t; } else …

Software Development c
Member Avatar for ananda2007
0
147
Member Avatar for snehalata86

Hello, I am trying to make a report which provides drill down facility for each slice inside the pie chart.If the slice refers to USA then another report should be opened which will provide detailed information about orders placed in USA.But it is not working. I have created two reports.In …

Software Development java
Member Avatar for satheeshsv
0
368
Member Avatar for saanda

Hi! Please, I really need help with a problem. I need to read numbers (float type) from a file. Numbers are arranged in rows, I don't know how many in each row, there may be a large number of numbers (milions). How can I read each row of numbers, for …

Software Development c++
Member Avatar for mtbs1826
0
20K
Member Avatar for winbatch

I am trying to write a variable argument function on SUN solaris. According to MSDN, the _vscprintf function that I'm using on windows should work on unix as ANSI is listed. [b]_vscprintf[/b]<stdio.h>ANSI, Win 98, Win Me, Win NT, Win 2000, Win XP [size=2]However, including stdio.h doesn't seem to help. Is …

Software Development c unix
Member Avatar for noormanman
0
601
Member Avatar for RahulV

[B]--URGENT--[/B] I have created a database in Access 2007 ([COLOR="Red"][B]*.accdb[/B][/COLOR]) format but im not able to connect it to VB6.0 project to access the data. i know how to connect using Access 97 / 2000 ([B][COLOR="Red"]*.mdb[/COLOR][/B]) format but how to connect and use DML queries on a Access 2007 file …

Software Development visual-basic
Member Avatar for AndreRet
0
119
Member Avatar for luiso

I´m working in a very important project and I need to find out as fast as it´s possible how to do this. Please, anybody there send me something. I can´t buy the very expensive PDFRRasterizer lib from tallcomponent. Thanks.

Software Development asp.net pdf
Member Avatar for CloneXpert
0
4K
Member Avatar for freddyvorhees

Good day, my main goal is to create a bubble sort in assembly. You'll input n integer 0-9, (25 >= n > 0). Inputted in one line separated by spaces, then return carriage. So my question is how to accept integer stored in an array. Thank you. P.S. Can you …

Software Development assembly
Member Avatar for gacha23
0
245
Member Avatar for P00dle

Hi Daniweb. I'm using a file mask (eg '*.txt') to filter filenames in a program that I'm writing. It gets the file mask from an .xml settings file. Currently the mask is '*.xml', and the code I'm using to filter this is like this: [CODE]Pattern.matches(fileMask, fileName);[/CODE] The exception that is …

Software Development java regex xml
Member Avatar for P00dle
0
4K
Member Avatar for Krs13

Hi, I have a login screen where user enters their name and password. The username and password are stored in access. Then when the user opens forms i need their username to appear in the form. Can somebody give me code for that please. Thanks Krs

Software Development visual-basic
Member Avatar for Krs13
0
181
Member Avatar for halofan91

Hello, new here, I am having trouble with a part of my C++ assignment I am doing for university. The assignment is about writing a structure for a bank account and then subsequently enter values for the account's number, balance, interest rate, term of holding and deposit/withdrawal amounts. The part …

Software Development c++
Member Avatar for halofan91
0
162
Member Avatar for mns_2010

Here is a client code for socket programming: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <netdb.h> #include <sys/types.h> #include <netinet/in.h> #include <sys/socket.h> #include <arpa/inet.h> #define PORT "3490" // the port client will be connecting to #define MAXDATASIZE 100 // max number of bytes we can get …

Software Development c++ client-server socket-programming
Member Avatar for mns_2010
0
163
Member Avatar for geek1

data compression in c++. this is a text compression eg: gggghhnnnmmmmm would give us: g4h2n3m4 thank you

Software Development c c# c++
Member Avatar for Aranarth
0
91
Member Avatar for rmsagar

Hi, I have a file which contains lines in a unformatted way, from that file I would like to take the value of ID=xxxx which can be in the beginning of the line or at the end or in the middle sometimes inside the brackets and repeated multiple times in …

Software Development python
Member Avatar for rmsagar
0
99
Member Avatar for yapkm01

I am newbie to C++ and pretty confused about initialization of local variables for built-in and class types. Here's a snippet of the code: 1 #include <iostream> 2 using namespace std; 3 4 class A { 5 6 public : 7 A() : x(9) {}; 8 int x; 9 10 …

Software Development c++ ubuntu
Member Avatar for arkoenig
0
1K
Member Avatar for alnerdy

Hi all, I am a total mathlab newbie and hence am having trouble with even the simplest of things. i have an m file which contains just the following 3 lines % test func function y = f1(x,c) y = x*x - c when i "run" this i get an …

Software Development
Member Avatar for hero_hont
0
126
Member Avatar for daneuchar

This was asked in a interview by Cognizant Technologies Print the name in center of the screen and then make the letter drop one by one out of the screen how to solve this ? ex. Every thing must be in the center of the screen Daniel then 'l' must …

Software Development c++
Member Avatar for Ancient Dragon
0
99
Member Avatar for potato4610

ï‚· DetermineElapsedTime has only two parameters - both pointers to const MyTime. ï‚· DetermineElapsedTime must not modify the contents of either structure. ï‚· DetermineElapsedTime must not declare any pointers other than its two parameters. ï‚· DetermineElapsedTime must return a pointer to a MyTime structure containing the elapsed time. ï‚· Use …

Software Development c++ storage
Member Avatar for potato4610
0
174
Member Avatar for Ved_TheOne

Hello everybody, I am having problems in connecting dbf file using C# Actually, what i want to do is as follows: 1. on GO button, the code connects to dbf file saved in my local hdd ie at d:\dbase 2. the file name is billingsample.dbf of type IV 3. the …

Software Development c# file-system open-source
Member Avatar for ckhong
0
1K
Member Avatar for KingJames603

On the payroll pointers program, I am struggling with a few things on the program. The data from the terminal uses malloc, for an employee node. Dynamic Memory Allocation is used in the program. For the name of each employee I can put in the First Name or First and …

Software Development c linked-list storage visual-studio
Member Avatar for Ancient Dragon
0
293
Member Avatar for stm4

how to create a login in vb.net 2005. the user name and password are stored in sql server 2005. Thanks

Software Development vb.net
Member Avatar for tonyfonseca
0
78
Member Avatar for marvolo1300

Hi i encountered a problem while compiler this [CODE] if (operation != '+' || '-' || '*' || '/' ) { cout << " Incorrect operation" <<endl ; system ("calculator.exe") ; } [/CODE] I am trying to use system() to launch calculator.exe. I have used this method before, here's the …

Software Development c++
Member Avatar for Ancient Dragon
0
106
Member Avatar for DeIntegro

Say 3 integers are giving: 3, 4, 16 how does one go about writing a program to find the least common denominator? greatest common divisor? etc.. I was wondering if there is a way to use the multiples and then select the number that matches up, in this case 48 …

Software Development java mathematics
Member Avatar for coil
0
649
Member Avatar for agent154

I'm writing a tool that will manipulate files via the command line, and what I would like to do is be able to supply a path to a file that is not necessarily in the current working directory. For example, if I run my software with the command line paremeter …

Software Development
Member Avatar for Matt Gudmundson
0
301
Member Avatar for Lolecule

Hey, I'm currently writing a SUVAT calculator in Java, my program needs to know when the user enters a dash as an argument, my problem is essentially this code fragment: [code=java]if(args[x] != "-") { valuesYouHave[x] = true; values[x] = Double.parseDouble(args[x]); }[/code] From my own testing I have deduced that the …

Software Development java
Member Avatar for wildplace
0
161
Member Avatar for BboyRodimus

So my instructor told us to submit our assignment which I've done. She has an online java compiler that checks if the answer is right. I looked at the report and it has the right outputs and everything and below is this that makes my answers wrong: Exception in thread …

Software Development java
Member Avatar for jon.kiparsky
0
111
Member Avatar for psuspect

I have this program that counts characters in a string is there a way to modify this code so that for example it counts specific characters entered. Exmaple.. user entered Hello, and I wanted the program to say there are 2 "L"''s entered in that word. THanks for your help! …

Software Development c
Member Avatar for bluntaxe1
0
538
Member Avatar for mahdi68
Member Avatar for NicAx64
0
116
Member Avatar for zachattack05

I am working on a software project that utilizes the MSSQL Express version. My question is... I have checked out software that does the same thing that I want to do, but it seems that the competition uses a file based database system. I intend to use SQL because it …

Software Development data-structure mssql sql
Member Avatar for zachattack05
0
107
Member Avatar for DaveTran

I have a 1D array and I wish to access it like a 3D array. If I know the values of the 3 dimensions Width (x) Height (y) Depth (z) then I can create the 1D array using array[width * height * depth]. How can I now access the indices …

Software Development
Member Avatar for DaveTran
0
396
Member Avatar for MarounMaroun

Hello All, I'm new here, and glad to be part of this wonderful and helpful site. I'm trying to allocate a new array (lets say of size 10) inside a struct. I want to do it this way: [code=c] #include <stdlib.h> #include <stdio.h> typedef struct Circle { int *x; int …

Software Development c
Member Avatar for MarounMaroun
0
1K
Member Avatar for amby

hey can anybody help me.. i want to interface my hardware with the PC through usb port.... and my application program is written in vb6.0...so do i need WIN DRIVER type software for low level programming and then call win driver libraries in vb 6.0 or else? can somebody send …

Software Development visual-basic
Member Avatar for glenndr_15
0
2K
Member Avatar for laughnan

I send out multiple types of variables (i.e. 2 char arrays, 1 int, 1 double, and two more char arrays). But when I read then back at the beginning of the program (building a LLL) I get multiple declarations of the same variables and then when I display the LLL …

Software Development c++ ios
Member Avatar for Kanoisa
0
4K
Member Avatar for dsul

I'd like to have a windows forms application execute a command line instruction similar in structure to the following: ProcessText file1 file2 where ProcessText is a working console tool for automated text processing, file1 is the text I need processed, and file2 is the created text output. From the command …

Software Development shell-scripting vb.net
Member Avatar for PsychoCoder
0
206
Member Avatar for DeIntegro

I understand that y = n ^ 4 will be pow(n,4)...but what about drawing the curve y = 1 - x ^ 4 y = (1 - x) ^ 4 y = 1-(1 - x) ^ 4 I appreciate your help. Thanks.

Software Development java
Member Avatar for DeIntegro
0
178
Member Avatar for SMG_

Right, so for a project at my work experience placement, I have to make in vb.net a game in the style of the classic "Lights Out" ([url]www.ebaumsworld.com/games/play/1111[/url]). I'm still getting used to vb.net, and I've come across a very basic problem that I need a bit of help with, I'm …

Software Development gaming vb.net
Member Avatar for codeorder
0
366
Member Avatar for glenak

Hi, I want to code a client/server app such that there will be one server and multiple clients interacting with the server. The clients will send messages, like "Hello, server," and the server will send messages back. I know how to write a simple client/server app, however im confused as …

Software Development client-server java
Member Avatar for glenak
0
236
Member Avatar for BonaDrag

I have a string that looks like this: [ID] [LastName], [FirstName] I want to fetch the ID, it consists of one or more digits. I'm guessing I have to find the first space of the string and then fetch the digit(s) before that space. If I understand things correctly I …

Software Development
Member Avatar for BonaDrag
0
217
Member Avatar for fedya

Hello, Can someone explain me what does this mean? "40[^\"], %*c" Thanks

Software Development c
Member Avatar for uday jha
0
612
Member Avatar for Hafsa0110

hello! just started out here... i need help with this program i need to generate a 3*3 matrix having unique numbers in the range 1-9. I did this program using srand but i'm unable to get the correct output...i couldn't figure out the error...could someone plz help me?? here the …

Software Development c
Member Avatar for ananda2007
0
180
Member Avatar for gameon

I am trying to make dir command .I have a problem in my code.it print name of all subdirectories and files but it does not print all files of all subdirectories only print one subdirectories files. I want to print all file and all subdirectory files Void list(const char *path) …

Software Development c
Member Avatar for Ancient Dragon
0
136
Member Avatar for Jazerix

Hey there, so basicly I'm writing a little application that will kill some processes and some junk programs running in the background. Yea i know this can be done in task manager aswell, but I want to learn ^^. So, I want a button called "Get all running proccesses", when …

Software Development
Member Avatar for Jazerix
0
150
Member Avatar for nancy11

Hi Guys, I have a problem in my code that I don't know where it is. I submitted 400 jobs to cluster and after a while I got signal seven error. All the log files shows segmentation fault error. So I fixed the seed and used the same seed that …

Software Development c++
Member Avatar for Narue
0
91
Member Avatar for Katana24

Hi - what im trying to do is to create a way of centering an image on a frame no matter what the size of the frame. I have two classes: one called "Picture_Frame.java"; the other "MyImage.java" In the latter I get the image and paint it then call on …

Software Development java java-swing
Member Avatar for Katana24
0
2K
Member Avatar for ultimatebuster

This script is something i wrote during work, as I often need to do this (concatenate strings via multiple lines so it's clearer). Hopefully you guys like it.

Software Development html-css php python
Member Avatar for TrustyTony
0
185
Member Avatar for ashwinpdy

Hi..I'm Ashwin here...i need urgent help in implementing PaaS in cloud computing for my final year project...Is there anyway u can help me with this?? even a little push to get started wud be highly helpful....

Software Development cloud-computing java
Member Avatar for jon.kiparsky
0
110
Member Avatar for PoisonedHeart

Hi everyone, is there a possible way in moving the position of a picturebox anywhere inside an MDI form? [ATTACH]16691[/ATTACH] I tried to use the picturebox's left and top property through code but when the mdi form is loaded, the picture box is still aligned at the top, or at …

Software Development api visual-basic
Member Avatar for Aslam Mansoor
0
684

The End.