You have not used the for loop correctly in the function main()
Read the following code
#include "stdio.h"
#include <stdlib.h>
int parseP(const char*,float*);
int main()// int argc,char...
Type: Posts; User: Hrishikesh
You have not used the for loop correctly in the function main()
Read the following code
#include "stdio.h"
#include <stdlib.h>
int parseP(const char*,float*);
int main()// int argc,char...
zcrself 12-28-2009 12:45 PM
why no print?
train.h
Code:
//PARSEPARA:parse para by step by step
int parseP(const char *a,float *p)
{
float start,end,step;
int pCount = 0;
Hello !
Try this technique. It works and fulfills your requirement
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main () {
int x = 0 ;
int cnt;
The code is correct and executes properly. No errors are reported as suggested by you