C++ School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a C++ Expert!

Join 307,014 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,055 people online right now. Registration is fast and FREE... Join Now!




Request a C++ Tutorial

13 Pages V < 1 2 3 4 > »   

Request a C++ Tutorial, Ideas that will get you kudos

Rating  5
amaar30

RE: Request A C++ Tutorial

7 Aug, 2007 - 01:28 PM
Post #21

New D.I.C Head
*

Joined: 7 Aug, 2007
Posts: 1


My Contributions
thankssssssssssssssssssssssssssssssssss tongue.gif tongue.gif
User is offlineProfile CardPM
+Quote Post

skyhawk133

RE: Request A C++ Tutorial

7 Aug, 2007 - 01:36 PM
Post #22

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 16,883



Thanked: 156 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
QUOTE(amaar30 @ 7 Aug, 2007 - 03:28 PM) *

thankssssssssssssssssssssssssssssssssss tongue.gif tongue.gif


???
User is online!Profile CardPM
+Quote Post

NickDMax

RE: Request A C++ Tutorial

11 Aug, 2007 - 12:57 PM
Post #23

Can grep dead trees!
Group Icon

Joined: 18 Feb, 2007
Posts: 5,266



Thanked: 293 times
Dream Kudos: 1175
Expert In: Java/C++

My Contributions
We are making progress. We have more tutorials in the C++ section then any other (though VB and Java are still close)!

Though I do have to note for those multi-lingual programmers that most of these topics can be covered in other languages.

There is now a general tutorial section!!! If you would like to avoid the language specific aspects of a particular topic there is now a Software Development tutorials section. Many of the suggested topics here would lend themselves well to a general discussion.
User is online!Profile CardPM
+Quote Post

gogole

RE: Request A C++ Tutorial

11 Aug, 2007 - 01:59 PM
Post #24

D.I.C Head
Group Icon

Joined: 17 Jul, 2007
Posts: 131



Thanked: 1 times
Dream Kudos: 25
My Contributions
i konw my tutorial contained alot of errors concerning the code after i reviewed it .does it get accepted or rejected?
User is offlineProfile CardPM
+Quote Post

rahulshukla

RE: Request A C++ Tutorial

19 Aug, 2007 - 08:13 AM
Post #25

New D.I.C Head
*

Joined: 19 Aug, 2007
Posts: 2


My Contributions
Hello i am a new member of this site n i dont exactly know where do i post my question, so i am trying it out here. i am a beginner in programming,
i have been asked to write a program in c which prints all ASCI values and there equivalent charachters using "for loop", it will be a gr8 help to me. smile.gif
User is offlineProfile CardPM
+Quote Post

Xing

RE: Request A C++ Tutorial

19 Aug, 2007 - 08:24 AM
Post #26

D.I.C Addict
Group Icon

Joined: 22 Jul, 2006
Posts: 723



Thanked: 15 times
Dream Kudos: 1575
My Contributions
You should be asking the question by started new thread. Make sure you show your effort before asking help.
User is offlineProfile CardPM
+Quote Post

rahulshukla

RE: Request A C++ Tutorial

19 Aug, 2007 - 10:54 PM
Post #27

New D.I.C Head
*

Joined: 19 Aug, 2007
Posts: 2


My Contributions
@ Xing...

Thanks for the reply. I shall start it up now and also vl keep up with the advise. Still I did not get the answer to the question I posed. Please send me the code. It might seem to be easy and stupid for you but I am a newby and it matters a lot for me. Thanx again.

Rahul/.
User is offlineProfile CardPM
+Quote Post

Xing

RE: Request A C++ Tutorial

19 Aug, 2007 - 11:34 PM
Post #28

D.I.C Addict
Group Icon

Joined: 22 Jul, 2006
Posts: 723



Thanked: 15 times
Dream Kudos: 1575
My Contributions
QUOTE(rahulshukla @ 20 Aug, 2007 - 12:24 PM) *

Please send me the code.

I would suggest you to read the announcement of the forum.

User is offlineProfile CardPM
+Quote Post

Bench

RE: Request A C++ Tutorial

20 Aug, 2007 - 02:58 PM
Post #29

D.I.C Addict
Group Icon

Joined: 20 Aug, 2007
Posts: 906



Thanked: 76 times
Dream Kudos: 150
Expert In: C/C++

My Contributions
Just out of curiousity, what are the standards to which tutorials are moderated? I only ask this, because upon a quick review of some of the C++ tutorials, there are some which contain some real glaring errors and alot of very nonstandard/nonportable code rather unnecessarily -

