199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
Hi, is there any built in function for converting an int to a byte? Thanks | |
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 … | |
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 … | |
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. | |
{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? | |
How would I got about editing .inc files in php for a cms? | |
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, … | |
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 … | |
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 … | |
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.. | |
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 … | |
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 … | |
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 … | |
[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] … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
:!: 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] … | |
SHORTEST-JOB-FIRST , PRIORITY , ROUND ROBIN I need the idea of each of the above algorithms as flow chart??? please help me :sad: | |
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 … | |
where can i learn about assembly language, i want complete tutorials online | |
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?..... | |
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 … | |
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. … | |
[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 … | |
Hi All, I want to pass the value of java script variable in perl? how can I do that. Please help me. Thanks | |
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 … | |
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 … | |
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 … | |
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 … | |
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...... | |
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 … | |
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 … | |
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 … | |
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 … | |
For an example, please visit http://www.programmingknowledge.com/DataList.aspx | |
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 < … | |
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 … | |
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 | |
#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* … | |
| |
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 … | |
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!"; … | |
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 … | |
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 :-| |
The End.