132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lmastex

Hey again! ;) This time I have this program which is supposed to read some stream file called "numbers.dat" which has the numbers 1 up to 10. I get the reading, but the thing is in the for loop I want to add the numbers in circles. For example: 1 …

Software Development c++ file-stream
Member Avatar for lmastex
0
123
Member Avatar for Koldsoul

I am trying to compile my program on a Unix machine per my instructor's directions. I am getting two errors when I compile my interface. The two errors are cannot find symbol symbol: class OverFlowException location: interface Ch3Pkg.PracticeCollection<E> public void add<E element> throws OverFlowException; cannot find symbol symbol: class ElementMissingException …

Software Development java unix
Member Avatar for masijade
0
106
Member Avatar for Koldsoul

I am writing a program that uses two arrays, one holds int and one holds String. I am using an interface and building a class that implements it. The method in the interface uses a method written like [code] public void add(E element) throws OverFlowException; [/code] This method is to …

Software Development java
Member Avatar for masijade
0
84
Member Avatar for asmit1987

I want to retrieve data frm my DB in a datacombo what event nd property shud i use plz help me with the single line code to retrieve data

Software Development vb.net
Member Avatar for Jx_Man
0
145
Member Avatar for usdblades

K so I am learning how to program in python and had a question about Jargon. Simply What is it?

Software Development python
Member Avatar for usdblades
0
96
Member Avatar for jworld2

Okay, sorry, I just posted a different thread here a couple days ago, I know. But I have another question and I've googled it and can't find the answer. let's say I have a list num=[1,2,3,4,5,6] and I want to add all of the items together for one big number. …

Software Development python
Member Avatar for jworld2
0
488
Member Avatar for nizbit

The program I am working on deals with nested linked lists. I have a Olympics class that uses a linked list for events. Events have their own class with a linked list of contestants of a contestant class for each event. I don't understand why I'm getting these compile errors: …

Software Development c++ linked-list
Member Avatar for nizbit
0
132
Member Avatar for lmrd

Hey all. I have an interesting problem. I have a file with a ton of raw hex data in it. I need to convert it into human readable text for display on a web site. The problem that I am having is this. For some of the data I need …

Software Development shell-scripting
Member Avatar for mittelgeek
0
139
Member Avatar for TooMpa

Hi like to write a program that can take arguments like %program -t <type> <path> <path> <name> where -t follow by type is the file type I like to look for in a find program, and path's is where I want to look, followed by the name of the file …

Software Development c
Member Avatar for ssharish2005
0
166
Member Avatar for knish

Hi, I have written 2 procedures. how best may i put it in class, def form. if i do not have procedures within a class, is it possible to call them where and as they are. Is this the best way to use python's strength. BRgds, kNish [code] import maya.cmds …

Software Development os-x python
Member Avatar for woooee
0
167
Member Avatar for omdnaik

Hiii there... I have programmed a scientific calculator using C which performs every single task dat a hi tech calci can perform.. It stores all the calculation dat u performed on the day.... i am using a .txt file to store d calculations But the problem arises while retriving the …

Software Development c
Member Avatar for ssharish2005
0
143
Member Avatar for asifjavaid

hi guys, working in C using Borland Compiler we can get scan codes of keyboards keys by this code [code] ch = getch(); if (ch == 0) ch = getch(); printf("%d",ch); [/code] because when first time getch() is called, it will return the ascii code of the pressing key. when …

Software Development c
Member Avatar for ssharish2005
0
2K
Member Avatar for omdnaik

Hi frnds, i have been programming for abt a yr now n used to consider myself gud wid c programming until i chked out this forum.... Some of U guys are fantastic. So i wud appreciate if ne cud gimme topics on c programming dat will hlp me hone my …

Software Development c c# c++
Member Avatar for ssharish2005
0
163
Member Avatar for lllllIllIlllI