for example, one particular tutorial contains extensive use of #include <iostream.h> and void main() as a part of the examples - Certainly not a good thing for someone learning the language to be exposed to.
Another one contains headers like <conio.h>, which is (I believe) an old Borland header - examples which include these are a complete non-starter on the majority of compilers, which de-values the tutorial as a whole IMHO.


I'm not totally surprised to see it - this sort of thing is littered all over the internet, but I think, in the interest of this website's credibility, and of the tutorials being of genuine benefit to learners, then it would be a good idea for the tutorial submission regime to be far more rigid in terms of ensuring the tutorials are of a high quality. (And one way to do that is to make sure that examples are tried & tested by a standards-conforming compiler in strict mode)


Just my 2-pence - What does everybody else think?
User is offlineProfile CardPM
+Quote Post

skyhawk133

RE: Request A C++ Tutorial

20 Aug, 2007 - 03:14 PM
Post #30

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 16,883



Thanked: 156 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
All tutorials are reviewed by our moderating staff. Could you please link the tutorials in question and I'll bring them to their attention.
User is online!Profile CardPM
+Quote Post

Bench

RE: Request A C++ Tutorial

20 Aug, 2007 - 04:02 PM
Post #31

D.I.C Addict
Group Icon

Joined: 20 Aug, 2007
Posts: 906



Thanked: 76 times
Dream Kudos: 150
Expert In: C/C++

My Contributions
QUOTE(skyhawk133 @ 20 Aug, 2007 - 11:14 PM) *

All tutorials are reviewed by our moderating staff. Could you please link the tutorials in question and I'll bring them to their attention.

Sure, here's the ones which grabbed my eye.

http://www.dreamincode.net/forums/showtopic9870.htm (All sorts of nonstandard code - maybe unnecessarily since the subject matter of the tutorial itself isn't platform-specific)

http://www.dreamincode.net/forums/showtopic11809.htm ( uses void main() somewhere)

http://www.dreamincode.net/forums/showtopic9872.htm - A whole bunch of problems (incl. iostream.h & void main)
- C++ code mixed with C (stdio.h and printf's aren't very C++ like) - Not an error as such, but poor C++ style, since 'C'-style code doesn't mix very well with much of the C++ Standard library (like std::strings).
- the array s[100] at the beginning overflows - array is sized 100, although the for-loop runs one-past-the-end.



I don't doubt the good intentions of the authors, smile.gif I'm sure they all put time and effort in too, although one of the difficulties in writing such articles for an author unfamiliar with the ISO standard, is that he/she bases their article on their experiences with their own compiler, and 'may' end up publishing a certain amount of (unintentional) misinformation, or compiler-specific information, without realising, because their compiler fools them into thinking that everything's Ok.
User is offlineProfile CardPM
+Quote Post

Xing

RE: Request A C++ Tutorial

20 Aug, 2007 - 05:17 PM
Post #32

D.I.C Addict
Group Icon

Joined: 22 Jul, 2006
Posts: 723



Thanked: 15 times
Dream Kudos: 1575
My Contributions
QUOTE(Bench @ 21 Aug, 2007 - 04:28 AM) *

Just out of curiousity, what are the standards to which tutorials are moderated? I only ask this, because upon a quick review of some of the C++ tutorials, there are some which contain some real glaring errors and alot of very nonstandard/nonportable code rather unnecessarily

for example, one particular tutorial contains extensive use of #include <iostream.h> and void main() as a part of the examples - Certainly not a good thing for someone learning the language to be exposed to.
Another one contains headers like <conio.h>, which is (I believe) an old Borland header - examples which include these are a complete non-starter on the majority of compilers, which de-values the tutorial as a whole IMHO.


I'm not totally surprised to see it - this sort of thing is littered all over the internet, but I think, in the interest of this website's credibility, and of the tutorials being of genuine benefit to learners, then it would be a good idea for the tutorial submission regime to be far more rigid in terms of ensuring the tutorials are of a high quality. (And one way to do that is to make sure that examples are tried & tested by a standards-conforming compiler in strict mode)

Just my 2-pence - What does everybody else think?

Rightly said Bench and the funny part is many of those tutorials are written by moderators themselves. Chris, you need to look into this.

User is offlineProfile CardPM
+Quote Post

skyhawk133

RE: Request A C++ Tutorial

21 Aug, 2007 - 11:41 AM
Post #33

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 16,883



Thanked: 156 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
QUOTE(Bench @ 20 Aug, 2007 - 06:02 PM) *

QUOTE(skyhawk133 @ 20 Aug, 2007 - 11:14 PM) *

