132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Eddy Dean

Hello everyone, I downloaded the source of an internet file and need to filter a specific part of it. I know how the [inlinecode]string::size_type position = Line.find("World:</TD><TD>");[/inlinecode] function works, but this only tells me where the data I am looking for is located (the data is after "World:</TD><TD>"). I want …

Software Development c++
Member Avatar for Eddy Dean
0
114
Member Avatar for Ene Uran

Does anyone have a good example of a wx.FlexGridSizer() application.

Software Development python
Member Avatar for Ene Uran
0
817
Member Avatar for Ene Uran

Is there a way to verify an exit, if you click on the exit symbol on a wxPython frame?

Software Development python
Member Avatar for Ene Uran
0
79
Member Avatar for biganimal

I have a simple program started and need help enhancing it and making it a more realistic database tool giving easy entry and retrieval. import shelve import string UNKNOWN = 0 HOME = 1 WORK = 2 FAX = 3 CELL = 4 class phoneentry: def __init__(self, name = 'Unknown', …

Software Development python
Member Avatar for bumsfeld
0
114
Member Avatar for RFBourquin

Need BigTime Help. I am having a great deal of trouble with strings and chars in C++. Judging by the posts at this site, I see I'm not alone. Other programming languages give me no problem -- I can manipulate strings pretty well. Here is my problem. How can output …

Software Development c++
Member Avatar for GloriousEremite
0
151
Member Avatar for Treant

Hey everyone Yeah so I have this program that I'm coding and when I compile it crashes (I don't know where the source of the error is). So I've parsed through it many times to no avail. I'm using the Borland C++ compiler and the debugger that comes with it. …

Software Development c++
Member Avatar for Salem
0
110
Member Avatar for rockzZ25

Hi All, I have an algorithm on the server. I want the algortihm to perform calculations based upon the data which is stored from a database to nested lists before the algorithm is run. Is there anyway of keeping the program running without any need of retrieving the data from …

Software Development algorithm client-server python
Member Avatar for rockzZ25
0
121
Member Avatar for cyan033

hi guys, first time posting here :cheesy: i have problems with my assignment.. Here is a piece of code inside my main function, I have to convert decimal number to binary. I take decimal numbers divide by 2, and strcat() the remaining, then use a function strrev() to reverse it …

Software Development c
Member Avatar for dwks
0
146
Member Avatar for Mwakudua Andrew

hi, could someone help me on to to write codes on my city council project which would enable the system to collect revenue automatically from clients?

Software Development pascal
Member Avatar for Mwakudua Andrew
0
106
Member Avatar for Rosicky

Write a password authentication program using a Binary Search Tree for a fast username search. Your program must meet the following requirements: Inputs: Before doing an authentication, read a file named “authen.pwd” that stores pairs of username and password. Wait for a command from a user and respond accordingly. For …

Software Development c++
Member Avatar for ~s.o.s~
0
148
Member Avatar for hemapriya

hi all, I am a student from India.I am developing an application that is a BHO that hooks the keyboard. I aiming to invoke some functionalities when some specific keys are pressed. Have the developed the code.Though my keyboard hook is getting installed, its not working! I found the reason …

Software Development
Member Avatar for Lord Soth
0
342
Member Avatar for imran_mani

i want to write an application in c# that check that either MSDE installs on current machine or not if not then install MSDE to current machine and copy SQL Server2000 database files(mdf and ldf) files to a specific location so that my another c# application use that database.could anybody …

Software Development c#
Member Avatar for Lord Soth
0
234
Member Avatar for Latent

Hello again, I have another assignment and need some help again. This time, I have to display the contents of a record file, consisting of contact information for a list of people. I have to create a text file with several lines of contact information- surname, firstname, email and tel …

Software Development email pascal
Member Avatar for Lord Soth
0
172
Member Avatar for asmith3006

Hi. Is it possible to fill a rectangle with a ratio of colour, for example fill a rectangle with 50% red so it's pale red? I want to be able to specify the shade of colour in a number form if possible. So far I've only found linear gradiants which …

Software Development
Member Avatar for Lord Soth
0
106
Member Avatar for johnangxun

