199,114 Archived Topics
Remove Filter ![]() | |
I have seen so many classes and inheritance programs but what I cant seem to know is when and why do u end up resorting in this statement [ICODE]#include "NameOfTheClass_h.h"[/ICODE] and I guessed that is when u have separated the class from class main(), that sounds like making your program … | |
If we write a code like: a=['city','village','town','capital'] a1=len(a) a2=range(a1) for x in a2: a3=a[x] print a3 In this code if we want to store the value of a3 it would store last value always. But in any way can we store all the values? | |
Hi!!! How Are you I bring a new program which I have solve it ; but there are 7 error without explain please I hope that I have any body to help me and I will be happy thhhhhanks alot :) This is the question Consider the following class definition: … | |
Hello, I am trying to install scipy on Ubuntu 8.0.4LTS, and am having some serious issues. I have succesfully downloaded and installed scipy, but when I try and "import scipy" in a program I am returned: ImportError Traceback (most recent call last) /home/tim/Desktop/scipy-0.6.0/<ipython console> in <module>() /home/tim/Desktop/scipy-0.6.0/scipy/__init__.py in <module>() 52 … | |
Hello there, My intentions are to enter the employee id in the search page, and have the results displayed below the area to enter the search criteria with the select box and update button( i only want to update 1 field) here are the codes..... My problem is whenever i … | |
I'm writing an app in VB with an excel worksheet. At one point I need to solve a set of equations that are not explicit, so I need a numerical solver program. Excel's Solver is supposedly designed for this purpose; however my past experience is that it is very fickle … | |
hi thisis my first post here, what i need to know is how to read/write files using visual basic 9 (visual studio 2008) its different in vb6 and vstudio for open (text) as (int) for output for those who have or r familiar with vstudio 2008, i took the "windows … | |
I got this code here, i wonder why it doesnt put in the file "in.dat" in the same folder. [CODE] #include <stdio.h> #include <stdlib.h> #define N 20 //Number of trials void main(void) { FILE * pFile; float data[N][2]; int i,j ; char overwrite; for(i=0;i <= N ; i++) /* Initinalize … | |
Hi. Can anyone tell me how to find and install IIS? I need it for developing my mobile application with SQL Server Mobile and create a database. Or if you have any suggestions... Do you know any other way on connecting from mobile applications to databases (other than MS SQL) … | |
Hi guys, I did a quick tutorial on the internet on using php and mysql. It is my first ever time using it so forgive me if im being a bit of a "NOOB". anyways ill post the script below and can you give me a few pointers about where … | |
Okay I have a small problem. I have to load a file which contains (for example): a bleh b blah c bloh So basically it contains a character(1,2,3,..etc) followed by a string (bleh,blah,bloh etc..) I have to create a struct which should contain a char and a string, they will … | |
i trying to input the text from a text file into a byte buff[]. When i did this byte buf1[] = word; it will prompt me with "initializer fails to determine size of `buf1' " and invalid initializer error. How am i able to pass in the text of my … | |
Hello I'd like to create a hover effect for JButtons, but i can't find it for the moment. It doesn't have to be antything spectacular, it just has to be visible. Thanks in advance. Greets, K?!. | |
Hi. Can anyone give me an idea on how I can create a search box just like a search box in the contacts window in a Nokia phone? | |
Hi all, I am in the process of creating a music library, and want to keep the different layers of implementation separate. My current plan, and understanding has my application divided up like this: 1. GUI Layer, talking to... 2. Music object (and implementation) Layer, talking to... 3. Data Storage … | |
Hi Everyone, I have a C++ program lesson, but i can't to do it. I have a binary file with structured datas. I have to read the datas, and take into a class (structure array). Here is my code: [CODE]#include <iostream> #include <fstream> using namespace std; struct dolgozo { char … | |
Is this an appropriate place to submit a question concerning netbeans and creating queries? | |
Question is: "Implement a Person class that includes data members to represent name, address, and identification number. The class interface includes methods that provide appropriate access to the data members. Derive a CollegeStudent class and a Professor class from Person. Each of these derived classes should add appropriate data members … | |
hey friends i am working with a program of "stack of stack".....and i thought to work it out using inheritance....but i m stuck in it... i thought to inherit both the stack - the parent stack and a stack element....from a single base class.. i mean i am in dilemma … | |
Just been looking over Dynamic Memory Allocation, using new. Heres a snippet of the code i've got. [code=c++] vertices = new float *[v]; for (i = 0; i < v; ++i) { vertices[i] = new float[3]; } [/code] what i was thinking was could i just do [code=c++] vertices = … | |
hi to everyone, In this semester we are having a class concerning High Performace computing / Parallel processing... In short i have the following questions: --- We are using pthreads and C. I think that i can use pthreads in c++ code but is there any way to use threads … | |
Hi, I would like to ask you what is the best way to localize applications in .NET 2.0 and how Microsoft do it in Vista? cyberjoe | |
Am trying to extract a string of characters and numbers from a text file into two different data types in a linked list...i.e the if the text file has the data myname 100 i want the "myname" to be stored as a string and then the 100 as an integer..can … | |
Hello I want to know if is it possible to avoid the pop-up of a contextmenustrip (below mentionned as ctxs) Explaination : In a Picture Box I've defined a ctxs Mousedown right doesn't display it Mouseup right display it I want to avoid the display if during the mouse down … | |
Hi , I am using openRTSP test program. In the make file i used debugg option. But when i tried to debugg for example : "b 320", i got the following error. No line 24 in file "init.c". I don't know about this error. But gdb is working fine. For … | |
I'm a beginer in C++, and I've read number of posts regarding reading CSV files but have not understood how to convert them in to an array my file reads just numbers that are seperated by tabs 23 34 67 78 45 56 89 90 23 45 79 23 33 … | |
I made a simple program in which will connect to ms sql... then, after running the codes something is error! can you help me to solve this out... here is my code: import java.sql.*; public class connect_sql { public static void main(String args[]) { Connection con = null; try { … | |
i have created a page which has an iframe held on it i now what to post the data from this iframe and make it available to my other php page. I have researched this a bit and found out it can be done using javascript. the code i have … | |
Hi, i have a function which is supposed to compare two matrices, however i does not work properly. I get this compile warning. [code] warning: control reaches end of non-void function [/code] Here is the function. [code=c++] bool matrix::isequal(const matrix& ob3) { for (int i = 0; i < rows; … | |
I have to pass a string to a function that strcats something to it, in K&R I read to pass a pointer to it, but I don't know where to allocate buffer... Is there a difference betw passing an empty string or not? My printf starts with some strange symbols, … | |
Hi I have one .aspx page and image.when i scroll down the page the image should come vertically down as page scrolls. | |
Hi I need to pass the co ordinates of the image present in one web form to another i tried it by using seesion variables but its not getting transferd help me with some suggestions | |
Hi, I m new to this site . Im new asp.net. I want to know how to convert private assembly convert to shared assembly. Can u tell me anybody with good practical example. Advance thanks to every replier. Regards Mani | |
I have 2 integers x and y, now I want to read them from the user and the syntax kick me down, I guess u can only read string from the user according to C# syntax rule, I have tried many combinations but none of them are working, so now … | |
Hi all , I have loop and I would like to calculate an expression only when the index is even for($j=0; $j<=100; $j++){ if ( ){ do the expression } } i.e how do I tell perl to do the if statement when $j is an even number? Thanks | |
I have been working on a [URL="http://www.onboardcouriers.eu/verhoijsen/"]Wordpress theme[/URL] for some time now. I got a javascript from the original website. I import it into the Wordpress header.php. But it does not work at all. No floating images as I move my mouse. Nothing at all. Firebug gives me this error: … | |
I'm trying to write a program that first decides if a number is prime, and if it is writes it to a file I created. I'm obviously having problems (or I wouldn't be pulling my hair out and posting this). First, the errors say an identifier expected after the "public … | |
hi all can anyone help me out regarding sending sms through php form i searched hell lot of it but i couldn't found any code related to php.. help me plzzzzzzzzzz. if possible regards priti | |
I'm suppose to create a problem that displays the contents of a file (that the user inputs), and then displays each line with a number in front and a colon after it. So, line 1 and 2 would print out: 1 lineFromFile : 2 lineFromFile : But, it keeps printing … | |
Hi, I'm not sure if this is the right thread, but here goes. I have a program installed which shows the live price of a product i am interested in (i.e. the price changes every couple of seconds). Now I cant access the programs source code to get the price … | |
hello, I have the following problem I have an unsigned long variable, but it is designed to hold values within 0 .. 100 ( I know an unsigned char would have been enough, but i have to use an unsigned long ). I have to write that value in a … | |
IN C#::: i have a string string abc="40+40*4.2%+100" now how can i get the result???? | |
Here is what I am trying to accomplish: When a user logs in, their username will be displayed... Trouble is I am unsure how to co-relate the username w/ the id... thanks for any and all help.... [code] <?php require_once('core/db.php'); require_once('core/secure.php'); $query = mysql_query("SELECT username FROM admin WHERE id = … | |
Hi all I have a div elent like this [ICODE]<div id="content" style="width:200px;height:125px;overflow:auto;color:#000000"></div>[/ICODE] I fill the div with text dynamically and scroll bars appears. But I want to show tha latest data which fills the div with out scrolling (otherwise the user have to scroll to see the latest data ) … | |
i am completely stumped at how to create this program. can anyone help out? here are the guidelines. Introduction Perhaps in no other sport does statistics play as major a role as in the game of Baseball. In fact, certain numbers, such as 56 (length of Joe DiMaggio's hitting streak), … | |
Hello I have an abstract class called Number and a simple derived class called Double, which has a private variable value and a function called getValue() which returns the value; I also have a vector of pointers of type Number which are pointing to Double. code: [code=c++] ... vector<Number*> v1; … | |
Question is: "Write a complete program that writes into a file from an array of string and also in reverse order." Please help | |
I am trying to write a program that takes email addresses out of a text file (for easy copy paste) but when it finds one and prints it to the console it skips to the next line. So if there are two email addresses in one line it will only … | |
As basis for the assignment, we use a CSV file named country.csv in which information about countries is recorded. This file is posted on the assignment Web page1. The first line in the file is the header line and describes the content of each column. The first value in a … ![]() | |
Hey guys, I've started using Tkinter now and I've came across a problem...Here in the code below i just want a drop box style menu to appear and when i click that option, theres more options. When i click for example their would be a box called Addition, you would … |
The End.