132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for puk

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
Member Avatar for BestJewSinceJC
0
100
Member Avatar for pt_solar

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
Member Avatar for VernonDozier
0
233
Member Avatar for billsmith7

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++
Member Avatar for billsmith7
0
130
Member Avatar for Tank50

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
Member Avatar for Tank50
0
107
Member Avatar for Phil++

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++
Member Avatar for John A
0
192
Member Avatar for Joe Hart

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
Member Avatar for jlm699
0
432
Member Avatar for Dio1080

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
Member Avatar for BestJewSinceJC
0
936
Member Avatar for dongtrien

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
Member Avatar for cguan_77
0
115
Member Avatar for rpbatni

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++
Member Avatar for rpbatni
0
91
Member Avatar for u8sand

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++
Member Avatar for Ancient Dragon
0
363
Member Avatar for gretty

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++
Member Avatar for nexocentric
0
163
Member Avatar for jpjpjpjpjp

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
Member Avatar for kvprajapati
0
74
Member Avatar for yugho

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 …

Software Development java vb.net
Member Avatar for kvprajapati
0
108
Member Avatar for guest7

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++
Member Avatar for guest7
0
130
Member Avatar for tnind

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
Member Avatar for tnind
0
194
Member Avatar for arunasingh

I am developing a project in which i have combobox in that there are list of station and i want that when i type the words that will match to that station and that station is selected in combo box

Software Development vb.net
Member Avatar for c0deFr3aK
0
99
Member Avatar for sivak

can anyone tell me the working principle of external assebly in c#.net?

Software Development assembly
Member Avatar for JerryShaw
0
84
Member Avatar for Lukezzz

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++
Member Avatar for Lukezzz
0
167
Member Avatar for valenchang

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
Member Avatar for Ezzaral
0
115
Member Avatar for nflem

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
Member Avatar for nflem
0
85
Member Avatar for tfurrows

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
Member Avatar for jephthah
0
120
Member Avatar for Lukezzz

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++
Member Avatar for Lukezzz
0
303
Member Avatar for turbomen

Dear Sir, This is the 3rd part of the question, I want to find and list the finalists. Cheers,

Software Development pascal
Member Avatar for FlamingClaw
0
101
Member Avatar for sid.coco

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
Member Avatar for Heru-kun
0
3K
Member Avatar for InS@NiTy

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
Member Avatar for InS@NiTy
0
2K
Member Avatar for ganmo

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++
Member Avatar for ganmo
0
174
Member Avatar for daviddoria

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
Member Avatar for vegaseat
0
103
Member Avatar for Aamit

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 …

Software Development algorithm c++
Member Avatar for WaltP
0
90
Member Avatar for jaystar

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
Member Avatar for Daramy
0
107
Member Avatar for RizzLinux1388

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++
Member Avatar for rdrast
0
2K
Member Avatar for quadmani

# 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++
Member Avatar for tux4life
0
289
Member Avatar for harsha_kusam
Member Avatar for jlm699
0
106
Member Avatar for kisky84

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
Member Avatar for Ancient Dragon
0
177
Member Avatar for tnimblett

[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++
Member Avatar for tnimblett
0
81
Member Avatar for raevin

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
Member Avatar for ArkM
0
162
Member Avatar for JainishP

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++
Member Avatar for ArkM
0
4K
Member Avatar for amorphis88

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 …

Software Development email regex
Member Avatar for amorphis88
0
101
Member Avatar for action_owl

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
Member Avatar for vidaj
0
144
Member Avatar for firoz.raj

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
Member Avatar for QVeen72
0
120
Member Avatar for jaystar

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 c++ xml
Member Avatar for jencas
0
147
Member Avatar for jackVB

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
Member Avatar for jackVB
0
142
Member Avatar for kevin12

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
Member Avatar for kevin12
0
87
Member Avatar for love_dude1984

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#
Member Avatar for serkan sendur
0
175
Member Avatar for SallyJ

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++
Member Avatar for threat
0
161
Member Avatar for mpete16

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++
Member Avatar for nexocentric
0
151
Member Avatar for love_dude1984

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
Member Avatar for Ramy Mahrous
0
72
Member Avatar for yesntu09

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
Member Avatar for javaAddict
0
108
Member Avatar for tayhaithian

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
Member Avatar for javaAddict
0
131
Member Avatar for ankit894u

[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
Member Avatar for WaltP
0
146
Member Avatar for cool_aj

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. …

Software Development c printer
Member Avatar for cool_aj
0
115

The End.