Forum: C 13 Days Ago |
| Replies: 8 Views: 379 Hi,
i have done serial and parallel port interfacing in past and i can understand at the start it looks very hard. However your approach to the problem is right and the compiler which might do... |
Forum: C Jul 9th, 2008 |
| Replies: 16 Views: 5,528 |
Forum: C Jul 9th, 2008 |
| Replies: 16 Views: 5,528 Makes sense,
thanks Salem ;) |
Forum: C Jul 9th, 2008 |
| Replies: 16 Views: 5,528 lol,
I am not a Software engineer but i am an electronic engineer. I have done C++ and i am a Java addict. i know other languages too. But my point is , i am not doing anything wrong by putting... |
Forum: C Jul 9th, 2008 |
| Replies: 16 Views: 5,528 -> NOT using int main() == not good
i agree
BUT
#include<stdio.h>
int main()
{
printf("\nHello World!"); |
Forum: C Jul 9th, 2008 |
| Replies: 16 Views: 5,528 #include<stdio.h>
int main ()
{
char x;
printf("\nEnter a Character : ");
x = getchar();
printf("\nThe ASCII for Char is: %d",x);
return 0;/*** was avoiding this line ****/... |
Forum: C Jul 9th, 2008 |
| Replies: 16 Views: 5,528 #include<stdio.h>
void main (void)
{
char x;
printf("\nEnter a Character : ");
x = getchar();
printf("\nThe ASCII for Char is: %d",x);
} |
Forum: C Jun 19th, 2008 |
| Replies: 5 Views: 1,619 ok i understood , what is strtok is exactly doing , your method is right , abt having two pointers. Thanks for help :) |
Forum: C Jun 19th, 2008 |
| Replies: 5 Views: 1,619 hi ,
i have worked out the code and it works quite well, but i am not using strtok, so still not satisfied here is the code :
#include <stdio.h>
#include<string.h>
#include<stdlib.h>
... |
Forum: C Jun 19th, 2008 |
| Replies: 5 Views: 1,619 ok that makes sense , but i would like some infromation on strtok, i have searched on web and found some material but i cant figure out whether it can be applied to my case or not, link is :
... |
Forum: C Jun 18th, 2008 |
| Replies: 5 Views: 1,619 Hi,
i am little confused in usage of strtok() syntax. Basically , i extracted the source code of a webpage using Java and now i have to remove all the extra tags inside the html page so i can... |