I created 22 short interactive tutorials, in 4 series, to learn programming and create a simple yet fully working game Posted: 24 Mar 2020 07:06 AM PDT I created these tutorials for microStudio, my free environment to learn programming and create games. https://microstudio.dev (click Tutorials from the main menu) This is all free and you can use all the tutorials and create your game without even registering an account (choose "Create as guest"). The tutorials are divided into 4 series: microStudio, programming, drawing with code, creating a simple game. They are nicely integrated in microStudio, showing you where to click in the environment and making it easy to navigate in your project while reading the tutorial. Also microStudio lets you change your program while it is running, which is a great way to understand what you are doing. I tried to keep the tutorials very simple, sometimes maybe too simplistic and I am interested in your feedback in that regard. Also if you find glitches, problems with my English or have any other feedback about how to improve the tutorials, I will be more than happy to read you! Stay at home, learn programming, create games and help me improve these tutorials if you wish! submitted by /u/pmgl_io [link] [comments] |
Free Codeacademy Pro Posted: 24 Mar 2020 05:32 PM PDT |
What's the best language for Machine Learning? Posted: 24 Mar 2020 11:51 PM PDT I want to try and make a program that uses Machine Learning. Does anyone know which language is broadly considered the best at it (if there is one)? submitted by /u/Danger_Squirrel_X [link] [comments] |
Enjoy programming but have come to realize I'm not cut out for doing it as a profession. Anyone else? Posted: 24 Mar 2020 12:29 PM PDT I have been interested in programming to some degree for years, like the process of designing and creating something from scratch, testing it, seeing it work, fixing and improving it and seeing the fruit of my labor relatively quickly. There's also something appealing to me about seeing good, elegant code. That said, I've never been one that was strong in STEM. My brain just has never been wired for it in the way that others may be. Also, when I'm coding and run into a mental block on a solution, sometimes days can go by as I struggle to stay sharply focused in order to effectively solve my problem. It's like my brain gets short circuited, making me slow to come up with a solution, therefore slowing my down my project progress. I also have had a very superficial understanding and haven't really internalized and memorized syntax, so I have to often look things up. My way of problem-solving mostly involves googling solutions, borrowing snippets and modifying as needed in order to get my programs to work. I've worked as an entry-level programmer for the State, working on basic CRUD applications, mostly maintaining existing ones, fixing bugs and adding minor features. I'm able to debug code, find what needs to be fixed, implement a fix and test it out to verify, but if you were to put me up to a whiteboard and ask me to diagram something or write some sample code, I would do poorly at that. I think part of the problem is I've enjoyed just experimenting with programming and haven't really taken the time to slow down and really understand everything I'm doing and internalizing it enough. I haven't really studied algorithms much either. In order to be a real programmer and work in the real world as one, I feel I have a long way to go and wonder if I should even pursue it anymore as an aspirational profession given that I might not be wired for it in a way that would make me competitive. Plus, I am middle-aged now. Anyone else in a similar place? Would you suggest I just play around with programming and not bother pursuing it as a profession and instead choose something more within my circle of competence and how I'm "wired"? submitted by /u/lk279 [link] [comments] |
How do I practice coding? Posted: 24 Mar 2020 06:30 AM PDT I'm a college student doing a computer related course. I really want to be a good programmer, but I have a really hard time focusing on anything, I get distracted too easily and I'm inconsistent. Last month we were told that we have to make an app/website, and I started working on it the same day it was given. I know only a little HTML and CSS, and we also have to use PHP. I decided to practice all these languages at home since we can't go out now. But, I get distracted, and annoyed if I make any mistake, and I have realized that I can't listen to music while coding. Please give me some advice on how to practice coding. How did you guys do it when you were learning? Edit: okay I didn't expect this kind of response, you all are really helpful and nice. submitted by /u/elemenopeekaboo [link] [comments] |
Trying to learn Git, git push is giving me error 403 Posted: 24 Mar 2020 08:49 PM PDT Hello Im currently learning git and following this guide: https://webtuu.com/blog/04/git-basics-branching-merging-push-to-github. To be specific, I'm trying the "Method # 2" as instructed in this site. I followed the linked guide to the point, except for the first part where it says replace your_username with my github username because it gives Repository not found error. git clone https://github.com/your_username/git_basics.git Basically, my goal for this exercise is to download a copy (clone?) of the authors' code, create a branch, make changes to the code, and upload those changes to my git hub. (I am not yet quite familiar with terminologies like clone, fork etc. so I dumbed down my description) I'm completely new to this so I am completely stumped right now. Here is how I did: git clone https://github.com/webtuu/git_basics.git cd git_basics git remote add upstream git@github.com:webtuu/git_basics.git git checkout -b myNewBranch //edit an index.html file git add index.html git commit -m "edited index" git checkout myNewBranch git push -u origin myNewBranch remote: Permission to webtuu/git_basics.git denied to <hidden my user name>. fatal: unable to access 'https://github.com/webtuu/git_basics.git/': The requested URL returned error: 403 submitted by /u/gotgucci [link] [comments] |
Unit testing - one test's assertions guarantee another's will pass Posted: 24 Mar 2020 10:54 PM PDT What do you do if you're testing separate requirements of a function/module/etc., but the assertions you do to ensure each requirement is working are technically checking more than one requirement, even though the tests are only focused on one? So for example, a function that's supposed to construct a string from a few words. If I had two parameters, the second one being optional, I would want to test that the first param's value gets placed in the correct spot, then that the string generates as expected without the second param, and lastly that the second param is placed correctly if it is included. The most straightforward way to test this I would think would be to simply compare the function output to the expected final string, but in doing so, you unintentionally confirm requirements for the other tests to pass. In this case, if you were simply comparing strings, the test for when the second param is present would confirm that the first param gets placed in the right location, and the test for the first param only could (depending on implementation) confirm that the result is correct when the second param isn't passed. Now in theory for this case you could use regexp matching to make the tests truly focus on only one point, but this situation could still apply for things other than string construction. Is it best practice to leave the technically redundant tests, or is it better to remove them, since if one passes they should all pass and vice versa? Is there a different way to structure tests to avoid this situation happening as often? If you keep these tests as is, what exactly is the point of them? Mainly just to understand the specs/requirements of a function/module, not necessarily testing them? submitted by /u/paleclaw [link] [comments] |
Jupyter Notebook vs. VSCode vs. Google Colab etc... Posted: 24 Mar 2020 08:08 PM PDT Hi, I am super new to programming (Python specifically) and I wanted to see what the difference is between Jupyter Notebook, VSCode and Google Colab. I've used all of these to learn and the only thing that I really know the difference for is that Google Colab runs on the cloud while Jupyter and VSCode runs locally. Are there specific uses for each of these? submitted by /u/MountainTour5 [link] [comments] |
The Adversity of Programming **screams of terror** Posted: 24 Mar 2020 11:57 AM PDT So I graduated with a dual BSc in Physics and CS last spring. I sent out 600-700 job applications and didn't secure a single one. At first, I was failing miserably at the online coding tests. Then, when I got better at those, I eventually made it to a couple of on-site interviews, each of which I also failed for either not being good enough or not knowing C++ well enough. Around November, my frustration was peaking. I said screw the industry and made the decision to go to grad school. I took the GREs twice, applied to 6 programs, and so far, I have gone 2 for 2. Not bad. Problem is, after not being able to get a CS job out of school, I hadn't been working that whole time. Now, I am working full-time in a warehouse and probably will continue to do so at least for the next 3-4 months. With a full-time work schedule, I feel as though I hardly ever have time to sit down and code. Before I started working, I would spend at least 5-6 hours a day coding between LeetCode, personal projects, and online courses. Now, I haven't worked on my personal project in over a week, I haven't been doing any LeetCode, and it is making me feel a little guilty. They said that with something like programming, a person should spend time on it every day. I feel as though I have the time to do so (even if it's only ~2 hours during the week), but it's the motivation and energy that I'm lacking. Between work, fitness, trying to eat healthy food, handling life responsibilities, and coding, it's a little overwhelming. Have any of you guys been in this position before? How did you deal with it and keep yourself motivated to keep coding with a loaded schedule? Thanks in advance. Cheers! submitted by /u/yabadoo123 [link] [comments] |
Could use some advice on programming Posted: 24 Mar 2020 09:30 PM PDT I'm in my first year, second semester at college as a computer science major and I'm really questioning my choice to chose comp sci. I really do enjoy programming and it is rewarding however I am having some doubts. We are currently learning about recursion and linked lists in java and I'm having a hard time grasping the concepts and it's really frustrating and starting to turn me off from programming. I understand it is not going to be easy, but is it normal for it to be this difficult where it takes a while for concepts to click? Any advice is greatly appreciated. submitted by /u/JJrock57 [link] [comments] |
Screen19 - for the current pandemic screening tool: please use, share and offer suggestions :) Posted: 25 Mar 2020 12:39 AM PDT Hey Reddit Family, We're a couple of Australian students (me a health PhD student and an IT student) and have created a COVID-19 screening tool over the last couple of days. We are collating information to be able to compare your known locations with that of coronavirus cases, with the goal of notifying you in real-time if you're at higher risk. Which couple potentially be before you start showing symptoms. The solution's value is created by the community engaging with it, would be amazing if you could complete it, share it and offer any suggestions :) Here's a link to it https://screen.covid19weko.com/#/ Thanks so much! submitted by /u/cancerous_koala [link] [comments] |
On DDD, modeling entity behavior based on "state" Posted: 25 Mar 2020 12:38 AM PDT Hey all, I was wondering what's the proper approach on modeling an Entity based on its "state". Let's say we have this Tenant entity, wherein its role and attributes are the same all throughout its lifecycle. However, its internal behavior changes depending on its state or progression in the business process. The progressions goes through Onboarding -> Leasing -> Renewal -> Termination. Using Domain Services per each state progression is my first guess, but then it doesn't behave as stateless. Extracting these behaviors and adding them to Tenant, as well as to other Entities/Aggregates involved, fits well on the other hand. This means that I'll have an OnboardingTenant inheriting from Tenant abstract. That also means, I won't have a "status" attribute for the Tenant entity as it's explicitly expressed as an object. Is this approach okay? Please enlighten me if I got the terms wrong. Thank you. submitted by /u/dowell22 [link] [comments] |
If I pick up another language how do I make sure I don’t lose proficiency in the language I already know Posted: 24 Mar 2020 08:44 PM PDT Hi I've been programming as a hobby for about 3 years now and I nearly exclusively have been using java. But I want to pick up another language such as go or c but I have this probably irrational fear that if I pick up another language that I might lose proficiency in java, or that I might be handy capping programming abilities some how . So what I'm asking is how could a I learn another language but still keep proficiency in the language I already know submitted by /u/mintcrayfish [link] [comments] |
Study Plan for a 40 year old with a Job Posted: 24 Mar 2020 08:41 PM PDT Hey, everyone. What's peoples study plan look like? I work 9-5 and have a wife n kid. I try my best to motivate myself to go and study but I'm just tired after being up since 5am. What has worked for some of you guys that have been able to transition from a 9-5 to .net c# developer? submitted by /u/idolg1982 [link] [comments] |
SQL on AWS: One instance, many (small) DBs? Posted: 25 Mar 2020 12:16 AM PDT I'd like to reinforce my SQL skills instead of relying on NoSQL options and am willing to pay the $10/month or so for Amazon RDS. I may get away with just free tier on a micro instance though, as this is just for holding portfolio project persistence layers. Things like a custom CRM, Amazon clone etc that no one except recruiters will see. I have only worked with MySQL locally. Is an instance equal to a single database, or a VPS with MySQL installed? If the later, I can probably do everything in one micro instance unless I'm neglecting something. I doubt I'll breach even 500 mb of storage. The instance would be expected to be live all the time though; that's about 730 hours/month. submitted by /u/javascript_dev [link] [comments] |
Hyperledger tutorials Posted: 24 Mar 2020 11:57 PM PDT Hey! Community. I have been looking to learn the hyper ledger technology and in doing so I'm looking for some good tutorials or something. Any source is fine (free ones probably). YouTube links or any book will also do Thank you submitted by /u/nblar [link] [comments] |
I need a coding buddy Posted: 24 Mar 2020 03:00 PM PDT I started programming a year ago with a web dev bootcamp and I burned out after about 3 months. Then around Christmas I started programming again with python and java (the java was for school mostly). I've done multiple really small projects on my own and learned some more advanced concepts. I really like the process of programming, the frustration, the releaf of solving a bug, the excitement of learning something new. The only thing is after programming almost everyday by myself for 3 months I am starting to burn myself out again. I really think that 1 person or a small group would be exactly what I need to stay on track, if you want to join me hit me up on discord LT.Waddles7#5063. I dont care how much experience you have. submitted by /u/tfire7 [link] [comments] |
Learning Algorithm and data structures as a Beginner Posted: 24 Mar 2020 10:11 AM PDT Hello Everyone!!! Hope you are all doing well. I am willing to learn Algorithm and Data structures in depth as I find it really fascinating. I would like to ask if you guys could suggest me any books, videos or even courses to purchase (ideally, beginner friendly) GOAL: Being able to understand and feeling comfortable resolving leetcode, Hacker rank code. Thanks!!! submitted by /u/Interesting_fact450 [link] [comments] |
Apache arrow error during example code compilation Posted: 24 Mar 2020 11:37 PM PDT After installing the apache arrow library on my computer, I tried running the c++ code example in the website (https://github.com/apache/arrow/blob/master/cpp/examples/arrow/row-wise-conversion-example.cc) but consistently kept getting the same error. I though it was because of the compiler couldnot find the arrow directory but after putting the library in the same folder as the test, it still didnt run and kept giving the same error. g++ test.cpp /usr/bin/ld: /tmp/ccvG1aV8.o: in function `VectorToColumnarTable(std::vector<data_row, std::allocator<data_row> > const&, std::shared_ptr<arrow::Table>*)': test.cpp:(.text+0x5c): undefined reference to `arrow::default_memory_pool()' /usr/bin/ld: test.cpp:(.text+0x49b): undefined reference to `arrow::ArrayBuilder::Finish(std::shared_ptr<arrow::Array>*)' /usr/bin/ld: test.cpp:(.text+0x555): undefined reference to `arrow::ArrayBuilder::Finish(std::shared_ptr<arrow::Array>*)' /usr/bin/ld: test.cpp:(.text+0x60f): undefined reference to `arrow::ArrayBuilder::Finish(std::shared_ptr<arrow::Array>*)' /usr/bin/ld: test.cpp:(.text+0x6b6): undefined reference to `arrow::int64()' /usr/bin/ld: test.cpp:(.text+0x70b): undefined reference to `arrow::field(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<arrow::DataType> const&, bool, std::shared_ptr<arrow::KeyValueMetadata const> const&)' /usr/bin/ld: test.cpp:(.text+0x72e): undefined reference to `arrow::float64()' /usr/bin/ld: test.cpp:(.text+0x783): undefined reference to `arrow::field(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<arrow::DataType> const&, bool, std::shared_ptr<arrow::KeyValueMetadata const> const&)' /usr/bin/ld: test.cpp:(.text+0x7a6): undefined reference to `arrow::float64()' /usr/bin/ld: test.cpp:(.text+0x7bf): undefined reference to `arrow::list(std::shared_ptr<arrow::DataType> const&)' /usr/bin/ld: test.cpp:(.text+0x814): undefined reference to `arrow::field(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<arrow::DataType> const&, bool, std::shared_ptr<arrow::KeyValueMetadata const> const&)' /usr/bin/ld: test.cpp:(.text+0xa1a): undefined reference to `arrow::Table::Make(std::shared_ptr<arrow::Schema> const&, std::vector<std::shared_ptr<arrow::Array>, std::allocator<std::shared_ptr<arrow::Array> > > const&, long)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `ColumnarTableToVector(std::shared_ptr<arrow::Table> const&, std::vector<data_row, std::allocator<data_row> >*)': test.cpp:(.text+0xef0): undefined reference to `arrow::int64()' /usr/bin/ld: test.cpp:(.text+0xf45): undefined reference to `arrow::field(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<arrow::DataType> const&, bool, std::shared_ptr<arrow::KeyValueMetadata const> const&)' /usr/bin/ld: test.cpp:(.text+0xf68): undefined reference to `arrow::float64()' /usr/bin/ld: test.cpp:(.text+0xfbd): undefined reference to `arrow::field(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<arrow::DataType> const&, bool, std::shared_ptr<arrow::KeyValueMetadata const> const&)' /usr/bin/ld: test.cpp:(.text+0xfe0): undefined reference to `arrow::float64()' /usr/bin/ld: test.cpp:(.text+0xff9): undefined reference to `arrow::list(std::shared_ptr<arrow::DataType> const&)' /usr/bin/ld: test.cpp:(.text+0x1048): undefined reference to `arrow::field(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<arrow::DataType> const&, bool, std::shared_ptr<arrow::KeyValueMetadata const> const&)' /usr/bin/ld: test.cpp:(.text+0x11eb): undefined reference to `arrow::Schema::Equals(arrow::Schema const&, bool) const' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::detail::Fingerprintable::Fingerprintable()': test.cpp:(.text._ZN5arrow6detail15FingerprintableC2Ev[_ZN5arrow6detail15FingerprintableC5Ev]+0xf): undefined reference to `vtable for arrow::detail::Fingerprintable' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::DataType::DataType(arrow::Type::type)': test.cpp:(.text._ZN5arrow8DataTypeC2ENS_4Type4typeE[_ZN5arrow8DataTypeC5ENS_4Type4typeE]+0x45): undefined reference to `vtable for arrow::DataType' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::NestedType::~NestedType()': test.cpp:(.text._ZN5arrow10NestedTypeD2Ev[_ZN5arrow10NestedTypeD5Ev]+0x26): undefined reference to `arrow::DataType::~DataType()' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::ListType::ListType(std::shared_ptr<arrow::Field> const&)': test.cpp:(.text._ZN5arrow8ListTypeC2ERKSt10shared_ptrINS_5FieldEE[_ZN5arrow8ListTypeC5ERKSt10shared_ptrINS_5FieldEE]+0x3c): undefined reference to `vtable for arrow::ListType' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::Buffer::ZeroPadding()': test.cpp:(.text._ZN5arrow6Buffer11ZeroPaddingEv[_ZN5arrow6Buffer11ZeroPaddingEv]+0x18): undefined reference to `arrow::Buffer::CheckMutable() const' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::Buffer::mutable_data()': test.cpp:(.text._ZN5arrow6Buffer12mutable_dataEv[_ZN5arrow6Buffer12mutable_dataEv]+0x18): undefined reference to `arrow::Buffer::CheckMutable() const' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::TypeTraits<arrow::Int64Type>::type_singleton()': test.cpp:(.text._ZN5arrow10TypeTraitsINS_9Int64TypeEE14type_singletonEv[_ZN5arrow10TypeTraitsINS_9Int64TypeEE14type_singletonEv]+0x27): undefined reference to `arrow::int64()' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::TypeTraits<arrow::DoubleType>::type_singleton()': test.cpp:(.text._ZN5arrow10TypeTraitsINS_10DoubleTypeEE14type_singletonEv[_ZN5arrow10TypeTraitsINS_10DoubleTypeEE14type_singletonEv]+0x27): undefined reference to `arrow::float64()' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::BufferBuilder::Resize(long, bool)': test.cpp:(.text._ZN5arrow13BufferBuilder6ResizeElb[_ZN5arrow13BufferBuilder6ResizeElb]+0x76): undefined reference to `arrow::AllocateResizableBuffer(arrow::MemoryPool*, long, std::shared_ptr<arrow::ResizableBuffer>*)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::BufferBuilder::Finish(std::shared_ptr<arrow::Buffer>*, bool)': test.cpp:(.text._ZN5arrow13BufferBuilder6FinishEPSt10shared_ptrINS_6BufferEEb[_ZN5arrow13BufferBuilder6FinishEPSt10shared_ptrINS_6BufferEEb]+0x121): undefined reference to `arrow::AllocateBuffer(arrow::MemoryPool*, long, std::shared_ptr<arrow::Buffer>*)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::ArrayBuilder::ArrayBuilder(arrow::MemoryPool*)': test.cpp:(.text._ZN5arrow12ArrayBuilderC2EPNS_10MemoryPoolE[_ZN5arrow12ArrayBuilderC5EPNS_10MemoryPoolE]+0x17): undefined reference to `vtable for arrow::ArrayBuilder' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::ArrayBuilder::UnsafeAppendToBitmap(unsigned char const*, long)': test.cpp:(.text._ZN5arrow12ArrayBuilder20UnsafeAppendToBitmapEPKhl[_ZN5arrow12ArrayBuilder20UnsafeAppendToBitmapEPKhl]+0x2e): undefined reference to `arrow::ArrayBuilder::UnsafeSetNotNull(long)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::ArrayBuilder::UnsafeAppendToBitmap(long, bool)': test.cpp:(.text._ZN5arrow12ArrayBuilder20UnsafeAppendToBitmapElb[_ZN5arrow12ArrayBuilder20UnsafeAppendToBitmapElb]+0x2e): undefined reference to `arrow::ArrayBuilder::UnsafeSetNotNull(long)' /usr/bin/ld: test.cpp:(.text._ZN5arrow12ArrayBuilder20UnsafeAppendToBitmapElb[_ZN5arrow12ArrayBuilder20UnsafeAppendToBitmapElb]+0x43): undefined reference to `arrow::ArrayBuilder::UnsafeSetNull(long)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::ArrayBuilder::~ArrayBuilder()': test.cpp:(.text._ZN5arrow12ArrayBuilderD2Ev[_ZN5arrow12ArrayBuilderD5Ev]+0x13): undefined reference to `vtable for arrow::ArrayBuilder' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::NumericBuilder<arrow::Int64Type>::NumericBuilder<arrow::Int64Type>(std::enable_if<std::integral_constant<bool, arrow::TypeTraits<arrow::Int64Type>::is_parameter_free>::value, arrow::MemoryPool*>::type)': test.cpp:(.text._ZN5arrow14NumericBuilderINS_9Int64TypeEEC2IS1_EENSt9enable_ifIXsrSt17integral_constantIbXsrNS_10TypeTraitsIT_EE17is_parameter_freeEE5valueEPNS_10MemoryPoolEE4typeE[_ZN5arrow14NumericBuilderINS_9Int64TypeEEC5IS1_EENSt9enable_ifIXsrSt17integral_constantIbXsrNS_10TypeTraitsIT_EE17is_parameter_freeEE5valueEPNS_10MemoryPoolEE4typeE]+0x61): undefined reference to `arrow::default_memory_pool()' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::NumericBuilder<arrow::DoubleType>::NumericBuilder<arrow::DoubleType>(std::enable_if<std::integral_constant<bool, arrow::TypeTraits<arrow::DoubleType>::is_parameter_free>::value, arrow::MemoryPool*>::type)': test.cpp:(.text._ZN5arrow14NumericBuilderINS_10DoubleTypeEEC2IS1_EENSt9enable_ifIXsrSt17integral_constantIbXsrNS_10TypeTraitsIT_EE17is_parameter_freeEE5valueEPNS_10MemoryPoolEE4typeE[_ZN5arrow14NumericBuilderINS_10DoubleTypeEEC5IS1_EENSt9enable_ifIXsrSt17integral_constantIbXsrNS_10TypeTraitsIT_EE17is_parameter_freeEE5valueEPNS_10MemoryPoolEE4typeE]+0x61): undefined reference to `arrow::default_memory_pool()' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::BaseListBuilder<arrow::ListType>::BaseListBuilder(arrow::MemoryPool*, std::shared_ptr<arrow::ArrayBuilder> const&)': test.cpp:(.text._ZN5arrow15BaseListBuilderINS_8ListTypeEEC2EPNS_10MemoryPoolERKSt10shared_ptrINS_12ArrayBuilderEE[_ZN5arrow15BaseListBuilderINS_8ListTypeEEC5EPNS_10MemoryPoolERKSt10shared_ptrINS_12ArrayBuilderEE]+0x59): undefined reference to `arrow::list(std::shared_ptr<arrow::DataType> const&)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::Status arrow::Status::FromArgs<char const (&) [33]>(arrow::StatusCode, char const (&) [33])': test.cpp:(.text._ZN5arrow6Status8FromArgsIJRA33_KcEEES0_NS_10StatusCodeEDpOT_[_ZN5arrow6Status8FromArgsIJRA33_KcEEES0_NS_10StatusCodeEDpOT_]+0x59): undefined reference to `arrow::Status::Status(arrow::StatusCode, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::Status arrow::Status::FromArgs<char const (&) [23]>(arrow::StatusCode, char const (&) [23])': test.cpp:(.text._ZN5arrow6Status8FromArgsIJRA23_KcEEES0_NS_10StatusCodeEDpOT_[_ZN5arrow6Status8FromArgsIJRA23_KcEEES0_NS_10StatusCodeEDpOT_]+0x59): undefined reference to `arrow::Status::Status(arrow::StatusCode, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::BaseListBuilder<arrow::ListType>::BaseListBuilder(arrow::MemoryPool*, std::shared_ptr<arrow::ArrayBuilder> const&, std::shared_ptr<arrow::DataType> const&)': test.cpp:(.text._ZN5arrow15BaseListBuilderINS_8ListTypeEEC2EPNS_10MemoryPoolERKSt10shared_ptrINS_12ArrayBuilderEERKS5_INS_8DataTypeEE[_ZN5arrow15BaseListBuilderINS_8ListTypeEEC5EPNS_10MemoryPoolERKSt10shared_ptrINS_12ArrayBuilderEERKS5_INS_8DataTypeEE]+0xdd): undefined reference to `arrow::Field::WithType(std::shared_ptr<arrow::DataType> const&) const' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::Status arrow::Status::FromArgs<char const (&) [26]>(arrow::StatusCode, char const (&) [26])': test.cpp:(.text._ZN5arrow6Status8FromArgsIJRA26_KcEEES0_NS_10StatusCodeEDpOT_[_ZN5arrow6Status8FromArgsIJRA26_KcEEES0_NS_10StatusCodeEDpOT_]+0x59): undefined reference to `arrow::Status::Status(arrow::StatusCode, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > arrow::util::StringBuilder<char const (&) [33]>(char const (&) [33])': test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA33_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA33_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x2c): undefined reference to `arrow::util::detail::StringStreamWrapper::StringStreamWrapper()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA33_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA33_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x65): undefined reference to `arrow::util::detail::StringStreamWrapper::str[abi:cxx11]()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA33_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA33_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x72): undefined reference to `arrow::util::detail::StringStreamWrapper::~StringStreamWrapper()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA33_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA33_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x97): undefined reference to `arrow::util::detail::StringStreamWrapper::~StringStreamWrapper()' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > arrow::util::StringBuilder<char const (&) [23]>(char const (&) [23])': test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA23_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA23_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x2c): undefined reference to `arrow::util::detail::StringStreamWrapper::StringStreamWrapper()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA23_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA23_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x65): undefined reference to `arrow::util::detail::StringStreamWrapper::str[abi:cxx11]()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA23_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA23_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x72): undefined reference to `arrow::util::detail::StringStreamWrapper::~StringStreamWrapper()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA23_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA23_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x97): undefined reference to `arrow::util::detail::StringStreamWrapper::~StringStreamWrapper()' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > arrow::util::StringBuilder<char const (&) [26]>(char const (&) [26])': test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA26_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA26_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x2c): undefined reference to `arrow::util::detail::StringStreamWrapper::StringStreamWrapper()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA26_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA26_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x65): undefined reference to `arrow::util::detail::StringStreamWrapper::str[abi:cxx11]()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA26_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA26_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x72): undefined reference to `arrow::util::detail::StringStreamWrapper::~StringStreamWrapper()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA26_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA26_KcEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x97): undefined reference to `arrow::util::detail::StringStreamWrapper::~StringStreamWrapper()' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::Status arrow::Status::FromArgs<char const (&) [37], long, char const (&) [17], char const (&) [7], long const&>(arrow::StatusCode, char const (&) [37], long&&, char const (&) [17], char const (&) [7], long const&)': test.cpp:(.text._ZN5arrow6Status8FromArgsIJRA37_KclRA17_S2_RA7_S2_RKlEEES0_NS_10StatusCodeEDpOT_[_ZN5arrow6Status8FromArgsIJRA37_KclRA17_S2_RA7_S2_RKlEEES0_NS_10StatusCodeEDpOT_]+0xbe): undefined reference to `arrow::Status::Status(arrow::StatusCode, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > arrow::util::StringBuilder<char const (&) [37], long, char const (&) [17], char const (&) [7], long const&>(char const (&) [37], long&&, char const (&) [17], char const (&) [7], long const&)': test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA37_KclRA17_S2_RA7_S2_RKlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA37_KclRA17_S2_RA7_S2_RKlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x44): undefined reference to `arrow::util::detail::StringStreamWrapper::StringStreamWrapper()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA37_KclRA17_S2_RA7_S2_RKlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA37_KclRA17_S2_RA7_S2_RKlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0xc5): undefined reference to `arrow::util::detail::StringStreamWrapper::str[abi:cxx11]()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA37_KclRA17_S2_RA7_S2_RKlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA37_KclRA17_S2_RA7_S2_RKlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0xd2): undefined reference to `arrow::util::detail::StringStreamWrapper::~StringStreamWrapper()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA37_KclRA17_S2_RA7_S2_RKlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA37_KclRA17_S2_RA7_S2_RKlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0xf7): undefined reference to `arrow::util::detail::StringStreamWrapper::~StringStreamWrapper()' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `void __gnu_cxx::new_allocator<arrow::Schema>::construct<arrow::Schema, std::vector<std::shared_ptr<arrow::Field>, std::allocator<std::shared_ptr<arrow::Field> > >&>(arrow::Schema*, std::vector<std::shared_ptr<arrow::Field>, std::allocator<std::shared_ptr<arrow::Field> > >&)': test.cpp:(.text._ZN9__gnu_cxx13new_allocatorIN5arrow6SchemaEE9constructIS2_JRSt6vectorISt10shared_ptrINS1_5FieldEESaIS8_EEEEEvPT_DpOT0_[_ZN9__gnu_cxx13new_allocatorIN5arrow6SchemaEE9constructIS2_JRSt6vectorISt10shared_ptrINS1_5FieldEESaIS8_EEEEEvPT_DpOT0_]+0x70): undefined reference to `arrow::Schema::Schema(std::vector<std::shared_ptr<arrow::Field>, std::allocator<std::shared_ptr<arrow::Field> > > const&, std::shared_ptr<arrow::KeyValueMetadata const> const&)' /usr/bin/ld: /tmp/ccvG1aV8.o:(.data.rel.ro._ZTVN5arrow12BaseListTypeE[_ZTVN5arrow12BaseListTypeE]+0x20): undefined reference to `arrow::DataType::ComputeFingerprint[abi:cxx11]() const' /usr/bin/ld: /tmp/ccvG1aV8.o:(.data.rel.ro._ZTVN5arrow12BaseListTypeE[_ZTVN5arrow12BaseListTypeE]+0x28): undefined reference to `arrow::DataType::ComputeMetadataFingerprint[abi:cxx11]() const' /usr/bin/ld: /tmp/ccvG1aV8.o:(.data.rel.ro._ZTVN5arrow10NestedTypeE[_ZTVN5arrow10NestedTypeE]+0x20): undefined reference to `arrow::DataType::ComputeFingerprint[abi:cxx11]() const' /usr/bin/ld: /tmp/ccvG1aV8.o:(.data.rel.ro._ZTVN5arrow10NestedTypeE[_ZTVN5arrow10NestedTypeE]+0x28): undefined reference to `arrow::DataType::ComputeMetadataFingerprint[abi:cxx11]() const' /usr/bin/ld: /tmp/ccvG1aV8.o:(.data.rel.ro._ZTIN5arrow14NumericBuilderINS_10DoubleTypeEEE[_ZTIN5arrow14NumericBuilderINS_10DoubleTypeEEE]+0x10): undefined reference to `typeinfo for arrow::ArrayBuilder' /usr/bin/ld: /tmp/ccvG1aV8.o:(.data.rel.ro._ZTIN5arrow14NumericBuilderINS_9Int64TypeEEE[_ZTIN5arrow14NumericBuilderINS_9Int64TypeEEE]+0x10): undefined reference to `typeinfo for arrow::ArrayBuilder' /usr/bin/ld: /tmp/ccvG1aV8.o:(.data.rel.ro._ZTIN5arrow15BaseListBuilderINS_8ListTypeEEE[_ZTIN5arrow15BaseListBuilderINS_8ListTypeEEE]+0x10): undefined reference to `typeinfo for arrow::ArrayBuilder' /usr/bin/ld: /tmp/ccvG1aV8.o:(.data.rel.ro._ZTIN5arrow10NestedTypeE[_ZTIN5arrow10NestedTypeE]+0x18): undefined reference to `typeinfo for arrow::DataType' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::NumericBuilder<arrow::DoubleType>::Resize(long)': test.cpp:(.text._ZN5arrow14NumericBuilderINS_10DoubleTypeEE6ResizeEl[_ZN5arrow14NumericBuilderINS_10DoubleTypeEE6ResizeEl]+0x16a): undefined reference to `arrow::ArrayBuilder::Resize(long)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::NumericBuilder<arrow::DoubleType>::AppendNulls(long)': test.cpp:(.text._ZN5arrow14NumericBuilderINS_10DoubleTypeEE11AppendNullsEl[_ZN5arrow14NumericBuilderINS_10DoubleTypeEE11AppendNullsEl]+0xd7): undefined reference to `arrow::ArrayBuilder::UnsafeSetNull(long)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::NumericBuilder<arrow::DoubleType>::FinishInternal(std::shared_ptr<arrow::ArrayData>*)': test.cpp:(.text._ZN5arrow14NumericBuilderINS_10DoubleTypeEE14FinishInternalEPSt10shared_ptrINS_9ArrayDataEE[_ZN5arrow14NumericBuilderINS_10DoubleTypeEE14FinishInternalEPSt10shared_ptrINS_9ArrayDataEE]+0x266): undefined reference to `arrow::ArrayData::Make(std::shared_ptr<arrow::DataType> const&, long, std::vector<std::shared_ptr<arrow::Buffer>, std::allocator<std::shared_ptr<arrow::Buffer> > >&&, long, long)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::NumericBuilder<arrow::Int64Type>::Resize(long)': test.cpp:(.text._ZN5arrow14NumericBuilderINS_9Int64TypeEE6ResizeEl[_ZN5arrow14NumericBuilderINS_9Int64TypeEE6ResizeEl]+0x16a): undefined reference to `arrow::ArrayBuilder::Resize(long)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::NumericBuilder<arrow::Int64Type>::AppendNulls(long)': test.cpp:(.text._ZN5arrow14NumericBuilderINS_9Int64TypeEE11AppendNullsEl[_ZN5arrow14NumericBuilderINS_9Int64TypeEE11AppendNullsEl]+0xd8): undefined reference to `arrow::ArrayBuilder::UnsafeSetNull(long)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::NumericBuilder<arrow::Int64Type>::FinishInternal(std::shared_ptr<arrow::ArrayData>*)': test.cpp:(.text._ZN5arrow14NumericBuilderINS_9Int64TypeEE14FinishInternalEPSt10shared_ptrINS_9ArrayDataEE[_ZN5arrow14NumericBuilderINS_9Int64TypeEE14FinishInternalEPSt10shared_ptrINS_9ArrayDataEE]+0x266): undefined reference to `arrow::ArrayData::Make(std::shared_ptr<arrow::DataType> const&, long, std::vector<std::shared_ptr<arrow::Buffer>, std::allocator<std::shared_ptr<arrow::Buffer> > >&&, long, long)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::BaseListBuilder<arrow::ListType>::Resize(long)': test.cpp:(.text._ZN5arrow15BaseListBuilderINS_8ListTypeEE6ResizeEl[_ZN5arrow15BaseListBuilderINS_8ListTypeEE6ResizeEl]+0x19a): undefined reference to `arrow::ArrayBuilder::Resize(long)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::BaseListBuilder<arrow::ListType>::Reset()': test.cpp:(.text._ZN5arrow15BaseListBuilderINS_8ListTypeEE5ResetEv[_ZN5arrow15BaseListBuilderINS_8ListTypeEE5ResetEv]+0x18): undefined reference to `arrow::ArrayBuilder::Reset()' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::BaseListBuilder<arrow::ListType>::FinishInternal(std::shared_ptr<arrow::ArrayData>*)': test.cpp:(.text._ZN5arrow15BaseListBuilderINS_8ListTypeEE14FinishInternalEPSt10shared_ptrINS_9ArrayDataEE[_ZN5arrow15BaseListBuilderINS_8ListTypeEE14FinishInternalEPSt10shared_ptrINS_9ArrayDataEE]+0x568): undefined reference to `arrow::ArrayData::Make(std::shared_ptr<arrow::DataType> const&, long, std::vector<std::shared_ptr<arrow::Buffer>, std::allocator<std::shared_ptr<arrow::Buffer> > > const&, std::vector<std::shared_ptr<arrow::ArrayData>, std::allocator<std::shared_ptr<arrow::ArrayData> > > const&, long, long)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::BaseListBuilder<arrow::ListType>::type() const': test.cpp:(.text._ZNK5arrow15BaseListBuilderINS_8ListTypeEE4typeEv[_ZNK5arrow15BaseListBuilderINS_8ListTypeEE4typeEv]+0x70): undefined reference to `arrow::Field::WithType(std::shared_ptr<arrow::DataType> const&) const' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `arrow::Status arrow::Status::FromArgs<char const (&) [47], long, char const (&) [6], long&>(arrow::StatusCode, char const (&) [47], long&&, char const (&) [6], long&)': test.cpp:(.text._ZN5arrow6Status8FromArgsIJRA47_KclRA6_S2_RlEEES0_NS_10StatusCodeEDpOT_[_ZN5arrow6Status8FromArgsIJRA47_KclRA6_S2_RlEEES0_NS_10StatusCodeEDpOT_]+0x9c): undefined reference to `arrow::Status::Status(arrow::StatusCode, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/bin/ld: /tmp/ccvG1aV8.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > arrow::util::StringBuilder<char const (&) [47], long, char const (&) [6], long&>(char const (&) [47], long&&, char const (&) [6], long&)': test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA47_KclRA6_S2_RlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA47_KclRA6_S2_RlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0x3e): undefined reference to `arrow::util::detail::StringStreamWrapper::StringStreamWrapper()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA47_KclRA6_S2_RlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA47_KclRA6_S2_RlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0xad): undefined reference to `arrow::util::detail::StringStreamWrapper::str[abi:cxx11]()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA47_KclRA6_S2_RlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA47_KclRA6_S2_RlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0xba): undefined reference to `arrow::util::detail::StringStreamWrapper::~StringStreamWrapper()' /usr/bin/ld: test.cpp:(.text._ZN5arrow4util13StringBuilderIJRA47_KclRA6_S2_RlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_[_ZN5arrow4util13StringBuilderIJRA47_KclRA6_S2_RlEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpOT_]+0xdf): undefined reference to `arrow::util::detail::StringStreamWrapper::~StringStreamWrapper()' collect2: error: ld returned 1 exit status submitted by /u/Fresh-report [link] [comments] |
TOP but PHP? Posted: 24 Mar 2020 07:36 PM PDT |
ggot stuck in space and buffer<without using vector> Posted: 24 Mar 2020 11:20 PM PDT here currently practicing through programming principles and practices chapter 4 drills. Could not get to work with spaces or without spaces in input buffer. My question is really that is primitive programming this complex that some features are only available through standard library or are too hard to get into I mean doable but lots of problem/confusion and lots of codes than std lib? #include <iostream>using namespace std; int main() {//maian start double large; double small; double current; string unit; double mtocm=100; double intocm = 2.54; double fttoin = 12; double sum; string space; double number; //please damn these comments// note that input from cin or the buffer memoryis not like vector and array but more like tuple,list etc// does the buffer allows itself to be modified or not?// -> may be not// hpw to manipulate space in buffer// -> mu point of view the input buffer is like all foe one and one for all while(cincurrentspace>>unit){//while start if (unit=="m"||unit=="cm"||unit=="ft"||unit=="in"||space==" "){ if(unit == "m"){number = current;} if(unit == "cm"){number = current/100;} if(unit=="in"){number=(current*2.54)/(100);} if(unit=="ft"){number=(current*2.54*12)/(100);} sum += number; if (large <= number){ large = number; }//if end if (small>=number){small = number;}//if end } else if(unit=="y"||unit=="yard"||unit=="meter"||unit=="kilometer"||unit=="gallons"){//elseifstart cout<<"given unit: "<<unit<<" is not available for conversion!"<<endl; }//else if end else{cout<<"invalid units provided"<<endl; } }//while end cout<<"sum of the numbers is: "<<sum<<endl; cout<<"largest number is: "<<large<<endl; cout<<"smallest number is: "<<small<<endl; }//main end The last question is that isn't input buffer completely manupulatable without using pointers/or aren't they similar to pointers/bitshift? I mean can't it be dealt simmilar to vectors or The question .I may be still be wrong to need to get to the bottom of things what i do or study.Should I continue on programming without caring much about primitive types and learn with problembase. Iv'e got no other problems now other than these things submitted by /u/name-lami [link] [comments] |
Anyone benefit from online video courses? Posted: 24 Mar 2020 10:04 PM PDT I have a Rails course on Udemy that I'll be starting soon, but I've never really done a course conducted through videos before. Any tips on how to best utilize the videos to maximize knowledge? submitted by /u/goomba716 [link] [comments] |
What to implement to have one process's return code being non zero execute the other process in C only? Posted: 24 Mar 2020 09:58 PM PDT How can I have two c programs, program1.c and program2.c so that when program1.c fails program2.c automatically runs. I don't want to do this in the shell, I want to do this in C itself, not the terminal.How do I do this? What should my code be? So that once I do clang program1.c and ./a.out and if it fails it triggers program2.c to compile itself and run without me prompting it to? Would I use system(), popen, fork, wait or what? If you can please link the code or a tutorial that explains it. I don't want to use shell scripts to challenge myself submitted by /u/ComprehensiveBeach9 [link] [comments] |
No comments:
Post a Comment