[C] Why does char *variable work? learn programming |
- [C] Why does char *variable work?
- At what point would I be ready to become a freelance software developer?
- Not satisfied with professor's explanation of stack and heap - any recommendations?
- Recommendations for most effective way to learn Python from scratch?
- List of helpful Google App Script Apps
- Tips for motivation while learning programming?
- Learn HTML in 30 Minutes?
- localhost vs 127.0.0.1
- Looking for suggestions: I want to improve my speed with Udemy courses (and/or with learning in general)
- Trying to start with *light* web scraping and auto fill scripts. Struggling.
- [graphics] Fundamental questions I am really struggling with
- What work can i do while i'm still in uni?
- [Help] In java is there anyway i can create an invisible browser and then make it visible?
- UpskillCourses on Web Dev help
- trying to pick up some web development freelance gigs.
- A good second language to learn?
- How do I run these types of commands?
- [C] Calculator with Functions
- How do you keep from being burnt out on a side project?
- Emotion reconingtion with Dlib, where to begin
- How to do "arithmetic progression" in python
- Is there an api that allows me to get the WOEID of a city based on its name?
- [Python] 'JpegImageFile' object has no attribute '_committed' error when using PIL
- I'm completely new to programming but want to create 2D games
[C] Why does char *variable work? Posted: 11 Mar 2018 09:02 PM PDT If a string in C is just an array of chars, why is *variable different? char *name; name = "long word"; why does this work but not this: char name[]; name = "long word"; ? what's the difference? [link] [comments] |
At what point would I be ready to become a freelance software developer? Posted: 11 Mar 2018 09:12 PM PDT I am currently a freshman in college taking my second semester of object-oriented programming in Java and I'm doing fairly well in the class. I also know a bit of Python that I learned on my own from codecademy(I completed the course). I hear a lot about people being freelance programmers and whatnot and I would really like to reach the skill level required to be able to make money from my programming knowledge. I just don't know what the prerequisites are. How much more CS do I need to learn? What specific skills should I have? [link] [comments] |
Not satisfied with professor's explanation of stack and heap - any recommendations? Posted: 11 Mar 2018 08:05 PM PDT Hi guys - C++ has given me a really strong backbone so far to go deeper into how OOP and in general compiled languages actually work at a deeper level. One of the issues I have is both my professor and textbook do not cover the stack and heap at a deeper level. I am familiar with the CE concepts of memory (AKA registers addressability, etc and assembly) but have a really hard time finding any book or tutorial that really delves into the stack and heap. I'm still not even entirely sure how to identify with 100% certainty what goes on the stack and what goes on the heap (if someone could actually put a "table" of sorts showing the different scenarios, this would be amazing). Regardless, I want to ask this sub if anyone can either go in-depth on how stack and heap work in C++ - where are they stored, how are they allocated during runtime, how large a heap can be etc. or if anyone has tutorials or textbooks that they can recommend to really cover this concept well. I think I have a solid understanding of memory, but just cannot piece together how the stack, heap (and a new one I learned today is static store) all work. Thanks so much! [link] [comments] |
Recommendations for most effective way to learn Python from scratch? Posted: 11 Mar 2018 11:10 AM PDT Title. I have a basic understanding of how programming works, just looking for some resources on how to get started on my own. Also if anyone has any advice in regards to most effective methods to study and learn in the least amount of time possible that would be very much appreciated. Thanks in advance [link] [comments] |
List of helpful Google App Script Apps Posted: 11 Mar 2018 06:13 AM PDT I found a list of helpful Google App Script Apps. Check them out here: [link] [comments] |
Tips for motivation while learning programming? Posted: 11 Mar 2018 07:25 PM PDT Hi all, i don't really know how to phrase it, but how do you find the willpower to sit down, turn on the laptop and start learning programming? I'm in a gruelling coursework of only 1 programming module and I'm already behind on the deadlines. The mid terms are coming up end March and I'm still struggling with fold functions here. I'm also working full time in a helpdesk/admin role, so most days i do have chucks of 1 to 3 hours (not including lunch hours) where i can sit around to work on the exercises but its so hard to find the motivation especially after lunch. I do enjoy the coursework work when im doing it, its just the starting part where I'm dragging my feet. After work, ill reach home 8/9pm and its so much easier to lay in bed and watch youtube videos. And on weekends all i want to do is sleep in and laze about...how did you find the time/motivation to learn programming while working full time? What habits did you develop? I know i should be sleeping better, eating better (less over eating) and exercising but that takes up time too. I also can't seem to work on the exercises for more than 2 to 3 hours at a time or i start getting really tired. How did you get around that initially? There is also the fact that since i work in an IT company, my team is pretty much the developers + myself + the PM for the project. I get along well woth the developers for work but i dont know if its ok asking them for help with my code after work... [link] [comments] |
Posted: 11 Mar 2018 09:19 PM PDT I've been into programming in general for a long time, but really only just recently (like in the last couple of months) have I gotten into web design, and I've really been enjoying it but I feel like the problem with learning HTML and the like online is that most of the tutorials you find have a bit of a barrier to entry for people who literally know nothing about the concept. So I tried to make a quick tutorial that would go over the extreme basics of HTML in under 30 minutes, so I really only went over a really narrow subset of HTML, but I want to see what people who know a lot more than me think about it. Did I go over a decent number of concepts in a way that was understandable (?), did I miss something obvious (?), etc. Thanks for checking it out! [link] [comments] |
Posted: 11 Mar 2018 11:42 PM PDT Can someone explain to me the difference between localhost and 127.0.0.1 in ELI5? I have noticed that when working with Webpack and Django, the 127.0.0.1 address doesn't update for changes made in my Webpack bundle file, but does update for localhost address. I don't know if this is intended or not. When I manage.py runserver my Django server, it states "Starting development server at http://127.0.0.1:8000/" on the console yet it seems to behave independently of my Webpack. What gives? [link] [comments] |
Posted: 11 Mar 2018 08:00 PM PDT Hello guys, INTRO/TLDR: as the title suggests, I feel I am too slow with Udemy courses: for every course I take, I usually need 4x its length to complete it. Has anyone here faced the same situation? How did you manage to improve your efficiency? Let me share the most recent example. I purchased a 10 hours course on NodeJS in my native language (Italian) a couple of weeks ago: my initial goal was to complete it in 2-3 days as I had some previous knowledge on the topic (through freeCodeCamp) and I just wanted to review some tricky aspects with a teacher who speaks my first language. As of today - 10 days later with 2-3 hours per day on the course - I have merely reached the 50% completion milestone. I am not looking for this kind of solution but I must admit I feel slightly uncomfortable whenever I read that the most recommended course are +30 hour-long. I have already bought some advanced courses by Steele, Schwarzmüller and Grider and I really want to complete them, but with my pace I'd need at least 2-3 months for each of them... That's not very encouraging. I think the biggest problem is related to my obsession for taking notes. While I was studying at university (Economics), I developed an extremely complicated method based on taking notes using mental maps, color schemes, cross references and so on. It was probably 80% BS/autosuggestion and 200% outrageously time-consuming but it was working as I just needed to review my notes a couple of days before the exam to pass it with good grades. When I seriously started learning programming one year ago I thought I could use this method again: I thought I could write some useful notes to check from time to time, with a particular focus on the most relevant topics taught by the professor. I ended with something like this. The process is usually: start the video --> new topic is introduced --> 2 minutes explanation --> pause the video --> rewrite the explanation in my notes (now on Google Drive but I also used physical paper) and edit in the most readable way --> restart the video Even if I am aware that these notes will help me in a very limited way in the future (Stack Overflow will be eventually the main reference also for me), I feel that they still play a central role in my learning curve and will be crucial for becoming an autonomous professional. Any ideas for overcoming this situation or at least be more efficient with this funny obsession? :) [link] [comments] |
Trying to start with *light* web scraping and auto fill scripts. Struggling. Posted: 11 Mar 2018 08:31 PM PDT So, I'm just starting to learn python. My goal is to work with data and I'd like to able to scrape the web for that data. I'm trying to start with really simple stuff like getting single fields from a website at a time or filling a single form. I've been taking the python course on coursera so I've just been working on syntax and logic. I wanted to start on a project because I did the same with Access/Excel and VBA and found that I gained so much from the process of struggling through building something big. The problem that I'm facing is that, while the code is easy enough for me to take in bite sized pieces, there are things that get in the way that seem so trivial and make me feel useless. Like installing libraries. I find what I need to do web scraping, like requests, beautifulsoup, etc. but when I go to install these things it's not intuitive, which is fine, but anything I look at for help is so loaded with jargon I feel like it's hopeless to try and understand. I don't have a great fundamental understanding of computers so I'm not sure what my file paths should be, I'm not practiced with the command prompt, I don't know how to use GitHub, and these all feel like moderately big things to learn on their own, like I need to spend a lot of time learning just to install a library just to start a project just to begin with python. It feels like having to smith a hoe before you can start on your garden. I'm committed to learning all this but I wanted to ask what you guys do when there are so many rabbit holes along the way with programming. How much do you learn about hardware, networking, operating systems, system software, etc. My approach has been to try and understand why everything I'm touching is the way that it is but I feel like I'm getting spread really thin. [link] [comments] |
[graphics] Fundamental questions I am really struggling with Posted: 11 Mar 2018 07:25 PM PDT I am worried I am in over my head, are there any resourses that anyone knows that can help me wrap my head around the following? At this point I don't even know how to begin
[link] [comments] |
What work can i do while i'm still in uni? Posted: 11 Mar 2018 08:44 PM PDT I'm 23, majoring in Management Information System, i'm on my 2nd semester. Coding-wize i only know basic c++, for now. Will later learn sql and oracle. My father has a small business that i help run, so i know basic business managing pretty well. I got paid by my dad too. But he and i aren't on the same page, and he's verbally abusive. He has no employee for now, bcs everybody quits. And now the stress got me too. So i decide to quit and look for another job. What can i do while i still need to attend classes? [link] [comments] |
[Help] In java is there anyway i can create an invisible browser and then make it visible? Posted: 11 Mar 2018 07:31 PM PDT Theres a feature in a program i use and it starts with an invisible browser and then when prompted, will open. They use CEF but i have no clue how to start that. [link] [comments] |
UpskillCourses on Web Dev help Posted: 11 Mar 2018 07:26 PM PDT Hello, I am a complete noob at programming (took one intro class and really enjoyed it) and I have decided to start the free UpskillCourses course. However, I am really early on and the instructions for setting up the Cloud9 IDE has changed since Amazon acquired them, is there any videos or links that can help me? I have created an account and made an environment, but the video says "Workspace" however when creating the environment I wasn't given the options that the video has on how to create a workspace (such as picking a template). Is there something more similar to the videos that I can use instead of AWS or how can I make the AWS look more similar to the videos? [link] [comments] |
trying to pick up some web development freelance gigs. Posted: 11 Mar 2018 11:24 PM PDT So I signed up for upwork but seems like a scam they want me to buy credits to bid on jobs. Is there any place out there that isn't like this, or better. To pick up some small gigs. [link] [comments] |
A good second language to learn? Posted: 11 Mar 2018 08:41 PM PDT I've been learning ObjectiveC for about a year now and built a few applications with it. I feel confident now and can actually write code without having to watch a video, or read a tutorial like I had to when I tried to learn HTML. What is a good second language to learn? I'm very interested in iOS development and was wondering if there are any other languages other than Swift that are related? Thanks. [link] [comments] |
How do I run these types of commands? Posted: 11 Mar 2018 08:34 PM PDT Im looking to add some scripts to my router. I'm following a guide but this is what it says
I assume this is SSHing into my router? I'm just looking for where to start so i can youtube and google it up! Thanks [link] [comments] |
Posted: 11 Mar 2018 06:50 PM PDT Hello, I have a C Programming homework which requires me to write a calculator that adds two numbers and displays result, returns the result of adding two numbers, displays the cube of the above, and quits. choices are A,R,D, or Q. My problem is that I get an invalid choice every time. Here is what I have: ' define _CRT_SECURE_NO_WARNINGS include <stdio.h> include <stdlib.h> define PAUSE system("pause") define CLS system("cls") define FLUSH myFlush() char getChoice(); void displayMenu(); void displayMessage(char[]); float addTwoNumbers(float num1, float num2); float returnSum(float sum); float cube(float returnedSum); void myFlush(); main() { //Local Variables float sum = 0.0; float num1 = 0.0; float num2 = 0.0; float returnedSum = 0.0; char userChoice; do { userChoice = getChoice(); switch (getChoice()) { case'A': // ADD TWO INT AND DISPLAY RESULT addTwoNumbers(num1, num2); break; } while (userChoice != '0'); }// end of main //=============================================== //getChoice displays the menu float cube(float returnedSum) { float result; result = returnedSum * returnedSum * returnedSum; printf("%f cubed is %f", returnedSum, result); return result; } //ends cube void displayMenu() { printf("\n\n M A I N M E N U\n\n"); printf("[A]dd two numbers and display result.\n"); printf("[R]eturn the result of adding two number.\n"); printf("[D]isplay the cube of the number returned from above\n"); printf("[Q]uit the program\n\n"); printf("Enter your selection: "); }//end display menu void displayMessage(char message[200]) { int length = strlen(message);//returns the number of // letters in a string int i; printf("\n\n\n"); for (i = 0; i < length + 6; i++) printf("="); printf("\n"); //PRINT THE MESSAGE PART OF THE MARQUEE printf("== %s ==\n", message); // PRINT THE BOTTOM OF THE MARQUEE for (i = 0; i < length + 6; i++) printf("="); printf("\n"); }//ends displayMessage float addTwoNumbers(float num1, float num2) { float result; printf("Please enter the first number:"); scanf("%f", num1); printf("Please enter the second number:"); scanf("%f", num2); result = num1 + num2; printf("The sum of %f & %f is %f", num1, num2, result); return result; }//ends addTwoNumbers char getChoice() { char result; displayMenu(); scanf("%c", &result); myFlush; result = toupper(result); return result; } // end getChoice void myFlush() { while (getchar() != 'n'); } //end myFlush float returnSum(float sum) { float result; result = sum; return result; } //ends ReturnSum ' [link] [comments] |
How do you keep from being burnt out on a side project? Posted: 11 Mar 2018 02:22 PM PDT First of all, I ask here because I feel like this is an important part of truly mastering programming. You will never do certain things unless you can push big projects through to completion so I think learning how to avoid getting burnt out on side projects is part of learning how to program. I'm four months in to a dusy. She's gonna take years of a lot of my time to finish. I have no clear avenue for a financial reward but there might be options there. I'm just doing it because I think it's my chance to make a difference. But I'm getting tired of it, I can tell, even if I would never admit that to myself. I'm afraid of failing on this project. Because it's something I can do but it will be hard. So if I fail I will have no one to blame but myself. How do you stay motivated on something like that? [link] [comments] |
Emotion reconingtion with Dlib, where to begin Posted: 11 Mar 2018 06:45 PM PDT Hi everyone, Before starting, I understand that it is a hard thing I have to do, and that I need some knowledges, but it is important for me to reach. Thanks in advance to all the people who will help me ! I have an universitary problem in which we have to recognize some emotions (anger, happy, neutral and sad) from a camera and picture them on a 3D model. My part is to recognize these emotions and I saw that dlib provides a lot of tools for machine learning. The problem is that I don't know anything about this. The only requirements for this project are that the program has to be written in C++ and has to use Dlib. I am searching a point to start to do (and understand) how to do that. Have you some suggestions ? Thanks everyone ! [link] [comments] |
How to do "arithmetic progression" in python Posted: 11 Mar 2018 07:31 PM PDT I have a list of lists and I need to find an "arithmetic progression of length 4" Example lists And then it ouputs
Where [0,1] is 10, [1,1] is 7 and so on. The program has to recognize any arithmetic progression from side to side, up and down and diagonally. I do not how to get my program to recognize that there is a pattern of +/- "x", however, I can manipulate lists just fine. Any help would be a godsend. Thanks! [link] [comments] |
Is there an api that allows me to get the WOEID of a city based on its name? Posted: 11 Mar 2018 07:28 PM PDT I've tried a few yahoo apis but it looks like they are all down. I'm really new to using apis and I am writing my program in c#, so even though I've found some ways to do it in python I'm not really sure how to get that to work for C# [link] [comments] |
[Python] 'JpegImageFile' object has no attribute '_committed' error when using PIL Posted: 11 Mar 2018 07:21 PM PDT I'm using PIL to compress uploaded images( returns Can someone identify the problem? - and any idea how I can fix it? [link] [comments] |
I'm completely new to programming but want to create 2D games Posted: 11 Mar 2018 01:16 PM PDT My end goal is to be able to create 2D games for example like Stardew Valley and stuff like that. I'm brand new and know it won't happen overnight but was wondering what language to start with first . I know Stardew was written in C++ but I've seen that you could make a game with almost any language so just maybe want some direction in where to start really. Thanks guys. EDIT: I meant to mention that I'm also primarily going to be coding on my MacBook Pro. I don't know if that matters or changes anything [link] [comments] |
You are subscribed to email updates from learn programming. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment