199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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++) … | |
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 … | |
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 … | |
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 … | |
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 … | |
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.... | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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. | |
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; … | |
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 … | |
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() … | |
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. … | |
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. … | |
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 … | |
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> … | |
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 … | |
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?? | |
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 … | |
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: … | |
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 … | |
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); … | |
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. | |
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" … | |
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 … | |
[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 … | |
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 | |
[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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
[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; … | |
[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 … | |
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. … | |
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 … | |
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 … | |
hai friendz !!!! Any one have online examination codez in php ??? plz help me !if u hav send it 2 me........plz its urgent...................... | |
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. | |
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 { … | |
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 … | |
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 … |
The End.