199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Gunjan Bhatt

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 …

Member Avatar for ~s.o.s~
0
137
Member Avatar for Divya123

hiii how to reduce the column size of the datagrid based on the data present in that column

Member Avatar for pillusaoji
0
75
Member Avatar for joanam

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 …

Member Avatar for joanam
0
2K
Member Avatar for deryl1974

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

Member Avatar for deryl1974
0
93
Member Avatar for harlemworld12

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 …

Member Avatar for jwenting
0
91
Member Avatar for XCaliber

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

Member Avatar for Radical Edward
0
132
Member Avatar for loeto

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

Member Avatar for loeto
0
161
Member Avatar for dan_e6

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 …

Member Avatar for dan_e6
0
198
Member Avatar for umeshjaviya

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 …

Member Avatar for Prabakar
0
97
Member Avatar for pichels

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 …

Member Avatar for eggi
0
187
Member Avatar for Mekano

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

Member Avatar for Mekano
0
195
Member Avatar for chrisfrolich

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 …

Member Avatar for Radical Edward
0
85
Member Avatar for KuromanKuro

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

Member Avatar for phalaris_trip
0
219
Member Avatar for pazoo

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

Member Avatar for woooee
0
131
Member Avatar for CzechRock3

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 …

Member Avatar for amigura
0
110
Member Avatar for joshmo

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 …

Member Avatar for joshmo
0
61
Member Avatar for bhaSD

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 …

Member Avatar for Ancient Dragon
0
486
Member Avatar for asad awan

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

Member Avatar for Salem
0
145
Member Avatar for MohammadAliSadi

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 …

Member Avatar for debasisdas
0
186
Member Avatar for khalidmehmood

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

Member Avatar for Nige Ridd
0
94
Member Avatar for queenc

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

Member Avatar for amigura
0
2K
Member Avatar for Jigg1yPuff

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 …

Member Avatar for Ancient Dragon
0
147
Member Avatar for akhil_hello

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 …

Member Avatar for chris5126
0
103
Member Avatar for Sailor_Jerry

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 …

Member Avatar for jasimp
0
115
Member Avatar for kse989

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 …

Member Avatar for Laiq Ahmed
0
904
Member Avatar for vishakha_ate

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

Member Avatar for vishakha_ate
0
108
Member Avatar for soniataneja

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 …

Member Avatar for gangu.madduri
0
109
Member Avatar for samnav

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?

Member Avatar for samnav
0
74
Member Avatar for William Peek

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 …

Member Avatar for Jx_Man
0
150
Member Avatar for roby4eldiablo

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

Member Avatar for roby4eldiablo
0
102
Member Avatar for donaldunca

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.

Member Avatar for donaldunca
0
119
Member Avatar for complexcodes

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() { } …

Member Avatar for bugmenot
0
100
Member Avatar for kavithakesav

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

Member Avatar for kavithakesav
0
88
Member Avatar for still_learning

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

Member Avatar for still_learning
0
293
Member Avatar for pazoo

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

Member Avatar for pazoo
0
120
Member Avatar for jimJohnson

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 …

Member Avatar for vmanes
0
104
Member Avatar for taliGLM

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 …

Member Avatar for jwenting
0
130
Member Avatar for lahom

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

Member Avatar for lahom
0
264
Member Avatar for P.Bateman

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 …

Member Avatar for P.Bateman
0
157
Member Avatar for jimJohnson

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

Member Avatar for VernonDozier
0
140
Member Avatar for jimJohnson

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 …

Member Avatar for jimJohnson
0
234
Member Avatar for lianaconda

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 …

Member Avatar for lianaconda
0
125
Member Avatar for Saaddani

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 …

Member Avatar for Ancient Dragon
0
185
Member Avatar for varsitygirl_13

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 …

Member Avatar for VernonDozier
0
8K
Member Avatar for javauser215

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

Member Avatar for javauser215
0
3K
Member Avatar for jviney

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?

Member Avatar for jviney
0
137
Member Avatar for hacker9801

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?

Member Avatar for VernonDozier
0
107
Member Avatar for trient

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?

Member Avatar for ShawnCplus
0
315
Member Avatar for oceanaut

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 …

Member Avatar for jephthah
0
2K
Member Avatar for mjzammit

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 …

Member Avatar for scru
0
89

The End.