Forum: C Nov 9th, 2008 |
| Replies: 2 Views: 466 Some C compiler will give you a warning when your main function does not return an integer.
In this case, do the following changes to the main function:
int main()
{
......
......
return... |
Forum: C Nov 6th, 2008 |
| Replies: 1 Views: 312 Seeing you have made some efforts in coding it yourself, I will take the trouble to go through your long post.
Here are the problems:
1. Initialize all your marks and counters when you declare... |
Forum: C Oct 10th, 2008 |
| Replies: 7 Views: 788 First parameter is wrong. Use char* instead of char. Are you going to change the value of those variables inside the function? If so, pass pointers or reference, else you can simply pass by values. |
Forum: C Oct 8th, 2008 |
| Replies: 6 Views: 619 What language you use? What's your level of proficiency? And how much time you have? |
Forum: C Oct 3rd, 2008 |
| Replies: 8 Views: 2,160 When you are using the printf function:
printf("%s", a);
The function is treating variable "a" as a pointer to the beginning of a stream of characters. However, it doesn't have the... |