15,897,273 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by coderlearner (Top 19 by date)
coderlearner
18-Jun-22 12:09pm
View
Deleted
#include<iostream>
#include<conio.h>
using namespace std;
class student
{
int id;
float t1,t2,t3;
char name[50];
public:
student()
{
}
student(int a,int b,int c)
{
t1=a;
t2=b;
t3=c;
}
student(student &t )
{
t1=t.t1;
t2=t.t2;
t3=t.t3;
}
void display();
void read();
};
void student::read()
{
cout<<"enter the name"<<endl;
cin="">>name;
cout<<"enter the id"<<endl;
cin="">>id;
cout<<"enter the mark 1"<<endl;
cin="">>t1;
cout<<"enter the mark 2"<<endl;
cin="">>t2;
cout<<"enter the mark 3"<<endl;
cin="">>t3;
}
void student::display()
{
cout<<"the student values are";
cout<<"the name"<<"="<
coderlearner
1-May-22 7:58am
View
Sir since you are so kind at helping I am requesting you to go through the new question I have posted.dont think I am over dependent but I need a understandable code to get started with that concept .
coderlearner
1-May-22 7:57am
View
Deleted
Sir since you are so kind at helping I am requesting you to go through the new question I have posted.dont think I am over dependent but I need a understandable code to get started with that concept .
coderlearner
1-May-22 7:45am
View
Sir it was taught in my class to use getch if we use conio.h as a header file
coderlearner
1-May-22 7:45am
View
Deleted
Sir it was thought in my class to use getch at the end if we use #includeconio.h
coderlearner
1-May-22 7:28am
View
sir is my code incomplete
coderlearner
1-May-22 7:27am
View
Deleted
one more doubt is my
code incomplete?
coderlearner
1-May-22 7:20am
View
whats the use reference variable .i am struggling to understand its use
coderlearner
1-May-22 7:17am
View
why used &ob2 inside friend operator overloading
2) can you again tell the logic of using .x here
i am computer science beginner so hope you would describe more
simply
coderlearner
26-Apr-22 20:18pm
View
Field name. Data type constraints
Book_id. Integer. Pk,foreignke
Student_id. Integer pk,FK
Issue_id. Date
How to create this table using foreign key
coderlearner
26-Apr-22 12:25pm
View
Is it something like select sum(distinct..........) I don't know exactly but..
coderlearner
9-Apr-22 21:30pm
View
Sir kindly make some changes in the code so that it is easily understandable
coderlearner
9-Apr-22 13:07pm
View
Yes sir the question is improved as you said .hope the code is clear
coderlearner
9-Apr-22 13:06pm
View
Deleted
Done sir . question is improved hope you it's readable
coderlearner
9-Apr-22 13:03pm
View
Sir hope this time my code is readable .on the top I've updated not the second one but the first one has been updated
coderlearner
9-Apr-22 12:50pm
View
Deleted
Sorry sir something wrong is happening while I'm copy pasting sorry
coderlearner
9-Apr-22 12:49pm
View
Deleted
#include<iostream>
#include<conio.h>
using namespace std;
void showmenu()
{
cout<<"**********ATM INTERFACE**********"<<endl;
cout<<"="" enter="" 1="" to="" checkbalance"<<endl;
="" 2="" deposit"<<endl;
="" 3="" withdraw"<<endl;
="" cout<<":::::::::::::::::::::::::::::::::::::";
}
int="" main()
{
="" int="" option;
="" double="" balance="500;
" deposit,withdraw;
="" do{
="" showmenu();
="" cout<<"option";
="" cin="">>option;
switch(option)
{
case1:cout<<"balance is"<<balance<<endl;
break;
="" case2:cout<<"="" enter="" deposit="" amount";
="" cin="">>deposit;
balance+=deposit;
break;
case3:cout<<"withdraw amount";
cin>>withdraw;
if(withdraw<=balance)
{
balance-=withdraw;
}
else
{
cout<<"insufficient amount";
break;
}
}
}while(option!=4);
return 0;
getch();
}
coderlearner
9-Apr-22 12:36pm
View
Deleted
#include<iostream>
#include<conio.h>
using namespace std;
void showmenu()
{
cout<<"**********menu**********"<<endl;
cout<<"="" enter="" 1="" to="" checkbalance"<<endl;
="" 2="" deposit"<<endl;
="" 3="" withdraw"<<endl;
="" cout<<":::::::::::::::::::::::::::::::::::::";
}
int="" main()
{
="" int="" option;
="" double="" balance="500;
" deposit,withdraw;
="" do{
="" showmenu();
="" cout<<"option";
="" cin="">>option;
switch(option)
{
case1:cout<<"balance is"<<balance<<endl;
break;
="" case2:cout<<"="" enter="" deposit="" amount";
="" cin="">>deposit;
balance+=deposit;
break;
case3:cout<<"withdraw amount";
cin>>withdraw;
if(withdraw<=balance)
{
balance-=withdraw;
}
else
{
cout<<"insufficient amount";
break;
}
}
}while(option!=4);
return 0;
getch();
}
coderlearner
9-Apr-22 12:25pm
View
Sorry I didn't get it
Show More