Forum: C++ Sep 14th, 2009 |
| Replies: 12 Views: 1,324 Shouldn't the OP be looking for a C++ solution, rather than messing with archaic C-style functions and char arrays? |
Forum: C++ Sep 13th, 2009 |
| Replies: 8 Views: 530 Seems to me like a case of not using the right tools for the job.
Doing this as a browser plugin would be a snap (by comparison).
Starting where you are, you're basically saying "I need to use... |
Forum: C++ Sep 11th, 2009 |
| Replies: 5 Views: 333 Doubtful - it won't compile with TurboCrap, and it wasn't posted with code tags.
Does anybody bother to read intro threads? |
Forum: C++ Sep 10th, 2009 |
| Replies: 5 Views: 333 http://www.codeblocks.org/
http://www.microsoft.com/express/
Both are FREE (except for the time taken to download)
Both WIPE THE FLOOR with the fossil you have.
Both will serve you well when you... |
Forum: C++ Sep 8th, 2009 |
| Replies: 5 Views: 532 http://cboard.cprogramming.com/cplusplus-programming/119344-crack-cipher-string-arrays.html
Here's a FAQ
http://www.catb.org/~esr/faqs/smart-questions.html#forum |
Forum: C++ Sep 7th, 2009 |
| Replies: 8 Views: 325 Some additional reading, which Dave's links allude to.
http://www.itis.mn.it/linux/quarta/x86/lock.htm
http://www.dlugosz.com/Repertoire/refman/Classics/atomic_counter_whitepaper.html... |
Forum: C++ Sep 6th, 2009 |
| Replies: 7 Views: 430 > How can I combine this one? (TURBO C++)
1. THROW OUT your ancient compiler. It has been obsolete for 20 years. Honestly, this is driving down the information super highway in some clapped out... |
Forum: C++ Sep 5th, 2009 |
| Replies: 2 Views: 249 > can u pls teach me how to start
http://cboard.cprogramming.com/c-programming/88495-development-process.html |
Forum: C++ Sep 5th, 2009 |
| Replies: 8 Views: 578 http://www.daniweb.com/forums/announcement8-2.html
Read this, make an effort, post that attempt and then ask a specific question.
Don't just dump your assignment on us and then go party, hoping... |
Forum: C++ Sep 2nd, 2009 |
| Replies: 5 Views: 250 The console is what you learn with.
GUI programming is no different, it's just a different API. But it takes half a book to explain "hello world" rather than half a page, to an absolute newbie. |
Forum: C++ Sep 2nd, 2009 |
| Replies: 7 Views: 288 What you see today in the C pre-processor is a faint echo of how the pre-processor was originally implemented.
m4 (http://en.wikipedia.org/wiki/M4_%28computer_language%29) is a macro pre-processor... |
Forum: C++ Sep 1st, 2009 |
| Replies: 10 Views: 406 > If i put #include "zlib.h" the errors are the same.
Include files tell the compiler HOW to call something.
Libraries (the thing you're missing) tell the linker (the stage after compiling) WHAT... |
Forum: C++ Aug 30th, 2009 |
| Replies: 3 Views: 218 All the files are in the same directory?
If so, all you need to do is add the two .cpp files to some kind of project (or makefile), and then build.
> cannot find -lfunctions.h".
-l is for... |
Forum: C++ Aug 28th, 2009 |
| Replies: 9 Views: 361 > my problem is that my teacher give an activity to do to make a c++ program that will determine
That's not all.
It also determines who gets to stay on the course and learn something advanced,... |
Forum: C++ Aug 28th, 2009 |
| Replies: 3 Views: 272 > it states debug assertion failure fseeki64.c line 61 stream !=null.
You opened a file, say
FILE *fp = fopen("doofus.txt", "r" );
You then tried to seek somewhere - I guessed that fseeki64.c... |
Forum: C++ Aug 24th, 2009 |
| Replies: 3 Views: 231 You've got
#include "somethingElse.h"
#include "DoTestData.h"
The last thing in somethingElse.h is the real cause of the problem, and it will be missing the ; in question. |
Forum: C++ Aug 22nd, 2009 |
| Replies: 10 Views: 383 > I've learned Java, C++, and most recently C ( Fall of last year).
But have you actually learnt how to PROGRAM yet?
Learning a new language a year makes you an experienced "hello world"... |
Forum: C++ Aug 21st, 2009 |
| Replies: 3 Views: 345 http://www.parashift.com/c++-faq-lite/operator-overloading.html |
Forum: C++ Aug 20th, 2009 |
| Replies: 2 Views: 1,705 The best place is project->settings->preprocessor and set the flag there. |
Forum: C++ Aug 20th, 2009 |
| Replies: 5 Views: 252 You're assuming
a) the network has zero latency, by calling recv() directly after send()
b) that recv() will just stick around until a \r\n arrives - it won't.
c) that recv() will add a \0 to the... |
Forum: C++ Jul 29th, 2009 |
| Replies: 4 Views: 4,500 Yeah, exactly 18 months too late, and exactly before you read this too :(
http://www.daniweb.com/forums/thread78223.html |
Forum: C++ Jul 26th, 2009 |
| Replies: 8 Views: 673 > Does anybody see anything wrong with this approach or something I should do differently?
1. You should deal with the file in fixed sized blocks. Don't assume that you'll always be able to fit the... |
Forum: C++ Jul 24th, 2009 |
| Replies: 4 Views: 230 > .c vs .cpp file
If you're already making statements like "this works in C and not C++", then you really need to take a big step back and look at what it is you're trying to learn.
Some... |
Forum: C++ Jul 23rd, 2009 |
| Replies: 8 Views: 429 It's trivial to achieve with
-I.
As an addition to the compiler include search path (for details, see your manual).
But if your only reason is "just because I want to", then it's not really... |
Forum: C++ Jul 23rd, 2009 |
| Replies: 5 Views: 760 Good, so now use the debugger to examine your program state to try and figure out how it got into that state to begin with.
Then you can think about what code changes are needed to stop it from... |
Forum: C++ Jul 22nd, 2009 |
| Replies: 6 Views: 387 > thank you...hope you can help me with this... I need it tomorrow...
But tomorrow is Thursday.
I'm Robinson Crusoe, and all my work is done by Friday ;) |
Forum: C++ Jul 19th, 2009 |
| Replies: 13 Views: 1,336 Or get a real compiler!!!!
> this is to be used in my skool project...n i asked my teacher n she said u cant use allegero,fastgraph or ne other compiler
Scratch that, get a real teacher instead.... |
Forum: C++ Jul 16th, 2009 |
| Replies: 11 Views: 484 Do you think professionals spend all of their time scouting round the net for a tutorial on how to solve their next work assignment?
Perhaps you've been having an easy time of it, thinking that... |
Forum: C++ Jul 15th, 2009 |
| Replies: 11 Views: 484 Sooner or later, you need to realise that there isn't a tutorial for everything which just matches your needs.
At which point, you have to get down and start trying (and failing) to do your own... |
Forum: C++ Jul 15th, 2009 |
| Replies: 9 Views: 345 Are you going to spend more than say 5% of your time on this "protection", compared to the time you've spent on the actual product?
If "yes", perhaps you need to reconsider your priorities.
Is... |
Forum: C++ Jul 15th, 2009 |
| Replies: 4 Views: 401 Poster evaluates to a thread posted on two (http://forums.devshed.com/c-programming-42/list-sort-compare-function--term-does-not-evaluate-to-a-624721.html) forums. |
Forum: C++ Jul 15th, 2009 |
| Replies: 10 Views: 675 I'm gonna bookmark this thread so I can refer to it, when your next question would have been solved by reading the error messages. |
Forum: C++ Jul 12th, 2009 |
| Replies: 2 Views: 242 > i wrote the whole program but there is some mistakes
And until you adopt a better approach to writing programs, the same mistakes will keep arising.... |
Forum: C++ Jul 11th, 2009 |
| Replies: 3 Views: 241 To quote your sig
http://lmgtfy.com/?q=C%2B%2B+Preprocessor |
Forum: C++ Jul 9th, 2009 |
| Replies: 5 Views: 229 So start with what you know now, and make a better design.
Basic 1:1 substitutions of your 10 year old code might make it run, but it will still look like 10 year old code when you're done.
... |
Forum: C++ Jul 7th, 2009 |
| Replies: 18 Views: 745 We did all this less than a month ago.
http://www.daniweb.com/forums/thread198087.html |
Forum: C++ Jun 29th, 2009 |
| Replies: 6 Views: 299 http://www.daniweb.com/forums/announcement8-2.html
And we need you to make an effort to solve your own homework, which is more than just cross-posting... |
Forum: C++ Jun 28th, 2009 |
| Replies: 5 Views: 311 What is your C++ question? |
Forum: C++ Jun 24th, 2009 |
| Replies: 4 Views: 347 Multiple personality disorder?
http://www.daniweb.com/forums/thread199504.html
Or just everyone in the same class? |
Forum: C++ Jun 24th, 2009 |
| Replies: 3 Views: 827 When you do post your code, don't forget to tell everyone else (http://cboard.cprogramming.com/cplusplus-programming/117097-may-due-corruption-heap.html) |