132,726 Archived Topics
Remove Filter ![]() | |
Hi, The problem i'm having is that the data that i want to appear on the file doesnt apear fully. I want the full results of the program to be saved to a doc file but i only get the next number in the sequence. Here is my code # … Software Development file-system java | |
I have a very hard programming challenge and i need help... I have nothing so far, so im hoping somebody could help me build it... Im to write a program that uses a structure to store student name, student ID number, pointer to and array of test scores, average test … Software Development c++ data-structure | |
I have started a code to declare what I need...now I need to input the information from a file each line is a song with a space inbetween... Then after I get the data I have to be able to seach by artist or title...and output matches PLEASE help... this … Software Development c++ | |
Hi Once I wrote below coding it give error meassage.Error meassage is "Member not found".I wrote red color that show the error meassage is occur. [CODE] Microsoft.Office.Interop.Excel.Application xl = new Microsoft.Office.Interop.Excel.Application(); Excel.Workbook xlWorkBook = (Excel.Workbook)xl.Workbooks.Open("D:\\Test\\VOIP_X.xls", 0, true, 5, "", "", true, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "\t", false, false, 0, true, 1, 0); [COLOR="red"] … Software Development c# microsoft-office | |
Hey, am trying to create an application that displays a text box and a submit button, so that the user can type text into the text box, click submit and it saves it into a txt file. Could you help me please? Thanks in advanced Software Development c++ | |
Hi This is my second post. I am new to python. I hope I have posted my code correctly. I am trying to have Python rewrite the compare.asc file. This file is used with another program called MUST. This is a transmission line program. This program is suppose to compare … Software Development python user-interface | |
Hello, BTW the program compiles. Im trying to change a quick sort program so that it picks a median of three for the pivot instead of the first low number. My code is not running right, can somebody help me out. thanks [code=java] public class QuickSort{ public static void main(String … Software Development java | |
In operation system windows have got function Addfont for windows, windows will copy file font into fonts windows directory (C:\windows\fonts) after windows will register file font into registry of windows. I want to find this command in VB6.0. Do you know this command ? help me ? Software Development visual-basic | |
Hi, At one of our clients’ place, we are facing a problem where the variable errno is set to EPIPE and signal SIGPIPE is generated… We have two servers communicating with each other through sockets and the error we are getting is explained below The writer process seems to have … Software Development c++ | |
Hello all. Haven't asked a question here in a while. Anyway, i am working on a game. I made the graphics class and now am working on a camera. I thought of making it so the camera would have a reference of the main world variable. So i tried doing … Software Development c++ | |
Hi I am making a roman numeral to decimal converter, I have the decimal to roman numeral converter but I am having trouble doing it from roman to decimal. How do you pull a string apart letter by letter; eg VXI, into 3 variables a= V, b= X, c= I. … Software Development c++ | |
Hi, I have an entity class which I would like to write from one machine to another using sockets. As each machine has a separate copy of the entity class (identical except for package declaration) a ClassCastException will be throw; it seems the only way I could do this is … Software Development java | |
Dear all, I'd like to write a Java program that could use functions in an existing VB.Net dll or exe. Is it possible to do that? I had actually searched for methods online, and it seems like there's JNI which could do that, but after reading the implementation I got … | |
Hi, I have to use fscanf to read the numbers in a line. The line is in the file "FileName1" and may or may not have EOF. I am using the following code and it is stuck in an infinite loop. [ICODE] FILE *Fileget; vector<int> get_value; Fileget = fopen(FileName1, "r"); … Software Development c++ | |
Hi, I am writing a game in which an object at a PointF travelling at a current velocity (Vector2) is trying to reach a destination PointF (which can change between movement steps) At each step of movement I need to decide the acceleration vector that will get to the point … Software Development | |
can anyone tell me the working principle of external assebly in c#.net? Software Development assembly | |
I have created an application in Visual C++ 2008 Express Edition. What I want do do now is to create a [B]setup.exe [/B]file out of this. How could this be possible to do ? Thank you... Software Development c++ | |
Hello, I am a noob in Java, and I am stumped with these 2 exercises. These are probably extremely simple for you all, so any kind of help with writing the program would be well-appreciated. 1. Write a program which simulates inflation of a balloon (2-dimensional circular shape starting from … Software Development java | |
I need helping creating a random number of "hello worlds" import random count = 0 while count < 5: count += 1 print "Hello World" dont know where to put the module Software Development python | |
I am modifying the WDK "genprint" Print Processor example. Everything is working great, and I can compile fine, but I am running into a snag with one thing. Part of my modification knowingly triggers a print error, and Windows re-submits the print job automatically in the spool. I need to … Software Development c file-system | |
I have programatically created a test.txt file in the LocalApplicationData folder on the computer. Now I test if I can find that file with the below code and it works. The file do exist. What I have found is that the file should be in this directory ? [B]LocalApplicationData C:\Documents … Software Development c++ | |
Dear Sir, This is the 3rd part of the question, I want to find and list the finalists. Cheers, Software Development pascal | |
I went through many threads here, I also found a few threads related to what I need, but none worked. So please if anyone can check if there's any mistake in my code or tell me what exactly I should do... Actually I am able to view the data which … Software Development dataset | |
Hello all, I'm pretty new to coding and I'm having a little trouble in reading a list to an array from a txt file. What I'm trying to is write 24 words from a txt file to an array and then use a number to select one at random (It's … Software Development pascal | |
Hello, I am having problem to define a constuctor of a class with private member which is also of a const type. When I try to compile it complains that the const members do not have initalized data. Hmm, anyway it works fine if I remove const. However is it … Software Development c++ | |
I usually make a matrix like this [code] from Numeric import * A=zeros([3,3]) print str(A[0,1]) #access an element [/code] I would like to store a pair of values in each element, that is have a matrix where the (0,0) element is (2.3, 2.4), the (0,1) element is (5.6,6.7), etc. Is … Software Development python | |
Hi, I want to Creation a algorithm?? I have customer 1 customer 2 customer 3 order of customer 1 Item quantity item1 10 item2 2 item3 3 Vendor1 Amount on order Item quantity cost total home-deliver item1 10 50 500 100 item2 2 40 80 item3 3 40 120 Vendor2 … | |
Hi all I am trying to make a little program that when you type in a number (anydigit) it will search the xml file and display the results in a text box, i have found some code that i would like to modify, the code here has no option to … Software Development xml | |
Hi I'm doing a project for school and I'm stuck on this particular function, whenever it runs the test I get this error: [CODE]malloc(): memory corruption (fast): 0x0981f018 ***[/CODE] here is what i have so far: [CODE] string& string::operator+=(char ch) { _size += 1; if(_capacity <= _size){ (*this).increase_capacity(1); } _data[_size … Software Development c++ | |
# include <iostream> using namespace std; int main() { char places[3][11]={"London", "Birmingham", "Glasgow"}; char *p; cout<<places[2]<<endl; p=places[0]; cout<<p<<endl; cout<< &p[2]<< endl; <------ cout<< p[11]<< endl; <------- return 0; } the output is the following Glasgow London ndon B what i dont get is how the 3rd and 4th output line … Software Development c++ | |
[url]http://trac.edgewall.org/[/url] Software Development python | |
![]() | Hi all! I'm trying to implement a small program to test an API I've been provided, and since it's my first approach to C++ under Windows, I could use some help. I have this type definition: [CODE=CPP]typedef struct { const WCHAR* streetAddress; const WCHAR* city; const WCHAR* state; const WCHAR* … Software Development api c++ windows-api |
[code] struct players { string team_name; string driver; string navigator; double best_time; } world[32]; [/code] I am generating random values for the best time and using a bubble sort in ascending order for the best time. See below. How do I sort for best time but retain my team name, … Software Development c++ | |
Long story short, writing a multithreaded honey pot, and am having issues starting the honey pot servers. I'll get straight to the code, then explain the issue: Structure defs: [code=c] typedef struct __GENERIC{ int sock; char buff[MAXBUFF]; char ip[17]; int status; int port; int max_conns; // dMaxClients (Master = max … Software Development c data-structure multithreading | |
I was just wondering how I would go about finding a mode of a [U]un[/U]sorted array. I know that if it's sorted I can pass data into a 2 dimensional array and find the largest count. I tried to write some code counting the first value, but it ends up … Software Development c++ | |
I need an email validator in C#... i never written a letter C#... i found this: public static bool isEmail(string inputEmail) { inputEmail = NulltoString(inputEmail); string strRegex = @"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}" + @"\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\" + @".)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$"; Regex re = new Regex(strRegex); if (re.IsMatch(inputEmail)) return (true); else return (false); } but do i need … | |
Can I use python to read the contents of a text file on a server and dynamically update text on a web page(based on the text in that file)? This is something that I need to accomplish but I'm not sure if python is capable or if I should be … Software Development python web-server | |
Can anybody tell me.How should i get value on the basis of combo box.i simple want when user click one of the productname from the combo box other corresponding fields from the database should come in the text box of the form.Here is the code what i have written.kindly help … Software Development visual-basic | |
Hi all I am trying to make a little program that when you type in a number (anydigit) it will search the xml file and display the results in a text box, i have found some code that i would like to modify, the code here has no option to … ![]() | |
Hello Frens, I tried to update change made in database shown DataGridView1 of Visual Studio 2008 with the following codes. But an error message comes as "Object reference not set to an instance of an object". Public Class Form1 Dim cmd As Odbc.OdbcCommand Dim adp As Odbc.OdbcDataAdapter Private Sub Form1_Load(ByVal … Software Development vb.net visual-studio | |
Hi, im a bit new to vb6. Thing is I have to convert this php application to vb6 and im a bit stuck on the decryption module. below is the code, could you please give me some [B]guidelines [/B]on how to go about this conversion to vb6. I tried google … Software Development visual-basic | |
hi.. i just wanted to knw What is BusinessLogic Class in C#?? how it can be used in a program? & which namespaces should be used to access this class..?? i tried adding new namespaces bt it is not working. i will b reli happy if anyone helps me.. thanx.. Software Development c# | |
I need some advice from people who know what they're are talking about. The question I am struggling with is below and my attempt is below that. Can you tell where I'm going wrong? Thanks. I'm trying to acheive this: (A) Read the first name and the surname of a … Software Development c++ | |
Hello there. I'm having a problem with a linker error. I am trying to compile a project (just a hobby). It manages to compile, but I get a link error when trying to link. I don't see anything wrong with the code at all. I am using Dev-C++. This is … Software Development c++ | |
hi.. i have problem in which im using a login form as my first form.when i log in, a 2nd form shows up with a button. when i click on the button i want a messagebox to be appear with a certain msg. i want to change the font of … Software Development | |
Hi everybody, So i am totally new to the programming world but I have manage so far to learn how to connect to mysql database to Java and execute a simple query. However, I would like to know if there's a way I could make this query to look like … Software Development java | |
i have problem that in showpane Modify and Delete pane3 eventhough clicked delete button for the action but the combobox "Select Book" doesnt update in the list that the deleted book still exist. What happen ? any guide ? thx in advance . [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import … Software Development java java-swing | |
[CODE]#include <iostream> #include <fstream> using namespace std; void PrintError(fstream&, char, bool&); int Conversion(fstream&, char&, bool&); int main() { fstream InFile; char Bit; int Decimal; bool BadBit = false; //Open file to read InFile.open("f:\\Binary.txt",ios::in); //Read the first bit of the number InFile.get(Bit); //continue reading all numbers till the end of file … Software Development c++ file-stream ios | |
Hi everyone,this program prompts a user for a leap yr code and a day code resulting in an entire year's calendar.The result displays months one below another.Can some one tell me how to make it print 2 months next to each other,that is JAN FEB then MAR APRIL below them. … |
The End.