# 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 Pinned: [C++] Tutorial 1: Discussion ( 1 2 3 ... Last) Please post your C++ questions or comments here for Tutorial 1. Nov9-13 07:12 AM ABD EL HAMEED 166 79,588 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... Mar10-13 10:23 PM kelagar 60 48,733 The general policy of Physics Forums is that requests for help with solving specific problems or exercises must be... Sep1-09 03:45 PM jtbell 0 13,604 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 09:26 PM dduardo 8 91,686 string t="rrrrr"; string *p=&t; strcpy(p, "abc"); i was told that it tells P to point on the data which on... Oct15-08 03:08 PM transgalactic 4 787 Whenever I do a search on the web about something specific in C++, I get like tons of hits from many different forums.... Oct15-08 12:25 PM mgb_phys 9 2,074 I have a program that needs to print out a formated table of time x distance and ydistance. I got everything written... Oct15-08 10:40 AM juice34 0 9,381 i got this recursion int b(int n,int count) { int i; count =a(n,count); for(i=0;i #include double faktoriel (double y); void main() { double x, fac; char yes... Oct13-08 10:09 PM chota 26 2,379 Hi there, I am currently studying Machine Learning and Data Mining An Introductory course. I was wondering what... Oct13-08 09:27 PM chota 0 1,273 everytime i go on my compiler(phonescape) it says this this device is not reeady... press any key to continue ... Oct13-08 08:59 PM zyh 1 1,123 when i declare int* ptr_a, ptr_b; why the type of ptr_b is int and not int* Oct13-08 04:24 PM transgalactic 2 1,025 First I must mention that I'm a novice-intermediate VB programmer. I have a subtle understanding (I bought a... Oct11-08 06:21 PM jazFunk 1 1,744 hi. i'm trying to make an lmc that gives oupts the 2 largest values from 3 inputs. i know how to find out the... Oct11-08 02:02 PM taxi 2 3,289 This is a program to slove differential equation using fourth order Runge-Kutta method. The question is dy/dx=x2+y2... Oct10-08 10:17 PM Vagrant 8 1,601 a byte=2^8 kilo=1000 2^8 * 1000 differs 2^10 ?? Oct10-08 09:28 AM CRGreathouse 4 768 Does any one know of a good (free) BASIC compiler? Thanks:biggrin: Oct10-08 09:25 AM CRGreathouse 3 1,225 when i compile it i get perfectly well output without any endless recursion but when i trace this code: ... Oct10-08 01:22 AM rcgldr 11 1,001 i tried to trace this recurtion for small numbers but i dont know how to write down in an organized way int... Oct10-08 01:13 AM rcgldr 4 910 printf ("Some different radixes: %d %x %o %#x %#o \n", 100, 100, 100, 100, 100); %x shows 100 in hexadecimal basis... Oct8-08 05:18 AM transgalactic 4 1,590 when i run this code instead of getting some expected out put i get line 17: main' must return int' but main... Oct8-08 12:36 AM transgalactic 14 929 (this is basically a dumbed-down version for the sake of clarity, but gives the same problem I'm getting) I have a... Oct7-08 02:54 PM KTC 3 2,244 Ok this is what I did int n; cout << enter number; cin >> n; for (int i = 1 ; i < n ; i++ ) if ( n % i... Oct6-08 12:04 AM Defennder 3 1,218 Hey guys, our homework requires us to write the code to calculate the total resistance of a circuit for "n" number of... Oct5-08 11:55 PM mgb_phys 6 2,298 Hi, the release of masm32 doesn't come with the files to include io.mac and io.obj. I am very new to this assembly... Oct4-08 04:49 PM skriabin 1 2,688 Ahhh, yes, the perennial debate that leads inevitably to broken bottles and fisticuffs. I'm being quite sincere here,... Oct4-08 11:42 AM mrentropy 2 5,745 Hello. Say that I have an image, and on it a reference image at an unknown location. How would I go about finding the... Oct1-08 07:16 PM mgb_phys 1 1,317 will this short post attempt get the page not found error? EDIT: thread created to investigate forum issue... Sep30-08 11:06 PM Peeter 0 811 can one write a javascript bookmark that will print a single unicode character (like a smiley face or a math symbol)... Sep30-08 09:00 PM granpa 2 2,167 I am trying to write a fortran program to take an integer n and print out the first n rows of Pascal's triangle. The... Sep30-08 03:08 PM jtbell 2 2,492 I'm doing an excerise to make factions, but I need to simulate a \frac{}{} command. To display numbers in faction... Sep30-08 05:09 AM Borek 7 6,484 Okay so I got the majority of my program complete, however when I try to run it it doesnt display the proper value of... Sep29-08 04:24 PM OrbitalPower 6 4,941 Hi All. I am trying to rewrite a program that i have in matlab to one in fortran. as i chug along, i am comparing the... Sep29-08 02:44 PM Moly 2 729 I am wondering how the man that invented FORTRAN did so. More precisely : It is not really the language that he... Sep28-08 11:51 AM fluidistic 5 1,130 What is "vectorized computer code"? Sep27-08 10:11 PM rcgldr 2 1,084 Does anybody know where i can get info on generating random binary trees? I've been checking a lot of publications and... Sep27-08 01:48 PM shoehorn 5 5,343 This is a repost of an old thread, maybe some new members can give it a shot. This puzzle was included at the start of... Sep27-08 09:44 AM Bill_B 10 1,502 I've recently switched over from the SilverFrost (Salford) FTN95 compiler to the open source g95 compliler. So far... Sep27-08 04:40 AM uart 0 2,035 I'm just a very beginner when it comes to program and I have a question. I've read that some (old) chess engines are... Sep27-08 04:17 AM uart 14 3,094 Hi. Recently I wanted to take a look at Fortran so downloaded the Silverfrost (formerly known as Salford) Fortran95... Sep27-08 04:15 AM uart 5 3,066