1,684 Posted Topics

Member Avatar for ndeniche

[QUOTE=joshSCH;418000]..obviously there is some controversy as to whether homosexuality is a choice or 'genetic'.[/QUOTE] That's not true. That is, there is not a dichotomy between it being a 'choice' and being 'genetic'. A condition can be congenital but not genetic, and it can be a result of environmental (chemical) stimuli. …

Member Avatar for chrishea
0
1K
Member Avatar for ndeniche

All common human behavior has evolutionary causes. Societies that carried 'gay genes' apparently held some advantage over those that didn't. To treat evolution as a contest between individuals is to be mistaken. Also, not all human attributes are genetic, though -- some congenital attributes have to do with conditions in …

Member Avatar for GrimJack
0
2K
Member Avatar for Coach_Nate
Member Avatar for djbsabkcb

Your fibonacci function runs in exponential time. Let me put it this way: Suppose that it takes 1 microsecond to compute fib_num(0) and fib_num(1). Then, in computing fib_num(2), you'll call fib_num(0), which takes 1 microsecond (mms, I'll abbreviate), and fib_num(1), which also takes 1 mms. This means that fib_num(2) will …

Member Avatar for josh2k12
0
2K
Member Avatar for gtsreddy

Dev-C++ is not a compiler. You should try having reasons for your opinions in the future, it's a better strategy for being right.

Member Avatar for vijayan121
0
718
Member Avatar for brahle

Don't give up brahle! You'll just get used to always making sure you're not overgeneralizing, the way we all did when we slammed into Narue...

Member Avatar for neithan
0
2K
Member Avatar for khongdaubang
Member Avatar for klactose
Member Avatar for happygeek
Member Avatar for drjay1627
Member Avatar for AliyaDesouza
0
145
Member Avatar for jmichae3

> Therefore, if someone posts an article or tutorial on DaniWeb, we require full copyrights to that content, because we need to make sure that it doesn't get published elsewhere, therefore damaging us with the search engines. By having these rights, we are able to go after other publications that …

Member Avatar for Dani
0
654
Member Avatar for orionscode

If you can't learn trigonometry and calculus, I don't think you'll be able to get through a bachelor's in college, no matter what your degree is, since most require calc as part of the general education requirements. Though universities do have different definitions of what constitutes having 'learned' calculus... Also, …

Member Avatar for ThatGuyEli
0
1K
Member Avatar for Sadun89
Member Avatar for Sadun89
0
3K
Member Avatar for Tony13

For the first programming language to learn, the universal recommendation is Python. Many people will argue you *can* go wrong with Java (to contradict the sentence fragment hwoarang69 emitted) and your goal, being to get your mental model of programming up and running, is best served with Python. (Other languages …

Member Avatar for dawidbrook
0
156
Member Avatar for chriswelborn

Hello Christopher Welborn. Thanks for posting your code. By posting your code, you have granted DaniWeb an exclusive copyright license to your code according to DaniWeb's terms of service. You may no longer use it and have no rights to you code. Please delete your code from your computer. As …

Member Avatar for chriswelborn
2
368
Member Avatar for Lostelf

Hello lostelf and speakon. Thanks for posting your code. By posting your code, you have granted DaniWeb an exclusive copyright license to your code according to DaniWeb's terms of service. You may no longer use it and have no rights to you code. Please delete your code from your computer. …

Member Avatar for rithish
0
381
Member Avatar for ckwolfe

The proper functions are the basic string handling functions. It's called programming. There might be some command line parsing library but it is so trivial to support this feature yourself.

Member Avatar for sepp2k
0
231
Member Avatar for nyuszi
Member Avatar for sepp2k
0
181
Member Avatar for totalwar235

A master's in computer science is basically worthless when it comes to causing increased future life earnings. Actually, it has negative value, because of the lost year or two. It might be *correlated* with higher earnings (or might not) but don't be fooled into thinking that's a causative effect. > …

Member Avatar for jenni01
0
377
Member Avatar for silvercats

Hello silvercats. Thanks for posting your code. By posting your code, you have granted DaniWeb an exclusive copyright license to your code according to DaniWeb's terms of service. You may no longer use it and have no rights to you code. Please delete your code from your computer. As the …

Member Avatar for WaltP
0
2K
Member Avatar for BinodSuman

Well you certainly can't do it that way, it's against the law. By posting your code, you have granted DaniWeb an exclusive copyright license to your code according to DaniWeb's terms of service. You may no longer use it and have no rights to you code. Please delete your code …

Member Avatar for softswing
0
500
Member Avatar for osiron

Unfortunately your problem is not solved, you'll have to rewrite everything, your code is illegal for you to use. By posting your code, you have granted DaniWeb an exclusive copyright license to your code according to DaniWeb's terms of service. You may no longer use it and have no rights …

Member Avatar for osiron
0
181
Member Avatar for Qonquest

Hello Qonquest, unfortunately you no longer have the legal right to use the code you have written. By posting your code, you have granted DaniWeb an exclusive copyright license to your code according to DaniWeb's terms of service. You may no longer use it and have no rights to you …

Member Avatar for deceptikon
0
1K
Member Avatar for Hammad Akhtar

He posted it so that he would become legally prohibited from using the code under other circumstances.

Member Avatar for Ancient Dragon
0
144
Member Avatar for complete
Re: MVC

> What is MVC really? A design pattern. > Is "model-view-controller" basically the way all ASP.NET programs in Visual Studio are made? No. Certainly not. Programs using the ASP.NET MVC framework, on the other hand, might use the design pattern. Unless ASP.NET MVC framework actually is designed for a different …

Member Avatar for princysharma90
0
387
Member Avatar for mike_2000_17

Having a variable named `l` is a bad idea. Overloading the address-of operator is a terrible idea.

Member Avatar for mike_2000_17
3
1K
Member Avatar for Pyler

> Note that I fixed a few other issues as well... :-) Oh really? Now Valgrind can't catch uninitialized value errors when somebody forgets to initialize the object with setvolume.

