Posts
 
Reputation
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
~65.9K People Reached
Favorite Forums
Favorite Tags
c++ x 101
c x 45
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
335
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
144
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
345
Member Avatar for arvin2006
Member Avatar for maddy10988
1
247
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
153
Member Avatar for Anonymusius
Member Avatar for killdude69
0
162
Member Avatar for ArNy
Member Avatar for lwxmeme
0
482
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
643
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
243
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
104
Member Avatar for computerages
Member Avatar for Salem
0
251
Member Avatar for shermaine
Member Avatar for Grunt
0
72
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
399
Member Avatar for darkeinjel04
Member Avatar for andor
0
104
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
623
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
172
Member Avatar for champos
Member Avatar for ~s.o.s~
0
2K
Member Avatar for ssowmya
Member Avatar for Grunt
2
960
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
125
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
116
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
102
Member Avatar for wheelz