Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #25.0K
Ranked #2K
~6K People Reached
Favorite Forums
Favorite Tags
c++ x 8

8 Posted Topics

Member Avatar for Agouri
Member Avatar for hamby

It works perfectly on VC++ 6.. [CODE]#include <string> #include <iostream> using namespace std ; string upper(string sentance) { string s = sentance; for (int i=0; i < sentance.size(); i++) { s[i] = toupper(sentance[i]); } return s; } int main(void) { string str("nnmmnnmmn smallllll sm"); cout<<upper(str)<<" \n"; return 0; }[/CODE]

Member Avatar for Mr_Null_andVoid
-1
1K
Member Avatar for capton

Use exit(0). In your app, it exits after the enter key is pressed down. [CODE] #include<iostream> #include<cmath> using namespace std; void check_fxn(); float a,b,c; float d= pow(b,2)-(4*a*c);//determinant int main() { cout<<"enter values \n ax^2 + bx + c = 0 "<<endl <<"a = "; cin>>a; cout<<"b = "; cin>>b; cout<<"c …

Member Avatar for AceStryker
0
2K
Member Avatar for Vasthor

A nested pointer [ICODE]**i[/ICODE] is the same thing as a two dimesional array [ICODE]int i[][][/ICODE]. Thus [ICODE] int **p2 = p2[][] int ***p3 = p3[][][][/ICODE] etc etc

Member Avatar for Narue
0
2K
Member Avatar for sumit3gupta

A wrapper class is any class which "wraps" or "encapsulates" the functionality of another class or component. These are useful by providing a level of abstraction from the implementation of the underlying class or component; for example, wrapper classes that wrap COM components can manage the process of invoking the …

Member Avatar for Mr_Null_andVoid
0
317
Member Avatar for kbar1
Member Avatar for Dakot

[CODE]#include <iostream> using namespace std; int main() { int sum = 0 , num=10,cnt=0; //cin>>num; cout<<"Sum all even digits of a given number \n\n\n"; cout<<"Number = "<<num<<"\n\n\n"; while(cnt < num) { cnt++; if (cnt % 2 ==0) { sum+=cnt; cout<<cnt<<" + "; } } cout<<" = "<<sum<<" \n\n\n"; return 0; …

Member Avatar for burcinerek
0
164
Member Avatar for MrEARTHSHAcKER

You have to move the static variable static double BaseValue into a .h header file. You cant have it in the .cpp file. Then it will compile and run error free. Put this in the .h file: [CODE]static double BaseValue; [/CODE] Put this in the .cpp file: [CODE]#include <cstdlib> #include …

Member Avatar for MrEARTHSHAcKER
0
202

The End.