132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for CanYouHandstand

Hey All I'm trying to write a simple write .csv file function that can take multiple arrays of objects and write to a specified file. I understand that I can use params to pass an unspecified number of variables, but is it possible to use it to pass an unspecified …

Software Development
Member Avatar for CanYouHandstand
0
1K
Member Avatar for neel_patric

hello, i am a little confused with something. im reading values from a text file which only contains 1's and 0's. here is the code. [CODE] char y; ifstream inFile2; inFile2.open("c:\\binary.txt"); ofstream fileout2; while (inFile2 >> y) { //cout<<y<<" "; this would print either a 1 or 0 // based …

Software Development c++ file-system
Member Avatar for J.Turnbull
0
85
Member Avatar for xcrypted

First post and glad to be here! I am doing a project for college. I am stuck on a certain page though and hope you guys/ladies can help. I have made a form that a user can enter there name(txtName), preferred user name(txtUserName), and preferred password(txtPassword). Also I made a …

Software Development email
Member Avatar for gusano79
0
123
Member Avatar for puneet21

Hi, I want to validate an xml which will be in the fol format : [CODE]< Root > <Hierarchy> <!--Optional Tag --> <Subjects> <!--Optional Tag --> <Subject> </Subject> </Subjects> <Hierarchy> </Root>[/CODE] As stated above the Hierarchy and Subject tag are optional. Following are valid xmls : [CODE]<Root><Subject>xyz</Subject></Root> <Root><Subjects><Subject>xyz</Subject></Subjects></Root> <Root><Hierarchy><Subjects><Subject>xyz</Subject> </Subjects></Hierarchy></Root>[/CODE] …

Software Development xml
Member Avatar for gusano79
0
116
Member Avatar for mn_kthompson

I have some processes that I need to keep running on a linux host. For some reason the processes are dying (possibly being killed by another admin). I can hunt that down later, right now I need to make sure the processes are running and relaunch them if necessary Launching …

Software Development python
Member Avatar for donaldw
0
133
Member Avatar for Gem74

Please help, I think it should be simple but I am new to this and have been trying to figure out the problem but have not yet. [code] #include <iostream> #include <iomanip> #include <cctype> //needed to use toupper, accepts a single char as its arguement and rtns the uppercase equivalent …

Software Development c++
Member Avatar for Gem74
0
342
Member Avatar for python.noob

Hi friends, I've recently changed to ubuntu 9.04.. I've not had any problem with the installation of pyqt as it is available from the ubuntu repositories with umpteen number of packages.. Thanks to ubuntu for making my job easier.. Anyhow i've to download tarball file for python 3.1 and installed …

Software Development python ubuntu
Member Avatar for woooee
0
378
Member Avatar for murid

I need help... I have a datagrid that show an online status. the Status column have 2 status, OnLine n OffLine. I want to make any record that Status = Online into bold style. is that possible ?? all I know is to make all datagrid into bold.. please help.

Software Development vb.net
Member Avatar for murid
0
84
Member Avatar for jaison2

The function has to show the population for year 1, 2 and so on until the population reaches 1 million. The population increases by 8% every year? [code] def population(): current=input("please enter the current population of the city: ") increase=current/100*8+current year 1=increase while increase>1000000? [/code]

Software Development python
Member Avatar for leegeorg07
0
112
Member Avatar for epicasian

Ok...i know a little bit of C++ (basics, like cout, cin, a little bit of classes ect) and realized something after watching a video from Chris Pirrilo... I dived into C++ without researching other languages first. My question to you is...should i stay w/ C++ or switch to C#? Can …

Software Development c# c++
Member Avatar for Frederick2
0
252
Member Avatar for Yeen

While learning Python I've come across this several times, but I've never been able to get it to work, so I always work around it. No more I say! I'm using 3.1, so I'm assuming that string.split doesn't work in 3.0 and later. Say I want to split [I]"Why does …

Software Development python
Member Avatar for vegaseat
0
3K
Member Avatar for lewashby

In the following program, at what point does my program call the _str__ method/constructor? I don't see it specifically being called at any point. I know it happens with this line print [CODE]"Printing crit1:" print crit1[/CODE] but I still don't see how or when this happens. Thanks for any and …

Software Development python
Member Avatar for mn_kthompson
0
203
Member Avatar for ffs82defxp

What is the command for starting files? Something like this im guessing [CODE] start.file(C:\test.txt)[/CODE]

Software Development python
Member Avatar for vegaseat
0
131
Member Avatar for epicasian

Ok...i know a little bit of C++ (basics, like cout, cin, a little bit of classes ect) and realized something after watching a video from Chris Pirrilo... I dived into C++ without researching other languages first. My question to you is...should i stay w/ C++ or switch to C#? Can …

Software Development c# c++
Member Avatar for RoyMicro
0
176
Member Avatar for ffs82defxp

All I need is a frame, and a panel. On the panel I have to display 3 pictures 1 at a time, separated by a pause of custom length. I need the panel to be 773x632 pixels for my png image. What I need is the function for displaying an …

Software Development display gui python
Member Avatar for vegaseat
0
122
Member Avatar for rukshilag

I am a beginner to java - my university course module requires me to do an assignment - that is choose a system and build one. i have chosen "Student Grading System" - this wont require a database. i need to just enter student marks and thereby determine that subject …

Member Avatar for Ezzaral
0
107
Member Avatar for shroomiin

Hey everyone. I am supposed to create a program that finds the area of a triangle...this i can do fine. My only problem is i was told that i need to use a get and set method to calculate the area. I dont exactly know how to use a get …

Software Development java
Member Avatar for striker3344
0
152
Member Avatar for iman ata

Hi I need a function for use mouse in c++.

Software Development c++
Member Avatar for Clinton Portis
0
660
Member Avatar for Roobyroo

I've written a VB 6.0 program that runs over Access 2003. I don't have any problem reading to or writing from the tables except in one table and one of its screens. When I initially create the record, there's no problem. But when I retrieve the new record (into a …

Software Development visual-basic
Member Avatar for AndreRet
0
144
Member Avatar for pytup

write a program which will print power of 2 use loop 2 ^ 0 1 2 ^ 1 2 2 ^ 2 3 2 ^ 3 4

Software Development visual-basic
Member Avatar for AndreRet
0
1K
Member Avatar for imolorhe

Please, is there anyway to make the forms in vb6 transparent? I need urgent assistance. Thanks.

Software Development visual-basic
Member Avatar for AndreRet
0
973
Member Avatar for Gaurav arora

hi! i m Gaurav. i m facing a problem in printing a series i have print the series related to it. like * * * * * * * * * * * * * * * but i m facing a problem in printing the following series: * * …

Software Development c
Member Avatar for ashutosh1234
0
99
Member Avatar for sexyzebra19

Hi, My program takes any polynomial and calculates the first and second derivatives and evaluates them at a given x. The coefficients of the polynomial are stored in a vector A. I now want to do something else to this polynomial, however my calculations for the derivatives mean that the …

Software Development c++
Member Avatar for sexyzebra19
0
116
Member Avatar for abhisheksingh11

Can anyone please suggest some good books on c++ that can give me a complete and full knowledge on c++ in full depth?

Software Development c++
Member Avatar for Sodabread
0
104
Member Avatar for suki_boy

[CODE]Hi All,Im a newbie in Perl Coding,and i just cant get this to work it says error compiling[/CODE] This is an Exploit for Hacking Joomla com_cinema Heres the Code [CODE]#!/usr/bin/perl -w #Joomla Component Cinema 1.0 Remote SQL Injection # ######################################## #[~] Author : **RoAd_KiLlEr** #[~] Greetz : Ton![W]indowS,KHG,ALBOZ-CREW,B3r0-G & All …

Software Development perl
Member Avatar for ov3rcl0ck
0
192
Member Avatar for beatleborg

HII I have been using c++ 4.5 for over an year but now it shows 16 bit error. i tried to delete it and so the tcwin45 folder but now whenever i start my computer it shows an error that "it could not search for C:\TCWIN45\PIPELINE\remind.exe search again". Pls. help …

Software Development c++
Member Avatar for Nick Evan
0
340
Member Avatar for SimonLeefe

I have an arbitrary number of files whose names I will know and I want to open them for reading. The important point is that I do not want to open them sequentially using a single file pointer. I need to have them all open at the same time. This …

Software Development c
Member Avatar for SimonLeefe
0
200
Member Avatar for mmeclimate

Hi everyone, I am new to java and I wrote a program that does the following (using Scanner): Name: Last Name: Age: (More? Y/N): When the user presses Y, he/she can add more information. Then in the end, I want to print something like: The participants are: Soni Smith (30), …

Software Development java
Member Avatar for mmeclimate
0
151
Member Avatar for sciwizeh

Hello all, I have a new problem with my Paint app, I have a TYPE_INT_RGB buffered image, and I'm drawing a "preview" of it, but I want to be able to see through the "preview." Is there a way to make it appear transparent without modifying the actual image?

Software Development image java
Member Avatar for sciwizeh
0
178
Member Avatar for SDPRIYA

i often get linker error "undefined symbol _main in the module c0.asm" when running the c files .. how can overcome this error

Software Development c++
Member Avatar for SDPRIYA
0
31
Member Avatar for rafta

Here is my code of two arrays. they are sorted by buuble and selection sorting methods. I have put a pass counter to display each modification but i am unable to display the array after each pass/modification in both sorting methods. please suggest: [CODE]#include <iostream> #include <iomanip> using namespace std; …

Software Development c++
Member Avatar for rafta
0
111
Member Avatar for hendyhanusin

Dear friends, do you know how to convert the following codes into C # ? Tks, hendy [code] BYTE ResultSN[11]; char SN[100]; BYTE TagType; if ((TagType == 4) || (TagType == 5)) { memcpy(SN,ResultSN, 7); StrMsg.Format("Card Serial: %02x %02x %02x %02x %02x %02x %02x ",ResultSN[0],ResultSN[1],ResultSN[2],ResultSN[3],ResultSN[4],ResultSN[5],ResultSN[6] ); } [/code]

Software Development c# c++
Member Avatar for Johan Stolk
0
394
Member Avatar for mshravs

hey, I'm working on a project, where I need to save data along with the image in Sql server, using Vb 2005. i just need the code for the above one. please post asap need it urgently.

Software Development image sql vb.net
Member Avatar for dapsin999
0
190
Member Avatar for abc16

Hi i am making a C# window application, in which i have two accounts one for user, and other for admin. How can i provide different different rights to user and admin. Like i want that all the buttons and everything should be visible to both user and admin, but …

Software Development
Member Avatar for Geekitygeek
0
448
Member Avatar for P00dle

I have to split a line that has been stored in a String[], and then place the parts in an ArrayList. Currently I am doing the following: (vehicles is the origional String[], details is the String, detail_split is the ArrayList) [CODE]for (int y = 0; y < vehicles.size(); y++) { …

Software Development java
Member Avatar for P00dle
0
639
Member Avatar for adonweb

I m developing a vb.net windows application with crystal report and ms access. My database is stored in bin folder. I cannot bind database to report after deployment. How can i set the database location in report?

Software Development vb.net
Member Avatar for adonweb
0
85
Member Avatar for hjazz

Hi all, I'm new to using Visual Studio. I'm currently using VS .NET 2003 on Vista, and I'm trying to port a program from Linux to Windows. The program uses the pcap library. I have installed WinPcap 4.0.2 and downloaded the Developer's Pack WpdPack_4_0_2. However, I have no idea what …

Software Development c visual-studio windows-vista
Member Avatar for Ancient Dragon
0
234
Member Avatar for RoyMicro

Hello I am creating the windows application for reading, calculating and printing the data logged by my USB device in c#. I am basically a Microcontroller programmer but now learning C#. I have already succeeded in collecting data from my system via USB (Code from [URL="http://lvr.com/"]Jan Axelson[/URL]) and created graphs …

Software Development
Member Avatar for RoyMicro
0
166
Member Avatar for ShuiYinDeng

The Question is : Three stacks can be used to sort a list of numbers. Assuming stack in holds the input list of numbers, stack out is to hold the output list after sorting the numbers and temp is used during the sorting process. The sorting algorithm follows. 1 set …

Software Development algorithm java
Member Avatar for masijade
0
113
Member Avatar for frank_hugo_1100

can any one put me on the start of using serial port? i need to know the pins and protocols to use serial port, i know alittle information and how we configure it by using c programming language and visual c++.if there is asite to learn me using serial port …

Software Development c
Member Avatar for mbit.dbms
0
288
Member Avatar for swolll

Today was my first time trying composition. It's for a lab project due Friday, and I have a lot of tomorrow to work on it. However, up until we have just been using one class per program. Now, my teacher wants us to use composition and arrays, despite only lecturing …

Software Development c++ engineering
Member Avatar for jonsca
0
225
Member Avatar for COKEDUDE

After I ask the user to enter a number here System.out.println("Enter a number"); number = scan.nextInt(); I would like print the id of each salesperson that exceeded that value and the amount of their sales. I Also want to print the total number of salespeople whose sales exceeded the value …

Software Development java
Member Avatar for gunjannigam
0
3K
Member Avatar for shijas

Hi, I am developing a s/w. I am trying to update data in table. While I save the data, it will update into table. I have a gridview which binds table data through dataset. While I update the changes it is not reflecting in the grid view. What I will …

Software Development dataset vb.net
Member Avatar for ayesha789
0
95
Member Avatar for pyboii

hey ill get straight to the point i need to create a python script to read each record from a .txt file and output each record in the same format to the cmd line, 4 lines including (name,address,ph no and email) 3 records. it needs to utilize the basic logical …

Software Development python
Member Avatar for lllllIllIlllI
0
166
Member Avatar for Mr.Magic

New guy here and I'm stuck on this code I cant get to work right. I want to input any amount of numbers and I want the output to be the largest number along with how many times the largest number was input. I'm just off a bit but I …

Software Development c++
Member Avatar for DaBunBun
0
299
Member Avatar for tomtetlaw

Ok, So I'm trying to create a 3D engine with DirectX 9, and I have run into a runtime error that says "Stack overflow". When I encountered this, I thought that it might have came from a for loop, so I checked that they went forever, and they all were …

Software Development c++
Member Avatar for tomtetlaw
0
101
Member Avatar for COKEDUDE

Can someone please explain why this division is not working. This is very simple division but for some reason it won't work. double Percent = Correct / Questions; [CODE]//**************************************************************** // Quizzes.java // // Calculates quizz scores. // // // **************************************************************** import java.util.Scanner; public class Quizzes { public static void main(String[] …

Software Development java
Member Avatar for COKEDUDE
0
2K
Member Avatar for ramjeev

On firing an event at a keyReleased or actionPerformed(button click).This event fires continuosly whenever I click.Say,for 10 clicks, 10 events are in queue.I want to clear remaining 9 events while first processing. -thanks

Software Development java queue
Member Avatar for ramjeev
0
74
Member Avatar for nhamyl

this program has information about customers. this program has to perform the following functions. - display list of all customers - search by name - search by id - display list of customers having credit limit above 5000 - add new customers i am unable to compile the program. here …

Software Development c
Member Avatar for jonsca
0
141
Member Avatar for maverick405

I am trying to code the below program using overloaded function which give me output is the answer in correct or not for the three different question, the answers are already provided in the program all I have to check the answer and give the output statement if the answer …

Software Development c++
Member Avatar for VernonDozier
0
146

The End.