Search Results

Showing results 1 to 40 of 147
Search took 0.01 seconds.
Search: Posts Made By: Grunt
Forum: C++ Oct 4th, 2006
Replies: 21
Views: 4,609
Posted By Grunt
Inanna, you sound very familiar to someone.
Forum: C Oct 4th, 2006
Replies: 2
Views: 1,043
Posted By Grunt
And please for god sake choose a better subject.
Forum: C++ Oct 4th, 2006
Replies: 7
Views: 2,909
Posted By Grunt
http://www.daniweb.com/techtalkforums/announcement8-2.html
Forum: C++ Oct 4th, 2006
Replies: 2
Views: 2,057
Posted By Grunt
See this

#include <iostream>
using namespace std;
int main ()
{

int counter=0;
int largest=0;
int number=0;
Forum: C++ Oct 1st, 2006
Replies: 1
Views: 16,110
Posted By Grunt
C++ Template Image Processing Library. (http://cimg.sourceforge.net/)
Forum: C++ Oct 1st, 2006
Replies: 16
Views: 9,746
Posted By Grunt
OS and Compiler?
Forum: C++ Oct 1st, 2006
Replies: 7
Views: 1,801
Posted By Grunt
That's machine dependent. It could be signed or unsigned.
Forum: C++ Sep 24th, 2006
Replies: 5
Views: 4,172
Posted By Grunt
Search through this forum. You'll get number of such threads.
Forum: C++ Sep 23rd, 2006
Replies: 12
Views: 17,794
Posted By Grunt
@n3st3d_l00p
If you want a portable solution then you can use Boost Filesystem library. There's a create_directory function for creating directories.
Forum: C++ Sep 23rd, 2006
Replies: 12
Views: 17,794
Posted By Grunt
Through Command Line

#include <iostream>
#include <direct.h>

int main(int argc, char** argv) {
if (argc < 2) {
std::cerr << "Usage: " << argv[0] << " [new dir name]\n";
...
Forum: C++ Sep 22nd, 2006
Replies: 4
Views: 2,842
Posted By Grunt
ICE is a Tcl compiler. The compiler translates Tcl code into C code, which can then be compiled together with a special Tcl library to produce a single executable.
Forum: C Sep 22nd, 2006
Replies: 34
Views: 10,802
Posted By Grunt
Read the rules of the forum Rati.
Forum: C++ Sep 20th, 2006
Replies: 14
Views: 2,789
Posted By Grunt
Very common situation in forums :)
Forum: C++ Sep 20th, 2006
Replies: 5
Views: 2,096
Posted By Grunt
I meant you can implement algorithms for
1) Deadlock Prevention
2) Deadlock Avoidance
3) Deadlock Detection etc.

You can choose specific area out of them or implement all of them if your...
Forum: C Sep 20th, 2006
Replies: 11
Views: 6,537
Posted By Grunt
I think you should avoid casts as much as possible unless there's no option left or it turns out to be less evil then the other option.
Forum: C++ Sep 20th, 2006
Replies: 14
Views: 2,789
Posted By Grunt
Only if he's using C or C99 to be more specific.
Forum: C++ Sep 20th, 2006
Replies: 14
Views: 2,789
Posted By Grunt
Don't make any assumptions about size of types. Standard only guarantees minimum sizes.
Forum: C++ Sep 20th, 2006
Replies: 14
Views: 2,789
Posted By Grunt
Why would you declare sum as double in first place?
You can use long and it's variations.


