2,839 Posted Topics

Member Avatar for ShawnCplus

[QUOTE=ShawnCplus;1099810] Anyway, could a mod for the PHP forum please chime in regarding the [B]original[/B] topic of this thread.[/QUOTE] Only Dani (and Happygeek?) are able to add announcements. Stickies are a different story.

Member Avatar for almostbob
0
403
Member Avatar for Assim_

[QUOTE=jbennet;1018156]i guess you get the special treatment[/QUOTE] William is a *special* kind of guy ;)

Member Avatar for happygeek
0
71
Member Avatar for andyleongws

Congratulations, you have successfully copied and pasted your assignment here. Now what would be the next step according to you? [URL="http://www.daniweb.com/forums/announcement8-2.html"]Here's a hint[/URL]

Member Avatar for Nick Evan
-3
83
Member Avatar for mahima.b
Re: Bmp

[QUOTE=mahima.b;1110862]i want bmp files through c only!!!![/QUOTE] i want you to read [URL="http://www.daniweb.com/forums/announcement8-2.html"]this[/URL]!!!!!

Member Avatar for MrNoob
-3
79
Member Avatar for zakir123
Re: c++

Would you like to try that again [URL="http://catb.org/~esr/faqs/smart-questions.html#writewell"]in English[/URL]?

Member Avatar for adcodingmaster
0
133
Member Avatar for job2617
Member Avatar for bufospro
Member Avatar for flyingguitar

[QUOTE=flyingguitar;1106996] @Dave Sinkula getline only works for strings.[/QUOTE] Are you [URL="http://www.cplusplus.com/reference/iostream/istream/getline/"]sure about that[/URL]?

Member Avatar for flyingguitar
1
96
Member Avatar for Siberian

Why on earth would I give you money to BUY A PLANT? Don't you think that there are some people who need it for better reasons then that? Haiti for example? You should be ashamed of yourself for posting this rubbish. Buy a guitar and go sit with the rest …

Member Avatar for Ancient Dragon
-6
256
Member Avatar for shethia.tejas
Member Avatar for tizzo233

[QUOTE=tizzo233;1105838] no match for 'operator!=' in 'x != 0' what does that mean?[/QUOTE] Exactly what is says. It doesn't know how to compare your class 'x' to 0. I think you meant: [icode]ret != 0;[/icode]

Member Avatar for tizzo233
0
204
Member Avatar for mayuriIT

[URL="http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_NLNL270&=&q=enumeration+c&btnG=Google+Search"]Click[/URL]. Wow, that was hard to find..

Member Avatar for Nick Evan
0
52
Member Avatar for suho
Member Avatar for Dave Sinkula

I also think that newbies use code-tags on the first post more often now. But I also think that the [noparse][icode][/icode][/noparse] tags can be added to the quick-reply. As Dave mentioned, the mysterious green block that represents the tags is meaningless to newbies, so it can safely be added :) …

Member Avatar for ablitz
4
349
Member Avatar for PhiberOptik
Member Avatar for PhiberOptik
0
123
Member Avatar for baken33

Here's a start: [code] #include <iostream> int main () { std::cout << "welcome to my program"; return 0; }[/code]

Member Avatar for Nick Evan
-3
148
Member Avatar for samarudge
Member Avatar for WaltP
4
189
Member Avatar for ashishchoure

[QUOTE=ashishchoure;1102843] I am not going through any complex tutorial available on net. [.....] Though it is not completed fully. I have some doubt 1...... 2. ....[/QUOTE] If you had read any "complex tutorial" you'd probably know these things. Now it sounds like you're saying: "Reading stuff takes to long, just …

Member Avatar for ashishchoure
0
346
Member Avatar for johnny_gear

You're mixing formatted and unformatted input from the file, which isn't a very good idea. What does your file look like? Post 1 or 2 lines from it .

Member Avatar for johnny_gear
1
147
Member Avatar for Ancient Dragon

[QUOTE=Ancient Dragon;1096024]And the Earth is still flat :) [/QUOTE] No it's not! It's round like a pancake :)

