199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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? | |
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 … | |
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 … | |
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 … | |
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. | |
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. … | |
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 … | |
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, … | |
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 … | |
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++; } … | |
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 " ;) | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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() … | |
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; } … | |
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. | |
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> … | |
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 … | |
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 … | |
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: " … | |
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, … | |
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 … | |
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 … | |
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 … | |
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! | |
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 … | |
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 … | |
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 … | |
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. … | |
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; … | |
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 | |
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 … | |
please help me in making a voting system. dont know how to tally the votes in c++. |
The End.