Forum: C++ Feb 12th, 2005 |
| Replies: 9 Views: 2,619 What are the params for find() and erase()? |
Forum: C++ Feb 12th, 2005 |
| Replies: 9 Views: 2,619 I wuzznt clear in my question, sorry. Characters that are pressent in both the strings (C++). Eg. string1=Apple string2=Ball. Now 'A(a)' is common, 'l' is common. Remove them. And count the remaining... |
Forum: C++ Feb 12th, 2005 |
| Replies: 9 Views: 2,619 I get 2 strings. I remove all the characters present in both the 2 strings.I count the no. of characters left. How do i do this in C++? |
Forum: C++ Feb 10th, 2005 |
| Replies: 3 Views: 2,662 Now they tell me!! :twisted: |
Forum: C++ Feb 10th, 2005 |
| Replies: 4 Views: 1,442 Try using
just after the headers. |
Forum: C++ Feb 9th, 2005 |
| Replies: 3 Views: 2,662 In Borland C++ Builder 6, I used forms. I created a button and clicked on it. It went to the editor. I typed "form1. " waiting for autocomplete to work. But I got "error in source code". The source... |
Forum: C++ Feb 1st, 2005 |
| Replies: 16 Views: 32,649 I want to do graphics in console type apps. What should I use? |
Forum: C++ Jan 31st, 2005 |
| Replies: 16 Views: 32,649 Is there any way to graphics in windows. Plz not open gl. Its too difficult. Something as simple and easy as bgi graphics. |
Forum: C++ Jan 2nd, 2005 |
| Replies: 12 Views: 2,747 I cant understand this line. Also is it possible to create a background colour for the option if it is selected? |
Forum: C++ Jan 1st, 2005 |
| Replies: 12 Views: 2,747 i'm using win xp and dev-c++ |
Forum: C++ Jan 1st, 2005 |
| Replies: 12 Views: 2,747 How to show a list of options and allow the user to select the options by using arrow keys and enter. |
Forum: C++ Dec 25th, 2004 |
| Replies: 5 Views: 1,731 GO TO http://www.sharewareconnection.com/ AND search for what you want |
Forum: C++ Dec 21st, 2004 |
| Replies: 5 Views: 2,863 Dus anyone kno a good 32 bit c++ compiler for free on the internet |
Forum: C++ Dec 20th, 2004 |
| Replies: 4 Views: 5,458 count =0;
int n, first = 0, second = 0;
while(count<10)
{
cout<<"Enter a number ";
cin>>n;
if(n>first) //checking with the values of first(largest number)
first = n; |
Forum: C++ Dec 18th, 2004 |
| Replies: 5 Views: 1,731 I dont know how to do it. But i google it. I got links to programmes which do the same thing. |
Forum: C++ Dec 18th, 2004 |
| Replies: 7 Views: 4,596 its a pointer no need to init the number of chars, saves a lot of work. |
Forum: C++ Sep 28th, 2004 |
| Replies: 2 Views: 2,557 I want to break the loop if the user does not enter any value. How do I do that.
#include<iostream>
using namespace std;
int main()
{
int a=1;
while(a!=NULL) //how do i phrase this. When... |
Forum: C++ Sep 28th, 2004 |
| Replies: 3 Views: 1,915 I think this would work:
#include <iostream>
using namespace std;
int main()
{
///////////////////////////////Creating variables///////////////////////////////////// |
Forum: C++ Sep 27th, 2004 |
| Replies: 2 Views: 3,618 By cpp i meant c++ language |
Forum: C++ Sep 27th, 2004 |
| Replies: 6 Views: 7,212 As long it works why do u want to change it? |
Forum: C++ Sep 25th, 2004 |
| Replies: 7 Views: 7,239 |
Forum: C++ Sep 25th, 2004 |
| Replies: 6 Views: 7,212 Just change the for loops into while loops!
#include<iostream.h>
void main()
{
int i=1;
while(i<7){
int a=0; |
Forum: C++ Sep 23rd, 2004 |
| Replies: 6 Views: 3,828 by sizeof(myowndatatype) = 3 I meant that the size of the datatype should be 3 bytes |
Forum: C++ Sep 23rd, 2004 |
| Replies: 6 Views: 3,828 How do we create datatypes in C++. Eg. creating datatype called "myowndatatype" with sizeof(myowndatatype) = 3 |
Forum: C++ Sep 21st, 2004 |
| Replies: 0 Views: 6,735 This programme can find the dimensions of cuboid and cylinder. In cuboids it can find missing dimensions also. Eg. if length is missing and volume is given it will find the length. |
Forum: C++ Sep 21st, 2004 |
| Replies: 2 Views: 8,502 calculator using macros in C++ |
Forum: C++ Sep 20th, 2004 |
| Replies: 2 Views: 3,618 I'm using Xp. I wan2 kno wat function in cpp 2 use 2 HIBERNATE NOT SHUTDOWN |
Forum: C++ Aug 28th, 2004 |
| Replies: 1 Views: 10,490 Can I create a virus with c or c++? Will anyone teach me how to do it? :( :twisted:
Why doesn't anyone add to my reputation? :cheesy: |
Forum: C++ Aug 20th, 2004 |
| Replies: 8 Views: 6,342 When I compiled this program in VC++, the only error I got was unexpected end of file |
Forum: C++ Aug 15th, 2004 |
| Replies: 1 Views: 4,023 How do I use the resources I created in Visual C++. For eg, I created a dialog box. How do I call that in my program. :cry: |
Forum: C++ Aug 7th, 2004 |
| Replies: 4 Views: 2,331 You can try reversing strings, concating strings, prime numbers, fibonacci series |
Forum: C++ Aug 7th, 2004 |
| Replies: 3 Views: 2,113 #include<iostream.h> //header file for basic input and output functions
void main() //main function
{
cout<<"Hello world"<<endl; //prints out "Hello world" and endl clears the stream
} |