Search:

Type: Posts; User: jamesallen4u

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    785

    After I put it on a piece of paper and thought...

    After I put it on a piece of paper and thought about it for a while I figured it out. And I will follow your suggestions for the functions. Thanks.
  2. Replies
    2
    Views
    785

    Simple Array Functions

    Hello,

    I am trying to write a program that populates an array (10) with random values and then gets the Biggest Number, Smallest Number, and Average Value of those numbers.




    // CalcArray.h...
  3. Replies
    2
    Views
    4,261

    Thanks for the advice.

    Thanks for the advice.
  4. Replies
    5
    Views
    989

    You might want to look at line 91...

    You might want to look at line 91...
  5. Replies
    2
    Views
    4,261

    Battery plugged in but not charging

    Hello all,

    I have a Lenovo G560 laptop running Windows 7. Today I just noticed that the battery indicator said that the battery was plugged in but not charging and it was stuck at 79%. Then I did...
  6. Replies
    2
    Views
    1,003

    Thanks, this helped.

    Thanks, this helped.
  7. Replies
    2
    Views
    1,003

    Cursor Manipulation

    Hello all,

    I was recently working on a project that basically gave all the information of a triangle when the user inputted the sides such as area, perimeter, angles, altitudes etc. I asked the...
  8. Replies
    385
    Views
    722,593

    Sticky: This is really weird, but when I tried to go to...

    This is really weird, but when I tried to go to the forum using the direct link (cboard.cprogramming.com) I kept getting a VB server error. About one minute later of refreshing it allowed me to enter.
  9. Replies
    21
    Views
    27,637

    Thanks guys for all of your replies. Post #14...

    Thanks guys for all of your replies. Post #14 definitely increased my understanding about how Unicode works.
  10. Replies
    21
    Views
    27,637

    Thanks guys for your replies, I tried using wcout...

    Thanks guys for your replies, I tried using wcout and saving the file in Visual Studio as a Unicode but it still outputs . A plain cout did not work either.
  11. Replies
    21
    Views
    27,637

    Thanks for the reply. I am completely unfamiliar...

    Thanks for the reply. I am completely unfamiliar with wcout and I Googled it, but I could not find any examples, can you please give me one?
  12. Replies
    21
    Views
    27,637

    Non-English characters with cout

    Hello,

    How would you do something like this using cout in C++?


    cout << "привет мир"; (The Russian Equivalent of "Hello World")

    I tried using copy-paste in VC++ but as I had expected the...
  13. Replies
    3
    Views
    4,568

    An update: I realized what I was doing wrong...

    An update:

    I realized what I was doing wrong now and I am going to constantly remind myself of it: always think of programming line by line, not as a whole. The reason for the ugly output was...
  14. Replies
    3
    Views
    4,568

    Creating an ASCII animal

    Hello,

    I am trying to create a program that will ultimately output a snake coiled around a stick 11389. Here is part of my code:



    #include <iostream>
    #include <iomanip>
  15. Replies
    1
    Views
    1,094

    Well first of all, cout

    Well first of all,
    cout << "Insert stuff here"; is used in C++ instead of printf.
  16. Replies
    6
    Views
    2,449

    Outputs 11, 55, and 42. Thanks CommonTater, I...

    Outputs 11, 55, and 42. Thanks CommonTater, I guess I was misinformed about char arrays.
  17. Nope. Read this: Announcements - General...

    Nope. Read this: Announcements - General Programming Boards
  18. So, what have you tried so far?

    So, what have you tried so far?
  19. Replies
    6
    Views
    2,449

    So if I understand it right, if you entered...

    So if I understand it right, if you entered something like "123 hello" it would disregard the whitespace and letters and return 123?
  20. Replies
    6
    Views
    2,449

    What I mean is that you can't create a char array...

    What I mean is that you can't create a char array with numbers so atoi would be an alternate solution to just manually printing the numbers.
  21. Replies
    6
    Views
    2,449

    The atoi function

    Hello,

    I am trying to find a tutorial or a reference for using the atoi function in C. I found one on this site (atoi - C++ Function Reference) but I am not familiar with C++. I am trying to...
  22. Replies
    3
    Views
    1,085

    Yep, it wouldn't compile. Note that 1=0 means, in...

    Yep, it wouldn't compile. Note that 1=0 means, in literal words, put 1 to 0 which will obviously never happen with constants, resulting in your compilation error. On the other hand 1==0 ( 1 is equal...
  23. Replies
    7
    Views
    5,746

    In a perfect world, you would be correct. ;)

    In a perfect world, you would be correct. ;)
  24. Replies
    7
    Views
    5,746

    Thanks for the suggestions. In the end, I just...

    Thanks for the suggestions. In the end, I just printed out line by line instead of using arrays.
  25. Replies
    7
    Views
    5,746

    Box within box program

    Hello,

    Using ASCII and C programming I am creating a program whose output is a box within a box. I am very close to completion but I am stuck on one part and need your help.

    Here is the code:...
Results 1 to 25 of 44
Page 1 of 2 1 2