Merge and Quick Sort Algorithm Issue Ask Programming |
- Merge and Quick Sort Algorithm Issue
- Is there an IDE that allows me to focus on one or two pieces of the code at a time?
- If you were to pick 3 languages to learn in order to make some side money, what would it be? And what sort of projects would you be doing?
- What is the best way to update an old program?
- Basic question regarding arrays(C#)
- Anyone have experience with the Twillio API?
- Problem with Visual basic
- Can someone point me to the most intelligent Eliza chat bot implementation
- (C++) Trying to get a second array to print out the same index number as the first one, in order to display years of World Series Championship wins?
- GUI programming ideas
- Help scraping a json doc from a website?
- Custom Vector Class - Multiplication Gives Wrong Results (C++)
- Is anyone well versed in CAS systems and/or identity and access management solutions?
- 2 google chart questions...
- Changing pictures on hover with javascript.
- Experienced programmers, help! Good coding practices?
- Is programming really for me?
- Need major help with this programming assignment, I am willing to pay you if it comes down to it.
- building a real estate analysis webpage on top of google maps
- Java - Moving to backend/full stack. What would be a good place to start?
- is Sonarqube git aware?
- Can't make sense of web app development project due to brain injury. Can someone help walk me through what to do?
Merge and Quick Sort Algorithm Issue Posted: 25 Mar 2018 10:13 PM PDT This code currently opens and reads a .txt file with 25000 words in it and correctly sorts them using selection sort. However, while trying to additionally implement quick sort and merge sort for sort time comparisons, I am running into the issue of the vectors containing the unsorted list after going through the sorting algorithms. Does anyone see any problems that would be causing this? Any help at all is much appreciated. https://pastebin.com/3uQjJ0BY [link] [comments] | ||
Is there an IDE that allows me to focus on one or two pieces of the code at a time? Posted: 25 Mar 2018 12:40 PM PDT I often have trouble focusing more working memory 100% on everything related to my current programming task. I am looking for a programming methodology/workflow/setup that allows me to pay attention to a minimum number of things. For example, maybe an IDE where I press a "+" sign to add a function, and then I just see the code for that function in a box, but if I want to, I can choose to view another function side-by-side in another box. I am looking for something to clearly make it so that "this does this, that does that", instead of everything feeling like a giant mess (even if the code IS actually relatively clean and organized). I am already relatively familiar with design patterns, practices to write readable code, of course object-oriented programming etc. which can help with my attention, but I am looking for something more. This would mostly be for Python. [link] [comments] | ||
Posted: 25 Mar 2018 04:25 PM PDT | ||
What is the best way to update an old program? Posted: 25 Mar 2018 12:37 PM PDT I am interested in upgrading an old finite element software program written in fortran 77. Obviously, without seeing the code there is a limit to the advice that you can give, but I am wondering what is the best programming language to update it into. I am trying to deiced between C++ or Python. I thought that these languages would offer the ability to make the program more modular as compared to its current iteration. I want to make the program more accessible to users who are not as familiar with the way fortran works. Is this the path you would recommend? Thank you. [link] [comments] | ||
Basic question regarding arrays(C#) Posted: 25 Mar 2018 05:48 PM PDT I have this question on my assignment I'm trying to solve. Which says: "Write code that prompts the user for a positive integer, then create a string array of that length. Then prompt the user in a loop to enter in a value for each element of the array. Then print the created array on a single line separated by spaces." This is what I have so far: My problem is that when I try to display the array at the end it only displays one word which is the last one which the user enters. How can I change this so that all of the user inputs get put into the array so I can display all? Thanks [link] [comments] | ||
Anyone have experience with the Twillio API? Posted: 25 Mar 2018 05:27 PM PDT I am curious how the twillio api works? Can you parse data from an incoming text? I want to build a application where the user can send a ios or android "Contact" through sms and the api parses out the relavent information to carry out some function. EX: I have contact xyz So i press "Share contact" and I type in the twillio number to send the contact. Then the twillio app parses out the contact infromation. Is this possible? Any resources about this? [link] [comments] | ||
Posted: 25 Mar 2018 08:51 PM PDT can anyone tell me where i am going wrong with my code? This is what i have at the moment: Public Class Form1 Dim Username, Address, Email, City, State, Zip, Status As String Dim GPA, Years, Credit As Double Private Sub Btnclose_Click(sender As Object, e As EventArgs) Handles Btnclose.Click Me.Close() End Sub End Class whenever i start up the program and enter all of my information and it sometimes works and sometimes doesn't giving me this error: System.InvalidCastException: 'Conversion from string "Oklahoma" to type 'Boolean' is not valid.' Keep in mind i am very new to any time of programming so i'm not really sure what the error is trying to tell me. Thanks in advance! Edit: the messed up line is : ElseIf (txtGPA.Text >= 3.0) And (Txtcredit.Value >= 600) And (Txtyears.Value >= 2) _ And ((50 * Txtyears.Value) + Txtcredit.Value >= 800) And (Liststates.text = "Kansas" Or "Oklahoma" Or "Texas") Then [link] [comments] | ||
Can someone point me to the most intelligent Eliza chat bot implementation Posted: 25 Mar 2018 04:51 PM PDT
| ||
Posted: 25 Mar 2018 04:33 PM PDT Long story short, I need this to display the actual years each team won, along with the number of times they won. I have gotten the number of times they have won to run, but I'm struggling with getting the years themselves to print along side this. I created a new file and copied the text from that file to a separate array, but I don't know the next step to take. If anyone has any tips please help. code is below [link] [comments] | ||
Posted: 25 Mar 2018 07:57 PM PDT My class just wrapped up and we've been programming in C++ since Fall. Our final assignment was an intro to GUIs using QTCreator (we built a calculator). I'm looking for recommendations for GUI apps to build as a somewhat experienced C++ user but new GUI user. [link] [comments] | ||
Help scraping a json doc from a website? Posted: 25 Mar 2018 07:39 PM PDT Hi I am trying to scrape the json file in this webpage: http://www.focusfeatures.com/babies The json file is found where GlobalsObj.CMS_JSON = {}/ Thank you in advance for your help. I was trying to use scrappy or beautifulsoup but can't figure out this with those tools. [link] [comments] | ||
Custom Vector Class - Multiplication Gives Wrong Results (C++) Posted: 25 Mar 2018 12:00 PM PDT SOLVED So basically, I've had a short course in C++ to introduce OOP concepts. One of the tasks we've been asked to do consists of creating a custom mathematical vector class, where the * operator is overloaded to be able to multiply a scalar by the vector and also calculate cross products in the case of a 3D vector. I have included the header file consisting of the class and the main function I'm using for testing below: main.cpp vectorclass.hpp
|
No comments:
Post a Comment