199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Geowil

At the moment I have one question about vectors but I want to leave this open ended so if I obtain more questions I can come back here. So I was looking at different containers for a player inventory that can be dynamically changed on the fly due to events …

Member Avatar for Geowil
0
256
Member Avatar for joshuao

Im trying to get transaction details of a paypal account, which I was successful in doing so, but I get this long (what i assume is an array) but I need to insert the details into a mysql database. I've tried several foreach methods but apparently I am doing something …

Member Avatar for LifeSteala
0
627
Member Avatar for rony001

I am new to sql .please help me with this . the following sql statement works when i use like this Dim' CmdStr As String = "insert into table1(id,name,ref,amount) select id,name,ref,amount from table where name = A" I want to copy rows from one table into multiple tables Dim CmdStr …

Member Avatar for BitBlt
0
137
Member Avatar for klactose

Hello all and Happy Thanksgiving, I am converting a program from Lisp into C#. Everything is going well for most of the program but there are 2 functions where I don't really understand what is going on because I am not very well versed in Lisp. I originally submitted the …

Member Avatar for d2010
0
391
Member Avatar for tiredoy

As I describled,I want to use the macro TRACE in conventional chracter-mode programming. When I try directly using the command TRACE(...),I encounted a mistake tips which says that TRACE ,identifier not found. So,what should I do to solve this problem?

Member Avatar for vijayan121
0
212
Member Avatar for stamarab

Hello, please would anybody know if there's any game software where I could include words and sentences? Although I'm still new in this area, I'm very interested in creating some games for teaching purposes. Thanks and Regards, Silvia

Member Avatar for stamarab
0
155
Member Avatar for phorce

Hello, having a weird problem and wondering if someone can help me.. Basically, I'm trying to read in a .wav file, and I have read in the header information and that's all fine, it's just the data.. Here is the code: bool Wav::readHeader(ifstream &file) { file.read(this->chunkId, 4); file.read(reinterpret_cast<char*>(&this->chunkSize), 4); file.read(this->format, …

Member Avatar for Ancient Dragon
0
236
Member Avatar for umesh.sahni.35

i have record saved in access database. with few fields, like item,rate,qty,total, p_date. i need to generate report of system date record only. suggest me that this sql statement will work or not, select*from table1 where p_date=date$;

Member Avatar for Nutster
0
202
Member Avatar for PhilEaton

How can I execute a function that will run while the client is waiting for the server response? Here is my code. I looked up and found a .load() function, but how does that fit into this? Any help would be great! Thanks $.ajax({ type: "POST", url: "mail.php", data: {name: …

Member Avatar for JorgeM
0
219
Member Avatar for Nutster

I am pretty new to programming in VB.Net, but I have been programming in other languages for a couple of decades now, including VB5/6 and C++. When I am using a **Try** - **Catch** block to handle exceptions, what is the point of a **Finally** section? Wouldn't it be just …

Member Avatar for Reverend Jim
0
299
Member Avatar for arshadshaikh

I have to make a virtual host with xampp. I have IIS installed already for windows 7. So I had to change port number for apache with Xampp. I have configured many times different virtual host with port 80 that is default port for apache server. However right now I …

Member Avatar for arshadshaikh
0
358
Member Avatar for scarletfire

hi, i am trying out past year questions for a resit and am stuck with the question below. Question 1 In the following you may assume the existence of the ListIterator<e> interface and LinkedList<E> class with the following methods public interface ListIterator<E> { E next(); boolean hasNext(); } public class …

Member Avatar for JamesCherrill
0
209
Member Avatar for AdmiralDonkey

Hi all, I have a robot which detects an object using hsl filtering and a blob counter to draw a rectangle around the object. What I am trying to do is get the robot to move to its right if the object is on the right side, else it moves …

Member Avatar for AdmiralDonkey
0
281
Member Avatar for Captain_Jack

Hello there! This forums has helped me a lot to learn programming now I need your help again. I'm try to figure out a way to create a folder based on users input in Textbox on desktop. Public Class Form1 Dim username As TextBox Private Sub TextBox1_TextChanged(ByVal sender As System.Object, …

Member Avatar for Captain_Jack
0
325
Member Avatar for weirdCreature7

Hello there! I just want to know how to check if session variable is array because thee code that I am trying to work is not working see below :) <?php if(is_array($_SESSION['cart'])){ echo '<tr bgcolor="#FFFFFF" style="font-weight:bold"><td>Serial</td><td>Name</td><td>Price</td><td>Qty</td><td>Amount</td><td>Options</td></tr>'; $max=count($_SESSION['cart']); for($i=0;$i<$max;$i++){ $pid=$_SESSION['cart'][$i]['productid']; $q=$_SESSION['cart'][$i]['qty']; $pname=get_product_name($pid); if($q==0) continue; ?>

Member Avatar for diafol
0
518
Member Avatar for Azurea

I've read that one should use cin.get() instead of system("pause"). Why is that?

Member Avatar for WaltP
0
617
Member Avatar for vinnitro

This is my program: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace CountryCurrency { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void rdbRupees_Click(object sender, EventArgs e) { if (rdbIndia.Checked == true) MessageBox.Show("You are right"); else …

Member Avatar for vinnitro
0
212
Member Avatar for aasi007onfire

[code]void strcpy(char *s, char *t) { while ( (*s++ = *t++) != `\0);}[/code] i saw this code in a particular book..... in the what does the assignment statement (*s++=*t++) return each time it gets executed........ all along i was thinking that the assignment statement return a 0 or 1 based …

Member Avatar for Ancient Dragon
0
193
Member Avatar for 'AnKo

Hey guys, thx for the time you spent clicking here :D My question is simple enough. Let me give a basic example though: char a1[]="ok"; char a2[]="yes"; char a3[]="right"; for (int n=1;n<=3;n++;) cout << a<n>; Is there some way to make this concept work? Any help much appreciated!

Member Avatar for Ancient Dragon
0
139
Member Avatar for shashikumar s g

to input an unsigned integer and reverse the first and last nibble of the number

Member Avatar for I_m_rude
0
285
Member Avatar for dan_code_guru

I want to be able to get the html of many different sites and parse them to pull the article text from them, it cant be specific for one site as i want to use it form many sites, what would be the best way of doing this?

Member Avatar for diafol
0
222
Member Avatar for priyamtheone

I built a ClassLibrary where I have created my custom form component (let's say MyForm) that inherits from the Form class. I added the ClassLibrary to my actual WinForms project. Now when I add an inherited form based on MyForm to my project through the 'Add New Item' dialog box …

Member Avatar for priyamtheone
0
322
Member Avatar for priyamtheone

Ensure ApplyVisualStyles is enabled in your system. Place a ToolStripProgressBar on a toolstrip, run your application and minimize the form. Now change the theme of your computer to Windows Classic and restore the form. See the interior of the ToolStripProgrssBar becomes black. It doesn't even change if you refresh the …

Member Avatar for priyamtheone
0
383
Member Avatar for priyamtheone

I am rendering a toolstrip with a CustomRenderer that inherits from ToolStripProfessionalRenderer. The concept is that I want the color of the arrow of the toolstrip items to be white in all cases except selection. When it is selected the color should be black. In my code below all arrows …

Member Avatar for priyamtheone
0
404
Member Avatar for liezlardo

Hello! I really need help! I have these codes but I can't make them work. In my first drop down list box, if I chose one option, I only wanted to see its appropriate value in the second drop down list box. For example, if I chose 'Quezon City' in …

Member Avatar for diafol
0
1K
Member Avatar for davy_yg

Hello, I have this contact form [website](http://www.rustoleum-indonesia.com/konsultasi-konsumen.php ) Try to fill in the whole information then after you press submit, the next page start to hang. Why is it? <?php // FORM VALIDATION AND RECAPTCHA SETTING // Include ReCaptcha and define keys require_once('recaptchalib.php'); define('RECAPTCHA_PUBLIC', '6LdRStUSAAAAAH4f_NMg-Fmdp2bDo4LYNhN36ScB'); define('RECAPTCHA_PRIVATE', '6LdRStUSAAAAABctjZq_iX249auG_kjaNvn_4vfN'); // Define notification …

Member Avatar for joshl_1995
0
149
Member Avatar for HunainHafeez

i have a signup form on my website for user registeration ....... so i want to make it secure , by secure i mean , Password should be encrypted etc etc.....or any other precautions for security i already used hash functions of MS SQL on password field through queries but …

Member Avatar for HunainHafeez
0
206
Member Avatar for quiin_aien
Member Avatar for np complete
0
208
Member Avatar for phil.sutton

Ok, I am confused by this. I am doing a school project on i/o with an address database. The professor gave us a template to work with, which saved me a few minutes. The problem is I can enter information to the txt file fine. When I attempted to read …

Member Avatar for np complete
0
169
Member Avatar for Riu 2009

this is how is inserted link on line 53.but its giving syntax error.i could not find any mistake as i already put ; at the end of the line but still it is saying missing ; or , please help. <?php include("../includes/config.php"); ?> <!DOCTYPE HTML> <html> <head> <title>Admdin Home</title> <link …

Member Avatar for Riu 2009
0
4K
Member Avatar for ali3011

hi i'm still learning some basics of php, and now i'm trying to modify codes.. and follow tutorials after following a tutorial i made this multi-uploader which uploads images and thumbnails but there's a little thing with it, it changes the image name to random name, and i want it …

Member Avatar for ali3011
0
200
Member Avatar for mr3army

Hey guys tried a few things but Im clueless to stuff like regex and I really need this compontent to my project :( THIS NEEDS TO BE EXTRACTED - this changes on each refresh I need that part of the data to be added to a list view Please help …

Member Avatar for mr3army
0
2K
Member Avatar for vindyauwu

Is there any way I can get PHP support ticketing system tutorial?????????????

Member Avatar for diafol
0
516
Member Avatar for niyasc

Can anybody share the algorythm to perform inorder traversal of a binary search tree using parent node(without stack or recursion)

Member Avatar for deceptikon
0
162
Member Avatar for Microno

A while back i wanted to develop an application that calculated the integral of any polynomial that was input but I felt it was lacking the capability to to find more complex polynomials such as: > (x^2+x)/(x^2+x^3) Unfortunately my attempts at implementing a numerator and denominator as part of the …

Member Avatar for ravenous
0
175
Member Avatar for debal

I installed Xampp and have the apache, FTP and MySql server running. Initially i was getting an error:- ## error :- ## MySQL said: Documentation 1045 - Access denied for user 'root'@'localhost' (using password: NO). Connection for controluser as defined in your configuration failed. phpMyAdmin tried to connect to the …

Member Avatar for debal
0
288
Member Avatar for bLuEmEzzy

I want to make a message textbox, when there is a newline the text will go down to fit the size of the textbox text here text here text here text here text here text here text here text here text here text here text here text here text here …

Member Avatar for diafol
0
95
Member Avatar for abbelylee

I am trying to extract specific values of element from xml document and produce an output of XML data or a CSV document and arrange them is this order. Locator designator Locator name Locator Thoroughfare Addressarea. current order: <Locator>1</Locator> <LocatorDesignator>Dwelling (Part Of), Null</LocatorDesignator> <thoroughfare>Abesinia Passage</thoroughfare> <AddressArea>Abesinia Passage</AddressArea> <LocatorName>Dwelling (Part Of)</LocatorName> …

Member Avatar for Mike Askew
0
212
Member Avatar for johncornelius23

hello, I'm making an enrollment and billing system and I'm just going to ask how do I connect a database in visual basic? I'm using vb 6 and ms access

Member Avatar for Justinvzepeda
0
223
Member Avatar for Yarra

Hi I programmed a tower defence game through java as a simple java application. I was wondering what steps do I have to take to convert it into a fully functional java applet to be uploaded onto the internet.

Member Avatar for Justinvzepeda
0
293
Member Avatar for HibaPro

i have binding datagridview with 27 rows , i need to add these row to sqlserver table with other field how i can do that by insert statment???

Member Avatar for HibaPro
0
220
Member Avatar for aero31aero

I want to make a program that analysises which key has been pressed the most as a part of my school assignment. I want that the key input be recieved by my program and later by the program it was intended for. Is there a way to do this? Please …

Member Avatar for WaltP
0
236
Member Avatar for aero31aero

I want to make a program that analysises which key has been pressed the most as a part of my school assignment. I want that the key input be recieved by my program and later by the program it was intended for. Is there a way to do this? Please …

Member Avatar for aero31aero
0
207
Member Avatar for Ansraj

Please give me solution for this problem problem while connecting DB2 database with JSP in netbeans on Windows 7 ultimate 64bit platform...... Error code that is appear on the browser while running connectivity code is-> "Failure in loading native library db2jcct2, java.lang.UnsatisfiedLinkError: C:\Program Files\IBM\SQLLIB\BIN\db2jcct2.dll: Can't load AMD 64-bit .dll on …

Member Avatar for okule
0
171
Member Avatar for printman55

I need help in using a variable passed in a hyperlink query string to do PHP query of a MySQL database. I want use the variable to query the database and return the unique row field data to display in a table The hyperlink is: [CODE]http://www.site.com/bios.php?pc=ab [/CODE] After connecting to …

Member Avatar for phpkiller123
0
558
Member Avatar for I_m_rude

Can anybody give me code snippet for finding the nth fibo number in logn time using matrix exponentiation ? thanks in advance.

Member Avatar for I_m_rude
0
140
Member Avatar for shanki himanshu

struct abcd { char q; int w; //long int e; }; why size of this structure is 8 bytes and if i include **long int e** , size becomes 12 bytes?

Member Avatar for I_m_rude
0
108
Member Avatar for sudhanshu.srivastava.7

just like java has sun microsystem certification exam what is for c certification?

Member Avatar for I_m_rude
0
132
Member Avatar for grant.baker

Hi I'm working on a form validation script. Up to this point, I've only written very basic regex validations. The input that I'm trying to validate should have entries in the following format AAA111 separated by comma space. So some sample entries are : `ABC111` or `ABC111, ABC112, ABC113`. Here's …

Member Avatar for grant.baker
0
291
Member Avatar for maranda.blanks

Simple instant price quote calculator javascript Hi there, I am trying to come up with an instant price quote calculator in javascript. Below is a sample of what I need Price per Meal Price per Week Shipping & Handling included Tax estimated Total Please let me know what other information …

Member Avatar for lps
0
295

The End.