Forum: C Jul 8th, 2009 |
| Replies: 16 Views: 862 Aha, ok i understand now...thx |
Forum: C Jul 8th, 2009 |
| Replies: 16 Views: 862 What...?You're obviously an idiot because you can't make a difference between not knowing some function and not knowing where to find explanation how that function works and what it is used for...As... |
Forum: C Jul 8th, 2009 |
| Replies: 16 Views: 862 You're right..I wasn't familiar with sscanf function...I learnt something new today..:) although I don't understand why did you use IF condition ...? |
Forum: C Jul 8th, 2009 |
| Replies: 16 Views: 862 well i would do something like this:
...// i skipped the beginning of the code: char a etc...
if (a==C){/* a is variable user enters via keyboard(next to which are info you want to extract)*/
... |
Forum: C Jul 7th, 2009 |
| Replies: 5 Views: 339 Yes, you don't need to write a prototype before function in which it is called (usually in main) but it's common to do like this:
-function prototypes
-main
-function definition...
that is... |
Forum: C Jul 6th, 2009 |
| Replies: 7 Views: 339 you can't use *k=10, because pointer points to place in memory...10 doesn't have place in memory its just a number.you need to have variable on which pointer is going to point (which has place in... |
Forum: Visual Basic 4 / 5 / 6 Jul 6th, 2009 |
| Replies: 5 Views: 552 I which language...?I can pots you one solution in c if you want.... |