199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for comp_sci11

[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 …

Member Avatar for Salem
0
313
Member Avatar for Wreef

Is it possible for an app to write to the hard drive? Instead of using normal memory? Then delete what was stored on exit.

Member Avatar for alc6379
0
99
Member Avatar for yuelabtina

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 …

Member Avatar for yuelabtina
0
332
Member Avatar for Ene Uran

What is a closure? I keep reading this word in programming, but never got a good explanation.

Member Avatar for Ene Uran
0
286
Member Avatar for B.H

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 …

Member Avatar for B.H
0
140
Member Avatar for ganeshprasad_7

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

Member Avatar for Ancient Dragon
0
119
Member Avatar for cpopham

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 …

Member Avatar for nunnakk
0
203
Member Avatar for vbgaya

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 …

Member Avatar for nunnakk
0
135
Member Avatar for calldan

[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 */ …

Member Avatar for hooknc
0
200
Member Avatar for s s paul

[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 …

Member Avatar for Dave Sinkula
0
155
Member Avatar for muhammad_owais

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: …

Member Avatar for sreedharan@247
0
191
Member Avatar for George Jump

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 …

Member Avatar for Comatose
0
218
Member Avatar for gil857

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: …

Member Avatar for gil857
0
110
Member Avatar for silverdollar

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 …

Member Avatar for silverdollar
0
186
Member Avatar for aman_dce

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 …

Member Avatar for DMR
0
361
Member Avatar for DotNetUser

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.

Member Avatar for DotNetUser
0
99
Member Avatar for ammu117

As a beginner,For doing C programs which is the best compiler? plzz gimme a reply...

Member Avatar for Grunt
0
180
Member Avatar for VIDOCQ

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!!!') ; …

Member Avatar for VIDOCQ
0
172
Member Avatar for himanjim

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??

Member Avatar for Rashakil Fol
0
101
Member Avatar for sdybc

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 …

Member Avatar for WaltP
0
128
Member Avatar for jubleebow

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 …

Member Avatar for jubleebow
0
339
Member Avatar for Smoke

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,

Member Avatar for WaltP
0
79
Member Avatar for grunge man

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 …

Member Avatar for ~s.o.s~
0
106
Member Avatar for amelie

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.

Member Avatar for Salem
0
119
Member Avatar for cyman73

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. …

Member Avatar for Comatose
0
148
Member Avatar for jsavoor

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 …

Member Avatar for Comatose
0
175
Member Avatar for squirrel

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 …

Member Avatar for andor
0
110
Member Avatar for Panda123

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, …

Member Avatar for Micko
0
96
Member Avatar for sgriffiths

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 …

Member Avatar for Micko
0
156
Member Avatar for vssp

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 …

Member Avatar for vssp
0
89
Member Avatar for insamd

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 …

Member Avatar for insamd
0
86
Member Avatar for med7at7egazi

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

Member Avatar for harshita
0
299
Member Avatar for Majid Sarrouh

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 …

Member Avatar for Miuca
0
179
Member Avatar for kibanga

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 …

0
171
Member Avatar for ryy705

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 …

Member Avatar for ryy705
0
195
Member Avatar for baysiqq

[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 ) …

Member Avatar for blacksmoke
0
106
Member Avatar for dannyfang

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 …

Member Avatar for Dave Sinkula
0
334
Member Avatar for ammu117

[COLOR=magenta]For professional development which is the best compiler? DevC++ or Turbo c++? what is the difference between them?[/COLOR]

Member Avatar for Grunt
0
139
Member Avatar for sdybc

[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 …

Member Avatar for WaltP
0
113
Member Avatar for tln26

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 …

Member Avatar for tln26
0
122
Member Avatar for Gravis

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 …

Member Avatar for Puckdropper
0
363
Member Avatar for nicekitty

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 …

Member Avatar for FC Jamison
0
127
Member Avatar for joshilay
Member Avatar for himanjim
0
174
Member Avatar for mrsteve

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 …

Member Avatar for mrsteve
0
205
Member Avatar for kssprabhu

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.

Member Avatar for freesoft_2000
0
134
Member Avatar for himanjim

the function void fun() { char c; if(c=getchar())!='\n') fun(); printf("%c",c); } Gives the output cba .Can't say why?

Member Avatar for ~s.o.s~
0
165
Member Avatar for ammu117

[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]:-|

Member Avatar for ammu117
0
95
Member Avatar for ! !

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 …

Member Avatar for feroz_kh
0
107
Member Avatar for kssprabhu

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 …

Member Avatar for hooknc
0
800
Member Avatar for SHWOO

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 …

Member Avatar for Salem
0
241

The End.