199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aaraf

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

Member Avatar for Troy III
0
101
Member Avatar for joru819

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

Member Avatar for abhimanipal
0
108
Member Avatar for cppgangster

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?

Member Avatar for abhimanipal
0
128
Member Avatar for quartaela

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 …

Member Avatar for abhimanipal
0
444
Member Avatar for JohnBoyMan

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 …

Member Avatar for WaltP
0
86
Member Avatar for Mr. K

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(); …

Member Avatar for Mr. K
0
193
Member Avatar for CodyOebel

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 …

Member Avatar for CodyOebel
0
279
Member Avatar for xander25

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 …

Member Avatar for ztdep
0
379
Member Avatar for cestra

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

Member Avatar for cestra
0
206
Member Avatar for pseudorandom21

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 …

Member Avatar for pseudorandom21
0
95
Member Avatar for Sorcher

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

Member Avatar for Sorcher
0
160
Member Avatar for ztdep

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 …

Member Avatar for mike_2000_17
0
177
Member Avatar for olsane

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 …

Member Avatar for mKorbel
0
101
Member Avatar for ellorinco

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

Member Avatar for ellorinco
0
200
Member Avatar for PipSqueak

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!

Member Avatar for momentleader
0
335
Member Avatar for Euphan

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

Member Avatar for Euphan
0
243
Member Avatar for loveman47

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 …

Member Avatar for loveman47
0
130
Member Avatar for sms5660

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 …

Member Avatar for sms5660
0
260
Member Avatar for warlord902
Member Avatar for warlord902
0
1K
Member Avatar for moshiurbest

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 …

Member Avatar for kiranroy
0
87
Member Avatar for LMat619

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

Member Avatar for untio
0
172
Member Avatar for murtazamzk

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

Member Avatar for chrishea
0
320
Member Avatar for darkeclipse8

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

Member Avatar for untio
0
136
Member Avatar for davelee

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 …

Member Avatar for vijayan121
0
865
Member Avatar for silvercats

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

Member Avatar for umer ansari
0
286
Member Avatar for anjela

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

Member Avatar for asshankar
0
708
Member Avatar for e-papa

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.

Member Avatar for e-papa
0
283
Member Avatar for Archenemie

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 …

Member Avatar for Archenemie
0
228
Member Avatar for fisat

can anyone please send me the code for marking an object in two successive frames???? please its very urgent....

Member Avatar for object21
0
57
Member Avatar for MeSam0804

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 …

Member Avatar for MeSam0804
0
141
Member Avatar for Sahilroy

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 …

Member Avatar for Ancient Dragon
0
117
Member Avatar for rafu5418

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 …

Member Avatar for rafu5418
0
83
Member Avatar for ckdoublenecks

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 …

Member Avatar for ckdoublenecks
0
89
Member Avatar for abhi10kumar

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

Member Avatar for Sanket_s
0
228
Member Avatar for qazplm114477

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 …

Member Avatar for diafol
0
121
Member Avatar for amithlaxman

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 …

Member Avatar for d5e5
0
3K
Member Avatar for Venku Tur'Mukan

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 …

Member Avatar for vegaseat
0
44K
Member Avatar for srdva59

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

Member Avatar for srdva59
0
123
Member Avatar for Learner7

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 …

Member Avatar for pramodsajwan07
0
457
Member Avatar for Robert955

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

Member Avatar for Robert955
0
236
Member Avatar for UnitedForLife

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

Member Avatar for vegaseat
0
104
Member Avatar for javarook

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

Member Avatar for Ancient Dragon
0
172
Member Avatar for novice20

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

Member Avatar for vegaseat
0
9K
Member Avatar for WolfShield

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 …

Member Avatar for WolfShield
0
213
Member Avatar for rahigoswami

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

Member Avatar for rahigoswami
0
222
Member Avatar for david59

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] >= …

Member Avatar for ddanbe
0
113
Member Avatar for Usmaan

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

Member Avatar for Sanket_s
0
130
Member Avatar for extemer

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

Member Avatar for jonnysmiths
0
139
Member Avatar for suvisoya

hi can anyone explain what is XSD extension file and what is main purpose of this file thanks regards suresh.S

Member Avatar for jonnysmiths
0
110
Member Avatar for thijscream

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 …

Member Avatar for jonnysmiths
0
657

The End.