|
-
February 27th, 2013, 05:12 PM
#36
Re: noob Dev-C++ help. Need to calc area & perimeter of a rectangle (class proj).
ok, something that i cant wrap my head around are identifiers like char, int, double, float....etc etc. I cant consistently understand which one to use except for 'char', which is like a single character like 'm'. And I've been guessing most of the time when I've tried to use 'int' or 'double'. I know I'm supposed to use it based on the range, but I dont grasp how that works. This is one of the things i either try to figure out with trial and error. and as stated here before, i cant learn to do this like that. ive read through my book, Ive read this page (http://www.cplusplus.com/doc/tutorial/variables/).
so if i want to create an identifier for 'phoenix', how exactly do i determine if it's 'int', 'double', or what?
btw, i dont have any projects this week. Im just doing some extra work to correct the way ive been building codes
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|