Search Results

Showing results 1 to 40 of 228
Search took 0.04 seconds.
Search: Posts Made By: Salem ; Forum: C++ and child forums
Forum: C++ Sep 14th, 2009
Replies: 12
Views: 1,324
Posted By Salem
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
Posted By Salem
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
Posted By Salem
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
Posted By Salem
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
Posted By Salem
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
Posted By Salem
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
Posted By Salem
> 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
Posted By Salem
> 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
Posted By Salem
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
Posted By Salem
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
Posted By Salem
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
Posted By Salem
> 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
Posted By Salem
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
Posted By Salem
> 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
Posted By Salem
> 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
Posted By Salem
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
Posted By Salem
> 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
Posted By Salem
http://www.parashift.com/c++-faq-lite/operator-overloading.html
Forum: C++ Aug 20th, 2009
Replies: 2
Views: 1,705
Posted By Salem
The best place is project->settings->preprocessor and set the flag there.
Forum: C++ Aug 20th, 2009
Replies: 5
Views: 252
Posted By Salem
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
Posted By Salem
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
Posted By Salem
> 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
Posted By Salem
> .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
Posted By Salem
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
Posted By Salem
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
Posted By Salem
> 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
Posted By Salem
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
Posted By Salem
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
Posted By Salem
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
Posted By Salem
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
Posted By Salem
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
Solved: g++ warnings
Views: 675
Posted By Salem
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
Posted By Salem
> 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
Posted By Salem
To quote your sig
http://lmgtfy.com/?q=C%2B%2B+Preprocessor
Forum: C++ Jul 9th, 2009
Replies: 5
Views: 229
Posted By Salem
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
Posted By Salem
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
Posted By Salem
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
Posted By Salem
What is your C++ question?
Forum: C++ Jun 24th, 2009
Replies: 4
Views: 347
Posted By Salem
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
Posted By Salem
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)
Showing results 1 to 40 of 228

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC