Search:

Type: Posts; User: SvNo7

Search: Search took 0.00 seconds.

  1. Thread: strcmp???

    by SvNo7
    Replies
    7
    Views
    14,757

    hmm.. i know that if you are to compare to char...

    hmm.. i know that if you are to compare to char it should be in == form.. but how come we didn't have an error when we compiled our program using the strcmp in comparing to variable

    ex.
    Input is...
  2. Thread: strcmp???

    by SvNo7
    Replies
    7
    Views
    14,757

    strcmp???

    i have a question guys.. strcmp is short for string compare right? therefore it compare 2 string.. but can strcmp can be also used for character?
    like if you are to compare to variable, say A and...
  3. Thread: If Else..

    by SvNo7
    Replies
    5
    Views
    1,279

    If Else..

    hi guys.,
    i'm having trouble with an if else statement (am i stupid or what??).

    you see, i'm trying to compare a variable and a string, like if (month=="january"), but every time i run the...
  4. Thread: Can u help me?

    by SvNo7
    Replies
    7
    Views
    1,139

    oh sorry bout that.. i guess i just overlooked...

    oh sorry bout that.. i guess i just overlooked the examples twomers gave.. sorry for the trouble.. thank a lot. it was a very big help//
  5. Thread: Can u help me?

    by SvNo7
    Replies
    7
    Views
    1,139

    yeah that's correct. i do want to assign a random...

    yeah that's correct. i do want to assign a random value from a pool of specific no.
    hmm. its not necessarily in multiplesof 10^n. Though, the numbers are divisible by 5.
    like you can have a...
  6. Thread: Can u help me?

    by SvNo7
    Replies
    7
    Views
    1,139

    Can u help me?

    Hi guys,, i'mnew here and i'm also new to programming but i have a been working on a project and i have a problem,, can anyone any of you help me?

    i was wondering.. how do you assign a specific...
Results 1 to 6 of 6