Programming Definition and 1000 Threads

  1. Dembadon

    Comp Sci Programming in C++: 3D array string copy

    Homework Statement I am making a Klondike style solitaire game, and I am trying to load a string into a 3D array. I am representing the "Tableau" with a 3D array (we haven't gone over structs yet). I want to represent the spaces which don't have cards with the word "empty". I'm not...
  2. S

    Programming for research physics

    I'm applying for some REU's later on this year and I'm wondering whether knowing a programming language is necessary, and if so what book(s) I should get to learn. Also if anyone else has done an REU, is there any other skills or outside school actives I could do to increase my chances of being...
  3. D

    How to Start Embedded Systems Programming

    I want to learn some embedded systems programming on my own and explore it as a career option. Where should I start? Book recommendations? I have programming experience in assembly, C and higher level languages, and I've taken one computer architecture course. I love my linux, so I'm interested...
  4. X

    Python Need help with random walk simulation on a Manhattan grid in Python?

    This is an old lab assignment I never got around to finishing and we are allowed to resubmit it for partial credit. I don't really even know how to set up this program. I understand what I need, I just don't know how to implement it. Any help is appreciated. "You may know that the streets and...
  5. A

    Which Programming Language Should I Learn: A Comparison of C++, Java, and C#

    I am an Alevel student, and I always wanted to study programming. I chose C++ to be my first programming language. But I am not sure whether this language is better than other languages such as java and C#. I am afraid that if I study c++, in the future it might be hard for me to get a job...
  6. K

    Comp Sci Problem with getline in C++ programming

    Homework Statement I am solving a problem in which I am reading numbers from cells in a csv file, I used getline to get strings from the csv file then converted the string to an integer... but the getline seemingly discards the last cell in the csv file Homework Equations this my C++...
  7. F

    MHB OOP vs functional programming paradigm

    I was reading wikipedia about the short comings of the object oriented programing paradigm and a prof atCarnegie Mellon University states ""This semester Dan Licata and I are co-teaching a new course on functional programming for first-year prospective CS majors... Object-oriented programming...
  8. J

    [C] variable system in programming

    I just started programming and i don't understand how variables work. First the book defines a as 3 and b as 5 then defines a =a+b. For me who hasnt done programming ever that implies that b=0 but i think second a is different from the first one. Help regarding how variables work in computer
  9. T

    Is learning programming a good idea?

    I don't intend on taking computer classes, just learning as much programming on the side as I can before going to school as well as learning maths, is this a good idea since I am looking at physics, or engineering?
  10. M

    Where Can I Find a Concise Resource on Common Programming Terminology?

    hello english is not my native language and the few programming literature I have read in my language, is so badly translated from english, that makes it more difficult to comprehend I understand that almost all programming languages share some terms, like class, function, command, object...
  11. D

    Programming language for mathematicians

    What is a good programming language to learn for novice mathematicians, especially those who might want to eventually do mathematical modeling of problems? Also, do most mathematicians actually learn a programming language, or do they usually rely on programs like Matlab?
  12. T

    Programming language for computational science in future

    Hello everyone. Which programming language do you think will dominate the computational world in this decade and thereafter? I know so far Fortran is the King in computational physics, but was curious to know which other languages (like C++, Python, Java, etc.) are in the trend of dominating...
  13. W

    Which Edition of C++ Primer is Best for Particle Physicists?

    Hello I'm asking for a textbook in C++ programming language for [FONT="Arial Narrow"][SIZE="3"]Particle Physicists
  14. D

    Which Programming Language is Best?

    Hey guys, Starting in a couple weeks, I will begin my college education at North Carolina State as a Physics major. One requirement for my degree is a programming class. For my degree, the offer FORTRAN, C++, Java, and MATLAB. My counselor has not advised me to take a single one, just to...
  15. G

    Fortran Programming trouble with fortran optimization code

    Hi everyone, I have some trouble adapting an existing fortran code for my application. In the following Module I am optimizing a value for two planes ( i = iplan one&two). In order to do that, I need to assign ten certain values from an external inp. file for each plane. I have two loops...
  16. R

    Assembly Programming: How to Calculate 3a-4c Using MUL Instruction

    Im having trouble with this program. It is suppose to calculate 3 call getPos ;AX = a (user input) M1 dw ? mov M1, AX ;M1 = a call crlf call getPos ;AX = b (user input) M2 dw ? mov M2, AX ;M2 = b call crlf call getPos ;AX = c (user input) M3 dw ? mov M3, AX ;M3 = c...
  17. J

    C/C++ Can learning C++ also make me proficient in C?

    So I'm a Mathematics major who has been trying to become a good programmer for over a year now. The most recent languages I've tried to tackle are C++ and JavaScript. I went through C++ Primer, Fourth Edition during Christmas break and then went through it again several times, along the way...
  18. C

    C Programming: Creating recursive quickSort function

    Homework Statement Function: void quickSort(struct student *array, int start, int end) { int i = start; int j = end; while(i < j) { // Move left counter, then right counter. while(i <= end && array[i].numDays <= array[start].numDays) i++; while(array[j].numDays >...
  19. C

    C Programming: freeing array of structs causes heap overflow

    Homework Statement Error: warning: HEAP[Happy Birthday.exe]: warning: Heap block at 006E15A8 modified at 006E1688 past requested size of d8 My Struct: struct student { // Defines a student. char firstName[NAMELENGTH], lastName[NAMELENGTH]; int day, month, year; }; My Code...
  20. R

    Networking or Software Programming: Which Career Path Should I Choose?

    hello this is rithish from india.Actually I was planning for networking job.So i decided to do ccna and ccnp.My father and mother advised not to take networking.they preferred me to take software and they don't want me to enter in network.beacause network has low salary and rare scope and they...
  21. B

    Programs ADVICE Welcomed - EE Major / Physics Major / Computer Programming

    I am going to Penn State next year as a freshman undergraduate for Physics and EE. I need advice from others who have been through the typical freshman and Sophomore years and the typical experience. Specifically, are there are recommended books/texts that I should have next year for both...
  22. M

    Looking for New Programming Projects to Expand My Skills - Any Suggestions?

    Hi all, What are some cool programming projects that you have done that really helped you learn a different area of computer science / programming? I am SICK OF the tedium in databases and application development. I would like to expand my horizons to areas such as embedded systems, computer...
  23. S

    Python C Programming: Deepen Understanding & Learn Python in 1 Month

    Im a Computer Science Major, i just finish a programming Class.. it was a C class, i got an A on the class it was a bit to easy in my opinion, but I am not confident in C Im good with functions, variables, pointers, basic structs, etc Im lacking understanding on structs using pointers...
  24. S

    How important is Programming in EEE

    Hllo guyz please i want to know or better still get enlighten on the importance of programming in EEE. Cos i have a kid brother who wants to study EEE and wants to know if he would be needing programming. Thanks.
  25. N

    Best Programming Language for a Math Major?

    I always see people on this forum encouraging math majors to learn to program so I was wondering what language is best to learn? Also, what is the best way to learn the language besides taking a class? I have only taken 2 math classes so far so I definitely can't tell you what areas I'm...
  26. S

    Programming challenges for begginers

    Hello again. I'm understanding pretty well this whole programming thing. I'm learning javaa and I would like to know what are any challanges that could be given to a newbie just like me. You know, something that can be given perhaps as an assignment in an introductory level university course...
  27. M

    Specs to focus on for a programming intensive notebook?

    Hello All! First of all excuse my query which may seem trivial to some of you, I am about to purchase a laptop for work. I am an ECU programmer (engine control unit) / embedded engineer working for an automotive tuning company and I'm looking to buy a laptop suited for my programming needs. I...
  28. J

    How can I get started learning programming without any prior experience?

    Okay forgive me because i am completely new to programming - as i am going to ask some possibly stupid questions: How is a computer language like python, java created? Who creates them? Is Word,Excel created using python, java etc?
  29. P

    Courses Take Programming Course(s) or Self-Study?

    As a physics undergraduate with the desire of going to grad school for physics (specifically HEP or field), I've come to understand the importance of learning some programming. I've come to the conclusion, through this forum and personal contacts, that Matlab, Mathematica, and Fortran are...
  30. C

    Programs Are programming skills required to get into an Applied Math PhD school?

    Hi Physicsforum, I'll be graduating next semester (one semester early) with a degree in Pure Math and Statistics (minor in Atmopheric Science). I have good research experience and an internship and can get some good letters of recommendation. However, I'm worried that I don't have enough...
  31. M

    Can you help me find a programming website ?

    Can you help me find a "programming website"? Hi, I came across this website a few weeks ago and it would appear that I haven't bookmarked it! It had a lot of information and advice on programming. I remember reading the following sections there: - which first language and those suggested...
  32. N

    Linear Programming question (I think?)

    Homework Statement This is not a homework question, but it is something I want to work on related to something I volunteer for. Regardless, I did not know where to post this question and this forum was the best place I could think of it. I don't need someone to work it out for me, but what I...
  33. C

    Programming: a Book or Practicing Only?

    Hi, Everybody I'm an electrical engineering student who has been doing Java programming for a while. I have started learning OOP directly from practicing, mostly using youtube tutorials, without getting into theories or concepts before. Lately, I have thought to start reading a book about OOP...
  34. L

    How can I generate random integers without bias using programming?

    In my book, it says the way to produce a random integer from, for example, 1-50 is to use srand() % 50 + 1. But wouldn't that give "1" the chance of showing up more often than other numbers? If srand is 0, then the random result is 1. If srand is 50, then the random result is also 1. The other...
  35. P

    Objective-C and Programming languages

    Today, I skimmed through a couple of messages posted by one of my technical leads in my company blog to share with everyone, and something cropped up in my head and wow, I am scratching my head wondering if I actually understand or even come to an agreement that once people truly understand the...
  36. H

    Python What to do after basic programming (Think Python)

    I had finished Think Python, an introductory book on programming using python. I'm a physics major. So I'd probably need simulations and computational skills. I tried searching Google for intermediate python books, found nothing. Any suggestions on how to proceed?
  37. S

    Benefits programming in Linux over osx?

    Is there any benefit on using C for programming instead of using osx for example? Forgot about windows just Linux va OSX??
  38. J

    Help With Programming: Get Started Now!

    Hey everyone, Sorry if I seem somewhat repetitive about this, but I need help with getting started. I feel really dumb because I've asked questions somewhat similar to this. Ok, where do I even start with programming. I bought a book from Amazon, which says I need a "text editor" and a...
  39. D

    C programming compiling syntax errors

    Got some errors when compiling and not sure what is the problem and how to fix it # include<stdio.h> #define FLEETSIZE 10 typedef struct { int day, month, year; }Date_t; typedef struct { char make[15]; Date_t manufactureDate; Date_t...
  40. P

    What Is R Parameter Programming in CNC?

    I am currently doing a course on CNC Programming (GCode, MCode and also APT Programming). The course is almost over and we are going to have an Exam at the end. The Exam is mostly writing programs but would also have a few theory questions. One of the questions asked in previous exams has been...
  41. P

    Simulation Programming: Spawning particles at random position

    Hi, I am making a program with the simulation software Breve. It codes in Python or in Steve (their own language). In my simulation, spherical particle with random radius are being spawned at random position into a little zone. My problem is that those particle cannot be superposed. I don't know...
  42. Z

    Programming language to use to make plots from a database?

    I am a graduate student who has basically no experience programming but I would like to learn so I decided to give myself a project. What I would like to do is build a web application that can plot data (2D & 3D) from a database. Once I get that far I would like to have the web application...
  43. Y

    How to write a C programming proposal?

    I'm new at C programming. My course required me to write a proposal with the title "Word Processing'. It sounds: Create an interface that emulates basic word processing. Ask the user to input text and save it to "txt" format. The user should be able to modify, add and remove any of the...
  44. Who Am I

    Orbit program - three objects (C programming, but other programmers could help)

    Homework Statement I'm trying to write a program with three bodies, two in orbit around a large central object. The main object orbits fine, that was dealt with earlier. I'm having trouble making a smaller object that is the only object whose position is dependent on the position of both of...
  45. N

    Considering a Double Major in Computer Programming & Physics: Get Opinions Here!

    Need opinions :) Hi guys, if I wanted to I could have graduated high school this year but I was unsure of what field to go into. So, I decided to stay an extra year in high school (taking few English and Math courses I did not have space for before). I will be graduating next year for sure so...
  46. QuarkCharmer

    C/C++ What are the advantages of learning C++ as a first programming language?

    I just finished all of my finals today, and now the summer is here! I am in a REU for the semester, and I should have plenty of time to learn a programming language. So, this afternoon, I googled around a bit for information... and I can't figure out what to do! I was debating on Java...
  47. C

    Programming in Chipmunk Basic and having an input that doesnt show-see details

    Ok so this is my altered and rephrased question. I need help programming something that uses an input. Now it is not as simple as it sounds because I want the user of the program to be able to run the program and have several things happen. When he/she runs the program I want him/her to press...
  48. C

    I programming in Chipmunk Basic with arrow keys, and random coordinate gen.

    I am trying to make a game in Chipmunk Basic using the arrow keys but I can't because I cannot figure out how. I have programmed in other Basic Softwares but I cannot figure out how to use the arrow keys and spacebar in my programs. An example (much simplified) of a game I am making is snake (if...
  49. M

    Teaching myself computer programming Where should I start?

    Can someone give me a general sort of outline of what I should teach myself and in what order? or supply me a link that has a neat pdf?
  50. A

    Interesting programming problems

    I am taking a course on Java and i am looking for some interesting general programming problems i could solve with java. I've gone through two java books, but most of the exercises at the ends of the chapters are very straightforward, and I am looking for something more challenging. My...
Back
Top