199,114 Archived Topics
Remove Filter ![]() | |
Hi, i am working on a project where I have to read a .txt file for a feed and parse the data line by line. I am using FSO in ASP to do this and it is working fine on small versions of the file, unfortunatly, the actual file is … | |
What is a parser and what does it do? For example, what would an HTML parser do in python? | |
i am using vb.net and i dont know anything about paypal. i want paypal in my onlineeducation project.can u explain about it give code for that.whether we have to buy anything for that service.please give complete info about paypal. thank you in advance | |
HI, I was trying to learn more about I/O with files in C++ and I can't figure out why this program can't output to the file... [code=cplusplus] #include<iostream> #include<string> #include<fstream> #include<algorithm> using namespace std; char userinp; void print_interface() { cout << "Enter E to Encrypt" << endl << "Enter D … | |
Hello, I have a MySQL database and I'm trying to make a dropdown list using PHP based on the value stored in my DB. So far I have this (copied, pasted, and edited from another forum): [CODE] <form action="maintest2.php" method="POST"> <table border="0" cellpadding="2" width="100%"> <tr> <td><b>Main Category:</b></td> <td> <select name="Name"> … | |
Hello! I have a piece of software called X-Mouse Button Control, and its able to intercept mouse events. The website for my mouse had this instead of a driver specifically for the mouse. In the program, I am able to "Intercept" the functions of Leftclick, Rightclick, ect, globally for windows. … | |
hi guys, I am doing online form project, I get problem with navigation. the user can forword and back the page . I need to prevent user from that. I mean that once user gets new page , he can't get the prevouis page , but it asks him to … | |
hi, I have more than two form in my vb.net project. please let me know, how to run(load) or debug my current form?. For Ex: consider forms like, form1,fom2......if i run the project means, it start from the first form, but i have to run only the second form. | |
Hi! I'm trying to write a code where I call a number of programs, with each program's output being the input for the next program. [code] WinExec(run11, SW_SHOWNORMAL); //to execute program1 WinExec (replace2, SW_SHOWNORMAL); //to execute program2 [/code] Now the problem is, program2 starts running before program1 finishes, and therefore … | |
Got a small detail problem that I cannot get to understand myself. The program, see attachments draws dots on the screen. There is a dot class for the details of the dots to be stored, that is size, colour, shape (square or round) Problem is with the colour...Cannot get other … | |
Im having some trouble in forking. All i want to do is to create a child process and under the child process i need to create a grand child..here's my code #include<stdio.h> #include<stdlib.h> #include<unistd.h> int main(int argc, char *argcv[]) { int val; val =fork(); if(val==0){ printf("Child process running\n"); printf("Child:%d PID:%d\n",val,getpid()); … | |
Hey, guys! I need little help for finished my code. I have created the code for analize my text file. I have text file with 2 lines. The program counts the lines of my txt file, length of each line, upper and lower case letters. Code works perfect without errors. … | |
every thing works till the fopen, the sprintf works as i'm printing to check that. i just doing know what is causing this not to work it prints "cannot open (null)" but the filename var does have something assigned to it. any help will be welcomed [CODE="c"] char tmpfilename[10]; char … | |
I'm writing my first program. It's a C# console program. I need to connect to a database I've created as part of the project in VS Express. I've added the tables as Data Sources for the project. I'm writing to ask about the basics of dealing with databases. Like what … | |
Here is my source code of inputting and print the matrix: [CODE=C]#include<stdio.h> int main(void) { unsigned int m,n; int a[10][10]; int i,j; int temp; printf("Plz enter the number of rows of Matrix:\n"); scanf("%d",&m); printf("Plz enter the number of columns of Matrix:\n"); scanf("%d",&n); printf("Enter elements for the Matrix:\n"); for(i=0; i<m ;i++) … | |
Hi, I need to write a program that counts how many total iterations are processed in a heap sort. I wrote the program but I don't think it is working properly. I have an array 32 numbers. The sort should go through a total of 160 iterations, right? Since it … | |
Edit: Title - java access denied on graphic file Edit: I didn't realize i didn't finish typing the title before submitting. I put my applet on the web but it says not initialized and the error is complaining about my graphic. Am i not allowed to have graphics? How can … | |
I need to store data in this format: [code] category1 { "line of text1" "line of text2" "line of text3" ... } category2 { "line of text1" "line of text2" "line of text3" ... } .... [/code] I also need to be able to add and delete categorys, and "lines … | |
I want to convert my measures taht is in pixels to cm in c# but I can't I search MSDN but can't find useful information Please help me | |
I'm new at scripting and I need help with converting multiple ".TXT" files to one ".CSV" file. Each file will have a different number of lines, then after the last line there is a blank line then more data, I don't want to use the data after the blank line. … | |
Hi I found a class ReadingPixels someone wrote on the net which given an image it dispays the x,y,r,g,b values as the mouse is over the image. I have a separate class I want to add the panel to. I can add the panel to my frame however I think … | |
Hi, I have seen a program in a thread that write a program which displays its own source code... How this can be done?? | |
Can somebody show me how to create a simple two column for strings? I need a sample code. Thank you for those who will help me. | |
How are these new URLs such as mail.yahoo.com or groups.google.com made? is it some sort of URL rewriting? or ?? any help about how to make such a thing or a tleast a guide towards it is appreciated. Thanks in advance. | |
hi, whenever i try to write records into the file, only the first piece of records can be written. even some simple program like the following cant work properly. [ICODE]type thing=record name:string; end; var f:file of thing; data:array [1..2] of thing; i:integer; begin assign(f, 'infile.txt'); rewrite(f); data[1].name:='name'; data[2].name:='second'; for i:= … | |
hi,,,, all can anyone help me getting some topic for c++ project..... i m not getting an idea on which i can work and make a program or project in c++.... vibhu | |
I am making 2 cookies, but when they are set, it shows me this error "Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\forum\index.php:4) in C:\xampp\htdocs\forum\index.php on line 81" But I dont have any headers?? Here is the code [CODE]$expire=time()+60*60*24*30; setcookie('username',$u,$expire); setcookie('password',$p,$expire);[/CODE] I made a … | |
Hi all, I try to make a system where client can send their sms (contained contact file in it that compressed) to server using sms gateway concept. In this case, server must handle 3 condition : registration, request sending file to server (by client), and request take file in server … | |
Hi, I have a string (str1) which contain a special symbol (you can see attached). I want to check if this symbol exists, so I have declared this special symbol: string str = char.ConvertFromUtf32(135); and did the following: if (str1.Contains (str)) { // do some stuff here... } It doesn't … | |
i'm with a question related to string comparing...i'm trying to compare two strings (well char pointers in fact :)), im using _stricmp for case insensitive comparison, but even with the conventional strcmp i'm not getting the result i want. [code=cpp] if(_stricmp(value,gen_arr[i])== 0){ file.seekp(-1,ios::end); file.put((i)); file.flush(); file.close(); printf("Editing of field %s … | |
Hello I have a program that prints a menu & the user is prompted to input a choice(1,2 or 3) if they input anything else, the output should be "Invalid Choice". [B] My Problem[/B] is that if a user inputs anything other than 1,2 or 3, then the program crashes, … | |
![]() | Hello everybody. I'm a [U]beginner[/U] and I need your help. I have a GUI programme and I need to make it run from an icon on the desktop. can you help me with an easy way to do so? |
I need to print to data stream to an output file but I'm not sure how to catch the data. Given example inputfile.txt has 20 data with a structure Michael 000000 m [email]abc@123.com[/email] 50 60 70 [code] #include <stdio.h> #include <string.h> void scanData(struct student data[]); void avgMaths(struct student data[]); void … | |
hi all ...i'am having a problem ..i'm working on an asp.net & silverlight project ....but the data base contain the (unique identifier) type ..and i don't know how to handles this type ...and also i can't add data to my data base coz this type is giving me alot of … | |
A const member function is not supposed to operate the data member. However, it can operate the data member if it is a reference data type. Why can operate the reference data member even if the member function is constant? It is shown below: two classes: Bird & BirdHouse BirdHouse … | |
Create a tic-tac-toe game. 1.First display a welcome message to the game. A player enters her or his name, selects to play first or not, and then start to plays the game. 2.Display a 3 by 3 tic-tac-toe board. 3. The player selects the cell to mark. The computer randomly … | |
Guys, I have this question, when I run this program, the program suddenly stop and tell me it cannot be runned, could your please tell me my error thanks. Here is the code: [code=cplusplus]#include <iostream> using namespace std; int main() { int student,subject; int marks[student][subject]; int i,count; student=5; subject=3; //Getting … | |
Hi, I've just came across declaration of this form: [code=c++] void fun() throw(); [/code] Could anyone explain what is the pourpose of this and maybe someone knows good book with thorough explanaition on this subject. Thank you | |
I made data report with condition. I want to input a student id number in a text box and press a button to show all data of this student, but a problem when i input a number in the text box (and press the button) for show the report a … | |
Please Help me!!! I know this is a stupid newbie error, but I am a newbie. My program compiles and runs, but I can't get the interestP and the principalP to pass to the other class to fill the graph. I have worked on this non-stop all day. [code] import … | |
hi VB Master, I'm building an application using VB6, MS Access 2003 as database, and crystal report ocx for printing and report. Right now I'm using ms dao (database files) to connect crystal with access. But it is very slow, when I want to show 1 record out of 1000, … | |
Hey folks, I could use a wee bit of help on this one... At the moment I'm trying to code something of a fluid effect using a collection of variably transparent rectangles and an two dimensional array of "densities" expressed in an integer from 0 - 255. Simple enough – … | |
hey there, good day, i have a problem regarding a csae study, im a newbie and i dont know what's the problem of my source code...help is badly needed,thanks | |
I've learned Java, C++, and most recently C ( Fall of last year). Seeing how there is a great deal of threads for C++ I'm thinking that I should go for C++. Which language do you suggest? | |
Hi, is there any function or algorithm that can completely remove a string array element? For example, string mystring = 'x', 'xx', 'xx', 'xxx'; if I want to remove 'xx' and I know the position of 'xx' in the array, I want this : mystring = 'x', 'xxx'; Anything? I … | |
Before i start my question, i must say i am very sorry for starting another thread for a similar question, as i have read many threads but i didnt really catch the exact answer i wanted. and again i am new and very sorry.(first post) i have been reading C++ … | |
Hello I have a function that should store random numbers in an array and also check if there are any repeated numbers. [B]My problem[/B] is that I cannot figure out how to 'repair'/get rid of repeated numbers & make them ...unrepeated numbers? :P Any advice on how I can alter … | |
in msflexgrid I have one fixed row. and 5 or more data show in 5 row. If I write code like:`txt1.Text = MSFlexGrid1.TextMatrix(MSFlexGrid1.Row, 1)` then when I click on a row then only one text box show that data. but I want I click a button then all data of … | |
How do I read what is being displayed in a cli process that my program starts? |
The End.