132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for g12mcgov

Hello, I'm a first timer here but I've kind of exhausted all my options for help on this program so this is my last resort... Anyhow, I'm constructing a hash table given a hash table class header file from my textbook. I'm working on the Driver.cpp file and here's what's …

Software Development algorithm c++ ios
0
187
Member Avatar for killbarnaby

Develope an algorithm that will accept and allocates the fund for the differenct state activities for America's 50th celebration. The algorithm should accept and store the actual dollar value that will be allocated to the parishes.Noo more than 14 states should be accepted.The algorithm should also determine the number of …

Software Development algorithm pascal
Member Avatar for Schol-R-LEA
0
136
Member Avatar for akerman

Hello, So I have been trying to produce an algorithm for unsymmetric matrices which finds the smallest magnitude eigen value. I have found this: ![cfafcf24b5563ebb8aad4395c3c90ff0](/attachments/large/2/cfafcf24b5563ebb8aad4395c3c90ff0.png "cfafcf24b5563ebb8aad4395c3c90ff0") ![cfafcf24b5563ebb8aad4395c3c90ff0](/attachments/small/2/cfafcf24b5563ebb8aad4395c3c90ff0.png) However, I still don't know how to implement it in python. Can someone help out or provide psudocode/code ?

Software Development algorithm python
Member Avatar for BearofNH
0
163
Member Avatar for dharshudhanapal

hey how to compare longest decimal number using == operator??

Software Development c
Member Avatar for kavya_55
0
120
Member Avatar for pwolf

As a beginner java learner, I would be grateful if some people could point out a few open source projects with a high quality code base. Not necceserily aimed at a beginner, I would rather see a professional quality example, and preferabbly the project would use some common tools for …

Software Development github java open-source
Member Avatar for pwolf
0
482
Member Avatar for Bile

-->>I'm trying to make a simple Audio player and so far I'm good. -->>The problem I'm facing is redusing and increasing the Volume. -->>Any ideas please... -->>Thak you.

Software Development audio visual-basic
Member Avatar for Minimalist
0
243
Member Avatar for Khyxz
Member Avatar for Khyxz
0
119
Member Avatar for c.bordelon

Hello all, My assignment is as follows: Write a program that prompts the user for the number of tellers at Nation’s Bank in Hyatesville that worked each of the last three years. For each worker the program should ask for the number of days out sick for each of the …

Software Development c++
Member Avatar for vmanes
0
615
Member Avatar for np complete

I'm trying to emulate bash/cmd type program. I have written programs like cat, ls, grep (simple one) and kept it under \bin\ directory. This program will take user input and run programs present in \bin\ accordingly. I'm using `_spawnv ()` as the argument list is going to be variable. When …

Software Development c
Member Avatar for Ancient Dragon
0
199
Member Avatar for hl1202

Hi everyone, I have to write a function that will dig into a folder and store all the filenames into an array. I will have to use that Array later to access to each of the file. My function worked, and when i tried to output onto the screen, the …

Software Development c c# c++
Member Avatar for Ancient Dragon
0
2K
Member Avatar for thirteen_xx

Hi, I'm new to vb and I need to record the time the user used a certain privilege and the time s/he finished using it. i used date/time picker but whenever i run the program, i can't edit the time. only the date. help please?

Software Development vb.net
Member Avatar for thirteen_xx
0
816
Member Avatar for jeffersonalomia

Can someone help me on my database with regards that the records can be prone to data redundancy.. pls help to avoid record redundancy on my database.... How do I check if the record that i will be input is existing on my database.. and i want to prompt the …

Software Development vb.net
Member Avatar for jeffersonalomia
0
210
Member Avatar for hillary.vitzthum

I have already seen that someone posted this question a couple of years ago. I do not want any one to flat out give me the answer. I hav the code written, I just cannot figure out why the pattern won't look like this: 1 12 123 1234 12345 123456 …

Software Development java
Member Avatar for hvitzthum
0
112
Member Avatar for dododero

hey all well i have been facing this problem for days ...i have written a program where i am suppose to read a specific number of lines within different intervals and count the number of occurance of r and s and then divide r by s. The program is running …

Software Development c++
Member Avatar for David W
0
169
Member Avatar for Khyxz

Hello, Can you please help me? Is it posible to **input data** on a "DATAGRID" **even if it is not connected to a database**? My Datasource Connection is not working because of some installation problems. I don't have the CD for installation that is why I couldn't re-install it. How …

Software Development vb.net
Member Avatar for oussama_1
0
198
Member Avatar for tanatos.daniel

