[QUOTE=itsme86]You could do something like this easily enough:
itsme@dreams:~/C$ cat strtype.c
#include <stdio.h>
typedef char * string;
int main(void)
{
Type: Posts; User: szill
[QUOTE=itsme86]You could do something like this easily enough:
itsme@dreams:~/C$ cat strtype.c
#include <stdio.h>
typedef char * string;
int main(void)
{
Thanks, i will give it a go. Is there a way to define a string as a typedef, and delcare variables as type string?
please advise.
thanks.
szill
I know they are confusing, that's why I asked for help. :)
I searched the boards, they weren't helpful for what I am doing. Could you please post how to define an array of strings, and how to...
What is the proper way to program an array of strings in C (not C++)?
I have a list of first names and I want to store them in an array. A string is an array of chars, so is an array of strings...