199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Traicey

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 …

Member Avatar for Traicey
0
129
Member Avatar for SUBHABRATAIISC

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?

Member Avatar for Ene Uran
0
87
Member Avatar for CE Student

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

Member Avatar for Radical Edward
0
178
Member Avatar for Tyrfing

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 …

Member Avatar for Tyrfing
0
2K
Member Avatar for maydhyam

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 …

Member Avatar for nav33n
0
161
Member Avatar for Tekito

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 …

Member Avatar for Tekito
0
82
Member Avatar for zeusZ

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 …

Member Avatar for Jx_Man
0
174
Member Avatar for ohhmygod

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 …

Member Avatar for Ancient Dragon
0
230
Member Avatar for harcaype

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

Member Avatar for harcaype
0
116
Member Avatar for MDGM

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 …

Member Avatar for nav33n
0
103
Member Avatar for Gerlan

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 …

Member Avatar for Abzero
0
97
Member Avatar for picass0

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 …

Member Avatar for vijayan121
0
147
Member Avatar for K?!

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?!.

Member Avatar for K?!
0
9K
Member Avatar for harcaype

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?

Member Avatar for harcaype
0
75
Member Avatar for thegrovesy

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 …

Member Avatar for macu
0
111
Member Avatar for martonx

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 …

Member Avatar for martonx
0
104
Member Avatar for ceyesuma

Is this an appropriate place to submit a question concerning netbeans and creating queries?

Member Avatar for peter_budo
0
59
Member Avatar for mertucci

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 …

Member Avatar for mertucci
0
179
Member Avatar for bhoot_jb

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 …

Member Avatar for bhoot_jb
0
153
Member Avatar for midimatt

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

Member Avatar for bugmenot
0
133
Member Avatar for n.aggel

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 …

Member Avatar for n.aggel
0
174
Member Avatar for cyberjoe

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

Member Avatar for Byaptia
0
147
Member Avatar for joshmo

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 …

Member Avatar for joshmo
0
3K
Member Avatar for olibara

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 …

Member Avatar for sanjayNawab
0
265
Member Avatar for RenjithVR

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 …

Member Avatar for RenjithVR
0
134
Member Avatar for neilconnexios

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 …

Member Avatar for Nick Evan
0
335
Member Avatar for alpe gulay

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

Member Avatar for alpe gulay
0
143
Member Avatar for kevin wood

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 …

Member Avatar for kevin wood
0
103
Member Avatar for Cosa

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

Member Avatar for Nick Evan
0
144
Member Avatar for BigFormat

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

Member Avatar for BigFormat
0
2K
Member Avatar for sudhakary_rao

Hi I have one .aspx page and image.when i scroll down the page the image should come vertically down as page scrolls.

Member Avatar for peter_budo
0
69
Member Avatar for mythi

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

Member Avatar for majestic0110
0
90
Member Avatar for manikandanpk

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

Member Avatar for majestic0110
0
152
Member Avatar for Traicey

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 …

Member Avatar for majestic0110
0
134
Member Avatar for SNN

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

Member Avatar for KevinADC
0
58
Member Avatar for rhand

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

Member Avatar for rhand
0
114
Member Avatar for ebebcb

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 …

Member Avatar for javaAddict
0
75
Member Avatar for nickyspace

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

Member Avatar for Ole Raptor
0
140
Member Avatar for eec322

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 …

Member Avatar for alpe gulay
0
174
Member Avatar for yazooney

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 …

Member Avatar for Salem
0
138
Member Avatar for kux

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 …

Member Avatar for Salem
0
195
Member Avatar for u4umang2001

IN C#::: i have a string string abc="40+40*4.2%+100" now how can i get the result????

Member Avatar for corwing
0
148
Member Avatar for Vai

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

Member Avatar for ryan_vietnow
0
168
Member Avatar for nishanthaMe

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

Member Avatar for nishanthaMe
0
143
Member Avatar for gotm

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), …

Member Avatar for jrcagle
0
140
Member Avatar for flash121

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

Member Avatar for bugmenot
0
138
Member Avatar for mertucci

Question is: "Write a complete program that writes into a file from an array of string and also in reverse order." Please help

Member Avatar for joshmo
0
96
Member Avatar for Cafetero

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 …

Member Avatar for Duoas
0
158
Member Avatar for urmybaby

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 …

Member Avatar for kdoiron
0
86
Member Avatar for tondeuse34

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 …

Member Avatar for Capt.Micro
0
121

The End.