Hi My problem today is i have opened up the wxPython Demo and copied one of the pieces of code across to IDLE so i can have a fiddle with it. My problem is that at the start it goes [icode]from Main import opj[/icode]. Thats what stuffs it up. The …

Software Development python
Member Avatar for lllllIllIlllI
0
177
Member Avatar for rrreeefff

Hello, I am trying to do a recursive function using fiboncci. I have been working on this and it is not working. #include "stdafx.h" #include "stdio.h" int fib (int n); // function prototype// int main (void) { int num, result; printf ("Please enter a positive integer\n"); scanf ("%d", &num); result= …

Software Development c
Member Avatar for rrreeefff
0
101
Member Avatar for iamgame

Anyway, sometime back, I wrote a little and simple GUI application (using wPython) which I call the Jumbled Words game. This was my first step into wxPython. Not a serious project at all, but hey, a nice project for a Python newbie like me at that time. :) You can …

Software Development gui python
Member Avatar for iamgame
0
762
Member Avatar for chanda gul

Hi all Can any1 tell me how to extract the author of a file in ntfs.....any class or method availbe for it???

Software Development c++
Member Avatar for Ancient Dragon
0
114
Member Avatar for Matotore

The welcome form It contains a label, a timer and a progress bar. private void Form1_Load(object sender, System.EventArgs e) { timer1.Start(); } This enables the timer to be started when the form is loaded. These other codes have placed it on the tick event of the timer. private void timer1_Tick(object …

Software Development c++
Member Avatar for Matotore
0
120
Member Avatar for elrayiss

i have this project. it calculates the checkout an hotel. first i need it to calculate the first subtotal which is costpernight*numberofnights. and second additionnal charges. its telephone+laundry+roomservice. thats my first step it should be done wihout any button it should appear to the user from inputing the values for …

Software Development vb.net
Member Avatar for manal
0
132
Member Avatar for bone7_7

I am a beginner c++ programmer, I was wondering if somebody could help me get rid of this error [code=cplusplus] #include "stdafx.h" #include<iostream> using namespace std; //declaration of function: convert miles and time, into nautical miles,kilometer,meters,feet,calculat mile per hour,calculate kilometer per hour,calculate meter per second,calculate feet per second,calculate nautical mile …

Software Development c++
Member Avatar for bone7_7
0
208
Member Avatar for unclepauly

i have a bunch of data i want to pass to CreateThread. i created a struct as per the msdn documentation. here it is: [CODE] typedef struct ThreadRecvData { std::list<char> data; Ogre::String addr; unsigned long port; } THREADRECVDATA, *PTHREADRECVDATA; [/CODE] then i initialise the struct, again as per the msdn …

Software Development c++
Member Avatar for unclepauly
0
114
Member Avatar for donaldunca

I want to ask are these things possible (I use J2ME) 1) Normally, when you make a call, you input a phone number and that phone number appear from right to left. Can I code that the phone number appear from left to right ? 2) For example, when I …

Software Development java
Member Avatar for peter_budo
0
179
Member Avatar for quasimodo

Hi, Im new to the Forum, and I could use a bit of help. I want to code a application that rights meals to a file and generates a weekly menu randomly. I dont have a problem with writing and reading to the file, but I do have a problem …

Software Development c++ file-system
Member Avatar for starchip
0
484
Member Avatar for VernonDozier

I've been experimenting around with the [ICODE]const[/ICODE] modifier, trying to make sure I understand it and clearly I do not. I wrote this program. Note line 28, where I am changing the value of the parameter passed to a copy constructor, and the word [ICODE]const[/ICODE] on line 40: [code=cplusplus] #include …

Software Development c++
Member Avatar for VernonDozier
0
424
Member Avatar for kenji

Hey guys, I have a couple of quick questions, Iv searched the forums and the internet and found a not very much on removing an array element. If you could guide me to a website or a book with information on char arrays it would be helpful. My second question …

Software Development c++
Member Avatar for kenji
0
9K
Member Avatar for geemicah

