Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
25% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
13
Posts with Downvotes
10
Downvoting Members
11
6 Commented Posts
~64.7K People Reached
About Me

Wish u Very Happy Independence day to all my Indian Friends, brother and sister.........Make it Independent for ever

Interests
Interested in programming c,c++,c#
Favorite Tags

72 Posted Topics

Member Avatar for klewis32

HI As I understand your problem is to sort an array in ascending and place the zero at last, and you have done up to sorting one last step[ u have to is that pick the first element to a temp. variable and shift the array element to one step …

Member Avatar for David W
0
14K
Member Avatar for wakesin

[CODE]#include<dos.h> #include<stdio.h> #include<conio.h> void main() { union REGS i,o; int max_row=20; int num[5]; clrscr(); i.h.ah=2; //positioning the cursor i.h.bh=0; for(int j=0;j<5;j++) { clrscr(); printf("Enter number at %d : ",j); scanf("%d",&num[j]); } clrscr(); for(j=0;j<5;j++) { i.h.dl=2+j;//x-direction for(int row=max_row-num[j],n=0;row<max_row;row++,n++) { i.h.dh=max_row-num[j]+n;//y-direction int86(0x10,&i,&o); printf("*"); } } getch(); }[/CODE]

Member Avatar for Rock426
0
6K
Member Avatar for goha1414

Hi, I just want give u idea how to do that, try to convert my idea into code if it work for u then ok other wise post your work fo futher help... See what all you have to do step 1. binarynumber=101 step 2. rtmostdigit=101 mod 10 step 3. …

Member Avatar for prvnkmr449
0
307
Member Avatar for prvnkmr449

<?php session_start(); if(!isset($_SESSION['userid'])) { print '<script type="text/javascript">'; print 'alert("Login to submit resume.")'; print '</script>'; header('location:login.html'); }?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> i try every thing still im getting the same problem Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/royal/public_html/submitresume.php:1) in /home/royal/public_html/submitresume.php on line 2 …

Member Avatar for Szabi Zsoldos
0
419
Member Avatar for joseph_butler

[QUOTE][/QUOTE] Use some thing like that definitely it will work for you. You want that program to ask user the Grade Letter then the Credit hours, then the Grade Letter, then the Credit hours...all the while these are addign up in the background? Your problem is that your using two …

Member Avatar for absar.mazhar
0
4K
Member Avatar for fia tariq

There are more than one way to solve your problem its all upon you, for help you have to show your code

Member Avatar for prvnkmr449
-1
84
Member Avatar for packetpirate
Member Avatar for MosaicFuneral
-1
2K
Member Avatar for +_+man

Sorry its not a keylogger this just save data into file what u write on that console screen not from other screen

Member Avatar for bhanumaurya
0
382
Member Avatar for Acidburn

If you carefully read about If...else statement then you must know that else is always used for a matching if that means [CODE] if(condition) {block-of-statement; } else {block-of-statement; } [/CODE] rules says that this a structure you have to use for if else statement, if you use more then one …

Member Avatar for CezarPt
0
5K
Member Avatar for prvnkmr449

[B]Problem in connecting internet on ubunto 10.04 through idea netsetter.............[/B] Hello I try a lot to connect my netsetter usb modem but it ubuntu 10.04 os not detected as modem..........please help me Thanks in advance

Member Avatar for suntom
0
173
Member Avatar for neural_jam

Hello Neural_jamk, please try to define what you try to do by using following code it will more help full for you to get help earlier, because without knowing your purpose how can solve your problem. [B]Lastly alternate of looping is recursion.[/B] You may try recursion in place of looping. …

Member Avatar for neural_jam
0
2K
Member Avatar for Centz