Member Avatar for Rashakil Fol
0
255
Member Avatar for android22

Did you change your BIOS settings back? Also, unplug your monitor cable and plug it back in, at both ends. Also, unplug your monitor power cable and plug it back in, at both ends (sorry, I know you know I'm assuming you're a bit retarded here, just do it). Unplug …

Member Avatar for android22
0
103
Member Avatar for asif49

> The website will be developed with PHP, MySQL, and several other established open source languages + technologies. The reason I list the two above technologies is because I remember hearing some stuff about a MySQL license that prohibits people from using it publically for profit, or selling software that …

Member Avatar for asif49
0
139
Member Avatar for wallet123

That is a low-specced laptop by modern standards, but it's not a cheap piece of trash by merit of being made by Lenovo, your classmate is an idiot. It's cheap because Lenovo's Ideapad line is a bunch of cheap laptops. Obviously if you're going to get the laptop that costs …

Member Avatar for wallet123
0
283
Member Avatar for Lucaci Andrew

You don't have to define a _SIZE macro to initialize the size of the vector to zero... If anything you should use const ints instead of #defines, but in this case just put a 0 in the code. Also _SIZE is a reserved word under POSIX, since it begins with …

Member Avatar for Rashakil Fol
0
500
Member Avatar for napninjanx

The answer is that yes, exploiting security holes requires programming. And finding them requires knowing how to code, too. (Or we could get butthurt and chatter on about how one person could write the code and another might deploy it, and gosh, some people are *morally wrong*, how dare they …

Member Avatar for firdousahmad
0
228
Member Avatar for jillianking8751
Member Avatar for abbafan

Look up "random shuffle" algorithms. The way it works is that you fill the array with N values, and then you pick which value should go last, picking a number from 0 to N-1. Then swap that value with the one in the last position. Then pick a value which …

Member Avatar for Rashakil Fol
0
229
Member Avatar for alvarogomezuria

What you actually want to do is return a pointer to a function. (Or, perhaps you really want to return a `std::function<void(YType, ZType)>`, which is different, but the first thing to learn is how function pointers work.) Search for "function pointers" and learn how they work, they'll do what you …

Member Avatar for alvarogomezuria
0
204
Member Avatar for veledrom

The Python documentation on the website provides a suitable introduction.

Member Avatar for Rashakil Fol
0
173
Member Avatar for veledrom

In python you don't have to declare types and you don't have to declare interfaces, the way you do in certain other languages, and it has certain constructs like list comprehensions and general "functional" features that let you avoid having to write things in terms of declaring local variables and …

Member Avatar for Rashakil Fol
0
165
Member Avatar for asif49

700 million records is not a lot for one machine. (Several million users trying to retrieve information from 700 million records would be a lot, though.) Facebook has many many more records than that, because there are many postings and photos per user.

Member Avatar for Rashakil Fol
0
254
Member Avatar for asif49
Member Avatar for Labdabeta

Just forget the desktop and crazy remote desktop schemes. You don't need a desktop for anything, and remote desktop will get tiresome fast. You should get a laptop and an external monitor. It'll have more power than you could need. You should get a Thinkpad T430 with Ultimate-N wifi, a …

Member Avatar for Labdabeta
0
449
Member Avatar for Rashakil Fol

When I go to reply to a post, the textbox is absurdly tiny, and since it's no longer a browser textarea, it can't be resized using browser controls. It's basically unusable. Also I'm not contributing an article when making this post. I am creating a new thread.

Member Avatar for Dani
1
423
Member Avatar for txhornsfan

Maybe your system is broken, and doesn't flush the output buffer (or displays it incorrectly) when the program exits. Try adding a `cout << flush` or perhaps a `cout << endl` before exiting main.

Member Avatar for Lucaci Andrew
0
223
Member Avatar for fatzky_04

Do a depth-first traversal through the decisionspace, ordering by expected time of finishing the design having made that decision.

Member Avatar for mike_2000_17
0
120
Member Avatar for reenarankawat
Member Avatar for technoknol
Member Avatar for coolbeanbob

More succinctly: > I know .NET is a Microsoft framework. I currently use Visual Studio 2008 for C++ programming in school. Am I using .NET? No. > What is .NET? More specifically, is C++ a .NET framework by default? Does it just relate to the class libraries? .NET, in terms …

Member Avatar for nmaillet
0
100
Member Avatar for mike_2000_17

Generally speaking, having different linking structures overlaid on the same information is a very normal thing. A common example is when you want a one-to-one bidirectional dictionary, where you can lookup values by key or keys by value. The appropriate solution is situational. If you have, for example, things concurrently …

Member Avatar for mike_2000_17
0
681
Member Avatar for charl_i

This is not a computer science question. And it's not interesting. Also the answer is that there are no such tools. (Or if there are, they aren't good. Heck, there aren't any good 2D UML tools. The fact that you're specifically asking for 3D instead of simply the most optimal …

Member Avatar for internetscooter
0
815
Member Avatar for BobLewiston
Member Avatar for stereomatching

Look for books on Objective-C. Objective-C++ is just Objective-C with C++ features. Once you've learned Objective-C, you'll know how to use Objective-C++.

Member Avatar for stereomatching
0
422

The End.