199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Lukezzz

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 …

Member Avatar for Lukezzz
0
522
Member Avatar for badlucky

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 …

Member Avatar for badlucky
0
74
Member Avatar for Philip435

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 …

Member Avatar for Philip435
0
145
Member Avatar for PMACLEAN

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

Member Avatar for abhimanipal
0
182
Member Avatar for ppotter3

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 …

Member Avatar for ppotter3
0
1K
Member Avatar for fuggles

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

Member Avatar for fuggles
0
337
Member Avatar for eeyc

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 …

Member Avatar for eeyc
0
129
Member Avatar for sammyboy289

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 …

Member Avatar for sammyboy289
0
95
Member Avatar for rbsplat

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 …

Member Avatar for rbsplat
0
320
Member Avatar for devz2k

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 …

Member Avatar for devz2k
0
99
Member Avatar for clayton797

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 …

Member Avatar for Duoas
0
469
Member Avatar for Begjinner

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 …

Member Avatar for Duoas
0
137
Member Avatar for ssquared

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

Member Avatar for ssquared
0
228
Member Avatar for BinaryAssassin

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 …

Member Avatar for BinaryAssassin
0
98
Member Avatar for neostead

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 …

Member Avatar for neostead
0
4K
Member Avatar for timbomo

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 …

Member Avatar for WaltP
0
99
Member Avatar for StefanCP

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 …

Member Avatar for StefanCP
0
110
Member Avatar for purgatoryred

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 …

Member Avatar for purgatoryred
0
141
Member Avatar for miteigi-san

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 …

Member Avatar for dusktreader
0
380
Member Avatar for RavetodaGrave

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

Member Avatar for verruckt24
0
200
Member Avatar for michelleradu

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 …

Member Avatar for michelleradu
0
165
Member Avatar for wonderland

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 …

Member Avatar for wonderland
0
263
Member Avatar for timbomo

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 …

Member Avatar for Lerner
0
109
Member Avatar for LoriM

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 …

Member Avatar for LoriM
0
183
Member Avatar for C++ Beginner

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 …

Member Avatar for jonsca
0
480
Member Avatar for nkinar

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 …

Member Avatar for nkinar
0
297
Member Avatar for persianprez

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 …

Member Avatar for persianprez
0
240
Member Avatar for prithvi.web

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

Member Avatar for Jerail
0
2K
Member Avatar for Mouse1989

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

Member Avatar for Jerail
0
109
Member Avatar for I0adidas0I

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 …

Member Avatar for peter_budo
0
160
Member Avatar for localp

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

Member Avatar for cale.macdonald
0
106
Member Avatar for joshua__lim

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 …

Member Avatar for joshua__lim
0
174
Member Avatar for ms_farenheit1

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 …

Member Avatar for jonsca
0
122
Member Avatar for jesoj

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

Member Avatar for Salem
0
225
Member Avatar for vipin_98
Member Avatar for Salem
0
44
Member Avatar for nil_gh_80

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

Member Avatar for Ezzaral
0
182
Member Avatar for daneuchar

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

Member Avatar for daneuchar
0
78
Member Avatar for cecilia_g1

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 …

Member Avatar for Narue
0
138
Member Avatar for icu222much

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]

Member Avatar for icu222much
0
1K
Member Avatar for invisi

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]

Member Avatar for WaltP
0
307
Member Avatar for OmarOthman

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 …

Member Avatar for WaltP
0
165
Member Avatar for tjsail

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 …

Member Avatar for ~s.o.s~
0
114
Member Avatar for anthony5557

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 …

Member Avatar for WaltP
0
103
Member Avatar for corbenik

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 …

Member Avatar for corbenik
0
125
Member Avatar for chinnaedu

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 …

Member Avatar for tetron
0
111
Member Avatar for michaelwebster

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 …

Member Avatar for michaelwebster
0
94
Member Avatar for tetron

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

Member Avatar for tetron
0
211
Member Avatar for Her-o

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 …

Member Avatar for jwenting
0
247
Member Avatar for twoshoes

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

Member Avatar for SCBWV
0
152
Member Avatar for spirit3ch

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 …

Member Avatar for spirit3ch
0
1K

The End.