CFanatic

Go Back   CFanatic > Programming > C# Programming

Join CFanatic Forum Now

variable scope topic posted under C# Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 09-04-2010, 08:08 AM
Junior Member
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
[csharp] is on a distinguished road
| More
variable scope

Hi people,
i work on some example with very big score (number). The double type is not enough large to store the results. Can i create some variable type and set variable scope, or what to do? tnx
Reply With Quote
  #2  
Old 09-04-2010, 08:31 AM
coderzone's Avatar
Senior Member
 
Join Date: May 2007
Posts: 273
Thanks: 16
Thanked 12 Times in 12 Posts
coderzone is on a distinguished road
| More
Re: variable scope

You need to create a class and then store the number using some primitive datatypes. Scope and other things will be defined by the object of the class itself.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using variable length variable (bitset) myk45 C++ Programming 0 09-02-2010 01:37 PM
Global variable iliyan_84 C++ Programming 0 09-01-2010 08:26 PM
Variable substitution in ksh array abrmhk Shell Scripting 0 08-28-2010 03:11 AM
C++ Global Variable watson C++ Programming 0 07-23-2010 11:53 PM
Scope Query forumuser11 C++ Programming 0 06-28-2010 08:10 AM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 04:13 PM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board