Forum: C++ Oct 4th, 2006 |
| Replies: 21 Views: 4,609 Inanna, you sound very familiar to someone. |
Forum: C Oct 4th, 2006 |
| Replies: 2 Views: 1,043 And please for god sake choose a better subject. |
Forum: C++ Oct 4th, 2006 |
| Replies: 7 Views: 2,909 http://www.daniweb.com/techtalkforums/announcement8-2.html |
Forum: C++ Oct 4th, 2006 |
| Replies: 2 Views: 2,057 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 C++ Template Image Processing Library. (http://cimg.sourceforge.net/) |
Forum: C++ Oct 1st, 2006 |
| Replies: 16 Views: 9,746 |
Forum: C++ Oct 1st, 2006 |
| Replies: 7 Views: 1,801 That's machine dependent. It could be signed or unsigned. |
Forum: C++ Sep 24th, 2006 |
| Replies: 5 Views: 4,172 Search through this forum. You'll get number of such threads. |
Forum: C++ Sep 23rd, 2006 |
| Replies: 12 Views: 17,794 @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 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 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 Read the rules of the forum Rati. |
Forum: C++ Sep 20th, 2006 |
| Replies: 14 Views: 2,789 Very common situation in forums :) |
Forum: C++ Sep 20th, 2006 |
| Replies: 5 Views: 2,096 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 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 Only if he's using C or C99 to be more specific. |
Forum: C++ Sep 20th, 2006 |
| Replies: 14 Views: 2,789 Don't make any assumptions about size of types. Standard only guarantees minimum sizes. |
Forum: C++ Sep 20th, 2006 |
| Replies: 14 Views: 2,789 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 You can implement deadlock related algorithms. I think that'll be interesting. |
Forum: C Sep 20th, 2006 |
| Replies: 11 Views: 6,537 Look into sscanf() (http://www.cplusplus.com/ref/cstdio/sscanf.html) |
Forum: C Sep 18th, 2006 |
| Replies: 4 Views: 1,434 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 |
Forum: C++ Sep 17th, 2006 |
| Replies: 5 Views: 1,496 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 Add this before switch
char letter;
cin>>letter; |
Forum: C Sep 16th, 2006 |
| Replies: 7 Views: 8,819 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 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 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 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 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 Look in setprecision manipulator (http://www.cplusplus.com/ref/iostream/iomanip/setprecision.html) |
Forum: C++ Sep 15th, 2006 |
| Replies: 4 Views: 2,514 The code is fine and should work. Try rebuilding solution. |
Forum: C Sep 15th, 2006 |
| Replies: 6 Views: 5,734 Another useful link
http://sos.enix.org/en/MainPage |
Forum: C Sep 15th, 2006 |
| Replies: 50 Views: 8,301 But standard doesn't stops anyone. |
Forum: C Sep 15th, 2006 |
| Replies: 2 Views: 1,214 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 Why would compiller give an error? That's a valid program. |
Forum: C Sep 14th, 2006 |
| Replies: 5 Views: 1,726 and I think unsigned long double is anyway wrong. |
Forum: C Sep 14th, 2006 |
| Replies: 5 Views: 1,726 I think you can use shifting and bitwise operators. |
Forum: C Sep 13th, 2006 |
| Replies: 3 Views: 5,999 Look up c_str() function. |
Forum: C Sep 13th, 2006 |
| Replies: 3 Views: 2,765 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 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... |