132,726 Archived Topics
Remove Filter ![]() | |
Hi From the below code,the example is calling the dog object through the animal reference.But i do not understand why don't it call directly through the dog class as the reference? Thanks class Animal{ public void move(){ System.out.println("Animals can move"); } } class Dog extends Animal{ public void move(){ super.move(); … Software Development java | |
# Heading Here # Hi there, I have been googling and been on youtube to find a solution. Now I need your help. I have a little problem that is bugging public partial class Form1 : Form { public Form1(){ { InitializeComponent(); } //declare the variables you will use in … Software Development | |
I have used treeview control in Vb 2010 and I need to upload files in the corresponding products How should I do it and what is the source code for the same. Software Development file-system vb.net | |
Hi there, Is there a way to change strings array size on run time. I mean array size initial value is 1, when i run the program, how much user add values array size increases. I have tried following but its not working, please i need a solution in array … Software Development c++ | |
friends we are going to make an auto dialer in Java itself so plz tell me how to initiate this thank you Software Development java | |
I am currently trying to make a simple file uploader using http://msdn.microsoft.com/en-us/library/w3kksch7.aspx and its pretty straight forward except I keep getting the error Access To the path 'E:\Temporary' is denied I tried running visual studio 2012 as admin I already change the directory (It was at C: earlier) Help and … Software Development microsoft-access vb.net visual-studio | |
Hello. I wanna develop an IVR system in order to handle loyalty program balance queries in a more effective way. This is a kind of point collection campaign. Do you have any idea for this purpose? I would like to inform the caller after he has provided his unique customer … Software Development xml | |
Hello guys, how can I make the first character of a string is stored in a char? example: char [20]: "hello"; char c: h; Software Development c | |
Hello, I'm working on a homework problem for class. I have a text tab delimited file and each row has a orginal base, target base, and a number that is represented in the orginal base. The program should read this file and be able to convert the number from the … Software Development c++ ios open-source | |
can anyone assist me with the following question: write a pseudocode for a function to calculate the percentage of characters in an input string "d", "e", "c" and "t". draw a flowchart for a procedure to sort 3 inputs numbers in ascending order write a vb.net function procedure to implement … Software Development vb.net | |
This is more of a tale of "I think I broke it". Basically as an assignment for CS I have to write an assembler for a subset of the MIPS assembly language. Currently it is not working, getting a sigseg, so I decided to debug the code and step through … Software Development assembly c++ multithreading | |
Hello everyone! I would like to know if there is a way to write false in SWI Prolog instead of error. The situation is the following: I have written a prolog program that says if a statement is a formula or not, for example: ?- fmla(or(a,b)). Answer = true The … Software Development | |
filter combobox in a datgrid based on another combobox vb.net Hi ,, i have problem with combobox i have two combobox and two tables table manages (ManageID, ManageName) table Departments (DeptID, DeptName, Dept_ManageID) 1- CboEmp_Manage 2- CboEmp_Dept Public Class Class1 Public sub FillCombobox (ByVal cbo As Combobox, ByVal TableName As … | |
Hi EveryOne:-) I hope everyone is doing great... I have a question.. I have a table in a database and it contains 20 names How to loop in a database and display each name in a msgbox?? Thanks :-) | |
How would i let 3 checkbox acts like a radio button... Software Development vb.net | |
Well, I do not find solution, if any help me would be great, here the code and where the error log is visual c + + 2012 // ver1.1.cpp: define el punto de entrada de la aplicación de consola. // #include "stdafx.h" /* examples/standalone_example_docs1.cpp */ /* Standard C++ includes */ … Software Development c++ microsoft-access visual-studio | |
Reverse method won't work This method is supposed to return a copy of a this object, reversed. So it creates a new stack called that such that when all the items from this are popped onto that, this will reference that and the `reversed()` method will return this. When this … Software Development java | |
I have a set of data imputed into a set of arrays as the following: for (int i=0;getline(file,(cities[i]),',');i++) { getline(file, countries[i], ','); getline(file, latitudes[i], ',') ; getline(file, longitudes[i]); } How do I sort the array line of latitudes and longitudes without changing countries and city it is associated with? Software Development c++ | |
I need to restrict this loop from using values greater than 101 and less than zero. The assignment is to make program that finds the average of test scores inputed. I can't figure out what to do, but i feel it's simple. thanks in advance T = 0 GC = … Software Development python | |
How to create a rubber banding line using the left-mouse button in win 32? Software Development c++ windows-api | |
I need to implement an interpolation search on a linked list, I have some code but I'm getting errors whenever I search anything that isn't the first element. Even if the element I'm searching for is in the list, if it isn't the first one it returns a -1. int … Software Development c++ linked-list | |
Hello, I would like to know if using Java as Programming language and Swing as GUI is enough to create a point of sale system ? Which programming language and GUI does companies use to create POS systems ? Thank you :) Software Development gui java java-swing | |
[create a data file] [Appened Record] [Edit a Record] [Display a Single Record] [Browse all record] [Exit] program discription mini grading system w\ccompute your final grade. create a data file named studrec.txt accepts the ff. feilds info: ID no Last name First name mmiddle name Quizes and grades Q1 Q2 … | |
i want build 1 const with std::endl but by some reason isn't accepted:( #define NewLine std::endl i understand the '#define' isn't adviced to be used, but in these case i belive that i can't use the 'const':( what isn't right with that line? error message: "C:\Users\Joaquim\Documents\CodeBlocks\My Class\console.h|170|note: void Console::write(A, B … Software Development c++ | |
I need help with my homework. Out professor doesn't explain anything and i'm struggeling. TMy homework is: Write, test and debug a program which asks the user to enter three floating point numbers and then reports the largest and the smallest of these values. Here is the example program dialog: … Software Development python | |
do you guys have any idea on how would i know if my vb.net app is trying to retrieve data from online database?.i am hoping that someone here can give idea because i really dont how would start doing it... Software Development vb.net | |
Hi Can someone tell me how I can get the content of a text file to be printed into a windows console. Each Line of the text file to be on its own console line. It would be a lot of help. I don't want to have to write a … Software Development vb.net | |
Hi guys, I Make a simple program with VB6, it's OK if i'm running in windows xp or server, but in vista i'm get error message : "Component 'comdlg32.ocx' or one its dependencies not correctly registered: a file missing or invalid" Any body have solutions for this problem, because i … Software Development visual-basic windows-server windows-vista | |
My client's pc is missing comdlg32.ocx. He recently formatted his hard disk. Due to this my program's installation file is not working and its giving message : 'ComDLG32.ocx or one of its dependencies not correct registered i dont want the user to type command manually in to register the control … Software Development visual-basic | |
i have 1 class: class class1 { void Created(); calss1() { Created(); } } class1; void class1::Created() { cout << "hello"; } imagine that i don't write: void class1::Created() { cout << "hello"; } i get an error. i try these too: class class1 { void Created() { //do nothing … Software Development c++ | |
Brand new to VB 2008 Express, but have done some work in VB 6. Not sure what I'm missing, but here goes. I have two comboboxes linked to an Access 2007 database. One box lists the names of the States in the US. This is what I used for the … Software Development vb.net | |
I am using CPU Sim to change wombat1 to wombat2 by adding stack. I have done adding a Stack RAM and a Stack pointer SPR. I have implemented a push instruction as such: acc->mdr mdr->Stack[SPR] End The implementation is able to push the acc value to Stack but not able … Software Development java | |
Im using Microsoft Visual Studio 2012 and Microsoft Access What code/sql will I add to check whether User is an admin or a regular user? so it can load to a Admin form or Regular user form. My professor told me to use a FieldName "LoginType" in my database.. but … Software Development microsoft-access vb.net visual-studio | |
I have a stack method that's supposed to return a reversed *copy* of the this object. I need this to link this to that, the reversed copy of the this stack. Thanks public FancyStack<E> reversed() { FancyStack<E> that= new FancyStack<E>(); if(this.isEmpty()){ return this; } else{ while(top!=null) { revertStack.push(pop()); } } … Software Development java | |
i have written a code to out put the result of multiplication of two matrices using joption frame, but it outputs the result on separate windows, dont know how to output them on the same window. this is my code: 'public class matrixmul { /* * To change this template, … Software Development java java-swing matrix-multiplication | |
I have a generic LinkedStack class with a LinkedStack reversed method It creates a new LinkedStack say newLinkedstack and pushes items from the current stack by popping them. So at the end of the operation the current stack is left empty and newLinkedStack contains the same items/elements that were in … Software Development java | |
Im making a program and I've to take a user input in character array. But it's giving an error which shows no suggestions available. Please help me out of it. Im posting my class code too. P.S: Infix Array is a char. import java.util.*; import java.util.Scanner; public class Conversion { … Software Development java | |
Please, I know this is a simple question. I'm copying this code out of my text book, almost ver-mother#&$(ing-batm And it mother#&$(ing refueses, REFUSES to open the mother#&$(ing file and write to the mother#&$(ing array. WTF - Sorry for the language, but this is so stupid and silly and I … Software Development c++ | |
Hey guys! I've been working on this ping server project and I need some help rounding the numbers which appear. take a look at this picture : http://puu.sh/4Fqa5.png the label with the 00:00:00:0...:. Is there a way I can just make it show only 41? Thanks. Software Development vb.net | |
I need to write a program as following: Write, test and debug a program to calculate and output the minimum, maximum, and average of a list of positive test scores. Ask the user how many scores s/he intends to enter. Assume exactly that many scores will be entered one per … Software Development python | |
Hey guys, slightly less noob programmer here for a some more help, This week in class we were assigned to create a phonebook with a couple functions to manipulate it, but it seems I am having a couple problems. It seems to me that I have most of the program … | |
Hello everyone, am doing a small project and i need to use crystal report with MS access. i did the connection by wizard but now am having problem with the path when using it on another PC. What i need to know is how to connect Crystal report with access … Software Development vb.net | |
So I'm using GCC. I downloaded MinGW base tools and g++ compiler from the installer, and wrote a basic "hello world" program. The source code is as followed: #include <iostream> int main() { std::cout << "Solidum petit in profundis!\n"; return 0; } I saved this as Motto.cpp. I went into … Software Development c++ | |
I want to write a program that will take an input,determine it whether it is integer array or string. and then we will be abble to insert an elwment giving two parameters. 1. element, 2. position. I have done, given bellow but can't finish it. Is there anyone for me … Software Development c | |
import unittest import filterList class TestFilterList(unittest.TestCase): """ docstring for TestFilterList """ def setUp(self): self._filterby = 'B' def test_checkListItem(self): self.flObj = filterList.FilterList(['hello', 'Boy', 1], self._filterby) self.assertRaises(filterList.ItemNotString, self.flObj.checkListItem) def test_filterList(self): self.flObj = filterList.FilterList(['hello', 'Boy'], self._filterby) self.assertEquals(['Boy'], self.flObj.filterList()) if __name__ == '__main__': unittest.main() my above test test_checkListItem() fails , for the below filterList.py … Software Development python | |
string str; int k=0, count = 0,namelength, size,j=0; char name[80]; char extract[80]; char reversing[80]; cout << "Enter word or enter 'Q' to quit." << endl; cout << ">>"; cin.get(name,80); size =strlen(name); int q=0; for(int i=0;i<=size;i++){ if(isalnum(name[i])){ name[q]=name[i]; q++; }else{ name[i]= '\0'; } cout << name[i]; /*line start here when removing … Software Development c++ | |
why the result is always the same? #include<iostream.h> #include<conio.h> #include<time.h> #include<dos.h> #include<stdlib.h> int main() { int a,b,c; clrscr(); a = 5; b = 5; c = 5; for(int x=1; x<=24; x++) { gotoxy(5,x); cout << "*"; gotoxy(70,x); cout << "*"; delay(50); } clrscr(); do { for(int x=1; x<=24; x++) { … Software Development c | |
Hi.. im new to java and im writing a code in which i have to show a main menu with matrices addition amd multiplication.. i have almost com[leted it.. but i dont know how to show the option of "MENU AGIAN yes/no"?? what could be the code of it.. cod … Software Development java matrix-multiplication | |
I'm having a hard time understanding why my MIPS program is not outputing the expected result. Please refer to the c++ code, followed is my version of mips **The C++ version:** #include <iostream> using namespace std; int x[10] = {0}; int pos[10] = {-1, -1, -1, -1, -1, -1, -1, … Software Development assembly | |
Dear experts, I am developing an application that receives sms msg from modem . It reads sms successfully, but sender phone number has wrong results. When the sender is just a numebr , it reads it sucessfully , eg 010016545526. But when the sender is ID eg "vodafone" , it … Software Development vb.net |
The End.