Member Avatar for WaltP
1
325
Member Avatar for joejoe55

Your best option would be to use classes with private variables, but if you insist on using functions, how about this: [code] #include<iostream> bool isPrevious(int pos) { static int prev_pos = 0; bool is_same = (prev_pos == pos); prev_pos = pos; return is_same; } int main() { std::cout << "1 …

Member Avatar for Nick Evan
0
104
Member Avatar for ttnfrm

I used [URL="http://www.google.com/#hl=en&source=hp&q=Bellman-Ford+algorithm+%2Bjava&aq=f&aqi=&oq=&fp=df82d86320cf60e9"]google [/URL]and found [URL="http://forums.sun.com/thread.jspa?threadID=5418939"]this [/URL]on the first hit.

Member Avatar for Nick Evan
0
159
Member Avatar for Midnite001
Member Avatar for MidiMagic
0
192
Member Avatar for mindbender

The whole code looks a bit shaky to be honest... If you're going to use rand() you need to seed the random generator first with srand(). Here's [URL="http://eternallyconfuzzled.com/arts/jsw_art_rand.aspx"]how to do it[/URL]. Also: If you use malloc to allocate memory, be sure to free() it before your program exits. If not: …

Member Avatar for Nick Evan
1
5K
Member Avatar for Dani

[QUOTE=Ancient Dragon;1005673] >>i think the most grievous offender is the row of "share this" "send that" "bookmark" "yadda yadda" buttons. Agree. I don't know what those buttons do and don't want to press one so that I can find out. [/QUOTE] I disagree with you two. The buttons are quite …

Member Avatar for feoperro
3
941
Member Avatar for Nikhar

you need to output the values of "x","y", "count1" and "size" inside your ::mf() function. That way you can see for yourself why none of the if-statements are true. The keyword here is "debugging" [edit] Oh, and please do not use global variables.. You can declare them as private members …

Member Avatar for Nikhar
0
174
Member Avatar for xka

Never use goto. It's bad coding practice. Instead, you can put the entire switch in a while(something) loop. When you want out, just make "something" true. For example: [code] bool looping = true; while (looping) { switch (foo) { case 1: std::cout << "1!, stop looping!"; looping = false; break; …

Member Avatar for jonsca
0
186
Member Avatar for s_mostafa_h

[QUOTE=s_mostafa_h;1101289]Thanks for reply ![/QUOTE] It took you two years from posting the original post, to this post. What on earth have been doing in that time? I mean, this thread is only ~10 posts long :)

Member Avatar for s_mostafa_h
0
254
Member Avatar for foxmulder

[icode]court[/icode] is not the same as [icode]cout[/icode]. The difference between them is that one is a C++ command and the other one isn't :) Also: you can't use all kinds of brackets mixed with another ( () [] {} ) . Each bracket has its own purpose, learn them.

Member Avatar for foxmulder
0
149
Member Avatar for happygeek
Member Avatar for coolfriend

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

Member Avatar for Nick Evan
0
87
Member Avatar for mrnutty

[B]>> Whats up with the edit function ? I can't edit my own code ? >> Anyways the private bool _checkIfIsDigit()const should be :[/B] done

Member Avatar for Dave Sinkula
2
3K
Member Avatar for GyanPP
Member Avatar for Austinnh
Member Avatar for noobday

Try deleting all the whitespace around that line. This character isn't visible, but might still be there. [B]>>I'm on mac however so that migth explain the problem[/B] True. '\312' is hex 0xCA -- the "non-breaking space" in MacRoman encoding. So try removing whitespaces and re-add them. Maybe mac has somesort …

Member Avatar for noobday
0
880
Member Avatar for xclusv-aj

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

Member Avatar for Nick Evan
-1
84
Member Avatar for poojan

Please post what you've done so far, so people can have a look at what's wrong.

Member Avatar for joekbit
0
84
Member Avatar for CppBuilder2006

