199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for delphi89

-------------------------------------------------------------------------- Hi people. I have a little problem. How can I use bluetooth libs with Delphi 7 or where I can download them (if they exist)? -------------------------------------------------------------------------- Please help me.... :cheesy:

Member Avatar for bluedevices
0
250
Member Avatar for manjusaharan

hi all, i have an c# GUI apps with i provide on CD but i dont want them to install Whole setup again and again. So i just want to give them the new datafiles as patch sothat they can update only the new and updated portion. But i dont …

Member Avatar for manjusaharan
0
109
Member Avatar for docaholic

[ICODE]def selsort(l): if len(l)<=1: return l else: for i in range(len(l)): selsort(l[1:]) [/ICODE] Hey guys, this is what I have so far. I have trouble understanding recursion. Anyone know how to use it to do selection sort?

Member Avatar for Dhaneshnm
0
294
Member Avatar for PinoyDev

good day.! I want this date format to be echo. 2009-2010. My code gots error when i try to show this format. Here is my code: [code=php] $nowdate = date('Y') "-" date('Y') + 1; echo $nowdate; [/code] Thank you for giving time this simple problem. God bless on this mother …

Member Avatar for PinoyDev
0
159
Member Avatar for kenji

Hey Guys, I need some help figuring something out for an assignment. The assignment is basically about creating a editing program to edit a single char string on the console, everything has been coded and works without a hitch except for one part. I can only display a certain number …

Member Avatar for John A
0
113
Member Avatar for jahkevin

three stand A,B,and C as a capacity of 20 each array should show 0 or seats occupied method should show capacity and state of each stand before accepting user input accept age,stand,and index as input output total amount collect by each stand,total classification of the patrans in each stands when …

Member Avatar for WaltP
0
72
Member Avatar for homeryansta

csci>g++ -c queue.cpp csci>g++ queue.o project6.cpp Undefined first referenced symbol in file Queue<int>::return_index() /var/tmp//ccHbZwrM.o Queue<int>::enqueue(int) /var/tmp//ccHbZwrM.o Queue<int>::dequeue() /var/tmp//ccHbZwrM.o ld: fatal: Symbol referencing errors. No output written to a.out collect2: ld returned 1 exit status These are my errors. As you can see, my implementation file compiles, but does not compile …

Member Avatar for homeryansta
0
132
Member Avatar for cozzie

Hi there I am setting up a text search with 3 search buttons to allow 3 different searches from the one text box. Each search has different values for the 2 hidden elements. So far I've got the 3 submit buttons working with the below code but I can't figure …

Member Avatar for cozzie
0
198
Member Avatar for rEhSi_123

Hello Fellow members, Need assistance in my PHP/SQL statement please. [code=php] $sql1 = "SELECT * FROM `forum_cats` WHERE `admin` < ".$row['admin']."+1"; [/code] I would like the above code in Ascending order i.e ORDER BY ASC. Thanks

Member Avatar for nathenastle
0
109
Member Avatar for shamila08

Hello..... i got a problem where my output are repeated..... how to solve this problem.... [code=cplusplus] #include <stdio.h> #include <stdlib.h> #include <iostream> #define MAX 100 int num[MAX]; int n; int nrows = 0; int temp =2; using namespace std; void print() { if (num != 0) { for (int i …

Member Avatar for WaltP
0
85
Member Avatar for joshmo

I have recently encoutered an error that I have failed to figure out while trying to implement something in MVC. I have used a similar code on another program which seems to work but I cant figure out why this one is not working. I get the error code "cannot …

0
86
Member Avatar for CPPRULZ

I have recently learned about virtual functions and it is to my understanding that they are a keyword that goes in front of the return type when defining a function. They go in a base class, and make it so that if a member function of the base class is …

Member Avatar for nucleon
0
110
Member Avatar for gamodg

