I.T. Discussion Community!
-Collapse +Expand
C++
Search C++ Group:

Advanced
-Collapse +Expand C++ To/From
To/FromCODEGuides
-Collapse +Expand C++ Study Test
PRESTWOODCERTIFIED
-Collapse +Expand C++ Store
PRESTWOODSTORE
   ► All GroupsC++ Group   Print This    All Groups  
Highlights Updated Posts Unanswered Posts Online Today Who's Reading What Member Birthdays!

HighLights (C++ Group)

Switch to New Group Posts By Type view.

New: C++ Group Members

1. posokhin  (2 visits., -- --) 2. shalom  (3 visits., -- USA) 3. Ramon.P  (1 visits., -- --) 4. Raimo  (3 visits., -- --) 5. DVWeed  (5 visits., -- USA) 6. Wes Peterson  (2090 visits. Prestwood IT office in Citrus Heights, CA) 7. David.F  (12 visits., -- --) 8. Ken.H  (5 visits. Dumas, -- --) 9. zdm314  (4 visits. Citrus Heights, CA USA) 10. waynekestner  (10 visits. Ellicott City, MD USA)

New C++ Posts: All Types

View:
New?   Title Created By For...
None. No highlights in last 90 days.
Icon Legend:
Recent or not:
- Recent activity (within last two weeks).
- No activity last two weeks.
 Since your last logged visit:
- New to you or updated since your last visit (sign in now to activate).
- NOT new to you since your last visit (sign in now to activate).

New: C++ Message Board Posts

Go To: C++ Message Board

Thread 5 of 5
Thread Starter  

jrshedden
BDE GetConfigParams Block Size
Hi All, I've been having some fun trying to change the BDE 'block size' during run time. I need to generate large answer tables and I don't want to drag every user though the BDE Administrator. I have no access to their machines other than my software. I like the idea of only modifying the settings when my program is running instead of changing their idapi.cfg file.  "rptSession" is a TSession component in the below example. TStringList* tsl = new TStringList(); rptSession->GetConfigParams("\CONFIGURATION\DRIVERS\NATIVE\PARADOX\%s","BLOCK SIZE",tsl);, I can compile, and no matter what permutation of path I dictate, the engine can't find the parameter that I specify. I want to read the current block size, then modify it while the session is active. Thanks in Advance! Jim Shedden
Posted to MB Topic: C++Builder
7 years ago
Nothing New Since Your Last Visit
4061
Hits

Thread 4 of 5
Thread Starter  

raynerson
MainMenu item chosen
Hello Mike

I do need your help!!!!!! pleeeease!!

I have a lot of forms in my program and one depends on one another. Form1 has a mainmenu whose items are: viga, trelica, portico and grelha(from civil engineering).
In Form5 i need to know the item chosen before in Form1, but i don't know how to do it. I do'nt know the syntax

Example (in Form5)

if (Form1->Viga1.OnClick) or if (Form1->Viga1-> Clicked == true)
{

Do something.........

}

Please, help me! It's my graduation paper and i need to finish it as soon as possible

Thanks dude!!!
Posted to MB Topic: C++Builder
7 years ago
Nothing New Since Your Last Visit
2751
Hits

Thread 3 of 5
Thread Starter  

Alagu_Sundari
class that should not be inherited.
How to write the class such that it should not be inherited by other class.
Posted to MB Topic: Standard C++
9 years ago
1 Reply:

mprestwood
For C++, to prevent derivation make the constructor a private member of the class. In .Net you use the keyword sealed and in java you use a final class.
9 years ago
Nothing New Since Your Last Visit
5244
Hits

Thread 2 of 5
Thread Starter  

Daydreamer
C Chat Server for Borland?
I have been looking for a few weeks now for a chatserver example in C and can't find one that works for BCB 5.5.  I can find C++ servers but none that are in C that actually works for BCB.  Can someone point me in the right direction?  I wish to connect a database to a console program, but would like the code to be C based and not C++ ( I hear it is faster in regular ansi C).  Thank you in advance!
Posted to MB Topic: C Language
10 years ago
1 Reply:

mprestwood
Did you ever find a chat server? If not, how did you work around that. Are you porting one of the C++ ones or still looking?
10 years ago
Nothing New Since Your Last Visit
4576
Hits

Thread 1 of 5
Thread Starter  

Johan
Exception Handle
Hi Moderator,, , I am developing database (ORACLE) application using C++Builder with TADO Component (TADOConnection & TADOQuery)., , Why if I put try and catch exception, when my application got error occur didn't entering catch block., , ie:, my syntax is TADOConnection->Open();, When this syntax not working properly, such as broken connection to database("ORA-12560"), didn't coming in catch block., , How to handle about that?, , Thanks a lot, , regards,, , Johan
Posted to MB Topic: C++Builder
13 years ago
1 Reply:

