I'm modifying a small one that works only by console and requires console arguments. But now I wanted to pass it to winmain (form) and get those arguments using GetCommandLine and use them in WinMain as I did in console. The progra...
The function that adds them is given by:
In the file that contains the int main ():
add(m1,m2, sum);
cout << "The sum is:";
sum.display_money();
In the .h file:
friend void add(AltMoney m1, AltMoney m2, AltMoney& sum);...
I am trying to do an exercise of a social network, and the functions are the 9 functions that are presented in the code.
I have two errors right now that I do not know how to solve.
If I add a user, I delete the same user and add it again,...
I have the following function:
CLliga::CarregaDades(const char* nomFitxer)
{
ifstream fitxer(nomFitxer);
if (fitxer.is_open())
{
int i = 0;
(1) fitxer >> m_numJornadas;
delete[] m_pJornadas;
m_p...
How could I convert a LPWSTR(Long Pointer Wide String) to string. I understand that an LPWSTR is a long pointer to a constant string. But there is some simple way to convert an LPWSTR eg:
LPWSTR a = L"check";
A string:
string b = /...
I am looking for the simple way or some way to convert a string to LPCTSTR because lately I have problems with this. For example, I have any string:
string welcome;
And I want to use this string in my LPCTSTR .
LPCTSTR ejemplo = "aq...
Hi, I want to create a form but for c ++ the problem I can not show you a picture of the objects that I can:
The problem is that I want an idea similar to visualstudio but at least I can create my own forms in c ++ and so far I have not ma...