I'm having a ComboBox in which I added items in order provide the user autocomplete for the text he's typing. I am looking for a property of ComboBoxes that could identify if the text was an item of the ComboBox or not. (I would like not to loop each time …

Software Development
Member Avatar for tanatos.daniel
0
447
Member Avatar for frkamal

Hi,I'm trying to find a C++ lib which permit an implementation of the standard RBAC in my application. Any help. Thanks.

Software Development c++
Member Avatar for Ancient Dragon
0
426
Member Avatar for ravi_14

According to Herbert schildt C++ complete reference "A non-static member variable cannot have an initializer." however when i run following code,it runs.. class ABC { public: int a=3; ABC(); }; ABC::ABC() {cout<<a; } int main() { ABC obj; } regards,

Software Development c++
Member Avatar for deceptikon
0
191
Member Avatar for samson.dadson.3

#include<iostream> using namespace std; int main(){ int fish =6; int * fishp = &fish; cout<<fishp<<endl; return 0;} this runs ok, but i get the same memory address when i cout either fishp or &fishp. how is it possible for a pointer to have the same address as the address it's …

Software Development c++ motherboards-cpu-ram
Member Avatar for samson.dadson.3
0
299
Member Avatar for ZJRG.1997

I'm quite new to programming and i'm trying to write a formula to work out the capacitance of capacitors - and is what I have below. I then want to convert the value I have (in pico farrads) into micro farrads. Here's what I have so far: while True: x=float(input("First …

Software Development python
Member Avatar for Gribouillis
0
217
Member Avatar for Ajay_9

I want to rotate a set of images(4 to 5) which automatically start rotating from left to right or right to left on form load one by one( i.e when form loads the first image comes then second and so on but in left to right manner ).

Software Development image
Member Avatar for ddanbe
0
158
Member Avatar for Rajveer456

see this images what is incorrect in this examples .......

Software Development java
Member Avatar for stultuske
0
70
Member Avatar for Mohammed_9

Is this correct? #include <stdio.h> #incluede <string.h> void getname(char name[][50],int num) int main() { void getname(char name[][50]) { for(int i=0;i<numofname;++) scanf("%[^\n]",name[i]); }

Software Development c
Member Avatar for 2teez
0
249
Member Avatar for Ajay_9

I am getting the error while inserting the image from win-form.Can anyone please tell me the in the code.I am using Visual Studio 2013 and MS Sql 2008 R2. Thanks . using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using …

Software Development image open-source visual-studio
Member Avatar for Ajay_9
0
165
Member Avatar for xednycrex

I'm currently taking BSIT (1st year college) and as of this time we are using C++ and may soon run Oracle and other software applications used in programming, my current laptop specs is: Intel Core2 Duo CPU P8600 @ 2.40GHz, 3.0GB RAM, ATI Mobility Radeon HD 3400 Series. Will these …

Software Development oracle
Member Avatar for xednycrex
0
204
Member Avatar for Sifiso21031085

Whats the difference between the Jcreator and Eclipse ?

Software Development java
Member Avatar for Sifiso21031085
0
93
Member Avatar for chachajay.lol

Hey there! I am in need of help, to create rather learn how to use a C programming Language to create a Currency Trading Simulation where I can buy/sell at the time of a decrease/increase in Forex Trading Platform or any other trading platform. However I find it really hard …

Software Development c c# c++
Member Avatar for rubberman
0
253
Member Avatar for liz517

I am to write a censor program for all 4 letter words from an imported file, only I'm stuck. can you help? [code = python] # wordcensor.py # Program replaces 4 letter words in a text file. import string def main(): print "This program replaces 4 lettter words in a …

Software Development file-system python
Member Avatar for kcm1
0
1K
Member Avatar for C-Money

I have been working on a code that takes three strings, copies one string into another, takes the length of one of the strings, then concatenates the three strings, copies them, and get there length, but there is a problem. I need it to display 'The three strings combined are: …

Software Development assembly display
Member Avatar for C-Money
0
476
Member Avatar for glamiex

It is supposed to generate two numbers based on the user's preference of the highest number to use. What I want it to do is to divide integers that result in integers or perfectly whole numbers. I do not want to have numbers that don't divide out with remainders. So …

Software Development c++
Member Avatar for vmanes
0
233
Member Avatar for ravi_14

cout is defined in std namespace and we also include iostream to use cout...i am confused ,please clarify this.where 1)cout is defined 2)where it is declared. and if we are including iostream ,then what is the need of STD::COUT regards,

Software Development c++
Member Avatar for vmanes
0
533
Member Avatar for momonq1990

