# Programming & Computer Science

- Action or process of writing computer programs. Computer algorithms, data structures, A.I., systems, databases, communications, security...
 Meta Thread / Thread Starter Last Post Replies Views Views: 2,672 Announcement: Follow us on social media and spread the word about PF! Jan16-12 Pinned: Programming Resources ( 1 2 3 ... Last) I thought I'd start this thread about useful sites programmers could go to if they needed general help or information... Jun4-14 07:18 PM TheDemx27 64 70,524 Pinned: [C++] Tutorial 1: Discussion ( 1 2 3 ... Last) Please post your C++ questions or comments here for Tutorial 1. Apr14-14 11:40 PM TSC 168 104,609 The general policy of Physics Forums is that requests for help with solving specific problems or exercises must be... Sep1-09 02:45 PM jtbell 0 19,462 Pinned: [C++] Tutorial 1: The Basics I recently noticed a substantial request for c++ information. Therefore it is my pleasure to announce the opening of... Nov20-05 08:26 PM dduardo 8 99,658 Hi guys, I am tryin to get my program to output multiple files with the name of the file dependent on a number of... Dec14-08 01:16 PM mathmate 1 3,473 Hello, I used to do schoolwork in Fortran (Compaq Windows version). Couple weeks ago I decided to say "good-bye"... Dec13-08 04:26 AM franznietzsche 3 2,039 HI, I am using fortran 90 for simulation. I write a subroutine (CALC_PORO_SOL_BANDED )where i called a linear solver... Dec12-08 04:11 PM mathmate 16 1,775 Hello, does anyone know how to get Emacs to color words like "def, class, or, and" etc.. and to give me the right... Dec12-08 03:42 AM MaxManus 2 1,478 Hi, I'm trying to write a score function. The score function is applied to each cell of a grid and because the... Dec11-08 02:18 AM Coin 1 863 hi, I have been trying to make a game similiar to pong in java. But I do not understand the concept of bouncing of... Dec10-08 07:12 PM techy 0 740 I have a programming (Java) lab asking for a function of the prototype: Vector phoneNumbers(String suffix, String... Dec10-08 03:52 PM kantrcr 0 760 OK, I've a much more complicated code, but I've simplified the below to portend to my question more specifically. ... Dec10-08 02:12 PM ephedyn 6 11,156 Hi, I'm familiar with tree traversal alogirthms, post,pre and in-order. If you give me a tree I can print out the... Dec10-08 12:43 AM Coin 1 1,763 We've been learning Igor Pro in my computational physics class. I'm a physics major but have no background using code... Dec9-08 08:05 PM Slugger 0 1,587 Hi, I need help taking the atomic numbers from a list of elements and putting them in an array. I have my data in a... Dec9-08 05:38 PM TruthOasis 11 4,253 I have a simulation with a satellite that orbits earth in 3d. Earth's shadow, for simplification purposes (the... Dec8-08 12:37 AM TheFerruccio 0 1,543 Hi all, I imagine this is an amazingly simple problem for anyone with the slightest bit of programing knowledge (which... Dec6-08 06:36 PM mathmate 3 3,779 Hi guys anyone know a good approximation algorithm for counting number of cycles in an undirected graph??? Dec6-08 03:56 PM Mba7eth 0 2,052 My old desktop PC which I built circa 2003, has officially stopped working. The parts in it are discontinued and I... Dec6-08 09:09 AM michinobu 9 1,774 I have a very simple question, but have been unable to find an answer for it. When using fortran 90 can you use a DO... Dec6-08 08:38 AM mathmate 1 7,360 Hello Just a quickie. could any one tell me which header file i have to include to be able to use CString in VC++?... Dec6-08 05:27 AM 31si 13 40,289 I need help with this program. I got five others to do and I won't have time to do it and it's apart of my final exam... Dec4-08 11:58 AM kings1703 2 1,207 Hi there, I'd like to preface my question with a few things. First off, I'm not great at physics, but I don't think... Dec4-08 05:25 AM mathmate 13 3,301 Hey I need a lot of help with this homework assignment. I really have no idea of what to do. Please help me! ... Dec3-08 07:37 PM zyh 1 605 I can't figure out how to get these 2 methods to work. In my assignment description it says public BinTree... Dec3-08 01:54 AM Coin 1 3,075 So i've downloaded Visual C# Express Edition from Microsoft. Now I actually have to learn C#. Can anyone recommend... Dec2-08 10:42 PM jtbell 2 1,713 This is giving me a big headache. Using free() for some reason results in segmentation faults. I'm working on... Dec2-08 04:36 PM Werg22 15 12,482 I'm looking for a quality software for backing up data. It needs to automatically sync files from various folders to... Dec2-08 12:28 PM Greg Bernhardt 1 1,479 My buddy, a Flash developer, wants to learn 3D rotation of objects from first principles, i.e. using trig. I know... Dec2-08 09:19 AM DaveC426913 7 2,258 I am new to interrupts, so i have made a simple program using a timer interrupt to cause a delay of about 1 sec in... Dec1-08 08:56 PM Coin 2 3,232 I have very limited programming experience, only done VB in the past and excel and access to some extent. I'm trying... Dec1-08 07:26 PM mathmate 3 1,015 I was wondering what kind of advantage a 64-bit processor gives you over a 32-bit processor. How much more performance... Dec1-08 03:11 PM michinobu 9 2,308 Hey. This is what I have to do: Fix the IF conditions inside the DO loop to handle ALL possible combinations of... Dec1-08 01:17 PM Calculus! 4 945 Okay, so if I have a turing machine so called M, is there a configuration alpha s beta which yields a configuration... Dec1-08 09:11 AM -EquinoX- 5 1,354 I get an error with gcc "error: two or more data types in declaration specifiers" when trying to compile something of... Dec1-08 12:43 AM Werg22 2 2,203 So I'm writing a program to do a riemann sum. The final answer should be Pi. My function: f(x) = 4/(1+x^2) a = 0 ... Nov30-08 08:04 PM ncp1044 9 2,827 In C how would i create, open and write an array to a text file The array is EeV, does it make a difference... Nov29-08 08:54 AM dimensionless 3 16,710 Hi, I have a code that was written with a Linux FORTRAN compiler but is 'portable'. does this mean I am able to... Nov29-08 08:46 AM dimensionless 3 2,244 hi please I would some help with the MIPS hazard. Loop: add $t0,$t0, $v0 addi$v0, \$v0, -1 ... Nov27-08 09:43 PM brad sue 0 1,860 Hey, I wasn't sure whether or not to put this in the homework section or not because I need to complete this code... Nov27-08 11:05 AM yahya2003 4 4,068 I wish to store thousands of letters onto a computer for a friend. What is the best way to do this? Use Access, or... Nov25-08 01:27 PM John O' Meara 3 1,278 Unlike normal finite automata, which always have one start state, it seems that quantum automata can actually have... Nov25-08 01:20 PM michinobu 3 1,397 Hi guys, this should be a pretty easy thing to do, I'm just not familiar enough with bash shell scripting to do it. ... Nov25-08 08:48 AM minger 2 5,231 Hi everyone. I have the following system of PDE's: ut = vx vt = (-3)*ux + 4*vx, with initial conditions... Nov24-08 07:05 AM jiku1797 0 6,356