Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
60
Posts with Upvotes
55
Upvoting Members
10
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
9 Commented Posts
0 Endorsements
Ranked #864
~67.3K People Reached
Favorite Forums
Favorite Tags

104 Posted Topics

Member Avatar for AJones
Member Avatar for ravi_forum

It's a pretty simple algorithm. Didn't you find anything about it in your algorithm's book? You can start from here http://en.wikipedia.org/wiki/Kruskal's_algorithm

Member Avatar for naamurad
2
2K
Member Avatar for im4tion

Anyone will be glad to give you hand if you show your efforts here. If you don't really know how to work with files then I would suggest you to read you book first or go through basic tutorial like [url=http://www.cprogramming.com/tutorial/cfileio.html]File I/O in C[/url] [url=http://www.cprogramming.com/tutorial/lesson10.html]File I/O in C++[/url]

Member Avatar for santakdalai90
1
337
Member Avatar for kookai

Try to append this to your code [code] } int main() { cout<<fibonacci(/*some number*/); } [/code]

Member Avatar for Nick Evan
0
2K
Member Avatar for complete

[URL="http://www.amazon.com/gp/product/0201715945/qid=1152945713/sr=2-2/ref=pd_bbs_b_2_2/002-7583998-3879210?s=books&v=glance&n=283155"]Design Patterns Explained: A New Perspective On Object-Oriented Design[/URL] by Alan Shalloway, James Trott

Member Avatar for Schol-R-LEA
0
149
Member Avatar for shanbady
Member Avatar for kaka_shi

