199,114 Archived Topics
Remove Filter ![]() | |
I have a panel called panel1. What I wonder how it is possible to do is that when you click the mouse on the [B]location 304,369[/B] in the panel, I want to display a messageBox. How would that be possible to identify the location in code ? [code] private: System::Void … | |
so i have my main program which reads in a data file through the command line, and the data file is a list of names, each line consists of "last name first name" (no quotes obviously) all i want to do is print out the list of names as "first … | |
Hey guys I have a small problem and i hope you can help. Basicly am going to make an search script to my website. Im going to use onkeyup event when the user is writing and my problem is that I wont to make a function that takes in input … | |
Could someone please advise me on how to implement fork() in a parallel processing (multiplying) of a 2d array....I have been at this for far too long.. here is my code [code] for (int i = 0; i < rowCol[0]; i++ ) result[i] = (float*)malloc ( rowCol[1] * sizeof(float) ); … | |
Hello, I am working on a program that takes an integer array filled from a random number generator. These values are suppose to be from -5000 to 5000, 2500 of them. Then I want to find the standard deviation of the numbers in the array. I am required to use … | |
I am new to Android development. This compiles in Eclipse without any errors, but when I run it in the emulator, it crashes, why? [code=java]package com.buttontest; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; public class ButtonTest extends Activity { int timesPressed = 0; String timesPressedText = ""; … | |
hii!! i try to post java script function from c# code. i success to make regular post data - like has regular html form pages but i have some troubles to post java script data. mybe i can figure this out with calling to function from address line - if … | |
Hi, im a begginer to python, and i've been doing it a small while now, i've been attempting some puzzles of a website, and have met a small problem, and i can't find it. My code is below and i will explain my problem, ask how to sort it, and … | |
Hello I need some help, I have found all kinds of help with mouse overs change color or image. What I really want to happen is for a mouse over to change table cell content. I would like to have a list in the left cell, when you mouse over … | |
hey there, i have a main menu on my program which has the option of registering. I have enter name and password .. and a button Confirm i want to be able to store the added username and pasword to the login form so that it will work... what must … | |
I've been trying to fix this error for a while now, I could really use some help. C:\Users\Clayton\Documents\CH4P11.CPP(71) : error C2676: binary '>>' : 'class std::basic_ostream<char,struct std::char_traits<char> >' does not define this operator or a conversion to a type acceptable to the predefined operator code: #include <iostream> #include <iomanip> using … | |
When you use char(130) you get the é. When you do int('é') you get -23... and with my program to get value it is -126... How on earth can I get the 130 value when entering the é ? Thanks for looking. With this program I printed out the letter … | |
I'm writing a C++ program in which I need to display the bits that represent both a 32-bit and 64-bit floating point number. I had no problem properly displaying the 32-bit number, but I'm having trouble with the 64-bit number. This is the code that I'm trying to use: [CODE] … | |
Hey, So I'm new to OpenGL but I've covered and played with the basics. I'm creating a 2D game and I want the view/camera/screen/whatever to follow the user controlled character (which is aimed to be centered at all times) creating a scrolling effect like that of, for example, Mario on … | |
Hi, i'm working on simple fullscreen launcher application, to use it with remote on my HTPC media center to launch xbmc, stepmania, nes emulator, etc I'd like to use png icons with transparency, but there is a problem. In alpha channel of loaded icons i can see the back frame's … | |
Im trying to figure out how to error trap this program so if the user doesnt put in a valid response then a message will cum up and they will go back 2 the beginning until they do it correctly. also i want to subtract the money they spend and … | |
Hi folks, i have a question... I am building a mu website, [CODE]www.youngmom.net[/CODE], it will be available on .de too. My problem is that suddenly, when i am trying to register new blogs, or new usernames, for test purposes, when i click the sign up buton i am redirected to … | |
Please forgive my ignorance but forever I've been in the habit of building a library of useful subroutines which I call from an application I am building. Recently the language has been python - a distinct departure from my experience. I've been unable to create a reasonable library. Here's the … | |
NOTE: ~this code is in c++ ~you need not change anything in the code ~the commented lines are there just in case you want to see how the program works in real time - simply uncomment them and run the program, these commented lines are not necessary for the program … | |
[code] // need help with this how do i get the for loop to print out just //the alphabetic words { public static void main(String[] args) { String string ; int index ; String sentence; String newSentence; String word; int startPos; int spacePos; int wordCount; boolean lastWord; boolean alphaWord; char … | |
![]() | Hi I need to save the values printed in a html table from the database in a CSV file if requested by user. I've only managed to save the header of the table so far. The MySql query is made in a page called reportclient.php which then calls phpReportGen.php in … ![]() |
Hi, I'm quite new to CMS I was browsing the internet and it seems that there are A LOT if CMS around. I hope that someone who has had experience with CMS could help me with choosing the right one. From my research I understand that 3 biggest players are … | |
How can i make this into a menu where you select a letter and you get a response that reads you have choosen "a" which is $2.50 /* SIUE's bookstore is having aspecail sale on tiems embossed with the cougar logo. For a limited time, three items, mugs, teeshirts, and … | |
Hello everyone, I have a button on a page that is created with the <input> statement - this statement also contains the event handler onClick. The button displays correctly on the page but the event handler is not working - I know this as I put a simple alert at … | |
Problem: Write a class that defines a car. The car class stores the following data about a car: [B][U]Member Name Data Type[/U][/B] make string model string vin string owner string doors int mileage float gas tank float trip float gas remaining float Create methods to set data into the data … | |
Hello-- I've been writing some code in C++ to test the [I]tffs-lib[/I] library, which is written in C. The library provides functions for directly accessing a FAT file system from within a program. Although most modern operating systems have drivers for accessing the FAT filesystem on SD cards, I am … | |
I'm trying to figure this out, but every google I do just brings up garbage. What I'm trying to do is split a string at an * I want the string to be in 2 parts basically. So.. Say the string is 2478*72-432*823-74 What I want to do is split … | |
Hi, I am chasing after a html table which will be made based on a multidimensional array. The structure is [CODE]Array ( [az] => Array ( [0] => Array ( [work] => dsdsds [time] => 2:47---2:55 [total] => 8 ) ) [an] => Array ( [0] => Array ( [work] … | |
Just trying to get a very simple form working Getting a Parse error: syntax error, unexpected T_IS_EQUAL on line 10 [CODE]<?php $to = ""; $subject = "Contact Us"; $name = $_REQUEST['name'] ; $email = $_REQUEST['email'] ; $message = $_REQUEST['message'] ; $headers = "From: $email"; $embody = "Name: $name\nEmail: $email\nSuggestion: $message" … | |
OK I need some help... so far ive been able to get everything on my own but...im making a program that selects questions from an array numbered 1-40. i put in a random fuctions so the questions are chosen randomly. but i want to have it so that theres no … | |
I need to append to Map to another Map... and this is what i did .. [code] import java.util.HashMap; import java.util.Iterator; import java.util.Map; public class sampl { public static void main(String[] args) { Map<String,String> FileMap =new HashMap<String, String>(); Map<String,String> stateMap =new HashMap<String, String>(); stateMap.put("1", "value0"); stateMap.put("12", "value1"); stateMap.put("13", "value2"); stateMap.put("14", … | |
Hi, i'm sql newbies, hope someone can help. I'm trying to do a tariff lookup table for my voip service. When a user makes a call, i capture the destination phone number which has the country code prefix (the prefix may have or not have the plus sign). I'm trying … | |
I have been having a lot of trouble getting my overloaded operators to properly with each other, especially in cases such as a=a+b+c When I execute the program, I get an error: "Unhandled exception at 0x01201f10 in Project1_v3.exe: 0xC0000005: Access violation reading location 0xcccccccc." But I am not sure exactly … | |
Hi All, Can anybody help me with source code to obtain dynamic run time binding without using virtual functions in C++. I would like to use my own pointer just like VPTR and a table (array) like VTable. Thanks in adv, Regards, JE | |
| |
<h1>Hi members, I'm an MCA want to earn some money through online project on PHP & MySQL...can anyone help me how can I get the job</h1> | |
hi, i wanna print the result in a table but i am failing to do so.. other query in my table are working but dont knw why this query is not displaying in the table [CODE]SELECT user_profile.user_id, user_profile.user_name, payroll.salary, payroll.hra, payroll.da, payroll.pf, payroll.nsa, payroll.ince, user_profile.desig, user_data.period, user_data.work_hours FROM payroll, user_profile, … | |
Hola, Necesito leer un valor de una variable como hexadecimal, y guardarlo en otra, pongo el codigo y quiza con eso quede mas claro. Tengo esto: buffer es un arreglo de caracteres y aux tambien buffer[i] = atoi(aux); Un ejemplo: atoi(aux) me regresa 40 entonces yo quiero que el valor … | |
I am trying to program with semaphores and was told that I should use sem.h. When I compile, I get the error: "sys/sem.h: No such file or directory". How can I fix my problem? [CODE]#include <stdio.h> #include <sys/sem.h> int main() { printf("I am alive \n"); getchar(); return 0; }[/CODE] | |
It doesn't compile, why? [CODE]#include <iostream> #include <string> using namespace std; int main() { for(int cnt1 = 0, int cnt2 = 10; cnt1<10; ++cnt1, --cnt2) { cout << cnt1 << "--------Hello!---------" << cnt2 << endl; } system("PAUSE"); }[/CODE] | |
Dear All, I want to do two mathematical operations, say [CODE=c] a / b [/CODE] and [CODE=c] c / d [/CODE] then test whether they are equal. I'm really very bad at computer errors, I think I need to read more about it (any reference is welcome). So, my question … | |
Hey guys, so i've posted here before about regex, and i was told that some of you may be able to check my regexes for errors after i have created them. I have one that looks like it should work to me, but it absolutely will not. [code] public static … | |
I wonder if anyone can help me. I'm suppose to write a program to ask the user to enter the file they want to display and display the file they want 24 lines at a time. It pauses at 24 and asks them to press enter and displays the next … | |
Hi,everyone. I've been trying to extend Python's file type but I'm new to Python so I don't know if I'm going about it the right way. I hope someone can help me out with this or point me in the right direction. The problem isn't really subclassing file, but a … | |
hi all....i have small problem with replacement of part of a character array..... my problem is i have character buffer buff[] the content in it is "DESCRIBE rtsp://<ip-addr>:9000/2.sdp RTSP/1.0 CSeq: 1 Bandwidth: 384000 Accept-Language: en-US User-Agent:Windows NT 5.1Service Pack 2)" now here i want to replace "9000" with the number … | |
I work on a mac OSX 10 +. I an looking for some software that can enable me to change a word of text in a file ( php file or otherwise ) without having to open each file individually. Let me explain - I have a folder named 'code … | |
I have a std::string (char *, std::string::size_t ) constructor failing and I am not sure why. For my small test file there was no problem, but when using ifstream::read() with an unsigned int sz of 1Gb (1073741824) (I think that I used a pos_type 1st time) and the resulting char* … | |
I have never done any programming in my life but I have decided to go into engineering and in doing so we have to take this intro to programming course and I am pretty clueless. I am starting to get the hang of how python works but to put my … | |
Hi New to this forum. Looking for advice. I'm a doctor working in a hospital and know little if anything about programming. Out of necessity I learned just what I had to to write a VB program for some specialized monthly notes that are otherwise very time consuming to write. … | |
Hi guys, I am supposed to implement a sequence using linked list. But I seem to have an error in the code. As I am getting trash for the results of the concatenate function. It might be a problem with my constructor too. I am not sure. Please help. I … |
The End.