by: nsyforce |
last post by:
What is the correct way to convert a const char* to a CString? I'm
somewhat of a newbie and have tried several ways. While they all
convert ok, I'm using a profiler that shows a memory leak for...
|
by: Gareth |
last post by:
I want to do the following to strings:
1) Check if first four characters are "DATA"
2) Get the middle 'word' from the following string "DATA 123 xyz" (the
middle word is variable length) -...
|
by: Razzel |
last post by:
I created this as a test:
#include <time.h>
main(){
printf(X1: %s\n", putim());
printf(X2: %s\n", putim());
}
putim() {
time_t t;
time(&t);
return(ctime(&t));
|
by: Claire |
last post by:
I need to interface to an MFC CArchive file created with Visual Studio 6.
I've found some online sample code to translate an archived string into C#
I now need to read in and translate a CTime...
|
by: Silly |
last post by:
I am writing a MC++ wrapper for a native dll, that will be called by C#
applications.
One of the functions returns a CString parameter:
long GetProductStringDescriptor(int DevID, CString&...
|
by: ashmangat |
last post by:
I'm trying to claculate the average number of characters per words but
having some problems
Every time i run this program, i get 0 as the average
#include <iostream>
#include <string>
#include...
|
by: chasgl |
last post by:
I have a older C++ project from a pre .net Visual studio. I just want it to
run "the old way" in the new environment, not yet wanting to do any dotnet
stuff. Several conversions that worked...
|
by: Cactus |
last post by:
How to convert unsigned char* to CString:
I wrote some function:
u_char_ =55;
u_char_ =66;
u_char_ =77;
.........=ii......
Convert_to_CS(u_char_);
|
by: ProgMaster |
last post by:
I've used the Cstring format to convernt a CTime into a a CString, yet I get an error message, here's the code:
void CTimerDlg::OnTimer(UINT_PTR nIDEvent)
{
CString m_sTime;
// TODO: Add your...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|