Showing results 1 to 6 of 6
Search took 0.01 seconds.
Posts Made By: woozy
Forum: C Feb 2nd, 2008
Replies: 2
Views: 1,465
Posted By woozy
How Do You Repeat A Loop

Say I have an infinite loop, and I want to start over or terminate depending on what user inputs.


while( 1 ) // start the inifite loop
{
printf( "Enter your number: " ); // prompt
scanf( "%d",...
Forum: C Oct 21st, 2007
Replies: 7
Views: 1,218
Posted By woozy
Re: Solution to my lexicographical sorting problem

I see. I thought by not using the input pointers directly can prevent all the possibilities of modifying them.
Forum: C Oct 21st, 2007
Replies: 7
Views: 1,218
Posted By woozy
Solution to my lexicographical sorting problem

My problem was over here: http://www.daniweb.com/forums/thread93806.html

After many advices, helps, I could eventually solve this problem myself, happy~~:D

All I did was to write a replacement...
Forum: C Oct 21st, 2007
Replies: 5
Views: 1,734
Posted By woozy
Re: Sort strings in lexicographical order but not to use built-in string functions

Hi iamthwee,

However, I solved the problem myself: http://www.daniweb.com/forums/post455234.html

The reason why I registered both forums is because I want to get as many thoughts as...
Forum: C Oct 21st, 2007
Replies: 5
Views: 1,734
Posted By woozy
Forum: C Oct 21st, 2007
Replies: 5
Views: 1,734
Posted By woozy
Question Sort strings in lexicographical order but not to use built-in string functions

Hi,

I want to write a function to perform lexicographical sorting using a simple bubble sort technique. So far I've got the basic code running, but something is not right. I can tell the algorithm...
Showing results 1 to 6 of 6

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:44 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC