EXTREME Overclocking Forums
Home | Reviews | Forums | Downloads | $ EXTREME Deals $ | RealTime Pricing | Free Magazines | Gear | Folding Stats Newsletter | Contact Us


Go Back   EXTREME Overclocking Forums > Software Discussion > Programming, DBMS, HTML, Web Related
Register Forum Rules FAQ Search Today's Posts Mark Forums Read

Welcome Guest Visitor! Please Register, It's Free and Fun To Participate!
The EXTREME Overclocking Forums are a place for people to learn how to overclock and tweak their PC's components like the CPU, memory (RAM), or video card in order to gain the maximum performance out of their system. There are lots of discussions about new processors, graphics cards, cooling products, power supplies, cases, and so much more!

You are currently viewing our boards as a "guest" which gives you limited access to view most discussions. You need to register before you can post: click the register link to proceed. Before you register, please read the forum rules. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own pictures, and access many other special features. Registration is fast, simple, and absolutely free! To start viewing messages, select the forum that you want to visit from the selection below.

After you have registered and read the forum rules, you can check out the FAQ for more information on using the forum. We hope you enjoy your stay here!

Note To Spammers: We do not allow unsolicited advertising! Spam is usually reported & deleted within minutes of it being posted, so don't waste your time (or ours)!


Please Register to Post a Reply
 
Thread Tools
Old 10-13-2004, 10:41 AM   #41
D_unruled
Needles FTW
D_unruled's Avatar
Senior Member
 
Posts: 3,469
Last Seen: 08-07-2010
Age: 26
From: The Lowlands
iTrader: 2 / 100%
does it matter where the '{}'s are located? do they have to have their own line?
also, why is tehre things like << instead of just one <...

ohman, this is harder then Qbasic

( i tought myself some qbasic 5-6 yrs back, programmed the majority on my 386...perfect basic machine )
Netherlands  Offline
    Register to Reply to This Post
Old 10-13-2004, 11:54 AM   #42
CodeWeasel
Rawker Kitteh
CodeWeasel's Avatar
Moderator
 
Posts: 901
Last Seen: Today
Age: 26
From: Off-center
iTrader: 0 / 0%
doesn't matter where your curly brackets are, as long as they are the endcaps of the code you're encapsulating
It all depends on personal preference, and/or the school/company's preference.

<< and >> are operators most commonly used to designate input and output streams from a variable. > and < are used in making comparisons, much like doing inequalities in math class.
United States  Online
    Register to Reply to This Post
Old 10-14-2004, 08:02 AM   #43
JoeV2-MCM
Learning To Overclock
JoeV2-MCM's Avatar
Senior Member
 
Posts: 102
Last Seen: 10-24-2004
iTrader: 0 / 0%
Quote:
Originally Posted by CodeWeasel
doesn't matter where your curly brackets are, as long as they are the endcaps of the code you're encapsulating
My only comment on the placement of curly braces, the number of spaces between your tab stops and any of the other numerous topics which typically come up for debate when a team of developers in an organization is preparing to write a Coding Styles Document is simply for each individual developer to be consistent. Allow them to be unique in their coding style, but ensure they are consistent in their style. The corollary to this is that when they edit a source file written by another developer it is important they adopt the style used by the author of the file and not their own unique style.

In my opinion, there is no need for a company to force a particular standard when the standards deal with issues that are subjective (i.e. curly brace placement...). I have no problem with organizations setting standards when it comes to such useful, objectives issues as naming conventions for structures and variables. Okay, I'm ranting now. Pet peeve topic for me. I'll stop now.

Quote:
Originally Posted by CodeWeasel
<< and >> are operators most commonly used to designate input and output streams from a variable.
The >> and << operators are also used for bitwise shift operations.
United States  Offline
    Register to Reply to This Post
Old 10-14-2004, 10:37 AM   #44
CodeWeasel
Rawker Kitteh
CodeWeasel's Avatar
Moderator
 
Posts: 901
Last Seen: Today
Age: 26
From: Off-center
iTrader: 0 / 0%
Quote:
Originally Posted by JoeV2-MCM
Okay, I'm ranting now. Pet peeve topic for me. I'll stop now.



The >> and << operators are also used for bitwise shift operations.
deep breath Yeah, that's why I mentioned it being preference. I know companies do things like that, but wasn't sure exactly how it goes down. Tnx for the input, joe.

And good point w/ the angle brackets, forgot about that...
United States  Online
    Register to Reply to This Post
Old 04-23-2005, 06:56 PM   #45
chaosUnplugged
Running System Stock
Forum Newbie
 
