199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sodrohu

Hello and hi. I've just used Hyperterminal to connect to a Bluetooth device. So far it works and I can send data to it using Hyperterminal. Now, is there any way that I can replicate the same serial communication in a C++ program? I'm using VS 2008. Are there any …

Member Avatar for Ancient Dragon
0
206
Member Avatar for lwaterfo

Is there an easy way to display records in a database? I have the query set up but I don't know how to output the result to the user.. Here is my php: [CODE]<?php session_start(); if (!isset($_SESSION['memberusername'])){ header("location:contractorlogin.php"); exit(); } $user = $_SESSION['memberusername']; $sql = "SELECT Username FROM contractors WHERE …

Member Avatar for lwaterfo
0
81
Member Avatar for galmca

i 'm trying to make this program of a prime number in c language but ive not been able to do so,can any 1 of u plz help me out...i want to do 2 things... 1)First,test whether a number is prime or not 2)generate the series of all the prime …

Member Avatar for ramesh thota
0
469
Member Avatar for Kafana

Well, I've been doing a bit of coding here and there. I mostly mastered the simple functions, such as loops and if checks and I have a fair understanding of classes and references. I also know about pointers and several other things regarding c++. I also know how to work …

Member Avatar for Narue
0
151
Member Avatar for usustarr

I have following line of code. [CODE]test[k]->Auto->printPowerStatus();[/CODE] This prints out following 0 ON, 1 ON, 2 ON, 3 ON, 4 ON, 5 OFF, 6 ON, 7 ON 8 ON, 9 ON, 10 OFF, 11 ON, 12 ON, 13 ON, 14 ON, 15 ON I want to be able to search …

Member Avatar for Lerner
0
125
Member Avatar for Clarkeez

Hi. Im making a web based automatic email generator using php and a form. I've got all it working, apart from the email addresses. Its for works intranet and they use outlook 2003 on exchange. basically.. I have this [code] echo "<meta http-equiv=\"refresh\" target=\"_NEW\" content=\"0;URL=mailto:smith, james;beckham, david; minouge, danni; cole, …

Member Avatar for hielo
0
131
Member Avatar for blanco_curious

A commission has been setup to track Customer Service of companies in your country. The customer service commission is responsible for monitoring how well customers are being served. They have delegated your team with the responsibility of implementing a database to h[TEX][/TEX]elp them achieve their tasks. The commission needs to …

Member Avatar for Ezzaral
0
379
Member Avatar for GDICommander

Hello everyone! When I'm starting a OSGI bundle in my Apache Felix container, I have a ClassNotFoundException. This is the output that I have: [CODE] start file:/C:/Users/Pierre-Alexandre/Documents/NetBeansProjects/Prototype1/src/Prototype1Client.jar 23-Sep-2010 10:43:12 AM org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService bundleChanged INFO: bundle changed: null 23-Sep-2010 10:43:12 AM org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService bundleChanged INFO: bundle changed: null 23-Sep-2010 10:43:12 AM org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService bundleChanged …

Member Avatar for GDICommander
0
5K
Member Avatar for vinay1424

I am facing one problem in this type of pro-gramme where i use Class name as a Return type or pass object as an argument like here , i am getting same error(the class already defined), i am using eclipse. [CODE] ****class Test //showing error that the class Test already …

Member Avatar for NormR1
0
384
Member Avatar for ryan.devine

I am new to visual basic. I have an internship at a real estate company and my project for the next couple months is to create a database for real estate. The overall project consists of a application that each agent will log into and will be able to search …

Member Avatar for MichaelWClark
0
103
Member Avatar for fortiz147

here's the process: 1. i display the mysql data in rows with checkboxes on each row 2. i want to add the checked values into another table under the specific field employee here's the problem: i can't seem to insert the checked value to the specified project table. what if …

Member Avatar for Ezzaral
0
190
Member Avatar for rcplguy15

