199,114 Archived Topics
Remove Filter ![]() | |
Hello there everybody... I want to ask if there is a book on creating C++ libraries. I thought a good approach to manipulating and using existing libraries is to learn the intracecies of creating and building them.. Any hints? Thanks. | |
# Introduction # It allows all programs to potentially operate on data managed by this engine. Its structure is similar to Windows Registry with a difference, that it also supports BLOBs and its size is not limited. It could be used instead of filesystem directly. The equivalents of registry keys … | |
Beginner programmer here and I am lost on a project for a class. I have to develop a Java application that calculates the monthly paychecks for a numbe of different types of employees. The employee types are created in a subclass array based on parent base class Employee. The initial … | |
MsgBox("You have entered an invalid department") End Select 'Display the new total for each department LblTotalpayroll.Text = "Payroll Totals:" & vbNewLine _ "Management:" & dbManagementPayroll.ToString & vbNewLine & _ "sale:" & dbSalePayroll.ToString & vbNewLine & _ "processing:" & dbprocessingpayroll.ToString & vbNewLine & _ "Phone:" & dbphonepayroll.ToString & vbNewLine Else MsgBox("The … | |
Convert from int arraylist to string arraylist and double arraylist to string arraylist java ![]() | |
Hi guys, I have a number of files within a directory which are named Log-2014-01-21.txt and similar. What I’m trying to do is write a program that will archive these files based on the month that is in the file name rather than the file Info. The part I’m struggling … | |
pls i need help from my friends out there.. i am gettin aform validation error in my contact page when i first try to load it using a webserver like xampp or wampp, else if i jus run with my web browser there is no such error .. here is … | |
Hi, I have a rock object. Right now all it does is fall from the sky. I made 10 of them and put it in a `std::vector<rocks*> rock_v`. The rocks have random x position but start at the same height. I generate the rocks like this: for(int i = 0; … | |
//Hi all,can someone help with this problem //I am stack,need to output all functions in main,with user input for queue and stack,but first queue //This is my .h and .cpp of queue #include "stdafx.h" template <class ItemType> struct NodeType; template <class ItemType> class QueType { public: QueType(); // Class constructor. … | |
Why am I not getting a segmentation fault or at least weird results with this array out of bounds? I'm a bit disappointed. One of the few times I actually want it to happen it won't happen. int i = 0; int j = 0; int n = 0; int … | |
Hello iwant a script in php i describe my problem below > i checked all the checkbox and updated after updating i am getting values from enable field but when i checked randomly i am not getting updating i am getting different values to be checked Here's the code /* … | |
What are interfaces main purposes and what features do they offer to give us a solid reason to use them? | |
How to solve this Cpp programming program Create two arrays and pass them into a function by reference. The function should reverse the first array and place it into the second array (as below). Arrays when passed into function Array1: 1, 2, 3, 4, 5 Array2: 0, 0, 0, 0, … | |
does anyone have any ideas or codes in building a game using java codes. my last assignment is building a game and I have no idea what to do or how to even start and where to start. can anyone give me any ideas on how do I go about … | |
I have a code behind in my web pages and I'm trying to write Greek characters in my SQL 2010 Tables. I write in my Tables but what I get is ????? why is that? What I have to do in my SQL in order get the Greek characters? Thank … | |
Hello everyone, I have a comment system using PHP and ajax, but it only have and function add, now I want to have a function edit comment and delete comment, so I need some example link guide to make reference, who known please share, thank for read. Here is example … | |
Hello, I have to implement an overloading insertion and extraction. My fields are char, char and float. I met some problems with data types. How can I use overloading insertion/extraction with strings? Can You state the mistakes in my code? Thanks // laba8pop.cpp : Defines the entry point for the … | |
Hello, The website that I build has xampp logo sides it's title. I wonder how to erase it? Daniweb has the right logo - > Mind has xampp logo in it. I would like to erase it or change it but I do not know how to? index.php <!DOCTYPE html> … | |
Hi, Everyone! So, i need a simple swing binary tree code, if anyone of you guys have it, please share to me =( Thanks, a big hug. | |
I believe everyone heard the news from November the 11th-"Opening up Visual Studio and .NET to Every Developer, Any Application: .NET Server Core open source and cross platform, Visual Studio Community 2013 and preview of Visual Studio 2015 and .NET 2015". Maybe some people will disagree but I think that … | |
Hello everyone!!! Can anybody help me to fix this error... While running my game source code on command prompt i get one error. Note: tetris.java uses or overrider a deprecated API. Note: Recompile with -deprecation for details. please help me to fix it. | |
I am using mailgun. now i am sending mail from gmail to my domain. using mailgun api i am getting that and showing that content in my webpage. but when i am adding images in middle of the text or in signature of the mail image is not showing in … ![]() | |
**syntax error in INSERT INTO statemen**t what is that mean? | |
Hey guys. I'm writing myself an online toolbox (for my code snippets). I have a "Snippets" table. My question is this. Would you save the snippet source in a Text column or would you have the snippet saved to a text file and the Snippet entry would reference the file … ![]() | |
Hi all, I was just wondering, how do I go about making an asp.net application accessible on the internet? The application is also linked to a SQL database (created in visual studio). I have got server space available but I'm not sure where the sql database needs to be copied … | |
i have a database table with fields mobno1 and mobno2, first i would like store all the values of field mobno1 into var1 and field mobno2 into var2 by using comma seperator and pdo. my code is as follows. $pdo = Database::connect(); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = "SELECT mobno1,mobno2 FROM custreg"; … | |
![]() | Kind of stuck here. I'm porting over a section of code from Java to C#, and I'm having an issue with method permissions constructors. Early in my code, i have this class.. public class TCard { int suit; int rank; } and later i've got this method, which throws a … ![]() |
i just installed wamp server then php version 5.2.6 but when i start the wamp server services and select the phpmyadmin option, a page with the error 'phpMyAdmin - Error Cannot load mysqli extension. Please check your PHP configuration. - Documentation' p what can i do to fix it? i … | |
Hi ... so I'm not sure if I have PubSubHubbub set up correctly. I tried setting up subscribing to the feed in Feedly (which supposedly supports the protocol) and now I'm starting a new thread to see if it shows up ASAP. Here goes nothing ... | |
Hi, I want to create a trigger to increment value of my VisibleNo field if it gets duplicate value. My Application is my multiple users at same time . When at first suppose two users open application it gets same visible no and it saves duplicate number. I want use … | |
I initialize the salary and this is the result i get, is it correct, to me it doesnt look correct, I could be wrong public static void main(String[] args) { Scanner scan = new Scanner (System.in); int age, sum, difference, old_salary, new_salary, salary = 0; System.out.println("Please enter the person age"); … | |
I have wrote this code but it shows me only the timing not the values, can any bady tell me where is the problem? import time import random def procedure(): time.sleep(0.60) # measure process time t0 = time.clock() procedure() print time.clock() - t0, "seconds process time" #BUCKET SORT (up to … | |
Hello, I am trying to fix my server file path. After moving my web project file from localhost to the server. There are several errors that appears. One of them is: Destination folder does not exist or no permissions to see it. file_upload_exercise.php define('DESTINATION_FOLDER','c://xampp/htdocs/squprime/administrator/admin/materialstorage/'); if (!@file_exists(DESTINATION_FOLDER)) { $errors[] = "Destination … | |
import java.util.*; public class temp { public static void main (String[] args) { //Declear variables int LowT=0, HighT=0, high, low, RangeT=0, zip, k, d, i; double Avg, HighAvg=0, LowAvg=0, RangeAvg=0; //New Scanner Scanner input = new Scanner(System.in); //Informs user on what the program does System.out.println("This program calculates highest, lowest and … | |
I am writing code to simulate a queue at a bank, which calculates the average wait time of all customers that enter the queue. I'm getting a STATUS_ACCESS_VIOLATION at line 56 of program3.cpp. I've had this error before and I'm pretty sure it happens because of an attempt to act … | |
Hello I have what looks like a serious compiler error, serious in that I cannot see any of my files in the browser. When I click on 'View in Browser', I get this compiler error: **BC30451: 'DefaultAuthenticationTypes' is not declared. It may be inaccessible due to its protection level.** That … | |
Hi, I'm facing an issue where my code is working inside Visual Studio, but failing when I build the application and run it. I have tried Googling for code alternatives to where I've tracked the bug down to, and I can't find anything that works the way I need it … | |
Hello guys i need some help, i need a program to read a text file. I write this: [code]#include <iostream.h> #include <fstream.h> #include <cstring.h> void main () { int is_open; string line; ifstream myfile; myfile.open ("a.txt"); if (myfile.is_open()) { while (! myfile.eof() ) { getline (myfile,line); cout << line << … | |
* Instruction: Bonus Develop a calculator application that will allow the user to enter the desired calculation (A for Addition, S for Subtraction) and enter two numbers. When “Calculate” button is clicked, if the user entered two numbers, the application will display the appropriate result. Otherwise, a message box will … | |
Hello In my success.aspx file, I have: <asp:Label ID="LblDate" runat="server" class="labelStyle" Text="Label"></asp:Label> and <div class="center"> <asp:Label ID="Name" runat="server"></asp:Label> you have successfully registered </div> and in my success.aspx.vb file, I have: Code for the date, which works, and then: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load … | |
Write a program to input a person’s age and salary. If the age is over 32, then add $1000, otherwise subtract $500 from salary. Finally output the age and new salary. here is the problem Scanner scan = new Scanner (System.in); int age, sum, difference, old_salary, new_salary, salary; System.out.println("Please enter … | |
How to delete Data from multiple tables. For example Iam having category id in one data base table .in another data base table iam having this id if i delete category id it should display a message as first delete in that table if the id is there in that … | |
![]() | How do I add HTML5 functionality to my browser? Its still a work in progress, so ignore the event handlers and buttons that seem pointless... package browser; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class ReadPage extends JFrame { private JTextField address; private JEditorPane display; private JButton refresh; … |
hello everyone im working on my masters thesis project, i need a help on how to convert md5 password into binary andthen generate a randomly number, then calculate there exclusive OR, i mean that suppose i have attechd the code in this msg. but the PROBLEM here is that it … | |
Hi.. I'm getting error in my query.. while using it in oracle it is working.. But when using it in mysql it is not working.. i'm getting error as insert into ProjectHealthReportAudit(clientid, projectid, month, year, phasesId,ACTIVITIESSUBTYPEID, ACTIVITIESARTIFACTSID,processConformance,comments, pcinumber, pciscore, colour, createddate,createdby) values ( (select clientid from client where clientName = … | |
hi everybody, i want to write a program to print the longest word in a sentence but without using any built in function. can anybody please help me write this code in c language. | |
Hello All, I have writtern a c++ code to implement Koch Snowflake pattern using recursion. The code written compiled well but did not run saying linking error for some variables as shown below: ============================ 1>kosh_snowflake.obj : error LNK2019: unresolved external symbol _moveto referenced in function "public: __thiscall RecursiveCurve::RecursiveCurve(void)" (??0RecursiveCurve@@QAE@XZ) 1>kosh_snowflake.obj … | |
i want to print the bill to printer from php mysql database? is it possible? help me please!!!!! | |
Hello, Thank you for your time! I have an applet where I have two blocks moving: When the program starts: a)The first block is constantly moving with a time delay of 100 ms about the horizontal direction at the top end of the applet (x starts at 0 and is … |
The End.