64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Xephys

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 …

Member Avatar for Xephys
1
229
Member Avatar for sohoit

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 …

Member Avatar for sohoit
0
196
Member Avatar for sravan953

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 …

Member Avatar for vegaseat
0
130
Member Avatar for mem81

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 …

Member Avatar for mem81
0
2K
Member Avatar for peter6960

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 …

Member Avatar for Josh Connerty
0
147
Member Avatar for worldthreat

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

Member Avatar for worldthreat
0
96
Member Avatar for serkan sendur
Member Avatar for serkan sendur
0
2K
Member Avatar for obiphil

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

Member Avatar for obiphil
0
112
Member Avatar for shakeelahmed22

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

Member Avatar for shakeelahmed22
0
111
Member Avatar for samir_ibrahim

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 …

Member Avatar for samir_ibrahim
0
92
Member Avatar for serkan sendur

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

Member Avatar for serkan sendur
0
117
Member Avatar for serkan sendur

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

Member Avatar for serkan sendur
0
329
Member Avatar for jbisono

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 …

Member Avatar for jbisono
0
214
Member Avatar for Xessa

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 …

Member Avatar for Airshow
0
109
Member Avatar for lexusdominus

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

Member Avatar for lexusdominus
0
140
Member Avatar for sangam100

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 …

Member Avatar for kvprajapati
0
99
Member Avatar for h.liang

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 …

Member Avatar for kvprajapati
0
213
Member Avatar for Sylenas

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 …

Member Avatar for Teme64
0
2K
Member Avatar for allsey_1987

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

Member Avatar for allsey_1987
0
86
Member Avatar for vs.vaidyanathan

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?

0
70
Member Avatar for jondsam

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

Member Avatar for lexusdominus
0
115
Member Avatar for Curtain51

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 …

Member Avatar for Curtain51
0
127
Member Avatar for kashn

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

Member Avatar for kashn
0
272
Member Avatar for killdude69

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

Member Avatar for vb5prgrmr
0
179
Member Avatar for deathlemon

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 …

Member Avatar for deathlemon
0
102
Member Avatar for itisnot_me

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 …

Member Avatar for itisnot_me
0
103
Member Avatar for genieuk

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 …

Member Avatar for rahul.anand77
0
131
Member Avatar for tanmoy_india

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 …

Member Avatar for rahul.anand77
0
109
Member Avatar for serkan sendur
Member Avatar for jbisono

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 …

-2
97
Member Avatar for dash1983

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 …

Member Avatar for rahul.anand77
0
195
Member Avatar for freelancelote

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

Member Avatar for JamesCherrill
0
197
Member Avatar for zido85

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 …

Member Avatar for rahul.anand77
0
156
Member Avatar for lalafam

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 …

Member Avatar for lalafam
0
120
Member Avatar for KeepGoing

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

Member Avatar for VernonDozier
0
155
Member Avatar for Ray Gray

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

Member Avatar for ArkM
1
104
Member Avatar for DAWNIE

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 …

Member Avatar for Teme64
0
319
Member Avatar for Peyton

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

Member Avatar for Peyton
0
105
Member Avatar for daino

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 …

Member Avatar for Prabakar
0
275
Member Avatar for tehbrozor

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 …

Member Avatar for tehbrozor
0
116
Member Avatar for adarshcu

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

Member Avatar for adarshcu
0
71
Member Avatar for Arunjit

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 …

Member Avatar for Arunjit
0
94
Member Avatar for Gman36

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

Member Avatar for kvprajapati
0
114
Member Avatar for elanorejoseph

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'"); …

Member Avatar for OmniX
0
109
Member Avatar for TheBattlizer

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

Member Avatar for ArkM
0
2K
Member Avatar for serkan sendur

hi guys, i want to read windows mobile registry from windows application, the device is connected via activesync. any ideas?

Member Avatar for Ramy Mahrous
0
74
Member Avatar for grisha83

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 …

Member Avatar for grisha83
0
78
Member Avatar for mj85

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 …

Member Avatar for jephthah
0
166
Member Avatar for didi00

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 …

Member Avatar for shantechi
0
161
Member Avatar for theashman88

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 …

Member Avatar for theashman88
0
321

The End.