| | |
(C) have 2 parse errors (help)
![]() |
•
•
Join Date: Dec 2005
Posts: 16
Reputation:
Solved Threads: 1
here is my problem
main.c:17: error: parse error before '{' token
main.c:27: error: parse error before string constant
a quick reply to the problem would be helpfull
main.c:17: error: parse error before '{' token
main.c:27: error: parse error before string constant
C Syntax (Toggle Plain Text)
#include <stdio.h> #include <c.h> #include <math.h> #include <ctype.h> #include <time.h> #include <stdlib.h> #include <string.h> #define kmll 200 #define Kzll 0 int myint,any,go; int main (int argc, const char * argv[]) { (myint, any, go) = 0 ; // here parse error do printf(" helo guys plese incert a number") { if any = 0 { scanf("%c %c",myint,any); else printf(" next code"); } // here parse error printf(" %d + %d = %d ", myint, any,(any + myint)); else printf(" uno"); return 0; }
a quick reply to the problem would be helpfull
•
•
Join Date: Dec 2005
Posts: 16
Reputation:
Solved Threads: 1
still doesent work please help
C Syntax (Toggle Plain Text)
#include <stdio.h> #include <c.h> #include <math.h> #include <ctype.h> #include <time.h> #include <stdlib.h> #include <string.h> #define kmll 200 #define Kzll 0 int myint,any,go; int main (int argc, const char * argv[]) { (myint, any, go) == 0 ; // stupid error is some where under here ( parse error befor '{' token ) //help it should work but doesent /*dang it */ do printf(" helo guys plese incert a number "); { while any = 0 { scanf("%c %c",myint,any); else printf(" next code"); } // here 2 im in need of help (parse error befor string constant) // i don't see the problem help me printf(" %d + %d == %d ", myint, any,(any + myint)); else printf(" uno"); } return 0; }
![]() |
Similar Threads
- help implementing singly linked list (C++)
- find the parse error (PHP)
- vBulletin mod_rewrite (PHP)
- parse error difficulties (PHP)
- Form not working, getting parse errors... (PHP)
Other Threads in the C Forum
- Previous Thread: Converting a set of numbers seperated by commas...HELP!!!
- Next Thread: Problem converting to a double
| Thread Tools | Search this Thread |
* ansi api array arrays bash binarysearch calculate centimeter changingto char character convert copyanyfile copypdffile createcopyoffile createprocess() directory dynamic execv fflush file floatingpointvalidation fork forloop frequency function getlasterror getlogicaldrivestrin givemetehcodez grade graphics gtkgcurlcompiling gtkwinlinux hardware highest histogram homework i/o ide inches include infiniteloop initialization input intmain() iso keyboard km license linked linkedlist linux list looping loopinsideloop. lowest matrix microsoft mysql oddnumber open opendocumentformat openwebfoundation pdf pointer pointers posix power program programming pyramidusingturboccodes read recursion recv recvblocked repetition reversing scanf scheduling segmentationfault send shape single socketprogramming stack standard strchr string suggestions test threads unix urboc user variable whythiscodecausesegmentationfault win32api windows.h windowsapi





