199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for NordCoder

I am making an Asteroids clone using SDL and OpegGL in C++. Like most games, I needed to render text and after some hassle with SDL_ttf, I decided to try FTGL which uses Freetype2. I am using Visual Studio C++ 2008 Express Edition. There is no precompiled library included in …

Member Avatar for NordCoder
0
614
Member Avatar for Bubbleboy

I want to make jQuery animate the fade in of a block of text with a few links in it. Here is the code. [CODE]<html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <title>Home</title> <LINK rel="icon" href="/favicon.ico" type="image/x-icon" /> <LINK rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <LINK rel="stylesheet" href="docs/navbar.css"> <style> html, body { margin: 0; …

Member Avatar for Daiva
0
559
Member Avatar for jay-tee

i have use a column of called driverIdnumber and have a Date of birth in a new column using ID number of the driver,please help katimaDM - is my data module katimaDM->tblDriver->edit(); katimaDM->tblDriver->field->fieldbyName("DriverDOB")->AsAnsiString = ............//this part im lost katimaDM->tblDriver->post();

Member Avatar for jay-tee
0
86
Member Avatar for newbietophp1221

i have a form that searches only text based on 2 criteria. 1st criteria is the user selects from a drop down. The drop down is a table in the database. 2nd criteria is what the user enters in the text box and then clicks to submit. SO whatever the …

Member Avatar for newbietophp1221
0
149
Member Avatar for poojabi

i want to know the exact and correct definition of a linear list.should i mention about predesessor of every element too?or mentioning only one sucsessor for each element is enough to define a linear list.pls give an answear asap.i am really confused about it.

Member Avatar for poojabi
0
224
Member Avatar for Thyoric

Hello, I was wondering if there is a way to select areas of an image in VB .NET 2008, kind of like how you can select areas of your desktop in Windows Systems(kind of like [url]http://i49.tinypic.com/29y5cok.jpg[/url]). I've searched and searched for ways to do this, but I can't figure out …

Member Avatar for dskv
0
111
Member Avatar for farooqaaa

I am working on a 2d breakout game but I am having problem with the collision. Currently the game is working good with a normal box collision for the ball and the brick. But for making the ball speed negative/positive I need collision for different sides. Image: [URL="http://i.imgur.com/KSKDN.gif"]http://i.imgur.com/KSKDN.gif[/URL] In the …

Member Avatar for farooqaaa
0
133
Member Avatar for cocoll

hello! how can i get the index of selected row in listview in mouse up? thank you

Member Avatar for codeorder
0
143
Member Avatar for DreamscapeEagle

I'm trying to create a Web Form Application for my class final. I downloaded the zipped file and extracted it of course. When I go to Data/Add New Data Source and follow the prompts in the Wizard I get to the screen that you choose your Database Objects, I get …

Member Avatar for DreamscapeEagle
0
111
Member Avatar for ultimatebuster

I currently have the budget to buy an intermediate to advanced python. The books price has to be below $50 (Canada), if possible, unless it's a really good book. Preferably there should be GUI programming in the book (not TK or QT, GTK or other toolsets preferred). Network programming (Socket) …

Member Avatar for Beat_Slayer
0
168
Member Avatar for bulgin

I have the following perl script which works nicely. It takes a list of URLs from a file, looks up each one, and returns the meta-keywords for that domain. Problem is, sometimes it hangs because it goes to a site which does not respond. I'm wondering if there is a …

Member Avatar for mitchems
0
122
Member Avatar for doctorphp

Hi there. I am trying to use a html form to send a PHP email but I am having some problems when I enter the message in the text area. The messages that I send have line breaks in but instead of doing a line break it shows the [B]<br …

Member Avatar for Daiva
0
155
Member Avatar for PythonNewbie2

I've been googling for almost two hours now trying to find a solution, but I haven't come across anything that works yet. I followed this guide EXACTLY: [code]http://bytes.com/topic/python/insights/580045-simple-guide-using-py2exe[/code] but no results. When I run my setup.bat, a window comes up and disappears quickly. No new directories are created but I …

Member Avatar for Beat_Slayer
0
145
Member Avatar for heshanm

Hi, I want to retrieve data from my database and display it in my form. How can i do that? i mean the php coding of the process. Thanks, Heshan.

Member Avatar for heshanm
0
212
Member Avatar for lukechris

Hi, I am requesting code for a countdown timer please, where 2 labels (Minutes label = label6 and Seconds label = label7) I have tried for a long time to try and get this to work, and it has to be "Hours:Minute" format. I will add below the awful start …

Member Avatar for codeorder
0
443
Member Avatar for prit05
Member Avatar for Duki
0
179
Member Avatar for design.eng

I want to pass the selected information with a session to another page, but I couldn't get them done. The fieles are repeated becasue theay are in toggle mode so they have the same field names and values....., I am really sorry for the long code cus I am working …

Member Avatar for design.eng
0
141
Member Avatar for Naveed_786

Hi guys, I am using this code to update a record after searching but it gives me error here is my code please please help [CODE] Dim con As New SqlClient.SqlConnection Dim strCon As String = "Data Source=ITS;Initial Catalog=Payment;Integrated Security=True" Dim strCommand As String = "SELECT * FROM CustomerInformation WHERE …

Member Avatar for pabloh007
0
137
Member Avatar for trakyng

Hello i want to know how to edit the console font, width and height. If there is any script, could you post it?. And thanks.

Member Avatar for trakyng
0
86
Member Avatar for NewOrder

the few things that i cant understand are inside the code.. The code should give out the car type, model type ,serial number. and the number of cars.. [CODE]public class part5{ public static void main(String[] args) { System.out.println(Car.getCounter()); Car[] cars =new Car[5]; for (int i = 0; i < cars.length; …

Member Avatar for NewOrder
0
237
Member Avatar for cocoll

hello! i need help with mouse click. i need to place in a timer_tick a code that detect if i clicked with the mouse. so i know that i can use on mouse click event ,but i have many and many controls so it's take a lot of time and …

Member Avatar for codeorder
0
133
Member Avatar for cleve23

Hi all, I currently working on a python program with the use of wxpython to make out a gui application. However, i wish to compile my application to be like a standalone application where people can just get the .exe file and run it without installing python and wxpython. I …

Member Avatar for snippsat
0
117
Member Avatar for whelhelmsoriano
Member Avatar for sfuo
0
78
Member Avatar for mooseable

I have been learning VB.NET and am currently having troubles retrieving data from an XML file. I'm trying to keep the code as simple as possible as I only need to select single items from an XML file, not rows of data. The XML file contains: [code]<CurrentPeakUsage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://au.com.amnet.memberutils/"> …

Member Avatar for mooseable
0
219
Member Avatar for michdd

I'm trying to create some type of callback system for events. I have a function where I'm attempting to set a member to a pointer to a function but I'm receiving an error. This is what I attempted to do: [CODE]void (MyClass::*test)() = &MyClass::TestCallback; EnterButton->SetCallback(test);[/CODE] And then in the class …

Member Avatar for mike_2000_17
0
189
Member Avatar for junichiro90

guys, i have a project that have to implement a reservation system by using java. Is it database the only way to store the data? Is there other method beside by using database? If database is the only way to do that, can anyone tell me how to do so …

Member Avatar for JamesCherrill
0
126
Member Avatar for toronto

Hello Guys, I am new to Shell Scrpting but I am learning quickly. My script looks as follows: #!/bin/sh su - postgres echo "Please enter the password for a2billing user and confirm it: " createuser -W -S -d -r -e a2billinguser createdb -e -O a2billinguser a2billing exit 0 With above, …

Member Avatar for masijade
0
1K
Member Avatar for techie1991

I want to sort a list of dictionaries using the inbuilt sort() function for lists. The problem is I am not able to understand, how to give the function a key.. Example: [CODE] a={'name':1,'data':200} b={'name':2,'data':400} c=[a,b] [/CODE] Now, I want to sort the list c with the key being a['name']. …

Member Avatar for TrustyTony
0
229
Member Avatar for mommabear

[COLOR="Green"]Hello I've just joined this forum, although I have used it regularly in the last couple of months to help in my learning of programming. I have learned a lot (I feel), and I'm now hoping to not only resolve the errors I have in my coding, but to gain …

Member Avatar for mike_2000_17
0
351
Member Avatar for mathewmoozh

Can anyone help me? Can i know what is the difference between superkey and primary key? what is actually candidatekey?

Member Avatar for pavan_teja
0
326
Member Avatar for kenn1213

Im not really in the major of c++ or I.T i need your help [B]The Fibonacci Sequence it must lead the sequence 0,1,1,2,3,5,8,13,21.... A program that will generate a Fibonacci of a specified length given the first 2 numbers in the sequence. First input an integer N that specifies the …

Member Avatar for kenn1213
0
176
Member Avatar for jemz

hello can you help me i don't know how to make this method remove(Node n),in SinglyLinkedList can anyone give a hand on this.. thank you in advance.hoping for your positive responds... [CODE] public class SinglyLinkedList { private Node head; private Node tail; private int size = 0; public Node add(Node …

Member Avatar for jemz
0
289
Member Avatar for prem2

Hi all, Static Methods : static methods can access only static variables.It cannot access instance variables. static methods can call another static methods without the objects. static methods can call instance methods using the object of the class. Instance Methods: Instance methods can access static variables also instance variables. Instacne …

Member Avatar for jon.kiparsky
0
1K
Member Avatar for dflatt

i keep having a problem with my arrays. when i set them up and try to re-use them elsewhere i only get the last part of the array and all the rest are pointers. [CODE] typedef int* ptr; ptr sub;//dynamic int count = end - start; //the sub-array's size is …

Member Avatar for dflatt
0
72
Member Avatar for HumanBeing86

here is my codes, i plan to output the name and the weight. but no matter i try many time it still give me an output only output should be this-> Name = Meow Weight = 10.5 whereas what am I getting is Weight = 10.5, why? thx [CODE]#include <iostream> …

Member Avatar for vijayan121
0
152
Member Avatar for BWind

Can anyone help me with this code. There are 11 images now. When it was running just 10 it was working fine, but when I added the 11th it won't rotate the 11th but will still rotate the first 10. <br> <script type="text/javascript"> var imgs1 = new Array("/resource/resmgr/Ad_Banner/ad16.jpg","/resource/resmgr/Ad_Banner/ad13.jpg","/resource/resmgr/Ad_Banner/ad14.jpg","/resource/resmgr/Ad_Banner/ad8.jpg","/resource/resmgr/Ad_Banner/ad15.jpg","/resource/resmgr/Ad_Banner/ad18.jpg","/resource/resmgr/Ad_Banner/ad12.jpg","/resource/resmgr/Ad_Banner/ad19.jpg","/resource/resmgr/Ad_Banner/ad20.jpg","/resource/resmgr/Ad_Banner/ad21.jpg","/resource/resmgr/Ad_Banner/ad21.jpg","/resource/resmgr/ad_Banner/ad3.jpg"); var lnks1 …

Member Avatar for gumape
0
106
Member Avatar for Bench

For anyone who gets fed up with the somewhat verbose syntax involved in populating an STL map container with static arrays of std::pair (Or any of the other somewhat tedious ways of writing 'pair' combinations), here is a function which allows two different (statically allocated) arrays, of equal length, to …

Member Avatar for vijayan121
0
2K
Member Avatar for dandixon

I have this for my register form that if it exists die which falgs up a new blank page that displays the message but i just want the error to stop the script and appear on the form. [CODE] if(usernameTaken($_POST['user'])){ $use = $_POST['user']; die("Sorry, the username: <strong>$use</strong> is already taken, …

Member Avatar for dandixon
0
135
Member Avatar for ueoptimum

[CODE]import java.io.*; public class DCS2{ public static void main (String [] args) throws IOException{ BufferedReader myInput = new BufferedReader (new InputStreamReader(System.in)); int code, al, nmp, brc; float tf = 0 , ir = 0; String name = "" , description = ""; System.out.println ("Enter Your Barrower's Name"); name = myInput.readLine(); …

Member Avatar for javaAddict
0
136
Member Avatar for ssipiora

I"m very new to SQL but need to insert LOT numbers to inventory. I have my table (cards) and my column (lot). The cards come in lots of 25 units. Each lot increments by 1. So rows 1-25 would have lot 0001, 26-50 would have a lot of 0002, etc. …

Member Avatar for tesuji
0
113
Member Avatar for HumanBeing86

hmm....why I can't get the output?? any wrong ?? thx for helping... #include <iostream> using namespace std; const int SIZE = 3; class Course { string* students; public: Course (string* students); ~Course (); void print(); }; Course::Course (string* students) { students = new string[SIZE]; for(int i=0; i<SIZE; i++){ students[i]=Course.students[i]; } …

Member Avatar for NicAx64
0
155
Member Avatar for capsitan

I am doing a payroll program that requires a sentinel value. I cant seem to get it right no matter how much I try. here is my code so far: //Filename: Payroll3.java //Description: Payroll calculator with sentinel loop //Author Name: Chris Russo //Date: 08/15/2010 import java.util.Scanner; public class Payroll3New { …

Member Avatar for tong1
0
161
Member Avatar for HumanBeing86

Hi all... I am a new c++ learner. I'm facing a little problem. according the code below I try to display the output from the loop... but no matter how I trying it still can not work.... here is my codes... anyone can tell me which part am I wrong …

Member Avatar for Fbody
0
137
Member Avatar for dnirvine

Alright, I am using the "FancyBox" script to load a larger photo, plus information about the photo into a window, ontop of the window.... which works great. However I need to pass the id (or other unique value) to the javascript so it can pass it on and get the …

Member Avatar for pritaeas
0
156
Member Avatar for webguy6

Hi all, I've been learning PHP and SQL slowly over the past couple of weeks for a project (so please be gentle!). I have a database, MEMBERS, as follows: [CODE] ID | Name | Job Title | Current Employer | State | Manager 1 | Joe Smith | Sample Title …

Member Avatar for blocblue
0
141
Member Avatar for jk_bscomp

Hello, everyone!!! I just want to ask if you anyone here knows how to compile java file in linux specifically UBUNTU. For example, I have a java file named Hello.java and saved at my desktop. how do I compile and run this file using the terminal of ubuntu... By the …

Member Avatar for tong1
0
368
Member Avatar for psionic

This may really simple to most people on here but i'm going crazy trying to work it out. I was set a task by someone to write a bit of code in C to do the following: 1) Ask Operator to enter 2 things - a letter of the alphabet, …

Member Avatar for srinivasan106
0
365
Member Avatar for ans2007kumar

I created my site in resolution of 1024 x 764 in wide screen but in other resolution and screen it is not fitting properly please help me how to make it fit in any resolution and screen size

Member Avatar for ans2007kumar
0
132
Member Avatar for empyrean

We have an application developed in WPF. i wanted to implement one functionality here. my main window, lets call it as MainWindow. And the windows that can be opened from the MainWindow are independent. they are not child windows. They have links from main window. MainWindow - Window1 - Window11 …

Member Avatar for Geekitygeek
0
114
Member Avatar for nivasmaran

The End.