• Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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; …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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? …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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....
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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]; …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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? …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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.
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching iostream what does it mean

    what does it mean iostream in c++ programming
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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...
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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.
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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.
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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, …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching sequential read/write speeds

    How can i measure sequential read/write speeds? is there any API, library that can help me?
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching class queue

    how to come up with a code to class queue and circular queue
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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: …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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, …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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> …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    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.