132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
Does anyone have a good example of a wx.FlexGridSizer() application. Software Development python | |
Is there a way to verify an exit, if you click on the exit symbol on a wxPython frame? Software Development python | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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# | |
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 … | |
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 | |
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 … | |
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. | |
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 | |
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 | |
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 | |
[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 | |
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 | |
![]() | 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 ![]() |
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 | |
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 ![]() | |
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 … | |
Hi all, How to set default focus on button in winform using C#? Thanks and regards, Swapnil. Software Development | |
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 | |
[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 | |
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 | |
[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 … | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
In unix there is a -p tag for the mkdir command. Is there a similar tag in Perl? | |
[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++ | |
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 | |
[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 … | |
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 … | |
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 | |
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 … | |
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 |
The End.