[url=http://cimg.sourceforge.net/][B]C++ Template Image Processing Library.[/url][/B]

Member Avatar for champpiyush
0
350
Member Avatar for arvin2006
Member Avatar for maddy10988
1
255
Member Avatar for Niklas

[quote=~s.o.s~;258377]when you declare a char it is automatically taken as signed char [/quote] That's machine dependent. It could be signed or unsigned.

Member Avatar for cikara21
0
165
Member Avatar for Anonymusius
Member Avatar for killdude69
0
164
Member Avatar for ArNy
Member Avatar for lwxmeme
0
499
Member Avatar for Narue

[COLOR=black]I totally agree to what [/COLOR][COLOR=black]Jerry Jongerius says: [/COLOR][COLOR=black][quote]Use a debugger only as last resort. Having to resort to a debugger means your programming methodologies have failed.[/COLOR][COLOR=black][/quote][/COLOR] [COLOR=black] [/COLOR]

Member Avatar for bector
2
8K
Member Avatar for rati
Member Avatar for Wreef
Member Avatar for WoBinator
0
646
Member Avatar for beatle555

I Want that beatle555 should first show some efforts before asking help in forums. Pls Help Yourself!!

Member Avatar for ~s.o.s~
1
254
Member Avatar for amishosh
Member Avatar for chicagoavonlady

See this [code] #include <iostream> using namespace std; int main () { int counter=0; int largest=0; int number=0; largest=number; while ( counter < 10 ) { cin>>number; if(largest<number) largest = number; ++counter; } cout<<"Largest Number:"<<largest; return 0; }[/code]

Member Avatar for chicagoavonlady
0
107
Member Avatar for computerages
Member Avatar for Salem
0
274
Member Avatar for shermaine
Member Avatar for Grunt
0
76
Member Avatar for LieAfterLie
Member Avatar for sameer.mastek

[quote=sameer.mastek;255316] What is the ICE? Is it related to C++ and TCL communication somehow?[/quote] ICE is a Tcl compiler. The compiler translates Tcl code into C code, which can then be compiled together with a special Tcl library to produce a single executable.

Member Avatar for sameer.mastek
1
404
Member Avatar for darkeinjel04
Member Avatar for andor
0
106
Member Avatar for n3st3d_l00p

[quote=n3st3d_l00p;255779]how to create from input? string folder; getline(cin, folder); mkdir(folder); ??? cannot compile![/quote] Through Command Line [code] #include <iostream> #include <direct.h> int main(int argc, char** argv) { if (argc < 2) { std::cerr << "Usage: " << argv[0] << " [new dir name]\n"; return(EXIT_FAILURE); } if (mkdir(argv[1]) == -1) { …

Member Avatar for WaltP
0
624
Member Avatar for isaacmacdonald

[quote=isaacmacdonald;254410]If sum is declared as [B]double[/B][/quote] Why would you declare sum as double in first place? You can use long and it's variations. [quote=isaacmacdonald;254410]sum is declared as an [B]int, [/B]for the same range it reports -1270505460.[/quote] If int( or any other type) cannot accomodate the data then results are unpredictable.

Member Avatar for FC Jamison
1
176
Member Avatar for champos
Member Avatar for ~s.o.s~
0
2K
Member Avatar for ssowmya
Member Avatar for Ajay Raj

[quote=Ajay Raj;252911]Predict the output of the following code: #include < IOSTREAM > [/quote] After removing spaces the header will work as long as you are working on windows which has case-insensitive file system. But, with a cross-platform compiler, usually, case matters.

Member Avatar for Ajay Raj
1
128
Member Avatar for Iqbal_h_a

Compile your code in strict mode. I guess it should be error. Anyways return value in C on x86 is generally [inlinecode]eax[/inlinecode], where the result of the last calculation often happens to be placed. Maybe that's why you are seeing this result.

Member Avatar for Iqbal_h_a
0
119
Member Avatar for hay_man

[quote=Anonymusius;253177]Try using an global variable instead of passing one[/quote] Ssshhhhh...

Member Avatar for hay_man
1
108
Member Avatar for wheelz
Member Avatar for Ajay Raj

This might help [url=http://www-db.stanford.edu/~ullman/fcdb/oracle/or-proc.html#overview]Pro*C[/url]

Member Avatar for Ajay Raj
0
118
Member Avatar for amano

fflush dosn't work for input streams and I think it's [inlinecode]system("cls");[/inlinecode] instead of [inlinecode]system("clear");[/inlinecode]

Member Avatar for Dave Sinkula
0
1K
Member Avatar for Flay
Member Avatar for rxgmoral
Member Avatar for gampalu

Look in [url=http://www.cplusplus.com/ref/iostream/iomanip/setprecision.html]setprecision manipulator[/url]

Member Avatar for gampalu
1
121
Member Avatar for dsraju

Did you tried serching google first? [url]http://www.google.co.in/search?q=Null+Pointer+Assignment&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official[/url]

Member Avatar for dsraju
0
74
Member Avatar for govinda.attal
Member Avatar for ariyan

I think you can use [inlinecode]shifting[/inlinecode] and [inlinecode]bitwise[/inlinecode] operators.

Member Avatar for ariyan
1
132
Member Avatar for dsraju

dsraju, there's no such thing as far in ANSI C. I guess you are still using ancient compilers. It's time to move ahead.

Member Avatar for ~s.o.s~
0
146
Member Avatar for linq

[quote=linq;251820]DO you really think I should use VC2005, I mean, compared to the VC++6.0 enterprise version, the free version seemed much less powerful[/quote] Check out the features in VC2005. If they suit your requirements then download it. If you are not so fussy about using only microsoft products only then …

Member Avatar for Ancient Dragon
1
109
Member Avatar for vinay raja

There's already one in code snippet [url]http://www.daniweb.com/code/snippet87.html[/url] Try to learn something from it.

Member Avatar for WaltP
0
574
Member Avatar for abhikamune
Member Avatar for kimw

You can use istringstream [code]std::istringstream stm; stm.str("3.14159265"); double d; stm >>d;[/code]

Member Avatar for Dave Sinkula
2
303
Member Avatar for santosdas
Member Avatar for VinC

Are you talking about [url=http://catb.org/jargon/html/B/bullschildt.html]Herbert Schildt's [I]C - The Complete Reference[/url]?[/I]

Member Avatar for VinC
1
127
Member Avatar for puppy

The Order of Complexity is the measure of how efficient a program is. [url=http://www.daniweb.com/techtalkforums/thread13488.html]Good Link[/url] [URL="http://www.daniweb.com/techtalkforums/thread13488.html"][/URL]

Member Avatar for Micko
1
100
Member Avatar for ze_viru$

1) You can not return arrays 2) Way you initiliase array was wrong 3) Pass all three arrays 4) You need only single for loop inside compare function. 5) Compare don't need to return anything. Address of array is passed so changes will be seen back. You should something like …

Member Avatar for mostafadotnet
1
124
Member Avatar for muhammad amir

Nice tutorial. I guess it's from one of the Mod's. [url]http://www.shobadobs.com/tuts/big_o.html[/url]

Member Avatar for Grunt
1
151
Member Avatar for jahnavi
Member Avatar for padmakar

The End.