Search:

Type: Posts; User: exus69

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,005

    Thx man. I missed an easy one :(

    Thx man. I missed an easy one :(
  2. Replies
    2
    Views
    1,005

    Code is right. Execution is wrong! HELP

    Hello everyone,

    This program is used to calculate the discount on a given number given its discount rate.



    #include <stdio.h>

    int main ()
  3. Replies
    2
    Views
    2,167

    Thx memcpy, I asked in a hurry, should have gone...

    Thx memcpy, I asked in a hurry, should have gone through the code
    properly...
  4. Replies
    2
    Views
    2,167

    Simple C program not executing!

    Hello everyone,

    Am trying to solve the following problem:
    Create a counting program that counts backward from 100 to 0
    in increments of 10.

    I fail to understand why this code executes a blank...
  5. Problem solved

    ardavirus, thanks alot for explaining the "under the hood" part.
    Adak and CommonTater, I fully agree with your views and full respect
    to both of u'll. I AM lazy in real life and I DESERVED the...
  6. Hello ardavirus, You answered my question even...

    Hello ardavirus,

    You answered my question even before I was writing my question!!!
    But dont you think, technically, the following code does the same thing what u've mentioned:



    for (r = 0,...
  7. Hello Adak, I agree its my mistake. I should...

    Hello Adak,

    I agree its my mistake. I should have gone through that link thoroughly instead of asking here again. But I wanna know whats the technical difference in my approach
    for (r = 0, c =...
  8. Hello Adak, I did ask you(or anyone) who could...

    Hello Adak,

    I did ask you(or anyone) who could show me practical code what you actually mean.
    Am a real noob only dependant on this forum to get help on C but instead of showing
    the code ur...
  9. Ok lets consider a very simple code of a multi...

    Ok lets consider a very simple code of a multi dimensional array.




    #include <stdio.h>

    int main ()

    {
  10. Hi Adak, It'll be great if you or anyone can...

    Hi Adak,

    It'll be great if you or anyone can give me an example of the same with respect to the above program.
  11. Thanks Salem. Now am getting the result...

    Thanks Salem. Now am getting the result 10000100021473157120 after making
    the following changes to the code. I dont think this is right.




    #include <stdio.h>

    int main ()
  12. The result that am getting on executing the...

    The result that am getting on executing the code(with or without the inner braces) is 2293440!! Now it has confused me even more. I tried it the following way:


    #include <stdio.h>

    int main ()...
  13. Cannot understand this multi dimensional array concept

    Hello everyone,

    Am learning C programming from "Programming In C" by "Stephen Kochan". The following para has been copied from the book straightaway coz I want you guys to explain me the part in...
  14. Problem solved

    Thanks grumpy that solved the problem and you explained the "under the hood" part very well :)

    Solution: ratingcounter[11] instead of ratingcounter[i]
  15. Program working fine until I make one change..plz help

    Hello everyone,

    This is a program which asks the user 10 times to give a rating to a television show on a scale of 1 to 10(inclusive). Am posting the before and after code. There is no problem...
  16. Replies
    3
    Views
    1,384

    Thanks guys that was quick and informative :)

    Thanks guys that was quick and informative :)
  17. Replies
    3
    Views
    1,384

    Basic C program help

    Hello everyone,

    IDE is Code::Blocks 10.05

    When I compile the following



    #include <stdio.h>
  18. Replies
    6
    Views
    1,035

    Problem solved

    That worked. Thanks alot:)
  19. Replies
    6
    Views
    1,035

    Removing cin.get () does not help. In fact the...

    Removing cin.get () does not help. In fact the screen vanishes if I type something as input and press enter.
  20. Replies
    6
    Views
    1,035

    Runtime error cannot figure out

    Hi everyone,

    Following is the C++ code that am stuck with at runtime:




    #include <iostream>
    #include <string>
  21. Replies
    11
    Views
    1,187

    Problem Solved

    Ok so finally my problem is solved and these are the two changes that
    I made to the existing code :

    1) Added using "namespace std ;" (excluding " ") below #include <iostream>

    2) Removed endl...
  22. Replies
    11
    Views
    1,187

    After adding "using namespace std ;" (excluding "...

    After adding "using namespace std ;" (excluding " ") below #include <iostream>
    am getting new errors as follows:

    error: no match for 'operator >>' in ...
  23. Replies
    11
    Views
    1,187

    Impressive?? I dont know my C++ course starts...

    Impressive?? I dont know my C++ course starts with classes and objects :)
    and that exact program works fine on gpp compiler but its giving errors
    on Dev C++ and Code::Blocks compiler :(

    My tutor...
  24. Replies
    11
    Views
    1,187

    First C++ program unsuccessful:(

    Hello everyone,

    Am writing my first C++ program and I've hit the first roadblock as well lol

    Heres the code:




    #include <iostream>
  25. Replies
    4
    Views
    2,323

    Oh, how come the author has asked an Array...

    Oh, how come the author has asked an Array question when Arrays start from chapter 7!!! Thats strange....Nevertheless I would highly recommend this book for learning C from scratch... Thanks alot for...
Results 1 to 25 of 29
Page 1 of 2 1 2