Hi All, I now creating the login page. So I have using the [code]ForumsAuthentication.RedirectFromLoginPage(UserName.Text,False)[/code] So by default it will redirect to the default.aspx So this part is ok. [B]Can I redirect to the another file name?[/B] Another problem is, I will do the checking wheter the user is login. If …

Software Development session vb.net
Member Avatar for Bharati Krishna
0
254
Member Avatar for David Super

How do I communicate with my mysql database using VB.Net. I am trying to create an application for my employees to use. They will enter calls made, support requests, replies to those requests, and client data for our clients.

Software Development mysql vb.net
Member Avatar for Bharati Krishna
0
291
Member Avatar for rbabakuliyev

guys i need a c book in pdf format,can help me

Software Development c c# c++ pdf
Member Avatar for Grunt
0
108
Member Avatar for cyman73

Hello all, I am reading (get) and writing (put) values from multiple binary files. I first have to copy a binary file file1.bin to file2.bin and then I append 1 record to file2.bin. My problem is when I read the following code I am not getting the values I expect: …

Software Development visual-basic
Member Avatar for cyman73
0
195
Member Avatar for sgriffiths

hello I have a program which is being passed 2 lines items at a time To hold these lines i have 2 static pointers, these are:- static char *first_string=NULL; static char *second_string=NULL; These 2 lines will contain data such as:- A1|VALETING|LIMITED A2|COMPANY|VALET|LTD I then use strtok to move through each …

Software Development c
Member Avatar for jim mcnamara
0
236
Member Avatar for msvinaykumar

Hi, Is there any perl script (Or any script) available so that I can get email ID when user clicked the link . example Suppose I send this similar sample link (Give below) to three person A,B and C [URL="http://www.example.com/cgi-bin/test.cgi"]http://www.example.com/cgi-bin/test.cgi[/URL] (No query_string) Then I should Get there email address Vinay

Software Development email perl
Member Avatar for msvinaykumar
0
114
Member Avatar for j1979c

[B]Errr... anyone knows what this means in Delphi language? [/B]:sad: [code] i : integer; i := i - $24; [/code] It's actually in a function that completes a WAV file header something similar to the Microsoft's RIFF specification for WAV. The code goes something like this. [code] procedure TForm1.StopRecording; var …

Software Development delphi file-stream pascal
Member Avatar for j1979c
0
148
Member Avatar for Shital Parab

How to swap two variables without using a third variable & pointer?

Software Development c
Member Avatar for Salem
0
222
Member Avatar for atulajawale

Hello friends i am working on an image loader in java which allow user to drag and drop folder of images into JTable and showing the thumbnails but drag and drop of folder takes too much time to load thumbnails in table cell .. package org.tempuri.eyestudio.swg; /* * FileAndTextTransferHandler.java is …

Software Development api image java java-swing
Member Avatar for atulajawale
0
148
Member Avatar for shinny

Hi there, I am trying to parse a .txt file and don't know where to start. I am trying to get the file information from within the text file and output it to a SWT table. The file I'm trying to parse looks like the following with useless information before …

Software Development file-system java
Member Avatar for iamthwee
0
98
Member Avatar for theringer

Hello, I am new in Java and learning. I am looking for a sample java program which will display systeminfo (cpu, memory, etc) and software installed on a local machine.

Software Development java machine-learning
Member Avatar for JeffHeaton
0
98
Member Avatar for Killer_Typo

This is a simple little word boggle game for those of you that would like to see something interesting. It is not very complex nor is it all to intelligent. The game is that you basically select letters on a game board to try and make words, only letters that …

Software Development file-stream
Member Avatar for iamthwee
0
341
Member Avatar for cgerber

I'm either missing something small or theres a BIG problem somewhere. The following code compiles sucessfully with [B]g++ 4.1.0[/B] under [B]SuSE 10.1 i586 [/B][I](Linux 2.6.16.13-4-default i686) [/I]but it gives a Segmentation Fault when I run it. [code] #include <stdio.h> #include <list> typedef struct { std::list<int> b; } data; int main(int …

Software Development c suse
Member Avatar for WaltP
0
106
Member Avatar for Swapnil Palande

Hi all, How to set default focus on button in winform using C#? Thanks and regards, Swapnil.

Software Development
Member Avatar for hollystyles
0
2K
Member Avatar for marlonism

hi sir/maam...i am new member here my name is marlon from batangas city philippines...and i wanna ask something about vb...if i have a lots of textbox in a form...and one button to clear it all textbox...is it possible to use a for loop...like for each textbox or something to make …

Software Development visual-basic
Member Avatar for nedwards
0
181
Member Avatar for dilip.mathews

[code]#include <stdio.h> #define a b #define b a int main(void) { int a = 20, b = 30; printf("%d %d", a, b); } [/code] What will be the output of this programm ?????????????? Really confused with this ... Can somebody tell me what exactly will be happen and how macros …

Software Development c
Member Avatar for WaltP
0
228
Member Avatar for Reid Grandle

I'm trying to figure out how to create a few handy macros for my job at work. I've done a little VBA programming before, but its been a few years since I've touched it, so I could really use some help. I'm looking to create a host of macros that …

Software Development visual-basic
Member Avatar for williamrojas78
0
146
Member Avatar for comp_sci11

[code]#include<stdio.h> #include<string.h> #define size 21 #define max 5 int id[max][size]; char ln[max]; int pr[max]; int mt[max]; int fg[max]; void getrecord() { int i; for(i=0;i<=4;i++) { clrscr(); printf("id number:"); scanf("%d",id[i]); printf("last name:"); scanf("%s",ln[i]); printf("prelim:"); scanf("%d",pr[i]); printf("midterm:"); scanf("%d",mt[i]); fg[i]=(pr[i]*0.4)+(mt[i]*0.6); } getch(); } void displayreverse() { int i,p; clrscr(); printf(" idno. lstnme prelim …

Software Development c display
Member Avatar for Ancient Dragon
0
155
Member Avatar for Daan

Hello :-) I'm trying to pass a filestream to a function: [code]template <class T> void grid<T>::print(std::ofstream file) { for (int i = 0; i < h; i++) { for (int j = 0; j < w; j++) file << cell[i][j] << "\t"; file << std::endl; } }[/code] so that I …

Software Development c++
Member Avatar for Daan
0
169
Member Avatar for Clown

I have a problem here. Eg, do { method1(); method2(); method3(); while(repeat() ); how do i write the repeat() ?? It's needs to take in user inputs (eg, yes,no,y,n) and convert them into boolean. If input is yes/y, then it will repeat everything again. If input is no/n,then it will …

Software Development java
Member Avatar for Phaelax
0
82
Member Avatar for shapeshifter

hi, can anybody write a simple java program for the following pleasee.. coz i have loads of projects in my skool and i have to submit this within 2 days..coz i have to design an interface for this too "there are 20 houses 15 small houses and 5 big houses.if …

Software Development gui java user-interface
Member Avatar for Phaelax
0
82
Member Avatar for improgrammer

hi all this is my first post. i want to make an im program that runs in an applet in java. I was wondering if there were any tutorials that can help me do this

Software Development first-post java
Member Avatar for Phaelax
0
86
Member Avatar for lostpenan

I would like to extract the header info from an image file. For example I would like to search for the key "LINES" and return "2240" as string. And should I use open("r") or open("b") since im only interested in the header. Header: [inlinecode] BANDS = 1 BAND_STORAGE_TYPE = BAND_SEQUENTIAL …

Software Development file-system image python
Member Avatar for lostpenan
0
2K
Member Avatar for rxgmoral

Ask Function problem?thanks <<<<<<<<<<Class.h>>>>>>>>>> [code] #pragma once class Class { public: int get_return(int a,int b,int (*compare)()); int Rxgmoral(int a,int b); void Fun(); };[/code] <<<<<<<<<Class.Cpp>>>>>>>> [code] #include "Stdafx.h" #include "Class.h" int Class::get_return(int a,int b,int(* compare)()) { return (compare(a,b)); } int Class::Rxgmoral(int a, int b) { return a+b; } void Class::Fun() { …

Software Development c
Member Avatar for rxgmoral
0
146
Member Avatar for Daan

I'm writing small command line programs that for instance numerically solve systems of differential equations. The programs are so simple, that I think it would be an overkill to use a development environment like MS Visual Studio or Anjunta. I'm progamming on a Linux computer, and I use Gedit to …

Software Development c++ visual-studio
Member Avatar for joe_blow
0
87
Member Avatar for parani

Hi All, I want to know if there is any way to exit from both the parent and child loop simultaneously without adding any kind of conditional statement. ******************************************************** [COLOR=sandybrown][B]#!bin/ksh a=5 if[[ $a -gt 5 ]] then echo "a=5 and not went to else cdn." else if [[ $a==5 ]] …

Software Development cdn shell-scripting
Member Avatar for jim mcnamara
0
150
Member Avatar for MrAdam

Hey everyone. I've been checking out this forum for a while, but this is my first post. I have a question that I hope someone can answer for me. I have been working on learning C++ for about 2 months now and am beginning to grasp the basics more and …

Software Development c++ first-post
Member Avatar for hollystyles
0
142
Member Avatar for steve_randle

hi.. i would like to compare a user-input string with another string to see if they matched so what should i do? sample code: [CODE] getline(cin,string); if((i==25)&&([I]string comparsion here[/I])) do this; else if((i==25)&&([I]similar string comparison[/I])) do something else; [/CODE] so what should i do? i tried [CODE]const char* str = …

Software Development c++
Member Avatar for steve_randle
0
148
Member Avatar for bigfoot_80906

In unix there is a -p tag for the mkdir command. Is there a similar tag in Perl?

Software Development perl unix
Member Avatar for KevinADC
0
239
Member Avatar for nlsna17

[CODE]# include<iostream.h> void main() const int m=3; const int n=4; const int p=5; int A[m][n]; int B[n][p]; { cout<<"3x4 matrix"; for(m=0; m<3; m++) { for(n=0; n<4; n++) cin>>A[m][n]; cout<<A[m][n]<<"\t"; } cout<<"\n"; cout<<"4x5 matrix"; for(n=0; n<3; n++) { for(p=0; p<5; p++) cin>>B[n][p]; cout<<B[n][p]<<"\t"; } cout<<"\n"; int d, c=0; for(m=0; m<3; m++) …

Software Development c++
Member Avatar for dilip.mathews
0
168
Member Avatar for LostOne85

I need to create a Java program that uses a 3x3 neural network to accept tic-tac-toe moves and output what the next move would be. How would you even begin to write something like this? I need to do this by Friday!!! Example code would be very helpful.

Software Development java
Member Avatar for JeffHeaton
0
89
Member Avatar for mitchelltab

[COLOR=black]This is the program. Re-using the tuition calculations from Lab1, and write a program to do the following:[/COLOR] [COLOR=black]Read student classifications and numbers of units from the [/COLOR][B][COLOR=black]data file [/COLOR][/B][COLOR=black]LAB2IN.TXT. (No error[/COLOR] [COLOR=black]checking of data read from input file is required.) Then write each student's resulting tuition to a[/COLOR] [COLOR=black]second …

Software Development c pascal
Member Avatar for Dave Sinkula
0
187
Member Avatar for djkross

So I have this sorting program due and I did it all but there's something crazy happening when I run the program. If I enter a value that's greater than 6400 for the size of my array, the program crashes when it tries to sort it out. Also, when i …

Software Development algorithm c++
Member Avatar for djkross
0
76
Member Avatar for invokers

i am wrking on a project which is supposed to count packets that are sent and recieved in a LAN environment........i want help ragarding this....can anyone give ma a java code for counting packets in a network...

Software Development java
Member Avatar for invokers
0
118
Member Avatar for blazinking

hi all, I'm new to site {nice work on the forum ;) } and to c++ in general. I've started a class in the subject not to long ago and have hit a snag on one of the programing projects i was asigned to do ... I just cant figure …

Software Development c c# c++
Member Avatar for WolfPack
0
147
Member Avatar for Lun

is it possible to change the space into underline? coz i don't know how to program that in C... please help!!

Software Development c
Member Avatar for ~s.o.s~
0
102

The End.