199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for h1dden

Hi, I have an assignment in school, please help me. here is the problem. Write a program that will read in a weight in ounces and pounds and will ouput the equivalent weight in kilograms and grams. I have already design the form using netbeans, but i don't know how …

Member Avatar for masijade
0
120
Member Avatar for nanodano

Ok, I have a small problem. I'm just trying to get my program to read a single line from a file at a time, and put the results in a vector. The problem is at the end of each vector. It repeats the last element twice and also adds a …

Member Avatar for nanodano
0
130
Member Avatar for jfinch99

I have a homework assignment that requires that I sort an array of Accounts that contains strings for ID, PIN, and balance. I believe that I need to sort the array based on the ID. And then I have to verify the ID that the user inputs to the accounts …

Member Avatar for jfinch99
0
71
Member Avatar for etxulid

Hi, is there any built in function for converting an int to a byte? Thanks

Member Avatar for vegaseat
0
219
Member Avatar for Mushy-pea

Hello everyone. I am writing a Perl script that will be installed on a Linux host. I need the script to be able to access the current time / date environment variable somtimes. I've looked through a list of the standard CGI variables that can be accessed through $ENV but …

Member Avatar for lordspace
0
96
Member Avatar for sub-zero

hi every one " A point in the x-y plane is represented by its x-coordinate and y-coordinate.Design the class Point that can store and process a point in the x-y plane.You should then perform operation on a point, such as [B][U][COLOR="Red"]shoing the point[/COLOR][/U][/B], setting the coordinates of the point printing …

Member Avatar for stablamate
0
564
Member Avatar for Phaelax

How can I use this in Java? I don't need to run a server, just call some functions from an existing one. I haven't found much "useful" documentation on this.

Member Avatar for Phaelax
0
93
Member Avatar for xSpadex

{I don't know if this goes here or not...} Does anyone know of a program/method that can refresh pages rather quickly (second/under a second's time) besides using F5 and the toolbar button?

Member Avatar for bustergut
0
118
Member Avatar for nugget93
Member Avatar for nugget93
0
303
Member Avatar for shermaine

Hi, I have got this question: Write function of bitcount() that return the number of bits set to 1 in an unsigned integer. Here's my try: #include <stdio.h> int bitcount(unsigned x) main() { int b; for (B=0; x!=0; x >>=1) if (x &01) btt return b; } When i compile, …

Member Avatar for shermaine
0
98
Member Avatar for shailesh1064

