199,114 Archived Topics
Remove Filter ![]() | |
[code] #include<alloc.h> #include<stdio.h> #include<string.h> #include<conio.h> #include<dos.h> #include<ctype.h> typedef struct node { int dd,mm,yy; int cus_ac_no[15]; char cus_name[25],cus_add[45],cus_ph_no[17]; double cus_bal; float cus_intrst; struct node *next; }node; node *L,*ptr; void add() { node *p,*q,*new; p=q=L; clrscr(); new=(node*)malloc(sizeof(node)); if(new==NULL) { printf("list is full"); getch(); return; } else { printf(" Enter customer account number … | |
Is it possible for an app to write to the hard drive? Instead of using normal memory? Then delete what was stored on exit. | |
Hi, I need to implement a kind of real-time morlet wavelet transform for 200-samples of signal in C++. I have the code ready, which does the covolution of incoming signal and complex morlet wavelet and then take the sqare norm of the covolution result to get the energy of signal … | |
What is a closure? I keep reading this word in programming, but never got a good explanation. | |
My doubt is Am using Microsoft SQLSERVER as the back end with Visual Web Developer Express Edition as the front end. In one of the Forms,I do have the DropDownList which contains the names of the Employees. When I click each name from the dropdownlist..the corresponding datas of that Employee … | |
hi everyone, i am facing a problem in developing a software of pc maintainence, i require a source code to detect the ports of a general purpose processor without which i cant further proceed please give me suggestions regarding this. bye lakshmi.m | |
I am wanting to know what ways to attempt to do this. I want to set up an ASP >NET database service. The database (MySQL) will be hosted by a web hosting company which mya not be secure. I am thinking the best way to store clients' data would be … | |
What I ask can be very familiar to most of you. So, please don't point me a URL in MSDN, I can't understand the stuff there. Instead please add the "lacking" codes and help me to complete the code.I need to store First Name and Last Name of userswhich come … | |
[code]* Main.java * * Created on 22 August 2006, 21:56 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package javaapplication7; /** * * @author Dan */ public class Main { /** Creates a new instance of Main */ … | |
[quote] Friends I am making a program to seach a string from a input line of strings.There are two problems : (i)The program is giving correct search for word that is the 1st word of input line. e.g.,"hello" in hello friends how are you? but unsuccessful search for any word … | |
Please Someone Help me I'm making a software like Quick Books and i need help There is a text Box in which Item No. will be placed. Those item Numbers aren't editable. They should come in Automatically when i press the Add command button For example there is a record: … | |
Hello - I wrote an application to read mag stripe data from a card, parse it and display it's contents. Now I'm attempting to create a DLL out of that logic. I have trimmed down the program to eliminate all those modules, functions, subs etc., that won't be necessary in … | |
For my work, I am making a web application for our intranet that will query our accounts, and based on the input, will pull out the appropriate contact's email address to send a pre-scripted message. I can't seem to find a good answer on the net, but my question is: … | |
I am trying to find a good way to parse the input from a textarea into HTML (including line breaks etc) Basically the user needs to be able to not enter markup in order to keep the format they enter their data in. For instance if they enter: Here is … | |
hello guys... myself is aman, a third yr student in delhi colg of engg,india... i hv studied core and advance java in the last two months.... n i hv made a vry basic project on college database management... which was based more so on core java... now i want 2 … | |
I need to modify the Form's Clientsize in a static function but I get a compiler error - error C2597: illegal reference to non-static member 'System::Windows::Forms::Form::ClientSize. Are there any workarounds? Thanks. | |
As a beginner,For doing C programs which is the best compiler? plzz gimme a reply... | |
Hi When i assemble follow code [code] ;--------------------------------------------------------------- ; EAT.ASM ; Backhanded advertising program ; ; by Jeff Duntemann ; MASM/TASM ; Last update 3/5/89 ;--------------------------------------------------------------- ;----------------------------| ; BEGIN STACK SEGMENT | ;----------------------------| MyStack SEGMENT STACK ; STACK word ensures loading of SS by DOS DB 64 DUP ('STACK!!!') ; … | |
sizeof(3.14) GIVES 8 AS THE OUTPUT. Where sizeof(3.0f) gives 4 as output. Is it because default datatype alloted to 3.14 is double and attaching f changes it to float?? | |
SO i got this program date_struct.c going and it looks like everything works except the printout part. When input 2 dates to get the numbers of days between them nothing happens, the program ends. This also happens when i try inputting a date and an integer, and returns a new … | |
Can anyone teach me how to plot the line of best fit in this graph? Matlab keeps gving me error message that polymial is not uniquie when i use polyfit() command THx % change working directory to data directory cd C:\weatherdata number_of_files=length(dir)-3; for n=3:number_of_files s=load(['D',num2str(n),'.txt']); % define y as height … | |
hello friends, could anyone help me by send a link where can i download visual C++ compiler for free on my email <<email snipped -- read the rules>> I will really appreciate that. Regards, | |
ok i was just fiddiling around macking this program to see what would happen and it worked fine but for some reason now it doesnt do what the program tells it to do this is my code [code] "#include <iostream> using namespace std; int main() { int taco,pizza,chicken,hamburger,hotdog,; taco=0; cout<<"from … | |
Hi, While compiling with Sun CC (studio10) compiler, I've observed the following warnings: Warning (Anachronism): Formal argument 3 of type extern "C" void*(*)(void*) in call to pthread_create(unsigned*, const _pthread_attr*, extern "C" void*(*)(void*), void*) is being passed void*(*)(void*). Any tips on resolving this? Thanks, ameli. | |
Hello all, I previously attempted to attach an ActiveX.dll control to my form in VB2005 and VB6 without success. When in VB6 the control reference is made and I am able to place the control on my form, however, when I run it the IDE crashes with a Window Error. … | |
Hi I have a procedure which I have pasted below. I am using the VBe Enterprise environment and all test machines are Windows XP Pro SP2 with the latest hotfixes. On my machine (the one with the dev env) I have no issues running the application I have written. The … | |
Hi All, I have a program which takes a file as an input and does some processing depending upon the type of file passed. The file types are : abc_txt, abc_ply, abc_cnvinf, abc_laneinfo etc eg: DoWork [FileType] [File] ./DoWork txt abc_txt (or) ./DoWork cnvinf abc_cnvinf Now I have to perform … | |
Hello Im trying to segment a file. In doing so I need to open/createnew smaller files. The code I have [ initial.open("c:/test.jpg", ios::in|ios::binary); // input output.open("c:/copy.jpg", ios::out|ios::binary); // output] only creates one file output. I would like to have a for loop which creates n file eg text1, text 2, … | |
Hello All A question i have. I have a file which contains 5 million records. One line of this file may look something like below Adrian Tompson & Sons Ltd. If the last word in each line is Ltd, i need to change it to Limited, but i am truly … | |
Hai friends, I am very confused this task. please help me. if five banners are stored in one location , I want to displayall the banners simultaniously in my application. How to rotate the webpage top banner ? In my application i am getting the immage details using database. Please … | |
Hey everyone, Im new here, i have been browsing round these forums for awhile and thought i would get involved. Anyway i have a slight problem... I have a little bit of code that changes a string (eg. john) into its binary representation. What is going wrong, is that my … | |
hi all..... i need help and quickly plz about my final year graduation project in the faculty of computer science......i need to collect alot of suggestions and ideas about the project....... i hope it to be about mobile or/and web apps........plz reply me as quick as any one could.....thanks all | |
Hi. Can I ask you for TWO favors? FIRST: I want to build an application having a command button that can connect me through my modem to my ISP. Please, can you tell me what are the instructions that must be put in the code of the command button if … | |
I have files of several with geographical information of several places and animals that i want to be accesed by through the menu. Here is an outline of my project; I have simplified it by taking only parts that are relavent for my questions below. I have a PHP class … | |
Hi, I need to learn how I can use a custom data structure in a JList. In my program when I click the Add button next to the JList a JOptionPane opens and takes a String input. The input is then used to create an object which is placed in … | |
[PHP]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Login Processing...</title> </head> <body> <?php $username = $_POST['username']; $password = $_POST['password']; if( $username != null or $password !=null) { $conn = @mysql_connect("localhost", "uesrname", "pass") or die("could not connect"); $rs = @mysql_select_db( "siqq_web", $conn ) … | |
Hi, I'm a freshman in computer science and a new member to this forum. I'd like to convert the string representation of a number e.g "456" into its integer equivalent i.e. 456. As for character representation of single digits e.g. "6", I'm able to convert it to its integer equivalent … | |
[COLOR=magenta]For professional development which is the best compiler? DevC++ or Turbo c++? what is the difference between them?[/COLOR] | |
[COLOR=#000000]Completely confused on how to do this:[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] (a) Write function "daysbetween" which takes two dates and returns the number of days in between them. [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000](b) write the function "adddays" which takes a date and an integer, and returns a new date which is the … | |
I am supposed to use an array and a for loop to show the average of these grades. I am not sure the formula for average here and don't know if that is what has me messed up or not. It runs, lets me put in 1 grade and then … | |
Greetings, I need help with preselecting checkboxes in a HTML form. The first form has several checkboxes and then I post this to a php page which based on the checkboxes selected will send out emails. Each check box corresponds to an email address. After I send an email to … | |
Hi everyone, I let a friend use a directory on my website for his art e-zine. He emailed me this morning because he's having trouble getting 2 forms with the same javascript to work on the same page. I really don't know anything about javascript, though (neither does he), and … | |
hi ... can anyone please tell what are Lvalue and Rvalue errors in c and c++ ??? | |
I'm trying to write a class that randomly generates a number, emulating a dice roll. It runs from the command line (since I have yet to learn any other way of getting user input) taking the number of dice and the type of dice(number of sides). The problem I am … | |
Dear friends. Please give me the logic or code to display image based on number(in database) entered in the text box by the user. thanks in advance prabhu. | |
the function void fun() { char c; if(c=getchar())!='\n') fun(); printf("%c",c); } Gives the output cba .Can't say why? | |
[B][COLOR=red]I use Turbo c as my compiler. now am not able to use mouse.i can access the menu only by using key board. how can i change this ? i wanna use mouse.. am a beginner..so plz do help me[/COLOR]..[/B]:-| | |
I am not a citizen, national, or resident of, and am not under control of, the government of Cuba, Iran, Sudan, Iraq, Libya, North Korea, Syria, nor any country to which the United States has prohibited export. I will not download or otherwise export or re-export the Software, directly or … | |
Dear all. greetings here is the code snippet for student database search. whatever number i enter in the textbox,it says that student details r not found. please verify it. HTML code [code=html]<html> <head> <title> Student Search </title> </head> <body> <form method="POST" action="http://localhost:7001/jsp/result.jsp"> <table align="center" width="50%" border="0" cellspacing="4" cellpadding="4"> <tr> <th … | |
I have instantiated an object with arguments( string, float, float) The two floating numbers are initialized using the constructor but when I display my object using my print function instead of getting the two floating numbers I entered, I get 0.00 for each. [code]#ifndef Publication_H #define Publication_H #include <string> using … |
The End.