Your style of posting isn't helping you at all. First of all, your question: [quote] I need an API function that disconnects the computer from internet! [/quote] Imagine you work at a hardwarestore and a customer runs in and shouts: [quote] I need a thing to put nails in wood! …

Member Avatar for CppBuilder2006
-2
583
Member Avatar for Nick Evan

User [URL="http://www.daniweb.com/forums/member633371.html"]FBody[/URL] send me this PM: [QUOTE=Fbody]I couldn't find a site support style link so, because you're a mod that I've interacted with before, I'm sending this to you. Would you please forward to the appropriate person? I posted in the thread "[URL="http://www.daniweb.com/forums/thread250820.html"]sleep() error, help![/URL]" yesterday and subscribed to the …

Member Avatar for Fbody
0
323
Member Avatar for tinkeydo

Two things I notice without testing it. 1. change these two lines: [code] while (! itemFile.eof() ) { getline (itemFile,fileData); [/code] to this: [code] while (getline (itemFile,fileData)) { [/code] Getline will automatically return 0 at the end of the find, so no need for the horrible eof() function. same goes …

Member Avatar for tinkeydo
0
397
Member Avatar for imso

[QUOTE=jonsca;1096531] And PLEASE use code tags [code] //your code here [ /code] (no space before /)[/QUOTE] If you want to show newbies how to use code-tags, you can use [noparse][noparse][/noparse] tags. If I type [noparse][noparse][code] // code here [/code][/noparse][/noparse] it'll show as: [noparse][code] // code here [/code][/noparse] :)

Member Avatar for Dave Sinkula
0
214
Member Avatar for jakesee

There are quite a few things wrong with your code. The main problem is that you mix classes and class-instances. But to be honest, I think there's a bit of a design issue with your code. You're making it unnecessarily difficult on yourself. Here's a revamped version of your code, …

Member Avatar for jakesee
0
471
Member Avatar for clutchkiller

You do realize that wxWidgets is not a programming language? I've used wxWidgets in the past and found it to be an excellent GUI for C++ (once you get it installed that is). I've also programmed a few things in VB(.NET) and I think it's easier to program a (simple) …

Member Avatar for clutchkiller
0
90
Member Avatar for replicajewelry

Please confirm that you're actually interested in learning C rather then just spamming your signaturelink by replying here.

Member Avatar for iamthwee
-3
88
Member Avatar for faisal f

So what [URL="http://www.daniweb.com/forums/announcement8-2.html"]have you done [/URL]so far?

Member Avatar for Nick Evan
-2
237
Member Avatar for desier

How about [URL="http://eternallyconfuzzled.com/tuts/datastructures/jsw_tut_linklist.aspx"]this [/URL]or even [URL="http://www.google.com/#hl=en&source=hp&q=linked+list+in+c&aq=0&aqi=g10&oq=linked+list&fp=e8d6ef47431c6a4a"]this[/URL]

Member Avatar for Nick Evan
-2
56
Member Avatar for nokia3315

Too many "give me title lolz" replies. Closed. For future visitors of this thread: use the [URL="http://www.daniweb.com/forums/search.php"]searchfunction [/URL]instead of reviving a dead thread.

Member Avatar for Nick Evan
-11
247
Member Avatar for syedabdulsamad

[QUOTE=crunchie;948177]Bingo :)[/QUOTE] Perhaps this is just a way of spamming [I][B]your [/B][/I]signature? ;)

Member Avatar for eldod
0
125
Member Avatar for Androggles

If you want to use paths in string, you need to [URL="http://www.gillius.org/ctut/app_a.htm"]escape the backslash [/URL]by adding an extra backslash, or use normal slashes instead: [code] remove( "C:\\blah\\foo.bar" ); [/code] or: [CODE]remove( "/tmp/foo.bar" );[/CODE]

Member Avatar for Androggles
0
159
Member Avatar for JoaoC

"Well Jim, now that Tiger Woods has found other hobbies, it's time for the new generation to have a swing at the trophy" "Yes Bob, a swing indeed"

Member Avatar for Nick Evan
0
94

The End.