Forum: C++ Nov 7th, 2008 |
| Replies: 4 Views: 864 fprintf(txtFile, "\n");
This should work.
Just to keep you informed here, use of %s is only when you need to store a variable. |
Forum: C++ Oct 1st, 2008 |
| Replies: 9 Views: 657 Apart from inter changing those lines, also change the way you check string:
if (input=="skip").
Instead of this say:
in (strcmp(input,"skip") == 0).
This is the rite way of checking the... |
Forum: C++ Oct 1st, 2008 |
| Replies: 9 Views: 657 I guess its not issue with the Header file. Code is looking good to me. Check what compiler you are using. |
Forum: C++ Oct 1st, 2008 |
| Replies: 1 Views: 928 Try the Transact & Transform tools. I used it, they are very useful. You need C compiler to run these. |
Forum: C++ Oct 1st, 2008 |
| Replies: 3 Views: 1,037 Try this code in "Bicicleta.cpp"
float Bicicleta::calcImposto() const
{
}
and in "Bicicleta.h"
float calcImposto() const;
There entries should be there as it was defined as Virtual in the... |
Forum: C++ Oct 1st, 2008 |
| Replies: 12 Views: 825 Well instead of using functions min() & max(), I prefer using the swap of numbers, which was shown in this thread below. Calling function's is always expensive than creating a temporary variable. |
Forum: Perl Sep 26th, 2008 |
| Replies: 4 Views: 2,095 I have looked into that, but I am not able to understand. I would appreciate if you could give me a sample piece of code of executing command. I can use only SFTP connection but not SSH directly. |
Forum: Perl Sep 25th, 2008 |
| Replies: 4 Views: 2,095 Hi All,
I am connecting to Unix host from Windows and using SFTP connection. I am able to connect and do put & get. But I need to do even more. I want to write a function to which I will pass the... |