Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
2 Commented Posts
0 Endorsements
Ranked #2K
~5K People Reached
Favorite Tags

19 Posted Topics

Member Avatar for ippomarley
Member Avatar for peter_budo
0
141
Member Avatar for Iam3R

[QUOTE=Iam3R;1135251]here i have two bubble sort versions. [CODE] //for(i=0;i<NOE & swap;i++){ this one or [/CODE] [/QUOTE] I think there will be one more "&" in line no. 6. But it won't help improving the performance though.

Member Avatar for hiraksarkardg
0
120
Member Avatar for csaund1

That's very simple one. Just write the codes below after line 17. i--; continue; It'll work.

Member Avatar for Furqanz
0
189
Member Avatar for Waffles_2411
Member Avatar for jephthah
0
178
Member Avatar for ervin_c2003

Your code is not readable. No indentation, not a comment in English.... If you re-post it after slight modification, then I'll can surely help you out.

Member Avatar for ervin_c2003
0
153
Member Avatar for senaddor

[COLOR="Green"]Why don't you read Andrew Tanenbaum's data structure book. It is explained there properly.[/COLOR]

Member Avatar for tux4life
0
147
Member Avatar for pdrino

[CODE] char* str; char** match_list; while (fscanf(inp, "%s", str) != EOF) { if (matches(str)) { *match_list = (char**)malloc(sizeof(char*)); *(match_list + i) = str; i++; } } [/CODE] You can try this one...... [CODE] char* str; char** match_list; int len; while (fscanf(inp, "%s", str) != EOF) { if (matches(str)) { len=strlen(str); …

Member Avatar for Aia
1
2K
Member Avatar for becdudek

assuming the range to be like 100 . ArrayList<Integer> a = new ArrayList<Integer> (); int range =100 ; a.add(2); a.add(3); for(int i= 4 ; i<range ; i++) { for( int j = 2 ;j <i ; j++) { if( i %j ! = 0 ) a.add(i); } } System.out.println( " …

Member Avatar for rahul8590
0
177
Member Avatar for rahul8590
Member Avatar for turbomen

See we can help you out only when you get stuck in somewhere writing a code. It's your task to write the program.

Member Avatar for FlamingClaw
0
107
Member Avatar for dextrew
Member Avatar for muusa

You don't have to install anything more. Consider you have open a java file in vi editor namely "abc.java", then to compile it, you write "jacac abc.java" in command prompt. After that, to run, write "java abc", means only classname, no extension is necessary.

Member Avatar for sureronald
0
125
Member Avatar for hiraksarkardg

I'm a IT newbie...one day a CST student asked me whether there is any way to write something at a particular location or not.....so am forwarding it to you all. Please guys help me..

Member Avatar for Ancient Dragon
0
126
Member Avatar for efg

How do you want to print it like? Your input string is "A BB CCC DDDD" & search string is "CCC" so how it should be printed ?

Member Avatar for hiraksarkardg
0
470
Member Avatar for amrith92

Hey buddy why did you write it in c++ forum? You don't understand difference between c++ & shell scripting ?

Member Avatar for amrith92
0
129
Member Avatar for hiraksarkardg

Can anybody help me to do this program ? Problem is to write a program which will take another program as a input & it'll give a program flow chart. Ability of processing loops and if-else block would suffice. I can't understand where to start.

Member Avatar for ssharish2005
0
108
Member Avatar for vidit_X

Salem's post is just OK. Things that I more wanna say that if you write #include<iostream> then you must write "using namespace std;" next line & you can use #include<cmath> in place of #include<math.h>. That's all.

Member Avatar for vidit_X
0
671
Member Avatar for kbkorlahalli

Here's my answer...no > or < operator used.... [code=c] #include<stdio.h> int greater(int,int); //Returns 1 if former is greater tha latter, else 0. main() { int a,b,c,flag,flag1; printf("Enter the three numbers:\n"); scanf("%d%d%d",&a,&b,&c); flag=greater(a,b); if(flag==1) { flag1=greater(a,c); if(flag1==1) printf("A biggest\n"); else printf("C biggest\n"); } else { flag1=greater(b,c); if(flag1==1) printf("B biggest\n"); else printf("C …

Member Avatar for hiraksarkardg
0
136
Member Avatar for kasperbr

You need a CD-key only? There are some CD-key generator, though not legal, but you can generate some CD-keys by it & can use. It'll be best if you can mange a fresh Win-XP service pack-2 CD from your friends or from somewhere else..

Member Avatar for caperjack
0
182

The End.