| | |
C program needed...URGENT !!!!!
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Feb 2009
Posts: 2
Reputation:
Solved Threads: 0
Hello everybody, I need your help for my C project.....
The details of the program is given below :----
1) The input of the program will be another C program, and that is from a file.....( Please note this carefully)
2) You have to check the syntax of the code , i.e , whether " ," ";" are placed properly or not.....
3) You have to check whether the variables are properly declared or not....
4) Have to check the functions.....
So, if anyone of you can help me out of this trouble , I will be very grateful to him/her............
The details of the program is given below :----
1) The input of the program will be another C program, and that is from a file.....( Please note this carefully)
2) You have to check the syntax of the code , i.e , whether " ," ";" are placed properly or not.....
3) You have to check whether the variables are properly declared or not....
4) Have to check the functions.....
So, if anyone of you can help me out of this trouble , I will be very grateful to him/her............
We only give homework help to those who show effort
Are these just empty words to you, or are you someone special deserving of free homework, where everyone else has to do it themselves?
Nor is it urgent (least not to anyone else)
http://www.catb.org/~esr/faqs/smart-...ns.html#urgent
Are these just empty words to you, or are you someone special deserving of free homework, where everyone else has to do it themselves?
Nor is it urgent (least not to anyone else)
http://www.catb.org/~esr/faqs/smart-...ns.html#urgent
•
•
Join Date: Feb 2009
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
We only give homework help to those who show effort
Are these just empty words to you, or are you someone special deserving of free homework, where everyone else has to do it themselves?
Nor is it urgent (least not to anyone else)
http://www.catb.org/~esr/faqs/smart-...ns.html#urgent
But, tell me one thing how can I prove that I my willingness ?
Last edited by shou2009; Jul 26th, 2009 at 10:32 am.
Use lex , yacc , bison, etc. it is not that difficult , give it a try.
Last edited by ithelp; Jul 27th, 2009 at 7:46 am.
Load the file into memory. Scan the file for 1 type of error, print errors to the screen and scan for another type of error. Continue the process for each type of error. Making a perfect one would be vary hard, but if you only need to check for a few specific errors, it would be easy. For example, assuming that there is a new line after each semicolon except for lines that start with "#" would be easer than trying to find when a line is suppost to end.
Good luck.
Good luck.
Last edited by Hiroshe; Jul 27th, 2009 at 10:24 am.
"Sometimes, when I lie in bed at night and look up at the stars, I think to myself, "Man! I really need to fix that roof."-Jack Handy
![]() |
Similar Threads
- Program help needed (Java)
- Program Help Needed (Java)
- How to Set permissions: e.g chmod 755 on FTP Program (Windows Software)
- c++ program help pls.... urgent (C++)
- help needed in assigning values.. (C)
- Linker Error when program is run (Urgent help required Please") (C++)
- is there a program where there is only 32k in the main memory. (C++)
- All .exe files need another program to open them??!! (Windows 95 / 98 / Me)
- how can i make the program depend on time (C)
Other Threads in the C Forum
- Previous Thread: HELP
- Next Thread: SHA-1 in C
| Thread Tools | Search this Thread |
Tag cloud for C
#include * append array arrays asterisks binarysearch calculate changingto char character cm command copyimagefile cprogramme creafecopyofanytypeoffileinc database directory dynamic execv feet fgets file fork forloop framework function functions givemetehcodez grade graphics gtkwinlinux hacking histogram homework include incrementoperators input intmain() iso kernel keyboard km lazy license linked linkedlist linux list lists locate logical_drives looping loopinsideloop. lowest matrix microsoft motherboard mqqueue number oddnumber odf opensource overwrite owf pdf performance pointer posix problem probleminc process program programming radix recursion recv recvblocked research reversing scanf scripting segmentationfault sequential socket socketprograming spoonfeeding standard string student systemcall testing threads turboc unix user variable wab whythiscodecausesegmentationfault windowsapi






