Decision Time....

This is a discussion on Decision Time.... within the C++ Programming forums, part of the General Programming Boards category; Hi guys, I got a question that some of you may be able to comment on... I took C++ two ...

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    7

    Decision Time....

    Hi guys,

    I got a question that some of you may be able to comment on...

    I took C++ two years ago, and got to pure virutal functions. I have since taken java, and I am frustrated by its sluggishness.
    So I started Direct X. I understand the concepts, and most of the coding, but its getting heavy. Should I abandon Direct X and go back to C++? or muck through it, and learn the forign syntax along the way. If you think I should go back to C++, where are some good tutorials? (besides this site).

    I cannot say that I am solid in C++, but im not jello either... I'm in the middle O_o

    lol if anyone can make sense of that cool, if not, im going to go douse myself in water to avoid the flames O_o


    thanks again guys for your response,

    Korjiro

  2. #2
    Compulsive Liar Robc's Avatar
    Join Date
    Jul 2004
    Posts
    149
    I find that I can't force myself to learn something if I'm more interested in something else. If DirectX is what you want to work with and you have enough C++ experience to figure things out, then you should do that. Of course, that's not to say that going back to pure C++ won't do you a world of good.

  3. #3
    ggs
    ggs is offline
    C > C++ duders ggs's Avatar
    Join Date
    Aug 2001
    Posts
    435
    learn algorithms, they are kewl k
    .sect signature

  4. #4
    Registered User
    Join Date
    Jul 2004
    Posts
    7
    algorithms?


    lol any tutorials or sites that would aid me in learning them???

    I love to solve problems, and even tho I suck at it, knowing algorithms would help =)


    any resources?

  5. #5
    Compulsive Liar Robc's Avatar
    Join Date
    Jul 2004
    Posts
    149
    Learning algorithms thoroughly would be a life long process. I've put a great deal of effort into algorithms and data structures, and I've only scratched the surface. But you can get a good idea of what does what and get a basic idea of how it works here. Eventually though, you'll want to invest in a few (dozen, if you're like me and need plenty of different examples ) books on the topic.

    [edit]
    So as to avoid scaring you off algorithms and data structures, my experiences have been VERY rewarding.
    [/edit]
    Last edited by Robc; 07-13-2004 at 02:22 PM.

  6. #6
    Registered User
    Join Date
    Jul 2004
    Posts
    7
    rewarding as how?



    are you a better programmer inspite of algorithms?

    I find myself often taking alot of time to solve problems, and sometimes the long way O_o, would this help me solve problems better???

  7. #7
    ggs
    ggs is offline
    C > C++ duders ggs's Avatar
    Join Date
    Aug 2001
    Posts
    435
    if you're not using algorithms, you're not programming
    .sect signature

  8. #8
    Compulsive Liar Robc's Avatar
    Join Date
    Jul 2004
    Posts
    149
    >rewarding as how?
    You mean aside from looking like a total genius when I talk about it and watching people's eyes glaze over when I get into the theoretical aspects?

    >are you a better programmer inspite of algorithms?
    I'm a much better programmer thanks to the time and effort I put into learning them.

    >would this help me solve problems better???
    Yes, the benefit would be twofold: 1) You would learn how problems were solved before and be able to apply that prior art to your current problems and 2) The very act of learning algorithms will take you to new levels of proficiency because they permeate, well, everything.

  9. #9
    Registered User
    Join Date
    Jul 2004
    Posts
    7
    yea i agree, but there ARE better ways to solve problems, granted big O notation is the judge jury and executioner of algorithms, but there has to be some way to do things the fastest way possible without breaking your head over it...

  10. #10
    Compulsive Liar Robc's Avatar
    Join Date
    Jul 2004
    Posts
    149
    >granted big O notation is the judge jury and executioner of algorithms
    By far the most well known at least.

    >but there has to be some way to do things the fastest way possible without breaking your head over it...
    Elegance takes work. The trick is finding a happy median of run-time performance and programmer productivity.

  11. #11
    ggs
    ggs is offline
    C > C++ duders ggs's Avatar
    Join Date
    Aug 2001
    Posts
    435
    > but there has to be some way to do things the fastest way possible without breaking your head over it...

    and there's just gotta be some way of making a million bucks without working >
    i'll give you that answer and more once i finish this infinite compression algorithm i'm working on here
    .sect signature

  12. #12
    Registered User
    Join Date
    Jul 2004
    Posts
    7
    heh you and I both brother



    Compression algorithm eh? I may have something for you, My final project in the C++ course was a DOS zipper. It turned the data file (only tested with text, but it converts the file to binary regardless so anything should work) into binary, then I do binary folds....

    it kind of sort of worked.. but it could have been optimized 100 times over

    binary folds are a nice compression approach, just put the binary rows and colums in a 2 D array, and fold from a -j and recursively get smaller, mapping out the points where you folded. I had some little code, i think its commented at the top, but its on one of my thumb drives somewhere... ill look for it if you want me to

  13. #13
    ggs
    ggs is offline
    C > C++ duders ggs's Avatar
    Join Date
    Aug 2001
    Posts
    435
    it's ok, twas just another bit of ridiculous to add to the impact
    i'm done with compression algorithms right now :~
    .sect signature

  14. #14
    Registered User
    Join Date
    Jul 2004
    Posts
    7
    hey Robc,


    I took a look at that page u said for algorithms... WoW, talk about a wealth of knowlage O_o

    i dont know where to start... and what to expect at the end?

    any tips on starting out???

  15. #15
    Compulsive Liar Robc's Avatar
    Join Date
    Jul 2004
    Posts
    149
    >any tips on starting out???
    Sorting and searching algorithms and basic data structures (linked lists, stacks, queues, binary trees, etc...) are a great place to start.

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

Similar Threads

  1. Replies: 26
    Last Post: 07-05-2010, 10:43 AM
  2. Representing floats with color?
    By DrSnuggles in forum C++ Programming
    Replies: 113
    Last Post: 12-30-2008, 08:11 AM
  3. calculating user time and time elapsed
    By Neildadon in forum C++ Programming
    Replies: 0
    Last Post: 02-10-2003, 05:00 PM
  4. Is this really true or it's just science fiction?
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 145
    Last Post: 04-09-2002, 06:17 PM
  5. time class
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 12-11-2001, 09:12 PM

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