Hi everyone I need to be able to read each character from a text file and store them in an array here is the text file: ********************* Ace of Spades 10 of Spades 3 of Clubs King of Spades 5 of Spades ********************* Queen of Diamonds King of Hearts Queen …

Member Avatar for Lerner
0
171
Member Avatar for Smudly

Hi, I'm having two issues with my Search engine for my website. It is created to search through my database (it doesn't crawl through pages). The first problem I'm having is when I type in for example: Super Mario Bros and there is a row in my table with a …

Member Avatar for hielo
0
150
Member Avatar for andrewliu

Hello. I have a search engine, and I was wondering how to have certain checkbox forms appear depending on what the person searches for. And would it be easy to make the checkbox filter out the search results I have? I tried looking for it online but I can't find …

Member Avatar for andrewliu
0
54
Member Avatar for Archenemie

[CODE]paid_value = self.paidinput.GetValue().strip()[/CODE] I have this line of code to take a number from the paidinput field, but i need the value as an integer, how would i go about this?

Member Avatar for Archenemie
0
100
Member Avatar for AnnetteM

Hello Daniweb, I would like to read binary data into floating point numbers. I'd be happy with a 1-D array (or vector) or a 2-D array. Just something I can write to a text file. I attached a small sample of this data. Here is the code I have so …

Member Avatar for woooee
0
4K
Member Avatar for Anon17

I've finally finished my TCP server and it's all working fine on my personal machine (which I used to write and test the program) which is Windows 7. However, when transferring the program to my VPS (which is Windows XP) the program gives the following exception when attempting to receive …

Member Avatar for Anon17
0
791
Member Avatar for ihatestarch

I'm completely new to web programming. I am using an asp.net Table: <asp:Table></asp:Table> and my code behind page (using vb.net)grabs data from a database and displays it in this table. How do I put in a search that will only display the data with the name that is searched? Do …

Member Avatar for MichaelWClark
0
146
Member Avatar for sarithak

hi frnds, i am doing one tv channel website.I want to add tv(live) to the webpage. please give me some suggestions. if possible give some code. eg : SNIP Thanks Saritha K.

Member Avatar for chrishea
0
237
Member Avatar for nemoo

Heyy people :) I'm in the last year at the computer science department, faculty of engineering and I'm searching for an idea for my graduation project Our team wants to make a project in the field of Embedded Systems and we want one that the programming part appears in it. …

Member Avatar for gusano79
0
91
Member Avatar for kamotekid08

Hi i have a problem in programming I need to search a line from a text file by just entering an identifier. Text File: "my Record.text" contents: 101,Carl Cool,500.00 102,Kurt Cobain,400.00 103,Kid Marion,300.00 the console should ask the id number.. ex. ID:101 and give the output: ID:101 Name:Carl Cool Rate:500.00 …

Member Avatar for kamotekid08
0
136
Member Avatar for Clarkeez

Hello world. Im having problems with my companys intranet and can't work it out. Basically, I've got a html form text field, which I want to be able to search. I don't want to make a search engine, its already there, I just need the query typed in the field, …

Member Avatar for hielo
0
117
Member Avatar for katokato

Im supposed to create a program that will read 10 floating pt numbers into an array of 10 double. The program is supposed to quit on non numeric input, which i have succeeded in doing, and also the program is supposed to take an average of all of the numbers …

Member Avatar for prvnkmr449
0
94
Member Avatar for onus

I am writing a program to reverse a string without using string functions available from standard library. Following code is giving me some error when compiling [code=c] #include<stdio.h> int main () { int i,j; char *p,*s,*g; p="abcdefgt"; i=0;j=0; s=NULL; g=NULL; while (p[i] != '\0') { printf(" %d %c\n",i,p[i]); i++; } …

Member Avatar for N1GHTS
0
519
Member Avatar for nolife

hello every body , i have just a little question , someone can tel me what the [B]difference[/B] between [B]array<Byte>^[/B] and [B]array<Byte>[/B] thank you , dr dre say's " what's the difference betwwen me and you " ;)

