-
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 … -
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 -
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 … -
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 … -
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 … -
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 … -
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 … -
Began Watching Constant too large
how to solve constant too large error in TASM? -
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, … -
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 … -
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 … -
Replied To a Post in NP vs NP-Complete vs NP-Hard — what does it all mean?
Ah, thank you for that correction. -
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 … -
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))";  to represent the order of … -
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 -
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 … -
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 … -
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 … -
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 -
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 … -
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 -
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 … -
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 … -
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 … -
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 … -
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 … -
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] … -
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 … -
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 … -
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 … -
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 … -
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()` … -
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 … -
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 … -
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 … -
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 … -
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 … -
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 … -
Began Watching Password
Please can someone help me write a simple password program for my program which prints out in stars(*).Thank you. -
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 … -
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 … -
Began Watching help
pls can i get a code for the following example 1 ** 234 **** 56789 ****** -
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 … -
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 … -
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 … -
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 … -
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) … -
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 … -
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.