Forum: DaniWeb Community Feedback 34 Days Ago |
| Replies: 91 Views: 6,927 I disagree.
1) I don't like the new buttons. They have a retro feel and don't really do it for me. The yellow buttons fit the look of the page IMO.
2) I prefer multiquote rather than Flag to... |
Forum: C 34 Days Ago |
| Replies: 3 Views: 199 Also you are not writing C++ code so all your variable definitions need to be at the top of your functions, before any executable statements.
And for us to follow your code, use proper formatting... |
Forum: C Oct 19th, 2009 |
| Replies: 12 Views: 469 Assuming this was a job interview, I suggest you stay away from any job that asks foolish questions like this. I would not want to work for a company that want it's programmers to use tricks that... |
Forum: C++ Oct 14th, 2009 |
| Replies: 5 Views: 552 If you want to know how a program works, plzzzzzzzzzzzz post a program. Or try reading the Rules for the site. |
Forum: DaniWeb Community Feedback Oct 4th, 2009 |
| Replies: 43 Views: 4,809 OK, so if I want to simply give one single rep point, click the up button, as I did to jbennett above.
Or add your entire rep allotment by clicking the add link, as I did for kaninelupus. But... |
Forum: C Oct 3rd, 2009 |
| Replies: 5 Views: 412 You need to format your code (http://www.gidnetwork.com/b-38.html) before posting...
No idea what you are asking. Distinct prime factors? Of what? Show us an example... |
Forum: DaniWeb Community Feedback Oct 3rd, 2009 |
| Replies: 43 Views: 4,809 But it does say that people that have clout like what you say... :icon_wink: |
Forum: DaniWeb Community Feedback Oct 3rd, 2009 |
| Replies: 14 Views: 692 Why would tech savvy be equated with higher than 1024x768? Don't tech savvy users use laptops? Aren't there a few tech savvy users older and need glasses?
I'm with AD on this one. I personally... |
Forum: DaniWeb Community Feedback Oct 3rd, 2009 |
| Replies: 9 Views: 719 Maybe only the PREVIEW button should be available during initial composition. Then SUBMIT can be available only from a PREVIEWed screen. Just a thought. |
Forum: C Aug 1st, 2009 |
| Replies: 5 Views: 411 C'mon guys, the answer is simple.
Because it was designed as a procedural language. Simple as that. |
Forum: C++ Jul 28th, 2009 |
| Replies: 8 Views: 1,581 gurdeep kaur, how does your post help Lenny19 with his problem? Or do you have a new question which needs to be asked in it's own thread?
Before starting your thread, read some of the posts that... |
Forum: C Jul 26th, 2009 |
| Replies: 3 Views: 628 Well, I suppose the first thing you could code is the input function and get that out of the way...
Yes. How to modify your code? Replace the integer data field with your structure data. The... |
Forum: C++ Jul 16th, 2009 |
| Replies: 9 Views: 339 Since we know the program you posted cannot possibly compile, and you claim it's actually running, you need to repost the current code you're compiling. And then explain in detail what the program... |
Forum: C Jul 2nd, 2009 |
| Replies: 21 Views: 1,177 Enough, people. The facts are
1) fixed code should not have been posted by anyone other than the OP
2) fixed code should not have been improved by anyone unless the OP posted correct code in the... |
Forum: C Jun 29th, 2009 |
| Replies: 4 Views: 528 Your 1st half of the array array[x][0] is never initialized to zero so the values start out with garbage. |
Forum: C++ Jun 27th, 2009 |
| Replies: 4 Views: 373 atoi() is portable
itoa() is not |
Forum: C Jun 24th, 2009 |
| Replies: 15 Views: 31,996 uRrite. Just another case of some turkey not caring that 100 pages in on a forum might be moot thread. Nothing better to do, obviously. |
Forum: C++ Jun 24th, 2009 |
| Replies: 6 Views: 325 Smart decision. At least your teacher knows what the program is supposed to do and can ask the questions needed to help you. |
Forum: C++ Jun 11th, 2009 |
| Replies: 10 Views: 593 Code tags --AGAIN!!!!
It seems that with the warning above, and the information posted all over this site about CODE tags, like
1) in the Rules... |
Forum: DaniWeb Community Feedback Jun 8th, 2009 |
| Replies: 20 Views: 2,106 C'Mon, people. Listen to what Midi is saying. He cannot -- repeat cannot -- make any changes at all to the software base of the computers at school. He does not have permissions. Therefore, any... |
Forum: C++ May 18th, 2009 |
| Replies: 27 Views: 2,036 This has been answered so many times in this thread -- why are you still asking it?
Write to Stroustrup and ask him since none of the answers here seem to be acceptable and his book is causing... |
Forum: C++ May 16th, 2009 |
| Replies: 27 Views: 2,036 None. The condition simply evaluates to a TRUE/FALSE. Expression is a statement that will evaluate to a TRUE/FALSE. In the context of these loop definitions, they are interchangeable, and probably... |
Forum: C++ May 10th, 2009 |
| Replies: 22 Views: 900 Yes. Stop using TABs to indent. Set your editor to use 4 SPACEs when the TAB key is pressed.
As for exiting, you can exit when ENTER is pressed all by itself.
And about Ctrl+C, look it up. |
Forum: C++ May 7th, 2009 |
| Replies: 7 Views: 401 |
Forum: DaniWeb Community Feedback May 7th, 2009 |
| Replies: 7 Views: 736 Good question. And from the person that posted:
i thought you were leaving anyhow? dont let the door hit you in the ass on the way out.
well, hell, i dont care really.
...but i dont know... |
Forum: C++ May 7th, 2009 |
| Replies: 7 Views: 268 Interesting....
Dividing by 10, Mod'ing by 10. You just added the obvious power which was hers to think through. I tried not to take all the thinking out of the problem. |
Forum: C May 7th, 2009 |
| Replies: 20 Views: 2,102 Simply to verify my thoughts on the subject. |
Forum: C++ May 4th, 2009 |
| Replies: 19 Views: 812 It's perfectly acceptable to compare floats. You just have to understand the difficulties and know how to deal with them.
Because floating point is not exact, you need to define what precision is... |
Forum: C++ May 1st, 2009 |
| Replies: 13 Views: 478 So ol' Herbie is wrong, legal book or not. Publishing bad information has been know to happen -- a lot.
Yes, but you are processing bogus information before the eof() check. Did you look at... |
Forum: DaniWeb Community Feedback Apr 26th, 2009 |
| Replies: 84 Views: 36,492 Then expect an appropriate answer. Only a couple of us are psychic... |
Forum: DaniWeb Community Feedback Apr 25th, 2009 |
| Replies: 21 Views: 1,924 What is it about there/their/they're that no one seems to know that the words are not interchangeable! Are the definitions that ambiguous? :icon_rolleyes: |
Forum: C Apr 25th, 2009 |
| Replies: 27 Views: 1,775 Yes. See this (http://www.gidnetwork.com/b-62.html) and this (http://www.gidnetwork.com/b-56.html). Stop using gets()!
Then write C++ instead of C. If you want to write C code you must... |
Forum: C++ Apr 24th, 2009 |
| Replies: 25 Views: 1,684 OK, have a seat...
1) malloc() -- this will cause memory leaks on each call. Once the function returns, the memory address allocated is lost and can not be returned to the heap. Stick with the... |
Forum: C++ Apr 23rd, 2009 |
| Replies: 1 Views: 909 Did you bother to read any of the requested information posted all over this site about CODE tags, like
1) in the Rules (http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies) you were... |
Forum: C Apr 21st, 2009 |
| Replies: 3 Views: 440 This is a perfectly legitimate question for this forum. It's about reading special key sequences. The hardware is just a red herring in this case :icon_wink:
1B 5B 41 is called an escape... |
Forum: C++ Apr 21st, 2009 |
| Replies: 14 Views: 671 You need to define some arrays first. Then we might be able to help you.
You also need to format your code (http://www.gidnetwork.com/b-38.html) so we can follow the code. Don't instructors teach... |
Forum: DaniWeb Community Feedback Apr 20th, 2009 |
| Replies: 8 Views: 859 Ahhh, that's how it works! Thanks SOS |
Forum: C++ Apr 7th, 2009 |
| Replies: 8 Views: 514 Because we already got our grades and passed the course. You can't pass using our work. You need to pass on your own work. |
Forum: C Mar 23rd, 2009 |
| Replies: 2 Views: 303 |
Forum: DaniWeb Community Feedback Nov 27th, 2008 |
| Replies: 34 Views: 3,395 And it shows :icon_twisted: |