Fredbill30 wrote: |
---|
I overlooked the post, sorry. |
Fredbill30 wrote: |
---|
I can send you my source code but give me a day or two because I'm grounded from my lappy and I have to make the code more readable. |
Anyway I can get you the source of my rpg but I'm getting help with a fstream error atm. |
C Fanboy wrote: |
---|
<BHXSpecter> the one thing I see a lot is beginner programmers when doing classes class methods, they almost always flip the members around so they try to copy the class members into the function parameters <C_Fanboy> BHXSpecter, and if they learned C first they'd know how to use function parameters. Methods are special functions... walk before you run, etc... :) <BHXSpecter> all c++ tutorials and books teach function parameters and how to use them so that argument is moot <C_Fanboy> BHXSpecter, een if they do, beginers get confused because there are too many concepts at once. Remove classes and it suddenly becomes a lot easier to learn. <BHXSpecter> they teach functions and parameters way before they touch classes :/ are you grasping at straws as to why people should learn C? o.O <BHXSpecter> I've seen experienced programmers here botch and flip those around in classes.... beginners just happen to do it more over not having that experience <C_Fanboy> BHXSpecter, not at all. You claim they learn it first.. I say they don't learn it well enough because there are othe rtopic that confuse the issue. Order is nof no consequence. |
C Fanboy wrote: |
---|
<C_Fanboy> you *probably* already know C++ well enough, so if that s the case, learning C does not have much point, no. If you learned C++ well, you most likely learned most of C anyway. <C_Fanboy> if you can unbnderstand how the C function qsort works and how you'l use it in a program, and understand how a union works and use it in a program, you know enough C to get C++ as well. |
C Fanboy wrote: |
---|
<BHXSpecter> C is worth learning, but C and C++ have become different enough that you don't have to learn C first anymore <C_Fanboy> BHXSpecter, I disagree... you'll encounter many C++ pitfalls that are not easy to understand without knowing C <C_Fanboy> and you'll have problems calling a C API. <BHXSpecter> never call C API <C_Fanboy> BHXSpecter, you don't do operating system calls? :p superset of C I'll use D. <BHXSpecter> thought people quit using that superset/subset bs back in the 98 standard update :o <C_Fanboy> BHXSpecter, actually, with C11 and C++11, the languages are moving closer to each other. |