473,480 Members | 1,901 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to enable try catch in C++?

1 New Member
How to enable try catch in Turbo C++ compiler for C++?
Mar 14 '17 #1
1 1114
weaknessforcats
9,208 Recognized Expert Moderator Expert
I'm not a Turbo C++ user but in Visual Studio you use a setting for C++ language features you want in your code. Check your project C++ settings. It may say enable try/catch or maybe enable exceptions or even enable exception handling.
Mar 15 '17 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
4417
by: Keith Kowalski | last post by:
I anm opening up a text file reading the lines of the file that refer to a tif image in that file, If the tif image does not exist I need it to send an email stating that the file doesn't exist...
18
26055
by: Digital Puer | last post by:
Hi, I'm coming over from Java to C++, so please bear with me. In C++, is there a way for me to use exceptions to catch segmentation faults (e.g. when I access a location off the end of an array)?...
7
1708
by: Joseph Turian | last post by:
I have a throw as follows: void bar() { ostringstream o; o << foo; throw o.str(); } I used to catch it is follows: void baz() {
2
2275
by: robert | last post by:
When employing complex UI libs (wx, win32ui, ..) and other extension libs, nice "only Python stack traces" remain a myth. Currently I'm hunting again a rare C-level crash bug of a Python based...
7
6960
by: Mr Flibble | last post by:
Are try { //something } catch { // }
1
2707
by: Francois Stander | last post by:
Hope someone could help. I read all the controls on a page using the following statement: For i = 0 To Page.Form.Controls.Count - 1 try Page.Form.Controls.Item(i).Visible...
0
4271
by: BLUE | last post by:
Enable and Disable in the Network and DialUp Connections manager is actually setting a bit in the registry for the target adapter and then calling NDIS to unbind or bind (depending on whether your...
0
1567
by: Nev H | last post by:
I have a Metro RS232 Scanner which I seem to be able to connect to in the below VB.NET code but I cannot enable the device through the DeviceEnabled = True line. The code will not error, it just...
0
1531
by: RakeshKumar | last post by:
when i click btn control disable btn using javascript then btn click event call. inside btn click event i write code which gives me report in excel/pdf format for that i use method...
0
7037
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6904
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...
0
7076
jinu1996
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...
1
6730
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4767
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4471
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2990
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.