this program is all about computing the bill of the electricity/.// the first 150kilowatts will be 10.00php... then additional kilowats will be add for another 20.00 per kilowatts... In their bill also, there will be additional 5% for the tax... And My prof give this condition in doing the program: …

Software Development c++
Member Avatar for geemicah
0
98
Member Avatar for osirus0830

Hello all, I am attempting to learn C++ on my own. I am going through the book C++ Primer by Steven Prada, in case anyone has the book. At the end of every chapter, they give programming problems and I am having trouble with one of the problems. Essentially the …

Software Development c++
Member Avatar for arinkverma
0
95
Member Avatar for cwilliam912

I have to redo Programming Exercise 5 of Chapter 9 using dynamic arrays. I have the problem but I don't know how to use it using dynamic arrays please help. //Chapter 9: Programming Exercise 5 [code=cplusplus] #include <iostream> #include <cstring> #include <cctype> using namespace std; int main() { char str[81]; …

Software Development c c# c++
Member Avatar for twomers
0
245
Member Avatar for blue_moon

> Write a method that converts its String parameter so that letters are written in > blocks five letters long. For example, consider the following two versions of the > same sentence: > > Plain: This is how we would ordinarily write a sentence. > Blocked : Thisi showw ewoul …

Software Development java
0
80
Member Avatar for Trekker182

I've read around and made this code to loop through my two strings and add up all of the ascii values of the characters in them. However, it's not working...it's not even iterating. When I look at the cout for h and hi, I get 112 & 205976. Shouldn't it …

Software Development c++
Member Avatar for Trekker182
0
128
Member Avatar for Birdie010

I'm trying to determine why I receive this error message when attempting to update the database.."Syntax error in UPDATE statement", please assist! Thanks! [code=vbnet] Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click Dim SQLStmt As String Dim UpdateOK As Integer If txtFirstName.Text = "" And txtLastName.Text …

Software Development open-source vb.net
Member Avatar for selvaganapathy
0
184
Member Avatar for gregorynoob

ok, so this is my problem... i have an array of items, which i want to sum to x or above in a most efficient way... is there a way for doing this? cause all the values are 64 bit ints. i tried recursion but it's slow cause i can …

Software Development c++
Member Avatar for VernonDozier
0
272
Member Avatar for Strat79

This program is a double-linked list in C for my System's Software class. Everything worked fine, until I coded the delete() and insert() functions. The program compiles and executes on a window machine using Dev C++. It also compiles without any errors or warnings on a linux machine using gcc …

Software Development c linked-list
Member Avatar for ahamed101
0
238
Member Avatar for Birdie010

Can someone please tell me why I'm receiving these error messages when attempting to take on customer data from a flat file: - Error 1 Name 'OpenFileDialog1' is not declared. - Error 5 Overload resolution failed because no accessible 'Split' can be called without a narrowing conversion: 'Public Function Split(separator() …

Software Development file-system open-source vb.net
Member Avatar for Diguelo
0
374
Member Avatar for geemicah

hi... I always having a hard time to debug all my errors.. but still, calling some functions are the most painful I guess... Will you help me on how to call some functions? thank you!

Software Development c++
Member Avatar for geemicah
0
263
Member Avatar for hbmarar

Something off the box: I got a log file of the pattern say like this : 19876 Exception happened at heylog.php. 19878 Argument missing I need a shell script / awk which should get the file, read the line and should get me the line number displayed with that message …

Software Development file-system shell-scripting
Member Avatar for eggi
0
149
Member Avatar for Repurcussion

[CODE=C++] //bintree.h template<class T> class bintree { private: bin_node<T> *root; public: bintree(void); void insert(const T); void insert(const T, bin_node<T>*); }; //bintree.cpp #include "bintree.h" template<typename T> void bintree<T>::insert(const T input) { insert(input, root); } //tstatcontain is a non-template class-class class tstatcontain { private: string tname; int wins, loses, games, champ, years_playing, …

Software Development c++
Member Avatar for grumpier
0
827
Member Avatar for abhishek29sep

Please suggest me a project topic for Engineering(CS) final year with details. I want to make project in C #

Software Development engineering
Member Avatar for abhishek29sep
0
201
Member Avatar for predator78

Hey guys, Well I'm onto images now but the tutorial I'm using seems to be good but I can't understand the input process. And I know you guys are great at this stuff so thought you might lend a hand here to get me up and started. The code the …

Software Development python
Member Avatar for lllllIllIlllI
0
152
Member Avatar for bodomchild

Hey there, I'm kinda new to Programing and I'm still learning the basics, I have Borland C++ 5.5 program and I need to write the following program in it, any help about it would be very appreciated, please reply ASAP :) The Program is the following: [B]Write a program to …

