|
George_George wrote: Previously I think STL functions like cout
LISTEN UP GEORGE! If you are not going to bother to read the links I provide I will no longer be assisting you. The link I provided clearly shows that cout is part of the Standard C++ Stream Library and NOT PART OF THE STANDARD TEMPLATE LIBRARY!
I have not read the rest of your post, since you don't read mine I have no intention on reading yours.
Oh, and have a nice day.
led mike
|
|
|
|
|
Sorry led mike, I am using the wrong terminology. But we are talking about different things. My question is, for STL function, I am not sure whether it is provided in the form of DLL (which we implicit link with) or provided with source code (which we built into our application directly). Any comments?
regards,
George
|
|
|
|
|
George_George wrote: for STL function, I am not sure whether it is provided in the form of DLL (which we implicit link with) or provided with source code (which we built into our application directly). Any comments?
The Standard C++ library, in VC++, is provided in the form of static .lib or a .DLL/.lib ( and of course header files). The Standard Template Library is supplied in the form of header files. If you read through all the STL header files you will no doubt see them using aspects of the Standard C++ Library thereby making the header files dependent on the Standard C++ Library and the static .lib or .DLL/.lib.
Now the question you should really be asking yourself is, perhaps you lack the requisite aptitude for this field if it takes all the C++ documentation + 7 days of 20 forum messages for you to comprehend this very simple, basic, fundamental fact?
led mike
|
|
|
|
|
Hi led mike,
I found the information in the header file is enough for the implementation, for example, like file vector/string, I am just not sure why supply additional lib/dll, any ideas?
regards,
George
|
|
|
|
|
Hi All,
I want to dowload the files from ftp server.I dont know how to connect to ftp and how to download the files.I need this in C++(not MFC or VC++).pls help me........................
Thanks and regards,
Anitha
|
|
|
|
|
|
|
Hi,
I need ftp connection with command line.plz help me......
Regards,
Anitha
|
|
|
|
|
AnithaSubramani wrote: I need ftp connection with command line.
Which does not necessarily negate the response you were given.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
I want to give flat border for RichEdit control .i hav tried WS_BORDER,WS_SUNKEN,WS_EX_CLIENTEDGE,WS_EX_THICKFRAME nad WS_EX_WINDOWEDGE.
is thr any other style to set flat border for rich control or any other way.
plz suggest.
|
|
|
|
|
preeti sharma wrote: I want to give flat border for RichEdit control
WS_EX_STATICEDGE
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Hi all,
I have a MFC application, This application has a dialog which contains a
richedit control and an edit control, it likes chat dialog in Yahoo
Messenger. I type unicode string in edit control and I want to display it
in rich edit control after user typing enter key. To display the string in
rich edit control I used ReplaceSel function. After I call this function the
string that displays in rich edit control is not correct.
The chinese and japanese text shows as ????
Please show me how to display correctly this string in rich edit control.
Thank In Advance
|
|
|
|
|
1. Which version of Visual Studio are you using?
2. You are successfully able to type Unicode in edit control in the same window, but the problem is only with RichEdit?
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
I am using Visual Studio. net 2005
Yes I am able to type it in Edit control and the problem is with RichEdit only.
|
|
|
|
|
Hmm... I faced this problem with earlier versions of VS. Can't believe they hadn't fixed it even on 2005.
This worked for me: Close the project, create a backup of your .RC file, open the .RC file with notepad and replace all instances of the word RICHEDIT with RICHEDIT20W . Save and close the .RC file.
Now build and run your app and let me know if that worked.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
Thanks a lot it worked.
U r Genius. Hats off to you.
|
|
|
|
|
Dhiraj kumar Saini wrote: U r Genius. Hats off to you.
OK - I'm flattered.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
No its not flattery. Actually its b'coz of you all that our worked is eased out so I am thankful to you.
|
|
|
|
|
You're welcome.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
Rajesh R Subramanian wrote: I'm flattered.
No, U r Genius!
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Thank you very much. I find this finally.... 
|
|
|
|
|
You're welcome!
This is why I like message boards. An answer given on the board helps someone years after.
"Real men drive manual transmission" - Rajesh.
|
|
|
|
|
Hi guys,
I want to display the content of an array of type unsigned char which contains ascii caracters in a Windows form textbox. After hours of trying to do this, I am asking for some help. I am using Visual C++ Express 2008.
The array is filled by a function who reads data from the serial port.
I get a pointer to that array of unsigned char from a defined function.
something like this :
unsigned char *RxBuffer; // Filled by a function reading COM port.
I want to Display it in a Textbox, something like this :
textBox1->Text = RxBuffer.ToString();
When I do this, it diyplays the decimal value of my ascii code.
For example if the first ascii code in my array is 0x41, I would like "A" to be displayed in the textbox. But instead it displays "51" which is the decimal value.
Any advice? Thx in advance.
|
|
|
|
|
you may try the following code, i am not sure that it works , but i think this is one of the ways to solve ur problem , try it !
CString str;
str.Format("%s %x",str, RxBuffer);
now str contains converted data
i think now you can display str in your text box
|
|
|
|
|
kapardhi wrote: CString str;
str.Format("%s %x",str, RxBuffer);
now str contains converted data
Nope. Can you spot the problem in your code?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|