2,839 Posted Topics

Member Avatar for giodoli93

Or you could have a look at [URL="http://www.daniweb.com/forums/thread67837.html"]this thread[/URL]

Member Avatar for giodoli93
0
168
Member Avatar for serkan sendur

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

Member Avatar for jephthah
1
366
Member Avatar for Mekalor

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

Member Avatar for Mekalor
0
120
Member Avatar for lulusweety

You're new to C++ and this is your assignment? Very strange indeed...

Member Avatar for lulusweety
0
87
Member Avatar for coded_hitec

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

Member Avatar for coded_hitec
0
111
Member Avatar for vobiahu

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

Member Avatar for Nick Evan
0
2K
Member Avatar for prodstar

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]

Member Avatar for prodstar
0
172
Member Avatar for sourabhtripathi

[QUOTE=finito;1212575]and what language you are using[/QUOTE] In the C-forum, my guess would be 'C' :icon_rolleyes:

Member Avatar for Xufyan
0
97
Member Avatar for moroccanplaya

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

Member Avatar for Nick Evan
0
133
Member Avatar for Chrisjj
Member Avatar for diafol
0
783
Member Avatar for mmpjb
Member Avatar for bl@ck_d3ath-v2

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

Member Avatar for NathanOliver
-2
1K
Member Avatar for akssps011
Member Avatar for bent_al3z4114

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.

Member Avatar for Nick Evan
-4
107
Member Avatar for pedro2010

Perhaps something like [URL="http://www.daniweb.com/forums/post1198536.html#post1198536"]this[/URL]?

Member Avatar for mrnutty
0
99
Member Avatar for karthz85

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:

Member Avatar for Nick Evan
-2
96
Member Avatar for naveedmahar
Member Avatar for Danny_501

[icode]bool addStudent(Student student)[/icode] should be : [icode]bool StudentCollection::addStudent(Student student)[/icode] if it's a member-function of StudentCollection.

Member Avatar for Danny_501
0
141
Member Avatar for born star

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

Member Avatar for Nick Evan
0
92
Member Avatar for blackmagic01021
Member Avatar for singju

[QUOTE=javaAddict;1201676] Be careful before someone reports you to one of the administrators for spamming.[/QUOTE] Too late :icon_twisted:

Member Avatar for parry_kulk
0
259
Member Avatar for customtshirts
Member Avatar for BestJewSinceJC
-7
253
Member Avatar for lllllIllIlllI

(congt)Rats, I misspelled your reputation-comment :( Anyway: congratulations! Only nine more stars to go until you reach the max!

Member Avatar for bumsfeld
10
248
Member Avatar for invisal

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 …

Member Avatar for invisal
3
211
Member Avatar for Biker920

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

Member Avatar for jephthah
0
252
Member Avatar for Stefano Mtangoo

You mean something like [URL="http://www.cplusplus.com/reference/iostream/manipulators/setprecision/"]std::setprecision[/URL] ?

Member Avatar for Stefano Mtangoo
0
199
Member Avatar for smoothkiller

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.

Member Avatar for Nick Evan
0
259
Member Avatar for Mz3g

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 …

Member Avatar for Mz3g
0
174
Member Avatar for Prat123

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

Member Avatar for Nick Evan
0
166
Member Avatar for customtshirts

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 …

Member Avatar for Lardmeister
-8
158
Member Avatar for cppnewb

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

Member Avatar for cppnewb
0
81
Member Avatar for Graphix

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

Member Avatar for diafol
0
174
Member Avatar for setmenull

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

Member Avatar for Nick Evan
0
432
Member Avatar for diafol

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

Member Avatar for diafol
1
717
Member Avatar for zemly

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

Member Avatar for jwenting
-2
107
Member Avatar for Nick Evan

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 …

Member Avatar for Nick Evan
0
166
Member Avatar for smackdown164

[URL="http://www.daniweb.com/forums/thread277291.html"]Thread closed.[/URL]

Member Avatar for Nick Evan
1
182
Member Avatar for r5berndt

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?

Member Avatar for Fbody
0
103
Member Avatar for GyanPP

Start [URL="http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html#SEC2"]here[/URL]

Member Avatar for Nick Evan
0
61
Member Avatar for onlinessp

This reeks of "virus". You'll now have to convince me otherwise, or this thread is closed.

Member Avatar for privatevoid
1
172
Member Avatar for mrnileshagrawal

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

Member Avatar for zalmay
0
94
Member Avatar for Ancient Dragon

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.

Member Avatar for jwenting
0
127
Member Avatar for Helpgirl

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

Member Avatar for Ancient Dragon
-2
156
Member Avatar for cotinga

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.

Member Avatar for Nick Evan
0
223
Member Avatar for satimis

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

Member Avatar for satimis
0
128
Member Avatar for jaredleo999

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.

Member Avatar for moutanna
0
87
Member Avatar for sidhu51

Thread continued [URL="http://www.daniweb.com/forums/thread276094.html"]here[/URL]

Member Avatar for Nick Evan
0
78
Member Avatar for dakkar
Member Avatar for Muhammadlodhi

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?

Member Avatar for jephthah
-2
291
Member Avatar for thriek
Member Avatar for Nick Evan
0
12K

The End.