132,726 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.

Software Development c++
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 …

Software Development java java-swing
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 …

Software Development vb.net
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

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

Software Development
Member Avatar for deceptikon
0
2K
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. …

Software Development c++ queue
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 …

Software Development c
Member Avatar for Moschops
0
146
Member Avatar for iConqueror

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

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

Software Development c++
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 …

Software Development gaming java
Member Avatar for llgms
0
322
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 …

Software Development c++
Member Avatar for Moschops
0
191
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.

Software Development gui java java-swing
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 …

Software Development android-development ios visual-studio
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.

Software Development api java
Member Avatar for JamesCherrill
0
114
Member Avatar for Xiao_1

**syntax error in INSERT INTO statemen**t what is that mean?

Software Development visual-basic
Member Avatar for Santanu.Das
0
255
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 …

Software Development oop
Member Avatar for humorousone
0
24K
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 ...

Software Development xml
Member Avatar for Dani
0
255
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"); …

Software Development java
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 …

Software Development python
Member Avatar for vegaseat
0
449
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 …

Software Development java
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 …

Software Development c++ queue
Member Avatar for Inderjeet_1
0
8K
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 …

Software Development c c# c++ visual-studio
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 << …

Software Development c++
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 …

Software Development visual-basic
Member Avatar for JerryFJustic
0
215
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 …

Software Development java
Member Avatar for divinity02
0
134
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; …

Software Development html-css java java-swing
Member Avatar for Slavi
0
155
Member Avatar for Adeel_3
Member Avatar for FrankyK
0
161
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.

Software Development c
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 …

Software Development c++ visual-studio
Member Avatar for Sunil_12
0
318
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 …

Software Development java java-swing
Member Avatar for sciprog22
0
162
Member Avatar for kortneycoles

I'm working on this code for class, I am not expecting anyone to do my homework but help would be appreciated. Nodes are confusing for me and my professor did not explain well. The errors I am getting are where I declare the functions, I dont know the nodeType(?) that …

Software Development c++ data-structure file-stream linked-list
Member Avatar for nataraja833
0
345
Member Avatar for sergio_pb

Hello, follow my code please. I created this code for read values from Mitsubishi FX3G linked with FX3U-ENET i this work. I put the right port and always i put *INICIAR* e read all values. Now i need to read this values automaticly , minute to minute. I try diferent …

Software Development vb.net
Member Avatar for sergio_pb
0
153
Member Avatar for Search_not

I am trying to overload enum types so that I can get input and show output using these enum types... My program bombs out when I run it, please help. Here is an example of what I am trying to do (a rock classification program): #include <iostream> #include "classify.h" using …

Software Development c++
Member Avatar for Search_not
0
3K
Member Avatar for redtribal23

