132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
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 | |
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 ![]() | |
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 … | |
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 | |
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 | |
What is the command for starting files? Something like this im guessing [CODE] start.file(C:\test.txt)[/CODE] Software Development python | |
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 … | |
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 … | |
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 … Software Development database-design java java-swing mathematics user-interface | |
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 | |
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 | |
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 | |
Please, is there anyway to make the forms in vb6 transparent? I need urgent assistance. Thanks. Software Development visual-basic | |
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 | |
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++ | |
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++ | |
[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 | |
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++ | |
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 | |
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 | |
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? | |
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++ | |
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++ | |
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] | |
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. | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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++ |
The End.