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

    Replied To a Post in trying to get this code the right way to work

    I think you misunderstood what stultuske was saying. What he means is that then you post to Daniweb,the code section *and only the code section* should be pasted into the …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching where to start

    hello guys i have to make a simple game project , i not know game programming , any body help me where to start game programming
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in where to start

    > i have to make a game for window pc .simplest 2D game Yes, but why? Is this for a homework assignment, or simply for your own interest in the …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Else If Statement

    Is there a real need to have two separate totals? It seems to me that you could just use `ocoins` (preferably with a better variable name) and write: if (ocoins …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching Else If Statement

    I'm creating a simple game in Netbeans but I've come across a problem, when I've 500 coins and I try to add more, the total coins value will go to …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Else If Statement

    As stultuske aleady said, cross-posting is generally considered poor nettiquete, as it leads to a duplication of effort, and anyone who sees the posts on both groups (and there usually …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Constant too large

    Well, aside from the fact that 4C00 hex is far too large to fit in to fit into a byte (the maximum value for a single byte - that is …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching Constant too large

    how to solve constant too large error in TASM?
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Constant too large

    You'll have to give us a good deal more detail about the problem, I'm afraid. What kind of constant are you trying to use? I assume it is an integer, …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Gave Reputation to JamesCherrill in Was this task even more difficult in the early days of C in 1970?

    *Which leads me to the question: was it this difficult in the 1960's and 1970's for Computer Scientists to create programs? * Only if they were foolish enough to use …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Gave Reputation to JamesCherrill in Was this task even more difficult in the early days of C in 1970?

    *Which leads me to the question: was it this difficult in the 1960's and 1970's for Computer Scientists to create programs? * Only if they were foolish enough to use …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in NP vs NP-Complete vs NP-Hard — what does it all mean?

    Ah, thank you for that correction.
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in how to build an expression tree from string.

    You don't need an explict stack if you are building the tree recursively, no; the implicit stack created by the recursive calls will do the job quite nicely. However, there …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching how to build an expression tree from string.

    Hi. i need to build an expression tree from a string and i dont get how to do it. for exapmle: str[20]="( (2 + 5) * (8 / 2))"; ![dasd.png](/attachments/small/4/268d6233b4e99809ef2994f89fb1ebcd.png …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in how to build an expression tree from string.

    Essentially, this is an issue of parsing, though one with a fairly limited scope. The usual solution is to build a stack (explictly or implicitly) to represent the order of …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching NP vs NP-Complete vs NP-Hard — what does it all mean?

    What are the differences between NP vs NP-Complete vs NP-Hard ? I am aware of many resources all over the web. I'd like to read your explanations to undrestand better
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in NP vs NP-Complete vs NP-Hard — what does it all mean?

    For the sake of clarification: * NTM - [Non-Deterministic Turing Machine](https://en.wikipedia.org/wiki/Non-deterministic_Turing_machine) * DTM - Deterministic Turing Machine * NP - [Non-deterministic Polynomial complexity](https://en.wikipedia.org/wiki/NP_%28complexity%29), used to describe the [computational complexity](https://en.wikipedia.org/wiki/Computational_complexity_theory) of …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching automatic SMS

    hello dears i tray code the button which can send SMS from my server (i'm ethiotelecom employer) to any cell phone but the SMS faild always. pls can you help …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in automatic SMS

    First off, is this a program you have developed yourself, or one provided by the company or some third-party vendor? Ifn the latter case, there probably isn't much we can …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching computer program

    i need to write a loop program converting celsius to farenheit using the formula F=9*C/5+32 and terminating at -999
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in computer program

    If you use the Search function of the forums, you ought to find [several threads on this subject](https://www.daniweb.com/search/query/0?q=celsius+to+fahrenheit#gsc.tab=0&gsc.q=celsius%20to%20fahrenheit&gsc.page=1). I recommend [this one](https://www.daniweb.com/software-development/python/threads/474136/converting-celsius-to-fahrenheit-using-a-loop-to-display-the-table#post20705040), but then I am biased. :-) That just …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Gave Reputation to Toni_3 in computer program

    i need to write a loop program converting celsius to farenheit using the formula F=9*C/5+32 and terminating at -999
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Help with output

    Ah, now I see the issue: the problem is not with the sorting functions, but with the `count` variable. You are incrementing it once too many times. If you pass …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Help with output

    Erk, you are correct; I saw the initializers for the inner loops and didn't notice *why* you had them starting with 1. My mistake. Oh, has your course covered `struct`s …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching Help with output

    So, I'm working on an assignment. It involves a read-in text file and the program itself. When I run it I get what my teacher would call "garbage" in the …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Help with output

    You need to initalize the all loop indices to zero, not one; the index of the first element of an array in C++ (and most other languages that don't support …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in while i<=N : NameError: name 'N' is not defined

    Interesting. There are no `break` statements in the code you posted, which leads me to think that this is from the`evaluar` module which you are importing, or else some other …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching while i<=N : NameError: name 'N' is not defined

    import evaluar from pylab import * from numpy import * def puntofijo(po,TOL, N): vectorx = zeros (N, Float64) vectory = zeros (N, Float64) i = 1 while i<=N : vectorx[i-1] …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in while i<=N : NameError: name 'N' is not defined

    def puntofijo(po,TOL, N): vectorx = zeros (N, Float64) vectory = zeros (N, Float64) i = 1 while i<=N : vectorx[i-1] = po Evaluar.dicc_seguro['x']=po fp = eval(Evaluar.funcion, {"__builtins__":None}, Evaluar.dicc_seguro) vectory[i-1]=fp if …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching urgent

    I have to do this with "for" and "while" loop in c++ but no idea how print all numbers between 10000 and 100 which are devisible with 5 and 9 …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in urgent

    **basit_3**: While it is admirable that you want to help the OP out with the problem, it is generally not advisable to simply give the working code out willy-nilly, especially …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Password

    Well, I explained this already in the earlier posts, but once again: the standard C++ stream I/O library has no support for console handling. The `conio.h` header and library are …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Password

    *sigh* basit_3, did you read the other replies in this thread? This is essentially the same as the code posted by mridul.ahuja, and has the same problem of using `getch()` …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Password

    Deceptikon is correct; text echo is a function of the shell itself, not of the stream I/O (which is the same basic model for both the C I/O functions and …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching Polling System

    I have a project to create a simple polling system but my program is not working properly. The result the program is giving is not proper and dont know where …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Polling System

    First, can you give us more detail as to what is going wrong? You say that it is running (which means that there are no syntax errors in the code …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Is lisp a legacy language?

    To engage in some more gratuitous thread necromancy, I thought I'd share a line from a .sig I use on the [OS-Dev forums](http://forum.osdev.org/index.php) (with a more detailed explanation about it …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching Flexible programming language

    Hi all I have designed a website on the java and now I am facing many problems of designing and setting the layout. So suggest me the language to be …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Flexible programming language

    Given that this thread dates from a month ago, and that there seemed to be a definite time limit approaching when that post was written, I doubt that the OP …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching Password

    Please can someone help me write a simple password program for my program which prints out in stars(*).Thank you.
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Password

    **mridul.ahuja**: You, and the OP, need to be made aware that `getch()` (and the rest of `conio.h`) is *not* a standard C++ function, but rather is one specific to Turbo …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in help

    I am at a loss to understand what you are trying to say. If you are 'not interested' in following the rules of the forum, I think you will find …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching help

    pls can i get a code for the following example 1 ** 234 **** 56789 ******
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in help

    **dbfud1988**: I know you meant well, but please do not just hand out code like this. Doing so goes against the 'no cheating' policy here at DaniWeb. We can assist …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching Need For A Complete Compiler

    Please I need a complete Dev c compiler with most intersting hearders like the graphics hearder. Or complete method to add them, cause i have added lately and had no …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Need For A Complete Compiler

    **Fon_1**: Just to clarify the matter, are you looking for *any* C compiler, or specifically looking for an installation of the Dev-C++ Integrated Development Environment (which is not itself a …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Began Watching Fault tolerance in JAVA

    Hello, I am developing a database system and as part of a project I have been asked to look into fault tolerance. From what I understand a fault tolerant program …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Fault tolerance in JAVA

    Actually, 'fault tolerance' has more to do with gracefully recovering from exceptional situations than with avoiding them entirely. Setting up exception blocks around fault-sensitive code (e.g., pretty much all I/O) …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in How to configure graphics.h in Dev-C++

    Please make a separate thread for your question, as it is completely unrelated to both the original question and the post that revived the thread. Also, when you do make …
  • Member Avatar for Schol-R-LEA
    Schol-R-LEA

    Replied To a Post in Request for help | AI

    Well in that case, if you are determined to try, far be it from me to discourage you, if only because you may find something no one else has yet. …

The End.