Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reading from a socket Pin
David Crow10-May-04 2:59
David Crow10-May-04 2:59 
GeneralAnyone used c-tree plus by FairCom Pin
Joe Woodbury9-May-04 17:56
professionalJoe Woodbury9-May-04 17:56 
GeneralRe: Anyone used c-tree plus by FairCom Pin
Steve S9-May-04 21:35
Steve S9-May-04 21:35 
GeneralRe: Anyone used c-tree plus by FairCom Pin
David Crow10-May-04 3:00
David Crow10-May-04 3:00 
Generalsending mails using SMTP Pin
Member 10582029-May-04 17:47
Member 10582029-May-04 17:47 
GeneralRe: sending mails using SMTP Pin
Steve S9-May-04 21:43
Steve S9-May-04 21:43 
GeneralRe: sending mails using SMTP Pin
Paul Ranson10-May-04 1:25
Paul Ranson10-May-04 1:25 
Generalabout "locale" Pin
vividtang9-May-04 17:00
vividtang9-May-04 17:00 
hi:below little program ,to realize transfer capital character into lower character。
#include <locale>
#include <iostream>
using namespace std;

int main( )
{
locale loc1 ( "German_Germany" );

char string[] = "HELLO, MY NAME IS John!";

use_facet<ctype<char> > ( loc1 ).tolower
( &string[0], &string[strlen(&string[0])-1] );
cout << "The lowercase string is: " << string << endl;
}
but when running,note error:(1)error C2780: 'const _F &__cdecl std::use_facet(const class std::locale &,const _F *,bool)' : expects 3 arguments - 1 provided
error(2)error C2228: left of '.tolower' must have class/struct/union type
how to modify?
QuestionHow to access USB data Pin
Billar9-May-04 16:42
Billar9-May-04 16:42 
GeneralConsole window in Windows Pin
Iceberg769-May-04 15:14
Iceberg769-May-04 15:14 
GeneralRe: Console window in Windows Pin
Member 10582029-May-04 17:59
Member 10582029-May-04 17:59 
GeneralRe: Console window in Windows Pin
Iceberg769-May-04 18:13
Iceberg769-May-04 18:13 
GeneralRe: Console window in Windows Pin
_foo9-May-04 18:26
_foo9-May-04 18:26 
GeneralRe: Console window in Windows Pin
Member 10582029-May-04 18:57
Member 10582029-May-04 18:57 
GeneralRe: Console window in Windows Pin
FirstPerson9-May-04 20:46
FirstPerson9-May-04 20:46 
GeneralRe: Console window in Windows Pin
Anthony_Yio10-May-04 1:09
Anthony_Yio10-May-04 1:09 
GeneralMain Window Icon loading Pin
robert_s9-May-04 13:18
robert_s9-May-04 13:18 
GeneralRe: Main Window Icon loading Pin
Iceberg769-May-04 15:22
Iceberg769-May-04 15:22 
GeneralRe: Main Window Icon loading Pin
_foo9-May-04 18:36
_foo9-May-04 18:36 
GeneralRe: Main Window Icon loading Pin
robert_s10-May-04 4:51
robert_s10-May-04 4:51 
Generalstd::sort( Ran first, Ran last, Cmp cmp) Pin
Laing,James9-May-04 11:17
Laing,James9-May-04 11:17 
GeneralRe: std::sort( Ran first, Ran last, Cmp cmp) Pin
Milton Karimbekallil9-May-04 19:31
Milton Karimbekallil9-May-04 19:31 
GeneralRe: std::sort( Ran first, Ran last, Cmp cmp) Pin
Maxwell Chen9-May-04 20:20
Maxwell Chen9-May-04 20:20 
GeneralRe: std::sort( Ran first, Ran last, Cmp cmp) Pin
Laing,James9-May-04 21:51
Laing,James9-May-04 21:51 
GeneralRe: std::sort( Ran first, Ran last, Cmp cmp) Pin
Milton Karimbekallil10-May-04 18:11
Milton Karimbekallil10-May-04 18:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.