132,726 Archived Topics

Remove Filter
Member Avatar for
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 …

Software Development c++
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 …

Software Development c
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

Software Development python
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 …

Software Development perl unix
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 …

Software Development java
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.

Software Development java xml
Member Avatar for Phaelax
0
93
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, …

Software Development c c# c++
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 …

Software Development c++
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 …

Software Development c
Member Avatar for Ancient Dragon
0
243
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 …

Software Development c c# c++
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 …

Software Development c
Member Avatar for saqib
0
285
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] …

Software Development email visual-basic windows-server
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 …

Software Development visual-basic
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 …

Software Development c c# c++
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 …

Software Development c
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 …

Software Development c++
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] …

Software Development c++
Member Avatar for ~s.o.s~
0
113
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 …

Software Development c++
Member Avatar for ~s.o.s~
0
120
Member Avatar for provenshop

where can i learn about assembly language, i want complete tutorials online

Software Development assembly
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?.....

Software Development c++ file-system
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 …

Software Development visual-basic
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. …

Software Development visual-basic xml
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 …

Software Development c++
Member Avatar for CurtisBridges
0
99
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 …

Software Development java
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 …

Software Development java
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 …

Software Development python
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 …

Software Development c++
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......

Software Development java
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 …

Software Development dataset display open-source vb.net
Member Avatar for BobBeix
0
190
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 …

Software Development client-server vb.net
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 …

Software Development gui image python tkinter
Member Avatar for vegaseat
0
140
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 < …

Software Development perl
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 …

Software Development 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

Software Development visual-basic
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* …

Software Development c
Member Avatar for Ancient Dragon
0
190
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 …

Software Development algorithm c++
Member Avatar for andor
0
187
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 …

Software Development visual-basic
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 :-|

Software Development vb.net
Member Avatar for nzd
0
108
Member Avatar for rpjanaka

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
Member Avatar for rpjanaka
0
105
Member Avatar for jimclark1947

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
Member Avatar for waynespangler
0
95
Member Avatar for andrew23chan

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 …

Software Development oracle perl sql
Member Avatar for vonfeldt
0
233
Member Avatar for LindaF

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
Member Avatar for vonfeldt
0
102
Member Avatar for FireSBurnsmuP

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)

Software Development perl python
Member Avatar for vonfeldt
0
111
Member Avatar for furjaw

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
Member Avatar for furjaw
0
109
Member Avatar for basha_82

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 …

Software Development dataset vb.net
Member Avatar for Shum
0
146
Member Avatar for ohohling

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
Member Avatar for Shum
0
172
Member Avatar for Zabby

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; // …

Software Development c++ puzzle
Member Avatar for risby
0
150
Member Avatar for fdrage

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
Member Avatar for fdrage
0
82
Member Avatar for vijaiendran

Can I know something about Sequential Search?? Answers within 24 Hours PlZ..

Software Development c
Member Avatar for Micko
0
63

The End.