I have about 54 errors and I have no idea why. I've been looking through it and I see nothing whenever I change anything, more errors that are related to previous

1>------ Build started: Project: TESTERPROJ, Configuration: Debug Win32 ------
1> blank.c
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(33): error C2122: 'long' : prototype parameter in name list illegal
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(34): error C2122: 'int' : prototype parameter in name list illegal
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(34): error C2122: 'long' : prototype parameter in name list illegal
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(145): warning C4305: 'initializing' : truncation from 'int' to 'char'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(146): error C2065: 'Cust' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(146): error C2146: syntax error : missing ';' before identifier 'newC'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(146): error C2065: 'newC' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(146): error C2059: syntax error : ']'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(147): error C2065: 'Ani' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(147): error C2146: syntax error : missing ';' before identifier 'newA'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(147): error C2065: 'newA' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(147): error C2059: syntax error : ']'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(152): error C2065: 'newC' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(152): error C2109: subscript requires array or pointer type
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(156): error C2065: 'newC' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(156): error C2109: subscript requires array or pointer type
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(158): error C2065: 'newC' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(158): error C2109: subscript requires array or pointer type
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(161): error C2065: 'newC' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(161): error C2109: subscript requires array or pointer type
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(161): error C2198: 'gets' : too few arguments for call
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(163): error C2065: 'newC' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(166): error C2065: 'newC' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(166): error C2109: subscript requires array or pointer type
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(166): error C2198: 'gets' : too few arguments for call
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(170): error C2065: 'newC' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(175): warning C4047: 'function' : 'char' differs in levels of indirection from 'char [1]'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(175): warning C4024: 'yesOrNo' : different types for formal and actual parameter 1
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(178): error C2065: 'newC' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(178): error C2065: 'newA' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(181): error C2146: syntax error : missing ')' before identifier 'newC'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(181): error C2061: syntax error : identifier 'newC'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(181): error C2059: syntax error : ';'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(181): error C3409: empty attribute block is not allowed
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(181): error C2059: syntax error : ','
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(181): error C2059: syntax error : ')'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(229): error C2146: syntax error : missing ')' before identifier 'newC'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(229): error C2061: syntax error : identifier 'newC'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(229): error C2059: syntax error : ';'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(229): error C3409: empty attribute block is not allowed
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(229): error C2059: syntax error : ')'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(230): error C2059: syntax error : '{'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(253): error C2065: 'Cust' : undeclared identifier
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(253): error C2146: syntax error : missing ';' before identifier 'search'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(253): warning C4550: expression evaluates to a function which is missing an argument list
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(271): warning C4028: formal parameter 1 different from declaration
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(317): error C2146: syntax error : missing ')' before identifier 'newC'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(317): error C2061: syntax error : identifier 'newC'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(317): error C2059: syntax error : ';'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(317): error C3409: empty attribute block is not allowed
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(317): error C2059: syntax error : ','
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(317): error C2059: syntax error : ')'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(330): error C2146: syntax error : missing ')' before identifier 'newC'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(330): error C2081: 'Cust' : name in formal parameter list illegal
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(330): error C2061: syntax error : identifier 'newC'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(330): error C2059: syntax error : ';'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(330): error C3409: empty attribute block is not allowed
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(330): error C2059: syntax error : ')'
1>c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(331): error C2059: syntax error : '{'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

HELP?

This
c:\users\pauline medwinter\documents\visual studio 2012\projects\testerproj\testerproj\blank.c(33): tells you that the problem is on line 33 of the file named blank.c (or just before it).

We are not psychic. If you show us the code, we can tell you what's wrong with it. I'd guess you've got a semi-colon where you shouldn't have one. Probably on the first line of the function definiton, where it should not be.

Edited 3 Years Ago by Moschops

I was going to post it but I thought it was too long and posted the output instead

Now that you know that problem starts on or shortly before line 33, you could post, for example, lines 20 to 40 of the file blank.c

Edited 3 Years Ago by Moschops

This article has been dead for over six months. Start a new discussion instead.