383 Posted Topics
[B]Is there is any way to copy out put in graphics into a paint file(bmp)?[/B]:) | |
| |
| |
Re: [url]http://www.cprogramming.com/tutorial/cfileio.html[/url] Read It .It will clear every thing. | |
Re: What do you mean by noisy input stream? | |
Re: [Code] printf("%c%c",s[0],s[1]); [/code] It will print only first two characters. | |
Re: For calling print input and print area you need one int and two double . Syntax will be like this [Code] printarea(i,j,k); //Where i is taken as int j and k are taken as double [/Code] | |
Re: Already mentioned you have to use int main() because you have given "return 0" at the end of main.No coding tags ,it puts bad impression. | |
Re: Looks very complicated .. It is better to use switch statement. Y you have used iomanip header file . Also tell me Y You have used Conio header file.Using header files without there usage gives a bad impression. | |
Re: In avg marks you take all the values and divide by the total number , In that different values will show different percentage . So it means no direct method to obtain correct percentage. | |
Re: No main function , If you don't write main function then how can you use your program.Complete your main function then this program will start working. | |
Re: >> Warp your codes in coding tags >> It is c++ forum not a c forum >> i has a datatype int , it should be char >>Use ascii codes when you use char | |
Re: Read This article "http://www.geekinterview.com/question_details/3478" | |
Re: Read this article it will help you "http://notfaq.wordpress.com/2006/08/30/c-convert-int-to-string/" | |
Re: >> Try to use Codes in Coding tags >> Try to use cout statement out of looping statement . [Code] #include<iostream> #include<conio> int main() { int arr[10]; int i,j,sum=0,flag; cout<<"Enter the Integers : "; for(i=0;i<10;i++) cin>>arr[i]; //Loop Takes ten integer for(i=0;i<10;i++) { flag=0; // Flag is assigned 0 intially for(j=i+1;j<10;j++) … | |
I am confused in tellg funtion can any body tell me its syntax also for seekg();. | |
I HAVE AN ASSIGNEMENT IN WHICH I GET STUDENT DATA AND SAVE IT A SEPARATE TEXT FILE , THE MAIN PROBLEM IS THAT IT TAKE ALL THE VALUES BUT DONOT STORE VALUE OF SEM,ADD-NO AND BATCH . KINDLY PLEASE HELP ME . Coding is :- [code=cpp]#include<iostream.h> #include<conio.h> #include<fstream.h> struct stud … | |
I have a string , i want to give it a blink effect ... is there any specific function for it . | |
Re: use system("pause") or use getch(); before return so it will wait for carriage return and you can see the output . | |
Re: use this while((c[i]=getche()!='\r') { cout<<"*"; i++; } | |
| |
Re: One of the main problem is you are using constant more than int range , use float or long for it float matric; Or long matric; | |
Re: You need A "for" loop before checking the ancient dragon given condition. | |
Re: int i=0; //Temp var char *p=new char[i]; // p having zero length while((*p=getche())!='\r') // getting character i++; // increment according to need I think this will help you! | |
Re: Instead of intilaizing to zero use static before int. LIKE static int g[2]; | |
Re: Actually You are calling a recursive function .... it will continue until value of j becomes 1 | |
Re: [code=c] #include<stdio.h> #include<stdlib.h> #include<conio.h> #define n 4 void main() { //variables float table[n]; int no=1,i; float x=0; float d; clrscr(); //program for (i=0; i<n; i++) { printf("Enter the number %d : ", i); scanf("%f", &table[i]); } for (i=0; i<n; i++) { if(x==0 && i!=0) no=0; else x=table[i]; } if (no==0) … | |
i Dont have window.h header file , can i make a programme for copying picture from one drive to another?Any one help me in interpets . I am new using c++ so please please help. | |
Can Any One Tell Me How To Handle Registers In C ,while We Are Dealing With Mouse Handling ... Can Any One Explain With Some Example. | |
The End.