|
Sukhjinder_K wrote: I dont want to download trial versions of huge softwares
Actually Visual C++ Express Edition is not a trial version. BTW why didn't you google [^] before asking a Visual Studio centric forum?
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]
|
|
|
|
|
Please excuse my lack of knowledge (and stupidity). MS Visual Studio is one huge bundle. I need something under 50 MB. I checked Turbo C++ explorer which also is above 300 MB. There must be tools available which are
Free
have IDE
Small Package
Allow building Windows GUI Apps
Thanks....
Looking for help on my OpenSource Media Player LetsYo
|
|
|
|
|
Have you looked into Eclipse and its C++ plugin?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Isn't eclipse aver 100MB? Not to mention the (speed) performance of it just plain sucks.
Anyway, what about Code::Blocks or DevCpp or Open Watcom. I've used all three and would recommend Code::Blocks by far, DevCpp is a little old in the tooth , and not maintained unless you get wxDevCpp. Open Watcom is also a little old in the tooth & fairly hefty @ around 60mb download - although it does include cross-compilers so you can make 16bit dos creations, or linux creations - all from the comfort of your windows desktop.
modified on Sunday, July 6, 2008 12:12 AM
|
|
|
|
|
enhzflep wrote: Isn't eclipse aver 100MB?
Closer to 68MB.
enhzflep wrote: Not to mention the (speed) performance of it just plain sucks.
I use it for Java coding and the speed is far from slow. Maybe the C++ plugin is different.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi all..
I have username in TCHAR
////////////////////
_TCHAR *csUserName
csUserName = "manju";
/////////////////////
I want to remove to ";" character ..
any help..
thanking you
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
manju#123 wrote: I want to remove to ";" character ..
why r u remove this ";".
it is necessary in vc++,it shows the ending of statement.
by the way when u use below satement.
manju#123 wrote: _TCHAR *csUserName
csUserName = "manju";
here if u use csUserName ,then it is olny have string manju;
ok there is no need to remove ;
otherwise error comes.
"One suggestion please correct
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju"
Thanks.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
"_$h@nky_" wrote: why r u remove this ";".
Because I am reading from config File i.e UserName,Password and ServerName.
In Config File we can specify with ";" character..thats why its create error thats why i want to remove ";"
"_$h@nky_" wrote: by the way when u use below satement.
I have declared as _TCHAR * csUserName;
I read from config File..
if(_tcsicmp(it->first, "USERNAME") == 0){
csUserName = const_cast<_TCHAR*>(it->second);
login[iServerCtr].sUserName = csUserName;
It reads the Config File Parameter UserName.
"_$h@nky_" wrote: ok there is no need to remove ;
yes
thank you
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
ok,
use Remove() member of CString.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Where was MFC mentioned?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
manju#123 wrote:
_TCHAR *csUserName
csUserName = "manju";
You missed a ; here?
_TCHAR *csUserName;
manju#123 wrote: I want to remove to ";" character ..
I didn't get your question. I can't see any ; in your csUserName string. Do you mean that your username is read from user directly and you want to remove all ; from it?
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
Jijo raj wrote: Do you mean that your username is read from user directly and you want to remove all ; from it?
Exactly sir...When I Read from Config File Iget
Example I Config File I have
UserName=manju;
PassWord=abc;
When I read from Config File I get
csUserName=manju;...
But i want is only
csUserName=manju
I think you got the point sir..
thank you for ur reply.
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
Easy method is to use CString::Remove() function.
CString csUserName = "User;Name;";
csUserName.Remove( ';' );
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
Hi sir..
I used different code...
I first Converted from _TCHAR* to CString and removed the ";" character..
But again i need to convert CString to _TCHAR*..
But i am getting some error..
Plz check i am correct or no..
Heres the code i tried
_TCHAR *csUserName,coUserName;
CString UserName
if(_tcsicmp(it->first, "USERNAME") == 0)
{
csUserName = const_cast<_TCHAR*>(it->second);
UserName = CString(_T(csUserName));
UserName.Remove(';');
coUserName = (LPCTSTR) (LPSTR)UserName;
login[iServerCtr].sUserName = coUserName;
}
thank you
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
manju#123 wrote:
But i am getting some error..
Plz check i am correct or no..
Could you please provide the error description?
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
Jijo raj wrote: Could you please provide the error description?
error C2440: 'type cast' : cannot convert from 'CString' to 'LPSTR'
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
use this code:
CString UserName(it->first)
UserName.Remove(';');
if(UserName.CompareNoCase("USERNAME") == 0)
{
if(login[iServerCtr].sUserName)
delete [] login[iServerCtr].sUserName;
login[iServerCtr].sUserName = new TCHAR[_MAX_PATH];
_tcscpy( login[iServerCtr].sUserName, UserName);
}
Cheers,
Ashutosh Bhawasinka
|
|
|
|
|
Alhtough I have not understood your problem exactly, but the problem seems to be with this line:
coUserName = (LPCTSTR) (LPSTR)UserName;
try coUserName = UserName.GetBuffer();
use GetBuffer() funciton when you need to get a pointer to CString storage.
Also in first line of your code TCHAR *csUserName,coUserName
you may want to use TCHAR *csUserName, *coUserName;
the fruits of your success will be in direct ratio to the honesty and sincerity of your own efforts in keeping your own records, doing your own thinking and, reaching your own conclusions.
..surviving in autumn..in love with spring..
|
|
|
|
|
theCPkid wrote: Also in first line of your code TCHAR *csUserName,coUserName
I had mistyped that i used
TCHAR *csUserName,*coUserName;
theCPkid wrote: try coUserName = UserName.GetBuffer();
I used it i got a error..
cannot convert from 'overloaded-function' to '_TCHAR *'
theCPkid wrote: coUserName = (LPCTSTR) (LPSTR)UserName;
I have change it now..
_TCHAR *csUserName,*coUserName;
CString UserName
if(_tcsicmp(it->first, "USERNAME") == 0)
{
csUserName = const_cast<_TCHAR*>(it->second);
UserName = CString(_T(csUserName));
UserName.Remove(';');
coUserName = UserName.GetBuffer;
login[iServerCtr].sUserName = coUserName;
}
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
Replace this line ----> coUserName = UserName.GetBuffer; <-------
with this line ----> coUserName = UserName.GetBuffer(); <-------
You tried GetBuffer and not GetBuffer()
the fruits of your success will be in direct ratio to the honesty and sincerity of your own efforts in keeping your own records, doing your own thinking and, reaching your own conclusions.
..surviving in autumn..in love with spring..
|
|
|
|
|
theCPkid wrote: You tried GetBuffer and not GetBuffer() [Red faced]
thank you very much sir..
Its working fine..
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
Something like:
TCHAR *pos = _tcschr(csUserName, _T(';'));
*pos = _T('\0');
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hello all,
I am developing ActiveX Control which runs in browser and making communication with javascript.
I am able to send and recieve data between activex and javascript.
Now i want to know that
1. what is the maximum limit to send data to javascript?
2. Is it possible to pass custom object to javascript?
Thanks in advance.
Regards,
Manish Patel.
B.E. - Information Technology.
|
|
|
|
|
Hi all,
Please help me for Report Generation and Printing in VC++ 2005 SDI type application.
In my application i m using MS-Access Database.
I want to use records of table from access databse use for report generation the print this report .
Please help me for this.
I m waiting for ur valuable suggestion.
Thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
After the application was invoked, if we give the list of the languages (English, Japanese etc.) as a menu item then is it possible to change the language (The Userinterface language) using VC++, MFC.
Regards,
Suresh.
|
|
|
|