p1a.c: In function `main':
p1a.c:20: parse error before `char'
p1a.c:46: parse error before `char'
p1a.c:47: `result' undeclared (first use in this function)
p1a.c:47: (Each undeclared identifier is reported only once
p1a.c:47: for each function it appears in.)
p1a.c:47: `basechars' undeclared (first use in this function)
Kombat
0
Light Poster
Recommended Answers
Jump to PostStandard C doesn't allow you to declare variables in the middle of statement blocks.
All 2 Replies
Salem
5,138
Posting Sage
jephthah
commented:
that's like almost psychic :icon_eek:
+5
Kombat
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.