the program works the way i want it to except for the inputmismatchexception. import java.io.File; import java.io.IOException; import java.util.Arrays; import java.util.InputMismatchException; import java.util.Scanner; public class Exception { public static void main(String[] args) throws IOException { int num = 100; int tempNum; int index; String[] strArray = new String[num]; int[] numArray …

Software Development java
Member Avatar for stultuske
0
566
Member Avatar for usmanjani

hello please help me on the assignment i cannot recognise the classes and a little functionality of the classes+ how stimulate the scenerio in each class and how to set predicate function, multiple classes....... with ?????please help me urgent [Click Here](http://www.scribd.com/doc/245021293/Assign-Emt-1)

Software Development c++
Member Avatar for jwenting
0
128
Member Avatar for srentrop

The code below is a working program, but I just can't figure out how to correct the loop. I need it to loop back at the complection of case A, B, C and to end with case X. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AtmProject { class …

Software Development c c# c++
Member Avatar for necrovore
0
248
Member Avatar for brandon909

Hi I'm creating a program that holds three arrays one for the persons last name, one for the points scored and one for the player number, I've got everything done but my ProcessDelete method is changing all of the array instead of instead of just the element where the user …

Software Development
Member Avatar for ddanbe
0
178
Member Avatar for Johnnie_1

Hey guys, I am currently taking a c++ class and I have an assignment that I am really struggling to understand. I kinda have an idea of what the assignment is asking, but I just dont know how to put it together in a program. I dont know where to …

Software Development c++
Member Avatar for rubberman
0
220
Member Avatar for myiwlu10

**HERE IS PART OF MY CODE THAT REALLY MATTERS! AND BELOW IS THE PRINT OUT I GET WITH THE Program ** B200-LOGC.** INITIALIZE WS-MISC, P1-DTL1-LINE.** MOVE EMPL-FRST-NAME TO WS-FRST-NAME. MOVE EMPL-LAST-NAME TO WS-LAST-NAME. MOVE WS-NAME TO P1-EMP-NAME MOVE EMPL-GROS-SLRY TO P1-EMP-SLRY. IF EMPL-GNDR = "M" MOVE "MALE" TO P1-EMP-GNDR ADD …

Software Development
Member Avatar for BitBlt
0
184
Member Avatar for Inderjeet_1

The simulator will simulate one or more line-ups for customer service at a business. In the default setup, it will take between 1 and 6 minutes for a customer service request to be handled (random) once a customer reaches the front of the queue, after which the customer will leave. …

Software Development c++ queue
Member Avatar for Inderjeet_1
0
138
Member Avatar for srentrop

using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DiceRollTwo { class Program { static void Main(string[] args) { // Declare and initialize variables. Int32 intDiceOne = 0; Int32 intDiceTwo = 0; Random rnd = new Random(); String sResponse = String.Empty; // Greet the user. Console.WriteLine("\n\tWelcome to Vegas Dice Roller!"); …

Software Development c#
Member Avatar for ddanbe
0
1K
Member Avatar for sciwizeh

I have user login info stored with JPA along with a room. The room has a list of users, the users have a transient field, which is where my problem is coming in. @Entity public class User{ //some other stuff ids and such @Id @GeneratedValue(generator = "increment") @GenericGenerator(name = "increment", …

Software Development java session
Member Avatar for sciwizeh
0
282
Member Avatar for J.C. SolvoTerra

Using .Net's SHA1 Crypto Service to compare hashes between a user's password and their stored hashed password. Simplez =0)

Software Development vb.net
0
868
Member Avatar for rela

I have a code that read some input data from a text file, and I want to add a loop using WriteModel() to print out the same data like the same format in the text file, can you help me how to do that?

Software Development c++
Member Avatar for rela
0
174
Member Avatar for tony75

Hi I try run this program(TestLib1.asm) [Click Here](https://github.com/mysteriouspants/SlopBukkit/blob/master/CS118/examples/ch05/TestLib1.asm) in my Visual Studio 2012 pro but I got errors I think the erros not in code I think in my Visual Studio 2012 configuration! Anyone know how can I fix it Error3 error LNK2005: _main@0 already defined in proj1.obj Error4 error …

Software Development assembly github visual-studio
Member Avatar for tony75
0
980
Member Avatar for shahera.arafat

hi :) I have a pro. here>>I have to write a prog. to get info. from a file and then to take these info. and to put them in a tree >> so what happened here ,,that the compiler reads the info. correctly from the file and take them ..but …

Software Development c++
Member Avatar for shibmk
0
190
Member Avatar for Diellza

Dear all, I need the code for counting sort algorithm but I try this code but is not working #include <iostream> #include <conio.h> #include <time.h> #include <stdlib.h> //srand and rand functions using namespace std; void add_random_numbers(long arr[], long b); void countingSort( long left, long right, long vector[], int k, long …

Software Development c++
Member Avatar for deceptikon
0
793
Member Avatar for HuePig

Hi, I have a `std::string getName(){return name}` function and `std::string name` is a private variable. The problem is that when ever I try to `getName() == object` , the statement is always `false` even when the values are the same. if (command.compare(0, 4, "get ") == 0){ std::string object = …

Software Development c++
Member Avatar for Search_not
0
252
Member Avatar for miladrahimi93

Hello buddies! I'm new at Java SE Porgramming with PHP background. I've made a simple app which uses JSON to save some data and I would like to use MySQL database but there was some question for me. 1. If I used MySQL or any database, how much would my …

Software Development java json mysql
Member Avatar for JamesCherrill
0
215

The End.