Hey I know it is not the most sophisticated way of doing it, but it does the job...
int main(void)
{
// you code here
char c; cin>>c; //consoles waits for a char input before...
Type: Posts; User: softcoder76
Hey I know it is not the most sophisticated way of doing it, but it does the job...
int main(void)
{
// you code here
char c; cin>>c; //consoles waits for a char input before...
Hey Prelude..
What do mean by "void main()" is illegal.. void main is perfectly legal to start with. The main does not have to be "int" type. But if you use "int" as the data type, yes you must...
I am no expert at this but hopefully this will help..
void main()
{
#define buffersize 80
char buffer[buffersize];
cout<<"Enter any sentence:"<<endl;
Any one willing to help....
Hi,
I have a question and need some help with getline. I am opening a file and getting the whole line and putting it in a buffer. Now ofcourse the line contains blank or white spaces and I want to...
#include<iostream>
using namespace std;
void main()
{
int count=1,i=0, n=0, j=0;
while (count <=100)
{
n=0;
i +=1;
Thank you so very much for every ones help, it is working now.. For anyone who is maybe interested to learn from my mistake, here is my code that works. You can compare the previous one to this one...
Hey Sorensen,
Thank you for your suggestion, but I really have to use the stl<list>, unfortunatly that is one of the requirment of the project. But Thank you for your time.
#include <iostream>
using namespace std;
#include <conio.h>
int main()
{
short userans;
cout << "Welcome to Shore High School!!";
cout << "\nHeres a math problem. There are 20 classrooms,...
Hi,
I am not sure which one is right for you but I think you should think about what kind of programm would you like to write in the future. Depending on that you should look at the languages and...
Hello to all,
First I would like to extend my apology to all for posting my project. My intention is not for any one to do my project for me, cause I am almost done anyway. All I wanted was to...
Those of you who are bored and have nothing better to do, here is little simple project to keep anyone who is interested busy for a few hours. By the way this is real project that I have to do for my...