199,114 Archived Topics
Remove Filter ![]() | |
Is it possible to add two hexadecimal numbers in C? If so, i would request someone to help wit the method or the logic asap. thank you :) | |
I have an assignment that I'm working on and am having trouble. Not too familiar with graphics. Any help/guidance would be much appreciated to see if what I have so far is okay and what I should do for the loop part. I will post assignment details and what i … | |
hi Im sure this is an easy problem to resolve. Basicly for my log-in script, im retreiving the results from a database, storing them in variables but i would like the redirection to be in flash (better looking). Is there a way for me to load two variables called $username … | |
Have got a project idea where i would like to build a database ( no problem)containing list of items and their description, a user can send an sms to ask about a product. Gsm modem connected to a pc receives the message.the messageis used to query the database and send … | |
Hello, everyone. I'm having some trouble getting [code=c++]glutMouseFunc[/code] to work. [code=c++] #include <GL/glut.h> //GL/glut.h includes GL/gl.h and GL/glu.h so there is no need to declare them #include <ctime> // std::time #include <cstdlib> // std::srand #include "./colorgl.h" // contains my ColorGL class that handles colors. #include "./pathgl.h" // contains my NodeGL, … | |
why cant i type in my address??? [CODE]#include <iostream> #include <fstream> #include <string> using namespace std; const int maxstring = 120; typedef char stringtype[maxstring]; void newuser(){ system ("cls"); stringtype name; string type, id, cnumber, address; double amount; ofstream out; cout << "ENTER YOUR NAME: "; cin >> name; out.open(name, ios::out); … | |
Hello again :) This time I'm back with a stranger question. The following program is meant to factorialize (spelling?) a number from the command line while printing out the number of calls it made to the function "factorial". [CODE=C] #include <stdio.h> #include <stdlib.h> unsigned long long factorial(int num,int *count_ptr){ printf("Call … | |
Hey everyone I am kind of stuck with these function. i am trying to work ahead to get stuff done faster and this is what my output is so far. I am stuck on the width part. I am not trying to have anyone do my assignment for me and … | |
Hi! I have a problem with graphics in c++. It is a simple program, that displays circle. [CODE]#include "stdafx.h" #include "iostream" #include "graphics.h" #include <cstdlib> void main() { int gdriver = 9; int gmode = 2; initgraph(&gdriver,&gmode,""); setbkcolor(WHITE); setcolor(BLACK); cleardevice(); circle(320,240,180); getch(); closegraph(); }[/CODE] In visual studio i have error: … | |
I have two text boxes for login (not using ASP.NET2.0 login control) for username and password and one checkbox for "Remember Password".I want to remember password on the check of checkbox. Do I have to use cookies?Is there any other way to achieve that since if the user had disabled … | |
How to create a trigger to UPDATE this for me when a new record is inserted. I want to create a column called "fullthumb" where by default it has the words "http://example.com/thumbs/" and add the words in "thumb" column. UPDATE files SET fullthumb = CONCAT('http://example.com/thumbs/', thumb); | |
Dear all i am using QBasic language in DOS plateform i.e. in CUI mode. No w i want to upload the jpeg file format picture. Pls help me if you have any idea or code in QBasic . Thank you Giriraj | |
Ok I got a new multimedia search engine that im hoping to launch pretty soon. ([URL="http://im1musicc.cs-webhost.com/search/"]temporary link here[/URL]) I all ready got the number of mp3 downloads counter set up there using flat files, but I didnt do that. It was all ready done when I got the script. Now … | |
Can anybody help me figure out how to fix this so it would come out the highest & lowest score??? [code=cplusplus]: #include <iostream> #include <iomanip> using namespace std; int main() { double *score; double total = 0; double average; double max = 0; double min = 0; int testscore; int … | |
I am not able to figure out the code required for accepting a string from user , but the memory for it should be dynamically allocated and referenced using pointer. Have a look at the following: char *p=new char[length_of_string+1]; This statement would work to dynamically allocate the string ,but still … | |
Hi all, Has anyone used the skin software in VB 6.0 because I would like to know one question? Now, I am using that software, Active Skin 4.3, in VB 6.0 program. Whenever I start to run my program, it will show one message, "Trial version of ActiveSkin control", with … | |
i am working on a file upload system and i need the user to be able to upload images onto the server with the page reloading. the page reloading causes all the other information to be lost and the user having a lot of unwanted windows open. what is the … | |
I am fixing an e-mailing system using php and mysql and have hit a stumbling block. i have recently had to take on someone elses work and have fixed most of the problems they had created. I need to upload images and then display them on the newsletters that will … | |
Hi there I've had a bee in my bonnet for a little while now and I've decided to get the ball rolling on creating my own web-based RPG game. But I'm not sure what the best route is with a programming language. I have some basic php knowledge and I've … | |
consider i have two forms: 1: this form will display(listing) all the names from the database table and beside to each name displayed i have view button 2: this will show the details of only selected names from the 1st page. tables will contain name_Id, name, age, address. give me … | |
Hi folks, If I found an interesting news site but can't find *.rss.php how can I create it? e.g. [url]http://www.ft.com/world/us[/url] How to search the news sites with *rss.php file available? TIA B.R. satimis | |
[code=mysql] $result = mysql_query("SELECT * FROM cycles WHERE Upper(brand) LIKE '%$brandC%' AND type LIKE '%$typeC%'"); [/code] Above code is not working, pls help. | |
Iam problem with this : Supplied argument is not a valid MySQL result resource in c:\apache\htdocs\cd_shop\funkcie_s_databazou.php on line 1039 this is code: function zrataj_cenu($kosik) //funkcia pocitajuca vyslednu sumu vsetkych poloziek v nakupnom kosiku { $cena = 0.0; if(is_array($kosik)) { $conn = db_connect(); foreach($kosik as $EAN_kod => $qty) { // $query … | |
I am updating a site for a company. The site was at one time working, and has since been pulled offline. All the php, js and .sql files were sent to me and I should have just been able from the beginning to load and run the site. unfortunately this … | |
Anyone want to help me to show how make a search with multiple words and condition like or and not.. google search.. Thanks for read my thread.. Ardy Satria H >email address snipped< | |
I have been working on this code and I can't get it to work any help out there? I am a new user and would really appreciate it if somebody can correct whats going wrong with it. [code=cplusplus] // DEBUG10-4 // PartTimeEmployee derives from Employee // Employees make $800 per … | |
I have a need to force all items in a listbox to become selected before I force a submit. I need something to select everything in a listbox called SpacesServed: $("#form1").submit( function() { . . . code goes here . . . } ); Any ideas? | |
hello i am trying to get uploaded to a server using a hidden iframe so the page does not reload. i have a upload.php page which resizes the file and remanes the file. What i thiink should happen is that the php file should be in the iframe and the … | |
Hi, I have two table like this: [QUOTE][B][COLOR="Red"]quote_tb:[/COLOR][/B] [B][U]ID item vendor quote[/U][/B] 11 a v1 100 11 a v2 200 11 b v1 400 11 b v2 300 11 c v1 555 11 c v2 777 22 a v1 122 22 a v2 222 22 b v1 322 22 b … | |
I need help with parsing XML. I put an XML doc into a hidden input for an HTML FORM... -------------- <html> <head> <title>TEST TEST</title> </head> <body> <form method=POST action="http://nflnfl.com/mash.php"> <input type=SUBMIT> <input type=hidden name=xdoc value='<?xml version="1.0" encoding="UTF-8" ?> <!--OPN 2001 Proof Of Concept--> <ScannerData> <Device>0000000000002561</Device> <UploadDate>3/6/2008 3:49:09 PM</UploadDate> <BarCode> <Symbol>8</Symbol> … | |
I have a GridView which is geting fiiled on the click of a button have method "FilGrid" I want to use the update panel of AJAX so that the page should not get refreshed at the button click but i m not able to do it .. I have putted … | |
I have created several new components but cannot get them to appear in the tool palette. (BDS2006). The components are created in a package that compiles. The package includes the register procedure in the Interface and the implementation sections as follows: Procedure Register; Begin RegisterComponents('JESComp', [TcolorButton, TAButton, TBButton, TCButton, TDButton, … | |
I'm was a web application developer for years. I'm dabbling in programming in a dialog/event environment by writing an app on my AT&T tilt(PPC). big change for me. I wrote a simple app on my tilt that connects to a server, gets data, and updates some controls with the data. … | |
Hey! I'm doning my thesis work right now and I'm programming in C# (for the first time). I want to print multiple pages (2 or 3) but I don't know how. I've searched and found some info but I think my problem is a bit different. I'm not printing from … | |
I need help for my program I need to run a applet in a server(tomcat) and the applet(a 2 player game) should be available for playing. Now, iam able to load applet in the browser, but each browser is running its own instance of the applet. I need a single … | |
This is my code.. But the image doesnt appear on the frame when i run the program Please help JLabel label = new JLabel(); String path = "C:/Documents and Settings/Administrator/My Documents/My Pictures//22.bmp"; try { URL url = new URL(path); BufferedImage image = ImageIO.read(url); label = new JLabel(new ImageIcon(image)); } catch(Exception … | |
Im trying to read lines in from a txt file to write into another txt file but at the moment its only reading the first line. I need it to read 1 line at a time and store it to add to another txt file before reading the next line. … | |
Hi All, Does anyone know how to generate sequence diagrams from C++ Source code using Rational Software Architect(RSA)? If anyone knows please help me in this issues. Thanks & Regards, Manikanta. | |
I'm having a really anoying problem with my picture display for a kids game. In the code supplyed i've only given the PicPanel where the picture function is placed. ButtonHandler where the listener is for the answeering of the questions & NumberGame main class that imports the previously defined panels … | |
Hello all, I am having some trouble creating and using a template based linked list and I hope you all can help me out. I have created a LinkedList class, and I am trying to use it in my main, but I get a unresolved external link error, that I … | |
Hi all i am working with VB.NET for mobile application. I want to open a HTML page in the internet explorer from my form and the size of the internet explorer should be limited to the Pocket Pc size. How can limit the size of internet explorer and how can … | |
hi i have attached a mail_attachment file which contains the mail function in my code i have used the below code [ICODE] <? include 'mail_attachment.php'; $sent = mail_attachment($from, $to, $subject1, $body1, $attachment);?> [/ICODE] when i tried printing the variable ..........all the values are getting printed but the mail function is … | |
Hello Everybody, I just started learning programming about 2 months ago. I'm trying to do a Tic-Tac-Toe game using labels but I have a little difficulty. How do I get the computer to check if 3 labels are of the same value. I've tried this: [code] If lblLeft.Text And lblCenter.Text … | |
Hello, What is the best website for help with asp.net and visual studio problems? where are all the best techies to be found? just list me the urls or further details. thanks for your time. Techbrain55 | |
#1, Im tryin to get this bb code right, #2 I need help with finding the problem with me code, it is saying that my for loop is a illegal start type and also a identifer is needed, but I have no clue, this is my first time doing object … | |
Hello, I just began doing c++ today, and i've done a program like this: [code=cplusplus] #include <iostream> using namespace std; int main() { int num1; int num2; int valinta; int valinta2; cout<<"Haluatko pelata pelia? 1.Kylla 2.En\n"; cin>>valinta; if(valinta == 1){ cout<<"Paljonko on 3+2: "; cin>>num1; cin.ignore(); if(num1 == 5){ cout<<"Aivan … | |
i want the insert statement in jdbc for the following name gs al ts madhu 1000 500 sud 2000 600 now i want to access gs and al from the database table by using select statement now i want to add gs and al like totalsalary=gs+al; now i want to … | |
please help me to debug this error run-time error "424" object required. | |
Hello All, I am trying to figure out how to write user input into a text file. I created a text box that the user can type his/her name into. I am trying to get the information from that text box to be written to the text file using print … |
The End.