Search:

Type: Posts; User: vishaljamdagni

Search: Search took 0.01 seconds.

  1. Take a look at this.... Maybe it'll help you out...

    Take a look at this.... Maybe it'll help you out as you seem to be confused about as to how and what the if-else statement is doing.
    if-else construct
  2. Replies
    8
    Views
    6,953

    Try this one "The c++ programming language" by...

    Try this one "The c++ programming language" by Bjarne Stroustrrup. This should help you with the theoretical aspects of the language and once you start working on projects then StackOverflow is the...
  3. Replies
    9
    Views
    9,994

    Hey there, The thing with arrays is that the...

    Hey there,
    The thing with arrays is that the moment you type something like int[4] a; what the compiler really does is that it just does the initialization itself by the default value of the given...
  4. Replies
    3
    Views
    2,715

    In my opinion, overloading the + for calculating...

    In my opinion, overloading the + for calculating both the area and the circumference would get really confusing. You might just get on with it for now but trust me when you come back to your code...
  5. Thread: scanf

    by vishaljamdagni
    Replies
    5
    Views
    7,347

    Hey there In my opinion since you only need a...

    Hey there
    In my opinion since you only need a single character input to work with your switch block you should maybe try using the getChar() instead of the scanf("%s",...).
    The point is instead of...
  6. Replies
    6
    Views
    5,721

    Hey there, The "f" there stands just kind of...

    Hey there,
    The "f" there stands just kind of works as an explicit declaration for the compiler so that it doesn't implicitly assigns the number as a double. Because by default the compiler tends to...
Results 1 to 6 of 7