Posts: 1
Last Seen: 12-10-2007
Age: 31
Thumbs down Structs and Classes section eta?



Thank you for an excellent overview and comic strip!

When do you anticipate the availability of your Structs/Classes section? I have no JAVA/C# background so this area seems very foreign to me conceptually. [I do have Intermediate C++ (up through Structs/Classes)]. Taking Advanced C++ Fall quarter and would love to see what you had to say about this area. In the meantime, any recommendations on books/websites with superior intros to this subject?

Thank you CodeWeasel,
United States  Offline
    Register to Reply to This Post
Old 04-24-2005, 01:17 AM   #46
CodeWeasel
Rawker Kitteh
CodeWeasel's Avatar
Moderator
 
Posts: 901
Last Seen: Today
Age: 26
From: Off-center
iTrader: 0 / 0%
Whoa, man, i forgot about this thread

Um, I dunno when I'll get that stuff up honestly, i've been reallllly busy since school started. As for books, any intro book will tell you the simple stuff, it really depends on where you wanna take your coding. For me it was Game Dev, so I went with game programming books. As for websites, can't go wrong with www.cplusplus.com, the msdn (http://msdn.microsoft.com), and google.
United States  Online
    Register to Reply to This Post
Old 05-02-2005, 10:26 AM   #47
LegoWarrior
Overclocker
LegoWarrior's Avatar
Senior Member
 
Posts: 330
Last Seen: 05-18-2013
Age: 25
From: Winnipeg, Manito
iTrader: 0 / 0%
who votes what for free c++ complier to be the best for absolute noobs? I dont know dank bout programming
Canada  Offline
    Register to Reply to This Post
Old 05-02-2005, 10:37 AM   #48
Copycat
Resident skydiver
Copycat's Avatar
Senior Member
 
Posts: 1,506
Last Seen: 12-30-2012
Age: 29
From: Florence, Italy
iTrader: 2 / 100%
^
If you're referring to an IDE, then definitely, by far, the best is dev-cpp
www.bloodshed.net/devcpp.html

for my preference, the best free compiler is gcc, which is bundled with the dev-cpp free IDE
Italy  Offline
    Register to Reply to This Post
Old 05-02-2005, 12:05 PM   #49
itachi
Custom User Title
itachi's Avatar
Senior Member
 
Posts: 512
Last Seen: 12-03-2012
Age: 29
From: Heroin Capital
iTrader: 0 / 0%
for ides.. i prefer eclipse over dev-cpp. the interface is a lot nicer and despite being designed originally for java.. the c++ package would have u fooled. as for compilers.. really doesn't matter if you're starting off from the beginning. when you start getting into code optimizations and such, vc and icc dominate.. otherwise, just go with one that works. if you're using windows, you got either mingw/cygwin or ms's free compiler. linux, icc or gcc.
United States  Offline
    Register to Reply to This Post
Old 05-02-2005, 01:42 PM   #50
CodeWeasel
Rawker Kitteh
CodeWeasel's Avatar
Moderator
 
Posts: 901
Last Seen: Today
Age: 26
From: Off-center
iTrader: 0 / 0%
Yeah, we use Eclipse here actually. It's not bad, my only complaint is that it doesn't have a resource editor
United States  Online
    Register to Reply to This Post
Old 06-16-2005, 02:44 PM   #51
UrbanSmooth
Triple Monitor Gamer
UrbanSmooth's Avatar
Senior Member
 
Posts: 1,851
Last Seen: 05-24-2013
Age: 29
From: Madison, WI area
iTrader: 0 / 0%
So, what kind of stuff have you guys made with C++ lately?
United States  Offline
    Register to Reply to This Post
Old 07-25-2005, 10:32 PM   #52
Copycat
Resident skydiver
Copycat's Avatar
Senior Member
 
Posts: 1,506
Last Seen: 12-30-2012
Age: 29
From: Florence, Italy
iTrader: 2 / 100%
Quote:
Originally Posted by UrbanSmooth
So, what kind of stuff have you guys made with C++ lately?
2 pure mathematical benchmarks for linux. It's been long since i don't touch our 3D engine =\
Italy  Offline
    Register to Reply to This Post
Old 07-25-2005, 10:41 PM   #53
CodeWeasel
Rawker Kitteh
CodeWeasel's Avatar
Moderator
 
Posts: 901
Last Seen: Today
Age: 26
From: Off-center
iTrader: 0 / 0%
Quote:
Originally Posted by UrbanSmooth
So, what kind of stuff have you guys made with C++ lately?
eCalc and WeaselPong!

****, I forgot about this thread...
United States  Online
    Register to Reply to This Post
