5,237 Posted Topics

Member Avatar for aveenav

> 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 …

Member Avatar for rick22
-1
120
Member Avatar for csnoob

> 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. …

Member Avatar for sanzilla
0
94
Member Avatar for JRM

> 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?

Member Avatar for vijayan121
0
148
Member Avatar for jaepi

> 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 …

Member Avatar for Nick Evan
0
323
Member Avatar for CodeBoy101

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]

Member Avatar for CodeBoy101
0
134
Member Avatar for loimarie
Member Avatar for LoloftheRings

> 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.

Member Avatar for Duoas
0
260
Member Avatar for Ene Uran

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).

Member Avatar for maravich12
0
309
Member Avatar for briansmall

> Speed or perfection? Actually, it goes like this. "Fast, Cheap, Good - pick two".

Member Avatar for Lardmeister
0
124
Member Avatar for nvnq

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]

Member Avatar for technogeek_42
-2
147
Member Avatar for technogeek_42
Member Avatar for lazyboy292

OK, so what is your question? Maybe start with reading a line and breaking it into words.

Member Avatar for John A
0
108
Member Avatar for prljavibluzer

10/10 for translation, 0/10 for [URL="http://www.daniweb.com/forums/announcement118-2.html"]effort[/URL]

Member Avatar for prljavibluzer
0
124
Member Avatar for sn_sundeep

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.

Member Avatar for Belrog
0
81
Member Avatar for achillez

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 …

Member Avatar for Belrog
0
143
Member Avatar for HazardTW

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 …

Member Avatar for HazardTW
0
648
Member Avatar for briansmall

Most blogs are like trees falling in a forest. They may make a noise, but no body cares.

Member Avatar for vmanes
0
125
Member Avatar for The Dude
Member Avatar for twomers
0
112
Member Avatar for gus898

[url]http://en.wikipedia.org/wiki/Category:Computer_file_formats[/url] Lists DMG and ISO - time to do some research.

Member Avatar for Salem
0
55
Member Avatar for vze2zv5v
Member Avatar for Narue
0
198
Member Avatar for comwizz

> 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 …

Member Avatar for Pranav Aggarwal
0
644
Member Avatar for MattEvans

> 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 % …

Member Avatar for MattEvans
0
114
Member Avatar for jaepi

Well this is the C++ forum, so use C++ functionality? According to C99, the second one is correct.

Member Avatar for Salem
0
94
Member Avatar for Dave Sinkula

> 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 …

Member Avatar for sneekula
0
553
Member Avatar for darkprogrammer

> 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 …

Member Avatar for Salem
0
107
Member Avatar for vinsudhir

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?

Member Avatar for Agni
0
105
Member Avatar for tamereth

> 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 …

Member Avatar for tamereth
0
178
Member Avatar for ithelp

> 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?

Member Avatar for Dani
-1
449
Member Avatar for mario123
Member Avatar for programmingnoob

> 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 …

Member Avatar for programmingnoob
0
131
Member Avatar for Serunson

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 ;)

Member Avatar for overwhelmed
0
145
Member Avatar for Jx_Man
Re: Gka

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 …

Member Avatar for Jx_Man
1
142
Member Avatar for prakash.kudreka
Member Avatar for Salem
0
91
Member Avatar for loushou

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 ) …

Member Avatar for Salem
0
273
Member Avatar for umar7001

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.

Member Avatar for umar7001
0
73
Member Avatar for rite2bobby

I've no idea how you would write it. Why not post an attempt to show your thoughts.

Member Avatar for JRM
0
119
Member Avatar for k2k
Member Avatar for rkavinash
Member Avatar for Narue

I do have a strange need for some Hawaiian cake all of a sudden though.

Member Avatar for vegaseat
0
135
Member Avatar for nnobakht

The 'exec' calls with a 'p' in the name perform the job of searching the PATH.

Member Avatar for Salem
0
93
Member Avatar for Villanmac

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 …

Member Avatar for vmanes
0
225
Member Avatar for twoheadedboy

You also need to be aware that the standard library trig functions work in radians, and not degrees.

Member Avatar for twoheadedboy
0
163
Member Avatar for rmd

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 …

Member Avatar for Salem
0
110
Member Avatar for hattusili

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.

Member Avatar for Salem
0
238
Member Avatar for BlackPelican

> 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.

Member Avatar for Salem
0
987
Member Avatar for smiles

You didn't change the Speech() prototype at the same time. It still thinks the function expects only 1 parameter.

Member Avatar for smiles
0
100
Member Avatar for shinoske

[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 …

Member Avatar for Salem
0
108
Member Avatar for zeiken

A nice resource list, should take you a few years to get through it thoroughly. [url]http://bloodshed.net/compilers/index.html[/url]

Member Avatar for Ancient Dragon
0
112
Member Avatar for DangerDev

[url]http://en.wikipedia.org/wiki/Integer_factorization[/url] Fortune and glory will be yours if you can solve this one.

Member Avatar for DangerDev
0
166
Member Avatar for seneye

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 …

Member Avatar for technogeek_42
0
176

The End.