Software Development c++
Member Avatar for bodomchild
0
141
Member Avatar for papuccino1

Hello once again. I'm really interested in making a voice operated aplication for my computer (and those who want to download it). Where should I start reading on this subject. If I google it, I find a million answers but I'd rather have someone who knows their way let me …

Software Development
Member Avatar for selvaganapathy
0
180
Member Avatar for iichi07

This another project and it is called Complex Class. Create a class called Complex for performing arithmetic with complex numbers. Y=Use double variables to represent the private data of the class. Provide a constructor that enables an object if this class to be initialized when it is declared. The constructor …

Software Development c++
Member Avatar for iichi07
0
263
Member Avatar for atreides27

lemme preface by saying I have read the homework sticky, am not looking for someone to just give me an answer...more then anything I just want to understand this stuff...just am not looking to step on any toes and wanna make sure that's clear, and that I hope someone can …

Software Development c++ programming-construct
Member Avatar for William Hemsworth
0
111
Member Avatar for vsmaddy

please someone help, i m having trouble in my project i have made a login form from which i have opened another form , now i want to close login form after opening child form pls help

Software Development
Member Avatar for vsmaddy
0
116
Member Avatar for Run.[it]

I compiled a very basic C# program (not pointers or memory related) inside my c drive using the command prompt. I just wish to know if this is a bad move? Is it better to save all programs to the desktop and run them through the command prompt from there? …

Software Development c#
Member Avatar for Run.[it]
0
200
Member Avatar for predator78

Hey guys I finally got my word unscrambler working the other day, now I fire it up with same code same everything and for some reason getting double output from a list that shouldn't be. So if someone could either look this over and find a problem or maybe do …

Software Development python
Member Avatar for ZZucker
0
212
Member Avatar for Hinche4

I have a class screen and a class Brush both have header files and source files. The driver file shown first was provided to us so nothing should be wrong with it but I wanted to show you how it worked. [code] #include <iostream> #include <string> #include "Screen.h" #include "Brush.h" …

Software Development c++
Member Avatar for Hinche4
0
302
Member Avatar for cam875

i am a little confused with something here. If I wanted to write a bootloader to load my kernel up and both the bootloader and the kernel are located on a floppy disk than do I have to format the floppy disk or something or have the two files a …

Software Development assembly
Member Avatar for cam875
0
98
Member Avatar for nizbit

I have a recursive method that traverses a linked list for a first name or last name then deletes the node from the list. This is what I have: [CODE=cplusplus] void game::DeleteR(string first_name, string last_name, ListNode* &node) //throw (ContestantException) { /* See if we are at end of list. */ …

Software Development c++ linked-list
Member Avatar for nizbit
0
182
Member Avatar for NinjaLink

I'm trying to add and print two matrices and get the sum by using 2-Dimensional Arrays. I have to read in 18 numbers from a file. My txt file includes: 1 1 1 1 1 1 1 1 1 3 3 3 3 3 3 3 3 3 Currently, my …

Software Development c++
Member Avatar for Lerner
0
110

The End.