132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Febel

I need a help in coding this program... write a C++ program to read a set of n numbers where n is defined by the user and print the contents of array in the reverse order using class template, numbers should include int and double data types... please reply soon....

Software Development c++
Member Avatar for rubberman
0
187
Member Avatar for PulsarScript

Hi to all,i have to make project with the classes.Can anyone suggest the topic for the project?Or show the idea.Thank you.

Software Development c++
Member Avatar for rubberman
0
111
Member Avatar for pekemp23

Assignment is as follows: **Create a GUI-based program to accept name of donor, name of charity, and amount of pledge from the user. Display a list of entries in a JTextArea or JTable. Submit the .java source file or files for this program. Do not use any package statements in …

Software Development gui java java-swing window-manager
0
108
Member Avatar for LooN_iE

[code=Java] package newuser; import java.io.BufferedReader; import java.io.FileReader; public class Main implements ServerConstants { public static void main(String[] args) { BufferedReader lnr = null; String line = null; int N=1000; int totalRecords = 0; String [][] array = new String[N][]; try { lnr = new BufferedReader (new FileReader("LoginData.txt")); for (line = …

Software Development file-system java
Member Avatar for ncmathsadist
0
304
Member Avatar for angel06

Hello guys would someone please help me fix my program. I have two classes the one is named GetValues and the other one is SampleReturn. The GetValues class has an error illegal start of expression in the line `public static String kuhaName()` . The code is below. GetValues class codes: …

Software Development java
Member Avatar for ncmathsadist
0
583
Member Avatar for G_S

I have this: dic = {'ál':1, 'él':2} string = "ÉL" number=dic[string.lower()] and it's giving me a KeyError. I realize then that 'ÉL'.lower() is giving me 'Él', i.e. it is not affecting the É at all because some weird Python 2.x encoding issue. Can somebody help me please? I can't tell …

Software Development python
Member Avatar for G_S
0
1K
Member Avatar for StarBreezed

I'm writing a program that works with two sets of numbers put into arrays. The program uses overloaded + and - operators. Array one = 2 7 4 2 9 7 Array two = 2 9 8 9 1 10 12 The output should be: For +, New Array = …

Software Development c++
Member Avatar for Ancient Dragon
0
347
Member Avatar for bnn678

a1 = 1 a2 = 2 a3 = 3 ....... a10000 = 10000 So, I want to create a function that will autoassign names to numbers. In the the code above, for x in range (desired range): a(quantity of x) = x how do i get my code to call …

Software Development python
Member Avatar for Gribouillis
0
213
Member Avatar for benjamin_8

hello, pls cn anyone give a well-explained user-defined function that can check if a string is a palindrome? Thanks.

Software Development
Member Avatar for Teme64
0
98
Member Avatar for V3N0M

Hi everyone so I have started learning strings in c and I get a problem. I have been changing initialized strings to uppercase or lower case and its easy. But I am having some trouble changing user input to uppercase. Here is a simple program which will take user input …

Software Development c
Member Avatar for Ancient Dragon
0
180
Member Avatar for Elixir42

Dear Kind DaniWebbers, I am trying to overload the fstream operators (ofstream/ifstream), so that I can save a class to a 'Binary' file and also display it with cout. But the ways in which each need to be implemented is different. Please can you show me how to define different …

Software Development c++
Member Avatar for vijayan121
0
4K
Member Avatar for trubble

I was tasked to make a program that took a string input, then reversed it using recursion. I'm getting a syntax error causing an exit code 1. Also, I'm sure there may be an error in the code as I'm not very strong with recursion. Any help with this (specifically …

Software Development java
Member Avatar for JamesCherrill
0
181
Member Avatar for brittany.nelson.526

I am having a problem with a loan calculator that I am building. It keeps telling me that the interest_rate variable it referenced before assignment. I'm fairly new to python and was wondering if anyone had any ideas as to what is wrong with my code. Any help would be …

Software Development python
Member Avatar for TrustyTony
0
322
Member Avatar for carmen.golz.9

Is this a real code in Dev c ++ I never seen this before example cout<< Concert4 Program Answers.\n\n"; Thanks Carmen

Software Development c++
Member Avatar for deceptikon
0
192
Member Avatar for Nebil

Hi guys, I have a form that could be called from 3 tool strip menu items at different times.And from that form you can select an item and proceed to another form based on the selection.Since they share the items this form is holding. Now i want this form to …

Software Development vb.net
Member Avatar for Reverend Jim
0
144
Member Avatar for nicholasamh

Hi, I am using Visual studio 2008, C++ MFC to do my programming for serial communication. I am having problem with my source code wehn i complied it. I have link the serial.cpp and serial.h file to my main program. In my main program, i just type Serial.Open(); to test …

Software Development c++ file-stream open-source visual-studio
Member Avatar for baghere66
0
539
Member Avatar for Amanpreet_1

I am having an app in visual c# ,, i need to retrieve the table values of coloumn name title corresponding to a certain user id in combobox on the same form . can anyone help me doing this ?

Software Development c#
Member Avatar for Amanpreet_1
0
413
Member Avatar for eldiablo1121

Hello, I have to write a program that will solve polynomials by user input, my program compiles, but gets an exception error. Here is my code: import java.io.*; import java.util.Scanner; import java.util.LinkedList; public class PolynomialList { private Node first = new Node(0, 0); private Node last = first; private static …

Software Development java linked-list mathematics
Member Avatar for JamesCherrill
0
1K
Member Avatar for malik.epperson

I need help with a homework assignment. I am to create a doubly linked list that reads the numbers from file and then compare the time it takes to sort the numbers using three different sorting algorithms. Here is the code that I have. The algorithms are not working(insertion sort …

Software Development c++ linked-list
Member Avatar for malik.epperson
0
1K
Member Avatar for seethu214

An n x n matrix is a positive Markov matrix if all of its elements are positive and the values in each column sum to one. Write a program to check whether a 3 x 3 matrix is positive Markov. Your program should prompt the user to enter a 3 …

Software Development java
Member Avatar for JamesCherrill
0
183
Member Avatar for Sajjad_1

hi I want to make a query that first find the sum of two columns of different table then subtract it Example it is a visual basic program Dim large_tbl As String Dim sell_large As String large_tbl = "SELECT Sum(No_Of_Bottle) FROM add_cotton where Cateogry='Large'" sell_large = "SELECT Sum(Quantity) FROM Sell_Detail …

Software Development visual-basic
Member Avatar for Sajjad_1
0
1K
Member Avatar for Sin Savada

what is control that i should use to save image into my database

Software Development image vb.net
Member Avatar for winstongel
0
5K
Member Avatar for sanu kaji

Program 'C:\Users\johnpal\Desktop\SMSapplication\SMSapplication\obj\Debug\SMSapplication.exe' has more than one entry point defined: 'SMSapplication.Program.Main()'. Compile with /main to specify the type that contains the entry point. C:\Users\johnpal\Desktop\SMSapplication\SMSapplication\Program.cs 13 21 SMSapplication... while compiling visual studio how to solve this problem

Software Development visual-studio
Member Avatar for ddanbe
0
87
Member Avatar for GrantB

My select new statement get values from two different tables but it does not data bind in the grid view please help. var search = (from u in db.Users ` join s in db.Sites on u.SiteID equals s.SiteID` where u.FirstName.Contains(tbSearch.Text.Trim()) select new { u.FirstName, u.LastName, u.Username, u.Password, s.SiteName, u.Active }); …

Software Development
Member Avatar for GrantB
0
189
Member Avatar for novice20

hi all... how to find the localhost ip address in python [B]import socket socket.gethostbyname(socket.gethostname())[/B] gives me 127.0.0.1 instead of my ip address any help...........

Software Development python
Member Avatar for Suraj_2
0
928
Member Avatar for alina.nazchowdhury

Every single time I try to use a control from components on vb6, I put the code, I run the program, then when I try to open the same program in another day, its not working, its giving me the error : Line 13: Class MSAdodcLib.Adodc of control Adodc1 was …

Software Development visual-basic
Member Avatar for alina.nazchowdhury
0
2K
Member Avatar for karmstrong

I'm wondering if anyone has any experiencing getting a python application to authenticate with google docs. I'm not sure how to begin. Goal: To update a google docs spreadsheet based of a CSV file on my local machine. Currently my google account is set for two factor authentication. Perhaps this …

Software Development api office-suite python seo
Member Avatar for dashing.adamhughes
0
254
Member Avatar for bogoreh

hi dear fellow i have tried to add structure array in my program and i had a few issue to add. please can anyone tell me how can i add a structure array in the following program #include <stdio.h> #include <stdlib.h> #include<string.h> #include<conio.h> struct books{ char name[22], book[25],date1[10], date2[10],id[7],bid[7]; } …

Software Development c data-structure
Member Avatar for bogoreh
0
282
Member Avatar for fliponymous

Hello everyone I want to edit this source ------------------------------------------------------------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace G18_20140215 { class Program { static void Main(string[] args) { Console.WriteLine("Hello G_18"); Test("Hello User"); Test("Hello User1"); Sum(2, 3); Console.ReadKey(); } static void Test(string s) { Console.WriteLine(s); } static void Sum(int …

Software Development
Member Avatar for cgeier
0
104
Member Avatar for wildplace

i need to create a project that able to run both under linux and windows(visual studio)... i pretty much finish all coding and able to run both windows and linux in separate files the problem i deal with is the header file which visual studio required #include "StdAfx.h" and not …

Software Development c++ visual-studio
Member Avatar for deceptikon
0
2K
Member Avatar for RikTelner

How to create DOS system? Yes, the ye oldie **Disk Operation System** which I could fill with a lot of tools, bombs, viruses, ---- pics and what not. That will back me up when computer explodes. When I tried to Google: https://www.google.nl/search?q=How+to+make+DOS It shows me how to boot DOS from …

Software Development
Member Avatar for RikTelner
0
719
Member Avatar for mavtcr

Friends again problem with date function In my form there is a text field -txtDod- of Date type formated like "dd-MMM-yyyy" My input is also formated like "dd-MMM-yyyy" Now see my code Private Sub TxtDod_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case vbKeyReturn If Not IsDate(TxtDod) Then LblMsg = "Enter Date …

Software Development visual-basic
Member Avatar for Minimalist
0
281
Member Avatar for TheFearful

So, I was given this specification for a quicksort algorithm and I have no idea where to start. Create a template version of the QuickSort algorithm that will work with any data type. Demonstrate the template with a drive function. If it was to do a quicksort, I could easily …

Software Development algorithm c++
Member Avatar for TheFearful
0
214
Member Avatar for Damian_2

Okay so I have a class `Student`, which takes a number and a vector as a parameter for the constructor. Everything works well, until I output the values of the vector for every instance. The problem is that the same vector is being shared with EVERY instance I create, but …

Software Development c++ oop
Member Avatar for rubberman
0
436
Member Avatar for champmanking

Hi, all. Before I begin I am new to C++. Ok. I'm trying to create a simple 2D game in C++ using SDL, however I have hit upon a small problem. When I try to close the game window nothing happens. I think it's because when I create a new …

Software Development c++
Member Avatar for champmanking
0
735
Member Avatar for SpottyBlue

I have a problem with creating UML diagrams. This is the first time. Here is the question below: ![95deb5f1a4dee1451aa7528c291781f8](/attachments/large/4/95deb5f1a4dee1451aa7528c291781f8.jpg "95deb5f1a4dee1451aa7528c291781f8") And here is my answer: ![22e4ba8767e9a4c011bd3c4e799e9c31](/attachments/large/4/22e4ba8767e9a4c011bd3c4e799e9c31.png "22e4ba8767e9a4c011bd3c4e799e9c31") Please check if there is anything wrong.

Software Development java
Member Avatar for rubberman
0
415
Member Avatar for krystosan

getting errror related to pkg_resources while running PIP PIP install cython Traceback (most recent call last): File "/usr/local/bin/PIP", line 6, in <module> from pkg_resources import load_entry_point File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module> working_set.require(__requires__) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve raise DistributionNotFound(req) …

Software Development python
Member Avatar for Gribouillis
0
515
Member Avatar for Deep Modi

I want to create a class in which I typed the text between **""** then the text color get changed. and also yes, I want to change the text color for some words. Yes it is somewhat similar like the Script Editor. Can anyone help me with this?

Software Development vb.net
Member Avatar for Deep Modi
0
145
Member Avatar for Curious Gorge

Just out of curiosity I was wondering how library developers created their own string classes. I am sort of a novice with programming but I tried creating my own string class to prove that I could do it. What I wasn't able to solve was how to create an array …

Software Development assembly c++ operating-system
Member Avatar for Curious Gorge
0
222
Member Avatar for Vasthor

http://s11.postimg.org/kxl3cemw3/error.png this is the least error that I can get from multiple time of debugging. [TheCodeFile](http://www.fast-files.com/getfile.aspx?file=70535) StrBlob.h has needed to use something from StrBlobPtr.h and StrBlobPtr.h needed to use something from StrBlob.h I did tried to #include each file on each other respectively, but ofcourse that would be a data …

Software Development c++ data-structure
Member Avatar for Vasthor
0
389
Member Avatar for vishal anand.s

hi my name is vishal for past 10 days i have been going nuts on how to combine selected datas from 3 or more tables into single sql select query in vb6. i have 4 tables named table1 name: Inward column Name DataType mfr_ref_number text no_of_bundle integer supplier_id integer DC_date …

Member Avatar for abelingaw
0
328
Member Avatar for methuselah90

I have 2 spreadsheets - uat.xlsx and main.xlsx - both in the same directory. main.xlsx [[Click Here](null)](http://www.excelforum.com/attachments/excel-programming-vba-macros/297600d1392477870-merging-two-spreadsheets-using-vba-based-on-a-number-of-conditions-r1hrn.png) uat.xlsx [Click Here](http://www.excelforum.com/attachments/excel-programming-vba-macros/297601d1392477913-merging-two-spreadsheets-using-vba-based-on-a-number-of-conditions-evdad.png) I am trying to copy across information from uat.xlsx to main.xlsx, by accomplishing the following in VBA (the VBA code will be stored on main.xlsx and launched by button click): …

Software Development visual-basic
Member Avatar for Stuugie
0
256
Member Avatar for shroomiin

hello everyone. i have been attempting to make an if statement that calculates overtime hours for quite some time now and i cant seem to get it to work correctly. Is it possible to make this statement with 1 line? or am i missing somthing? this is what i thought …

Software Development java
Member Avatar for cmackbrown
0
978
Member Avatar for mixelplik

I'm tryin to search an array of structures for name. I'm comparing a char[] to a struct member with is a char[] my struct struct NBA_Team { char* name; char conference[8]; char division[10]; unsigned short wins = 0; unsigned short losses = 0; float pct; }; My search code void …

Software Development c++
Member Avatar for rubberman
0
180
Member Avatar for harshi22

I need code in java for creating b+ tree whose nodes contain file for implementing insertion,deletion and searching. please help me out

Software Development java
Member Avatar for rubberman
0
138
Member Avatar for Brennan_1

I need help with my coding I need to be able to take in at most 300 integers(0 to 100) and then fin the count of zeros and evens. After this i need to add all of the integers up and get the average. Find the maximum and minimum values …

Software Development c++
Member Avatar for iamthwee
0
789
Member Avatar for Ankit_8

I want to make a pothole detection app for my final year degree project. Can i get the code from somewhere??

Software Development java
Member Avatar for rubberman
0
316
Member Avatar for OCompany

Hey ! Someone can help me how i can close form using another form i try with this code private void button1_Click(object sender, EventArgs e) { Form1 frm = new Form1(); frm.Close(); } but its dont work !!!

Software Development
Member Avatar for OCompany
0
267
Member Avatar for pekemp23

I am trying to havea program give me the averages from the tests. If the number is over 100 it is to give me an excpetion code this is what i have thus far... having issues on line 36-38 and 40. any help would greatly appreciated. import java.lang.IllegalArgumentException; //declare and …

Software Development java
Member Avatar for stultuske
0
421
Member Avatar for alina.nazchowdhury

This is for a command button array but i have a problem in the quoted text, the error Expected End of Statement, i am learning from a book, i guess there is some problem in typing the code. Please somebody resolve my problem! Dim BookMark1 As Variant 'Mark your place …

Software Development vb.net
Member Avatar for alina.nazchowdhury
0
337

The End.