199,114 Archived Topics
Remove Filter ![]() | |
In the following program i can't access balance value of parent class in the child class. If the child class can access all attributes and methods of parent class, then why i am getting 0 value when i access parent class balance. Anyone please help, my programming understanding is very … | |
Hello Everyone, I am new in visual studio and trying to learn it. I am exploring a scenario but couldn't find how to do that in visual studio 2012 using windows 8. The Scenario is: I have three buttons named as Bob, Jolly, Elas. When user clicks on a button … | |
So the program compiled but as soon as you enter a number for the length of the word it comes up with a segmentation error. Here is my code .h #ifndef GUESSER_H #define GUESSER_H #include <string> class Game; class Guesser { public: // Initialize the guesser for a game with … | |
Hello! I need to read 50 intergers from a text file and put them in an array.Then I have to seperate the numbers into different arrays to see if they are even or odd. This is what I have and all I get as a cout is a place in … | |
So my program is running just fine and doing what it should beside one little thing. That thing is when I run the formula on the for loop. What it does is when I put in 5 and select the for loop operation it gives me the right answer. But … | |
hi, can anyone please check why im getting dataype mismatch error... im using combobox and msaccess db which consist of formNo(autonumber) LastName FirstName MiddleName Address (text) ... if i use address as valuemember there is no error,, but if i use FormNo as valuemember then there this datatype mismatch error.. … | |
Hi I am having an issue with a table join query whhich later I will echo results into a table. Example I have 2 x tables and Table1field1 has a number say 555 but table2field1 which I need to join to has 555 342 642 313 etc etc This is … | |
I have a question. Does anyone know of a way to scan an image into vb.net, and then save that image as a multipage tiff? I would need a redistributable. I have been looking for a library that will do this, but every one I have found does not meet … | |
Hi, I am currently making an assignment for JAVA, but I get stuck at the following. I need to make a simulation of a shop where a customer puts objects in his "basket" and with that basket you go to the checkout counter. Now we have to make it possible … | |
Can some one briefly tell me about that how to do fileprocessing in c++ | |
I have this assignment for my java class, it runs fine, but the professor wants us to incorporate a private gradeExam method, which I don't know how it work fit, since I cannot call it from the DriverTest class which contains my main. package project6; /* A demonstration of how … | |
Next exercise from codeLab that I am getting logical error indication for. What am I missing? Thanks in advance. > You are given an array x of string elements along with an int variable n that contains the number of elements in the array. You are also given a string … | |
This is for the more experienced folks. Recently I found that in Visual C++ 2010 (and 2012, not sure about earlier versions) one can use a std::string as the file name argument for the .open( ) function. I've always known the .open( ) function to take only char* (C-style) strings … | |
![]() | Hi everyone I hope you guys could give me a hand with this project, I am not an expert of c++ and i am really struggling with this. here is the problem: I been asked to make a programn as follows: A new railway journey planner is required to help … |
can anyone tell how to make delete function for my program.......and how can i insert more than one value .....ie whenever i insert a value ........the program inserts and then exits.....Thanks in advance!!!! #include<iostream> using namespace std; class linkedlist { private: struct node { int info; node *next; }*head; public: … ![]() | |
Hello every one, i have a form with drop down list of month,dates,year. and text fields. i am able to insert the text fields values fine, but could not insert values from the dropdownlist(month,date,year) using same method. please could someone help me.below is my code. <?php session_start();session_destroy(); session_start(); if($_GET["firstname"] && … | |
Hello everyone im pretty new to python and im having some trouble creating a program that takes a file containing numbers and imports it into python and makes it look like a table. the table is supposed to look something like this when the program is run. basically i figure … | |
I have a course (reverse engineering) in uni and i have a homework. I got a .obj file (which was compiled with visual studio 2008), and i have to disassemble it, figure out the control structure and call it in a little c program. I used IDA decompiler, here is … | |
Hello I want to remove this: > As you see it is a blank but the regular variable.replace(/\s+/g,''); does not work. I generate this character with Alt+0160 The best way would be its ascii code so how do I do it? | |
Error 6 error C2143: syntax error : missing ';' before ')' c:\users\datacompress.cpp 214 1 Error 8 error C2039: 'putSymbol' : is not a member of 'std::basic_ofstream<_Elem,_Traits>' c:\users\datacompress.cpp 291 1 Error 9 IntelliSense: class "std::basic_ofstream<char, std::char_traits<char>>" has no member "putSymbol" c:\users\datacompress.cpp 291 12 #include <fstream> #include <string> #include <iostream> #include <ostream> … | |
I need help with my code. Im kind of new to program and i need to do a final project for my class. I decided to do a converter program because i thought it would be sort of easy and challenging at the same time. but i wrote the program … | |
Hi, I cannot load a URL into a DIV tag using javascript and ajax, all that occurs is the original div text remains in place: <html> <head> <title>Ajax Example</title> </head> <body> <center /> <h1>Loading a web page into a DIV</h1> <div id='info'>This sentence will be replaced</div> <script> params = "url=google.com" … | |
How Can Transferdata from RitchTextBox to Label with all Formats. i.e RitchTextBox's Text Color ,Font,FontStyle | |
Hi, another codelab sorting exercise I am having problem with. any advice is appreciated. ---------------------- > You are given an array x of int elements along with an int variable n that contains the number of elements in the array. There are no duplicates in this array. You are also … | |
I posted this somewhere else but I think it was deleted so I'll post it as a new question... Here's my problem; I've been developing a packet sniffer using the Jpcap library from http://netresearch.ics.uci.edu/ . I was developing using the windows version of the java library, but now I realize … | |
I have a piece of code where I fill variables with data and would like to add the first column of each row into the variable: So each variable in a row should contain: %VAR_ + 'value of column[0]' + headerRow[i] + % Now it looks like this which makes … | |
I have several files to include from a subfolder and I just can't get this to work. I'm propably missing something here... The Makefile and .cpp with main function are located at /path/to/ and files to be included are at /path/to/src/buffer and /path/to/src/hash. Both of these folders have .cpp and … | |
Hi there, as one of my first programs in java, I thought I will do a simple (!) lottery program...needless to say it doesn't compile, and after looking at it for quite awhile trying to unsuccessfully spot the error (I am not sure how to debug in netbeans, any advice … | |
Hello there, I have a big big problem in my project, I have a login page , so everyone log in, the **session** will be his **id** $_SESSION['userid'] = $id; till now there is no problems, I put a header file to check the user is logged in or not … | |
Hi All... I am new to java, I am facing problem... Problem: 1) I want to create a ArrayList <String> and add Strings into it. problem: 2) I want to compare two Array List elements . their size and contents (strings type) which may be stored in any order. For … | |
Hello Community, I was wondering if there is a way to to use the webbrowser to download a file silently without the download file dialog coming up. What i want is to use `Browser.Navigate("Download Path")` and i don't want the file dialog to show up i want it to just … | |
Ask kind help: VB6 How to read the string line by line from the MS_Office Clipboard Thanks in advance, | |
Hello Community, I was wondering if there is a way to restrict sub directories from accessing the parent directory (the main directory where all my website file are stored) and from having any interaction with the previous folders (so once there in the child folder they can't leave it eg. … | |
When C++ source is compiled the errors are shown in this format `cPlusPlusSource.cpp:row_number:column_number: error: Error description text` What should the regular expression for this be ? Please help! | |
Dear admins..!! i am sorry for my previous post, but, now i am asking you this because i am poor in JS scripting.... i have seen a [website](http://max.jsrhost.com/ajaxify/demo.php). Here the menu and content are displayed in two different DIVs, but, i cant understand how to use that, i have concerned … | |
hey all, ive been working on a php contact form script but i have problem i cant succses to do the "all fields are required" thing, ill be very glad if u guys could complete my script PLEASE!! this is my php script: <?php $recipient = "Email"; $subject = "Contact … | |
Hi i have an email script in php send emails to client automatically with attachement ..the problem with gmail i can get the pdf attachment no problem.. with outlook there ie a problem that the attachement is not openning said pdf not readable with thunderbird the attachment is empty size … | |
Hi, I'm trying to get a bunch of files off an ftp server. I connect fine: batch script: ftp -v -s:"C:\Documents and Settings\xxxx\Desktop\download.txt" xx.xx.xx.xx and download.txt: xxxx xxxx lcd "D:\Data\FileDump" cd "backup" mget *.* It runs fine until it gets to the mget *.* and then it just outputs all … | |
I am trying to use a combobox in a windows form for windows CE mobile device with sql server compact installed. I am using visual studio 2008. I have two sdf databases - MobileArticles.sdf and MobileOrders.sdf MobileArticles.sdf has a table Articles(name, weight,barcode,...) and a table Clients(ClientID) MobileOrders.sdf has only one … | |
I have the main part of my code done but I don'T know if I should use an action listener or an event listener for my JComboBox. I have 4 JComboBoxes and only need to retrieve the info from my vehicleBox and fuelBox at this point. I need to take … | |
Hey guys, I've tried writing code to reverse my sentence, but I keep getting an error in my for loop saying "Expected Expression". Also, should the asterisk go after the "modify" in my code? I'm not sure how pointers are exactly supposed to work and I haven't been given any … | |
I'm working on an app and I am having some trouble getting the login and registration to work. Here is the code I have for my registration. public class RegisterActivity extends Activity { Button btnRegister; Button btnLinkToLogin; EditText inputFullName; EditText inputEmail; EditText inputPassword; TextView registerErrorMsg; //JSON Response node names private … | |
hi experts, I have a new quesiton following what I asked before: http://www.daniweb.com/software-development/python/threads/436159/python-remove-lines-when-two-specified-words-in-the-same-line I am still new python user, and hope and get your help again. my task is to do the following Python Remove current and following 3 lines when two specified words in the same line I have … | |
Please people, i'm trying to create a chat room, and .... I jst nid some guidance pls | |
Component comdlg32.ocx or one of its dependencies not correctly registered: a file is missing or invalid I am getting this error when I tried to run my application on my friends pc . I copied this file COMDLG32.OCX’ from my laptop and tried to paste on that pc in System32 … | |
I want to get the only server name with directory in php.. can someone help me ..? # Heading Here # for example :- i hava a page which url is **www.demo.com/123/page.php** I want only :- **www.demo.com/123/** can some one tell me how can i get the only server name … | |
trying to impleament a checkWin function that checks all possible wins for a player, but I'm notreally sure how to do it. from connect4cell2 import Connect4Cells from Tkinter import * class Connect4Frame(object): COLORS = ["White", "Red", "Yellow"] def __init__(self,rows = 6, columns = 7): self.cells = Connect4Cells(rows, columns, 3) self.rows … | |
Hi All, Trying to add items from listview to datagridview, but keep coming up with this error: "Specified argument was out of the range of valid values. Parameter name: rowIndex" I can add one row with no errors, but when I try to add two or more at the same … | |
I need a ajax way of updating the mysql table. Following is my code that gets the data from mysql table plus ajax function that will send data to processing file. Problem is it is sending every time only the data of the top row ( form). How can send … | |
I won't be asking for a source code yet. What I need to figure out is the process of a certain Math problem with the equation that seemed to be impossible to be converted to source code. Here it goes: **A certain waveform is 0 volts for time less than … |
The End.