First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
counting how many positive integers <n have digits that add upto m
superpollo wrote: in python: def prttn(m, n): tot = 0 for i in range(n): s = str(i) sum = 0 for j in range(len(s)): sum += int(s[j]) if sum == m: tot += 1 return tot any suggestion for improvement? ... 23 May 2010 17:56
WinMenus version 1.0 ...
Hello, Author: Amine Moulay Ramdane Description: Drop-Down Menu widget using the Object Pascal CRT unit. Please look at the test.pas example inside the zip file. Use the 'Delete' on the keyboard to delete the items Use the 'Insert' on the keyboard to insert the items and use the 'Up' and 'Down' and... 24 May 2010 12:20
counting how many positive integers <n have digits that add up tom
in python: def prttn(m, n): tot = 0 for i in range(n): s = str(i) sum = 0 for j in range(len(s)): sum += int(s[j]) if sum == m: tot += 1 return tot any suggestion for improvement? bye ... 22 May 2010 21:26
KOBWEB JAVA
To all BEGINER PROGRAMMERS please visit KOBWEB JAVA.. the group is aimed at teaching beginner programmer basic programming concepts to advanced programming skills. The unit will be activated soon during 29-05-2010 this year. The group will kick off with two major online tutorials that will be tested in the second w... 18 May 2010 14:46
Calculations in a loop
Hello folks, I have the following pseudo code: #define MY_DEF 10 void my_func(void) { int i, loopcount = 0, offset = 6; for (i = 0; i< ((MY_DEF-offset)/2); i++) { loopcount++; } printf("loopcount=%d\n",loopcount); } The above code, instead of printing loopcount=2 prints loopcount=1; If I ... 20 May 2010 12:46
IDE for C with good context sensitive help
Hi, Sorry about the cross posting. I used to write utilities with Turbo C and Borland C++ Builder in the early 1990. I retired at 65 a few month ago and want to rewrite some of utilities and other items to run on 64bit Linux. To my surprise, I can not finds a IDE with a context senitive help system like tha... 26 May 2010 10:14
CFP: Seventh Workshop on Constraint Handling Rules (Call for Participation)
CALL FOR PARTICIPATION CHR 2010 7th International Workshop on Constraint Handling Rules associated with ICLP 2010 (part of FLoC 2010) Edinburgh, Scotland, 20 July 2010 ht... 17 May 2010 08:00
Call for papers: SETP-10, USA, July 2010
It would be highly appreciated if you could share this announcement with your colleagues, students and individuals whose research is in software engineering, software testing, software quality assurance, software design and related areas. Call for papers: SETP-10, USA, July 2010 The 2010 International Conferen... 16 May 2010 20:07
ANN: Seed7 Release 2010-05-16
Hello, I have released a new version of Seed7: seed7_05_20100516.tgz In the Seed7 programming language new statements and operators can be declared easily. Types are first class objects and therefore templates/generics need no special syntax. Object orientation is used when it brings advantages and not in plac... 16 May 2010 16:49
quick way to delete files
Does anyone know of a quick way I can delete files from a list? I untarball'd my gcc and directed stdout to a list. Can I make a few changes in bash, C, or perl to erase the files listed? Bill ... 19 May 2010 18:14
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19