Search:

Type: Posts; User: manofsteel972

Page 1 of 14 1 2 3 4

Search: Search took 0.01 seconds.

  1. Perhaps this idea isn't what you were looking...

    Perhaps this idea isn't what you were looking for. Every deck of cards is of a certain size. For example regular playing deck is 52 cards, 54 with jokers. Basically you create a single array...
  2. Replies
    14
    Views
    3,088

    The only thing that I can think of that would...

    The only thing that I can think of that would cause the text to flash really fast in a console is if you are running a function in an ifinite loop that redisplays the text over and over. To reduce...
  3. Replies
    15
    Views
    3,540

    Don't get too discouraged Bazerx. Even though...

    Don't get too discouraged Bazerx. Even though everyone here may be sounding a bit harsh, it can be a wake up call to realize it is a huge undertaking. As already stated, there are a lot of people...
  4. Replies
    51
    Views
    6,968

    You might want to start by reading the notes in...

    You might want to start by reading the notes in the code?
  5. Replies
    13
    Views
    7,195

    Interesting in theory.

    In my opinion no matter what you do, eventually a game will get boring. You will have done all the quests that can be done. You can't have infinite quests. Eventually someone will have the same...
  6. Replies
    21
    Views
    4,409

    They have a thread at the msdn forums about it...

    They have a thread at the msdn forums about it called How to Disable Intellisense. It was started back in 2005 and has recent posts with people still having problems. A major concern would be if...
  7. Thread: Calendar

    by manofsteel972
    Replies
    6
    Views
    1,528

    If you are looking for an interesting way to...

    If you are looking for an interesting way to calculate dates on a calander, you might find the Doomsday algorithm interesting http://rudy.ca/doomsday.html.
  8. Replies
    14
    Views
    2,024

    If you are given the starting string, I think you...

    If you are given the starting string, I think you could just create a result buffer of the same length, go through each of the broken up strings and find if it is a substring of the original. Keep...
  9. Replies
    4
    Views
    1,599

    Ok. So a single byte char is the only data type...

    Ok. So a single byte char is the only data type not affected by endian issues. And wide char or multibyte unicode isn't affected either since it is still handled as bytes right?

    [edit] Answered...
  10. Replies
    4
    Views
    1,599

    Doing a bit of research on urlencodeing and...

    Doing a bit of research on urlencodeing and decoding you have a string with a single char being represented by a % and a 2 digit hex code for the actual char in string format so "%22" would be equal...
  11. Replies
    15
    Views
    4,589

    Why are you printing to stdin? puts("Enter...

    Why are you printing to stdin?



    puts("Enter the line you wish to see");
    scanf("%d", &line);
    while(i < line && (check = fgetc(fp)) != EOF)
    if(check == ' ')
    i++;
  12. Replies
    4
    Views
    954

    My suggestion would be to look up type casting.

    My suggestion would be to look up type casting.
  13. Replies
    5
    Views
    5,347

    Pick your development method and stick with it. ...

    Pick your development method and stick with it. If you want to do the program using proceedural programming then do so. If you want to use OOP then do so. It is your project, so you can do...
  14. Replies
    6
    Views
    1,436

    setw() is in the header file iomanip

    setw() is in the header file iomanip
  15. Replies
    8
    Views
    10,164

    I assume divide is just the reverse?

    I assume divide is just the reverse?
  16. That pretty much defines Visual Studio C++ 2005...

    That pretty much defines Visual Studio C++ 2005 intellisense.
  17. Replies
    6
    Views
    1,045

    A little effort goes a long way. With just a bit...

    A little effort goes a long way. With just a bit of research, you can find the answer to your questions. Try the FAQ, the Tutorials page, or even google to see if you can find the answer. It isn't...
  18. Replies
    6
    Views
    1,045

    The mathematical concept of a function expresses...

    The mathematical concept of a function expresses the intuitive idea of deterministic dependence between two quantities, one of which is viewed as primary (the independent variable, argument of the...
  19. Replies
    15
    Views
    3,671

    You might find some tips here...

    You might find some tips here http://www.topcoder.com/tc?module=Static&d1=tutorials&d2=alg_index These are the tutorials listed on topcoder that give ideas on how to tackle certain kinds of problems.
  20. Replies
    8
    Views
    2,632

    I came across an article on CodeGuru that defines...

    I came across an article on CodeGuru that defines some macros using the Time Stamp Method matsp described. http://www.codeguru.com/cpp/misc/misc/timers/article.php/c3895/

    It requires an intel...
  21. Replies
    11
    Views
    5,659

    You can do this, but it depends on the input...

    You can do this, but it depends on the input method used. For example, in windows, there is an event for when a key is pressed and another event for when the key is released so you can trap multiple...
  22. Replies
    7
    Views
    1,609

    to check for equality use two equal signs == one...

    to check for equality use two equal signs == one equal sign means you are assigning the variable a value.
    integers are whole numbers. When you divide, you will need to use a variable of type...
  23. I remember reading an article online called...

    I remember reading an article online called "Teach Yourself Programming in Ten Years" by Peter Norvig. With all the books out there that make it sound like you can learn to program in 24 hours a...
  24. Know any Good Programming Jokes or comics

    I was bored, depressed and in need of cheering up and while roaming the internet recently found a funny web comic that has some computer programming and math fun called xkcd. Just curious if anyone...
  25. Replies
    11
    Views
    1,793

    vec.erase(vec.begin());

    vec.erase(vec.begin()); <--there is no reallocation so vec same capacity as vec2
    vec = vec2; <---copying contents of vec2 back into vec making it same as before erase no...
Results 1 to 25 of 330
Page 1 of 14 1 2 3 4