Programming Definition and 1000 Threads

  1. M

    Evaluate C Programming Questions: 1-2/3+4-5, 1-2/3+4.0-5 etc.

    Homework Statement Evaluate the following expressions (i) 1 - 2/3 + 4 - 5 (ii) 1 - 2/3 + 4.0 - 5 (iii) 1 - 2/3.0 + 4 - 5 (iv) 1 + 4*3/2 (v) 1 + 3/2*4 (vi) 'h' - 'e' + 'l' - 'p' The Attempt at a Solution The answers for each question respectively are 0 0.0...
  2. T

    Why do electrical engineering students have to study computer programming

    Is it just to make it more likely that their creativity will make use of what computers can do? Am I correct in thinking that programming computers is not part of an electrical engineer's job description?
  3. M

    C# Which Programming Language is Best for a Communication Student?

    which is better Java or C# me as engineer how can i use programming language in my field ? i am in the first year communication department.
  4. S

    Question regarding Pic programming

    Hi guys Can someone give a hand ,explaining for me the purpose of the the following instruction? GOTO $-3 http://www.piclist.com/techref/A2DCodeGenerator.asp?bits=10&ref=5 Thank you in advance
  5. Z

    Programming for Mechanical Engineers

    I'm currently doing Mech Eng in Canada and I plan on choosing Mechatronics as my speciality, however, I was wondering which language would be best for embedded systems and mechanical designs. I've heard so many conflicting reports: some tell me mechanical engineers should stick to fortran...
  6. E

    Programming and Computer Science in Physics

    I read ZapperZ's (apologies if I misspelled his username) guide to becoming a Physicist and I saw a portion about learning to program etc. He recommends learning at least two languages suggesting maybe FORTRAN and C or C++. This coming Fall I'll be taking a course in Java based Programming...
  7. A

    Variables suddenly disappering (C programming)

    Hi, I have an array that is partially disappearing from one line of code to the next and I don't have idea what could be causing this. The pseudocode of the relevant chunk of code goes like this: ... declare some 3d-dynamic arrays allocate memory for the arrays assign values to the...
  8. H

    Python Learn Python for Physics: Introduction vs Scientific Programming

    Is it better to start learning Python using a introduction to python book (Think Python) or a scientific programming book (e.g. A Primer on Scientific Programming with Python, 2009)? I have little to no programming experience. I'd use python solely for physics computation/simulations. I was...
  9. E

    Which programming language is best?

    Hello, I am currently a Junior in high school and am interested in majoring in Physics when I go off to college. I have looked online and saw that many people have suggested learning a programming language and was wondering which language would be a good one for me to learn saying I would be...
  10. S

    Learn How to Use File and Argc in C Programming: Step-by-Step Guide

    Hello! I am learning how to use file and argc and I am stuck on this assignment : write a program that sequentially displays on screen the contents of all of the files listed in the command line. Use argc to control a loop. Here is my code, I'll try to enclose it in [ CODE ] [ /CODE ] tags if...
  11. F

    Which programming language is best for computational physics?

    I am new to programing in general, and I want to learn a language that will be useful to me as a physicist. I am currently looking mostly at C++, but Java and C# also seem like useful tools. I don't want to waste my time studying anything that I won't use. Any suggestions from those of you who...
  12. H

    How Do I Integrate External Functions into My Robot's Square Path Program?

    Homework Statement I want a robot to roll in a path with 4 sides or in other words square, so I made a possible program but I am not sure if it will work. And how do you call 2 source codes into a different code like the one below? ( the 2 are right.hex and the other is DelaySpeed ) right -...
  13. B

    Programming language for Mech Engineering (for profession and as hobby)

    Hello, I am a second year Mech Engineering student. I was co-oping this past spring and was introduced to programming/embedded systems in real life situations. Among this, simulation caught my attention as well. Have decided that it would be great to learn a language so that I can use it for...
  14. F

    Programs Which programming languages might a physics major learn and why?

    Other than C++, which is obvious, and MATLAB, which is unavoidable.
  15. N

    Math Math & Programming: Career Opportunities?

    Hello everyone. I am going to college and plan on majoring in mathematics because my enjoyment of it is very great. Recently I have taken an interest in programming, and have been teaching myself python in my free time, and have been having fun with that lately. My question is, how well...
  16. S

    Programming a video camera for a noob

    Hello everyone, I have a basic (I think) question about how a consumer video camera is programmed to do what it does. The camera I have in mind is the Flip (may it rest in peace). Ok, so I'm aware of most of the parts that go into a video camera, such as the shell, controls, lens, sensor...
  17. C

    Learning Programming for Physics Research in Grad School

    I plan to start grad school in the fall and do not have a main interest for now (astrophysics, condensed matter, etc), but want to do research in something as long as it involves computations. I should probably get better at programming so that I could do research in physics involving...
  18. M

    Java Comparing Java & C Programming: Questions & Answers

    So I have multiple questions regarding these two programming languages. 1. Which is better to learn first? 2. I recently emailed a possible future university asking what languages they teach. In the email he said "Java rafter than C" Now does that mean mostly Java but C included? Or no C at...
  19. nukeman

    VERY Newbie question about programming and programs. ?

    Bare with me here guys...:) I don't know a great deal at all about programming and what not. Here is what I want to do. I want to make a (simple)program where I would imput, let's say 10 numbers, and then I hit the "Enter" or whatever button I make, and it shows me: *The average of the...
  20. R

    Solving Programming Doubts: Logic, Shifts & Situations

    I have been working on programming and trying to learn fast all the things. I have some doubts about following logics that when to use and where. Please explain me in short and undestandble way. 1) when to use exactly AND, OR and reamining logic functions. 2) when to use arthimatic and...
  21. I like Serena

    C/C++ Why are the C++ programming standards so inconsistent?

    It's a pity that the various coding standards that I have seen are inconsistent as to when to use #include "file_spec" or #include <file_spec>. The "High Integrity C++ Coding Standard" says: [FONT="Times New Roman"]High Integrity CPP Rule 14.9: Use <> brackets for system and standard...
  22. K

    3n+1 Problem from Programming Challenges

    Hello. I am new here. Here is the question: Consider the following algorithm to generate a sequence of numbers. Start with an integer n. If n is even, divide by 2. If n is odd, multiply by 3 and add 1. Repeat this process with the new value of n, terminating when n = 1. For example, the...
  23. K

    Python Why is Python Telling Me My Variable is Not Defined?

    Homework Statement Hi. So I'm stuck on a few things right now, but the main one is that Python is telling me that one of my variables is not defined. I have stressed over this for about an hour now trying everything to change it, and I cannot seem to find issue. Homework Equations...
  24. PainterGuy

    C/C++ Object-Oriented Programming in C++ (4th Edition) by Robert Lafore

    hello every1, i was able to find this book "Object-Oriented Programming in C++ (4th Edition) by Robert Lafore" in a local library. I am thinking of self-learning c++.. do u have any information on this text...is it easy...im totally blank in this area of programming and computers in...
  25. P

    Complex semidefinite programming

    For semidefinite programming (SDP), we have the primal and dual forms as: primal min <C,X> s.t. <A_i,X> = b_i, i=1,...,m X>=0 dual max <b,y> s.t. y_1*A_1 + ... + y_m*A_m <=C where the data A_i and C are assumed to be real symmetric matrices in many textbooks and online...
  26. PainterGuy

    Object oriented programming (oop)

    hello, i have tried to read wikipedia and wisegeek articles on _objected oritented programming_ but didn't learn a bit. I'm simply trying to learn the basics and know almost nothing abt programming so far. can u give me some basic understanding of this oop, please? wut r these objects? i...
  27. C

    Schools Stuck in a Programming Rut: What Should I Do?

    Hello , I'm in a very sticky situation this semester I have to take computer programming courses and much to my dismay I have no interest at all, there are only 2 options that I can take : take the semester off or continue and "hope" to get a decent mark? What do you think I should do, the...
  28. V

    Essential programming for physics/mathematics

    Hello, I was wondering what programming languages are essential to a physicist/mathematician. In the courses I am in, I have encountered programming homework assignments that I did not anticipate(differential equations and classical mechanics). Needless to say, I have had very little...
  29. J

    Programming PICs in C: Resource Guide

    Hey all! So I recently purchased a PIC16F690 for a project and I've been trying to learn the assembly language for it and it's turning into a somewhat daunting task. I've programmed in assembly before but it was with an ATMEL chip. This was about two years ago, so everything is kinda fuzzy...
  30. R

    Engineering Programming for Electrical Engineers

    I've always been told that an electrical engineer should be well-versed in a high level programming language. Which would be the most useful? C++?
  31. J

    Relevance of BASIC programming to PHYSICS

    I was just wondering if there is any valid relevance of BASIC programming to a physicist. How much of Physics can we put in BASIC? If there is, can I hear you? Please.
  32. M

    3D Programming: Experiences and Insights

    Was just wondering if anyone here has tried 3D programming. If you have, what language did you write in, what difficulties did you have, and what did you find interesting about it? As of now I know of Direct3D and OpenGL, but, if I'm not mistaken, you can use different languages to write...
  33. C

    Calculators Programming ti83 cursor to NOT blink?

    is there any way to program a ti83 so that its cursor doesn't blink?
  34. A

    Programming language for Mechatronics

    Hey, I was wondering, since mechatronics deals with control system and computer programming, what sort of programming language would be beneficial for me to start learning now before my university starts? since i have around 6 months i though i would be good idea to start learning some...
  35. R

    Programs Programming classes or self-teach? (physics major)

    Hello. I am a third year physics major (technically, although I am still taking 200 level classes) and understand that programming is a must. I do not know anything about programming. I initially planned on taking a summer programming course (if not, then next fall) but it seems as though I'd...
  36. E

    Programming in mechanical engineering

    Hi, I have a general question related to the mechanical engineering profession. I am a second year mechanical engineering student and I also have a college degree in computer science, my skills are mainly C/C++ programming and networking/Linux environment (system administration). I love...
  37. J

    Application Programming Interface (API)

    An is a particular set of rules and specifications that a software program can follow to access and make use of the services and resources provided by another particular software program that implements that API. It serves as an interface between different software programs and facilitates...
  38. J

    C programming Q: initializing an array of structures

    I am writing a program in C (vanilla, non-C++/C#) and I am having trouble figuring out why my initialization of my array of structures isn't working. I have tried a number of things without any luck. I still get a compiler error: "conflicting types for 'cardInfo' " I am writing a simple...
  39. T

    Idea for graphics programming project?

    Hello! I'm studying graphics programming right now, and in the end of this one semester long course we are going to make a project in which we will program an application that displays some nice graphics. I want to take this as an opportunity to show that I have a talent for programming (having...
  40. C

    Programming: Where can I find an ASCII Table?

    Homework Statement I am given the binary equivalent of ASCII codes and I am asked to decode a particular binary message (ASCII binary to actual ASCII character). I am required to write it in C. Where can I get a text file of the ASCII code so I may create a look up table? I googled...
  41. Shackleford

    Math Math degree useless without knowing programming?

    Is it? I don't any languages. I don't really care to learn them, but I know I'll be at a great disadvantage in the job market. Are there computational jobs that allow you to learn/acquire skills on the job? If I don't learn any languages, generally speaking, what careers would be open for...
  42. C

    Any advatage using the ML programming language?

    been learning ML programming, just fun to learn new things, what this ML programming used for anyways? how is this better that C or C++?
  43. N

    Mastering Programming Job Exams: Essential Techniques and Algorithms for Success

    I would like to know what to review for tests given by employers for programming jobs most problem solving techniques algorithims i recently took one and was caught off guard by how to find the abs min of a set was
  44. C

    Chemistry Chemistry & Computer Programming

    I love computer programming, but I'm currently on a BSc Chemistry degree. Is there anyway I can combine these for a job/career?
  45. G

    Programming Language for Physicists: Which is Most Important?

    As computers become each time more important to do computations in physics, it is important to know which programming language would be the most important for a physicist. What do you think?
  46. Simfish

    Bad programming skills = biggest hurdle to astronomy research

    http://weareallinthegutter.wordpress.com/2010/12/22/astronomy-bottlenecks What are your thoughts on this?
  47. P

    Good embedded systems and its programming in c books

    Hi guys, i wanting to learn embedded systems and its programming through C language can you people suggest some good books on this subject.
  48. N

    Picking a language (programming)

    Hello, so I am a junior in college right now...I am double majored in mathematics and computer science. I was curious, I know C++ pretty well and was interested in starting web development languages. I know I will have to learn html and SQL as they are pretty much standard for web...
  49. P

    MATLAB Access Variable in MATLAB Structure Using User Input

    Hi I am trying to use MATLAB for some data analysis. I start by getting user input for a variable called exptno, Then I want to access a location in a structure, but to do this I need to append the variable exptno to the name of the structure. Ill try and give an example to hopefully make it...
  50. physics girl phd

    Learning Programming: Suggestions for a Middle-Schooler?

    I'd like to start our middle child (age 11) learning some programming. It's been a long time since I've learned a new language, so I was wondering if anyone had any suggestions, including some texts to get for him (we restrict his online access, so I want his help to come from a book, not...
Back
Top