199,114 Archived Topics
Remove Filter ![]() | |
I have tried my level best to complete the project within 2 months but I am not able to do that. I am getting the problem in retriving the data from combo box and displaying it on nect page and inserting it in MySQL database. I dont know the procedure … | |
hiii how to reduce the column size of the datagrid based on the data present in that column | |
I am programming using Visual studio C++, doing some win32 console application simple programs. I am upgrading to visual studio 2008, and I cannot compile programs in C++ done with previous versions (6.0) because I always get a compiler error. For instance, if I write: ifstream f("file.txt") then the compiler … | |
Hey Guys, I have a chat application which is a windows client / server chat. I now want a web page to interact with this chat server. Its a simple chat app. 1. The chat server waits and listens. 2. The client connects then can see all the online buddies. … | |
Create a Java application that displays the product number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory (the number of units in stock multiplied by the price of each unit). Pay attention to the good programming … | |
hey, i want to start learning C++ and i was wondering if Notepad++ is a good program to use to write it. also how do i view it as a program? <---(stupid question ya i know but i cant figure it out ><) | |
Write a program which will calculate, for every integer that is being input, a code in the following way first digit multiplied by 3 plus second digit multiplied with the third digit minus fourth digit thus the number 3124(of type int) should generatethe code 7, because 3*3 +1*2 - 4=7. … | |
hey guys. I need some help here! I have a 2D vector named grid. what i need to do is magnify any data in it. it's of a bool type so something like this. 1100 0110 0011 in the 2D vector would become (after magnification) 11110000 11110000 00111100 00111100 00001111 … | |
I am a new guy in C. But I have read stuffs about Malloc, Realloc, how to pass pointers to the function... If I am writing this code in single program, it works perfectly...but smart programmmer guide says write in compact form. So with user defined function this is not … | |
Hi, I need to search a large Directory Path and count all the characters(Even filenames with space and special chars, etc.) in it. Example: /data/general\Customer_Order_Files\Pump_Files\Pump_Open_Files\1217697 METSO MINERALS HITACHI AMERON DUCK CREEK\1217697 MOTOR INFO METSO MIN HITACHI AMER DUCK CREEK 10-3-06\1217697 Motor Quote SIEMENS METSO MIN HIT AMER DUCK CREEK 10-16-06 … | |
Hi, I put websites together using Xoops and OsCommerce. I need to know how to edit mysql databases using Cpanel. Please could you point me in the direction of some tutorials? There are some which show how to se up a database but not how to edit one. For example, … | |
I was given an assignment where i have to calculate and aoutput the ocst of airline tickets for different classes (business class, coach class, first class). Output the price from different funtions. Here is what I have..... [code] int main () { double firstClass, coachClass, businessClass; cout<<"Enter the price of … | |
I'm developing a videogame themed hangman game right now for class and I was wondering how to put spaces in the word they were supposed to guess without making it where the player has to input a space (Makes the game impossible to win by the way.) EX. string SecretWord; … | |
""" i am having a bit of trouble with my whoWins function and my menue. i can get all of my other functions to run from main but whoWins just doesnt seem to want to work no matter what i try.i am also unsure if the dictionaries etc for the … | |
I am trying to replace mysql fields with this code... But unfortunatly it is not working... I do not know why... Here is the code please help me. Thank you. [CODE] <?php session_start(); if ($_POST['txtName'] != ''){ $host="****"; $username="****"; $password="****"; $db_name="****"; $tbl_name="****"; mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select … ![]() | |
I have a small problem with adding some items to my linked list....the code compiles with no errors but when run it doesnt complete...it looks like it is still waiting for some input but i dont know where my loops are going wrong.. [CODE] #include <iostream> using namespace std; struct … | |
Hi all, I m doing one c program for serial communication.In that i want to send request to one hardware module, after receiving my request that h/w send me one frame with predefined format. CPP / C++ / C Code: [code] /* Program SERIALCOMMUNICATION.C is used for PC to PC … | |
hi i am asad and i have given a final semmester project on making a programme of budjet of an office in c++ reply plz plz in two days i have to submit it in 4days | |
I use vb 6.0 , Sql server and Data report . When i am go to show the report there is a problem. The Code is following. Private Sub cmdShow_Click() On Error GoTo Errorhandler Dim cn As New ADODB.Connection ' Dim rs As New ADODB.Recordset ' Dim rs1 As New … | |
Hi Experts! I am professionally working in Oracle Developer 6i and database oracle 10g. but now i want to learn JDeveloper. I have no tutor available in my area. will you give me some tutorials or URL of tutorials... regards Khalid Mehmood | |
hi, when the user selects more than one from a list box,i want to store all the values in the db table. i want the user to select only five,if more than five are selected it should display message thanks ![]() | |
Can any1 help me with printing out the student record when the user inputs the information? i wrote a for loop statement to print out the user input and set the width to 60, but it doesn't print it out... [code=cplusplus] #include<iostream> #include<iomanip> using namespace std; struct Record { char … | |
Hi, I'm new to shell scripting. Can someone please suggest me some syntax to move files from directory A to directory B using shell scripting. Also the programme should have 2 parameters and based on the parameter values given while executing, the programme should check the file names in directory … | |
I am using IBM Websphere, and from here i can just click Run As java application, and the program runs inside websphere. But i want to run the program outside IDE. I created a jar file and everthing is correct with it. It has the MANIFEST.MF and all. So what … | |
This is the header file for a Recursive Binary Search Tree - I have never used recursion, not sure if I'm, using it right... If you could tell me if this is the correct algorithm for recursion for this code, that would help alot. -- also, I am not sure … | |
Please can anyone help me out to solve my problem. m developing one site in which i want to send one page to friend. now m using System.web.mail and using the method in that. but its not working. so Please can anyone give me the code to send the mail.. … | |
Hello, i'm trying to build a webservice using c# .Net it works fine on local host but how do i call it from client side using ASP script and also how is it that i uplaod this webservice to internet(sorry!! for a silly question but iim new to .Net so … | |
Does anyone know of a free tool or utility that I could use with pgAdmin III that would accomplish the same type of import functionality found in Navicat? | |
I am using a client program (VB6) to interact with one or more server ActiveX executibles, also VB6. Everyting works as it sould when the servers are different EXE's. That is, compiled with different Project Names to different File Names. However, I would like to access 2 instances of the … | |
Hi all. I have a login Form where user can insert Nickname & Password. I have a database where i have listed new registered user and store their information. The problem is when I control the Form data "pass" and check if it's equal to the rst("pwd") into the database. … | |
I research into code c++ for multimedia. It's audio and video transmission. I really need some books or sample to understand multimedia operation Could you help me? Thank for advanced. | |
I am working on this assignment, compiler is giving me 2 errors but I couldn't find any mistakes. [CODE]#include<iostream> using std::cout; using std::endl; class opOverload { public: opOverload(); opOverload(int,int); opOverload operator+(opOverload); void show(); private: int sub1; int sub2; };[/CODE] [CODE]#include<iostream> using std::cout; using std::endl; #include"opOverload.h" //default constructor opOverload::opOverload() { } … | |
Hi All, I need help in switch type menu. I have a code for switch type menu (when u click on link sub links will come), but same effect i need on mouse over its self (without clickng i need this effect). Plzzzzzzzzzzzzzzzzzzz | |
Hello, I have a very interesting issue that I want to solve but I need some help because I do not know if it is possible. I am using some radio buttons on my website, but instead of the user actually clicking a radio button to set it as "checked" … | |
"""hi i am having heaps of trouble with calling my whoWins function from main. i can get all of my other functions to call ok from main, but am having trouble with this one for some reason. any help would be greatly apreciated. cheers joel""" import random Ascore = 0 … | |
just a small issue with my program...I am finishing it up and the issue I have is I need to make me decimal points line up...the array is up and perfect just need some assistance in setting up the widths [code=c++] #include <iostream> #include <fstream> #include <iomanip> #include <string> using … | |
this is an urgent project and i have no idea where to begin, if i could get help this time, and someone send me a tutorials on how to do this stuff and willing to teach me because my teacher fails to teach...i would be ever so grateful. /* Fix … | |
hi [B]Is there any function in vc++ do the same thing as the Input (int,int) function in vb?[/B]and is there one ...[B] would someone please tell me what is it?[/B] thanks in advance lahom | |
I am a total n00b to both programming and Python. I am working my way through "Python Programming for the Absolute Beginner" by Michael Dawson. On of the "challenges" given on page 87, chapter 3 is to create a Fortune cookie program. I can't get the code I want to … | |
can someone show me how to code the median if it is an even number [code=c++] #include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; void Fill_Array(double Size[], int& count); void Print_Array(double Size[], int count); double Calc_Average(double Size[], int count); void Sort(double Size[], int count); void Swap(double& v1, … | |
2 questions first did you guys get hacked yesterday or something and 2nd: Not sure what I am doing wrong but have an issue with a program...i am to input a file name that i have in my project and it is not doing it right... This is what my … | |
![]() | Hi. The idea is to create a base classed called creature with 3 derived classes called phoenix, giant, and centaur. I've already implemented all the functions, but my code still doesn't compile. I get errors that say [code]"error C2664: 'Phoenix::Phoenix' : cannot convert parameter 1 from 'const char [9]' to … ![]() |
I posted my code along with the assignment issue here: [url]http://www.daniweb.com/forums/thread121468.html[/url] I apologize I overlooked the Game Dev section. In short, the assignment is: Implement a Goal Oriented AI system. The system should include C++ objects that implement Goals, Actions and Tools. Use the programming example for Chapter 3 as … | |
Hi, I have made my tic tac toe game that allows two people to play the game. Everything works properly, but now I would like to make the game using a two dimensional array. Here is my original code: //tic tac toe game #include <iostream> using std::cout; using std::endl; using … | |
I am receiving and error when trying to compile and cannot seem to figure out why and would appreciate any help. [code] public class Product { private String itemName; // variable that stores the cartridge name private int itemNumber; // variable that stores the item number private int invStock; // … | |
New to PHP and MySQL, any help would be appreciated. Using PHP, I'm pulling fields from my MySQL database into a table and I would like to link one of the fields (club_id) to another web page. How would I do that? | |
I know the & operator means address-of, but what's it do when in a function prototype? Example: [code=c++]void foo(std::string& str)[/code] or [code=c++]void foo(char& c)[/code] what's the & for in that? | |
How to limit the user to decimal (10,2) when he enters number in the textfield? Can anyone show how to do it in javascript? | |
HOW to develop a program that plays the game of Mastermind by C programming? The Game of Mastermind Mastermind is a simple code-breaking board game for two players, i.e., a codemaker and a codebreaker, invented in 1970 by Mordecai Meirowitz. The codemaker secretly creates a code consisting of four colors … | |
Hi i am working on a c# applcation what it does basically is get specific tags and checks their contents. My problem lies here, if one of the tags contents isnt correct i need to show the [B][U]line of code[/U][/B] where the tag resides in the html source code. Can … |
The End.