Search:

Type: Posts; User: softcoder76

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    1,751

    Hey I know it is not the most sophisticated way...

    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...
  2. Replies
    11
    Views
    1,731

    Hey Prelude.. What do mean by "void main()" is...

    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...
  3. Replies
    11
    Views
    1,731

    I am no expert at this but hopefully this will...

    I am no expert at this but hopefully this will help..




    void main()
    {
    #define buffersize 80
    char buffer[buffersize];
    cout<<"Enter any sentence:"<<endl;
  4. Replies
    2
    Views
    927

    Any one willing to help....

    Any one willing to help....
  5. Replies
    2
    Views
    927

    Array (getline)

    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...
  6. Thread: C++ Help

    by softcoder76
    Replies
    11
    Views
    1,825

    #include using namespace std; void...

    #include<iostream>
    using namespace std;

    void main()
    {
    int count=1,i=0, n=0, j=0;
    while (count <=100)
    {
    n=0;
    i +=1;
  7. Thread: STL help

    by softcoder76
    Replies
    5
    Views
    1,245

    Thank you so very much for every ones help, it is...

    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...
  8. Thread: STL help

    by softcoder76
    Replies
    5
    Views
    1,245

    Hey Sorensen, Thank you for your suggestion,...

    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.
  9. just a little shorter

    #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,...
  10. Replies
    7
    Views
    1,110

    hopefully it helps

    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...
  11. Replies
    5
    Views
    3,727

    my apology

    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...
  12. Replies
    5
    Views
    3,727

    Polynomial Problem

    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...
Results 1 to 12 of 12