i'm used to working with python data types, such as lists, tuples, dictionaries, pickles, and so on. will these concepts transfer over to C? if so, please point me to a tutorial or some documentation.
thanks
i'm used to working with python data types, such as lists, tuples, dictionaries, pickles, and so on. will these concepts transfer over to C? if so, please point me to a tutorial or some documentation.
thanks
Wouldn't you rather learn C than Python with C syntax? I can understand what you want from a concept standpoint, but it won't help you that much in learning C, and can potentially hurt you when it comes to learning proper C.
Kampai!
C is a "low" high level language so all of its native data types are the basics, aka int, double, char, ect. To do anything beyond that involves the use of structures , arrays , an other abstract data types such as linked lists and binary trees. Look for prelude's corner under the FAQ .
i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced
It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah
Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem
The "concepts" can transfer over, but you'll have to program the data structures yourself
thanks for the replies. that was just the type of info i was looking for andyhunter.
sake,
yes, i would rather learn C than python with C syntax. so what do you do when you have the need for those types of objects? do you know of any books or online docs that discuss high-level techniques for programming in C? so far i've only been reading about low-level syntax details and it's hard to get the big picture about what's really possible.
>>do you know of any books or online docs that discuss high-level techniques for programming in C?
This is a good place to get started if you aren't sure what's available. You can spend a lot of time learning the data structures listed there.In the end, just about everything is derived from simple stuff: arrays, structures, and pointers. It's how you put them together that gives you linked lists and binary trees and hash tables.
Kampai!
thanks for the link.