Forum: C 1 Day Ago |
| Replies: 4 Views: 162 Do not use same name as global and local variable. |
Forum: C Nov 8th, 2009 |
| Replies: 5 Views: 256 Not sure whether you can do it , but check stty manual. |
Forum: C Oct 30th, 2009 |
| Replies: 2 Views: 183 Read it in a double character array. |
Forum: C Oct 28th, 2009 |
| Replies: 4 Views: 224 Use a for loop and modulus operator. |
Forum: C Oct 28th, 2009 |
| Replies: 4 Views: 241 Can you calculate sum of 20 integers manually ? if no first , you may first try that. |
Forum: C Oct 28th, 2009 |
| Replies: 4 Views: 224 Use a for loop and modulus operator. |
Forum: C Oct 15th, 2009 |
| Replies: 11 Views: 1,898 No we cannot give you the code. |
Forum: C Oct 14th, 2009 |
| Replies: 4 Views: 330 What is the prize for doing your homework ? |
Forum: C Sep 10th, 2009 |
| Replies: 2 Views: 416 There is no need to convert by default unsigned char will be promoted to unsigned int . |
Forum: C Aug 28th, 2009 |
| Replies: 8 Views: 497 You may not pass this time , good luck next time. |
Forum: C Aug 24th, 2009 |
| Replies: 6 Views: 416 Calculator requires a stack not a queue . |
Forum: C Aug 24th, 2009 |
| Replies: 4 Views: 296 Move the fork outside any if . |
Forum: C Aug 7th, 2009 |
| Replies: 21 Views: 936 Something like
do {
/* your code here */
} while (condition) |
Forum: C Aug 6th, 2009 |
| Replies: 7 Views: 382 Search for C programming interview question and answer , if the interviewer is as lazy as you are , he may also ask the questions from some job interview question and answer website. |
Forum: C Aug 5th, 2009 |
| Replies: 13 Views: 691 You took a wrong example
a + b + c will be interpreted as (a+b) +c if left to right associativity is assumed. |
Forum: C Jul 29th, 2009 |
| Replies: 12 Views: 492 |
Forum: C Jul 27th, 2009 |
| Replies: 6 Views: 340 You need to check device driver apis for your cd rom. |
Forum: C Jul 27th, 2009 |
| Replies: 13 Views: 696 Use lex , yacc , bison, etc. it is not that difficult , give it a try. |
Forum: C Jul 17th, 2009 |
| Replies: 4 Views: 326 |
Forum: C Jun 1st, 2009 |
| Replies: 8 Views: 420 In prt_even_odd can you not do away with the extra variable ? |
Forum: C Jun 1st, 2009 |
| Replies: 8 Views: 614 The title should have been "if you want to do something in life then do my homework for free , god will bless you and you will go to heaven. " |
Forum: C May 25th, 2009 |
| Replies: 6 Views: 326 rand generates an integer but you need a float random number. |
Forum: C May 22nd, 2009 |
| Replies: 5 Views: 465 In C map, set ,etc are not defined. |
Forum: C Apr 20th, 2009 |
| Replies: 3 Views: 381 which can pick up executable if it is available in PATH
like
int execv(const char *path, char *const argv[]);
I do not want to specify full path , I want it to search in my PATH and execute . |
Forum: C Apr 14th, 2009 |
| Replies: 1 Views: 175 You can keep all servers ip addresses in a config file , you can then ping them one by one. |
Forum: C Mar 31st, 2009 |
| Replies: 2 Views: 758 man exec , execve , fork ,etc. |
Forum: C Mar 26th, 2009 |
| Replies: 10 Views: 745 Just take a real life scenario(e.g. library, ticket booking, hospital) and simulate in your software project assignment. |
Forum: C Mar 19th, 2009 |
| Replies: 2 Views: 226 Is it filling the bucket ? what problems are you facing ? |
Forum: C Feb 24th, 2009 |
| Replies: 15 Views: 1,052 You can use lex and yacc. |
Forum: C Feb 13th, 2009 |
| Replies: 6 Views: 992 #pragma extern_prefix (push, "")
#pragma extern_prefix (pop) worked , marking it as solved. |
Forum: C Feb 12th, 2009 |
| Replies: 6 Views: 992 Hi C experts,
In my code I have got
#pragma extern_prefix (push, "");
Some extern function declarations
#pragma extern_prefix (pop, "");
So that compiler does not prepend anything to those... |
Forum: C Jan 21st, 2009 |
| Replies: 20 Views: 1,207 after first for loop u need to initialize total. |
Forum: C Jan 18th, 2009 |
| Replies: 6 Views: 778 That is lot of homework , are you not planing to join software industry after completing your degree , if yes do not expect others to code for you. |
Forum: C Dec 29th, 2008 |
| Replies: 3 Views: 423 Yes , replace that piece of code with direct assembly code |
Forum: C Dec 11th, 2008 |
| Replies: 5 Views: 463 Kilometer should be float as well. |
Forum: C Nov 26th, 2008 |
| Replies: 7 Views: 473 The function largest has got bunch of syntax errors . |
Forum: C Nov 24th, 2008 |
| Replies: 2 Views: 350 Exam consists of exam papers , students , teachers , marks . Just write down how it works story first. |
Forum: C Nov 24th, 2008 |
| Replies: 4 Views: 593 If you do not know the algo used to encrypt the file , you cannot decrypt it, it could be also illegal. |
Forum: C Nov 24th, 2008 |
| Replies: 1 Views: 833 |