Search Results

Showing results 1 to 18 of 18
Search took 0.05 seconds.
Search: Posts Made By: joshmo ; Forum: C and child forums
Forum: C Oct 21st, 2008
Replies: 6
Views: 535
Posted By joshmo
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
Posted By joshmo
>>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
Posted By joshmo
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
Posted By joshmo
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
Posted By joshmo
Forum: C Jun 5th, 2008
Replies: 4
Views: 782
Posted By joshmo
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
Posted By joshmo
and what is that problem...post your code with the error your getting
Forum: C May 19th, 2008
Replies: 8
Views: 2,095
Posted By joshmo
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
Posted By joshmo
try this

int num = getchar();
Forum: C Mar 3rd, 2008
Replies: 2
Views: 499
Posted By joshmo
thanx...goin to try it out..
Forum: C Mar 3rd, 2008
Replies: 2
Views: 499
Posted By joshmo
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
Posted By joshmo
thanx alot guys
Forum: C Feb 29th, 2008
Replies: 6
Views: 788
Posted By joshmo
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
Posted By joshmo
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
Posted By joshmo
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
Posted By joshmo
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
Posted By joshmo
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
Posted By joshmo
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...
Showing results 1 to 18 of 18

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC