Help me to porting small code C > Blitzmax
Übersicht
BlitzMax, BlitzMax NG
Beginners-Corner
SsolidThinkKBetreff: Help me to porting small code C > Blitzmax |
Antworten mit Zitat |
|
|---|---|---|
|
Hello,
Sorry for write in bad english, i want porting this C code in Blitzmax code, help me...please Code: [AUSKLAPPEN] double ts[SIZE], A[SIZE], B[SIZE], P[SIZE]; main() { int i, k, p, N, L; double avg, y, sum, psmax; /* read in and scale data points */ i = 0; while(scanf("%lf", &y) != EOF) { ts[i] = y/1000.0; i += 1; } /* get rid of last point and make sure # of data points is even */ if((i%2) == 0) i -= 2; else i -= 1; L = i; N = L/2; thank you |
||
|
|
ComNik |
Antworten mit Zitat |
|---|---|---|
BlitzMax: [AUSKLAPPEN]
But i looks like the code is not complete. I highly recommend reading that: http://www.2dgamecreators.com/blitzmax/resources/ So far... |
||
| WIP: Vorx.Engine | ||
Dreamora |
Antworten mit Zitat |
|
|---|---|---|
|
Please post english questions on the regular Blitz boards (http://www.blitzbasic.com).
Postings made here are expected to be in german (not bablefish / google translator german but native german) |
||
| Ihr findet die aktuellen Projekte unter Gayasoft und könnt mich unter @gayasoft auf Twitter erreichen. | ||
SsolidThinkK |
Antworten mit Zitat |
|
|---|---|---|
|
ComNik hat Folgendes geschrieben: BlitzMax: [AUSKLAPPEN]
But i looks like the code is not complete. I highly recommend reading that: http://www.2dgamecreators.com/blitzmax/resources/ So far... thank you for your kind reply. |
||
Übersicht
BlitzMax, BlitzMax NG
Beginners-Corner
Powered by phpBB © 2001 - 2006, phpBB Group
