2,839 Posted Topics
Re: Your signature spam doesn't show in blogs :) --> Fail! | |
Re: [QUOTE=QueenKirsty;1189502]Thanks. I was hoping for a "one app does all" quick fix response but I guess that's just not practical! I will now go start digging through the lists.... :o)[/QUOTE] Most systems which can handle a great variety of tasks, do a shitty job in all of them. It's (in … | |
Re: Continued [URL="http://www.daniweb.com/forums/post1189705.html#post1189705"]here[/URL]. Closed | |
| |
Re: [QUOTE=Narue;1186962] I love it when people ignore my help and then thank me. It's even better when they choose a horrible solution in favor of my superior recommendations. :icon_rolleyes:[/QUOTE] Do I detect some "sarcasm" here? :icon_razz: | |
Re: Your return-type for "dateConversion" in the declaration is "char" (line 23). This means it can only return ONE character. That's problem numero uno. The next problem is that the definition of "dateConversion" returns "void" (line 182), which means it returns nothing. This code should not compile. What compiler are you … | |
Re: Non English -> Closed. From the rulebook: [QUOTE]We strongly encourage all posts to be in full-sentence [I][B]English[/B][/I]. [/QUOTE] | |
Re: [QUOTE=angel19;1185091]Is there any possibility to change the code and have the OO etc added?[/QUOTE] Yes | |
Re: Wow, that was a problem I never encoutered before, but I solved it :) This piece of code [code] else if( y1 < -((windowHeight)[COLOR="Red"]–[/COLOR]rsize+ystep) ) y1 = -windowHeight + rsize -1; [/code] should be replaced with this: [code] else if( y1 < -((windowHeight)[COLOR="Green"]-[/COLOR]rsize+ystep) ) y1 = -windowHeight + rsize -1; … | |
Re: Using [URL="http://www.google.com/search?btnG=1&pws=0&q=sorting+algorithms"]this[/URL], I found [URL="http://www.sorting-algorithms.com/merge-sort"]Merge sort.[/URL] (It was the second link) | |
Re: You missed a opening bracket after this line: [icode] if (AcctType == 'c' && CurrentBal < MinBal)[/icode] What IDE are you using? A lot of them (like visual studio, or code::blocks) have features to auto-format your code (indent it), so you don't have to worry about it yourself. | |
Re: [icode]player1Choice == "S"[/icode] is wrong. You can't compare a char to a string. Using single quotes instead. Also you forgot to include [icode]using namespace std;[/icode], this shouldn't even compile. What compiler are you using? and next time use [URL="http://www.daniweb.com/forums/misc-explaincode.html"]code-tags[/URL] when posting code. [edit] @tonymuilenburg: We don't hand out out ready-to-go … | |
Re: [QUOTE=vbx_wx;1184311]c it never reaches the if() part[/QUOTE] Which of the both? | |
Re: [QUOTE=bonyshine;904864]i dont think its interesting[/QUOTE] I agree. I mean: Why would you learn how to spell? It's not like anyone cares about that in say, your application letter right? I'm sure that there are plenty of companies that'll hire someone who can't spell, can't think of a project and after … | |
Re: Are you sure that this is the EXACT code you're running? Because this line: [icode]while (rom != "")[/icode] shouldn't even compile... | |
Re: [QUOTE=VernonDozier;1164055][URL="http://www.daniweb.com/forums/thread90228.html"] Exhibit A[/URL] Some bumps are worth reading.[/QUOTE] But what you can't see is the dozen of posts deleted by moderators on that thread, all asking for help, promoting signature-links, or mee-too'ing. But you're right, some bumps are worth reading. The problem is that most of them aren't :( | |
Re: [QUOTE=roin14;1174729]write the two grading programs. [/QUOTE] You would probably learn more if you [URL="http://www.daniweb.com/forums/announcement8-2.html"]wrote them yourself[/URL] :icon_wink: | |
Re: [QUOTE=jephthah;1178943]dont bring your parents and teachers into this. they're already terribly upset at how spectacularly they FAILED with you. seriously, [I]<<snip, snip, snip & snip>>[/I][/QUOTE] You're currently this --> || close to getting (another) "keep it pleasant" infraction, which will get you banned for the next 6 months. Have a … | |
Re: [QUOTE=Ancient Dragon;1179144]which is non-standard and not supported by all compilers.[/QUOTE] Good thing you added that, or else Dave Sinkula would come by and accuse you of all kinds of bad coding practices :D | |
Re: [QUOTE=jephthah;1171122]ah, grown men loitering on playgrounds late at night.[/quote] Yup, you can easily spot them when they drive up in their ride: [ATTACH]14136[/ATTACH] .... | |
Re: [QUOTE=GrimJack;931849][URL="http://www.youtube.com/watch?v=wM9qsjqcfAw"]VORTEX ACCUMULATOR BLACK MIRROR[/URL][/QUOTE] They should put warning labels on this kind of videos. Now where did I leave my pills..? | |
Re: [QUOTE=pinknblu;1167382] and it say's: 'ch_p' : undeclared identifier [/QUOTE] So in this piece of code: [code] int Len_String(char *p) { int length = 0; while (*[COLOR="red"]ch_p[/COLOR] !='\0')[/code] Where exactly did you declare ch_p? | |
Re: [URL="http://www.daniweb.com/forums/thread67837.html"]Clicky[/URL] | |
Re: Thread was reposted [URL="http://www.daniweb.com/forums/post1176484.html#post1176484"]here[/URL] | |
Re: [QUOTE=Ancient Dragon;1175531]your other thread.[/QUOTE] Which is [URL="http://www.daniweb.com/forums/thread272042.html"]here[/URL]. Closed. | |
Re: >> so, what's your point? It's called "spam". We have a "flag bad post" link for it. If you'd used it, I could've just deleted the thread instead of leaving behind this rubbish. I feel like we've been over this before, not too long ago... :D closed. | |
Re: [QUOTE=nu_bot;1173910] my business is data collection [/QUOTE] We are not going to assist in the n-th email-harvester. Now you have to convince me that your request is legitimate or this thread is off. | |
Re: [QUOTE=MyrtleTurtle;1168200] What do you think about creating a forum for members to report posts? Besides 'wrong forum' posts, I'm sure you have people posting other 'undesirable' content here (spam, etc). Why not have a way for members to report it, so it gets taken care of quickly? [/quote] You mean … | |
Re: And: [icode][B]void char[/B] play_again(...[/icode] . What does this function return? void or char? | |
Re: [QUOTE=Xlphos;1171314]Is there anyway to delete your own post? [/quote] nope. [QUOTE=Xlphos;1171314] I have found my self replying to threads that are weeks old.[/QUOTE] If you made a descent reply, then why want to delete it? | |
Re: I'm closing this thread. No need to start a flamewar over a [B]4 year old[/B] thread. | |
Re: [quote="Clever"bot] User: Hi. Cleverbot: Hi! User: That sure took long enough... Cleverbot: There are beautiful girls in my room. User: Your room? Cleverbot: Yours? User: Yours? Cleverbot: Joseph. User: Joseph's room? Cleverbot: Jah? User: So... You're supposed to be the cleverbot. Say something clever! Cleverbot: The Melancholy of Haruhi Suzumiya. … | |
Re: Dozens of options... Most commonly: - Writing in memory you didn't reserve - deleting memory you didn't claim But without seeing some code, it's a guessing game. | |
Re: Perhaps you should get a job as a mod. That way you have this nice link in each post, which gives you the posters ip-number :) But I'm not going to tell you anything, because I enjoy these conspiracy-threads too much. | |
Re: [URL="http://www.daniweb.com/forums/thread270382.html"]code is here[/URL] [closed] | |
Re: [QUOTE=jephthah;1165404]*plbbbbbt*[/QUOTE] We should have a smily making that face. | |
Re: Probably that you're trying to free() memory that you didn't allocate (malloc) | |
Re: I can check tutorials in C/C++ for errors/quality, but English isn't my strongest point unfortunately.. | |
Re: You can't use the comparison-operator (==) on char-arrays to check if the arrays contain the same values. Two ways around this: 1. Use std::strings (personal favorite): std::string felix = "ho"; if(felix == "ho") cout << felix; 2. Use [strcmp](http://www.cplusplus.com/reference/clibrary/cstring/strcmp/) char felix[3] = "ho"; if(strcmp(felix, "ho") == 0) //are the same … | |
Re: >> #include "string.h" You need to [icode]#include <string>[/icode] instead of this. string.h is the same as the c++ [URL="http://www.cplusplus.com/reference/clibrary/cstring/"]cstring library[/URL], which is used for functions on c-style char-array strings, not std::strings. | |
Re: [QUOTE=Dave Sinkula;1167332]With all due respect, "mods don't want to moderate" is a lame excuse. [/QUOTE] With all due respect, we have more then enough to do as it is right now. [QUOTE=Dave Sinkula;1167332] Maybe recruit mods from people who are both knowledgeable in the forum in question AND those who … | |
Re: [QUOTE=Salem;1165156] Bad Cop: You found the code on the net[/QUOTE] Yup.[URL="http://www.aoua.com/vb/showpost.php?p=3132072&postcount=104"] Here it is[/URL] | |
Re: Use a 74377 instead of a 74xx ? | |
Re: [QUOTE=rollon;1162997]OMG im a IT student but i am not good in programming!! [/quote] OMG I'm a moderator here at Daniweb and I'm reasonably good in programming! [QUOTE=rollon;1162997] can i ask some question how to be a good programmer????? [/quote] Sure, go ahead! | |
Re: [QUOTE=Epic Tissue;653691]It seems like quite a few people here jump to conclusions that people are looking for homework help. Especially if a question is used from a textbook or exam paper. You know that this can mean a person is studying on their own and want to learn. It doesn't … | |
Re: [QUOTE=Fbody;1155628] I'm not looking at this thread again. [/quote] Ha! Made you look! [QUOTE=Fbody;1155628] It's going to turn into a flame war and I won't be a part of it.[/QUOTE] No it's not. It's a healthy (but old) discussion between professionals. People can disagree [I]without [/I]calling each-other names you know? | |
Re: It's called the "Collatz Conjecture". Things I spot: 1. [code] void errorCheck(int number) { int number=0; [b] // Redefenition of "number"[/b] [/code] 2. The function takes in a number, but doesn't return it, so you'll lose the number immediately after return from errorCheck(). Read [URL="http://www.cplusplus.com/doc/tutorial/variables/"]this [/URL](scroll down to scopes) 3. … | |
Re: [QUOTE=Tom Gunn;1015664]Turbo C++ has an [URL="http://www.turboexplorer.com/cpp"]up-to-date version[/URL] from around 2006. As far as I know, it conforms to the standard. [/QUOTE] Yes it is. But it is also called C++Builder, not Turbo C++. William was advising against the use of Turbo C++, not C++ Builder and they are [I]not[/I] the … | |
Re: [QUOTE=mattjbond;1161758]I wonder what you are using to compile this?!?[/QUOTE] Judging from the outdated/non-standard headers, void main(), clrscr() my guess is Turbo c++. @OP you (really) need to update your software to something from the last decade. Something like [URL="http://www.codeblocks.org/downloads"]code::blocks[/URL] which is free,small & easy. Be sure to download the version … | |
Re: You didn't tell us which function you want to use, so we can't tell you the syntax. |
The End.