All tutorials are reviewed by our moderating staff. Could you please link the tutorials in question and I'll bring them to their attention.

Sure, here's the ones which grabbed my eye.

http://www.dreamincode.net/forums/showtopic9870.htm (All sorts of nonstandard code - maybe unnecessarily since the subject matter of the tutorial itself isn't platform-specific)

http://www.dreamincode.net/forums/showtopic11809.htm ( uses void main() somewhere)

http://www.dreamincode.net/forums/showtopic9872.htm - A whole bunch of problems (incl. iostream.h & void main)
- C++ code mixed with C (stdio.h and printf's aren't very C++ like) - Not an error as such, but poor C++ style, since 'C'-style code doesn't mix very well with much of the C++ Standard library (like std::strings).
- the array s[100] at the beginning overflows - array is sized 100, although the for-loop runs one-past-the-end.



I don't doubt the good intentions of the authors, smile.gif I'm sure they all put time and effort in too, although one of the difficulties in writing such articles for an author unfamiliar with the ISO standard, is that he/she bases their article on their experiences with their own compiler, and 'may' end up publishing a certain amount of (unintentional) misinformation, or compiler-specific information, without realising, because their compiler fools them into thinking that everything's Ok.



This has been brought to the moderators attention and is being worked on. I believe one of them has already been corrected.
User is online!Profile CardPM
+Quote Post

Amadeus

RE: Request A C++ Tutorial

21 Aug, 2007 - 01:58 PM
Post #34

g+ + -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 13,284



Thanked: 149 times
Dream Kudos: 25
My Contributions
As is the case with many sites, a good portion of users are not familiar with ISO or ANSI standards, nor do they use compilers that enforce those standards.

If you read through the forum posts, you'll note that many of the more experienced programmers do indeed promote the use of standards, indicating where code is non-compliant, and suggesting compliant alternatives. We also point out the pitfalls of using non-standard code.

On a website of this size, it is of course difficult to catch all such instances, especially as it applies to legacy code/posts - that which was submitted before enforcement of those standards became the current mode of operations on the site.

Your beliefs about conio.h are correct, although that one is easily corrected, as 99% of users include that header file simply to use the non-standard getch() function in order to hold open an execution window! smile.gif

To summarize, standards are indeed of concern to the site admins, and efforts are being made to ensure that items like tutorials comply to standards.
User is offlineProfile CardPM
+Quote Post

NickDMax

RE: Request A C++ Tutorial

11 Sep, 2007 - 06:52 AM
Post #35

Can grep dead trees!
Group Icon

Joined: 18 Feb, 2007
Posts: 5,266



Thanked: 293 times
Dream Kudos: 1175
Expert In: Java/C++

My Contributions
QUOTE(Thenamesjoe @ 10 Sep, 2007 - 11:57 PM) *

QUOTE(NickDMax @ 10 Sep, 2007 - 09:31 PM) *

QUOTE(Thenamesjoe @ 10 Sep, 2007 - 01:40 PM) *

ok i know i should prolly read this b4 i start requesting stuff but im a total noob to programing and by that i mean TOTAL i havent even started on my first code yet iv been looking for the slightest amount of help for about 3 months now i want to learn to code for fun just to give me something to do in my free time but mostly to make mods for online games and c++ is the language i need in order to do so.So Please Help me i have a yahoo ID on my profile or you can just mail my acc on here any suggestions will be helpful.Thank You


Well, there are many people here who can help. If you ask questions in the forum then others can also benefit from the answers.

Basically if you want to get into programming then I suggest you find a book and follow some examples. Although mod'ing games is exciting, it will take some work on your part. There are actually some nice books out at the moment that cover game programming and cover many of the major technologies and engines used (this is information that you will need to know how to mod the games) there are also many tutorials throughout the net on various mods to games.

ok so you mentioned books on the subject is there any that you might recomend?if so then please by all means let me know what they are as i said b4 im a total noob at this stuff


Thenamesjoe: I broke your topic off into its own thread so that others might see it a little more easily. You can find it here.
User is online!Profile CardPM
+Quote Post

rytskyo

RE: Request A C++ Tutorial

14 Sep, 2007 - 08:16 PM
Post #36

New D.I.C Head
*

Joined: 28 Dec, 2006
Posts: 2


My Contributions
If anyone has experience with the beos API, I would love a comprehensive tutorial on it, or better yet, a mentor of sorts of for which I would compensate.


Ryt
User is offlineProfile CardPM
+Quote Post

prasad_1

RE: Request A C++ Tutorial

16 Sep, 2007 - 06:50 AM
Post #37

New D.I.C Head
*

