Thread: The closest to a homework question without it being locked

  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    129

    The closest to a homework question without it being locked

    You might enjoy this!

    As a long time C# guy, liking it for it's easily readable style, easy control etc, it's coming to the most annoying part of Uni life for a programmer. C++ and C. God they are ugly! I actually have to think about what each line is doing, because it's not clear as to what should be happening!

    Lord save me!
    He who asks is a fool for five minutes, but he who does not ask remains a fool forever.

    The fool wonders, the wise man asks. - Benjamin Disraeli

    There are no foolish questions and no man becomes a fool until he has stopped asking questions. Charles Steinmetz

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Moved to General Discussions.

    Quote Originally Posted by DanFraser
    I actually have to think about what each line is doing, because it's not clear as to what should be happening!
    More likely you simply lack experience with programming languages that are new to you. This might be compounded by poorly designed example programs.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Hacker MeTh0Dz's Avatar
    Join Date
    Oct 2008
    Posts
    111
    C and C++ are hardly ugly languages syntactically. You just lack latitude in your programming experiences.

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    C# and C++ are not so different in style that such a claim holds any water.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #5
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391
    I am a newbie to programming, and to C, and I am enjoying C very much.
    OS: Linux Mint 13(Maya) LTS 64 bit.

  6. #6
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788

    Lightbulb

    Quote Originally Posted by happyclown View Post
    [Vart]: "computer tries to do what you ask, takes garbage as an address and goes there. In your case it arrives in HELL and notifies you about his death with the seg fault." 01-19-2009

    [matsp]: " Well, bring your brother over here and I'll give him a slap! " 01-19-2009
    I'm very interested to know why matsp is written as it is, and my nick was fixed to not match the original style?
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  7. #7
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I'm pretty sure he's being *cringe* Snarky...

  8. #8
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by vart View Post
    I'm very interested to know why matsp is written as it is, and my nick was fixed to not match the original style?
    So, that was someone who wanted to install gcc, and I gave a good link to Code::Blocks that include gcc, but instead the big brother of the OP decided that "No, you have to download the compiler on it's own, we do not want any IDE's here". I may have been a bit tired at the time as well.

    --
    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.

  9. #9
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391
    Quote Originally Posted by vart View Post
    I'm very interested to know why matsp is written as it is, and my nick was fixed to not match the original style?
    All fixed now.
    OS: Linux Mint 13(Maya) LTS 64 bit.

  10. #10
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391
    Quote Originally Posted by matsp View Post
    So, that was someone who wanted to install gcc, and I gave a good link to Code::Blocks that include gcc, but instead the big brother of the OP decided that "No, you have to download the compiler on it's own, we do not want any IDE's here". I may have been a bit tired at the time as well.

    --
    Mats
    It sure gave me a good laugh. I only quote things that make me laugh.
    OS: Linux Mint 13(Maya) LTS 64 bit.

  11. #11
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    I like to make people laugh I'm no good at it, but still like it So happy to have you quoting me now ^^
    Currently research OpenGL

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. quick question
    By surfingbum18 in forum C Programming
    Replies: 5
    Last Post: 12-04-2007, 06:16 AM
  2. Design layer question
    By mdoland in forum C# Programming
    Replies: 0
    Last Post: 10-19-2007, 04:22 AM
  3. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM
  4. Very simple question, problem in my Code.
    By Vber in forum C Programming
    Replies: 7
    Last Post: 11-16-2002, 03:57 PM
  5. Algorithm question
    By PJYelton in forum C++ Programming
    Replies: 2
    Last Post: 10-28-2002, 10:52 AM