199,113 Archived Topics
Remove Filter ![]() | |
How can I start doing a program using pop-up menus in C++? with the choices which are clickable? which code I should use?thank you. | |
using c++ program perform a cash egister process having an inputted money and the total amount purchase in a store ex. item1:___ item2:___ item3:___ ... up to item n:___ money =___ total purchases:__ change:___ anyone can help me with this program?? thanks BIG HELP .. | |
Hello, I need to create ER + relational models. I've came across Embarcadero Studio Data architect, but I'm having some trouble using it. What's the problem? I want the bottom table (PunctLucruActivitate) IDFirma to be in a relationship with IDFirma from the left table (PunctLucru). It won't let me do … | |
For now this has a sample dictionary of words, but later I will allow the user to provide their own dictionary. [CODE] import java.io.*; public class testReader { private String[] auto = {"lorem", "ipsum", "dolor", "sunglasses", "friend", "time", "flies", "like", "an", "arrow", "daisy", "bell", "the", "quick", "brown", "fox", "jumps", "over", … | |
[CODE]#include<string.h> #define MAX 15 #define true 1 #define false 0 /*Structure Decvlaration*/ typedef struct { char data[MAX]; char top; }STK; /*Function Declarations*/ void input(char str[]); void intopre(char str1[],char pre[]); void intopost(char str1[],char post[]); int isoperand(char sym); int prcd(char sym); void push(STK *s1,char elem); int pop(STK *s1); int empty(STK *s2); int … | |
Hi i saw a post about this program already. im new to c++ and im lost... completely lost... im not even sure im posting this in the right place. anyways. the program i got is working correctly until i make it an OOP which is what my teacher wants us … | |
I am trying to create a plant reference guide where the customer can grab plant description from one table (findplantsdb) and the availability from another table (plantsdb). I am new to PHP and I think I am close, but what is happening is that the plant description is coming up, … | |
hi guys.. i am new to c++ and i am having a problem running it couz it usually says: [CODE]11 C:\Dev-Cpp\conio_test1.cpp `cout' undeclared (first use this function) [/CODE] this is my code and please try to help me! [CODE] #include<iostream> #include<conio.h> int main() { int a =0; while(!kbhit()) { printf("%a … | |
I have a homework question that simply shows a linked list of 3 elements (each one with a character in it, 'A', 'B', and 'C' respectively), with the 'head' pointer pointing at the first value of the list, and a 'current' pointer set to null. The question wants me to … | |
I'm trying to formulate the proper SQL query to pull a roster up on this database I was asked to produce for my kids' HS band. Arrghh. Any help would be great. I have 3 tables. [CODE][U]student[/U] student_ID {PK} first_name last_name email family_ID {FK} [U]family[/U] family_ID {PK} family_phone [U]adult[/U] adult_ID … | |
Hello, I'm supposed to write a programming project that reads 2 files and then organizes the numbers into an output file in order from smallest to largest. The input files are as they appear: 1 4 5 and also 2 3 6 Right now I'm having trouble with the output … | |
Hi, I have a form to email script here and whenever someone puts "à, é, etc" anything with an accent in the name or last name section it says that it is invalid. Also I would like to make the telephone number area required... Might you know how? [CODE]<?php if(isset($_POST['email'])) … | |
I need to know whether there is a performance issue when dealing with the database(database operations)depending on the datatype size of a particular field of a table. I have a table with a SMALLINT size primary key. But there is a chance of having a big data range than this … | |
[code]<% String UN=request.getParameter("un"); String pw=request.getParameter("pw"); String FN=request.getParameter("FN"); String LN=request.getParameter("LN"); String L1=request.getParameter("L1"); String L2=request.getParameter("L2"); String L3=request.getParameter("L3"); String ccn=request.getParameter("ccn"); Class.forName("com.mysql.jdbc.Driver").newInstance(); java.sql.Connection myConn; myConn = DriverManager.getConnection ("jdbc:mysql://localhost:3306/train_resev","root", "3866" ); PreparedStatement ps=myConn.prepareStatement("insert into user values('" + un + "','" + pw + "','" + FN + "','" + LN + "','" + L1 + … | |
I currently have the following php : <?php system('/usr/bin/whois 4.2.2.2'); ?> What is the easiest way to replace the newlines with <BR>\n. Thanks, ![]() | |
Hello everyone! I would like to ask if... Is it possible to convert a project saved in Vb.Net 2010 to VB.Net 2008? Thank you for you response! I'm a student currently doing my Thesis Study. :) Chellemits | |
Hi, I have a problem with L-systems recursion, I tried a lot of ways to figure out how to make my fuction recure but I have no luck at all. What the program must do is the Koch system or rather the replacement rule, where by everytime the fuction recurs, … | |
Hi all, i'm pretty new to java applets and been struggling to embed it into a webpage. I made a java applet using eclipse, and ran it using eclipse's applet viewer just fine. However i cannot embed it into my webpage. I placed the jar file i exported from the … | |
[CODE]************** TURN 1 **************** | | | | | | a | b | c j | k | l r | s | t __ |___| __ __ |___| __ __ |___| __ | | | | | | d | e | f m | W | n … | |
How to calculate the sum & product of dis-similar numbers of an array[10]. i do have a code but it stop working after a certain limit, so please help..... | |
Hello! I've got the code below which takes data from my db and displays it to the page listing reports submitted by the user. At the end of each row I have button that is supposed to launch a PDF generator so that the user can view their report. I … | |
I have this snake game I keep talking about and I added in a menu. now when I run the snake game the first time it works. When I press T to return to the title, it returns. When I click on the colored snake game after that the snake … | |
1) Let X be the length of the first linked list until intersection point. Let Y be the length of the second linked list until the intersection point. Let Z be the length of the linked list from intersection point to End of the linked list including the intersection node. … | |
Hi Friends, My client give me a project to modify, but when I load the project I got the error about [COLOR="red"][B]"LORTCHTX.OCX" [/B][/COLOR] and [COLOR="red"][B]"AGAUGE.OCX"[/B][/COLOR]. It says could not loaded... :angry: anybody can help me to solve this problem...??? [B][U][COLOR="Green"]I have attached the snap shot of messages i recieved while … | |
Hi all I am a little confused with an issue regarding a combo box being displayed on my asp.net webpage. All I want to do it have a blank default value at the top of a list which is bound with a database, which also prevents the user from selecting … | |
I have the following code which should update the total items in a categories list every time that a search filter is changed. However, the function will only run once. [CODE] function getXMLHTTP() { //fuction to return the xml http object var xmlhttp=false; try{ xmlhttp=new XMLHttpRequest(); } catch(e) { try{ … ![]() | |
Hello Everyone. I am looking to make a program that uses the webcam that is integrated into my laptop. What I would like to know is how would I go about doing this? What I mean is, is there a standard API or library that I can use. Am I … | |
Can VS generate "junk" data in a database for testing purposes? I could swear somewhere I saw it in a menu, but I can't find it now? | |
Hello guys, I try to implement a chat application using PHP + MySql. The problem so far is that when I am chatting, I "lose" inputs when a small part of the page goes to be updated. On the other web browsers (Chrome, IE, Opera) I have some delay but … | |
Am gettin an error msg like this--> The image “[url]http://localhost/linegrph.php”[/url] cannot be displayed, because it contains errors. while tryin 2 run my code on localhost.. Wen I comment d statemnt, $graph->Stroke(), nthng at all displys.. Plseeee do tell me a solution.. Thnks in advance :) | |
I don't know if this is possible, but I want to submit information using POST with a link. I know I can use GET, and I know I can use a form with a hidden value and submit it with a link, but I don't want either of those. I … | |
I'm trying to create a message board where members can post messages to other members. I'd like to have a section where it says "4 posts since Jan 2011" just like DaniWeb does. How do I get the date from the [CODE]"first row WHERE user='username'"[/CODE] with PHP & MySQL? Also, … | |
I'm trying to find a way to check for changes in a DataGridView. The gridview does not have a binding source because I am populating it based on some other information. Right now I get a NullReferenceException. It happens as the gridview is populated. I have marked the line where … | |
Ok, I need to make a program that randomly generates 4 random letters from 12 random letter and it cannot reapeat the same letter. for example you can only pick from a,b,c,d,e,f,g,h,i,j,k,l and the program can randomly generate a,b,c,d or b,c,d,e but should not generate a,a,b,b or something that repeats.Another … | |
Hello! Does anyone know how to set a progress bar? I am developing an audio and video converter manager. I wanted the progress bar to run 'til the process of the converting of file is finished. The converting time depends on the file size so I can't just set the … | |
If Server A and Client B are chatting through sockets, and Client B requests a dataset of all accounts on the server it has access to, the server provides that data set to the client (through serialization and sending it over the socket) and the client modifys the data, say … | |
Hi to all plz tell me how to use applet with html... | |
I want to email an aspx page, which has database connectivity, from my web application. The page contains submit button and IHttpHandler (ashx) for images. The page images are in my SQL Server database and opening it directly to the image control using ashx file. Can I email the said … | |
Hi, I am exporting data of mysql table.Its working fine. In my db some hindi data is also stored.When i download hindi data it come some undesired sequence. Can i export hindi data in cSV. Need suggestion. [CODE]<?php // // establish database connection // $conn = mysql_connect( 'localhost', 'root', '' … | |
Hello, I have recently been working on a custom gui and am having trouble with a section of my code that handles the creation of window-style dialogs: (i appologise in advance but i had to include the whole code as Google Chrome would not pin point the error and only … | |
i was trying to learn unity and i wanna write c# scripts but when i write unity functions its color turns to cyan and when i move mouse on this cyan words it writes in tooltip for example (class UnityEngine.transform) the vs2008 recognize but cant use :D i used vb … | |
I'm reading a big csv file into a data structure defined as such: [CODE]struct PriceInfo { double Open; double High; double Low; double Close; unsigned int Volume; unsigned int Time; std::string Date; };[/CODE] So somewhere in my main function, I have this line: // read contents of datafile by overloading … ![]() | |
I have placed thread is alive in a loop , so when the thread finish its work so i will start another work.... but this makes program heavier. is there any other method [code] while(thread1 is alive) wait getvalue from thread1 and start thread2 [/code] | |
hey guys i am planning to program a website and a software that connects to the website and get information from the website..the web part is easy and i made it but for the program, is c++ good for such a program?? and if yes, which library do i need … | |
Hi Is there any Bootstrap Manifest Generator available for Visual Studio 2010? If yes, then please provide the relevant links and details. Thanks in advance. [B]synaqvi[/B] | |
HI,..i've been working on this simple project that i need to submit it tomorrow. I really in rushing a little bit. But while i working on this oop project, my program give the strange little fatal error about my query which is this [B]Fatal error: Call to a member function … | |
We are asked to create a calculator but before I do that I must correct the codes given in order for me to know what I must add in my calculator but I do not know how to solve the "void cannot be referenced " error...how can I do that? … | |
Hi Thanks for viewing this thread. Does anyone know how to display MessageBox at C# aspx pages? Sorry i cannot use MessageBox.Show() as it does not display it when i run it with IIS. Please ask me more question if you need to. Thanks for the help | |
I have had a look within daniweb and done google searches on this problem so hopefully I am not wasting anybodys time with this. The problem I am facing is that currently I am getting the results from a mysql database using an associative array but i need to be … | |
Is there any class for information providing box when i bring mouse over the object in java. I mean when i bring mouse over the combo box it display information about that combo box I cant load picture, seems some error in picture loading area..... |
The End.