Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
7
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
6 Commented Posts
~159.14K People Reached
About Me

Student

Interests
Robotics, C++, Gaming, Tennis

161 Posted Topics

Member Avatar for samaru
Member Avatar for The Dude
Member Avatar for anupam_smart
Member Avatar for debasisdas

Live life as if you are going to die tommorrow and learn as if you are going to live forever.

Member Avatar for James_28
8
17K
Member Avatar for Evenbit

Here is a nice tutorial I found for MASM 16 bit [URL]http://www.xs4all.nl/~smit/asm01001.htm[/URL]

Member Avatar for pbj.codez
3
2K
Member Avatar for bramprakash1989

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]

Member Avatar for dramatic
0
1K
Member Avatar for Lardmeister

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]

Member Avatar for sneekula
2
2K
Member Avatar for savinki

@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.

Member Avatar for Shahzad Ahmad
0
320
Member Avatar for The Dude

The only songs that make me angry are the ones people play at middle of the night at high volume.

Member Avatar for <M/>
0
691
Member Avatar for Cosa

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.

Member Avatar for kabultanha
0
4K
Member Avatar for Lensva

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 …

Member Avatar for rohitvipin
0
2K
Member Avatar for GrimJack

>>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.

Member Avatar for Netcode
0
601
Member Avatar for vmanes
Member Avatar for umermir

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 …

Member Avatar for aman rathi
-2
106
Member Avatar for majestic0110

I dont know if it can be classified as anime or not, but I like Avatar.

Member Avatar for Kusanagi03
0
353
Member Avatar for GMSI

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]

Member Avatar for kings_mitra
-1
555
Member Avatar for lich

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.

Member Avatar for venkat arun
-1
301
Member Avatar for apurva agarwal

Stop begging for code. Do your own work and read this thread [url]http://www.daniweb.com/forums/announcement8-2.html[/url]

Member Avatar for asim88
-1
420
Member Avatar for sailee

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.

Member Avatar for hk<3ob1993
0
195
Member Avatar for newsguy

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.

Member Avatar for antona
0
251
Member Avatar for AlPhA
Member Avatar for sommanatt

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 …

Member Avatar for myle
0
3K
Member Avatar for YoungCoder

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.

Member Avatar for chriswellings
0
708
Member Avatar for coolraj003

[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 …

Member Avatar for ahihihi...
0
1K
Member Avatar for Lardmeister

[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 …

Member Avatar for jbennet
0
3K
Member Avatar for ZZucker

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?

Member Avatar for Lardmeister
0
1K
Member Avatar for Dani

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

Member Avatar for William Hemsworth
0
997
Member Avatar for victornil
Member Avatar for Ken Sharpe
0
338
Member Avatar for lAmoebal
Member Avatar for joshmo

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.

Member Avatar for 0named
0
355
Member Avatar for Muaz AL-Jarhi

Take a good book on computer architecture and start reading, once you have finished a chapter start reading the refrences given at the end of the chapter. Most of them will be papers from IEEE or ACM so you need to find access to them as they are paid (try …

Member Avatar for rgviza
0
115
Member Avatar for sana bangash

>>I wonder why kids are too lazy to even come up with their own project ideas. I think that most of them are not lazy but stuck with the wrong branch. Here in India most of the parents want their kids to do engineering because it is a safe option, …

Member Avatar for hammerhead
0
124
Member Avatar for pcguyuk
Member Avatar for hammerhead
0
64
Member Avatar for daniel88

Some colleges here have open book exams to discourage students from last minute cramming. A person can bring any number of books with him into the examination room. The questions however are such that only a person with complete understanding of the concepts is able to answer. I would suggest …

Member Avatar for hammerhead
0
290
Member Avatar for msupstream
Member Avatar for hoonv11
Member Avatar for Dani

Excellent change Dani, but I cannot see the dropdown for Geeks' Lounge->Posting Games.

Member Avatar for John A
1
279
Member Avatar for wellibedamned

Typecasting worked for me [CODE] if(i % 2 == 0) s -= 1/(float)(i*i); else s += 1/(float)(i*i); [/code]

Member Avatar for wellibedamned
0
113
Member Avatar for Salem

They are pretty much useless if they do nothing else other than to boost up ones 'hard drive' temporarily.

Member Avatar for bumsfeld
0
141
Member Avatar for venkatsvsr

If you can come up with sloutions of problems. If you know for what values will your program fail. If you understand the ethics of coding.

Member Avatar for Narue
0
111
Member Avatar for dan_e6

I dont think your code classifies as recursion. Neither does it satisfy the question [Quote] bool isSorted(nodeType *L) [/quote] This is what I would do to check if a link list is sorted using recursion [CODE=C++] bool sorted(node *curr) { if(curr->next==NULL) { return true; } else if(curr->val>curr->next->val) { return false; …

Member Avatar for n1337
0
466
Member Avatar for tubatsimoloi

Didn't you write any programs in your course? If not, I suggest you start with downloading the compiler and writing a simple "Hello World" program.

Member Avatar for Maulth
0
159
Member Avatar for Brent.tc

>>Especially Peter_budo he is always adding code tags to newbie posts. Depends on the forum you post on. Ancient Dragon and Narue do excellent job on the C++ one.

Member Avatar for Nick Evan
0
226
Member Avatar for The Dude

Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein

Member Avatar for jephthah
0
263
Member Avatar for majestic0110

Spend the day adventure sporting with my friends. [quote] 10 C and I am outside in a t-shirt. [/quote] 40C here and I am burning :(

Member Avatar for sneekula
0
262
Member Avatar for MidiMagic

Have you tried a different browser, I use opera and the scroll bar is distinct from the background.

Member Avatar for jbennet
0
162
Member Avatar for rvelez
Member Avatar for mertucci

You have declared variables x,y,z as members of the class and also as parameter values of the function [icode]arith_ex[/icode] do something like this [CODE=C++] void Calculator::arith_ex(int x,int y,int z) { if(z==' ') {cout<<"ERROR: Operator-operand imbalance."<<endl; } cout<<"Sonuc="<<x/y+z<<endl; } [/CODE] and call the function as [CODE=C++] hesap.arith_ex(5,4,3); //or any other values …

Member Avatar for mertucci
0
124
Member Avatar for 26933

@ Ancient Dragon, the recursive function is incorrect. foo(x) has to return int. The correct version would be [CODE=C++] int foo(int x) { if(x < 10) { x = x + 1; return foo(x); } return x; } [/CODE]

Member Avatar for Salem
0
157
Member Avatar for Cosa

For two matrices to be equal, the dimensions of both matrices have to be equal and the corresponding values should also be equal. I would follow niek_e's method to compare two matrices.

Member Avatar for Nick Evan
0
144

The End.