-
Replied To a Post in Rational Numbers
The interpreter cannot find those properties because you didn't define them; I assume this was simply an oversight. Happens all the time, no big worry there. Just add the following … -
Replied To a Post in phone selection by using if..else statement
*sigh* I must have been tired, or else had an attack of the dumba-- this morning. You can replace for choice in option_list: if choice == option: option_list[choice]() with just … -
Began Watching IDE Suggestions ?
Hi, I didn't know where to place this thread :) Any recommendations for an IDE app to save snippets of code within the program, I looked online, and there are … -
Replied To a Post in IDE Suggestions ?
**iamthwee**: jQuery *is* JavaScript, or rather, a library for JavaScript. You cannot hope to understand jQuery if you don't know the underlying JavaScript that it is based on. As for … -
Began Watching converting C++ functions to C functions
when converting iget erros especially in the cin parts because they are automatically passed by something #include<iostream> #include<conio.h> #include<math.h> using namespace std; int p=1; class Bank { public: char name[50],address[90],type; … -
Replied To a Post in converting C++ functions to C functions
**Edward_3**: I think you missed the point. The OP needs a C program, and cannot use the C++ version, for whatever reason s/he has. **shadowplayer28**: Just what are you trying … -
Began Watching phone selection by using if..else statement
Hi there, I am interested in phone selection by using if..else statement. so after viewing the phone specification we can select the phone and purchase that. so do you have … -
Replied To a Post in phone selection by using if..else statement
It's not entirely clear what you want, and I doubt anyone would have an example quite like that on hand in any case. It sounds as if you want to … -
Began Watching Prime Number Finder
1. Ask the User for his or her name. 2. Display a Menu asking the user. a. Would you Like To Print all of the prime numbers from 3... N? … -
Replied To a Post in Prime Number Finder
**mridul.ahuja**: What language is this again? Because that certainly isn't C++ declaration syntax. I think you're thinking of VB.Net, except that `cin` and the input operator aren't in VB.... -
Replied To a Post in Segmentation fault
As for the segfault, it appears to be occurring when you are trying to read from the `b.filename` file, if the file ins't actually there. On an unrelated note, you … -
Began Watching Segmentation fault
#include<stdlib.h> #include<stdio.h> #include<string.h> struct D { char name[20]; float balance; }d; struct C { char name[20]; int count; }c; char ch; struct A { char command[20]; char name[20]; char filename[25]; … -
Replied To a Post in Segmentation fault
What lunatic taught you to use `goto` like that? Or at all, for that matter? If your professor is teaching to write code like that - hell, if you professor … -
Began Watching How to internally save in Python?
Hello there, I am currently working on a indepedendent project and I am realtively new to Python. Please note that this question revolves around Python version 3. But if you … -
Replied To a Post in How to internally save in Python?
Hmmn, tricky. While it is possible to do that, it is more dofficult that you probably expect, and almost certainly not what you actually want anyway. I expect that the … -
Began Watching Font issue in java in linux OS
Hi, We are facing font issue in our java swing application in linux. Kindly help to solve issue. In our application we are explicity setting font as 'Arial' for labels … -
Replied To a Post in Font issue in java in linux OS
I assume that the real issue here is that you cannot ensure that Arial (or any other given font you may choose) will be installed on the host system, correct? … -
Replied To a Post in Someone, please help!
In the `SortedList::ComparedTo()` method, you are comparing `length` (the size of the `SortedList`) to `x.getLength()`, where `x` is an `ItemType` (which is a typedef of `float`). Since `float` isn't a … -
Began Watching add,read and sort..a names..
guys Im a newbie here I really need your help for our project...pls help me..heres the problem..Write a C program that add a names into a file then read the … -
Replied To a Post in add,read and sort..a names..
As 2teez says, the policy at Daniweb is that you must give demonstrate that you have made a good faith effort to solve your problem yourself, and that respondents are … -
Replied To a Post in I need some eBook
Have you consider any other languages such as [Python](http://python.org) or [Ruby](http://ruby-lang.org)? The eBook *[Think Python](http://www.greenteapress.com/thinkpython/)* is quite well regarded, and has a chapter on using the TKinter GUI system. -
Began Watching iostream what does it mean
what does it mean iostream in c++ programming -
Replied To a Post in iostream what does it mean
The [`<iostream>` library header](http://www.cplusplus.com/reference/iostream/) is a header that defines several of the standard stream I/O classes and objects, including `cin` and `cout`. It is mainly used to include those two … -
Began Watching I need some eBook
Hello, I googled this and didn't found any good results. I found "GUI Toolkits for C++"... I need a C++ eBook to teach me to use the windows library... -
Replied To a Post in I need some eBook
Let's dig a bit deeper with our questions, perhaps. What is your project meant for? Do you need to use C++, or would another language be suitable? Do you already … -
Began Watching program code for analysis of four bar linkage by loop closure equation in t
please help me in this program codes please... im in rush -
Replied To a Post in program code for analysis of four bar linkage by loop closure equation in t
Did you read AD's reponse earlier? Even if you had explained the project to us in a comprehensible manner - which you didn't - we don't do homework for people … -
Began Watching program for c
A company provides his staff 20% off for tour allowance of basic his basic salary and 10% off for housing rent allowance.calculate the salary in unsigned int. -
Replied To a Post in program for c
First off, we don't do other people's homework for them. Second, we *don't* do other people's homework for them. And third, ***we don't do other people's homework for them***. Sensing … -
Began Watching Where to download Python for Linux
Hello, Where can I download Python 3.4.0 for Linux ? On the official website of Python I can find releases only for Windows and Mac OS. Thanks for your help. -
Replied To a Post in Where to download Python for Linux
First off, you may very well already have that version of Python installed. Python is widely used in many Linux distributions, and since Python 3.4 is the current stable version, … -
Began Watching I'm just total stranger to Programming
I want to be a programmer but I don't even know where to start. I have read about what computer programming can be used for and what it does but … -
Replied To a Post in I'm just total stranger to Programming
As it happens, there are many answers to the question 'how do I learn how to program?', and which one is most effective to you will depend on how you … -
Began Watching sequential read/write speeds
How can i measure sequential read/write speeds? is there any API, library that can help me? -
Replied To a Post in sequential read/write speeds
The general answer is, you can't, at least not meaningfully. The longer answer is, it is very dependent on the hardware and software in question, both the firmware of the … -
Began Watching class queue
how to come up with a code to class queue and circular queue -
Replied To a Post in class queue
As Rubberman says, you need to do the actual work; we can only advise you and help you fix problems. That having been said, I will give you this advice: … -
Began Watching Adding Graphics to a C++ game
I have a c++ game that i made and i was wondering how i would make it so that i could add graphics, or just use the same basic concept … -
Replied To a Post in Adding Graphics to a C++ game
Considering that the last person involved in this thread hasn't been around for half a year, I think you may be a bit late to the party. In other words, … -
Began Watching very short question about comparing strings using strcmp
Hi. I wonder why this doesn't work. I expected to see ch1 and ch3 are numbers but it shows they are operators.... How can I make this work? #include <iostream> … -
Replied To a Post in very short question about comparing strings using strcmp
This program is clearly intended to test the function, but it would be helpful to know the overall goal, that is, what the program this test is intended to prepare … -
Replied To a Post in How does one open an audio file?
While that would indeed play the file, I'm not sure that this accomplishes quite what the OP had in mind. It sounds as if he intended to actually play the … -
Began Watching Python turtle
Hi guys i have been making this solor system simulator in python. I have added four planets and now I am trying to make it look a little nicer. What … -
Replied To a Post in Python turtle
The issue is that `bgcolor()` is a free function inside the `turtle` module, not a class method of `Turtle`. Try the following changes and you should be able to run … -
Replied To a Post in Assembly looping through an array
> Though, i can't make use of any psuedo code. By that, I assume you mean pseudo-instructions or macro instructions (pseudo-code being something completely different)? I was afraid of that … -
Began Watching How does one open an audio file?
#include<stdio.h> #include <file.h> main(int argc, char *argv[]) { FILE *fp; char s[100]; int i; //char exit if((fp=fopen("Allah ya isa.mp3","rb"))==NULL) //Open file and read on binary mode { printf("Could not open … -
Replied To a Post in How does one open an audio file?
You are in fact opening the file correctly, but that won't do you much good unless you have a codec to decode the data with, I am afraid. We'd have … -
Began Watching Assembly looping through an array
I'm a novice to MIPS I'm trying to develop a program which takes an input from a ten word array, increments it by two, stores the result back into a … -
Replied To a Post in Assembly looping through an array
The first thing I'll recommend is indenting the code by four spaces, except for the labels; this should make it easier to read. However, I can't tell if you did … -
Began Watching Dev-C++ compilation error
Hi! I am new to dev c++.The program works good for the first time.Whenever I try to modify the code and compile it again it displays compiler error =**Permission denied …
The End.