|
I want to make an application consisting of text boxes, radio buttons and check buttons. I did it in visual basic.
But i want to know that is there is any difference between what we program in Code Blocks and in Visual C ?
|
|
|
|
|
Razanust wrote: I want to make an application consisting of text boxes, radio buttons and check buttons. I did it in visual basic.
Either you did or didn't.
Razanust wrote: But i want to know that is there is any difference between what we program in Code Blocks and in Visual C ?
Have you read what either one is? Code::Blocks is a C++ IDE whereas Visual C++ is a language. Do you want to compare Code::Blocks with Visual Studio instead?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
Razanust wrote: is any difference between what we program in Code Blocks and in Visual C ?
yes, huge differences.
|
|
|
|
|
Hi ,
I am working on Windows 7 operating system. I have created a window application . When I minimize that window it get minimize properly but when I try to Maximize it its not able to Maximize . It is not showing any error , it just keep itself in the taskbar. Please tell me how can I proceed in this.
The window is getting maximize succesfuly in other Operating system like Vista and XP.
Thanks in Advance
|
|
|
|
|
what code is running when maximized?
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Please,
would it be possible
to enumerate all MB-advantages shortly ?
Thank you !
virtual void BeHappy() = 0;
modified on Wednesday, March 24, 2010 7:38 AM
|
|
|
|
|
Fixed-length vs variable-length UNICODE, the first that comes in my mind:
UTF-8 is pretty much everywhere and the most used variable-length UNICODE encoding ("multibyte"). Alone for compatibility in network applications or together with XML it could be a very good idea to choose it, probably because it is a "fits-all" format. It is able to represent any UNICODE character, yet backwards compatible with ASCII (7 bit). Also see UTF-8 advantages and disadvantages[^].
/M
|
|
|
|
|
Thank you, Moak !
(I did not know, that "multibyte" does mean "UTF-8"... )
virtual void BeHappy() = 0;
|
|
|
|
|
That is incorrect MBCS and Unicode are different things. See http://msdn.microsoft.com/en-us/library/5z097dxa.aspx. VC++ implements MSCS as DBCS (Double Byte Character Sets).
-Saurabh
P.S. Some how auto links are not working.
|
|
|
|
|
MBCS is not same as Unicode as reported by other poster. See http://msdn.microsoft.com/en-us/library/5z097dxa.aspx for details.
-Saurabh
P.S. Some how auto links are not working.
|
|
|
|
|
Thank you, Saurabh !
(I would prefer to use UNICODE
since there is no a "size-fixed character type" (like TCHAR )
to use with MBCS sequences, and it (MBCS) is not fully supported in MFC... )
virtual void BeHappy() = 0;
|
|
|
|
|
You are welcome. If you are interested then you can read more about it in excellent articles from Michael Dunn.
http://www.codeproject.com/KB/string/cppstringguide1.aspx
http://www.codeproject.com/KB/string/cppstringguide2.aspx
-Saurabh
|
|
|
|
|
|
Hi,
Im writting mpeg files into ASF container.Its written successfully and run on VLC fine.But its not getting played in WMP.First,it shows the error message as "DX50 codec is not installed on ur system"..so,i have installed.still its npt getting played in WMP even its showing the corrct time.video is missing.how to solve this?
|
|
|
|
|
it looks WMP doesnt know the codec. Somethings missing in the installation for WMP.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
how to create document for .c files which consists of only code in it and does not have any comments included in it.when i am trying to create document using doxygen for the .c files of linphone 3.2.1 then i am getting a warning i.e.
compound _linconfig does have any document...and so on for many .c files...help needed urgently..
itsmesheen@rediffmail.com
|
|
|
|
|
It's all described here[^].
txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
It can generate an on-line documentation browser (in HTML) and/or an off-line reference manual (in $\mbox{\LaTeX}$) from a set of documented source files.
where in my case the .c files are just with code not even a single comment i.e not at all documented..k??/
now which software will help me out...to know the functions defined in that particular .c file and what all are the called functions, calling functions...what are the input parameters with output parameters.....now reply
|
|
|
|
|
itssheen wrote: what are the input parameters with output parameters.
The link I gave you is to the doxygen system, try reading the documentation to find out what you can and cannot do with it.
itssheen wrote: now reply
Tempted as I am, I wil refrain from responding in kind to this rude ending to your message.
txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
itssheen wrote: .....now reply
As has been said, this is kinda rude.
But trying to answer your question... Doxygne is not psychic, it is just a tool to extract formatted comments from your code. If those comments don't exist, then you're just going to have to write them!
This is not as bad as it sounds - I had to do the same from scratch to a project, and I found lots of code that could be refactored as I went. I reduced the code size by a good 5%. That means 5% less bugs!
Iain.
I have now moved to Sweden for love (awwww).
|
|
|
|
|
Hi,
i am working in console application in VC++(visual studio 2005).
i am having a problem while using CString.
i have mentioned sample code below.
#include "stdafx.h"
#include "server1.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// The one and only application object
CWinApp theApp;
using namespace std;
int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
{
int nRetCode = 0;
// initialize MFC and print and error on failure
if (!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0))
{
// TODO: change error code to suit your needs
_tprintf(_T("Fatal Error: MFC initialization failed\n"));
nRetCode = 1;
}
else
{
CString str;
str="IP conneted"
printf("%s",str);
cout<<str;
}
return nRetCode;
}
while executing the code..
i get printed only first letter(I) of str.
so please help me..
is there any header or setting should i change in the visual studio environment?
|
|
|
|
|
Check if the following works:
CStringA str;<br />
str = "IP conneted";<br />
printf("%s", str);<br />
cout<< str;
|
|
|
|
|
CStringA?
Величие не Бога может быть недооценена.
|
|
|
|
|
Yes, for UNICODE settings CString get replaced to CStringW and for Multi-Byte it gets replaced to CStringA. You can check atlstr.h header.
|
|
|
|
|
Try it
...
#ifdef _UNICODE
wcout << LPCTSTR(str);
#else
cout << LPCTSTR(str);
#endif
virtual void BeHappy() = 0;
|
|
|
|