Old 07-26-2005, 05:42 AM   #54
Ishy
cy@~~
Ishy's Avatar
Senior Member
 
Posts: 781
Last Seen: 10-21-2011
Age: 22
From: Newcastle, UK
iTrader: 0 / 0%
WeaselPong pwns
United Kingdom  Offline
    Register to Reply to This Post
Old 10-04-2005, 08:57 PM   #55
Kamikaze2
Banned!
Banned
Don't ask why unless you want to join them.
Pretty good intro guide, I say .

However, you may want to recommend a few books or tutorials (http://www.freeprogrammingresources.com/, for example. And yes, that site is like my Bible, or C++ in Easy Steps (ISBN 0760771383) for a book.). And, a little pet peeve...

C was based off of B. B was based off of BCPL. B was a much more simple form of C, arguably. But BCPL was a form of BASIC. The UNICHS (later renamed UNIX) project incorporated some random form of assembler for the initial code. But, later on, after finding FORTRAN to not be what he was looking for, the head dev... guy... person... developed B I think. Then, C evolved from that. And later on, Bjarne Sto... Strous... Stroustrup added on object orientation for C. And, throw in a dash of programmers humor, and you get C++.


Thank you.
United States  Offline
    Register to Reply to This Post
Old 10-04-2005, 09:35 PM   #56
itachi
Custom User Title
itachi's Avatar
Senior Member
 
Posts: 512
Last Seen: 12-03-2012
Age: 29
From: Heroin Capital
iTrader: 0 / 0%
Quote:
Originally Posted by Kamikaze2
Pretty good intro guide, I say .

However, you may want to recommend a few books or tutorials (http://www.freeprogrammingresources.com/, for example. And yes, that site is like my Bible, or C++ in Easy Steps (ISBN 0760771383) for a book.). And, a little pet peeve...

C was based off of B. B was based off of BCPL. B was a much more simple form of C, arguably. But BCPL was a form of BASIC. The UNICHS (later renamed UNIX) project incorporated some random form of assembler for the initial code. But, later on, after finding FORTRAN to not be what he was looking for, the head dev... guy... person... developed B I think. Then, C evolved from that. And later on, Bjarne Sto... Strous... Stroustrup added on object orientation for C. And, throw in a dash of programmers humor, and you get C++.


Thank you.
C was based off BCPL CPL, B, and ALGOL 68.. no programming language these days are influenced by only 1 language. BCPL is not a form of BASIC, it's based off CPL hence the name Basic CPL (not B.A.S.I.C. CPL).
United States  Offline
    Register to Reply to This Post
Old 10-05-2005, 12:09 AM   #57
Kamikaze2
Banned!
Banned
Don't ask why unless you want to join them.
Ah, I was taught wrongly then on the history of C...

Curse you, short attention span, and Wikipedia!
United States  Offline
    Register to Reply to This Post
Old 11-11-2005, 10:27 AM   #58
TRICKDADDY
Konichiwa, *****es!
TRICKDADDY's Avatar
Senior Member
 
Posts: 318
Last Seen: 01-03-2006
Age: 37
From: New Hampshire
iTrader: 0 / 0%
Any recommendations for the best "introductory" books or information on learning C++ fundamentals. Consider me the world's biggest noob on the topic, and then offer any suggestions that would be best suited to my experience level...or lack there of.

thx for your help in advance!
United States  Offline
    Register to Reply to This Post
Old 11-11-2005, 11:18 AM   #59
CodeWeasel
Rawker Kitteh
CodeWeasel's Avatar
Moderator
 
Posts: 901
Last Seen: Today
Age: 26
From: Off-center
iTrader: 0 / 0%
I would suggest visiting your local bookstore (provided it has a programming section) and thumbing through a few of the books. All of the "learn c++" noob-type books will pretty much have the same content, what you want to look for is how well it's written. Make sure you can easily understand the book before you buy it. This is also why I don't recommend buying off the internet.
United States  Online
    Register to Reply to This Post
Old 01-18-2006, 03:35 AM   #60
HyperFang
Behold my glory!
HyperFang's Avatar
Senior Member
 
Posts: 922
Last Seen: 01-08-2013
Age: 29
From: Palm Springs, CA
iTrader: 15 / 100%
So, are you going to update with Arrays, Pointers, and Classes? Or should I do that one? :P


Remember kids, Pointers are pointless, but still are a good coding practice!
United States  Offline
    Register to Reply to This Post
Sponsored Links:
Please Register to Post a Reply


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -6. The time now is 01:30 AM.

Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Powered by vBulletin
Copyright ©2000 - 2011, EXTREME Overclocking