5,237 Posted Topics
Re: > and error free solutions. And we're supposed to take your word for it? Why not post some answers here and see how they fare under the scrutiny of peer review before rolling up saying "I'm an expert, gimme money". > I am tutor at my school So if I'm … | |
Re: > How does the computer know that a bootdisk is in the drive to be loaded? You go into the BIOS, and you tell it which devices ( Eg. A: C: ) to attempt to load boot information from. The first one with a valid boot record boots the machine. … | |
Re: > My only interest is to get the thing operational enough to output some data Perhaps you could install xenix 386 inside a virtual machine, then run your old app inside that? | |
Re: > It executed two "su" commands. Yes it will (as written). After fork() returns, then you have two processes doing exactly the same thing (for a short while at least usually). Mostly, it works like this [code] pid = fork(); if ( pid == 0 ) { // in the … | |
Re: You don't need threads, just a means of reading all your input device(s) without blocking. [URL="http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1045691686&id=1043284392"]For example, this.[/URL] | |
Re: [url]http://www.lvr.com/parport.htm[/url] | |
Re: > I've been trying with resources but the only results were errors Perhaps posting some actual error messages would elicit a more useful (and targeted) response. | |
Re: Yes I'll be watching, but only on a delayed broadcast. So for myself, and many others who won't be watching it live, we would collectively appreciate if people didn't post messages with the final score in the topic title (for example). | |
Re: > Speed or perfection? Actually, it goes like this. "Fast, Cheap, Good - pick two". | |
Re: Congratulations on breaking pretty much every rule in the book in one single post. [url]http://www.catb.org/~esr/faqs/smart-questions.html[/url] | |
Re: [url]http://david.tribble.com/text/cdiffs.htm[/url] | |
Re: OK, so what is your question? Maybe start with reading a line and breaking it into words. | |
Re: 10/10 for translation, 0/10 for [URL="http://www.daniweb.com/forums/announcement118-2.html"]effort[/URL] | |
Re: Personally, I think I would use GIMP (which is free), and has it's own scripting language for performing all sorts of transformations on images. Even if you want to stick with mspaint, I think using a windows scripting language would be preferable to using a C program to drive mspaint. | |
Re: Nothing wrong with the compiler, just bugs in your code. [code] $ gcc -W -Wall -ansi -pedantic -O2 foo.c foo.c: In function `main': foo.c:5: warning: unsigned int format, different type arg (arg 2) foo.c:7: warning: control reaches end of non-void function [/code] If you fixed the scanf format to be … | |
Re: How many attempts does it take to write an OS - 10, 20 maybe? > They are splitting up the components of it so e.g the graphical server isnt a part of the > main kernel to prevent a GUI crash taking out the system So something everyone else was … | |
Re: Most blogs are like trees falling in a forest. They may make a noise, but no body cares. | |
Re: Some people exist only to serve as an example to the rest of us. | |
Re: [url]http://en.wikipedia.org/wiki/Category:Computer_file_formats[/url] Lists DMG and ISO - time to do some research. | |
Re: [url]http://www.daniweb.com/forums/announcement8-2.html[/url] | |
Re: > chect it out Friend 1. It's 2 years too late (check the post dates). 2. You didn't read the intro messages to learn about code-tags. 3. `#include<iostream.h>` This is an obsolete header. It hasn't been valid for the last 10 years (where have you been?) 4. `#include<string.h>` This isn't … | |
Re: > By the way, a matrix/vector with a flag bit for every possible input isn't gonna be good Why not? [icode]unsigned long flags[625]; // 20,000 bits.[/icode] Testing to see if 'val' has been seen is just [code]if ( flags[ val / 32 ] & ( 1ul << ( val % … | |
Re: Well this is the C++ forum, so use C++ functionality? According to C99, the second one is correct. | |
Re: > distrust of government as "a ceiling on our greatness" Because all those regimes which had a compliant population who let them get away with whatever they wanted to have all turned out so fabulously right? As well as being a "ceiling", it's also a "floor" in the otherwise bottomless … | |
Re: > im looking for a book or two that will teach me MS Visual C++ 2008 Express Edition So you already know - how to program - how to program in C++ If you don't know those things, then jumping right in at the deep end doesn't seem like a … | |
Re: Make it 3 forums with the same question and no acknowledgement of it being read. [url]http://cboard.cprogramming.com/showthread.php?t=98349[/url] [url]http://www.go4expert.com/forums/showthread.php?t=8493[/url] Is there any part of [URL="http://www.catb.org/~esr/faqs/smart-questions.html#forum"]choos your forum carefully[/URL] which is causing you trouble? | |
Re: > My program works properly under windows, however, it seg faults when > I try to compile/run it under linux. Unfortunately, that just makes you lucky, not good. Code sometimes works, despite your best attempts to muck it up. Yet at other times, even the most minor transgression is severely … | |
Re: > As you have got 1700+ posts , You can rent a link in your signature > and earn $10-$20 per month per link in your signature. Wow, so the 20K+ posts I've got scattered between my 3 favourite forums is worth what then? | |
Re: > I really need your help in this one. Why? Notice how this is actually a question, which is more than you managed to post, which was just a dump of your assignment, and excuses for not doing it. > Our professor asked us to program a simulation of soccer … | |
Re: Read post #4, part of the calculation is length of membership, which Dani wins hands down. My relatively recent join date and low post count does me in, despite the lush field of green ;) | |
Re: Are you expecting an answer other than [URL="http://clusty.com/search?query=Genetic+K-means+Algorithm&sourceid=Mozilla-search"]STFW[/URL]? > i have been looking for this article from internet but i didn't get the good one And that's supposed to help us how? What does "good" mean to you? - written in your native language - comes with commented source code … | |
Re: Is the single linked list already sorted, so identical elements are adjacent? | |
Re: The first question is why are you using something as clunky as realloc in a C++ program? The second problem is you're using realloc in an unsafe manner. You need to do this. [code] void *temp = realloc ( p_Verts, sizeof(OURCUSTOMVERTEX) * i_CountVerts ); if ( temp != NULL ) … | |
Re: Read the rules - [url]http://www.daniweb.com/forums/announcement8-2.html[/url] Post an attempt, or at least try to describe your thoughts on how it should work. | |
Re: I've no idea how you would write it. Why not post an attempt to show your thoughts. | |
Re: You need to close the file before trying to rename it. | |
Re: [url]http://www.newty.de/fpt/fpt.html[/url] Perhaps? | |
Re: I do have a strange need for some Hawaiian cake all of a sudden though. | |
Re: The 'exec' calls with a 'p' in the name perform the job of searching the PATH. | |
Re: Given that the OP referred to a "7 segment display", one assumes that this is some small scale embedded platform with either an 8 or 16 bit processor, and not much in the way of API calls. So sizes of data types can only be inferred, not quoted. If the … | |
Re: You also need to be aware that the standard library trig functions work in radians, and not degrees. | |
Re: Why don't you give it a go, see how far you get, then post what you can achieve yourself. Then we'll tell you where you're going wrong, and suggest how you should proceed towards your goal. It'll teach you a lot more than simply looking at someone else's code. You … | |
Re: Your best bet at getting Unix / Linux code to compile on a windows machine is to grab [URL="http://www.cygwin.com/"]cygwin[/URL], then run the setup utility to get gcc, then compile your code. | |
Re: > if (iResult = 1); 3 things wrong here 1. Use ==, not = 2. Remove the trailing ; 3. Add lots more { } to make your intentions obvious to all. | |
Re: You didn't change the Speech() prototype at the same time. It still thinks the function expects only 1 parameter. | |
Re: [url]http://en.wikipedia.org/wiki/Big_O_notation[/url] It's an estimate of the complexity based on the algorithms you use. It doesn't care about such things as your operating system, programming language, hardware. It's merely to suggest that if you double the data size, does the time taken also double (O(n)), or quadruple (O(n*n)). You can't compute … | |
Re: A nice resource list, should take you a few years to get through it thoroughly. [url]http://bloodshed.net/compilers/index.html[/url] | |
Re: [url]http://en.wikipedia.org/wiki/Integer_factorization[/url] Fortune and glory will be yours if you can solve this one. | |
Re: If you're serious about programming, then you're going to end up learning several languages in some detail, and at least be familiar with a good many more. Learning to program is like learning to drive. Having learnt to drive, whether you then choose a Ferrari, an MPV or an 18-wheel … |
The End.