If int( or any other type) cannot accomodate the data then results are unpredictable.
Forum: C++ Sep 20th, 2006
Replies: 5
Views: 2,096
Posted By Grunt
You can implement deadlock related algorithms. I think that'll be interesting.
Forum: C Sep 20th, 2006
Replies: 11
Views: 6,537
Posted By Grunt
Look into sscanf() (http://www.cplusplus.com/ref/cstdio/sscanf.html)
Forum: C Sep 18th, 2006
Replies: 4
Views: 1,434
Posted By Grunt
Compile your code in strict mode. I guess it should be error. Anyways return value in C on x86 is generally eax, where the result of the last calculation often happens to be placed. Maybe that's why...
Forum: C++ Sep 17th, 2006
Replies: 11
Views: 2,377
Posted By Grunt
Forum: C++ Sep 17th, 2006
Replies: 5
Views: 1,496
Posted By Grunt
After removing spaces the header will work as long as you are working on windows which has case-insensitive file system. But, with a cross-platform compiler, usually, case matters.
Forum: C++ Sep 16th, 2006
Replies: 11
Views: 2,854
Posted By Grunt
Add this before switch
char letter;
cin>>letter;
Forum: C Sep 16th, 2006
Replies: 7
Views: 8,819
Posted By Grunt
NEWBIES SHOULD NOT BE LOOKING FOR SUCH COMPLEX PROGRAMS. THEY SHOULD RATHER CONCENTRATE ON BASICS OF CRYPYOGRAPHY AND LANGUAGE IN WHICH THEY WANT TO IMPLEMENT THE PROGRAM:!:
Forum: C Sep 16th, 2006
Replies: 7
Views: 8,819
Posted By Grunt
I Want that beatle555 should
first show some efforts before asking help in forums.
Pls Help Yourself!!
Forum: C Sep 16th, 2006
Replies: 2
Views: 1,741
Posted By Grunt
This might help Pro*C (http://www-db.stanford.edu/~ullman/fcdb/oracle/or-proc.html#overview)
Forum: C++ Sep 16th, 2006
Replies: 5
Views: 7,351
Posted By Grunt
Anyone will be glad to give you hand if you show your efforts here.
If you don't really know how to work with files then I would suggest you to read you book first or go through basic tutorial like...
Forum: C Sep 16th, 2006
Replies: 50
Views: 8,301
Posted By Grunt
I was simply highlighting that it's legal to call in C.
main( ) is just another function in C . Nothing special about it except the return type and parameter list. Though I am not encouraging...
Forum: C++ Sep 15th, 2006
Replies: 6
Views: 1,646
Posted By Grunt
Look in setprecision manipulator (http://www.cplusplus.com/ref/iostream/iomanip/setprecision.html)
Forum: C++ Sep 15th, 2006
Replies: 4
Views: 2,514
Posted By Grunt
The code is fine and should work. Try rebuilding solution.
Forum: C Sep 15th, 2006
Replies: 6
Views: 5,734
Posted By Grunt
Another useful link
http://sos.enix.org/en/MainPage
Forum: C Sep 15th, 2006
Replies: 50
Views: 8,301
Posted By Grunt
But standard doesn't stops anyone.
Forum: C Sep 15th, 2006
Replies: 2
Views: 1,214
Posted By Grunt
Did you tried serching google first?
http://www.google.co.in/search?q=Null+Pointer+Assignment&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official
Forum: C Sep 14th, 2006
Replies: 6
Views: 3,337
Posted By Grunt
Why would compiller give an error? That's a valid program.
Forum: C Sep 14th, 2006
Replies: 5
Views: 1,726
Posted By Grunt
and I think unsigned long double is anyway wrong.
Forum: C Sep 14th, 2006
Replies: 5
Views: 1,726
Posted By Grunt
I think you can use shifting and bitwise operators.
Forum: C Sep 13th, 2006
Replies: 3
Views: 5,999
Posted By Grunt
Look up c_str() function.
Forum: C Sep 13th, 2006
Replies: 3
Views: 2,765
Posted By Grunt
dsraju, there's no such thing as far in ANSI C. I guess you are still using ancient compilers. It's time to move ahead.
Forum: C++ Sep 13th, 2006
Replies: 4
Views: 1,777
Posted By Grunt
Check out the features in VC2005. If they suit your requirements then download it.
If you are not so fussy about using only microsoft products only then you can download other free compilers also...
Showing results 1 to 40 of 147

 


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

©2003 - 2009 DaniWeb® LLC