199,114 Archived Topics
Remove Filter ![]() | |
[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] | |
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 … | |
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! | |
How i pass i url to browser through c++ programme?? | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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 … | |
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 { … | |
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 | |
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 … | |
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 … | |
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. | |
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 … | |
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: … | |
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 … | |
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... | |
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. | |
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 … | |
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 … | |
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 … | |
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. | |
hi i have a date in which i want to add the the days .and find the date. | |
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. | |
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 … | |
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 | |
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 | |
[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 … | |
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 … | |
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 … | |
Hi All How i can send SMS by Java Mobile Application. I want the Class which used. Thanx Osama | |
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 = … | |
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. … | |
I have to make a database in oracle and connect it with Java. But I'm not able to do so. Please help. | |
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 … | |
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 … | |
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 … | |
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 … | |
[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. | |
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 … | |
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 … |
The End.