Search:

Type: Posts; User: Elhaz

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    11,388

    Hi toysoldier, I found this link quite useful....

    Hi toysoldier,

    I found this link quite useful. It really helped clear up a lot of my input woes.

    http://www.augustcouncil.com/~tgibson/tutorial/iotips.html

    Hope it helps you.
  2. Replies
    3
    Views
    1,124

    Notice elad said loops. When I do it I use two...

    Notice elad said loops. When I do it I use two for loops, one nested within the other.

    I recently made a tic-tac-toe game and in the first version I filled the array I used for the board...
  3. Thread: Run Window

    by Elhaz
    Replies
    12
    Views
    1,178

    Thanks Hunter2 and elad. I'll check out the...

    Thanks Hunter2 and elad. I'll check out the windows.h header and see what I can find.
  4. Thread: Run Window

    by Elhaz
    Replies
    12
    Views
    1,178

    Thanks Hunter2, ...

    Thanks Hunter2,


    SetConsoleCursorPosition(hConsole, coordScreen);

    Does this actually position the console on the screen? Or just the cursor in the console?

    And do I need to include some...
  5. Thread: Run Window

    by Elhaz
    Replies
    12
    Views
    1,178

    Hi PJYelton, That was very useful, thanks. Is...

    Hi PJYelton,

    That was very useful, thanks. Is there a similar code to position the console on the screen? I find that my extended console opens down off the screen a little the first time the...
  6. Replies
    4
    Views
    941

    Hi dAzed, You missed the closing curly bracket...

    Hi dAzed,

    You missed the closing curly bracket } at the end of void averageScore(int num[]) - it thinks you're trying to declare void highestScore (int exam[]) in void averageScore(int num[]).
  7. Replies
    15
    Views
    1,523

    Hi deadkat, Maybe this will help a little... ...

    Hi deadkat,

    Maybe this will help a little...

    You need to apply %2 to every possible x entry, right? But it's impossible to create a seperate case in a switch statement for every possible x...
  8. Replies
    25
    Views
    7,473

    I use Win Xp Home with Dev-C++ and things seem to...

    I use Win Xp Home with Dev-C++ and things seem to compile just fine. But my XP Home is the japanese version so... I don't know if that confirms or disproves anything as there may be differences...
  9. Replies
    25
    Views
    7,473

    Hi Tryce, I have no idea if this'll help or...

    Hi Tryce,

    I have no idea if this'll help or not but I figure it's worth a shot posting it just in case. I got DevC++ from a disk in the back of my first C++ book. There's a fairly good step by...
  10. Replies
    23
    Views
    3,352

    Hunter2, That while is loads better than my...

    Hunter2,

    That while is loads better than my for loop. I never woulda thought of using the bool. Cool.

    Dae,



    Ya, I suppose you're right. But it's sooo hard to look away! :D
  11. Replies
    23
    Views
    3,352

    Hi Dae, I worked through this one last night. ...

    Hi Dae,

    I worked through this one last night. Like you, I used a for loop and a whole mess of ifs (though my for loop is a little different than yours).

    I won't post my code unless XenoForce...
  12. Replies
    30
    Views
    4,179

    I started out with Liberty BASIC (it was free!). ...

    I started out with Liberty BASIC (it was free!).

    With C++, as a beginner, I've been staring into the black and white text of of the console for the past two months. With Liberty BASIC, after...
  13. Thread: new line

    by Elhaz
    Replies
    16
    Views
    2,140

    Thanks jlou. For some strange reason I had the...

    Thanks jlou. For some strange reason I had the two streams confused in my mind (going into the input buffer then waiting, then coming out of the input buffer when cin.get() was called... "out of",...
  14. Thread: new line

    by Elhaz
    Replies
    16
    Views
    2,140

    I don' know. That's the first time I've seen...

    I don' know. That's the first time I've seen those. I'll check them out. Thanks.
  15. Thread: new line

    by Elhaz
    Replies
    16
    Views
    2,140

    Sometimes when I use cin.get() to pause the...

    Sometimes when I use cin.get() to pause the program before ending (keep the console open long enough to read it) it doesn't work by itself and I have to precede it with cin.ignore(). I understand...
  16. Replies
    5
    Views
    1,059

    Hi Sako, Waldo2K2 mentioned spyware. I had...

    Hi Sako,

    Waldo2K2 mentioned spyware.

    I had a spyware incident that might be relavant to your situation. After installing and running Ad-aware (an anti-spyware prog), I kept receiving a similar...
  17. Replies
    10
    Views
    11,388

    Hi Vicious, This is perfect timing. I just...

    Hi Vicious,

    This is perfect timing. I just finished a chapter on binary operators. Thanks for posting this. I still haven't got to file input/output yet but I think I can follow what you've...
  18. Replies
    9
    Views
    1,460

    No worries Micko. Not a problem. I do...

    No worries Micko. Not a problem. I do appreciate your comments though. It gave me another angle from which to work on figuring it out.

    Thanks.
  19. Replies
    9
    Views
    1,460

    Thanks Micko. I did search MSDN a while back...

    Thanks Micko.

    I did search MSDN a while back but could only find XML references to round (). I didn't see any C++. Though I'm sure I probably just missed it. Could you post the link to theC++...
  20. Replies
    9
    Views
    1,460

    Thanks jlou and Salem. It never occurred to me...

    Thanks jlou and Salem.

    It never occurred to me that it could be nested so deeply.

    Salem, I tried your suggestion but I don't think I'm using it right. I couldn't get it to work. I saved the...
  21. Replies
    9
    Views
    1,460

    Hi Micko, Thanks for the reply. I read your...

    Hi Micko,

    Thanks for the reply.

    I read your response over several times but I don't think it answers my question (maybe I'm missing something though?). Can you explain why my version of round...
  22. Replies
    9
    Views
    1,460

    ambiguity error caused by function overload?

    Hi there,

    I just finished this and had a question.

    I was asked to "create a void function called round() that rounds the value of its double argument to the nearest whole value. Have round()...
  23. Replies
    15
    Views
    2,432

    Hi ChaosTony, If you're trying to calculate...

    Hi ChaosTony,

    If you're trying to calculate the hypotenuse of a right angle triangle I think you'll need a sqrt() in there somewhere.
  24. Replies
    19
    Views
    4,660

    Hi AdamLAN, You might try Ogden's Basic...

    Hi AdamLAN,



    You might try Ogden's Basic English. It's a bit old but it gives a list of 850 basic English words.

    Be sure to note the "criticisms" section, though, in the above link.

    You...
  25. Thread: Newbie Question

    by Elhaz
    Replies
    18
    Views
    1,951

    Hi Hoschi, I see it now. The exit (0) is a...

    Hi Hoschi,

    I see it now. The exit (0) is a library function. I didn't look at it (think about it) carefully enough. My mistake. I'll try to be more careful about "piping up" in the future. ...
Results 1 to 25 of 32
Page 1 of 2 1 2