Member Avatar for nolife
0
166
Member Avatar for mduncan8

I need to search an XML file for a unique entry. I've never worked with XML before. Can anyone tell me what the fastest way to search an XML file is? For the website I'm working on performance is critical so I need that fastest possible way to get this …

Member Avatar for mduncan8
0
726
Member Avatar for bmos31

I'm attempting to create a function getPredecessor() in which the function recieves an int in reference to a position in the list and should return a pointer to the node [U]before[/U] that position. If the position is the first place in the list, return 0. Here's my header (followed by …

Member Avatar for bmos31
0
1K
Member Avatar for jeffcogswell

[ATTACH=RIGHT]17189[/ATTACH]I'm here at the Intel Developer Forum 2010 in San Francisco, and this has been a great opportunity for a programmer such as myself. While most programmers might think of Intel as a hardware manufacturer and look to other companies (such as Microsoft) for their development tools, in fact that …

Member Avatar for NicAx64
0
275
Member Avatar for praky

An unsigned integer is of 2 bits. What i wnat to do is to shift an int a right one time and at the same time obtain the A(15) bit in some variable how can i do that? i know this will perform a right shift on int a and …

Member Avatar for praky
0
111
Member Avatar for MindTrixz

Ok so we were given a homework assignment and I am having trouble with it. We are supposed to minipulate a box in the center of the screen with the input given by a user. The input values given are height and width. How can I create a box in …

Member Avatar for Valaraukar
0
112
Member Avatar for buster2209

Here is my code; [CODE] // Allows writing to web forms void SetText(string attribute, string attName, string value) { comboBox1.Items.Clear(); // Get a collection of all the tags with name "input"; HtmlElementCollection tagsCollection = webBrowser1.Document.GetElementsByTagName("input"); foreach (HtmlElement currentTag in tagsCollection) { // Displays all the tags in a combobox comboBox1.Items.Add(currentTag.GetAttribute(attribute).ToString() …

Member Avatar for buster2209
0
162
Member Avatar for samerz816

Getting error: Parse error: syntax error, unexpected T_VARIABLE in /www/zymichost.com/m/u/s/musicalmadness/htdocs/guestbook.php on line 1 Here is my code: [code=php]<?php $guestbook = 'guestbook.dat'; $adminPassword = 'glitter'; error_reporting (E_ALL ^ (E_NOTICE | E_WARNING)); $admin = 0; ?> <?php $password = ""; if ($_POST['password'] == $adminPassword) { $admin = 1; $password = $adminPassword; } …

Member Avatar for phpuser
0
373
Member Avatar for Sarama2030

does vb 6 and above support cross operating system compatibility. i mean can applications developed in vb be deployed on other operating systems apart from windows and if they can what is the level of vb compared to other renowned programming languages like c++ and java.

Member Avatar for AndreRet
0
113
Member Avatar for DemonGal711

I have a program that reads in a file and extracts the front of a tag and the end and puts them on their own line, but for some reason it's missing some tags. If this is my file: <tag>something</tag><tag>something2</tag><tag>something3</tag><tag>something4</tag><tag>something5</tag> It would output should look like this: <tag>something</tag> <tag>something2</tag> <tag>something3</tag> …

Member Avatar for Fbody
0
112
Member Avatar for phpuser

I made one php project in which we provide facility to create his/her own web site. Now I wants to add new feature giving different subdomains to the members' web pages. Because the number of members is about 120,000, manual configuring is not the solution. Let me give you an …

Member Avatar for phpuser
0
134
Member Avatar for phpuser

Hi All, My client want statistics report for page visits and he gave me google analytics reference for same. In which they gave facility to get report between two dates and report wil be day, week and month wise. I having with two dates but havent any idea how i …

Member Avatar for phpuser
0
134
Member Avatar for sallycheng

I cannot insert the student id to table. Would you mind give me some recommentation,please! [ICODE] <body> <form id="form1" name="form1" method="post" action=""> <?php /* This page receives and handles the data generated by "form.html". */ // $_POST["FirstName"] is an array!! $total = count($_POST["checkbox"]); // print "Number of FirstName(s) submitted: " …

Member Avatar for phpuser
0
136
Member Avatar for d87c

I ran into problem for my school assignment and it is to display whatever in a meal.csv file, here is a code we are starting with. The array string of itemDetails is where the data is store then passed into array ReadLines, then in Main, it is passed to mealContent, …

Member Avatar for JerryShaw
0
116
Member Avatar for terrymold

Hi I'm writing a website which will eventually create a new NewsLetter every week, which is saved in a MySQL Table. The user wants to view previous newsletters with the aim of selecting one to send out again. As each record contains 83 fields, this would be so cumbersome as …

Member Avatar for teedoff
0
109
Member Avatar for bryans2010

There's something wrong with this code. I must implement the TestScores class, but I know I am missing something. /** TestScores class */ import java.util.Scanner; // Needed for the Scanner class // For use in CodeMate, the TestScores class is not declared to be // public. Normally the class header …

Member Avatar for NormR1
0
195
Member Avatar for Mitja Bonca

I would like to do an application which would be used for calling to all kind of telephones (stationary, mobile) from a pc, using internet. Anyone has any advice where to start and what to use? I read some stuff that I would need to use TAPI app. development. Application …

Member Avatar for cottom
0
294
Member Avatar for ivan3510

Hi! Sorry for my bad english! How to make simple chat with php and ajax without creating mysql database? Can you write code? Thanks everyone!

Member Avatar for ivan3510
0
128
Member Avatar for moni94

Hi. I'm making a space game and I need the spaceship to shoot bullets. So in order to make this happen I need a collection which can allow the following: 1.Adding an object (so that we can shoot new bullets) 2.Looping through and modifying all the objects (so that we …

Member Avatar for Momerath
0
113
Member Avatar for mrblippy

hi everyone, i am trying to write a java program that assigns a specified number of true values to random elements in an array. for example if i have a boolean array of 10 elements i would like 5 of these elements to be randomly assigned true values. im new …

Member Avatar for mrblippy
0
1K
Member Avatar for madhu ms

Hi.. i need to learn how to send the username and password to the database and when the user logs in it should retrieve the password from the database and authenticate if the username and password is correct. Am using this jsp code and getting error in (Resultset line) [U]here …

Member Avatar for javaAddict
0
3K
Member Avatar for sundarchum

When i try to debug the vs 2008 solution i am unable to start debugging. I get the below error message. Unable to start debugging on the web server. <html><head><title>Server Application Error</title></head> <body><h1>Server Application Error</h1>The server has encountered an error while loading an application during the processing of your request. …

Member Avatar for rohand
0
153
Member Avatar for aar0n

hi, i've been working on this problem for way too long and i can't find the answer. here's my code: [code=c] #include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { int N; int M; int i; cout << "Input a positive integer: "; cin >> N; …

Member Avatar for Dazaa
0
200
Member Avatar for viji.cs

Hai everyone, I have one doubt... Can u please clarify this... If i put char a[10]="hai-hello" [I][CODE]if(strcmp(a[4],'-')==0)[/CODE][/I] then it will displays an error [B][I]strcmp' : cannot convert parameter 1 from 'char' to 'const char *'[/I][/B] Wat is the reason for this? Can anybody tell me

Member Avatar for viji.cs
0
76
Member Avatar for silvertwister10

Hi Guys I need a script which will allow me to redirect the user to an external webpage - I have a t&c's page on the site so the user needs to 'accept' t&c's before they are redirected to the thirdparty website. I used javascript however it seems to not …

Member Avatar for silvertwister10
0
217
Member Avatar for percival

please help me in making a voting system. dont know how to tally the votes in c++.

Member Avatar for Valaraukar
0
198

The End.