199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for furalise

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.

Member Avatar for Moschops
0
186
Member Avatar for PawelBujak

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

Member Avatar for PawelBujak
0
399
Member Avatar for Wendy_2

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 …

Member Avatar for Wendy_2
0
276
Member Avatar for banoota.maynoona

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 …

Member Avatar for Reverend Jim
0
167
Member Avatar for joshua_8

Convert from int arraylist to string arraylist and double arraylist to string arraylist java

Member Avatar for Search_not
0
111
Member Avatar for ogsirus

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 …

Member Avatar for deceptikon
0
2K
Member Avatar for Paul_29

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 …

Member Avatar for mattster
0
220
Member Avatar for HuePig

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

Member Avatar for HuePig
0
778
Member Avatar for aluhnev

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

Member Avatar for richieking
0
201
Member Avatar for COKEDUDE

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 …

Member Avatar for Moschops
0
146
Member Avatar for msolomon.ashish

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

Member Avatar for msolomon.ashish
0
4K
Member Avatar for iConqueror

What are interfaces main purposes and what features do they offer to give us a solid reason to use them?

Member Avatar for llgms
0
274
Member Avatar for Waqas Ahmad

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

Member Avatar for llgms
0
155
Member Avatar for divinity02

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 …

Member Avatar for llgms
0
322
Member Avatar for lefteris.gkinis

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 …

Member Avatar for lefteris.gkinis
0
220
Member Avatar for myfit

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 …

Member Avatar for myfit
0
701
Member Avatar for andruluchko

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 …

Member Avatar for Moschops
0
191
Member Avatar for davy_yg

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

Member Avatar for almostbob
0
298
Member Avatar for hedrun

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.

Member Avatar for JamesCherrill
0
178
Member Avatar for castajiz_2

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 …

Member Avatar for ryantroop
0
293
Member Avatar for Heba_2

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.

Member Avatar for JamesCherrill
0
114
Member Avatar for muralibobby2015

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 …

Member Avatar for diafol
0
1K
Member Avatar for Xiao_1
Member Avatar for J.C. SolvoTerra

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 …

Member Avatar for diafol
0
229
Member Avatar for Violet_82

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 …

Member Avatar for JorgeM
0
683
Member Avatar for blueguy777

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

Member Avatar for blueguy777
0
461
Member Avatar for humorousone

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 …

Member Avatar for humorousone
0
24K
Member Avatar for meakish

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 …

Member Avatar for penny.anne.9
0
235
Member Avatar for Dani

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

Member Avatar for Dani
0
255
Member Avatar for devendradighe

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 …

Member Avatar for devendradighe
0
178
Member Avatar for divinity02

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

Member Avatar for divinity02
0
118
Member Avatar for Diellza

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 …

Member Avatar for vegaseat
0
449
Member Avatar for davy_yg

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 …

Member Avatar for broj1
0
230
Member Avatar for Trevor_4

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 …

Member Avatar for stultuske
0
173
Member Avatar for skuller74

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 …

Member Avatar for Inderjeet_1
0
8K
Member Avatar for Blueie

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 …

0
102
Member Avatar for Yorkiebar14

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 …

0
108
Member Avatar for Dex02

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

Member Avatar for senthil_5
0
1K
Member Avatar for _Kimberly

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

Member Avatar for JerryFJustic
0
215
Member Avatar for Blueie

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 …

Member Avatar for BMXDad
0
198
Member Avatar for divinity02

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 …

Member Avatar for divinity02
0
134
Member Avatar for ashalatha

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 …

Member Avatar for Isaac_4
0
564
Member Avatar for Search_not

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

Member Avatar for Slavi
0
155
Member Avatar for soomro_moon

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 …

Member Avatar for cereal
0
556
Member Avatar for Adeel_3
Member Avatar for usha_bandela

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

Member Avatar for usha_bandela
0
1K
Member Avatar for saurav_panda

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.

Member Avatar for deceptikon
0
2K
Member Avatar for Sunil_12

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 …

Member Avatar for Sunil_12
0
318
Member Avatar for praba_web
Member Avatar for cereal
0
11K
Member Avatar for sciprog22

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 …

Member Avatar for sciprog22
0
162

The End.