|
i was wondering if there is anything to do to update/upgrade the compiler in that program, i have the enterprise edition and i would like it to be compliant with the lastest version of c++, any response would be much appreciated
|
|
|
|
|
It's not gonna happen. VC.NET in it's current release form is still not standards compliant, in fact no compiler is to my knowledge.
Which parts of the standard are you noticing by their absence ?
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
"I'm thinking of getting married for companionship and so I have someone to cook and clean." - Martin Marvinski, 6/3/2002
|
|
|
|
|
i was wondering about the visual C++ 6.0 that was released in 98 not the .NET version, i may be mistaken, not sure, new to c++
i need these two things to work and my current version does not let me use them, installing the service pack wont help?
try{...
}
catch{..
}
|
|
|
|
|
Why dont try and catch work (ie. where does the error occur)? I have happily used them many times. Note that for MFC exceptions you need to use the MFC macro overrides TRY, CATCH and CATCH_ALL.
------------------------
Derek Waters
derek@lj-oz.com
|
|
|
|
|
problem fixed, changed my include line from new.h to just new, could someone explain why that was causing the problem, and do you suggest me getting ms visio studio?
|
|
|
|
|
Er, as far as I am aware, you shouldn't have the VC++6 compiler without Visual Studio... You do have Visual Studio as well, don't you?
As for the new.h/new thing, I have no idea about that. In the MSDN examples, they seem to include both, but you have to ensure they are included before any STL stuff. I'm not sure how that could possible affect try/catch.
------------------------
Derek Waters
derek@lj-oz.com
|
|
|
|
|
i have Visual Studio 6.0 but just simply opted to install VC++ 6.0, but i was wondering if there is any major difference between Visual Studio 6.0 and Visio Studio
|
|
|
|
|
Visio is a tool for graphical layout and design, used for flowcharts / UML / system state diagrams etc. It can (I think) be integrated with Visual Studio, but is an entirely different product (personally, I've never used it as I found it easier to draw most charts in Word!).
Sorry for the inferences earlier, I just thought you'd mistyped Visio!
------------------------
Derek Waters
derek@lj-oz.com
|
|
|
|
|
|
I dunno specifically, but if a header that drops the .h exists, you should use it, as the .h headers are deprecated ( i.e. lined up for removal from the standard).
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
"I'm thinking of getting married for companionship and so I have someone to cook and clean." - Martin Marvinski, 6/3/2002
|
|
|
|
|
after examining the folder that has all the header files i noticed that the header file "new" is the official header file, i think, and new.h is MS's own version of that header file
|
|
|
|
|
Derek Waters wrote:
Note that for MFC exceptions you need to use the MFC macro overrides TRY, CATCH and CATCH_ALL.
What benefit do they offer over the standard ones ? I use standard try/catch in MFC all the time, and I've never used the MACRO ones.
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
"I'm thinking of getting married for companionship and so I have someone to cook and clean." - Martin Marvinski, 6/3/2002
|
|
|
|
|
Sorry, my bad,
I don't use the MFC TRY/CATCH/CATCH_ALL either, I believe they are for backward compatibility (presumably MFC 1.0 didn't support C++ exceptions).
Public Service Announcement: Don't use MFC TRY/CATCH/CATCH_ALL kiddies! My mistake.
------------------------
Derek Waters
derek@lj-oz.com
|
|
|
|
|
??
Any ideas? Any demo projects anywhere?
Any response any one can give me will be greatly appreciated.
Sincerely,
Danielle (an overworked graduate student)
|
|
|
|
|
The easiest way is to use a printer driver that sends faxes, and simply print. Other than that, I know of commercial libraries that do it, but nothing free.
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
"I'm thinking of getting married for companionship and so I have someone to cook and clean." - Martin Marvinski, 6/3/2002
|
|
|
|
|
How can i send a fax using Printer Driver.. One of you
Posts mentioned it.
Please help
Christian Graus wrote:
The easiest way is to use a printer driver that sends faxes, and simply print
|
|
|
|
|
Windows comes with them, sometimes, otherwise there are commercial ones. They need to be installed, then you just print.
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
|
|
|
|
|
|
I'm writing a multithreaded server, I have a method of thread synch setup but I'm pretty certain it's total crap. Can you give me some ideas for efficient thread synching, BTW no MFC, I'm making portable code.
Stephen Caldwell
Blackfission, CEO
http://blackfission.myip.org:81
|
|
|
|
|
Well, multithreading is definitely not part of the C++ standard, so it is just impossible to do portable thread sync code. The closest you can get to portability is probably Boost threads library which offers a common API to underlying multithreading features of the OS.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
I know that unix uses pthreads and windows uses handles, i just didn't want someone proposing the use of CCrticalSections and stuff. Hmm....I have an idea about the multithreading...yay unfocused thought.
Stephen Caldwell
Blackfission, CEO
http://blackfission.myip.org:81
|
|
|
|
|
I went through similar portable (Windows and Unix) app once and we ended up with two different class libraries for multithreading – one for Windows and one for Unix with some generic interface classes. Some of the features cannot be implemented for both platforms, for example Window’s WaitForMultipleObjects function does not have any analogues in posix threads. Actually, you can try Java. It will be definitely slow, but portable. I wouldn’t even try.
Serge
|
|
|
|
|
Serge Krynine wrote:
I went through similar portable (Windows and Unix) app once and we ended up with two different class libraries for multithreading – one for Windows and one for Unix with some generic interface classes.
I also think this is a good solution.
I vote pro drink
|
|
|
|
|
Serge Krynine wrote:
I went through similar portable (Windows and Unix) app once and we ended up with two different class libraries for multithreading – one for Windows and one for Unix with some generic interface classes.
What I was going to do was have a bunch of preprocessor #ifdef/#endif interspersed all throughout my thread class. Seperate classes will most likely be more legible.
Stephen Caldwell
Blackfission, CEO
http://blackfission.myip.org:81
|
|
|
|
|
There's an open source implementation of pthreads for Win32, so you could use pthreads for both environments. According to this article, there is no significant performance loss compared to direct Win32 API.
|
|
|
|