hi sir! little bit lost Pls help! how can I add css file for may xml created from php? <?php bla bla bla..... ---------<?xml-stylesheet type="text/css" href="markers.css"?>-------how can i add this line? echo '<markers>'; while ($row = @mysql_fetch_assoc($result)){ echo '<marker '; echo 'name ="' . parseToXML($row['name']) . '" '; echo 'address …

Software Development xml
Member Avatar for AndrisP
0
172
Member Avatar for admiri92

Are exceptions standardized in C++? I mean if the rules of exception handling might be changed in the future. i.e: int Funct1(int) throw(); // does it throw an exception?

Software Development c++ programming-construct
Member Avatar for mike_2000_17
0
291
Member Avatar for yossi321

How to prevent child window resizing and change position? code: SetParent lonHandle, Form1.hwnd now, I want to prevent resizing and change position from lonHandle window

Software Development visual-basic
Member Avatar for yossi321
0
107
Member Avatar for alagez

Hai there, I am a robotic student and very new in python programming. Here, I have a project to classify the type of robot. For example, a customer would like to buy a robot arm for their company. So, this project will aid them to select robot of their choices. …

Software Development python
Member Avatar for alagez
0
290
Member Avatar for C

I had a programme to write for college in Java. I have missed the class so I won't be getting marked on it but wanted to get it done as I have an exam next we. I am really stuck. I have to create a costInsurance () method taking in …

Software Development java oop
Member Avatar for C
0
324
Member Avatar for ZJRG.1997

I'm quite new to python and am trying to make a kind of 20Q thing, but am struggling - anybody know how to delete a list from a set, or if not a list from a list? Thanks :)

Software Development python
Member Avatar for Gribouillis
0
406
Member Avatar for murali2489

Hi All, I came across this question in Cathy Siera SCJP book and the answer is really Strange and i dont understand. The question is below. class A { } class B extends A { } public class Comingthru { static String s ="-"; public static void main(String[] args) { …

Software Development java
Member Avatar for murali2489
0
186
Member Avatar for Rahul47

Hello folks, This nitty problem is haunting me today. Here is the code I have written, but am not getting the expected output. This is a program for printing matrix in spiral order. #include<stdio.h> #include<stdlib.h> int main() { int rows,cols,i,j; int tr=0,rc,br,lc=0; /* tr = top row index. rc = …

Software Development c matrix-multiplication
Member Avatar for Rahul47
0
302
Member Avatar for sara12234

can any one introduce a good book for learning java??!!

Software Development java
Member Avatar for ckide
0
324
Member Avatar for tony75

HI Where can I download python 2.7.6 or 2.7.3 for 32bit windows?

Software Development python
Member Avatar for tony75
0
271
Member Avatar for ParPau

Having issues with array. Seems to pull in the enum files (month and average rainfall) and print accordingly. Also seems to read in the updated rainfall per month. However, problem is I can not make updated print with the enum. Also, last line in program has ..."actual[i]". If use a …

Software Development java
Member Avatar for ParPau
0
280
Member Avatar for tanatos.daniel

I would like to do something like this: comboBox6.Items.AddRange(new IEnumerable<int> { Enumerable.Range(1,8).ToArray() } ); (add numbers 1 to 8 to ComboBox Items using an IEnumerable object), but i can't figure out how. Thanks.

Software Development
Member Avatar for castajiz_2
0
355
Member Avatar for firepower

how do i change the background to a custom one. code JButton button = new JButton(); JButton quit = new JButton(); public Mainmenu() { Icon b = new ImageIcon(getClass().getResource("play.jpg")); play = new JButton(playb); add(button,BorderLayout.CENTER); Icon quitb = new ImageIcon(getClass().getResource("quit.jpg")); quit = new JButton(quitb); add(quit,BorderLayout.SOUTH); button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent …

Software Development html-css ide java
Member Avatar for JamesCherrill
0
210
Member Avatar for Khyxz

I have a backspace key button. Then I have two text boxes. Well, it is working but when the letters in a certain text box are all cleared up then i keep on clicking the button I get this errror. This is the code: desiredTextbox.Text = desiredTextbox.Text.Substring(0, desiredTextbox.Text.Length - 1) …

Software Development vb.net
Member Avatar for Khyxz
0
150
Member Avatar for Suzie999

I'm creating some automation utils. Part of it is automating mouse input. I think I have my math wrong because the X coordidnate is incorrect at certain points for example is I give it x = 114 which should translate to 114 pixels from left of screen (0) it will …

Software Development api c++
Member Avatar for Suzie999
0
764
Member Avatar for Vasthor

main.cpp // Give your class a < operator and define a vector of HasPtrs. Give that vector // some element and then sort the vector. std::vector<HasPtr> vecHP; std::string val; while (std::cin >> val) { HasPtr temp(val); vecHP.push_back(temp); } std::sort(vecHP.begin(), vecHP.end()); HasPtr.h bool operator<(const HasPtr& rhs) { return (*this->ps < *rhs.ps); …

Software Development c++
Member Avatar for David W
0
267
Member Avatar for V3N0M

I just started learning Java and I have been playing around with it. I am trying to make this program return a double value like 1000/3 = 333.33333..... but it returns 333.000 what am I doing wrong in Java. It works in C though :P. Thanks in Advance! //Exercise : …

Software Development java
Member Avatar for JamesCherrill
0
210
Member Avatar for Alex_20

I'm getting this every time I try and write Hello, World in Python I get this. I'm using Pycharm 3 C:\Python33\python.exe C:/Users/Alex/PycharmProjects/Learning/Helloworld File "C:/Users/Alex/PycharmProjects/Learning/Helloworld", line 1 print "Hello, World" ^ SyntaxError: invalid syntax Process finished with exit code 1

Software Development python
Member Avatar for ishaan3731
0
277
Member Avatar for saja.omarii.7

heyy all ,, i'm trying to get the middle word of sentence contains 3 words using find and substr.. this is the code : #include <iostream> #include <string> using namespace std; void main() { string sentence; cout << "enter a three-words sentence :"; getline(cin, sentence); string middle = sentence.substr(sentence.find(" ") …

Software Development c++
Member Avatar for saja.omarii.7
0
4K

The End.