I have a structure [code=c] struct Info { char *name; char **value; }; [/code] and a function [code=c] void addValue(struct Info *info,char *value ,int posVal) { int size=strlen(value)+1; info->value[posVal]= (char *)malloc(size); strcpy(info->value[posVal],value); info->value[posVal+1]=NULL; } Main struct Info info[10] ....... ....... initValArrSize(&info[0],1); /* Make size+1 single dimension arrays of size char …

Member Avatar for gamodg
0
107
Member Avatar for cruisx

Hi, i was wondering if it is possible to launch a .exe file using c++? say i want to write a simple program which will ask the user if the would like to install the following.:(i am just making it up) Please pick the number beside the program to launch …

Member Avatar for nucleon
0
15K
Member Avatar for jimjohnson123

I am testing a program that I am trying to run and having some difficulties with it. If you run this program I am able to compille it fine but will not return anything and stalls on me...Here are the instructions..... There are 25 digits split into five groups of …

Member Avatar for WaltP
0
1K
Member Avatar for BestJewSinceJC

In netbeans I added a scroll pane + bar inside one of my JPanels. When I drag enough items into the JPanel, the size of the JPanel increases in netbeans. How do I get it so that it stays at a fixed size, so I can use the scroll bar?

Member Avatar for BestJewSinceJC
0
2K
Member Avatar for Trekker182

Hi everyone, I just had a quick question on how to go about getting data populated from a data grid view to an array of structures? I have a data grid view with 6 fields and 10 records that match elements in my array. I declared a list of songs …

Member Avatar for Trekker182
0
114
Member Avatar for ItecKid

Ok, I'm not sure if the above title made sense, here is what I am trying to do: Suppose I am writing a module that looks something like this: [code=Perl] package Whatever; use strict; use warnings; #constructor--will take one argument when called sub new { my $class = shift; my …

Member Avatar for KevinADC
0
89
Member Avatar for 1baxter1

Hi Ive just came across this syntax error and have no idea on how to go about fixing it hope someone can help? Im using Php myadmin # Server version: 5.0.45 # Protocol version: 10 Here is the error: "You have an error in your SQL syntax; check the manual …

Member Avatar for claritydigital
0
120
Member Avatar for shea279

ok so i have some code that works perfectly with visual studio 2003, but when i move it into my project which is using visual studio 2008, the compiler spits out 9 errors. compiler output: [CODE]1>Compiling... 1>main.cpp 1>.\main.cpp(3) : error C2011: '_STORAGE_QUERY_TYPE' : 'enum' type redefinition 1> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winioctl.h(641) …

Member Avatar for greg022549
0
469
Member Avatar for PinoyDev

Good day.! How to clear all session variable when they click back on the internet explorer.?Assuming that i am on info.php page, when i click back on that page, all session on the whole site will be set to null. Pls help if this is possible. Thank you.God bless on …

Member Avatar for PinoyDev
0
154
Member Avatar for PinoyDev

Good day.! I have a page called loginforgot.php. There are two txtfield on this form(txtuserid) and (txtanswer) and 2 command button(retrieve) and (cancel). When the user click on retrived, the page will automatically send email which contains the password to the email address of the user base on the txtuserid …

Member Avatar for PinoyDev
0
144
Member Avatar for shea279

ok, so i essentially have a .c file from anubis' process injection code, that i need converted to c++, which is the format of the rest of my product. on compiling, i am getting one annoying error error (when i compile as a .cpp file): [CODE]1>.\inject.cpp(27) : error C2440: '=' …

Member Avatar for shea279
0
259
Member Avatar for FREEZX

[CODE]#include <iostream> #include <fstream> #include <string> #include <sstream> #include <math.h> #include <windows.h> using namespace std; int main() { int l, pos, pos1; unsigned long int currnum; string str0, str1; stringstream out; string::iterator x1, x2; float koren; bool find = 0; ifstream fin("koren.in"); ofstream fout("koren.out"); if(fin.is_open()) { fin>>l; fin>>str0; fin.close(); currnum=159; …

Member Avatar for FREEZX
0
152
Member Avatar for FengG

I tried really hard on this one, finally came up with this, however, there's space between every number in my result because of the code 'print xxx,' , I want to find a way to delete those spaces. Program: let user enter say 555-GET-FOOD, convert it to 555-438-3663 [CODE]alph = …

Member Avatar for FengG
0
6K
Member Avatar for TBotNik

All, Have a form with over 189 controls on it and trying to automate the save. I currently use the following script to init the fields: [code] On Error GoTo Err_Msg For Each ctl In Targetform.Controls ' 100 = Label, 106 = CheckBox, 109 = TextBox, 111 = ComboBox Select …

Member Avatar for TBotNik
0
98
Member Avatar for sid78669

ok. Heres the thing. I need to make cases for keydowns. I am catching the keycodes and them pass them on to switches. the un-understandable part for me is this: I have the same case for 'TAB' and 'DOWN' keys. Now, I was wondering if instead of repeating the same …

Member Avatar for Ancient Dragon
0
132
Member Avatar for TobbeK

I have a small problem passing values between classes while a textbox is used. I can reach the public variable (field) for the textbox that belongs to the Form class from my other class, but no values in textbox1.text can be passed from the Form class to my other class. …

Member Avatar for TobbeK
0
278
Member Avatar for vinitt88

Hi, I am trying to develop a DOS-like system which will be able to do all minor functions like cd.. cd/ and changing to sub directories. Guys I am stuck in how to find a single path for many files..... Thanx in ADVANCE

Member Avatar for Ancient Dragon
0
146
Member Avatar for Aristophanes

Hello, I just joined, so if I infringe upon any of the forum rules, then I apologize. Anyway, I have a code for approximating integrals via the Simpson's Method. The problem with the code is that somewhere within the mere 52 lines, I have divided my entire sum by 2. …

Member Avatar for Aristophanes
0
334
Member Avatar for toucan

I want to able to search for multiple words on the same line. For example, consider the file with the following contents: .... 11. 15 18 40 53 => 16 19 41 54 12. 03 15 27 64 => 04 15 28 65 13. 25 46 47 91 => 26 …

Member Avatar for toucan
0
138
Member Avatar for evbaseball6

have to write a program to rotate the elements of an array a specified number of places input by the user, with these specifications: 1. A positive number indicates a rotation to the right 2. A negative number indicates a rotation to the left 3. Use only pointer notation (not …

Member Avatar for tux4life
0
73
Member Avatar for JameB

Can this program be shortened any further? I basicallly need to write a program that reads in two numbers and a char. eg. 10 + 10 then outputs its value.... The char can either be + or - or *. The number will always be less than 100. and you …

Member Avatar for nucleon
0
151
Member Avatar for mjump54

I have a perl script that works fine on my windows XP and a vmware W2003 server... but when I install it on the customer hardware, i get the following errors. Use of uninitialized value $setpub in substitution iterator at C:\scsinput\SaxoOTF.pl line 133. Use of uninitialized value $setpub in substitution …

Member Avatar for KevinADC
0
255
Member Avatar for mrcniceguy

I created my web page in dreamweaver,suprising thing is that everything i write appears bolded. i checked well and discovered this code at the top of my page is causing the problem,which is been inserted by Dreamweaver its self when i started my page. So i dont know what is …

Member Avatar for mrcniceguy
0
132
Member Avatar for gaspan

I have a problem about the code that skip the ID Number can you analyze the problem just enter 2 for adding and you can see the result

Member Avatar for tux4life
0
129
Member Avatar for Moe

hello! I like to define the Distance class and overload binary + operator to add the two distances using friend function. my program is here. But it does not work. The error message said that "undefined symbol feet". What is the problem? [code] #include<iostream.h> class Distance { int feet; float …

Member Avatar for Moe
0
115
Member Avatar for perumar

You operate several hot dog stands distributed throughout town. Define a class named HotDogStand that has a member variable for the hot dog stand's ID number and a member variable for how many hot dogs the stand has sold that day. Create a constructor that allows a user of the …

Member Avatar for tux4life
0
723
Member Avatar for BobLewiston

I can read in an SQL table ("Person.Contact") from AdventureWorks and step through it one row at a time, but when I try to save a record, either one I'm inserting or one I'm editting, I get the following exception: Incorrect syntax near ','. Must declare scalar variable "@ContactID". Here's …

Member Avatar for BobLewiston
0
141
Member Avatar for turbomen

Please help me again. I have 2 questions in this time. Question 1. Write a program that asks for a start and stop letter and then produces the following: Question one: This time create an array of 7 numbers. Fill each slot with a randomly generated number between 1 and …

Member Avatar for FlamingClaw
0
183
Member Avatar for leroi green

hey all, i've only been using ajax for about 2 weeks but i was wondering, if at all, can you make an effect similar to the one here: [url]www.okayplayer.com[/url] (this also happens on sites like nba.com, espn.com etc) on the top of the page with the pictures scrolling with news …

Member Avatar for leroi green
0
81
Member Avatar for coolkille

I have this javascript. [url]http://www.nihilogic.dk/labs/wikiped...mary/sumbox.js[/url] and this stylesheet [url]http://www.nihilogic.dk/labs/wikiped...ary/sumbox.css[/url] and this line in a php page. <a class="wiki-summary-link" href="http://en.wikipedia.org/wiki/Television">television</a> THE PROBLEM. The javascript returns the result from wikipedia in a floating <div> fixed to the <a class="wiki-summary-link" href blabla bla....> I want the result in a <table> so i can …

Member Avatar for coolkille
0
169
Member Avatar for m_sam6
Member Avatar for denniskhor

How to print Tokenizer and Split out put in Text Area? Normally is use System.out.print() to print them. I wan it print in Text Area or something like text area, anyone can help me out? Thanks.

Member Avatar for verruckt24
0
95
Member Avatar for neutralfox

Hello everyone, I am in big trouble, actually, I am developing a chat in Java. I am still on the server part, but the problem is that when i am clicking on a button to instantiates a class, the whole program freeze, please help me to figure out this problem. …

Member Avatar for neutralfox
0
2K
Member Avatar for anuj_sharma

hey guys, I am going to complete my 3rd year this month and i am not able to think of any ideas for the fianl year project. I have workeed on php,mySQL,javascript,html,css. Please suggest some ideas.

Member Avatar for samarudge
0
69
Member Avatar for badboizEnt

am a beginner in C++; am writing a program on C++ and i have bin trying to make a user enter his username and to enter a password and If correct the program will output a message such as: "Welcome Name of User” If incorrect my program should allow at …

Member Avatar for badboizEnt
0
223
Member Avatar for zahraj

Hi everybody ..... i write this code to select rundom from list box(1)[have decimal number ] and but in the listbox(2) in list box 2 select the max value and but in the listbox(3) ((for examble i but 4 number in listbox(1)the function find 4 random number and find th …

Member Avatar for ddanbe
0
87
Member Avatar for cipherbeale

Hello, I am a newbie to programing but I seem to be getting the hang of things. I am trying to create an plain text encription program that inputs the cipher key and encription text to be accepted via either comma deliminated txt or excel file. I have my program …

Member Avatar for shea279
0
109
Member Avatar for kahaj

Before the sum is given, the program closes. What's causing this? [code] #include <iostream> //function main int main() { //var declarations int number1; int number2; int sum; std::cout << "Enter first number: "; std::cin >> number1; //read first integer from user into number1 std::cout << "Enter second number: "; std::cin …

Member Avatar for PRATS 1990
0
101

The End.