132,726 Archived Topics
Remove Filter ![]() | |
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 … Software Development c++ | |
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 … Software Development c | |
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 … Software Development java | |
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 … Software Development c++ | |
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 … Software Development c | |
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 … Software Development c | |
[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] … Software Development email visual-basic windows-server | |
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 … Software Development visual-basic | |
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 … Software Development c | |
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 … Software Development display java java-swing microsoft-windows samba ![]() | |
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 … Software Development c++ | |
:!: 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] … Software Development c++ | |
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 … Software Development c++ | |
where can i learn about assembly language, i want complete tutorials online Software Development assembly | |
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?..... Software Development c++ file-system | |
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 … Software Development visual-basic | |
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. … Software Development visual-basic xml | |
[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 … Software Development c++ | |
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 … Software Development java | |
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 … Software Development java | |
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 … Software Development python | |
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 … Software Development c++ | |
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...... Software Development java | |
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 … Software Development dataset display open-source vb.net | |
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 … Software Development client-server vb.net | |
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 … | |
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 < … Software Development perl | |
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 … Software Development 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 Software Development visual-basic | |
#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* … Software Development c | |
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 … | |
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 … Software Development visual-basic | |
hi all, i have a java code, here "rs" is a result set. [COLOR=DarkRed] ByteArrayInputStream byteStream = new ByteArrayInputStream(rs.getBytes(objName)); ObjectInputStream objStream = new ObjectInputStream(byteStream); obj = objStream.readObject(); return obj; [COLOR=Black]i cant understand why it is used both "[/COLOR][/COLOR][COLOR=DarkRed]ByteArrayInputStream[/COLOR][COLOR=DarkRed][COLOR=Black]" and "[/COLOR][/COLOR][COLOR=DarkRed]ObjectInputStream[/COLOR][COLOR=DarkRed][COLOR=Black]"...? can't i do this with one inputStream....? please help me............! … Software Development java | |
I am writing my first program using VB 2005 Express. Using text toxes in a Form I have created a place where a user can input data that will be manipulated. I have used a Text Box in the form that displays the output data. In this case it is … Software Development vb.net | |
Hi Im so nood in perl and i have a problem need. When i ever i run this dts_add.pl the run date is not backward compatible. I ran this program every month and and reference the date from which it was previously ran. I wanted to run a file dated … | |
I don't know how I can execute an event of Javascript into a link in a program in Perl. This event of JavaScript have executed a function that return a HTML page. Anybody know how I can it? Is it possible do it this?: $datos=$datos."<a href='" . $me . "?C=OFERTAS2&EMPRESA=".$empresa_param."&NREF=".$nref."' … Software Development java javascript perl | |
Actually, i was thinking of starting up my PERL training. So I'd like to know this: what are it's most common uses? How efficient is it compared to C++? What are the strengths and weaknesses? (This is kind of a repeat of what I said in the Python forum) | |
I have been debugging my application for 6 months. Now, when I try to run it I am getting "under the default settings SQL Server does not allow remote connections." My computer is not on a network. I recently went from Visual Studio 2005 Express Edition to the Professional edition. … Software Development sql vb.net visual-studio | |
Hi i am basha, i am new to VB.NET. I have a problem, i am able to retrieve data in datagrid throug dataset. code is [DG.DataSource=ds] but if i change any data in grid, it's not changing in database. please tell me why its not changing and tell me the … | |
i have developer a lab system... the lab system include multi test...each test have many sub test user can select which test they want the problem i face know is... after they choose the test n run the test... the table need to store to database i dunno how to … Software Development user-interface vb.net | |
Hi is there anyone willing enough to help me solve my problem. I'm using both Dev C++ 5 in windows and g++ in Linux to compile this code but was unable to do it successfully. Can any one help mi pliz [code] #include <cstdlib> #include <iostream> using namespace std; // … | |
I have the following class as a example to a similar problem im having ... [B]Class Car[/B] code: [CODE] public class Car { private String name; public Car(String name) { this.name = name; } public String getName() { return name; } } [/CODE] [B]Class CreateCarFromList[/B] code: [CODE] public class CreateCarFromList … Software Development java | |
Can I know something about Sequential Search?? Answers within 24 Hours PlZ.. Software Development c |
The End.