Hi, I need help to either provide the C++ codes or point me the proper link to find the Euler cycle. My aim is this: • Input: A directed graph G represented by a set of vertices and a set of edges. • Output: An Euler cycle for G (or …

Member Avatar for ~s.o.s~
0
115
Member Avatar for shermaine

May i know how to write this program. Write a function bigger() that returns bigger vaule in a signed integer array. Array and size are passed as arugements. Write a main program that inputs Max values from the keyboard into siged integer array,array and prints using biggest(), the biggest vaule …

Member Avatar for Ancient Dragon
0
243
Member Avatar for jc23

i hv 1 assignement which need to do the finite element analysis by using Borland C++..and openGL.. but i dun know what source code shoul i use to solve the finite element analysis in Borland C++ and openGL.. pls help me!!thanx for help..

Member Avatar for Ancient Dragon
0
77
Member Avatar for shermaine

attached is the q of the c program....and here's what i try to write out... may i know how should i write to prompt user to enter the four weights from the keyboard. and the program should print an error message if the weights are out of range? Here's my …

Member Avatar for Ancient Dragon
0
79
Member Avatar for saqib

hello guys i am new in this forum and in programing i want to write a program which could convert given temperature and its unit into oher scales please give me some sugestions and ideas bout that and i need to know how to declear chareters and how to take …

Member Avatar for saqib
0
285
Member Avatar for cancer10

If I want my users to download a .zip or .exe file the command is <a href=filename.exe>Download</a> or <a href=filename.zip>Download</a> This will ask the visitors where to save the file on their hard disk. But what if I want my users to download a doc/pdf/php/html file and I dnt want …

Member Avatar for MCP
0
114
Member Avatar for campfishitus

[COLOR=black]I'm new to Vb and need some of your EXPERT help!:mrgreen: [/COLOR] [COLOR=#000000] What I need to write or copy is a script that will[/COLOR] [COLOR=#000000]1. shut down log file services on windows 2003 server[/COLOR] [COLOR=#000000]2. copy the application/security/event files to a .csv file[/COLOR] [COLOR=#000000]3 delete entries on the logs[/COLOR] …

Member Avatar for Comatose
0
120
Member Avatar for Gibsob22

Hi, I'm facing a problem. I open two separate applications of Excel, one application has a spreadsheet that will run a Macro (every 10 mins. or so) and the other application has a spreadsheet that links (I think via OLE) to the spreadsheet that is running the macro. If both …

Member Avatar for Comatose
0
130
Member Avatar for jan1024188

can anyone please send me a simple graphcal program written i C. i found this but it doesnt work [CODE]/* Simple program to illustrate use of a dialog box */ main() { /* Define default values: */ int n = 0; float x = 0.0; /* Define contents of dialog …

Member Avatar for andor
0
86
Member Avatar for jan1024188

i ve got this #include <stdio.h> #include <math.h> void main() { int angle_degree; double angle_radian, pi, value; printf ("\nCompute a table of the sine function\n\n"); pi = 4.0*atan(1.0); printf ( " Value of PI = %f \n\n", pi ); printf ( " angle Sine \n" ); angle_degree=0; while ( angle_degree …

Member Avatar for andor
0
116
Member Avatar for sciocosmist

I am having some trouble trying to get a JApplet to display in a Browser [IMG]http://javafaq.nu/images/smiles/icon_sad.gif[/IMG] . The applet does compile and does come up (displays) in a Microsoft Windows window frame, but does not display in a browser. I have several components that I place in JPanels and successfully …

Member Avatar for ede
0
314
Member Avatar for CurtisBridges

Thought I had this going, but I guess not. Would you look it over and get me headed in the right direction please. [COLOR=#000000]Need help creating this to these instructions, mainly with the part where I call an existing files that has already been created and saved in Notepad as …

Member Avatar for ~s.o.s~
0
118
Member Avatar for ajinzo

:!: I'm very new to programing, been trying to write this coke machine program. Can anybody help me. [COLOR=blue]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=maroon]<iostream>[/COLOR] [COLOR=maroon] [/COLOR] [COLOR=blue]using[/COLOR][COLOR=#000000] std::cout;[/COLOR] [COLOR=blue]using[/COLOR][COLOR=#000000] std::cin;[/COLOR] [COLOR=blue]using[/COLOR][COLOR=#000000] std::endl;[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=blue]int[/COLOR][COLOR=#000000] getcoins ()[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]{[/COLOR] [COLOR=#000000] [/COLOR][COLOR=blue]int[/COLOR][COLOR=#000000] total = 0, number;[/COLOR] [COLOR=#000000] cout << [/COLOR][COLOR=maroon]"put in coins: "[/COLOR][COLOR=#000000];[/COLOR] [COLOR=#000000] …

Member Avatar for ~s.o.s~
0
113
Member Avatar for k1d

SHORTEST-JOB-FIRST , PRIORITY , ROUND ROBIN I need the idea of each of the above algorithms as flow chart??? please help me :sad:

Member Avatar for Rashakil Fol
0
155
Member Avatar for scootersays

In my SQL Users table each user has a unique ID and a unique Alias. I need to randomly pull Aliases from my User table and match them with a different users User ID in another table, the Activities table. The end result would be a random pairing of team …

Member Avatar for ~s.o.s~
0
120
Member Avatar for provenshop
Member Avatar for VIDOCQ
0
176
Member Avatar for Fatshadow

Just wondering if anybody here has any experience of writing programs in C or C++ to use and manipulate the Master File Table, to restore previously deleted files?.....

Member Avatar for Salem
0
1K
Member Avatar for arvin2006

hello there!! i am creating a vb project, and i want that my mainform could not be minimized by any keyboard events, such that it acts like a desktop.. the program should not allow the user to enter any kind of application even if he/she presses the windows button or …

Member Avatar for sendoshin
0
294
Member Avatar for Seba Sama

i really need to get some data out from a xml and upload it into SQL. i found something about but i miss some things. [code]Dim xDoc As MSXML.DOMDocument Set xDoc = New MSXML.DOMDocument xmlDoc.Load("f:\data\customer01.xml") [/code] i don't know what reference to include, i get "user-defined type not defined" error. …

Member Avatar for sendoshin
0
220
Member Avatar for CurtisBridges

[COLOR=#000000]Need help creating this to these instructions, mainly with the part where I call an existing files that has already been created and saved in Notepad as attached.(File one and File two). Below are the directions and some code. I think you will be able to tell what I’m trying …

Member Avatar for CurtisBridges
0
99
Member Avatar for manish Kishore

Hi All, I want to pass the value of java script variable in perl? how can I do that. Please help me. Thanks

Member Avatar for cycleops
0
111
Member Avatar for jakeneff

Hi, I'm pretty new to Java so be gentle, please. I'm trying to set up a columnar structure to output to the console with tabs in between each column. However, I want some of the tabs to be right aligned, not left. As you can see below, I'm using a …

Member Avatar for jakeneff
0
1K
Member Avatar for beantowner2

I am using Yahoo Sitebuilder to build web sites. Sitebuilder uses Java. About 6 weeks ago, Sitebuilder started freezing up when I tried to use it. What happens is that CPU usage goes almost immediately to 100% and stays there. Java usage is 99% of that. Does anyone know anything …

Member Avatar for beantowner2
0
67
Member Avatar for etxulid

Hi, got a hex string 3E 65 72 3D 65 which first needs to be reversed to C7 6A E4 CB 6A then I need to move the 4 LSB in each byte to the 4 LSB in the next byte, need also to include 4 new bits (x) in …

Member Avatar for ghostdog74
0
200
Member Avatar for hoosier23

This is a simple Rectangle calculator that uses classes. Ok, so I keep getting errors like. [quote] Error 1 error C2660: 'rectangle::getLength' : function does not take 0 arguments Error 2 error C2660: 'rectangle::getWidth' : function does not take 0 arguments Error 3 error C2660: 'rectangle::getLength' : function does not …

Member Avatar for hoosier23
0
367
Member Avatar for rpjanaka

hi all im janaka priyadarsahana, i got this code segment from the sun java tutorial. but cant understand how this for loop works. out.print("File system roots: "); for (File root : File.listRoots()) { out.format("%s ", root); } out.println(); please if anyone can help me...... thank you......

Member Avatar for fdrage
0
123
Member Avatar for Kelleyj

I have a form with a datagrid on it. If I 1) scroll to the right to a field that wasn't originally displayed on the grid 2) click on the header of that field to sort the datagrid 3) then scroll down to bottom area of the datagrid and selects …

Member Avatar for BobBeix
0
190
Member Avatar for preist

Hi everyone. Here's the question: I need a web program that will allow a English teacher to run a business where he checks the texts submited by the members. The program should be a website where a student will sign up to become a member, will log into the website …

Member Avatar for preist
0
102
Member Avatar for thekaushik

Friends, is this possible with vb.net. Say i have a software and i want to get the software remotely installed in other pc. i shall say u with an example: Say in my company i have 100 pc and 1 server. What i want to do is i want to …

Member Avatar for lasher511
0
145
Member Avatar for reRanger

Greetings: I have been working with code examples (from the good people on this site) and I have been learning quite a bit about Python and becoming more comfortable with. The program I am working on is being done in pieces, the GUI being really the primary area of problems …

Member Avatar for vegaseat
0
140
Member Avatar for postmaster
Member Avatar for tgreer
0
173
Member Avatar for Mushy-pea

Hello everyone. I'm writing a perl script to implement some active content on my website. Does anyone know if there is a source code library to convert an integer variable to an equivalent character string? I've managed to do the reverse, i.e. [code]sub char_2_int{ for ($c = 0; $c < …

Member Avatar for Mushy-pea
0
117
Member Avatar for swapnamishra

Hi, I have a function in Vc++ called Execute. I pass arguments to the function in hex and it returns the value in hex. >>> p.Execute(s1) The return value is handled in unicode format by python. u'\u1211\u2b08' I am supposed to convert the hex return value to BCD. Since python …

Member Avatar for Ene Uran
0
164
Member Avatar for amir_ct2001

i have done project in vb with access . i wish to create setup files for my project.how can i create a complete package including exe and all supporting DLL files

Member Avatar for WaltP
0
110
Member Avatar for alksja

#include "stdafx.h" #include <stdio.h> #include<stdlib.h> #include<iostream> typedef struct Sale { int clientNumber[4]; char Item[45]; char PartNum[12]; int UniCost[11]; char DayOfMonth[20]; }; Sale rSale[197]; typedef struct Data { int clientNumber[4]; char Company[34]; char ABN[14]; char StreetName[36]; char Suburb[24]; char State[11]; char PostCode[5]; char Phone[15]; }; Data rData[10]; int _tmain(int argc, _TCHAR* …

Member Avatar for Ancient Dragon
0
190
Member Avatar for dimkasmir
Member Avatar for tgreer
0
134
Member Avatar for Ajay Raj

Hi can anny one help me out optimizing the follwing issue: [COLOR=navy][COLOR=navy]A C++ class has the following member:[/COLOR][/COLOR] [COLOR=navy][COLOR=navy] int status_[75];[/COLOR][/COLOR] [COLOR=navy][COLOR=navy]During performance analysis it was found out[/COLOR][/COLOR] [COLOR=navy][COLOR=navy]that the class (its object) was performing unsatisfactorily[/COLOR][/COLOR] [COLOR=navy][COLOR=navy]making it a necessary candidate for optimization.[/COLOR][/COLOR] [COLOR=navy][COLOR=navy]The following additional information was also found …

Member Avatar for andor
0
187
Member Avatar for CabriniGreens

Hi there, I just had a friend install Tomcat for me on my Apache server at school and it's working great with the test .jsp page I created... until I started to use the <jsp:include> tag. Here's my source for "index.jsp": [code] <html> <head> <% String title = "Hello World!"; …

Member Avatar for CabriniGreens
0
1K
Member Avatar for stackOverflow

Hello everyone, I have to learn vb and complete a project in another 2 months. I have no experience in vb. I have no idea which books to refer for learning. I need it from the very basics. I'll be glad if you all can suggest some books or any …

Member Avatar for sendoshin
0
153
Member Avatar for sonalika_ghosh

Also as [B]MSFlexgrid[/B] is a VB component but has been used in VB.Net could that be the reason for the eror f yes then plase suggest me the solution fr this. your suggesions would be precious :-|

Member Avatar for nzd
0
108

The End.