132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cleve23

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
Member Avatar for JamesCherrill
0
209
Member Avatar for HumblePie

# 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
Member Avatar for castajiz_2
0
294
Member Avatar for tirumalai

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
Member Avatar for tirumalai
0
123
Member Avatar for new_developer

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++
Member Avatar for new_developer
0
321
Member Avatar for firoz alam

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
Member Avatar for jwenting
0
257
Member Avatar for iwanna4get

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
Member Avatar for iwanna4get
0
231
Member Avatar for ryanwarner88

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
Member Avatar for simonrobert
0
155
Member Avatar for Thundermax

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
Member Avatar for mridul.ahuja
0
155
Member Avatar for dirtydit27

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
Member Avatar for tinstaafl
0
255
Member Avatar for lnkandi

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
Member Avatar for ReyJEnriquez
0
114
Member Avatar for Labdabeta

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
Member Avatar for rubberman
0
306
Member Avatar for Kuroshi

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
Member Avatar for rubberman
0
182
Member Avatar for spider2vb

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 …

Software Development dataset vb.net
Member Avatar for ReyJEnriquez
0
571
Member Avatar for ReyJEnriquez

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 :-)

Software Development display vb.net
Member Avatar for ReyJEnriquez
0
172
Member Avatar for ReyJEnriquez

How would i let 3 checkbox acts like a radio button...

Software Development vb.net
Member Avatar for ReyJEnriquez
0
588
Member Avatar for flony

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
Member Avatar for Ancient Dragon
0
186
Member Avatar for Pyler

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
Member Avatar for gusano79
0
261
Member Avatar for VUEKID

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++
Member Avatar for linux
0
185
Member Avatar for hmx7

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
Member Avatar for hmx7
0
152
Member Avatar for skyyadav

How to create a rubber banding line using the left-mouse button in win 32?

Software Development c++ windows-api
Member Avatar for skyyadav
0
130
Member Avatar for Williams2222

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
Member Avatar for Ancient Dragon
0
830
Member Avatar for cmps

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
Member Avatar for cmps
0
209
Member Avatar for mating.basalo

[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 …

Software Development c c# c++
Member Avatar for nikita sen
0
165
Member Avatar for cambalinho

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++
Member Avatar for cambalinho
0
250
Member Avatar for Waseemaburakia

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
Member Avatar for slate
0
262
Member Avatar for sashyn01

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
Member Avatar for Begginnerdev
0
227
Member Avatar for Stealthbird97

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
Member Avatar for Begginnerdev
0
141
Member Avatar for ochien

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 …

Member Avatar for Reverend Jim
0
436
Member Avatar for saini balvinder

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
Member Avatar for Reverend Jim
0
175
Member Avatar for cambalinho

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++
Member Avatar for cambalinho
0
199
Member Avatar for Aleksandor51

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
Member Avatar for spider2vb
0
513
Member Avatar for kal_crazy

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
Member Avatar for stultuske
0
210
Member Avatar for saintrenz

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
Member Avatar for Hazuan Nazri
0
421
Member Avatar for Pyler

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
Member Avatar for stultuske
0
276
Member Avatar for charlononnon

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
Member Avatar for somjit{}
0
592
Member Avatar for Pyler

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
Member Avatar for stultuske
0
176
Member Avatar for ahmed.talha.16

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
Member Avatar for stultuske
0
573
Member Avatar for mixelplik

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++
Member Avatar for mixelplik
0
193
Member Avatar for Ahmed.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
Member Avatar for KenSquare
0
102
Member Avatar for Waseemaburakia

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
Member Avatar for Waseemaburakia
0
231
Member Avatar for Jugottabe

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 …

Software Development c++ oop
Member Avatar for DeanMSands3
0
227
Member Avatar for manutd4life

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
Member Avatar for Desiree_1
0
3K
Member Avatar for Oliver_1

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++
Member Avatar for Ancient Dragon
0
188
Member Avatar for faysal.ishtiaq_1

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
Member Avatar for Adak
0
158
Member Avatar for krystosan

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
Member Avatar for krystosan
0
365
Member Avatar for laklaker

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++
Member Avatar for phorce
0
257
Member Avatar for exfoxs28

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
Member Avatar for exfoxs28
0
240
Member Avatar for rabeea_1

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
Member Avatar for rabeea_1
0
159
Member Avatar for ITOzann

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
Member Avatar for ITOzann
0
239
Member Avatar for waleed.makarem

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
Member Avatar for waleed.makarem
0
1K

The End.