a new tutorial for c/c++

This is a discussion on a new tutorial for c/c++ within the A Brief History of Cprogramming.com forums, part of the Community Boards category; hey guys, I have designed a website to help new comers understanding the C/C++ programming language in depth. well, the ...

  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    37

    a new tutorial for c/c++

    hey guys,

    I have designed a website to help new comers understanding the C/C++ programming language in depth. well, the tutorials are being added daily and will be available for you completely very soon.

    check this out and tell me what you think.

    http://www.stripathi.110mb.com/Tutor..._contents.html

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,720
    You might want to concentrate on adding more content before going on your advertising spree.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,604
    There are fatal flaws in the tutorials, as well, as noted in a post of mine.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #4
    Dr Dipshi++ mike_g's Avatar
    Join Date
    Oct 2006
    Location
    On me hyperplane
    Posts
    1,218
    Code:
     //my first program in c++
    	   
    	      #include <stdio.h>	      
    		  
                   int main()
    	       {
    		 printf("hello world!")
    		 return 0;
    	       }
    Eh? C++? Also, can you spot an error in it?

    After 2 minutes of reading I noticed: some weird inconsistent indentation, some gramatical errors, unrecognised/unurlendcoded characters, and a very annoying flashing ad banner.

    Apart from that I like the look of the layout. Nice an clean in general.

  5. #5
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by mike_g View Post
    Eh? C++? Also, can you spot an error in it?

    After 2 minutes of reading I noticed: some weird inconsistent indentation, some gramatical errors, unrecognised/unurlendcoded characters, and a very annoying flashing ad banner.

    Apart from that I like the look of the layout. Nice an clean in general.
    Not to mention the very annoying adverts!

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  6. #6
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,604
    I did notice that as well, and the tutorial seems to assume you are using a MS-DOS based compiler. That cannot be good.
    Further, it actually discourages the use of an IDE because it seems "important" to learn how the "system" works by manually invoking the compiler and linker and writing code in Notepad or whatever.
    This, IMO, is NOT important whatsoever. You should understand the build phase, but building it yourself is totally irrelevant and unnecessary. I would encourage an IDE.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #7
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    You at least have a better than average concept, which is to say I like the site design. What you should do now is go back and apply some more stringent criteria (including those already suggested, and I am convinced you are intelligent enough to recognize where and how you have left some avenues uninvestigated) and develop the site and your knowledge at the same time.

    Keeping with the "better than average" concept, why not add an "about the author" (you don't have to use your real name)? Then you could have a logical, objective presentation of your qualifications as a source of knowledge ("I am a master's student in computing science", "I have worked on such and such a project," -- the other thing's you've done that are C related). It would be nice to see this practice normalized on all tutorial material, and not just some.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  8. #8
    Registered User
    Join Date
    Jul 2008
    Posts
    37
    Quote Originally Posted by MK27 View Post
    You at least have a better than average concept, which is to say I like the site design. What you should do now is go back and apply some more stringent criteria (including those already suggested, and I am convinced you are intelligent enough to recognize where and how you have left some avenues uninvestigated) and develop the site and your knowledge at the same time.

    Keeping with the "better than average" concept, why not add an "about the author" (you don't have to use your real name)? Then you could have a logical, objective presentation of your qualifications as a source of knowledge ("I am a master's student in computing science", "I have worked on such and such a project," -- the other thing's you've done that are C related). It would be nice to see this practice normalized on all tutorial material, and not just some.
    got some relief after your post Mr MK27

    thank you and thank to all other members.

  9. #9
    PhysicistTurnedProgrammer Cell's Avatar
    Join Date
    Jan 2009
    Location
    New Jersey
    Posts
    72
    Come on, man - a syntax error in your "Hello, World" program? That needs to be fixed before inviting others to use your tutorial.

  10. #10
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,069
    Yep, that's pretty shameful. I'm picking up on a mistake on basically every other bullet point. You can use this to teach anyone how to program... I would stray a new programmer away from this site the second I caught them reading it.

    As said above, the best thing you have going for you is the layout, which isn't bad. I'm not a big fan of the aqua or teal or whatever the blue is... but that's personal preference. If it were my choice alone to guide you, I'd say focus on fixing the content before worrying about the site design or advertisements at all. The second a newbie tries to compile your "Hello World" program and gets an error, not to mention a warning for deprecated libraries if they compile it as C++ as your comment suggest, they're going to flee like madmen.
    Last edited by SlyMaelstrom; 02-23-2009 at 05:40 PM.
    Sent from my iPadŽ

  11. #11
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,701
    Only a poor writer would leave his final draft as a list.

  12. #12
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Quote Originally Posted by Odd website
    We are asuming that you are usind MS-DOS commond line utility to invoke tcc compiler.
    Don't make such silly assumptions. Why would you be assuming that the "student" decided "Oh I might get this very old compiler that wasn't very good to start with and learn with it!!111oneoneeleven".

    Other than that... Nice layout . I too would not recommend a beginner to this website, perhaps a more experienced programmer if I wanted to have a laugh.

    PS: I made it small so I don't hurt your feelings.

  13. #13
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    493
    i appreciate the time and effort you have spent to help the others . its really good , really good!
    but the problem here is , first of all now a days people are learning standard C/C++ with new and modern IDEs, not TC and stuff . , i know why you chose TC, because of the college or the university of yours ! in India and some other countries they are still teaching C/C++ in old fasion ! using TC, they dont even bother updating their knowledge concerning this !
    i myself was/am a victim of this consequence. i wont forget the time when i handed in my project ( a simpletron emulator ) to my professor! , after observing its functionalties, he questioned me , did you code it in TC? i said no! is it under DOS( by saying this he meant did you develope it under MS-DOS ) ? i said nope! again he said ! did you use Visual C++? well nah!!!
    to his supprise ! he said so what in the hell are you talking about! how did you make this!?
    i said,! thats simple, i coded this emu according to the latest C++ standards! and i used CodeBlocks IDE under windows !as you see they cant even make difference between a DOS based app and a Standard console app, to them , every console application is a DOS application!! ... he asked me about the GUI ! and how i managed to make that ! he hast heard of Wxwidgets either! he couldnt comprehend how it is possible to make a GUI application in C++ without using VC++ or CBuilder !! so you see thats the problem!

    after all , it is a good idea to cover the standards not sth deprecated!
    tanx
    Last edited by Masterx; 02-24-2009 at 11:43 AM.
    Highlight Your Codes
    The Boost C++ Libraries (online Reference)

    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.."
    Bill Bryson


  14. #14
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,604
    Note that we are criticizing your site because it's not full of very good information (old, undefined, deprecated, etc).
    But that isn't to say we are criticizing your effort. If you would just fix what needs to be fixed and learn proper ways, then you could make your tutorial site and we would gladly refer to it.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  15. #15
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,701
    >> we would gladly refer to it.
    or not

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. My new website
    By joeprogrammer in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 03-17-2006, 06:38 PM
  2. Cprog tutorial: Design Patterns
    By maes in forum C++ Programming
    Replies: 7
    Last Post: 10-11-2004, 01:41 AM
  3. Tutorial review
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 03-22-2004, 08:40 PM
  4. Problem with tutorial (Vector class)
    By OdyTHeBear in forum C++ Programming
    Replies: 4
    Last Post: 12-18-2002, 01:49 PM
  5. My DirectInput tutorial....
    By jdinger in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 06-18-2002, 11:32 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21