199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Eko

[URL="http://img218.imageshack.us/my.php?image=sketchmh1.gif"][URL=http://img513.imageshack.us/my.php?image=sketchlw8.gif][IMG]http://img513.imageshack.us/img513/8739/sketchlw8.th.gif[/IMG][/URL][/URL] I have something like this : The reallocation of a piece of memory that works like a circular queues I've made a sketch explaining this ,I hope , very clearly I just need a clue,a tip,something that will get me started , because right now I'm stucked Thx

Member Avatar for Infarction
0
202
Member Avatar for sneekula

I was experimenting with the nested list example in thread: [URL]http://www.daniweb.com/techtalkforums/post246791-72.html[/URL] and was trying to search a nested list like that: [code]nested_list = [1 ,'Dick', 2, ['Mary', 7, 9, [700, 777, 'Paul']], 13] if 'Paul' in nested_list: print 'found Paul' else: print 'Paul not found' [/code]It always tells me that …

Member Avatar for vegaseat
0
106
Member Avatar for sneekula

I want to make a Tkinter button respond to a left and right mouse click differently. How can I do this?

Member Avatar for vegaseat
0
8K
Member Avatar for sneekula
Member Avatar for haria_kishore

Hi everyone I have one master table with the following structure incm_id Category SubCategory 1001 Expenses A 1002 Expenses B 1003 Income C 1004 Income D I have a child table where i am capturing amount value for the above table and structure is something like id fk_incm_id Amount 10001 …

Member Avatar for alit2002
0
125
Member Avatar for deepak_gurav22

Here is the code that I have written please check what is wrong, as I am not able to display Images on canvas. I am trying to create game. package PuyoPuyo; import java.awt.Canvas; import java.awt.Color; import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.JButton; import javax.swing.JFrame; import …

Member Avatar for deepak_gurav22
0
158
Member Avatar for 80s

Hi All :mrgreen: , was mucking about with a small programme I have which makes a triangle pattern when entering in a number. It uses nested For loops. I now want to create the same thing using functions as im only just beginning to learn the C language. I have …

Member Avatar for Aia
0
498
Member Avatar for phr0stbyt3

im writing a program that calculates the users age when the current date is entered and the birth date is entered ive been thinking for about 2 hours and i cant figure out how to calculate the age this is what i have so far, im stuck at calcYears cuz …

Member Avatar for The Dude
0
193
Member Avatar for gabs

I made an application in vc++ on VS2005, but it doesn't work on non-development PCs. I did the same program on vs 0.6 and it worked very well. but perhaps there is another way to do it, say with a setup or something of the kind?

Member Avatar for jbennet
0
146
Member Avatar for sellingonline

Hey, I've got a sendmail problem on a dedicated server, shall I post the configs or what do you suggest? Problem is, that all coming in via smtp is sent through fine, but messages I try to send via PHP mail() are not going through, error in root is "deferred: …

Member Avatar for sellingonline
0
177
Member Avatar for jan1024188

Ok that might sound stupid, but Id like to know how to get box with error message.... I dont know how to explain what i realy want so here is a screenshot. [IMG]http://www.trendmicro.com/vinfo/images/worm_cydog_a_img1.gif[/IMG] This is error box...How to make it... Can you send me link with sources od this boxes …

Member Avatar for demoniacs2001
0
91
Member Avatar for rustieblue

Hey everyone, I hope you are having a nice Saturday. I have a question about a guestbook. Actually mine has been down for aobut 8 months because I don't know how to install a new one. I was getting a lot of spam and it didn't have the option to …

Member Avatar for jbennet
0
152
Member Avatar for jan1024188

What could I include in this function: [code] MessageBox( NULL, "Dolgcas s tabo, ko si tok zabit...grem js", "Message", MB_OK | MB_ICONINFORMATION );[/code] what can I insert instead of frist NULL? [php] MessageBox( NULL (here what could I insert instead of NULL), "Dolgcas s tabo, ko si tok zabit...grem js", …

Member Avatar for Ancient Dragon
0
110
Member Avatar for DNRSmitty

Here is some more code that I tried, but failed to get to work. Anybody know what I'm doing wrong? I put in some displays to see if the onChange command was trying to execute the function, and it was.:eek: [ TAG !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! <%@LANGUAGE="Javascript"%> <html> <head> <title>Load Dropdown</title> <script language="JavaScript"> …

Member Avatar for DNRSmitty
0
65
Member Avatar for jamello

I have a vb.net app. running currently with internet explorer only browsers. I constructed some texts based on the inputs from the user and need to (a) save it on the client file system (b) send the saved file to the printer attached to the client system for printing. The …

0
114
Member Avatar for joydsouza90

:?: How do you put a bitmap (or possibly jpeg) image on the screen in Turbo C++ ? I just want to display the picture on the screen for about 15 seconds or so and then move on to another screen. Please Help.

Member Avatar for ~s.o.s~
0
1K
Member Avatar for imhaf123

[COLOR=#0000ff]errr..juz to let u know how my design looks like (these below are the names given to the buttons in case u are wondering) btn11 btn12 btn13 btn21 btn22 btn23 btn31 btn32 btn33 btnPlayer1 btnPlayer2 using[/COLOR][COLOR=#000000] System;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Collections.Generic;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.ComponentModel;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Data;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Drawing;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Text;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Windows.Forms;[/COLOR] [COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] …

Member Avatar for nikkiH
0
119
Member Avatar for jbennet

Anyone interested in making a dark humored, post appocyliptic, Isometric RTS with me , kinda like fallout tactics but on a big scale (hundreds of guys) ive done some concept art and have planned all the storyline i just need help actually making it. Any goood books that come with …

Member Avatar for jbennet
0
522
Member Avatar for unclepauly

i am using a couple of methods to calculate the distance between any 2 points on the earths surface. the methods are the law of cosines, and the haversine formula. the law of cosines formula uses the C++ functions acos, sin and cos, all found in math.h: acos(sin(lat1).sin(lat2)+cos(lat1).cos(lat1).cos(long2−long1)) the haversine …

Member Avatar for unclepauly
0
106
Member Avatar for nitinmoriwal

Does anyone know , how to do the conversion from Ascii to long double? Please provide one example. Many Thanks.

Member Avatar for Nick Evan
0
406
Member Avatar for babutche

Hi, I did get the problem fixed with my "break" not working properly but now my ValueError will not work properly. If you enter a number that is not a floating number it should create a value error(as a matter of fact it did before I fixed my other problem …

Member Avatar for babutche
0
147
Member Avatar for abdullateef
Member Avatar for Purple Avenger
0
295
Member Avatar for ikhalid

Here is VB6 Code:[code=VB]Attachement = objMail.Attachments.Add("D:\message.doc.pgp")[/Code] I am trying to automatically attach a file with outlook email......objMail.Attachments.Add method is unable to read the file "message.doc.pgp" very first time when the code execute.....On second n later executions it start recognizing the file n work fine but y not the first time. …

Member Avatar for ikhalid
0
82
Member Avatar for Mushy-pea

Hello everyone. I always run Perl scripts on a web server with [code] #!/usr/bin/perl -T [/code] at the top (i.e. taint mode on). I try to do the same when testing scripts on my local machine and this often works fine. But somtimes (when running from the command line) I …

Member Avatar for KevinADC
0
91
Member Avatar for kiks

Does anyone knows how can I count how many digits are there in a binary number? Any ideas???

Member Avatar for Purple Avenger
0
570
Member Avatar for Puckdropper

I'd like a free tool that I can give different pieces of information and have it go and peruse my code base and generate a report. Is there such a tool out there? I'm thinking something along the lines of a spider that can fill in form data (when instructed) …

Member Avatar for Puckdropper
0
115
Member Avatar for Seten

Can anyone please give me some links for some video tutorials for Delphi. I browsed a lot(google), and only found sites, which are paid. Even a Delphi (amateur) tutorial which is not hard to understood would help me. thanks

Member Avatar for radu84
0
389
Member Avatar for harbir

Dear All I admit that I am new to this all. I am trying to run a simple login function. I have two jsp files, login.jsp and welcome.jsp and I have one servelet login.java My project name is onjava (I am doing this from an example from the web). My …

Member Avatar for techkar
0
124
Member Avatar for umairsaleem_88

hello!!! i need a tutorial or source code of any graphical programm (animation is preferred) in c++ using borland turbo c compiler v3. i shall be very thank full to any one who help me in this regard. thanks!

Member Avatar for WaltP
0
114
Member Avatar for sivaslieko++

when I initialize the array in this way: const int size = 10; int myArray[size]; it works well. But I have to initialize it in this way: const int size =pow(2, Depth()+1)-1; int myArray[size]; in this case it throw an error which is "expected constant expression" What should I do??? …

Member Avatar for John A
0
151
Member Avatar for roryt

I would like to be able to close one of my layers which is in a div tag. I have used css to specify an image in this layer and it will have a link in it aswell. I would like to have another text link that allows the user …

Member Avatar for woocha
0
111
Member Avatar for sivaslieko++

Hi everybody, for example I have such a tree in c++: 23 / \ 1 45 \ / \ 2 31 52 \ \ 3 234 \ 5 I can print this tree in this way by using breadthFirst-level method: 23, 1, 45 2, 31, 52 3, 234 5 But …

Member Avatar for sivaslieko++
0
127
Member Avatar for joydsouza90

How do you put a bitmap (or possibly jpeg) image on the screen in Turbo C++ ? I just want to display the picture on the screen for about 15 seconds or so and then move on to another screen. Please Help.

Member Avatar for Puckdropper
0
85
Member Avatar for babutche

Hi, I am trying to extend my "Student with the best GPA" program so that it allows the user to sort a file of students based on gpa, name, or credits. The program needs to prompt for the input and output files and also the field to sort on (gpa, …

Member Avatar for babutche
0
468
Member Avatar for Elfshadow

I don't know if this too OT but so many people ask.I just got Sam's C++ in 21 days and it's great.Don't let the name fool you because the book is huge and I don't think I'll finish it in 21 days;). This is the best C++ book I have …

Member Avatar for Colin Mac
0
156
Member Avatar for deostroll

I have designed my own version of cout called gcout that works like cout but in graphics mode. But I don't know the idea behind how to make a caret (or a cursor that blinks). Does this caret thing have to do something with threading in turbo c++? If so …

Member Avatar for apurv
0
143
Member Avatar for apurv

[COLOR=blue]Write a program that, when run, will print out its source code. This source code, inWrite a program that, when run, will print out its source code. This source code, in turn, should compile and print out itself. turn, should compile and print out itself.[/COLOR] :p

Member Avatar for Bench
0
96
Member Avatar for babutche

I am having a problem getting my "break" to work correctly in this program. Can anyone help me see what I am doing wrong? This is my program: [code]import string import math class Student: def __init__(self, name, hours, qpoints): self.name = name self.hours = float(hours) self.qpoints = float(qpoints) def getName(self): …

Member Avatar for babutche
0
115
Member Avatar for yuckadirri
Member Avatar for Ancient Dragon
0
80
Member Avatar for peter_budo

Just have small program to practice with Calendar. However I come accross something unusual. Once you set date for 1st April 2007 or 1st June 2008 for example you get wrong number of the week. example bellow show code set to date 1st June 2008 [code] import java.util.*; import java.text.DateFormat; …

Member Avatar for peter_budo
0
108
Member Avatar for xibnoe

I try read a story text file using c. the problem is i want one paragraf in one variabel. i am confuse how much i should alocate the buffer size? [code] #include <stdio.h> int main() { char buf[255]; <<HOW MUCH SHOULD WE ALOCATE TE BUFFER? FILE* fp = fopen("somefile.txt","r"); if( …

Member Avatar for WaltP
0
2K
Member Avatar for itchap

Hey, I came across this question, this is the 1st time I write a XML file, and I have no idea if my work is correct, or if thats how its supposed to be.......please give me your feedback: Consider the following XML file that describes a pizza: An order for …

Member Avatar for jwenting
0
78
Member Avatar for missnehamishra

I want to save a file on client machine. i even used the commnad "Path.GetTempPath()" but it gives the address of server's temp folder. can someone help me?????

Member Avatar for Maidomax
0
179
Member Avatar for cyberjoe
Member Avatar for jbennet
0
96
Member Avatar for jan1024188

ok here I want to know how to make colorated output in C and C++... For example: I want to print this string "zelena". The color must be green. Now how to get green output using [B]printf() [/B]in C and [B]cout << "zelena"; [/B]

Member Avatar for apurv
0
118
Member Avatar for egboy

I need some scripts to finish my site, anybody cn help me get them?? 1- Add comment script. 2- print this topic script. 3- send this topic to a friend script. 4- vote script. I will be thankfull if any body helped me in this

Member Avatar for egboy
0
103
Member Avatar for JoBe

Hello ladies and gents, Was wondering if any of you could help me out with the following, sometime ago I had to reinstall MS V++ EE and ever since then, when I enter for instance 'std::' or 'cin.' I don't get a list with all the possibilities it has, normally …

Member Avatar for JoBe
0
123
Member Avatar for peter_budo

I'm working on calendar application, similar to one provided with instalation of Tomcat. There you have class1 with methods which provide data for class 2. I have no problem to compile class1, but getting errors while compiling class2. This apply also to Tomcat examples if you try to recompile them. …

Member Avatar for peter_budo
0
120
Member Avatar for TFrank2

Hey Everybody, I'm thinking about starting to learn Ruby and then RoR. Could anyone recommend me with any good books, sites, tutorials, etc. I'm pretty new with programming and coding, and I don't really know any other languages except a little HTML here and there. Thanks, Tom

Member Avatar for pty
0
188
Member Avatar for mindfrost82

I'm using a PHP script called rwf_mail.php ([url]http://www.robertswebforge.com/scripts/rwf_mail.shtml)[/url]. It creates a form that can be emailed. It consists of the php file and a plain html file to display the form. So in the HTML page, I have code similar to: [code=HTML]<input size=50 name="NAME"><br>[/code] The PHP script pulls the $fields{"NAME"} …

Member Avatar for php_daemon
0
184

The End.