Joined: 15 Sep, 2007
Posts: 1


My Contributions
QUOTE(NickDMax @ 1 Jun, 2007 - 04:42 AM) *

While you are Dreaming.In.Code do you wish you had more Kudos or a Thumbdrive but just don’t have any good ideas for a tutorial? Well I have a bunch but just don’t have the time to write them all. So I decided to start the recommended tutorial topics list. If you see a topic you would like to tackle reply with your topic so we know someone is on it. If you can think of another good topic suggest it and I will add it to the list.

Most of these topics are very broad and only represent the basic subject matter. I am more than willing to suggest smaller sub-topics in any of these areas if you still can’t think of a project.
.
STL Topics:
  • Using particular STL Containers, especially these: vector, deque, list, map queue, and stack.
  • Using STL Iterators.
  • Using particular STL algorithms.
.
Advanced Language Use:
  • Function objects.
  • Operator overloading.
  • Template/Generic programming.
  • Run-Time Type Identification (RTTI).
.
Fun:
  • Writing obfuscated code/Obfuscation techniques.
.
Hot Topics:
  • Steganography – The java tutorial was a big hit
  • Cryptography
  • Embedded Systems
  • AI – especially game AI.
  • Data Compression
.
Computer Science / Theory
  • Advanced Data Structures
  • Linked lists done, thanks mattman059
  • QuickSort – How does it work? done, thanks csmanoj.
  • Parsing – especially code.
  • How to write an interpreter.
  • Finite State Machines.
  • Using UML in design of C/C++ programs.
  • Graph theory
  • Neural Networks esp. dealing with AI
.
Misc
  • Debugging Techniques
  • Lex/Yacc
.
Hardware
  • Coding for embedded systems
  • Programming for USB devices
.
Related technologies/third party libraries
  • Basic Boost tutorial
  • Basic QT tutorial
  • Intro to Allegro
  • Intro to OpenGL
  • Intro to DirectX
  • Using ANT to build projects
  • Using Apache's Xerces C++
.


Please remember that all tutorials are reviewed for technical content by the moderators. None of us are professional editors but we do try to ensure that you do not embarrass yourself with incorrect content or ridiculously bad grammar. For the most part we will work with you to get a great tutorial out there.

hello sir/mam,
iwant to learn lalnguage c folllowed by c++ but how? tell me


This post has been edited by William_Wilson: 16 Sep, 2007 - 07:01 AM
User is offlineProfile CardPM
+Quote Post

William_Wilson

RE: Request A C++ Tutorial

16 Sep, 2007 - 07:06 AM
Post #38

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 4,667



Thanked: 97 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
Please post your questions only once, i have removed the duplicate.
This is not exactly the right forum for this question, but i would suggest looking over the tutorial and snippet sections for help on getting started.
There are also many good sites listed under the resources section.
C plus plus.com is a great resource to get started, and the members of DIC will be more than happy to help solve any errors or troubled output you may have.
User is offlineProfile CardPM
+Quote Post

NickDMax

RE: Request A C++ Tutorial

16 Sep, 2007 - 07:27 AM
Post #39

Can grep dead trees!
Group Icon

Joined: 18 Feb, 2007
Posts: 5,266



Thanked: 293 times
Dream Kudos: 1175
Expert In: Java/C++

My Contributions
oddly enough we don't have a "learning how to program in C/C++" tutorial. Probably because this is not really a simple topic. There is a lot to learning to program. Many people take many different routes.

My best advice on learning to program:
#1 Find a good beginners book. Stay away from windows programming initially as you will spend more time learning about the peculiarities of windows programming then programming.

#2 Find a good compiler. There are many freely available.

#3 Start out by copying programs out of the book, but as you go try to extend each program to do one or two things extra.

#4 Try to do any "Assignments" or problems that the book may give at the end of a section.

If you run into difficulties ask questions here on DIC: Give us the question, relevant code and any error messages and you will find a whole community there to help.
User is online!Profile CardPM
+Quote Post

Louisda16th

RE: Request A C++ Tutorial

16 Sep, 2007 - 07:53 AM
Post #40

dream.in.assembly.code
Group Icon

Joined: 3 Aug, 2006
Posts: 1,894



Thanked: 5 times
Dream Kudos: 755
My Contributions
Damn good point. I've been trying to write a beginner's tut for VB for about a month but didn't get far. That and school keeps me too busy sad.gif.
User is offlineProfile CardPM
+Quote Post

13 Pages V < 1 2 3 4 > » 
Closed TopicStart new topic

Time is now: 11/21/09 07:26AM

Live C++ Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month