Thread: Visual Basic vs C++

  1. #46
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    and Windows don't allow you to do anything like that ( don't know about Linux ) so in windows you are helpless with the standard
    What exactly is your point ? I did show you that you can manipulate any bit in memory by using ANSI (standard) C. I provided a prominent example how this can be used to interface with hardware.

    It's obvious that each operating system has it's specifics and therefore provides it's own API. ANSI C provides means of using this API. Using functions that are not standard because the platforms are non-standard is also a part of the standard.

    Please clarify your point, because to me it looks like you either did not understand what was posted here, or just argue for the sake of arguing.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  2. #47
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    Thats the nature of standards. For example a standard car has to have wheels. However, each car has different wheels and my wheels probably don't fit your car and vice versa. For a specific car you need specific wheels. Following your conclusion, this means that a standard car can never roll because it lacks wheels ( which are only available for specific cars ).


    Edit:

    Another thought: What language do you think the API is written in ?
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #48
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Get a book and STFU.

  4. #49
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Ok, if this thread starts to go off the rails I'll close it

  5. #50
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    sorry.. sorry. I'll keep to myself.

  6. #51
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    C+++C_forever, have you ever considered a career programming Java?

    There's some good links here;
    http://www.javaranch.com/
    http://java.sun.com/
    http://www.programmersheaven.com/zone13/index.htm

  7. #52
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    not to flame you or anything, but C+++C_forever, do you understand that the basis of all programming language is basically bits in memory? a low-level language like ASM works directly on the bits. a higher-level lanugage like VB won't let you directly access any memory, but a medium-low level language like C/C++ lets you do it however you want... you can get down into the nitty gritty and use bitwise operators for all your math, or you can use the * sign... if you really wanted, you could grab any part of memory and destroy whatever data's in it... that's what's called a virus...

    C++ is a very powerful language, but to be that powerfull it needs help... just like VB needs ALOT of help...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  8. #53
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Quote Originally Posted by C+++C_forever
    and thank you for the links Fordy, i'll have them in mind in case i want to learn Java, but i don't see that happen soon...

    Hmm..how about some Delphi?

    http://www.borland.com/delphi/
    http://www.programmersheaven.com/zone2/index.htm

  9. #54
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Oh..in that case, here you go;

    http://board.win32asmcommunity.net/

  10. #55
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    You don't have to. No one ever said "LEARN THESE IN THIS ORDER". Branch out, gather as much as you can. Diverse programmers are wanted more than programmers that can only do one language.

  11. #56
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    >> What language do you think the API is written in ?
    >C and Assembly. Am i right?

    Indeed. There is nothing between C and the machine specific instruction set called ASM. No helpers, no libraries. The next lower level is machine and memory specific. Everything is either standard C or ASM.

    Edit: Oh, and I have no clue if inline ASM is ANSI standard. I guess not, because the implementation is vendor-specific. Try google
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  12. #57
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    603
    I bought a new hammer today. Man, it really sucks at putting screws in. Stupid hammer.
    Visit entropysink.com - It's what your PC is made for!

  13. #58
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Are you any relation to RobC?

  14. #59
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Quote Originally Posted by RobR
    I bought a new hammer today. Man, it really sucks at putting screws in. Stupid hammer.
    Silly British. You probably got one of those 16 oz hammers instead of the 2 lb. hammer you really need.

    @sean, no, I don't think so.

    @ Jimbob, way to be informative and add to the discussion.

  15. #60
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    603
    Quote Originally Posted by sean_mackrory
    Are you any relation to RobC?
    No, and I was here first
    Visit entropysink.com - It's what your PC is made for!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 10
    Last Post: 11-23-2007, 12:13 AM
  2. Run Visual Basic code inside C++?
    By torbjoen in forum Windows Programming
    Replies: 8
    Last Post: 07-31-2002, 11:41 PM
  3. <list>
    By Unregistered in forum C++ Programming
    Replies: 9
    Last Post: 02-24-2002, 04:07 PM
  4. Visual Basic C++
    By gussguss in forum C++ Programming
    Replies: 8
    Last Post: 11-20-2001, 10:58 AM