199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sat4ever0606

[B]For inserting a node at the beginning y the foll code wont work?[/B] [code] struct node { int data; struct node *-next; }*head,*run,*ptr; typedef struct node n; void create() { if(head==NULL) { head=n*(malloc(sizeof(n)); } else { ptr=n*(malloc(sizeof(n)); ptr=head; scanf("%d",&ptr->data); head=ptr->data; ptr=ptr->next; } [/code]

Member Avatar for death_oclock
0
148
Member Avatar for Drifter666

Hey All, I'm having this weird issue and I'm not sure what to do. In the main function when I put one letter it'll work, once I put a string of letters it doesn't work. I've tried an assortment of stuff and I dunno what to do anymore. This is …

Member Avatar for Drifter666
0
3K
Member Avatar for Cody39E

Hello friends, i want to know how to modify the typed url in the browser applications such as Mozilla or IE.I m currently going through Mozilla Source Code.If possible please help me guys. Thank You!

Member Avatar for Cody39E
0
52
Member Avatar for suryadaniweb
Member Avatar for lason.naitsirk

Hi, I am very new in programming (six months), so many apologies for silly questions. I intended to write a console prog that uses libsndfile. It is kind of synthetiser. It reads text file created by user, where on each line, the information about parametres of sound synthesis are stored …

Member Avatar for lason.naitsirk
0
174
Member Avatar for bit9435

I'm making a program that uses three classes to calculate the price of carpet in a rectangular room: The price is calculated by multiplying the area of the floor by the price per square foot. In my RoomDimension class i need two FeetInches objects for length and width. I should …

Member Avatar for VernonDozier
0
656
Member Avatar for DanielB2

Hi all, I have created a Backgammon AI player in Java, and I would like to know if anyone knows how I can play my player vs GNU Backgammon in order to test how well it does. Thanks

Member Avatar for BestJewSinceJC
0
78
Member Avatar for doha786

i have GUI class named 'myGUI' where contains textField, button, textArea and so on.... the code like this: [CODE] p2.add(c=new Label("Type name to search:")); p2.add(m=new TextField(10)); p2.add(b=new Button ("SEARCH")); b.addActionListener(this); p.add(k= new Label("CLICK SEARCH TO START ACTION") p1.add(t=new TextArea(""), BorderLayout.CENTER); [/CODE] i have another class file named 'searchCompare' where user …

Member Avatar for doha786
0
91
Member Avatar for amegahed3

Hello All, I have a different question from my previous post. The problem I have now is that I want to output multiple files, having the names output1, output2, output3,....etc. I have a loop in which I do some things that output to the output file, but what I can't …

Member Avatar for jephthah
0
100
Member Avatar for srikanth.cpd

in my application i have to create an excel report of records. everyday at a specified time the report of records added from last 24 hrs has to be generated automatically. i am unable to compare the dates. please give me the solution thanks in advance

Member Avatar for ddanbe
0
64
Member Avatar for drynish

Hello! :) I have a small issue with an AFTER UPDATE Triger I implemented on one table of my db. In my trigger, I do some validation and update others (not in inserted or deleted) rows of my table. Thoses rows are updated but are not triggering my trigger (similar …

Member Avatar for drynish
0
118
Member Avatar for 35nando

Hi! I added to my project in Visual Studio 2008 library to work with Neural Networks (FANN) [url]http://www.geocities.com/freegoldbar/fann_cpp.zip[/url]. When i try to compile, following error occurs: c:\neu\neur\neur\src\include\fann_cpp.h(921) : error C2440: 'reinterpret_cast' : cannot convert from 'va_list' to 'const unsigned int *' Conversion requires a constructor or user-defined-conversion operator, which can't …

Member Avatar for 35nando
0
218
Member Avatar for BORAX

well first all, thanks for all help i have recive here before, just to make things cleare just cuse i olmoust got someone in trouble on other forum, this is not to make something ilegal or to cuse any spam. is for a privete forum and support i have!! this …

Member Avatar for BORAX
0
288
Member Avatar for sundar4047

Hai, I'm trying to load an image using applet.but i didn't get the image. The applet screen was an empty,it shows at the status bar "Start: Applet not initialized" . I don't know how to get a image.pls somebody help me.the codes following ------------------------------------------------------------------------------------ /*<applet code="crim1.class" height=500 width=500> <param name="img" …

Member Avatar for BestJewSinceJC
0
86
Member Avatar for breatheasier

Hi, I have 2 columns of data, separated by a space, which I am trying to import into 2 variables as a tuple. Each column as a variable. I know the program would involve something using line.split() or line.strip() but I can't figure out how I would do it. Also …

Member Avatar for breatheasier
0
179
Member Avatar for jimbob90

I haven't programmed in some time and need some help here plz. First of all how are individual characters of a string are accessed? second do they start at 0 or 1? I'm probably confusing this with arrays please help me out :). This program will read in a line …

Member Avatar for jimbob90
0
124
Member Avatar for MoOou

hi!! I need a help with part of my assignment. My professor asks to write a program that uses switch, and while loop statements.. this is the Exercise [COLOR="Green"] Write a program that uses switch, and while loop statements to present the following menu and perform the operations. Our program …

Member Avatar for MoOou
0
243
Member Avatar for Takafoo

Hey can anyone help me with the below errors please? vector.cpp: In function 'void printEmployees(const std::vector<employee, std::allocator<employee> >&)': vector.cpp:104: error: passing 'const employee' as 'this' argument of 'void employee::printEmployee()' discards qualifiers [code=cpp] #include <iostream> #include <iomanip> #include <string> #include <vector> #include <fstream> #include <stdlib.h> using namespace std; class employee { …

Member Avatar for Ancient Dragon
0
795
Member Avatar for suju_jm

For validation purpose i want the page size property of the gridview from javascript. I am using .net 3.5 and ajax. Thank you in advance

Member Avatar for greeny_1984
0
65
Member Avatar for beddy085

I need some tips and pointers.....(a solution would be great!!ha) A working games system is provided for you in Project.zip. This contains a Visual Studio “solution” including all required source for cRandomPlayer, cHumanPlayer, cPlayer, cGame and cXandO. It also includes the mainline (in BoardGames.cpp) and (to assist you) has two …

Member Avatar for beddy085
0
89
Member Avatar for kevin wood

this code was working fine until i changed the way the site loads the content (it now loads the content into a div tag) and since then it will not populate the menu. the page can be viewed at [URL="http://acmeart.co.uk/pip_new"]this site[/URL] you will need to go to the sub links …

Member Avatar for kevin wood
0
134
Member Avatar for chichi

hello All please help i have a website i got from Geodesic. but wen i try to log on to the backend /admin i get this error: The specified CGI application misbehaved by not returning a complete set of HTTP headers. please help anyone.

Member Avatar for AnDurugkar
0
214
Member Avatar for venkatad

Hi all , I am a newbie here, excited to join in this community. Here I have a question reg asp.net and MSaccess. My application runs on asp.net with msaccess as backend. I need to implement a search, search by studentID which is an int. The user will put a …

Member Avatar for greeny_1984
0
154
Member Avatar for turbomen

I need to write a skeletn program for the assignment. It should have a menu system with at least 5 options. The menu keeps repeating after each procedure is called. When one of the procedures is called just return a message to the screen saying what this procedure will do: …

Member Avatar for FlamingClaw
0
160
Member Avatar for kevin wood

i have these two pages of information which are stored on a php page which then feeds the main div tag on the index page. the problem i have here is that a scrollbar shows up on the first page but not the second. so to see the rest of …

Member Avatar for nav33n
0
149
Member Avatar for britto

hi everyone.... im doing IDE for java swing (like dragging comp into design area)... is there a way to save the design as format and when i open it the design must be showed as it was saved.... Thanks in advance...

Member Avatar for darkagn
0
84
Member Avatar for srilakshmitr7

In php if we provide a particulr date how to display the name of the day i.e; whether that day lies on sunday or monday... Can you please give me idea.

Member Avatar for nav33n
0
102
Member Avatar for tomtetlaw

i have written a simple text game and i would like people to comment on my style and comment on things that i could improve on. [code=python] #=============================# # Copyright Tom Tetlaw (c) 2009 # #=============================# import random items = ["pot plant","painting","vase","lampshade","shoe"] keyLocation = random.randrange(1, 5) print "You went to …

Member Avatar for adam1122
0
105
Member Avatar for Donny 619

Hi. I'm trying to develop a currency converter, using live currency exchange rates. I've already designed multiple interfaces and a lot of codes for it, but i just do not seem to be getting this right. I need your assistance, guys. I'm a new member, who just joined the community …

Member Avatar for verruckt24
0
136
Member Avatar for PinoyDev

Hi guys.! Good day! I have a one windows xp computer which ive installed wamp(windows apache mysql) package. I want to connect to this computer using one computer on a network. The code works fine when i run the program on this server computer because i will just specify the …

Member Avatar for PinoyDev
0
112
Member Avatar for majesticmanish

I have a doubt regarding forwarding declaration. in .h file:[code] class B; class A{ void func(B* tap); } [/code] in .cpp file[code] void A::func(B* tap){ tmpo=tap->par1; } [/code] does the above code snipet correct if not whats the problem. Please be descriptive.

Member Avatar for majesticmanish
0
115
Member Avatar for queenc

hi i have a date in which i want to add the the days .and find the date.

Member Avatar for queenc
0
124
Member Avatar for neutralfox

Hello guys, I am having a small problem, I want to play a small songs (preferably .wav)when a user clicks on a button. Can someone just guide me please, is there a built in function. I've tried the [code]music.play();[/code] but its not working. Thanks in advance for you answers.

Member Avatar for neutralfox
0
141
Member Avatar for headacheinC

Hi, there !... I just found some reference here ([url]http://www.daniweb.com/forums/thread160974.html[/url]) how to used malloc on multidimentional array. I tried it to apply on my case using Microsoft Visual C++. Basically my code is to read an array of numbers in txt file. The rows and cols of array dimension are …

Member Avatar for headacheinC
0
98
Member Avatar for vssp

hai friends How to paly song when page laod using php code? I my php application when i load the home page automatically pale song Its possible !! ??Please give me any idea Thanks vssp

Member Avatar for vssp
0
173
Member Avatar for dragon@dragon64

I would like to create a table in mysql, with one of the fields being images. Can any one tell me what type i should call the field, and also if i have to put in any special commands. thank you

Member Avatar for nav33n
0
94
Member Avatar for masijade

[QUOTE=madhavireddy]Hi, I am new to java I have a project to be done with early deadline. Can u please help me how to write code in java to send GET request to server from client. Thank you in advance.[/QUOTE] So, you accepted a job you're not qualified for, or you're …

Member Avatar for madhavireddy
0
128
Member Avatar for rajshree13

i want search textbox to my website, and pdf should be retrieved from the folder to browser ,user should enter the word and on submitting word, entered string should match any of the pdf file from the folder and pdf files should be displayed on browser and user should open …

Member Avatar for rajshree13
0
106
Member Avatar for rinko

Dear all I am currently trying to find a java source code with which either HTTP POST or GET request can be sent. Unfortunately I have run into bunch of snippets that I can not run. Is there anyone that can tell me where I can find complete source code …

Member Avatar for madhavireddy
0
313
Member Avatar for usama

Hi All How i can send SMS by Java Mobile Application. I want the Class which used. Thanx Osama

Member Avatar for masijade
0
363
Member Avatar for shasha821110

Hello, all I want to implement the required portfolio function and print out the customers related symbol name, symbol buyin price ,symbol quantity, symbol last trade price, the changes etc But i found some issues with it. Here is my code: [code=php] //fetch the element from mysql while ($row = …

Member Avatar for nav33n
0
121
Member Avatar for LateNiteTippin

I'm very new to python, so this is very basic. I'm using the same basis i used on an add row program, which is probably why it comes up adding a row. When i read it back to myself, it seems to make sense. Thanks in advance for any help. …

Member Avatar for LateNiteTippin
0
2K
Member Avatar for coolbuddy059

I have to make a database in oracle and connect it with Java. But I'm not able to do so. Please help.

Member Avatar for stephen84s
0
159
Member Avatar for pscha3

Hello, I just started C++ and I have this assignment to write. I started writing it but I can't seem to get this one thing and that is [U]how to create a new contact and store it in a file. [/U] I need to know if I used the structure …

Member Avatar for adam1122
0
393
Member Avatar for jbennet

Okay im working on a java program which will get peoples system info and save it to a text file so i can help them with problems (designed for members of my family to use as i seem to be their own personal IT guy lol) [code] package sysinfo; import …

Member Avatar for stephen84s
0
369
Member Avatar for bebe11bebe

I am supposed to change an ordinary for loop into an enhanced for each loop. I have the following two problems: 1. for(int i = 1; i<data.length; i++) sum = sum + data; 2. for(int i = 0; i<data.length; i++) if(data == target) return i; These are the only pieces …

Member Avatar for BestJewSinceJC
0
92
Member Avatar for BLY

create 3 class,InputForm,Manager and Student.use only class below is the inputform class public class InputForm { public int input; public double getInput(){ return input; } public void displayMessage(char grade){ return grade; } } Student class public class Student{ private double score ; public Student (){ } public Student(double score){ this.score …

Member Avatar for BestJewSinceJC
0
167
Member Avatar for queenc

[CODE] $expiredate='2009/03/31'; $cdate='2009/03/03'; $dateDiff = $expiredate - $cdate; $fullDays = floor($dateDiff/(60*60*24)); [/CODE] the above method i am using to find the difference between two date.but it is not working.can any one tell me how to find the difference using php.

Member Avatar for queenc
0
77
Member Avatar for goodluck4287

Instead of a countdown and then redirect, I would like to countdown and unhide. I have used java before as a novice, but javascript looks like a relatively new beast for me. I found this counter and think it looks good, I guess it just resents the next smallest digit …

Member Avatar for essential
0
170
Member Avatar for hbmarar

Hi, I got a form page with 3 radio buttons. Radio button ,say A,B,C. billing and shipping address is what the form page consists of . Onclikc of A the user selects hide shipping address. On click of b , copy billing to shipping address as well and on click …

Member Avatar for its4masti
0
91

The End.