pseudo code:
...
for
read next element sp of RS.
...
Then instruction:
The remainder of the program executes a loop, one iteration per element in the reference string RS
Type: Posts; User: chocolatecake
pseudo code:
...
for
read next element sp of RS.
...
Then instruction:
The remainder of the program executes a loop, one iteration per element in the reference string RS
What's a reference string?
A string is a sequence of characters.
A reference string is a string that points to something?
It can point to anything?
I got it.
I have to put the recursiveFCT outside of main.
I keep forgetting simple stuff.
more concise code.
#include <stdio.h>
void recursiveFunction(int position, int nodesTrav[20],int cost,int complete);
THis is a long peice of code.
I colored the important parts in red.
I get the error: undefined reference to `recursiveFunction'
Please don't try to understand what that code does because I am...
Sorry, I got it, I misspelled it.
Shame on me.
Hi
I am writing a function. I am not calling it yet.
main()
{
//stuff
Thank you very much.
So how do I convert char a to a string???
int i;
char a;
FILE *input = fopen( "a.c", "r" );
for(i = 0; i < 1000; i++){
if (( a = getc(input)) == '2')
i = (int)atoi(a);
printf("%d",i);
}