1,359 Posted Topics

Member Avatar for Spagett912

Please don't resurrect long-dead threads like you just did. It is very unlikely that the people you are replying to are still on Daniweb after 8 to 9 years. As for the answer to your question, we will need more information. What version of MASM (or any other compatible assembler) …

Member Avatar for Schol-R-LEA
0
4K
Member Avatar for ckide

There was a time when mad skillz was sufficient. In the 1970s, just claiming to be an assembly programmer would get you a high-paying job; in the mid-1980s, a C programmer with any experience might as well own the Philosopher's Stone; in 1995, you could walk into a company with …

Member Avatar for rubberman
0
483
Member Avatar for rsu

First off, please do not post new requests into old threads like this. This thread was originally posted more than half a decade ago; some of the details are now out of data (though fortunately the jist of it hasn't changed), and if nothing else it is problematic if you …

Member Avatar for yahya_3
0
6K
Member Avatar for Diogo_1

The listings are by database engine, not language. Which SQL RDBMS are you using (SQL is a standard, not a specific DB engine), and which version? I am guessing MS SQL Server, but I would not want to assume.

Member Avatar for rubberman
0
964
Member Avatar for Ruchi224
Member Avatar for Schol-R-LEA
-1
202
Member Avatar for cpsusie

The truth of the matter is, you can write slow code in any language, and it is generally a lot easier to write inefficient code than efficient code. The main advantage of C - and high-level languages in general - is that it is easier to write fast code in …

Member Avatar for Zack_7
0
12K
Member Avatar for heroares

What [i]do[/i] you know about C++? Start with that. What did your professor and/or textbook cover about C++? Did you get any instruction on using the Dev-C++ editor? What [i]don't[/i] you know about writing the program? Do you know how to: [list] [*] Declare a main() function? [*] #include a …

Member Avatar for Destaw_1
0
291
Member Avatar for brunoccs

That's correct. Generally speaking, while it would have been a lot easier for the programmer had they allowed register offsets, it would have also made for a more complicated hardware. Given that one of the original goals of MIPS was that it would *not* be designed for assembly programmers (it …

Member Avatar for Ánh
0
2K
Member Avatar for jcAmats

I would recommend two changes. First, move the input loop to before the output loop, such that you collect all of the lines before you start outputting the randomly selected lines. Second, after displaying a line, remove that given line from the [icode]vector[/icode] using the single argument version of the …

Member Avatar for zia shaikh
0
1K
Member Avatar for Louie_Rave

Yes. The `void` part only refers to the return value of the function, not the actual computation. The function runs; it simply doesn't have a return value. BTW, strictly speaking, it should be `int main()` not `void main()`. The `main()` function does in fact return a value to the operating …

Member Avatar for markanderson4
1
4K
Member Avatar for devccompiler

Actually, if the OP is using 5.7.1, then presumably their talking about the [Orwell fork](http://sourceforge.net/projects/orwelldevcpp/), which *is* maintained and up to date (with gcc 4.8.1).

Member Avatar for Eren_1
0
1K
Member Avatar for Tomas_3

I agree with JOSheaIV that this seems somewhat hinky. However, if you are in fact sincere, you would find a better forum for this matter at the [OS-Dev forum](http://forum.osdev.org), which covers issues related to this in greater detail. However, you do not - I repeat, **DO NOT** - want to …

Member Avatar for Raul Perez
0
315
Member Avatar for Kunyepa

**@rproffitt** and **@rubberman**: I am assuming the OP is writing this for an assembly language course, in which case the C code is simply given as a guide for hand-coding the assembly program. **@Kunyepa**: How is the code misbehaving? Can you post the errors you are getting? It would help …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for Joshua_14

Actually, in India and Pakistan, it is even worse that that: last I heard (as recently as last summer), the national university systems continue to *mandate* the use of Turbo C++ 1.5 as the standard C/C++ compiler, and professors are forbidden to use anything else for introductory C++ courses (whether …

Member Avatar for David W
0
215
Member Avatar for munchlaxxx
Member Avatar for ranjini.jayam

[QUOTE=ranjini.jayam;1583249]Still date i dont have an any source code or algorithm for extract the text if any [/QUOTE] Correct me if I am wrong, but the purpose of a thesis paper, in most cases, is to present a [i]novel[/i] solution to a problem such as this. Unless your paper is …

Member Avatar for wenbuyi
-1
670
Member Avatar for karthik16

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 a pattern here yet? No one here will simply hand you a solution on a silver platter. If you show …

Member Avatar for Nick Evan
0
230
Member Avatar for jxxop1

In the absence of further information, should we assume you spoke to the professor and all is right in the world, or did you still need help, and if the latter, what problems are you experiencing?

Member Avatar for David W
0
526
Member Avatar for keval_hack

I can see how the first one could be solved (using an if() statement with an empty block as it's body), but the problem itself is pointless - no one would do such a thing for any practical purpose. The only point I can see for this question is either …

Member Avatar for Ahamed_1
-1
2K
Member Avatar for fonzali

> DaniWeb receives about one thirtieth of the traffic we received three years ago and only getting worse. Yes, but I gather that this has been true about programming fora across the board, for reasons completely unrelated to DaniWeb or its design (e.g., word has gotten out to college students …

Member Avatar for Schol-R-LEA
0
326
Member Avatar for Sphinx'LostNose

You might find the [Object File](http://wiki.osdev.org/Object_Files) page of the OS Dev wiki helpful here. To sum up, while it is possible to generate a pure executable image from code under some circumstances, it is extremely unusual to do so. No current OS would normally allow that to be done, especially …

Member Avatar for rubberman
0
216
Member Avatar for ~s.o.s~

[FAQ: Clearing the console](http://www.cplusplus.com/articles/4z18T05o/) The linked article goes over most of the common (and a few less common) approaches to clearing the console screen, and explains the strengths and (mostly) the weaknesses of each. It specifically explains why there is no general, portable solution to the problem (without using a …

Member Avatar for gyno
22
7K
Member Avatar for altjen

A better place to start might be the [OSDev wiki](http://wiki.osdev.org/Main_Page), especially the Introduction page (particularly the section '[What Is An Operating System?](http://wiki.osdev.org/Introduction#What_is_an_Operating_System.3F)'), [Beginner's Mistakes](http://wiki.osdev.org/Beginner_Mistakes), and [Required Knowledge](http://wiki.osdev.org/Required_Knowledge). The textbook can come after you decide whether or not you really want to tackle such a major project; chances are, after you …

Member Avatar for rproffitt
0
249
Member Avatar for Ghost0s

What Labdabeta said is correct, but a bit skimpy, so I'll give you a bit more detail. For the first five to ten years of programmable electronic computers, programming was done in machine code, though even that can be a bit of an overstatement - several of the first generation …

Member Avatar for Ghost0s
0
176
Member Avatar for Mariana_1

**natanhailu**: I realize that you are a newcomer here, but there are some pieces of netiquette you should be made aware of. First off, you should not post a new question in another poster's existing thread unless the question has some bearing on what is already being discussed. Doing that …

Member Avatar for ipswitch
0
386
Member Avatar for Mahnoor_1

I think a more basic explanation may be called for... Like most languages still in use, C++ is still evolving over time, and the official standards for the language is updated by the International Standards Organization (ISO) and the American National Standards Institute (ANSI) at irregular intervals as the development …

Member Avatar for ipswitch
0
372
Member Avatar for nathan.pavlovsky

**nathan.pavlovsky**: I know that you have the explanation, but the question itself may indicate a possible problem. I say this because it used to be common for compiler packages to cross-include headers in order to support older code, but most newer compilers' libraries have eliminated most or even all of …

Member Avatar for nathan.pavlovsky
0
263
Member Avatar for Aditya0025

> Thnx for your replies....actually i am B.TECH in computer science. I assume that you mean that you have actually graduated with said degree, rather than that you are currently a student. Unfortunately, that still tells us little about your programming ability, as quite a few people graduate with Bachelor's, …

Member Avatar for jwenting
0
189
Member Avatar for Anshu27

Part of the practical upshot of what vijayan121 is saying here is that you should always pass stream objects (or any other non-copyable objects) by explicit reference (that is, using the reference operator, `&`) rather than by a pointer reference or by value. Actually, this is [a gross oversimplification](http://tvtropes.org/pmwiki/pmwiki.php/Main/LaymansTerms), but …

Member Avatar for Schol-R-LEA
0
766
Member Avatar for centenond

As an aside, the wording here in the original post caught my eye: > i have write and erased many code,right now whats left is this... I was wonder, do you use any kind of source control? Even in small projects, revision control is very useful, if only because it …

Member Avatar for Schol-R-LEA
0
172
Member Avatar for daystarsam

Do a search on the [Travelling Salesman Problem](https://duckduckgo.com/?q=travelling+salesman+problem&t=ffnt&ia=about), for details as to the algorithmic complexity of the problem and various solutions available for it, but keep in mind that your professor **will** - not might, but definitely will - do the same search as well. Copying the code from any …

Member Avatar for Schol-R-LEA
-2
136
Member Avatar for Ahmed91za

[Check the stickies before posting](https://www.daniweb.com/software-development/cpp/threads/70096/c-books). As for which ones are best, you'd probably at least two different answers from every C++ programmer out there.

Member Avatar for vijayan121
0
175
Member Avatar for Ahmed91za

OK, let's start off by clearing up a misconception you seem to have. HTML and CSS are not programming languages at all; HTML is a markup language (that is to say, it is used to define the structure of a document), while CSS is a styling language (it is used …

Member Avatar for Schol-R-LEA
0
627
Member Avatar for usmanjani

As NathanOliver said, the Borland `graphics.h` header, and the library it declares, are not standard C++; indeed, there is no standard graphics package for C++. The Turbo C++ package, furthermore, was specific to MS-DOS, and while programs written for it would work under Windows in the command shell prior to …

Member Avatar for Schol-R-LEA
-1
245
Member Avatar for vegaseat

I am fairly certain that Vegaseat was poking fun at the 'Is Lisp a Legacy Language?' thread when he posted this. Or maybe at the whole concept of 'legacy languages' in the first place, especially when questions about *new* languages like Go also end up getting posted here for lack …

Member Avatar for vegaseat
0
399
Member Avatar for printf

You might have some more luck if you try searching the [OSDev forums](http://forum.osdev.org/), or read their [wiki](http://wiki.osdev.org/Expanded_Main_Page). There aren't many os-devers on Daniweb AFAICT, and I expect that this question (or ones like it) has been addressed there in the past. You absolutely should read the [Introduction](http://wiki.osdev.org/Introduction), [Required Knowledge](http://wiki.osdev.org/Required_Knowledge), [Beginner's …

Member Avatar for printf
0
169
Member Avatar for XP78USER

Crazy for wanting to write an operating system? No, I wouldn't say so. Overly ambitious perhaps, but not crazy. There are dozens if not hundreds of OS developers (or would-be OS developers) around, even if you discount those on established projects like Linux and FreeBSD. I've been puttering around with …

Member Avatar for Schol-R-LEA
0
176
Member Avatar for Niloofar24

Asking for help in an illegal activity is a violation of [Daniweb forum rules](https://www.daniweb.com/community/rules), specifically: > Do not ask for help to pursue any illegal activity including, but not limited to, hacking and spamming

Member Avatar for Niloofar24
-4
538
Member Avatar for nsm2015

As Gribouilis said, there is only so much we can suggest without doing the work for you. As for data structures, there are three options I can recommend, in order from least preferred to most: * Use a list consisting of lists of exponent:coefficient pairs (you want the exponent first …

Member Avatar for vegaseat
-1
161
Member Avatar for alexx006

**Mayukh_1**: Given that the OP has not been on Daniweb for two months, I think we can call this a dead thread.

Member Avatar for Schol-R-LEA
0
297
Member Avatar for ashhad kamal

> how can i make a calculator using function and procedure.. With all due respect, this is far too broad a question for us to try to answer, even if we were inclined to do the work for you in the first place - which we are not. NathanOliver's answer …

Member Avatar for NathanOliver
0
224
Member Avatar for siddy

*/me covers ears from the shouting* As Moschops said, it depends on the operating system, on the C compiler and libraries you are using, and in some cases, the specific type of console you are working with. I'm going to guess that you are working with a DOS console running …

Member Avatar for vegaseat
0
165
Member Avatar for shannon_92

As JWenting says, the research is yours to do. We can only give advice. That having been said, I would start by going over the languages you are already familiar with, and see what relevant libraries are available for each. In most cases, the frameworks in question should work with …

Member Avatar for vegaseat
-1
420
Member Avatar for Riya_2

You have the right general idea,except that you want to look for a category of letter forms, not just a single letter; also, the set of letter forms which have a descender (`'gjpqy'`) is constant, so there's no need to pass a list of them as a function argument.

Member Avatar for woooee
0
192
Member Avatar for tapananand

If you need one other suggestion which would cover both computer science and software engineering, and involves an actual open research problem, you might look into the question of compiling and linking generics (such as C++ templates) in an object format. It is a difficult issue because instantiating a generic …

Member Avatar for q-_-p
0
526
Member Avatar for manateejoe

Given that you never actually call `create_widgets()`, I would expect that it wouldn't display the button in question at all. Similarly, as it is now, it is set up to read from the serial port without regard to the button state (if the button were created in the first place). …

Member Avatar for woooee
0
2K
Member Avatar for basit_3

> Why String^ to just a string?? change that. **@ritchieking**: Presumably, basit_3 is working in C++/CLR (C++ for .Net, formerly called Managed C++), which despite what Microsoft says is in some ways a different language than Standard C++. The `String` class is a .NET Framework class, and the `^` operator …

Member Avatar for NathanOliver
0
180
Member Avatar for TObannion

>I keep getting an error for "password was not declared in this scope" in main. As tinstaafl pointed out already, that is because `password` isn't declared in `main()`, and in any case you are using a C-string (a zero-delimited character array, as used in the C language, the predecessor of …

Member Avatar for ROMEO VINEET
0
3K
Member Avatar for alex0220

Just to clarify what Slavi said, you only need to have this line in the actual code: salary = salary - (salary * (25.0 / 100.0)); The other lines just describe the computation. Note also that I changed the numbers to have decimal points followed by a zero; this is …

Member Avatar for Schol-R-LEA
0
450
Member Avatar for marsimoi tolesa

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 a pattern here yet? No one here will simply hand you a solution on a silver platter. If you show …

Member Avatar for Schol-R-LEA
0
443

The End.