Use structure for reading or writing to file [CODE] struct student { //require variable } [/CODE]

Member Avatar for acerious
0
256
Member Avatar for lionaneesh

/* Name : Praveen Kr. E-mail: [email]prvnkmr449@gmail.com[/email] Mobile no.:+918808130075 please reply if my post is help for u or if any problem on c ask me on my email. */ #include<conio.h> #include<stdio.h> void main() { for(i=0;i<4;i++) { for(j=0;j<=i;j++) printf("0"); printf("\n"); } getch(); }

Member Avatar for Ajinkya Naik
0
168
Member Avatar for Nandomo

[CODE] char c='\0'; userChoice=0; cout << "Please enter a number from 1 to 10: "; while(c!=13) { c='\0'; c=getche(); if(c>47 && c<58) userChoice=userChoice*10+(int)(c-'0'); } [/CODE] here I use getche to take input from use and check the assic code if its character skip this other wise put it in userChoice …

Member Avatar for Nandomo
0
2K
Member Avatar for Syrne

1st problem u try to call [CODE] double calcAverage(Student& stu) [/CODE] before assigning the value for student 2nd problem you have to use loop to pass for each and every student some thing like this [CODE] for(i=0;i<total_number_student;i++) { avg[i]=calcAverage(list[i])//it ll store the average of every student in a array avg …

Member Avatar for SgtMe
1
381
Member Avatar for gaurav_13191

Where you insert your node, at the beginning or at the end? You problem is that when delete a node your pointer is move forward. and pointing next element of deleted node and you did not able to get desired result so first store the address of your pointer in …

Member Avatar for prvnkmr194
0
1K
Member Avatar for arjen

[CODE] LOOP num from 1 to N if(num%2==0 && num%3) { print num counter++ } end loop [/CODE] I hope it will help you Best Of Luck

Member Avatar for LevyDee
0
286
Member Avatar for Rayanjaha

I think ur new to Object Orientated Programming because ur logic is wrong Try understand understand little bit about object 1st for example [CODE] class rectangle { int a.b; public: void set_value(int t) {a=t} void set_value2(int r) {b=t} int area(){return a*b} } int main() { rectangle r1,r2; } [/CODE] when …

Member Avatar for mrnutty
0
117
Member Avatar for jemz

Use getche() in place of scanf. why scanf is not working, answer of this question is here [QUOTE] orignally posted by waltp[/QUOTE] [url]http://www.gidnetwork.com/b-59.html[/url] [CODE] repz=getch(); or repz=getche();//echo the character on screen [/CODE] Best Of Luck

Member Avatar for jemz
0
118
Member Avatar for Christ1m

Your problem just similar to finding the greatest number out of 4 number for this use a variable and initialize it to ZERO and check with every number if variable is less then value then assign the value to the variable some thing like this [CODE] int data=0; int num[4]={4,10,15,12}; …

Member Avatar for prvnkmr449
0
121
Member Avatar for hq1

Write the code in code tag (CODE)...... My suggestion to is that try to do some, your problem is that did't want to do any thing your a lazy person and no one is here to help a lazy person. In your not a single is mention related to file …

Member Avatar for Fbody
0
461
Member Avatar for yeungn

Please try to paste your full coding related to this problem so that some can able point out your because I did't get fault in this code may I miss that point although paste your enough code to compile mainly your class.

Member Avatar for prvnkmr449
0
167
Member Avatar for rodel~

[QUOTE]rodel~[/QUOTE] Well come to daniweb, its your 1st post in daniweb so I would like to tell some thing abt this site no one is here help the person who did't try any thing before asking, so suggest you 1st try your self and if get any problem we fill …

Member Avatar for prvnkmr449
0
85
Member Avatar for cogitoergosum18

Use semicolon at the end of line number 10 correct the spelling mistake at line number 133 [CODE] if (numberOfResistors == 2){ // in your code you use if (numberOfResistors == 2){ [/CODE] every thing fine accept this, I dont any thing about logic of your program and output is …

Member Avatar for prvnkmr449
0
245
Member Avatar for ezkonekgal

[QUOTE]VernonDozier is correct[/QUOTE] If we go though the structure of array It lock some thing like this [CODE] int num[2][3]; [/CODE] ----------------------------------- | num[0][0] | num[0][1] | num[0][2] | <- row 0 ----------------------------------- | num[1][0] | num[1][1] | num[1][2] | <- row 1 ----------------------------------- column 0 column 1 column 2 …

Member Avatar for prvnkmr449
0
114
Member Avatar for rajeshmithy

Hi rajeshmithy Well come to daniweb your new to this so I would like inform something about this site, if think user of daniweb is ur worker and do your work then just forget that concept coz no one is here to give Copy paste coding you have to start …

Member Avatar for prvnkmr449
0
67
Member Avatar for katokato

[QUOTE] originally posted by kes166[/QUOTE] Error is in your loop. your loop should be like this [CODE] for (i=0; i<number_of_element;i++) { if(input[i]>avg count++; } [/CODE] [QUOTE] originally posted by kes166 for (int e = 0; 0 > 50; e++) [/QUOTE] check your loop this loop not going to execute Best …

Member Avatar for prvnkmr449
0
94
Member Avatar for muzikhera

How your project work internally I don't have any idea in which form your close button is not working for you as you want........please explain little bit more

Member Avatar for prvnkmr449
0
81
Member Avatar for 7h3.doctorat3

No one is here to give you a copy paste code, you have to do work for that. You work quite fine until now.......... Further what you have do thats I will explain bellow Take user input in a integer type variable for example num Use a string variable to …

Member Avatar for prvnkmr449
0
776
Member Avatar for Philosophy

I don't think you work hard to solve this problem or you attach wrong code please try once more you have many more exception then you mention even not provide the list also............Basic logic behind finding prime number is that prime number is only divisible by itself and 1 thats …

Member Avatar for Philosophy
0
176
Member Avatar for aviavyne

Use switch statement to solve this match the case and call particular function according to that Best Of Luck

Member Avatar for prvnkmr449
0
402
Member Avatar for Vipero

I don't why you try such a complicated procedure all though I am not an expert but I give you what you want as I understand your problem is sending text box text from form1 to form2 simply create a public variable on form2 of string and example [CODE] //form2 …

Member Avatar for prvnkmr449
0
97
Member Avatar for julianfr

Your problem is not so clear so If you attach your code as well and explain little bit more what you trying to do with your code, may be some one help you

Member Avatar for Momerath
0
98
Member Avatar for glenn612991

If you don't want store that value then just use simple variable for getting input from user by using loop and and three other variable for storing sum [CODE] int number,total,total_positive,total_negative; total=0; total_positive=0; total_negative=0; cout<<"Enter 10 number:"; for(i=0;i<10;i++) { cin>>number; if(number<0) total_negative+=number; else total_positive+=number; total+=number; } [/CODE] Best Of Luck.

Member Avatar for Vllinator
0
2K
Member Avatar for Rahul.menon

Hi did you have any predefine text, which you want to print in following way a ab abc abcd [CODE] for(r=0;r<no_row;r++)//for row for(c=0;c<r+1;c++)//for column [/CODE]

Member Avatar for Ancient Dragon
0
136
Member Avatar for gudads

Is it ur equation is like this a(x)^3 then both is correct as you say and if you say about readability then e is good

Member Avatar for gudads
0
88
Member Avatar for nhidman

Open audio file into binary mode and copy data into different file.............. as

Member Avatar for chiwawa10
0
180
Member Avatar for prvnkmr449

Hi all of you, Iam creating a Inventory System on vb.net and I need some image for like new,search,delete copy cut edit etc can any Help me from I get all this Images, I try to search in google bt I did't get thanks In Advance

Member Avatar for prvnkmr449
0
373
Member Avatar for linta
Member Avatar for BryantFury

Hi BryantFury, First I want suggest you that mention your problem facing point rather than just explaining your question. In in your problem there is two phase 1. Creating a function and 2. Calculating the power Logic behind calculating the is so simple for example 2^4=16 what happen here 2 …

Member Avatar for BryantFury
0
121
Member Avatar for bonskiee

Hi , Example >>5 output 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 If you want this type of output then initialize x and ctrl by inpt variable [CODE] while(ctrl>=1) { while(x>=1) { cout<<x<<" "; x--; } cout<<"\n"; ctrl--; x=ctrl; } [/CODE] Best …

Member Avatar for prvnkmr449
0
129
Member Avatar for rico078

Use [B]item.Selected[/B] in place of [B]item.Checked[/B] on "form_target" [CODE] public void CopySelectedItems(ListView _lstviewSource) { foreach (ListViewItem item in _lstviewSource.Items) { if (item.Selected ) { lstviewTarget.Items.Add((ListViewItem)item.Clone()); } } } [/CODE] And on source_form i think you miss a line [B]myform.show();[/B] [CODE] private void btnAddImages_Click(object sender, EventArgs e) { form_target myform = …

Member Avatar for Geekitygeek
0
100
Member Avatar for poulami510

Did do any thing for that then show your work then only accept for help, If don't do any thing for that, then do hard work before posting your question here. Best Of Luck.

Member Avatar for prvnkmr449
0
101
Member Avatar for radha.

Use this simple loop [CODE] for(i=0;i<9;i++) { for(j=0;j<9;j++) { if(j>2&&j<6&& i<3||j>2&&j<6&&i>5) printf(" "); else printf("*"); } printf("\n"); } [/CODE] Best Of luck

Member Avatar for prvnkmr449
0
96
Member Avatar for ToiNKieZ

[CODE] #include <stdio.h> int main(void) { char string[80]; printf("Input a string:"); gets(string); printf("The string input was: %s\n", string); return 0; } [/CODE] Use gets() in place of scanf() take without space. Best Of Luck.

Member Avatar for ToiNKieZ
0
127
Member Avatar for shubhankarmayan

Use this may it will help but mind data type before entering the number of term [B] 2^2+(2^2+4^4)+(2^2+4^4+6^6)+.... [/B] [CODE] #include<conio.h> #include<iostream.h> #include<math.h> void main() { clrscr(); int n,t=2; long int total=0,subtotal; cout<<"Enter term :"; cin>>n; cout<<"\n\t"; for(int i=0;i<n;i++) { cout<<"("; for(int j=0;j<=i;j++) { subtotal=pow((j+1)*2,(j+1)*2); cout<<(j+1)*2<<"^"<<(j+1)*2; if(j<i) cout<<"+"; } total+=subtotal; …

Member Avatar for prvnkmr449
0
434
Member Avatar for firoz3321

You can also use string variable that means char pointer[CODE]char *ch;[/CODE]to store large data but problem is that on using this, is that you have to manipulate data by your own function.Try to solve or give me some time I will give some function to manipulate these type of data. …

Member Avatar for prvnkmr449
0
4K
Member Avatar for sjn21682

[B]Code for form1[/B] [CODE] namespace form { public partial class Form1 : Form { public Form1() { InitializeComponent(); } public Form1(System.Drawing.Image i) { InitializeComponent(); pictureBox1.Image = i; } } } [/CODE] [B]Code for form2[/B] [CODE] namespace form { public partial class Form2 : Form { public Form2() { InitializeComponent(); } …

Member Avatar for prvnkmr449
0
3K
Member Avatar for dipti_611

[CODE] protected void Page_Load(object sender, EventArgs e) { int i = DateTime.Now.Year ; for (i = i - 1; i <= DateTime.Now.Year + 3; i++) DropDownList1.Items.Add(Convert.ToString(i)); } [/CODE] Use this simple code, it will take current year from your pc. Best Of Luck.

Member Avatar for rohand
0
4K
Member Avatar for george61

Here is short program demonstrating how to read and write data from binary file using structure I don't the structure so I use my own simple structure change this to your on structure [CODE] #include<stdio.h> #include<conio.h> struct NODE { int roll_no; char name[30]; }; void write_binary(FILE *f1) { struct NODE …

Member Avatar for prvnkmr449
0
3K

The End.