Thread: How long do I have to.............

  1. #16
    Registered User
    Join Date
    Mar 2002
    Posts
    30

    I'm innocent

    Well, i'm too new in this job, and you know: ignorance is bliss, love is blindness and so on...I'm so enthusiastic about that you might be right, I'm the one that does not see the broken bridge. Well, open my eyes!

    Maybe the hungarian notation which I have troubles handling , I would need not a C book, but a H dictionary :-)

    BCB fits better for what I know. Seen da visual that it is able to do ans passed to run time creation of controls. I think it would take about six days to release my opera... As far as remember, there was another one with a 6 dayz task: would it be Bjarne?
    BTW, I have a post on the C++ board, maybe you'll take a look... (Create event for run-time button?)

    I might have to do a brain check, though...

    sorry for da REMark, but semicolon is really nothing compared. Being on the keyboard, always in your eyes, how could one forget? Hint: type one extra, never knows.
    Now I C.

  2. #17
    Seņor Member
    Join Date
    Jan 2002
    Posts
    560
    Hmmm I don't see how you can go too long without getting used to ;'s and {}'s. I did a school year of qBASIC and this year I'm doing C++. At the beginnig I pretty much refused to use semicolons and never used the ==. But now I'm really used to it and I kick myself in the ass when I forget to do something little like that.

    BTW what the hell is hungarian notation?

  3. #18
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    Hungarian notation is putting a letter code in frontof a variable name to show its type
    ie int iVar;

    I use it in WIN32 to tell the difference between things like a HBITMAP or BITMAP that relate to the same *.bmp. Or when I am using strings and ints in an array.
    Code:
    if(iIndex==iItem1)
    {
        sprintf(szBuffer,"%s %s",sArray[iIndex],sItem1);
    }
    If your app is a few pages no problem. If it is a few hundred pages, not all written by you, or you have been working on it for a over a year, I would suggest using it.

    But is personal taste.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  4. #19
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >I would suggest using it
    *shudder* I wouldn't suggest it, what if the program specs change and you have the sole duty of changing every little occurance of iVar to fVar? Hungarian notation is useful in identifying the data type, but it binds the variable too closely to the type. Which makes for nasty maintenance.

    -Prelude
    My best code is written with the delete key.

  5. #20
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    Thats what ctrl-h (replace) is for.
    I have an app that finds and replaces strings in .c, .h, .cpp ect files in given folders for just such occurences.

    As I write small, contained functions to one thing and avoid using globals, changing a variable name is not that hard.
    Last edited by novacain; 03-20-2002 at 02:26 AM.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  6. #21
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    Once you look things up a few times you'll remember it. It's just when you go through a chapter and not do any of the exercises that you forget the syntax.

  7. #22
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    603
    Once you look things up a few times you'll remember it. It's just when you go through a chapter and not do any of the exercises that you forget the syntax
    !!!Guilty as charged
    Visit entropysink.com - It's what your PC is made for!

  8. #23
    Registered User
    Join Date
    Mar 2002
    Posts
    30
    >At the beginnig I pretty much refused to use semicolons and >never used the ==.

    Well, excusable ==, it's not even eroneous, just woun't get the expected, but how compile without ;?

    > But now I'm really used to it and I kick myself in the ass when I >forget to do something little like that.

    Beware, a 'visual' example is very strong! How would you like to see your surgeon doing something like this? It's not like you would not come back to him, it's like you might not leave.

    >BTW what the hell is hungarian notation?
    Am I not the only one using BCBuilder here? What are you using anyway?

    Robert

  9. #24
    Seņor Member
    Join Date
    Jan 2002
    Posts
    560
    Microsoft Visual C++ 6.0, I should be getting vs.net soon.

  10. #25
    Registered User
    Join Date
    Mar 2002
    Posts
    30

    Using MS DEV and not knowing HU notation?

    Then how come you managed to ignore the hungarian notation till now?

    BTW, I am very interested in you opinion about .net. Is so much noise about, that I tend to think daonly major change is the name. Exept they might introduced some new notation?!...

    Robet
    ___________________________
    Da code that didn't ki'll make you stronger.
    Now I C.

  11. #26
    Unregistered
    Guest
    Urrghhh!! Hungarian notation, I hate it. As if other peoples code isn't hard enough to read anyway...

    I wont be getting .net yet, but thats only cos I cant afford it

  12. #27
    Seņor Member
    Join Date
    Jan 2002
    Posts
    560
    I don't buy software. If I had to pay for it, I would definetly stick to dev.

  13. #28
    Registered User
    Join Date
    Mar 2002
    Posts
    30
    >I don't buy software. If I had to pay for it, I would definetly stick to dev.

    So, what a you using now if not paying for it? Are you coding for your own pleasure, or academical purposes? What do you do for living?

    Robert
    Now I C.

  14. #29
    Seņor Member
    Join Date
    Jan 2002
    Posts
    560
    I'm a high school student, I use Visual Studio 6. I use it just to fool around with, but I keep it handy because I'm planning on starting some windows programming. The day I make a penny off of making a program using MSVC is the day I will buy the retail version.

  15. #30
    Registered User Sekti's Avatar
    Join Date
    Feb 2002
    Posts
    163

    ...

    I tried to do it but its to much of a waste of time and it makes it look bad I take pride showing people who cant program my code but hey I geuss iVar looks more computer like
    Last edited by Sekti; 03-22-2002 at 08:19 PM.
    +++
    ++
    + Sekti
    ++
    +++

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 15
    Last Post: 09-30-2008, 02:12 AM
  2. Having Buffer Problems With Overlapped I/O --
    By Sargera in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 04:46 PM
  3. Problem in Converting Unsigned long to String
    By cprogrammer_18 in forum C Programming
    Replies: 8
    Last Post: 01-14-2006, 08:57 AM
  4. Merge and Heap..which is really faster
    By silicon in forum C++ Programming
    Replies: 2
    Last Post: 05-10-2005, 04:06 PM
  5. Insertion Sort Problem
    By silicon in forum C++ Programming
    Replies: 1
    Last Post: 05-08-2005, 12:30 PM