2,839 Posted Topics
Re: Or you could have a look at [URL="http://www.daniweb.com/forums/thread67837.html"]this thread[/URL] | |
Re: [QUOTE=jephthah;913371] All i care about is becoming Super Mod. [/QUOTE] Now [I]there's[/I] a disturbing thought :) [QUOTE=jephthah;913419] i swear there's less drama at a middle school girl's slumber party than there is in a typical Serkan thread.[/QUOTE] Yeah, and you like it don't you? I mean why else would you … | |
Re: [quote=WaltP] Indenting is a good thing, but indenting 8 characters is usually overkill, as your code shows. [/quote] My attempt to fix it failed :( @OP: Less characters on one line please. Glancing through your code, one thing immediately caught my eye: [code] if((i>=1&&[COLOR="Red"]j>=0[/COLOR]&&ara[i][j].color==ara[i-1][COLOR="Red"][j-1][/COLOR] [/code] What happens to this piece … | |
Re: You're new to C++ and this is your assignment? Very strange indeed... | |
Re: [QUOTE=finito;1215334]I don't see no comment[/QUOTE] You click the : "Add and View Reputation Comments" link next to the orange dot to see the reputation comment. And Jonsca is right. This post was originally piggybacked on another thread when I split it. @coded_hitec: With what values do you want to "initialize" … | |
Re: This thread is attracting too many "gimmetehcodez" homework-kiddos. (thanks for the heads-up Jwenting) For future reference: [URL="http://www.daniweb.com/forums/announcement8-2.html"]click me[/URL] closed | |
Re: Also: curly brackets! They're more important then you think. This: [code] if (something) dostuff(); doOtherStuff(); [/code] is VERY different from: [code] if (something) { dostuff(); doOtherStuff(); } [/code] | |
Re: [QUOTE=finito;1212575]and what language you are using[/QUOTE] In the C-forum, my guess would be 'C' :icon_rolleyes: | |
Re: @sourabhtripathi: That's horrible. Really. 1. Test your code first before posting it here. 2. Use [URL="http://www.daniweb.com/forums/announcement8-3.html"]code-tags[/URL]. 3. Learn to [URL="http://en.wikipedia.org/wiki/Indent_style"]indent your code[/URL]. 4. Don't give [URL="http://www.daniweb.com/forums/announcement8-2.html"]away freebies[/URL]. 5. Read the [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL] and follow them. | |
Re: We're starting a new meme. Soon, 4chan will give out "infractions" Later-- ![]() | |
Re: [QUOTE=simranjeet;1107810]please can u giv me the algorithm for the library management:icon_question:[/QUOTE] Try reading the rest of the replies in this thread and then figure out why you're not going to get it. | |
Re: Apparently your only effort is going to be "please help me ". Read adatapost's post (#16) and the [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. This thread is done. | |
Re: Perhaps something like [URL="http://www.daniweb.com/forums/post1198536.html#post1198536"]this[/URL]? | |
Re: Read [URL="http://www.daniweb.com/forums/announcement8-3.html"]this [/URL]and [URL="http://catb.org/~esr/faqs/smart-questions.html#beprecise"]this [/URL]and then repost. I'm getting sick of having to add code-tags to each and every one of your posts :icon_frown: | |
Re: [URL="http://www.daniweb.com/forums/thread67837.html"]Clicky[/URL] | |
Re: [icode]bool addStudent(Student student)[/icode] should be : [icode]bool StudentCollection::addStudent(Student student)[/icode] if it's a member-function of StudentCollection. | |
Re: [QUOTE=aman rathi;1203595] you can use unsigned int for desired result[/QUOTE] No you can't. Not on a 16-bits compiler anyway, read the post above your own. @OP: time to update to something from the last decade. Like [URL="http://www.codeblocks.org/downloads"]code::blocks with the mingw compiler[/URL]. | |
Re: [QUOTE=javaAddict;1201676] Be careful before someone reports you to one of the administrators for spamming.[/QUOTE] Too late :icon_twisted: | |
Re: I never wear t-shirts. T-shirts suck IMO. Naked chests ftw! | |
Re: (congt)Rats, I misspelled your reputation-comment :( Anyway: congratulations! Only nine more stars to go until you reach the max! | |
Re: I have to agree with the things said above: a lot of optimization will result in poorly readable and hard-to-maintain code. [I]However [/I], I think that learning these things [I]can[/I] be useful, especially when you're writing C(++) for (older) micro-controllers which have limited resources. It also gives you a better … | |
Re: [QUOTE=nav33n;1197434]Wow! This [i]Later--[/i] trend is catching up. Later--[/QUOTE] You're right.If not now then it'll catch up Later-- | |
Re: You mean something like [URL="http://www.cplusplus.com/reference/iostream/manipulators/setprecision/"]std::setprecision[/URL] ? | |
Re: I agree. Any baboon could have clicked a few yes/no answers. You should've asked what their profession is, what education they had, how many years of experiece (in which fields) etc. | |
Re: This loop: [code] for (int k = 0; k < size; k++)[/code] will insert values in ip[k], where k = a number between 0-15. However you declared "ip" as an array with only 15 elements: [icode]string v, ip[15]...[/icode] which means you can only use index 0-14. So when you try … | |
Re: >> Above example works fine No it doesn't. Look at this and tell me what's wrong: >> char path[3] ="C:\ABC" I see 3 things wrong with this line alone. If you want to get a useful reply, post the code you're [B]actually using[/B]. | |
Re: Look "customtshirts": You're obviously a spammer and we're currently still allowing shit threads like these, so you're in no danger of getting banned just yet. But could you pretty please just post in [URL="http://www.daniweb.com/forums/forum80.html"]this forum[/URL]? You can spam all you want there, we don't care. Just stop posting your pointless … | |
Re: Not directly from html->c++ no. You could use php to interface with a file, pipe or database and have your C++ program read it from there? Or [URL="http://en.wikipedia.org/wiki/SOAP"]soap[/URL]? | |
Re: [QUOTE=jephthah;1196035]well, those can be excused becasue the poster thought they were posting a question correctly. [/QUOTE] I agree. A lot of forum-first-timers, will probably not know what a 'snippet' is. Maybe we need it needs a "what is this?" link next to it. ![]() | |
Re: Thread closed. It's attracting too much spam and too many signature spammers. @OP: Use the search function. There are more then enough threads on Daniweb already on this subject | |
![]() | Re: [QUOTE=VernonDozier;1156512]OK, which of you guys created a new fake user with two "Give me teh codez" post bumps on a dead thread just to make a point? [url]http://www.daniweb.com/forums/thread28093-2.html[/url][/QUOTE] Sorry to mess up your post, but I deleted the posts. ![]() |
Re: [QUOTE=zemly;1196106] I will never ask daniweb for help and i will never post on it again..... [/QUOTE] [attach]14487[/attach] Since you didn't bother to [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]read the rules[/URL] even ONCE. | |
I do not often visit the Java forum, because I know nothing worth posting in the Java forum :) But when I [I]do[/I] visit, I see a lot of posts with code without code-tags. This makes the code nearly unreadable and reduces the overall quality of Daniweb. So I have … | |
Re: [URL="http://www.daniweb.com/forums/thread277291.html"]Thread closed.[/URL] | |
Re: Perhaps you should [I]call[/I] your functions from main? BTW: This looks like C, are you sure you want this in the C++-forum? | |
Re: Start [URL="http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html#SEC2"]here[/URL] | |
Re: This reeks of "virus". You'll now have to convince me otherwise, or this thread is closed. | |
Re: If it's really urgent, you should have used the searchbox yourself. Now I had to do it for you and you've lost some valuable minutes :) Anyhow: [URL="http://www.daniweb.com/forums/post596547-2.html"]here's[/URL] a post from jx_man with some great links in it | |
Re: I still have 2005-pro because of the costly upgrade :( I'll be installing 2010 on my new laptop soon, so I'll let you know what I find. | |
Re: [QUOTE=Ezzaral;1189718] If you have questions more specific than "gimme the code", post them in the C++ forum. [/QUOTE] I moved the thread (which was in Computer Science) to the C++ forum, when you were typing this reply :icon_redface: | |
Re: And then [URL="http://eternallyconfuzzled.com/tuts/datastructures/jsw_tut_linklist.aspx"]this[/URL]. It's in C, but you'll learn a lot about the structure of the linked list. | |
Re: [QUOTE=satimis;1191542] I suppose it is for Windows. Can I use it on Linux? I'll use g++ as compiler.[/QUOTE] I've glanced through the site and saw nothing windows-specific, so you can probably use it on Linux without any problems. [QUOTE=satimis;1191542] Furthermore is there a better tutorial? [/quote] Probably, yes. 1 thing … | |
![]() | Re: That question was also asked [URL="http://www.daniweb.com/forums/thread275999.html"]here[/URL]. Do not flood the forum by asking the same question more then once. |
Re: Thread continued [URL="http://www.daniweb.com/forums/thread276094.html"]here[/URL] | |
Re: Stop creating new threads for the same problem. I'm getting sick of cleaning up this mess after you :icon_frown: And perhaps you should elaborate on what you mean by "not showing the correct answer", we're not clairvoyant, you know? | |
Re: It would probably have to do with the fact that your class is also called "creator". |
The End.