132,726 Archived Topics
Remove Filter ![]() | |
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"/> … | |
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++ | |
[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) { … | |
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 | |
#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 | |
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 | |
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++ | |
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 … | |
[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 | |
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. | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
data compression in c++. this is a text compression eg: gggghhnnnmmmmm would give us: g4h2n3m4 thank you | |
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 | |
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 … | |
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 | |
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++ | |
ï‚· 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 … | |
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 | |
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 | |
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++ | |
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 ![]() | |
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 | |
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 | |
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 | |
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 | |
Hi What happen whene a .jar file install in mobile device ??? Software Development java | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
Hello, Can someone explain me what does this mean? "40[^\"], %*c" Thanks Software Development c | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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. | |
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 | |
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 |
The End.