Search:

Type: Posts; User: m&m

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    23,784

    You are entering a character after having just...

    You are entering a character after having just entered a number.

    cin.ignore(20,'\n'); should work.

    You ignore 20 non newline characters or the newline character (whichever comes first) in the...
  2. Replies
    0
    Views
    2,203

    need help with a Homework program on polynomials

    Hi,

    I am to write a program which should add and subtract any two polynomials of up to degree 4. I am also supposed to multiply two quadratic polynomials.

    Two questions:

    1. How to print out...
  3. Replies
    12
    Views
    3,468

    someone who's just not grateful for the help he...

    someone who's just not grateful for the help he gets, even in a little forum like this. How do we avoid people like this?
  4. Thread: strcmp

    by m&m
    Replies
    3
    Views
    4,916

    to compare something you need at least 2 things...

    to compare something you need at least 2 things to compare. Hence too few arguments.
  5. Replies
    9
    Views
    1,368

    C++ is an object oriented language but...

    I see there's an object oriented version of C? Where'd that come from and what benefits does it have over C++??

    http://www.planetpdf.com/codecuts/pdfs/ooc.pdf
  6. Replies
    5
    Views
    2,466

    I rewrote the program, sort of got it to do what...

    I rewrote the program, sort of got it to do what I want. Any tips on how to make it better??




    #include<stdio.h>
    #include<string.h>

    int funcAdd(char*, char*);
    int StringToInt(char*);
  7. Replies
    5
    Views
    2,466

    i'm just trying to get it to work. Of course, all...

    i'm just trying to get it to work. Of course, all the sums should be valid if you entered in valid integers, so that means somewhere my test program is not written right somewhere... but where?
  8. Replies
    5
    Views
    2,466

    need help with testing argv sum program

    Hi,

    I wrote program that can add two integers from command prompt using argv. I tried to write a test program like below that would automatically test all the possible pairs of integers (from 0...
  9. Replies
    3
    Views
    3,194

    Thank you very much Claudiu, I removed the *...

    Thank you very much Claudiu,

    I removed the * from


    j = isAllDigits(*input);


    and all is well :cool:
  10. Replies
    3
    Views
    3,194

    how to fix linker error?

    Hi,

    I attempt writing a program to add two integers as shown below but I MS Visual C++ express 2008 complains to me:



    1>adding.obj : error LNK2019: unresolved external symbol "int __cdecl...
Results 1 to 10 of 10