132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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 | |
[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 | |
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 | |
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 | |
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++ | |
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 | |
hello, pls cn anyone give a well-explained user-defined function that can check if a string is a palindrome? Thanks. Software Development | |
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 | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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# | |
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 | |
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 | |
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 | |
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 | |
what is control that i should use to save image into my database | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
![]() | 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 … ![]() |
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 … | |
![]() | 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++ ![]() |
I have a problem with creating UML diagrams. This is the first time. Here is the question below:  And here is my answer:  Please check if there is anything wrong. Software Development java | |
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 | |
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 | |
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 | |
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 | |
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 … Software Development microsoft microsoft-access sql visual-basic | |
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 | |
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 | |
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++ | |
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 | |
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++ ![]() | |
I want to make a pothole detection app for my final year degree project. Can i get the code from somewhere?? Software Development java | |
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 | |
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 | |
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 |
The End.