199,114 Archived Topics
Remove Filter ![]() | |
Hi i have recently discovered that my site was on some one elses website, i have checked his source code so but it wasnt through iframes so it must be through server side technology. i was wondering if theres a way to block this from happening. | |
[CODE]// pointers to base class #include <iostream> using namespace std; class CPolygon { protected: int width, height; public: void set_values (int a, int b) { width=a; height=b; } }; class CRectangle: public CPolygon { public: int area () { return (width * height); } }; class CTriangle: public CPolygon { … | |
Hello, I am new to this site and to C++. I have been following a tutorial on how to make a Tetris clone in SDL and C++ from the following site : [URL="http://www.aaroncox.net/tutorials/arcade/FallingBlocks.html"]http://www.aaroncox.net/tutorials/arcade/FallingBlocks.html[/URL] When i was finished going through it all and sorting through all the petty errors I had … | |
Hi, I am currently using ms word template .dot to create a ms word document. My current goal is to create .xml file to be used for quickbook sdk input (qbxml). I am using ms word 2003 and I can save those .dot as a .xml document, but it is … | |
im trying to make it so that the discount box will only accept numeric input to 2dp, and i know the code is roughly solid, but when i run the code, it says CashTransaction has no attribute discount input, and i have been tinkering with this code for the better … | |
An exercise is to write a program that generates random numbers within user specified limits. The program I wrote is as follows and it runs correctly. [code] #include "../../std_lib_facilities.h" void randnum(double lower, double upper, int n) // Generate 'n' random numbers uniformly distributed { // between lower and upper limits. … | |
Hello Friends.. i have 2 folder in root directory DEMO1 and DEMO2 containing same kind of files. when i login in DEMO1 through localhost/demo1/index.php and it will direct me to welcome.php and after login when i change demo1 to demo2 from address bar.. I Still remain in SESSION or welcome … | |
My assignment is to use pointers to point at the highest and lowest temperatures in the array. I need to have 3 pointer variables and start them at the beginning of the array. Step the pCur through the array using a for loop and pCur++. Loop through the array looking … | |
Simple question: Is having multiple 'ref' parameters allowed in the same method? For example, [code=c#] private void RouletteSelection(ref Chromosome child1, ref Chromosome child2) { ... ... ... } [/code] I'm not getting any compiler or runtime errors, but the output I'm getting suggests there may be a problem with this … | |
Hello daniweb I am currently trying to convert one of my finished python games to a working executable file for windows, which proves harder than expected even though the py2exe side-package is avalable. The program i'm trying to convert is [URL="http://dl.dropbox.com/u/2905284/The_Pirate_Game_v1.1.2.rar"]The Pirate Game[/URL]. I create the standard file for using … | |
all i need is this, i can write this in almost every other language except this; a loop to show me the constant mouse coordinates (x,y) of the mouse on the screen, much help would be appreciated if you could write a sample program its only 2 lines. | |
Hi all the gurus and experts out there, I need your opinion on this: [url]http://www.simcountry.com[/url] What do you guys think is needed for programming/developing such game at this scale? Any advice for the platform to use and which server should I tap in for a good start? | |
Hi all, I have a method set to return an array of type integer but I would like to know how I would access the independent values in that returned array. My program does this: User enters numbers seperated by spaces and the program computes such things like the average, … | |
im making a grades program to try to keep my skills sharp. since i have gotten out of apcs i havent really been doing too much of anything with java. i decided the other day that i was going to try to make a grade program, kind of like what … ![]() | |
Hi, I have a php code that lists the contents of one of the tables in my database. At the bottom of the listing, there is code that takes you to the next 10 results. Problem is, when I test it out, I am being redirected to a comcast search … | |
Please check the use case diagram I have drawn for the following system. I really want to request you to check the part of the Catalog System, Inventory System and Bar Code Reader. Is it necessary to draw that parts in the diagram? Is there any mistake in that parts … | |
Hey, I am working on this small project that will shuffle an array of names and then will load them into 5 list boxes. I have 25 names and need to load 5 names per listbox. Need some suggestions on how would i go about accomplishing someting like this. Thanks! | |
Hello Python community :) This is my first post so don`t judge strictly. I need the user's client to start, so that the user may edit the message and decide himself whether he clicks on the Send button to really send it. I have searched on google and most code … | |
..HEY GUYZ...Hey guys...I was trying to link the Input applet with the code such that, when the user selects like the "Edit function" it refers back to the input function with the empty spaces to fill the new Student information //Marcus Student's Database program. Using Linked List. //The prog. shud … | |
Hello I am in a question of assigning local scope pointers to global scope pinters. I have a code like this. [CODE]public : char* myValue; void process(TiXmlElement *element) { myValue= element->getText(); }[/CODE] But once the process function is returned value is garbage. So I did this. [CODE]public : char* myValue; … | |
Hi,Norm jon, I am posting a new thread for tagging the code accordingly. Hope this helps out. 1.My ball is not bouncing within the circle i drew.(Within circle 2).It just goes vaguely toward one direction and comes back.I want the ball to bounce randomly.Just like in the game ball and … | |
Hi everyone. I am seeking help to display my query result (user list) into several pages. The code below retrieves user details successfully like a picture, accommodation name, address and a clickable link to a profile page related to specific details of user. This page is my users_list.php which displays … | |
Hi, It is my 1st attempt with Ajax and I'm facing some problems. Below parts of my code. First part is working ok. But then I need to get option id attribute instead of value. And it is not working. Could you help me and check it? Thx index.php form … | |
I am practicing Win32 API again, and for some reason, I am getting an error. [code] #include <windows.h> #include <windowsx.h> #define WSIZE = 400 #define HSIZE = 400 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { WNDCLASSEX … | |
[CODE]HMODULE g_hModule = GetModuleHandle( 0 ); HRSRC hRes = FindResource( g_hModule, MAKEINTRESOURCE( ID_DLL_MYDLL ), "ID_DLL" ); HGLOBAL hResource = LoadResource( g_hModule, hRes ); DWORD iResSize = SizeofResource( g_hModule, hRes ); BYTE* pData = ( BYTE* )LockResource( hResource );[/CODE] When I included a dll file into my project, I used: [CODE]fstream … | |
I'm working on a site and I want to give the users option to change the background image. Of course client-side. My default background-image is put in CSS file. [CODE]body { background-image: url(images/back.jpg); overflow: visible; width: 1260px; }[/CODE] I've tried to make some javascript trigering the change [CODE]var img = … | |
Been a while since I posted anything here, so I decided to post what I've currently been working on. I use ImageChops to get a difference between two consecutive frames from my webcam. I would like to replace the pixel values > rgb 50, 50, 50 with 255, 0, 0. … | |
Hello mates I've got a database with tables for Job Department and Job position. Every Positions has a respective Department assigned by the id. So, when the user selects a Department, the program deploys into the combobox the values of the Positions assigned to that department. The thing is, the … | |
I have an existing website I an trying to modify. In speedscript I have my include libraries and a veriable. Then I need to do an href with a link I have the code as follows <a href="WI_testweb/" + "custno" + ".xls">Matrix</a> The custno is the variable. Is there a … | |
How can I access remote database using window application in C#.I want to insert/update and delete the record from database which placed in web server using window application. | |
this is how 3d in html should have been done! displaying 3d models is the easy part...then using javascript, python, actionscript or java the edit the scene the tag "3dobject" denotes a single 3d file solely for viewing the tag "3dworld" denotes a list of 3d files within a world … | |
Hello, I'm using a form with a 0.01 opacity and I want to draw a rectangle on it... but of course, the rectangle is also invisible when drawn. Is there a way to make the form invisible, but not the rectangle I want to draw on it? thank you | |
i got this code in the some video and made some few adjustment, one of it is the size of the pixel or the drawings and the size of the tile/grid or map i wish to use..... But it looks like i need to do more adjustment unlike following the … | |
Hi [code] #include "cv.h" #include "cxcore.h" #include "cxtypes.h" #include "highgui.h" int main() { CvCapture* capture = cvCreateFileCapture("RosewellBst.mp4"); cvNamedWindow( "Example2", 1 ); cvMoveWindow( "Example2", 100, 100); IplImage* frame; while(1) { frame = cvQueryFrame( capture ); if( !frame ) break; [COLOR="Red"]cvShowImage( “Example2”, frame );[/COLOR] char c = cvWaitKey(33); if( c == 27 … | |
i was wondering what exactly ORG instruction do? i know it sets where the program loads in memory,but how,when you disassemble a binary assembly file you dont see such a thing as org instruction,but when you run the binary file it gets loaded in that address you mentioned in front … | |
Actually i am currently developing a website. Which involves oracle database access.... And my problem is that i am not able to access the variable from the home page or the login page from another page. please help in doing so,,, thank you,, | |
Hello everyone. I really don't know where to post this, but, anyways.... here is my problem.... I have built a program that generates a waveform for a .wav or .wave file.... but the music clip can only go in through the "file, open, and blah blah blah" I really want … | |
I just got a new book on sql. So what software do I need to get started to and play around with these statements and load the querys supplied by the book. Thanks. By the way I'M running Ubuntu Linux | |
Dear Friends, I am not expert in php, but i am trying to make website easy to edit with its own cPanel i tryed this basic code to get the id of the page from the link and show the contents of the file.. and its working good..but how i … | |
I'm wondering whether it is possible to declare a global variable in a click event. I need to declare an array of a specific size. The specific size is generated using a series of IF statements. I only need to know how to declare it. Thanks in advance I'm using … | |
Hi, I am trying to delete all files that end in .csv within a directory. I'm not sure how to go about this, I am using bash and the command I used was; [CODE]rm '/home/eeng/ME_project/Big_Users/*.csv'[/CODE] New to this scripting so not too sure where i'm going wrong. Any ideas? Thanks. … | |
Hello all im new to prgramming and ive gotten to a dead end where im hoping some of you people can help me! Basically i am trying to make a media player that opens pictures audio and video into seperate forms, so i have 4 forms main form where i … | |
Having found the following post on datareaders [URL="http://www.daniweb.com/forums/thread278415.html"]Topic Posted On DaniWeb[/URL] i have managed to successfully create a datareader in a class that updates a listbox on the calling form with entries retrieved from a SQL server database. I was wondering if it is possible to achieve the same thing … | |
Hello. I am currently working on a website to post some articles I write for my friends. The problem I am currently having is with a dynamic redirect. I have a dropdown list that is populated dynamically from a mysql database. That part is working fine but I can't get … | |
Helllo, I am supposed to do the following: [quote] Mathematically, a set is said to be consists of well-defined elements. For instance, the following are well-defined sets. A = {1, 2, 3, 4, 5, 6, 7} B = {2, 3, 4, 8, 9} A set may be described using other … | |
Hello, ok I have a problem with JFileChooser.When I save a file with a name that exists already, It replaces the older file and saves the new one but I want make it show a confirmation message to the user to ask if they want to replace the file or … | |
hi there! im trying to do a xor beetwin two cha but i coudl no there is my code: [code=c] String^ val2; String^ val3; String^ val1; String^ val; char *chval1; char *chval2; char *chval3; char *chval; char *chv; val1=GZMK1->Text;//GZMK1 is textbox val2=GZMK2->Text;//GZMK2 is textbox val3=GZMK3->Text;//GZMK3 is textbox chval1 = static_cast<char … | |
Hi! I'm new to C++ and am having a problem with saving a text file into a string. I'm using getchar() but only the last line of the rather long text file is saved into the string when used in different functions. In other words, if I include a "cout" … | |
I administrate a database with 3 main tables for a training company: course providers, lecturers and graduates. I have to create a database admininstration page with insertion, modification and search features. I am using php with mysql. I wanted everything to happen in the index.php (do not know if this … | |
[B]Can anybody tell me whats d problem..????[/B] [CODE] #include<iostream.h> #include<conio.h> void main() { clrscr(); int l,b,r,a; char ch,t,x; cout<<"******************----MAIN MENU----****************** \n"; cout<<"\n 1.Area of rectangle"; cout<<"\n 2.Area of square"; cout<<"\n 3.Area of circle"; { cout<<"\n Enter your choice"; cin>>ch; } rec:cout<<"\n Enter the Length and breadth"; cin>>l>>b; a=l*b; cout<<"\n Area … |
The End.