132,726 Archived Topics
Remove Filter ![]() | |
[QUOTE] fwrite writes only name from the structure emp and rest of them are written garbage value to the file. so it would be really great if any one of you can help me out[/QUOTE] [CODE] #include<stdio.h> #include<string.h> #include<stdlib.h> int main(){ FILE *fp; char another,choice,useme; struct emp { char name[40]; … Software Development c | |
Hi, Im having a problem with some socket programming and im hoping someone here can help me. basically im trying to bind a listener to a port. I have used some source code i obtained from the net, however the code was a few years old and contained the obsolete … Software Development c# dns socket-programming | |
First, I want to thank you for helping if you did, if not, thanks for checking it anyway. Second, I have been working on this for awhile, and I am slowly making progress. I am to make an address book, and for the most part I am getting it done … Software Development java | |
What's the deal with databases in C#? I'm used to using MySQL in PHP, but my confusion is this. If I develop an app, and sell it on, would the end user need anything installed? How do other app developers store data that's quick and easy to access? Any help … Software Development app-store | |
Hi All, I am trying to convert HTML file into XML using java. If anyone of you have sample coding please share with me. Your suggestions greatly appreciated. Thanks, Veera | |
Dear All, I have a bill to be printed on a size of 8.5 by 5.5. So I have set the both the left margin and right margin to 0 using the Design option followed by Page Setup. Then even in my code I have put this settings as below … Software Development | |
Please I have a little problem with my project. It goes "A polynomial of degree n is represented as Pn(x)=A0 + a1x + a2x2 + … + anxn Where a0, a1, a2, a3 , … , an are constant coefficients. Evaluation of such polynomials may be important if Pn(x) is … Software Development c | |
I am creating a small test application in which i am trying to fetch the all the hyperlink's details(Anchor Text and url) on the web page. What i have done till now is that i create webbrowser component loaded the page and fetch all <a> tags. I also know that … Software Development perl web-browser | |
I am a beginner at Java. I have been given an assignment to make a simple address book(without applets) using Java. It should have the following functions:- 1) search-by name,city. 2)add-name,telephone number,city,address. 3)modify. 4)delete. I am still working on the program.But the problem comes when the screen(black one) becomes too … Software Development java | |
One day while pondering about C I came up with this program. Can you predict what the answer will be? Now run it, were you right? filename.c [CODE] #include <stdio.h> #include <stdlib.h> int main(int argc, char**argv) { unsigned long *iptr = (unsigned long*)0;/*pointer equals 0*/ unsigned long ans = (unsigned … | |
Hi, I'm trying to locate a certain row in my datagridview, using textbox _textchanged event. Grid is populated with table having 2 columns as primary keys. With one column I have no problem, but using 2 columns I'm having exception . [code] private void dfSponsorname_TextChanged(object sender, EventArgs e) { try … Software Development | |
If I'm running a Do... Until or a For... Next loop in a button click event, is there a way I can allow the user to click the same button while the loop is running and escape the loop? Software Development vb.net | |
Hi, everyone. I am stuck in such a situation: When failing to open a file, of which the name is in Unicode, I need to show the user something like "Can't open file: \My Document\file-name-in-unicode.txt" by throwing an exception . I often use exceptions this way(is this a good way?). … Software Development c++ | |
Hi guys, I'm a newbie in Visual Basic and I need some assistance. I have 2 tables in mysql: 1. stats (stats_id,statsno,statsName) 2.stats_det (stats_det_ID,stats_id,stat_DateAdd,stat_UserAdd,stat_DateModif,stat_UserModif) I have a form named status and from here I want to add a new record in the first table (stats). I've created the insert statement … Software Development mysql vb.net visual-basic | |
Dear Experts How to display picturebox as oval shape. Please help Software Development vb.net | |
can anyone give me a sample code of a while statement with more than one condition? please... Software Development java | |
Hello all I was looking into some textbook solution (preparing for my exam) and I saw this program: Question Details: write a program that reads in a set of positive integers, representing test scores for a class, and outputs how many times a particular number appears in the list. you … Software Development c++ | |
I am using a Webbrowser control to sign into Hotmail. Then once it is signed in then I'll just use this navigate code to open the inbox: I think that the problem is that the actual inbox(mail window) is within an iframe. I have to figure out how to call … Software Development email html-css vb.net web-browser | |
Hi I have problem to get data from tag (eg: <TEXT></TEXT>). For example the string is like this: [CODE]$string = "<TEXT> Some text </TEXT>"; if($string =~ /<(TEXT)>\s*(.*)\s*<\/\1>/g) { $result = $2; print $result, "\n"; }[/CODE] It works fine, but if the string is like this: [CODE]$string = "<TEXT> Some text … Software Development perl | |
I make a button that create a new form and pass to it an array but there is an error there is the code [CODE] int [] x=new int[9]; x={0,1,2,3,4,5,6,7,8}; form1 x =new form1(x); [/CODE] and the other form constructor code is [CODE] public form1(int[]x) { InitializeComponent(); } [/CODE] Software Development | |
hi all i want to take a paragraph from a file and append this paragraph after ^L in another fille using shell scripting .............could you help me Software Development shell-scripting | |
Hi guys, how to make the default undo/redo in richTextBox support undo/redo multiple actions????????? Thanks [EL-Prince] Software Development | |
Hi, I'm not just new to this forum, but I'm also very new to programming and C#... so be warned! I am using a dictionary list to hold my usernames for an application I'm making. It's never actually going to be used, but it's purely to develop my knowledge. Firstly, … Software Development gui | |
Hi everyone, Hi everyone. I'm happy to be here today. actually I need help from u . I'm doing a JAVA program and there is this error that I really tried to fix but couldn't. so can u help me please. the program I'm writing is to accept data from … Software Development java | |
I have a listView, in 1st column is are article names, in 2nd column are prices of these articles (data type of float). And I have checkBoxes. What I would like to do, is to count the prices in 2nd column of all selected rows. And then the counted value … Software Development listview | |
![]() | Hi, I am trying to make a sublime text plugin to compile C using a make file, unfortunately it is all in python and I cannot get things to work :( could you please give me advice on passing data to the g++ make command? Thanks in advance. Software Development c |
I have a scenario where i have a DataSet bound to a combo box, and i would like to read a row from the DataSet based on the item selected in the Combo Box. For e.g. I have a dataset that has 1 table containing 2 fields say ID & … | |
![]() | I am making a command line program that finds factors of a number that the user enters. At the moment the user could enter something like this: '768r7fg38gf8320rf' which returns an error. I would like to restrict the user so they can only enter numbers (0 - 9). How would … Software Development c++ |
Hi, this is my first time here and I have a problem. I am trying to write a C++ program in Unix that gives me the Gregorian calendar with exceptions to leap year. I have all of my algorithms for calculating days, printing out the months, and such. My problem … | |
This must be an old problem whose solution must have been posted many times, but I can't figure out how to phrase it for Google. Anyway, I have a TPanel-like component that has a TLabel-like component on it, and the TLabel thingy fills the whole client area of the TPanel … Software Development pascal | |
hello guys I want to make a c++ program which is designed to receive some elements of a linked list by the user in a (while switch formula) and then the user can delete a specific value that he can designate . my problem is in delval function which delete … Software Development c++ linked-list | |
Hello, I have a file say id.dat In this file each line contains only an id number. I have a group of files (say 1.dat, 2.dat, 3.dat,...., 50.dat). There are unspecified number of records in each of them. If any of these records contain any of the id number present … Software Development shell-scripting unix | |
:-/I'm getting the following error when I debug this small test programm . I can't find anything wrong with it. Even on MSDN they come up with a two line sample code which generates that fault code. In other words, they have no clue either. I hope that some one … Software Development c++ | |
Hi everyone, I'd like to create a child class to the date class in the datetime module and, apart from adding some new methods to it, I'd like my child class to be initializable through different argument arrangements. For example, beyond the (year, month, day) initialization arguments of the parent, … Software Development python | |
![]() | Hello, I would love to create in C/C++ an array in which each cell is a pointer on a linked list of integers: can someone tell me how can I implement this ? Thank you very much for your help Begueradj Software Development c++ linked-list ![]() |
Hi, i am trying to develop a tool box for simple graphics...basically i want to give users an option to use a tool box and design basic drawings at run time...the drawings would be like simple network diagrams...some nodes connected to a backbone types... my friends (google, yahoo etc.) have … Software Development visual-basic | |
hi every body, i was working on my Client-server file hosting system and at this level my program can upload file from client to server but it is also expected to download the files previously uploaded. Now i can browse the filenames from the server with the following code, [code] … Software Development client-server java | |
I want to be able to click a button in Form1 so that it opens a new window with an about page and maybe some other things. How can I do this? Software Development vb.net | |
![]() | Hi, i need a help to do program.i need to read multiple files and need to print out result in to new file.I had stored my datas in mycomputer/programs(G:)/CNV/(inside this i have 4 folder and each folder consits of number of datas...) plz give me perl script to do this Software Development perl ![]() |
Hello, Im using threads in a recent project. I would like to know whats the difference between: pthread_kill() and pthread_cancel() What are the effects of each one? Thank you! Software Development c | |
Hello Helper, This is my code. I want to compress the file encrypted and then decrypt the same original file.Can you help ? /* [CODE]#include<iostream.h> #include<conio.h> #include<fstream.h> #include<stdio.h> #define ENCRYPTION_FORMULA (int)Byte+25 #define DECRYPTION_FORMULA (int)Byte-25 int Encrypt(char *FILENAME,char *NEW_FILENAME) { ifstream fin; ofstream fout; char Byte; char NewByte; fin.open(FILENAME,ios::in,ios::binary); fout.open(NEW_FILENAME,ios::out,ios::binary); if(!fin) … Software Development c++ file-system ios | |
Well for past few months now i have been doing my research on encryption cipher and i have tested on plane text , its not a problem . If i have to test the fastness of the cipher i got to try it on movie and audio files and check … Software Development audio c++ encryption | |
Hello all, what is the difference between [CODE]*grade++ *(grade++) (*grade)++ ++*grade *++grade *(++grade)[/CODE] please with examples... I didn't understand manipulationg pointers very well help asap Software Development c++ | |
Hi, I've been revising object orientated programming, and decided to have a look at accessing parts of my code in other files. The problem is, I get error messages such as "Player1" not declared, and I can't figure out how to declare them. For example, in my main.cpp file I … Software Development c++ | |
![]() | I have been reading about pointers, which IS confusing. I'm sure there is a purpose, but I don't know why I need them yet. For example [CODE] [COLOR=Red]var1 = 23;[/COLOR] [COLOR=Blue]// assigning 23 to var1[/COLOR] [COLOR=Red]var2 = var1; [/COLOR] [COLOR=Blue]// assigning the value of var1 to var2[/COLOR] [COLOR=Red]var3 = &var1;[/COLOR] … Software Development c++ |
Hi every one, I m doing some work in fractal image compression, plz tell me how to convert a c code to matlab code | |
Gentlefolk, Totally new to the world of C C++, compilers and linkers. I am attempting to compile and build some demonstration application code which access BlueTooth devices. Have all the .C, .H files, also a .lib. Using the LCC c ide-compiler-linker, etc on Windows-32 Compile one module - no errors. … | |
Hi How Can I Change The Height of Rows in DBGrid ? Thanks. Software Development pascal | |
السلام عليكم ورحمة الله وبركاتة Hi All, I have a small problem, I'm making a small application to change the attributes of a word documents so I created a word object and at the end of my code I called the Word._Application.Quit Method, When I run the code on a … Software Development |
The End.