Forum: C Oct 21st, 2008 |
| Replies: 6 Views: 535 a return statement must be accompanied by what a function returns. Void functions dont return values and you need to indent your code as well as using braces |
Forum: C Jul 30th, 2008 |
| Replies: 5 Views: 1,700 >>don't use GetLine(), use something like scanf()
Why dont you elaborate more on why he shouldnt use getline(). I believe even if he followed your advice and changed getline() to scanf() he... |
Forum: C Jul 24th, 2008 |
| Replies: 15 Views: 1,410 There could be a possibility that if "GetInteger" is a function it is not of integer type. Otherwise if "GetInteger" is not a function then it is not declared :) |
Forum: C Jun 21st, 2008 |
| Replies: 2 Views: 550 And what seems to be the problem? You should post a little code so we can help you out where you get the problem. No one is going to do your work for you. |
Forum: C Jun 20th, 2008 |
| Replies: 8 Views: 767 wow....what a way to ask for help!! |
Forum: C Jun 5th, 2008 |
| Replies: 4 Views: 782 firstly, this is C and not C++, second use code tags...i can see you declared variable n as integer but then you are reading it as float....also, case x?? what are you trying to do |
Forum: C May 30th, 2008 |
| Replies: 1 Views: 1,043 and what is that problem...post your code with the error your getting |
Forum: C May 19th, 2008 |
| Replies: 8 Views: 2,095 show us what you have done and where you are get your problem and you will get some help |
Forum: C May 1st, 2008 |
| Replies: 10 Views: 1,125 try this
int num = getchar(); |
Forum: C Mar 3rd, 2008 |
| Replies: 2 Views: 499 thanx...goin to try it out.. |
Forum: C Mar 3rd, 2008 |
| Replies: 2 Views: 499 am trying to write a simple server program that prompts the user for an ISBN number or an author. it should check if the number is a valid number i.e if the number is 4 digits...it should also check... |
Forum: C Mar 1st, 2008 |
| Replies: 6 Views: 788 |
Forum: C Feb 29th, 2008 |
| Replies: 6 Views: 788 the program pompts the user for a pathname and an argument... there is a main program that does the display of the argument..after the user enters the pathname and argument, the program then displays... |
Forum: C Feb 29th, 2008 |
| Replies: 6 Views: 788 hey...can anyone show me what am doin wrong here?? cant get this program to loop till the user enters a character other than "y"....it prompts the first time and its a succes. prompts the second time... |
Forum: C Feb 26th, 2008 |
| Replies: 9 Views: 761 why are u sticking so much to using if statements?? you will come across the loop sonner or later if you are trying to avoid it...try studying it..it shouldnt be hard to get the concepts and once... |
Forum: C Feb 26th, 2008 |
| Replies: 9 Views: 761 i think the only way you can do this is by looping...well that is wat i can only think of since you want the program to run atleast 5 times...it doesnt matter if you have covered the looping or not... |
Forum: C Feb 26th, 2008 |
| Replies: 2 Views: 1,458 thanx for that...hadnt noticed it....i now need the code to loop. it prompts the user the first time and on the second prompt it doesnt take any input it just waits for a unix command..here is the... |
Forum: C Feb 25th, 2008 |
| Replies: 2 Views: 1,458 can anyone help me with my code. i am trying to make the exec read input from the keyboard but i have no idea how to start. the code works if the path and the file names are already there..here is... |