Jump to content

Long way to go ..~

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Guest_R3.RyozKidz_*

Guest_R3.RyozKidz_*
  • Guests
first q:
sp = func(args..);
if(sp)
{
....
}
else
{
...
}

in this case..the expression of sp stand for ?? the returning value of that function?

2nd q:
wat is the meaning of associate or re-associate with the stream ?

3rd q:
wat is host enviroment?

4th q:
if i enter a character , the character i entered will be followed with \n rite?
y if i enter a number , \n will also follow?

if i scanf for a number , then scanf for a string/character , y my scanf for the string/char will be a \n?

but there is nothing happen when i scanf for a string/char first then number

y like tis ar?

#2
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Posted via CodeCall Mobile
1. if the expression returns true
2. no idea
3. the pc (mostly os) that the software will run on
4. not sure but i think ur wrong
no idea for the rest. ps, im not a c/c++ programmer so i answered these questions according to my general programming knowledge

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
\n is a character, and so can be read as the next character. It is not numeric, so cannot be read as part of a number.

I suggest you be more precise with the examples for your questions, as they are difficult to answer as stated.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog