199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for joshmo

Hey all. Iam new to java and I have been trying to do something that has played me abit. I want to use an attribute or a method from a subclass and accesing it from the super class. Something like this [code] class A{ //some code } class B extends …

Member Avatar for Alex Edwards
0
144
Member Avatar for ambarisha.kn

I wrote the following function. i want to return fbCodeAddr and tmpAddr to the main function. How to do this? Function is as follows; [code=c] void fbExeCode(int BldCnt) { // for(int BldCnt=0;BldCnt<fbdStepno; BldCnt++) { char *fbCodeAddr; char *tmpAddr=0; char *buffer; int n; fbCodeAddr=(char *)malloc(1024); int stack=0; int totalPin=0; for(int fb=0;fb<fbnodeLst.size();fb++) …

Member Avatar for Ancient Dragon
0
146
Member Avatar for Ajith007

hello, everybody I m final year computer engineering student.I m very much interested in DBMS,java, and all programming stuffs.I have to do a project on DB and java... programming if required,... can u pls suggest some topics and give me resources i need to have(like mysqlor oracle 9i,vb .. etc.etc..)to …

Member Avatar for stultuske
0
97
Member Avatar for terrible@VB

So I'm taking this introductory class on Visual Studio 2008 and I've been pretty lost since it started. Our current project is to write a code that will allow you to type in a starting and ending point then click the calculate button to calculate the factors of each number …

Member Avatar for jireh
0
168
Member Avatar for shubhang

I observed that many programmers do not create separate functions. They write the whole program in the main function. Doesn't this reduce its modularity? eg:[code] class abc { public static void main(String args[]) { int a=10; System.out.println(++a); } }[/code] it could also be written as:- [code] class abc { private …

Member Avatar for shubhang
0
102
Member Avatar for malcolm4458

Hello all, I am a self-taught programmer with about 2 years experience and am having a problem trying to launch a pygame program as the last act of a wxPython app. If I explain what I am trying to do and why perhaps someone can help. I am writing the …

Member Avatar for malcolm4458
0
121
Member Avatar for gnane786

Hi all my name is rama kishore I am sending emails in asp.net by using one of my client domain abaoth2.com. Now i want to store the emails what i was sent....please tell me how to do that one please help me....

Member Avatar for n4naeem
0
119
Member Avatar for dudegio

hello everyone! Anyone has an idea of reading the content of the text file from the remote computer using ASP.Net VB. I know how to read textfile if it resides in the server but i keep searching on the net on how I can read the data from the textfile …

Member Avatar for n4naeem
0
408
Member Avatar for c230jif

This program is supposed to read 10 integers from an input file, save the largest and smallest integer to an outfile, and compute the even and odd integers and save the sums to an outfile. (The contents of the file named input.dat are: 45 23 12 8 -67 56 87 …

Member Avatar for Ancient Dragon
0
137
Member Avatar for andyhopper

i am trying to create a button that will open a database from a vb6 system. I have got so far but i dont know what is meant to go instead of [B][U]Database[/U][/B] Option Explicit Dim ACC As Access.Application Private Sub btnDatabase_Click() Set ACC = New Access.Application ACC.[B][U]Database[/U][/B].Open "" ACC.Visible …

Member Avatar for andyhopper
0
101
Member Avatar for Tyrial

Hi there My first forum post... internet being a luxury for me and all. Okay my program is a simple database management system connecting to an access database. however i am having one annoying problem, pertaining to a datagrid and a list box. they cannot be data bound as this …

Member Avatar for Tyrial
0
107
Member Avatar for ruby T.

hello everyone, am new member in this forum, i found it very interesting, specially cuz am an IT student in university of wollongong in Dubai, i have an assignment which i have to submit by tmw, so if any one cld help i'd be thankful, i tried solving it but …

Member Avatar for peter_budo
0
179
Member Avatar for planemaniac

Hi, I have a really quick question. I have Sub Page_Load(...), and in that sub, I set a couple of variables. In a form, further down the page, in the <body> tag, I have a button, set so when I click it, it operates another Sub, Btn_Click(...). How can I …

Member Avatar for n4naeem
0
152
Member Avatar for mubin_attar

Hi, While trying to connect MSSql Server 2000 databse through ASP .Net application using c# I got below errror. Please help. Sql Server does not exist or access denied. Mubin

Member Avatar for n4naeem
0
144
Member Avatar for sanbal

HI, I am new to Asp.net . i have a login page, with user role like guest, member, admin.I want to control the page access based on their role. How can we do this in asp.net and c#. Thanks.

Member Avatar for sanbal
0
120
Member Avatar for Kanvas

how do you make a node of pointer of a device? (device is just a class that i made up, i need to use pointers in LL so i can "share" one object with multiple LLs) [code] struct node { device * devicePtr; node * left, * right, * next; …

Member Avatar for kux
0
244
Member Avatar for ashish banerjee

For a website hosted at the dedicated site, i set the start page as existing at the following level. root/subdir/startpage.aspx. And in the iis in the virtual directory for the website i have set the default page as startpage.aspx. but on typing the name in the U.r.l the page is …

Member Avatar for n4naeem
0
123
Member Avatar for MadAxel

Hey.I need some help in navigating rows.Im using a [TEX]DataReader[/TEX] to read and display data.Now im trying to navigate the data that i have retrieved and i have a proble with that These are my codings for the retrieving part: [CODE]Dim conn As OleDbConnection Try conn = New OleDbConnection(My.Settings.ConnectionString) conn.Open() …

Member Avatar for MadAxel
0
123
Member Avatar for virspy

hi, Iam viru can any one help me in creating the addproducts page

Member Avatar for Shanti C
0
108
Member Avatar for lucky200830

You are required to design, implement, and test a program that will will read in a file consisting of a grid of letters and write a file containing all possible combinations of adjacent letters that spell words in a dictionary. Words with fewer than three characters should not be considered. …

Member Avatar for stultuske
0
108
Member Avatar for jazzyangelz

I need help writing functions. In this program I need to be able to implement a number of useful functions using a header file and an implementation file. I also need to place the prototypes for my function in a .h file, and implement these functions in a .cpp file. …

Member Avatar for Denniz
0
146
Member Avatar for murderotica

Hello, I've created a windows service application that monitors a folder. Whenever there's a change inside the folder (like you created a text file or renamed a folder) it will log the changes. Now my problem is to determine that the change happened to a file or a folder so …

Member Avatar for murderotica
0
120
Member Avatar for Headerandy

I am storing some data in a sting & I'm retriving it using stringstream but the problem is that it repeates last element two times.I could not understand why is this happning?Is there anyone who can help me on solving this problem? Programme code is as follows::::::::::::: [code=cplusplus] #include<iostream> #include<sstream> …

Member Avatar for Headerandy
0
154
Member Avatar for nithin.gujjar

The two queries are returning two different no of rows.Outer join is not supposed to duplicate the rows in the first table right?How do I correct this. [code=sql]select * from clientcode order by cc_clientcode result:(5627 row(s) affected) select cc.cc_clientcode,cc.cc_rmcode,cc.cc_panno,cc.cc_productname ,c.Client_panno,c.client_userid from clientcode cc LEFT outer join client c on cc.cc_panno=c.client_panno …

Member Avatar for nithin.gujjar
0
100
Member Avatar for MyRedz

how can this be done? do i have to pointer the database in the structure first to make it able to be use from a text file for some C program ..example.. a measurement converter??

Member Avatar for MyRedz
0
141
Member Avatar for luke77

Hi guys, I'm new to programming and am learning with Python. I am trying to write a program that will get information from a website and display it in a program. Specifically, I'm writing a stock portfolio program that will look up information on a specific ticker and return that …

Member Avatar for Gribouillis
0
127
Member Avatar for cassie_sanford

I am working on this web developer page for my vb class and i can't seem to get my values to display. Can someone tell me why my values are not displaying? Here is the code that i have so far: [ICODE] 'Programmer: Cassie Sanford 'Date: October 12, 2008 'Description: …

Member Avatar for cassie_sanford
0
189
Member Avatar for NinjaLink

I'm having problems in my "RemoveAt" function. I am trying to get a user to input a a position that represents a number they would like to remove from the array. Example below. For example: Current array.... 4,23,65,34,82,37,12,17,24,36,82,51 User input: [B]1[/B] (1 represents the position of what number will be …

Member Avatar for NinjaLink
0
131
Member Avatar for arunprakash647

Hi i am new to perl. i just got an error when i exceuted the perl script which is as folows: Day '' out of range 1...31 in C:\..... in line 87 and the code around line 87 is: sub get_unix_timestamp { my ($date,$time) = @_; my $mday = substr($date,0,2); …

Member Avatar for KevinADC
0
691
Member Avatar for panpanf

Is there any open source c/c++ compilers what can be debugged easily? I wanna know more info about the common knowladge about c/c++ compilers.

Member Avatar for dmanw100
0
236
Member Avatar for babusek

Hi Folks:) , Problem: how to run unix "find" Command in Java Program using Cygwin Environment. I have been using the Runtime & Process classes to run the unix commands in java program,i can able to run the grep ,cat command etc.. But i Couldn't able to run the "find" …

Member Avatar for babusek
0
855
Member Avatar for robgeek

HI I was writing a program that passes a string into an array, reverses the string, and passes to another array. Half way done with my function definition I compiled and got some errors, that I am not able to understand. Here is my code: [code] // Hw-4_Bhasin.cpp : Defines …

Member Avatar for robgeek
0
134
Member Avatar for Se7Olutionyg

[CODE]//water # include <iostream> using namespace std; int main() { char code; int acc; float ammwater; float total; //get the data cout << " Insert acc number : "; cin >> acc; cout << " Type the code : " ; cin >> code; cout << " Ammount of water …

Member Avatar for VernonDozier
0
215
Member Avatar for clutchkiller

I have looked at a few tutorials that i could find online, but i still dont get exactly what they are used for and what the difference between going Blah[64] and Blah[8][8] is. Thanks

Member Avatar for chococrack
0
102
Member Avatar for Foe89

[code=cplusplus] #include <iostream> using namespace std; int main() { int num, greatest, least; char doAgain; do { cout << "This program lets you input a series of numbers and finds\nthe greatest and least values.\n"; cout << "Type in a value. -99 will finish the series.\n"; cin >> num; if (num …

Member Avatar for joshmo
0
105
Member Avatar for Vallnerik25

I have some simple syntax questions about constructing a vector from an array. I just read Narue's "C and C++ timesaving tips and tricks" sticky. And I have come across something that I have seen elsewhere that I didn't really understand, and that is the following code assigns integers from …

Member Avatar for Ancient Dragon
0
149
Member Avatar for sfrider0

Hey. I'm new to C#. I need to enter data into textbox1. Then press button1, then the text in textbox1 is displayed in textbox2. I'm using Visual Studio 2005. Any help would be greatly appreciated. Can I do this in design view?

Member Avatar for sfrider0
0
110
Member Avatar for kinger29

I am trying to convert an int, a char, and a short into their binary values and display it. int a; char b; short c; I understand how to convert an integer to a binary value bit by bit, I just don't understand how to store it as a varible …

Member Avatar for devnar
0
182
Member Avatar for afg_91320

i have this code here that i have written out and im i want to convert it using functions. basically it is a geometry calculator that will let you calculate the area for any geometric object (ie rectangle, cirlce, triangle) basically i have to rewrite the code and add a …

Member Avatar for dumparun
0
169
Member Avatar for ihatehippies

I encountered this error "SyntaxError: can't assign to function call" while experimenting with the pickle method. What I was trying to do was store something simple like the string "x = 5" and have python eval() the string later to bring the variable x back into existence in a later …

Member Avatar for ihatehippies
0
236
Member Avatar for Se7Olutionyg

[CODE]# include <iostream> using namespace std; void displayGrade (int ) ; int main() { const int SENTINEL = -1; int score; int sum; int count; int average; count = 0 ; sum = 0 ; cout << " Enter scores one at a time as requested . " << endl; …

Member Avatar for Denniz
0
109
Member Avatar for Se7Olutionyg

[CODE]#include <math.h> #include <iostream> using namespace std; void instruction(); int calculator (char); void divide_by_zero (); float do_next_op (char, float, float); int main() { //input char input; float accum,num; // instructions (); void intruction(); accum = 0 ; do { //get input cout<< " : " ; cin >> input; cin …

Member Avatar for Denniz
0
278
Member Avatar for planetPlosion

I have a sentence generator that I set up with a "make" button to print the generated sentence, but I want it to print to the resultBox area, and instead it prints to the terminal window. I'm assuming it has something to do with the return sentence portion of it. …

Member Avatar for planetPlosion
0
89
Member Avatar for Trekker182

What's the best command and line options to use if I'm working with a text file that has spaces pretty much inside each description, field? They are not all uniform in each column and I need to extract them. I've already got rid of the tabs with the tr command …

Member Avatar for eggi
0
102
Member Avatar for Mike_99

Hello Ok P1.2 is connected to a two external devices if I write a “1” to P1.2 and transistor B is OFF and transistor C is ON and I did MOV C, P1.2 instruction c = 1 right ? now since c = 1 is it because its ON or …

Member Avatar for Mike_99
0
122
Member Avatar for zamzianwar

hai friendz !!!! Any one have online examination codez in php ??? plz help me !if u hav send it 2 me........plz its urgent......................

Member Avatar for R0bb0b
0
98
Member Avatar for joseph1980

please dear developers, i have text file, i need to trasfer its data into mysql database then read then into forms using php. any one with the solution or idea i will appreciate it.

Member Avatar for BrettH
0
38
Member Avatar for brooksm

function get_employees_by_hierarchy( $_employee_id = 0, $_dept = 0, $_org_array = array() ) { if ( $this->org_depth < $_depth ) { $this->org_depth = $_depth; } $_depth++; $_query = "SELECT * FROM employees WHERE "; if ( !$_employee_id ) { $_query .= "employee_manager_id is NULL OR employee_manager_id = 0"; } else { …

Member Avatar for BrettH
0
70
Member Avatar for obsolucity

Hey guys :) I'm working a project but I'm not quite sure how to start it. I'd like to be able to create a tree by typing in a line of commands - such as this "dudduud". D would stand for down, creating the first node, U would stand for …

Member Avatar for ArkM
0
499
Member Avatar for Duki

Hey everyone, we're still working trying to get Linux to communicate to our robot via an RS232 port. We added this code to the project in Mono: [code=c#]Using System.Ports.IO SerialPort ports = new SerialPort("ttyS0",19200,Parity.None, 8, StopBits.One); [/code] We can't get anything sent out of our COM ports. We're not even …

Member Avatar for Duki
0
120

The End.