adamlum
It's been a little while since I had the privilege of programming in C++ but if I remember correctly you have to explicitly throw an exception rather than the runtime throwing it automatically like Java or .NET...
10 years ago
Nothing New Since Your Last Visit
3402
Hits
More...

New: C++ Knowledge Base Posts

Go To: C++ Knowledge Base
  KB Article    

Mike Prestwood
1. C++/CLI Empty String Check (String.IsNullOrEmpty)

The .Net framework offers a static method in the string class: String.IsNullOrEmpty.

Posted to KB Topic: C++
8 years ago

Code
Nothing New Since Your Last Visit
12663
Hits

Mike Prestwood
2. C++/CLI String Concatenation (+)

C++/CLI performs implicit casting of numbers to strings. To concatenate two strings, a string to an integer, or a string to a floating point number, use the + operator. For example, to convert a floating point number to a string just concatenate an empty string to the number as in "" + 3.2.

Posted to KB Topic: C++/CLI Language Basics
8 years ago

Code
Nothing New Since Your Last Visit  
7259
Hits

Mike Prestwood
3. C++/CLI Logical Operators

Same as C++ and Java. C# logical operators:

& and, as in this and that No Short Circuit
&& and, as in this and that short circuits
| or, as in this or that No Short Circuit
|| or, as in this or that short circuits
! Not, as in Not This
^ either or, as in this or that but not both

Posted to KB Topic: C++/CLI Language Basics
8 years ago

Code
Nothing New Since Your Last Visit
5829
Hits

Mike Prestwood
4. C++ Pointers

C++ uses both pointers and references. Use the * operator to declare a pointer and use the & operator to declare a reference.

Posted to KB Topic: C++ Language Details
8 years ago

Code
Nothing New Since Your Last Visit
5179
Hits
More...

New: To/From Code

Go To: C++ To/From Guides

Code Snippets

  Code Snippet Created
1. Comments 1/1/2009
2. Prevent Derivation 1/1/2009
3. Abstraction 1/1/2009
4. End of Statement 1/1/2009
5. Case Sensitivity 1/1/2009
6. Literals 1/1/2009
7. Variables 1/1/2009
8. Assignment 1/1/2009
9. String Concatenation 1/1/2009
10. File Extensions 1/1/2009

Topics

  Topic Category Created
1. Array Data Structures 3/20/2010
2. Comments Language Basics 1/1/2009
3. Left of String Commands 1/1/2009
4. Prevent Derivation OOP Details 1/1/2009
5. Abstraction OOP Details 1/1/2009
6. End of Statement Language Basics 1/1/2009
7. Case Sensitivity Language Basics 1/1/2009
8. Literals Language Basics 1/1/2009
9. Variables Language Basics 1/1/2009
10. Assignment Operators 1/1/2009

New: eCertified Study Questions

Go To: eCertified
Question Level Type Based on KB Post KB Topic
{Too Long!} 1 MC {Too Long!} C++ OOP
{Too Long!} 1 TF {Too Long!} C++/CLI Language Basics
{Too Long!} 2 TF {Too Long!} C++/CLI Language Basics

Switch group?

Water-Cooler:
  • AmericanIT HighLights
  • Industry HighLights
  • Linux HighLights
  • Owners HighLights
  • PrestwoodBoards HighLights
  • Windows HighLights
  • IT Professionals:
  • Analyst HighLights
  • Coder HighLights
  • DBA HighLights
  • Proj Man HighLights
  • Tech HighLights
  • Tech Writer HighLights
  • Tester HighLights
  • Desktop Databases:
  • Access HighLights
  • Paradox HighLights
  • V.FoxPro HighLights
  • Website Scripting:
  • ASP Classic HighLights
  • Design HighLights
  • JavaScript HighLights
  • Perl HighLights
  • PHP HighLights
  • General Dev Tools:
  • C# HighLights
  • C++ HighLights
  • Delphi HighLights
  • Java HighLights
  • Prism HighLights
  • VB Classic HighLights
  • VB.Net HighLights
  • -
       Contact Us!
     
    PrestwoodBoards.com was developed and is maintainted by me. Do you have a question or suggestion? Do you see a problem? Contact me now. My goal is to build an ad-free and spam-free source of I.T. information with many contributers (ok to promote your website/company in your bio). Yes, my company Prestwood IT Solutions is mentioned in my bio which shows with every post, but you can contribute and promote your pet project too!

    1,747 People Online Now!!  
    Sign In to see who's online now!  Not a member? Join now. It's free!
    Show more stats...


    ©1995-2017 PrestwoodBoards  [Security & Privacy]
    Professional IT Services: Coding | Websites | Computer Tech