Search found 4 matches
- Sun Nov 17, 2002 11:35 pm
- Forum: C++
- Topic: an Ambiguity in istrstream
- Replies: 2
- Views: 2258
- Thu Nov 14, 2002 7:43 pm
- Forum: C++
- Topic: an Ambiguity in istrstream
- Replies: 2
- Views: 2258
an Ambiguity in istrstream
//this code Don't work
//Output Should Be "Hello World " But isn't (it's nonsense or null)
[cpp]
#include<strstrea.h>
#include<string.h>
char token1[100];
char token2[500];
char first[500];//Ambiguity line
void main()
{
istrstream ST(first);
strcpy(first,"Hello World");
ST>>token1;//Part That don ...
//Output Should Be "Hello World " But isn't (it's nonsense or null)
[cpp]
#include<strstrea.h>
#include<string.h>
char token1[100];
char token2[500];
char first[500];//Ambiguity line
void main()
{
istrstream ST(first);
strcpy(first,"Hello World");
ST>>token1;//Part That don ...
- Thu Nov 14, 2002 7:30 pm
- Forum: C++
- Topic: Using Long Long s
- Replies: 1
- Views: 1937
Using Long Long s
in past topics ,it had talked about using "Unsigned Long Long" Data type for GCC
but when i write
unsigned long long ull = 0xffffffffffffffff; // 18446744073709551615
//a 64 bit value
it arises a compiler error : Integer Constant Out of range
should I set something at my code or for compiler?
but when i write
unsigned long long ull = 0xffffffffffffffff; // 18446744073709551615
//a 64 bit value
it arises a compiler error : Integer Constant Out of range
should I set something at my code or for compiler?
- Sun Nov 03, 2002 9:42 pm
- Forum: C++
- Topic: ANSI C++ Manual
- Replies: 5
- Views: 3908
ANSI C++ Manual
I Generally write my codes in Visual C;
but at the end ,some problems Occurs when Visual C isn't Ansi
1)I want an Ansi Compiler under Windows 2000(Certainly with a good IDE like VC)that when I write my code,I Be sure from runnig my program on Valladolid Machines
2)And So with a Good user reference ...
but at the end ,some problems Occurs when Visual C isn't Ansi
1)I want an Ansi Compiler under Windows 2000(Certainly with a good IDE like VC)that when I write my code,I Be sure from runnig my program on Valladolid Machines
2)And So with a Good user reference ...