199,114 Archived Topics
Remove Filter ![]() | |
[B]hi I knew very little about javascript and I didn't used it before a lot but now I Have a problem that: I want the pages in my website to go only forward and disable going backward [COLOR="Red"]I mean the user can not go back to the previews page in … | |
[CODE]#include <iostream> #include <string> #include <cstdlib> #include <ctime> using namespace std; void displayCardFace(int value)// gives 10 value cards a face to make gameplay more realistic { if ((value >= 2) && (value <=10)) cout << value; else if (value == 1) cout << "Ace"; else if (value == 11) cout … | |
Hi started learning c from book "let us c". I noticed that I can't find string unformated functions such as putch,putche or stricmp? Are these funtcion are part of standart? | |
hi there i am trying to build a linked list from read a file operation. this code only adds the first node to the list. the problem is i am facing with "error: request for member 'head' in something not a structure or union" error. i call add_Node function in … | |
Hello. I have been programming for a while now and am ok but for some reason i can never figure out weather or not to do something like this [CODE] code * c; c->something(); [/CODE] or [CODE] code c; c.something(); [/CODE] no where has explained that to me, but ive … | |
I am trying to move a ball using time. What do I need to know to move the ball? How can I move the ball 20 pixel per second? [CODE]#include <allegro.h> int ballx = 320; int bally = 240; void ball(){ if(key[KEY_RIGHT]){ } else if(key[KEY_LEFT]) { } acquire_screen(); circlefill(screen,ballx,bally,5,makecol(255,255,255)); release_screen(); … | |
OK I figured after looking at some of my top down style original application that I wanted to make it a bit more classy, and organized as well as simply just use a class to both keep familiar and give me dynamic options. I have ran into problems and cannot … | |
So ive been trying to figure this out on my own and searching the books and the net and still no success. Can anyone give me some input with this thing. [code=php] #pragma once #include<iostream> #include<cstring> using namespace std; class hugeint{ friend ostream &operator<<(ostream &, const hugeint &); public: hugeint(long … | |
[COLOR="Red"][B]//This is the main file[/B][/COLOR] [CODE]#include<iostream> #include<fstream> #include<string> #include "Books.h" #include"account.h" using namespace std; int main() { cout << "\tWelcome\t" <<endl; cout << "1-Login" <<endl; cout << "2-Register" <<endl; cout << "3-exit" <<endl; cout << "Please enter a choice: "; cin >> choice; switch (choice){ case 1: system ("cls"); cout … | |
Hey I'm making a small application for my gaming buddies, and I have a picturebox that I'm drawing on. The problem is, it appears as though the Location property of the MouseEventArgs is wrong, and it becomes even more so toward the bottom + right portion of the picture, like … | |
Hello guys! i got a small problem here.. [CODE]<script type="text/javascript" src="jwplayer.js"></script> <script type="text/javascript"> jwplayer("mediaplayer").setup({ flashplayer: "player.swf", file: "data/vid/CHANGETHISNAME.flv", image: "preview.jpg" }); </script> [/CODE] I need to change the file name in this code by a PHP variable gotten from [CODE]$row['movietitle'];[/CODE]. I have no clue, please give me something.. Cheers, Sorcher | |
Dear friends; I write a stack template, the head file and the main are as follows; but when i test the push function, it give me the following error. i do not understand the reason. could you please help me out. 1>f:\computation\datastructure\stack template\stack template\main.cpp(31) : error C2664: 'Stack<T>::push' : cannot … | |
hey i have a little problem with this app, and i hope somebody can help me. i have to create an application that watch over your appointments. i have the JFrame up and running, but i have some issues with the buttons: when "New appointment" clicks, the data for the … | |
good day guys! anyone can help me about this.. i need to create a login form with database (users.mdf) im newbie in c# .net i manage to create a connection my problem is the code behind the Login_Button thanks God bless | |
Can anyone direct me to a free (& good) advertising script that I can use for my community? One that does banner ads, postage stamps, buttons and text links. It'd be even better if it's open source & PHP! Thanks in advance! | |
I've been tasked with reading in multiple emails that are stored in a single archive file and then scanning it to find certain things. My problem now is that I seem to only be reading in the first of the many individual files stored in the single archive. The "archive" … | |
I'm trying to make the ball move to a specific place then falls into the bottom of the app and this is an quick image I made to make it clear [URL=http://img845.imageshack.us/i/sssssv.gif/][IMG]http://img845.imageshack.us/img845/6651/sssssv.gif[/IMG][/URL] and this is what I've been doing , I know it's a mess :S [CODE] private float ballRadius … | |
I can't make my array work. I have never encountered this error before and I am a beginner programmer, this is my homework assignment. Please help! I really don't understand/know a lot of terminology, so it would be most helpful if you showed me how to change my errors. Thank … | |
I want to expand my Jtree nodes into multiple lines. Any idea for how to achieve this? | |
i want to make a game where different player can join.this is as like a dice game.first time numbers of player can join,after joining the game will start.the game will continue up to 5 or 6 round.after that highest scorer will be declared as a winner, one thing i like … | |
Hi everyone. I am writing a code that receives two numbers and puts them into strings. The first number works fine, but when the program tries to get the second number, it crashes. I found out that the problem is with "12(%ebp)." If I change it to 8(%ebp) or 16(%ebp), … | |
Hi all thanx in advance I want to make a job portal like naukri.com in Php , I have tried many free CMS and scripts but not got too much of it , please do help me with something its urgent....... Thank you | |
I'm doing a part C, part Assembly code but I'm getting a segmentation fault. And I haven't figured out why? Can anyone help? [CODE] #include <stdio.h> #define SZ 7 int* a[SZ]; int x, y, z; void populate() { x = 1; y = 2; z = 3; a[0] = &x; … | |
Hi, I am writing a piece of code for a student database. I have one abstract base class named student and three classes (physics student, biology student and chemistry student) derived from student. I want to overload the insertion operator (<<) so that at some point in main I can … | |
How to convert this to 3RD normal form? [url]http://oi55.tinypic.com/aytvv5.jpg[/url] error in above table >>>>> Take c02(ID) bobby as lee.they both has to be the same Thanks | |
i'm developing application in .net using c# that has 1 dropdown list .I want to take data in it .to show in list.please suggest me some help | |
Hi there, I've been trying to create a memory test game, but been trying to figure out a way to get the output to display for a limited amount of time, any suggestions geeks in the house. | |
I have just started looking at simple cryptography in order to learn python better. Encryptions and decryptions should be speedy and accurate so im hoping it will improve my programming skills. I recently wrote this quick script for a shift cypher but i wasnt sure how to be able to … | |
can anyone please send me the code for marking an object in two successive frames???? please its very urgent.... | |
hi I want to fetch data from sql and use them to make a new data I really like to store the records in variables and maybe do some operations on some of them , but the main point is to update three tables in ways that are not the … | |
I was given an assignment to complete on database, i have created it and also works but crashes after executing once, check it friends and please help, if you can modify or make it works my time is really limited and am unable to find a solution, friends be graceful … | |
Hi, Anyone can help me to build this little program? i want to know that which folder or drive i'm in and my program will automatically write the status on the list box <example: kind of FileSystemWatcher1>. i mean, i want to get the current status of the drive and … | |
I'm trying to determine number of days difference between the due duedate and current date and really need help. [CODE]<?php mysql_connect("localhost", "root", ""); mysql_select_db(numbersdb) or die("Unable to select database"); $query = "SELECT taxrate FROM numbdata" ; $result = mysql_fetch_assoc(mysql_query($query)); $taxrate = $result['taxrate']; mysql_connect("localhost", "root", ""); mysql_select_db(oodb) or die("Unable to select … | |
What is the reglalr eperssion of [CODE]http://www.adexmart.com/product.php?id_product=[B][U]14[/U][/B]&utm_source=shopmania&utm_medium=cpc&utm_campaign=direct_link[/CODE] in JavaScript. Underlined and bold marked text will vary ?? | |
So I've been doing some reading on what the model view controller is and from what I understand, it is pretty much a way to structure your application but I'm still not that sure and I need some help knowing if I understand the concept correctly. If I start making … ![]() | |
Hi, I have start and end time like this: [CODE] $start = "Wed Apr 27 03:57:21 EDT 2011" $end = "Wed Apr 27 03:58:42 EDT 2011" [/CODE] I need to compute the exact time taken some thing like 2 hours or 1 min. I have to do this with out … | |
Hey, everybody, I'm a newbie at Python (2.7.1), and new to DaniWeb as well. and the apparent simplicity of Python got me interested in programming (seriously, the only thing before this was HTML). Anyway... I was taking a test and thought that after I was finished I could make an … | |
hi, there is a script or something that can read this file? [url]http://ical.imac.com/ical/portuguese32holidays.ics[/url] the ideia is to save all days and holidays for a mysql and then update time to time. thanks for your help :) | |
Hi, I put 4 buttons on my form. [B]cmdFirst cmdPrevious cmdNext cmdLast [/B] How can I navigate my MS Access database using these buttons. I don't want to use .ADO instead I would like to use my own buttons with code (OLEDB). Sample code for this purpose would be highly … | |
Hello, I am writing a prog with ASP in C#. I have 2 separate pages. on the first page there are 2 textboxes and a button. the first box is a validation check (a code) the second one is the ammount of money you want to withdraw (max of 1000) … | |
Hey, I am new to python and was wondering how to import modules? I want to import the datetime module. Do i have to download it from a website? Thanks | |
I have to ask the user a question on what number they would like to search for in the list. The code compiles fine but when I run it, nothing shows up for the user to ask a question. here is the code: [code]#include<stdio.h> #include<stdlib.h> struct Node { int data; … | |
Hi all, I need to set some variables via Pysnmp which take 'unsigned int' only. Is python int by default a 32 bit- signed int? How do I convert it into 16 and 8 bit- unsigned ints? I need to read two registers consequently( which are of 8 bits each) … | |
Hey, I am working on a book writing program right now and I am wondering what the best way of saving the book(s) would be. I would like all of the books in one place, and I need to divide between all of the chapters in the book. So I … | |
how to select a date from calender check that date from database; display those only those data which selected data consist [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.Sql; using System.Data.SqlClient; using System.Configuration; namespace manage_logs { public partial class UserView : … | |
this is my program [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { char[] d = new char[12]; string dd = "5Ed5v3a4r3d4"; for (int i = 0; i < dd.Length; i++) { d[i] = dd[i]; { if (d[i] >= … | |
[url]http://alibimurders.co.uk/index.html[/url] That is my website. If you look at the top, you can see links which don't do much at the moment but will contain urls for different pages. The problem I have is how can I make them in to tab like images. For example, if you open up … | |
here is my code want to get records between two dates [CODE] $sql=mysql_query("SELECT * FROM `expense` WHERE `date` BETWEEN '2011-04-26' AND '2011-04-28'") or die(mysql_error()); echo $r=mysql_fetch_assoc($sql); [/CODE] i getting "Array" in output instead of the data please sort it out for me i am not getting it right | |
hi can anyone explain what is XSD extension file and what is main purpose of this file thanks regards suresh.S | |
hey people, i have the following problem, i'm setting up a webshop with over 2k items and every 6months the prices are changing(wines) so i was wondering how to import an xml file into a mysql database without having to go in phpmyadmin. this because i don't want the people … |
The End.