- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 8
- Posts with Upvotes
- 8
- Upvoting Members
- 7
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Student
- Interests
- Robotics, C++, Gaming, Tennis
Re: Extra Terrestrial | |
Re: Live life as if you are going to die tommorrow and learn as if you are going to live forever. | |
Re: Here is a nice tutorial I found for MASM 16 bit [URL]http://www.xs4all.nl/~smit/asm01001.htm[/URL] | |
Re: I usually initialize by using srand() function [CODE=c++]srand ( time(NULL) ); [/CODE] time() is in the header <ctime> or <time.h> i am not very sure. To generate random numbers from 0-50 use the % operator [CODE=C++]int random_numer= rand()%50;[/CODE] | |
Re: I dont know how I missed this thread, but here is an interesting article I came across some days back [url]http://www.nytimes.com/2008/03/29/science/29collider.html?pagewanted=1[/url] | |
Re: @Deepak Do not give away the solution. Read the last point of this link [url]http://www.daniweb.com/forums/thread78223.html[/url] Also posting C code in C++ forum is not a good idea that too without code tags. | |
Re: The only songs that make me angry are the ones people play at middle of the night at high volume. | |
Re: Number of colums in the first matrix have to be equal to the number of rows in the second one. If you have only a row or a column matrix i.e. two arrays, their lengths have to be equal in order for the multiplication to take place. | |
Re: There is a strrev() function in string.h for char array. I dont know enough to help you with your code but I suggest you to follow a different method for checking palindrome in a string. Instead of checking a string with a reverse string, make two pointers one at the … | |
Re: >>Is the world becoming a Panopticon? Maybe Europe or North America, but definitely not the world. The first step here would be to install functioning traffic lights. Cameras come after that. | |
Re: This question has been asked a million times on this site. Try searching for a change. Your project starts from deciding a project not just by simply coding it. Deciding a project involves lots of parameters to be taken into consideration such as feasibility, cost, difficulty, application etc and usually … | |
Re: I dont know if it can be classified as anime or not, but I like Avatar. | |
Re: inport() and outport() functions do work if you have opened the port. I use a software called Userport to do the same. Alternatively you could try inportb() and outportb(). Here is a tutorial on parallel port programming in C [URL="http://electrosofts.com/parallel/index.html"]Parallel port tutorial[/URL] | |
Re: Why would anyone here be interested in reading your report? Its your report that means that you have to do it. Asking for help is one thing but asking others to do your work is wrong. | |
Re: Stop begging for code. Do your own work and read this thread [url]http://www.daniweb.com/forums/announcement8-2.html[/url] | |
Re: Okay here is the pseudo code for hcf, credit to Euclid. [CODE] gcd(m,n) r<-(m MOD n); if r=0 then { return n } else { m<-n n<-r gcd(m,n) } [/CODE] Sorry if my pseudocode is not as per standard. | |
Re: The best part about Microsoft's OS is that they keep posting updates. Though I dont know much about vista but XP has proven to be very reliable for me. Lets see what SP3 brings us. | |
Re: One way to go about it would be to add counters for each datatype. Initialize the counters to the number of static declarations of the datatype and increment them by one whenever memory for that datatype is allocated dynamically. In the end you can multiply the counters to the size … | |
Re: I remember reading that an Indian gave such people 5 Lack rupees ( approx 12500 USD). The scammers were eventually caught but the guy's money was never recovered. | |
Re: [QUOTE=coolraj003;588434]One of the hackers used a whistle that came with a cereal box to make some long distance calls or something as the whistle made the exact same frequency noise as the phone company's voice modem would, he did end up in jail i think, or did he end up … | |
Re: [QUOTE=Ancient Dragon;623345]I'm 75% certain that I will vote for Obama. I don't want someone who is 7 years older than I am to be President. He needs to be in a nursing home, not the white house. Even French President Charic was only 62 when he was first elected as … | |
Re: If you started from a point, went 10km north then 10km west and finally 10km south and end up at the same point, where would you be? | |
Re: Though pisses would be a pretty strong word, here are the things that bug me 1. Small quick reply box 2. leet speak 3. People dumping thousand lines of code | |
| |
Re: I prefer to eat while coding. I usually have a pack of chips or peanuts with me. Often some juice or cold drink also helps. |