64,152 Solved Topics
Remove Filter ![]() | |
Hi there, This is my first post and I am quite new to developing games. I have only made tic tac toe and currently making a pong clone, using c++ and SDL. I seem to be having a problem with the animation of my ball (or puk as I call … | |
Hi, I have just inherited a website with an existing contact us form. however, it isn't doing what is should and I can't work out why. Does anyone know of a simple script with 4 fields (Name, Phone, Email and Comments) which I can simply insert into the existing contact … | |
![]() | Hey guys... I created a uber-basic brute force program(not exactly 'brute force'), where in the program opens a 'log.txt' file and reads the contents. I created a list of alphabets A-Z and numbers 0-9....what I wanted the program to do was, try out different combinations with the given set of … |
Hi Guys, Spent lots of time looking around , reading MSDN help and whatnot. I don`t seem to get the right answer still. What I would like to do is To parse XML file to an array in vb.net console application.The XML file is very simple. The thing is that … | |
Hey all I have a request i need to help implement We have this company who has 10 packages they need to distribute for download to 21 departments via the internet Eg. User1 logs in, then he clicks on accept, and then goes to a page that shows he can … | |
I usually dont have a problem with simple CRUD work, but these queries in particular are boggling my mind. looking at it now, i may have an extra foreach... anyone have any ideas how i can properly execute this? the code populates a form based on each distinct "dealer_id" (user) … | |
i want to be able to send sound file in an xml message, is that possible, how? thanks. | |
Hi, i wonder if someone can help me with this, I am trying to get the results of top across multiple machines at the same time. I only care about the first process listed by 'top'. I can't figure out how to make this happen. I have got passwordless SSH, … | |
what is the difference between throw and throws clause in java???? mmm.....i no that all methods in java use the throw statement to throw an exception and the throw statement requires a single argument : a throwable object.... but plz can any1 tell me the function of the throws clause????? | |
I have this issue which I did not find an answer to it. I am creating a small app which SUPPOSE to be easy and it is about getting 4 things (User Name, Pc Name, Domain Name, and IP Address) I have over 35 pc's connected to a domain, and … | |
i understood that foreach statement's function call part only executes once : form1.cs : [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplication32 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { … | |
this is not a question, this is snippet to encode any file to base64 string and decode that encoded string to that file back. i attach the project to this post too. Form1.cs : [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; … | |
Ok I have seen to many post about this and nothing work for me, I just do not get it. I have a simple datagrid which i want to add rows, NOTE: this datagrid have no relation with database so everything has to be done datatable or arraylist whatever you … | |
Hi. I have a textarea and i want my button to be enabled when the contents of the textarea is changed. But i don't want onchange method because even when i type even a letter it keeps firing the js function. I got the contents of textarea from the database … | |
Hello! google has turned me up at this forum so many times i think it would be stupid to ignore the hints & not get registered! Im having some problems with objects. Here is my code: [CODE]#include <iostream> #include <string> using namespace std; class planet{ public: int moons; int mass; … | |
Hi all, I have a table named comments having columns id, name, email, comment, commentedon, approved, and approvedon. In some cases I would like to let the admin of my asp.net web page to approve all the comments at once. Which would be the effective sql code and why? update … | |
Hello, This is my first time posting anything here. I have learned c# before when in school. But now at work I'm trying to make a program using c# and I'm encountering a program. I am a novice, and is hoping everyone's expertise can help me. Essentially I'm developing a … | |
Hey, i am making a program that will save some text from fields into a notepad, i have the save function worling perfectly but what i have no idea how to do is filling the fields with data from a saved notepad. I was planning to make a function that … | |
hey all, i'm working on a very simplistic example to revive my cpp skills for an up coming work placement. however i'm running into what seems an inconsistant error using ostream (cout)... have a look at the following code in the main()... :: main.cpp :: [code=CPLUSPLUS] #include <iostream> #include "IntArray.h" … | |
I have followed the normalised eight point algorithm(as outlined in Zisserman and hartley) for estimating the fundamental matrix between two cameras. but the determinant does not get constrained. i tried adding more points(upto 24) but the results only get worse... could any1 please tel me what could be the reason? | |
[code=cpp]#include <iostream> using namespace std; int Main() { int i = k + 1; cout <<i ++ << << endl; int i = 1; cout << i++ << << end1; return 0; } [/code] Please help me? What is wrong with this code? I am a C++ Noob! I just … | |
I'm having a bit of trouble with this one, the goal of this program is to enter in 1 to 5 numbers, with a maximum of 5, into a vector and then popping as many numbers as the user wants until the vector contains nothing. My problem is that I … | |
Hi, Is there a way to format a string into a paragraph format? The closest thing I got was entering the string into a JTextArea, but the only problem with this is that the words get split in between its characters making it almost seem like two different words.... - … | |
I am helping a friend with a project in Visual Basic, it is a program that uses a SQL database. There are some rows in the database, we can review them just fine. So the SELECT quesries are fine, it is the INSERT queries that we are having problems with. … | |
please help me i got some problem with my code. my drop down lists which displays a text box when a selection is made, does not display an input in a database when i write a text in the text box. [code=html]<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> <!-- function showHideSelection() { if (document.drop_list.Category.value … | |
ok i don't know where to start my search cause i don't have to right terms. what i would like to do is have to menus and have the second be changed dynamically. ex: in the first dropdown if the user selects a category, the subcategory will populate with sub … | |
Hi, me again, I have a textbox that users can enter a url of there website. I have default value at http:// so when page loads the text box alreay displays http:// I am not sure what i do in PHP to check to make sure that the url starts … | |
Hi.. I want to simply upload a image to database..it may be the whole image or just the path or a html link of any image...and display it in another page..via a table...my main problem is I cant fetch & display it from database...I read and try some prevoius pages..but … | |
how to find my visual studio license key? | |
Hi forgive if i am posting in the wrong forum, my issue is this, i want to be able to stream audio over http from my computer lets say play what im listen in windows media player or winamp or any player. I wonder if there is any script to … | |
Hi, This might be more appropriate in the PHP section, I'm not sure - still a newb. I have read this problem in other threads, but can't seem to make the solutions work for me. I have a table that shows the results of a query for either pat_id or … | |
Hi, I'm starting with Java and have an issue with how to use the classpath variable and where to put certain library. This is probably pretty easy but it's got to the point of driving me crazy. Now, I'd like to have my library, let's call it "mylib", under C: … | |
hi, i want to ask if anybody knows : i have a combobox where the values are obtained from MySql database. i want the user to choose one of those value to edit its field. for example if the user choose X from the combobox iwant all fields related to … | |
I am a student and am having trouble getting my for statement to work with an array. This is my first time here. Here is what have so far. Any tips would be greatly appreciated. [code=cpluslus] using namespace std; void main() {#include <iostream> // Emp is number of employees needed … | |
Hi I'm just starting out with OOPin JAVA and thought i was getting the hang of it but i've been given an assignment and it's got me stumped. here is the code i have been given [code=java] public class FrogCalculator { private Frog operand1Frog; private Frog operand2Frog; private Frog unitsFrog; … | |
We came across a very strange behavior with a code like this (this is a simplified version; it took quite a time before we were able to identify a similar problem in our code): [code] unsigned int x = 10; int a = ((int-1) * x; int b = ((int)-1) … | |
Hi, i have manage to add up the points from different checkboxes but load in form. but how do i make everything to work in tab instead of working in form? below is the codes but works in form. Public Class Trial Private GCS_Value As Integer = 0 Private Sub … | |
Hi there, I'm having a problem with the code below: [CODE]#include <iostream> #include <cstdlib> #include <ctime> using namespace std; void setArray( float [], const int Size ); void displayArray( const float * ); int main() { const int arraySize = 20; float array[ arraySize ]; // Initialise the array: setArray( … | |
I'm rather uncertain as to how you go from making programs which churn values on the Dos screen to actual graphics. I'm not asking for a lesson on this, but I am confused as to how a c++ program creates/manipulates graphics. Is it all done through widgets or is there … | |
Hello, The situation here is I have a file and each line has a 8 digit number in it (aorkey) the file is called target.lst In another file (file.lst) there are tons of paths in each path there is an aorkey (somewhere its not always in the same place and … | |
[code=C] int main() { char *p = "hello all "; printf(p); } [/code] I thought the above code should ve showed a compile time error. but it din , any reason how it worked? | |
Hi everyone, i have been struggling with passing multiple url parameters for quite some time and would be extremely grateful to receive some advice and guidance! What i ultimately would like to achieve is to pass two parameters in the url, one being the name of a table from a … | |
Hi all, I am having a problem with the synchronizing the threads in the classic produce consume thread example. Below is my code for it. [CODE]public class Magpie extends Thread { private TreeHole treehole; private int number; public Magpie(TreeHole t, int number) { treehole = t; this.number = number; } … | |
as we go inside a category the link shoul apear on the view page any one help.... i have done this much so far [code=php]<?php include("connectivity.php"); $parentid=$_REQUEST['parentid']; if(!$parentid) { $parentid=0; } $a=$_REQUEST['a']; if(!$a) { $a=0; } $qry=mysql_query("select * from category where iparentid='$parentid' limit $a,4"); $qrynum=mysql_query("select * from category where iparentid='$parentid'"); … | |
I'm trying to declare a structure definition in a header file so I can use the structure in other files, however I get the error: error C2011: 'Points' : 'struct' type redefinition from the file where the structure definition is declared. The structure is only defined in that header file. … | |
hi guys, i want to read windows mobile registry from windows application, the device is connected via activesync. any ideas? | |
My method is not working for some reason, even though i have done in exactly the same way the books showed. Could you please take a look at it and let me know what went wrong? Thank you P.S. I tried to use DEBUG technique and it seems that the … | |
Hi could someone tell me how to pass a dynamic matrix to a function? Or where I have gone wrong? Thanks for the help! for example: [CODE]void main() { int R,C; /* r=rows, c=columns/* double *A; /* A is the matrix/* /* I dynamically allocate my matrix (not too sure … | |
Can someone help me to make a program in java: 1. Generate 2 rows of 50 random numbers (int) from 0 to 99. 2. Search the numbers that appear in the first row, but not in the second, and numbers that appear in the second row but not in the … | |
Hi I'm working on a program that compares the users response to an answer like a quiz. At first I wasn't sure how to do this using cin because the answer was two words. Someone helped me out and showed me the getline command. The only problem is if i … |
The End.