Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
1
2 Commented Posts
0 Endorsements
Ranked #4K
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 10
c x 4

9 Posted Topics

Member Avatar for Tresa

can someone please explain to me 1) the difference between getline and gets(). 2) why sometimes when getline is used along with some other cin statements it skips some of the cin statements. :sad: 3)what exactly does the array of structures do? please help me out with this.

Member Avatar for Tresa
0
103
Member Avatar for kellyandtopher

#include<iostream.h> float my_sum(int r); void main() { int r; cout<<"Enter the radius"; cin>>r; my_sum(r); } float my_sum(int r) { float sum; sum = 2*3.14*r; cout<<"The circumference of a circle is "<<sum<<"."<<endl; } this will work. please let me know if it is fine or not.

Member Avatar for frrossk
0
122
Member Avatar for Nyika
Member Avatar for Tresa

can some please tell how can u hide whatever u are typing when typing in c++ exe. file?

Member Avatar for Tresa
0
119
Member Avatar for mattcplusplus
Member Avatar for Chainsaw
0
159
Member Avatar for Domainstop
Member Avatar for fivetoesonefoot

here is an example for u! #include <iostream.h> #include <fstream.h> #include <string.h> #include <iomanip.h> #include <conio.h> class phoneBook{ char name[20],phno[6]; public: void getdata(); void showdata(); char *getname(){ return name; } char *getphno(){ return phno; } void update(char *nm,char *telno){ strcpy(name,nm); strcpy(phno,telno); } }; void phoneBook :: getdata(){ cout<<"\nEnter Name : …

Member Avatar for Tresa
0
203
Member Avatar for Tresa

hai can anyone please help me find the error in my program? when i try to compile it says case bypasses initialisation of local variable. i can't figure out the mistake. i am sitting with this for a week. i will be thankful if someone could help me figure it …

Member Avatar for alc6379
-1
85
Member Avatar for Tresa

hai can anyone please tell me whether it is possible to make graphics work in borland c++? thanks Tresa

Member Avatar for Narue
0
119

The End.