244 Posted Topics
Re: Scammers are scum, but idiots who buy into the scams are only pitiable. The road to hell is paved with..... | |
Re: The day they interrupt my mortgage payments then i'll give a sh*t. Until then who cares. If they're out there i hope they have good spaceship insurance (that's got to be a risky game). | |
Re: simple gcd [CODE]int g_c_d(int a,int b) { if(b==0){return a;} else{return g_c_d(b,a%b);} }[/CODE] | |
Re: Does charm and wit a good president make? (or just a popular one) | |
| |
| |
![]() | Re: [QUOTE]Note, I don't take ratings seriously (especially on DW)[/QUOTE] I think you do. Go on admit it, you'll feel better about yourself.:) |
I have got to get one of [URL="http://www.bbc.co.uk/news/technology-12997245"]these[/URL].:icon_cool: | |
Re: [URL="http://www.daniweb.com/software-development/c/118"]http://www.daniweb.com/software-development/c/118[/URL] | |
Re: He could probably bluff the bad code as his own though.;) | |
Re: I recommend running some tests to find out where the code is going wrong (some simple cout commands may suffice), then post the appropriate piece of code that is causing the problem. There are some here who may go through all those lines of code to find your error, but … | |
Re: Don't stop helping, i haven't seen a rant like this in ages.:twisted::D | |
Re: you need to go back to your notes. this is all wrong. | |
Re: try goggling "Gaussian elimination". | |
Re: Solid, Liquid, Gas, and perhaps Liquid Crystal. That's me done. | |
Is there a way of telling from a post (including my own) if someone just isn't cut out for programming? For example a really simple piece of logic not being understood (as opposed to a lack of knowledge of the language). | |
Re: Are the big eyes an aspiration or an identity crisis? | |
1. When posting a link, how do i make my link look like [COLOR="Red"]here[/COLOR] instead of [url]http://blablabla?[/url] 2. When quoting someone else, how do i let people know who i'm quoting? 3. How do i create a link like this?[URL="http://www.daniweb.com/community-center/geeks-lounge/threads/341464"]http://www.daniweb.com/community-center/geeks-lounge/threads/341464[/URL] | |
Re: Give that you quit something because it wasn't easy, then it probably doesn't matter what you choose. | |
Re: [URL="http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming"]Go learn.[/URL] | |
Re: 1. use code tags 2. [QUOTE]This is my first time writting aprogram[/QUOTE] what happened to the hello world one? Either this is your first program(doubtful) or it's not your's. If it's the latter then i doubt you'll get much help here. Tip: try being honest and specific (works a treat). | |
It may not turn out as you [URL="http://www.dailyrecord.co.uk/news/weird-news/2011/03/22/blundering-surgeons-cut-off-man-s-testicles-86908-23007198/"]expected[/URL]. ![]() | |
Re: Is that not the same everywhere? Swapping one power hungry idiot for another. | |
Re: [QUOTE]I'm good thanks. How are you? [/QUOTE] [QUOTE]No, just tired of life. Ready for infinite happiness. [/QUOTE] perhaps not so good. | |
Re: really? first post each and a link to a site? (i may be getting cynical in my old age, please excuse me.) | |
Re: A really bad solution (i think) would be create 2 vectors push all ints i.e if they are between 2 ASCII values into 1 then all chars, same again, into another, sort them, then use the 2 vectors to repopulate the array. I think it would work but i imagine … | |
Re: or [CODE]#include <iostream> using namespace std; int readmiles( ); double calcKM(int numMiles); int main( ) // calls readmiles & calcKM { int numMiles = 0; double distKilo = 0.0; numMiles = readmiles( ); calcKM(numMiles); cout << "Total miles in kilometers is : " << distKilo << endl; system("pause"); return 0; … | |
Re: What did you expect to get, and what did you get? | |
Re: An alternative might be to read them in main into a vector and pass the address of the vector to the functions as a second argument. | |
Re: You have a global variable N which you give no value, then you pass this to [B]perfect[/B] with no declared value, then inside perfect you ask the user for a value of N. This can't be good. Also why call isfactor from main when it's being called from perfect. I'm … | |
| |
Re: [CODE]for (int index = 0; index > size ; index++)[/CODE] This could be your issue. Please use code tags, you will get more help. For this to run size would have to have a negative value and as you increment index it will always be larger, so infinite loop. | |
Re: As i have no idea what IRC is, but it has piqued my interest, could anyone explain it to me and give a hint as to why i might be interested in using it? Genuine question. | |
![]() | Re: I think Italy and Scotland need to be switched. I would love to be more upbeat but hey im a realist. |
Re: That would still be 1 member. I think the point is that the main page displays how many members there are, yet these members are not necessarily active. | |
As a beginner i am very thankful for the advice given by people who clearly know far more about the subject than myself. I have answered some threads that i feel i understand (sometimes), but i regularly see "experts" answering the most basic of questions (including mine). Are you people … | |
Re: [QUOTE]but what do i need to learn first to master all language im dedicated to study hard and master the languages[/QUOTE] everything. I know there are people out there who use multiple languages (almost all programmers i believe), but i have not came across anyone who has mastered all languages. | |
Re: You could use another variable eg y=2, and make x+=y, then increment y in the loop. Although this wouldn't work for the first number, an extra cout before the loop would do the trick though. Be aware this is probably a very unelegant way of doing it. | |
Re: I didn't understand the most of that link, but kudos on a huge rant. | |
Re: I believe he is suggesting compiling the program, checking the output and then now that you know the answers figuring out how they came to be so. If i'm wrong jonsca please correct me (don't want to put words in your mouth).:) | |
I managed ~120 in c++(no big-nums in c++, made it a bit harder) with no external libraries and a "very" limited knowledge of programming. Have hit the wall now (mostly the math i think). Has anyone else given this a go and how did they do? This is not supposed … | |
Re: [QUOTE]Perhaps 2012 is when climates change and species who don't adapt will not survive including humans.[/QUOTE] Does any species adapt better than us? We have colonised almost every part of the planet, every enviroment from tundra to desert. | |
Re: I met the monster once. If you want to know what he said to me, go [URL="http://www.visitlochness.com/"]here[/URL]. Please bring lots of good foreign money.:) | |
Re: Does anyone actually know what the question is? Does the OP? | |
Re: [QUOTE=arkoenig;1505496]It's just an unnecessarily clever one.[/QUOTE] Then what was the point? ([B]unnecessary[/B]) | |
Re: put count in main and everytime you call the function add 1 then have that number passed to howMany(int a) (howMany should take an int) like howMany(count). | |
The End.