Search:

Type: Posts; User: CodeNinja

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    17
    Views
    2,053

    I'm sure all of everyone's methods who replied...

    I'm sure all of everyone's methods who replied work, but I (out of a bit of a challenge) created my own method. Basically it tests to see if 0-9 are included in the string.



    #include...
  2. Thread: Addictions

    by CodeNinja
    Replies
    45
    Views
    10,553

    huh?

    huh?
  3. Replies
    10
    Views
    1,193

    if i am not mistaken .net has some built in stuff...

    if i am not mistaken .net has some built in stuff for this very thing, but I am probably mistaken
  4. Replies
    2
    Views
    1,194

    Okay, here is what I excerpted from "C++ From The...

    Okay, here is what I excerpted from "C++ From The Ground Up" by Herbert Schildt (A programmer on the ANSI C++ committee, so it's not like he is rambling off a bunch of crap that comes from personal...
  5. Thread: Addictions

    by CodeNinja
    Replies
    45
    Views
    10,553

    harsh, but true :( P.S. I didn't make...

    harsh, but true :(

    P.S. I didn't make anything up. I'm not a lame attention (/\)l-l0r3. :p
  6. Replies
    21
    Views
    2,430

    A good book that I have been reading is called...

    A good book that I have been reading is called "C++ from the ground up." Written by Herbert Schildt (a member on the ANSI C++ board, which is a group of people who write up all the regulations for...
  7. Oh, sorry, i thought you were trying to crack...

    Oh, sorry, i thought you were trying to crack something, not protect it. :P
  8. Thread: Addictions

    by CodeNinja
    Replies
    45
    Views
    10,553

    Okay, I noticed I created quite a discussion once...

    Okay, I noticed I created quite a discussion once I had created this thread, but its cause is coming to an end. Last Friday night after being high that whole week (every day Monday - Friday) on...
  9. Replies
    11
    Views
    17,387

    Okay, I think the reason you are getting the...

    Okay, I think the reason you are getting the error is because the variable i in the for loop only has scope in the for loop. This is because local variables only have scope inside their functions,...
  10. I haven't even read a sentence on anything you...

    I haven't even read a sentence on anything you guys are talking about, but I have general computer knowledge and can pick up from context clues. Couldn't you use a memory scanner and scan for the...
  11. Replies
    4
    Views
    1,800

    Yes, Quzah is correct. Basically just run back...

    Yes, Quzah is correct. Basically just run back through your code and make sure you are not accessing an element in an array that is beyond the bounds of the array's declarated length.
  12. Replies
    11
    Views
    1,671

    yea, I found it, thanks. now I just have to...

    yea, I found it, thanks.

    now I just have to figure out why my code just continuosly loops between "choose your alignment" and "are you sure?". Like you choose your alignment, and then say you are...
  13. Replies
    116
    Views
    28,419

    Thanks for the info, and is C# the way to go? ...

    Thanks for the info, and is C# the way to go?

    I came from VB, and I agree it is a powerful language, but everyone said C because it is low level. So I am learning C and VB is easier in some...
  14. Replies
    17
    Views
    1,809

    I went to linux, but went back to windows cuz...

    I went to linux, but went back to windows cuz linux sucked. Takes forever to get installed, and usually bugs up. Out of 4 or 5 tries over a period of time I have never gotten an install of linux to...
  15. Replies
    11
    Views
    1,671

    okay here it is, narrowed it down to one lame...

    okay here it is, narrowed it down to one lame error...

    all the << operator errors were when i used << with cin.

    now... here it is, in the previous code...



    int good()
    {
  16. Replies
    11
    Views
    1,671

    how do i do that? (when you say count you mean...

    how do i do that? (when you say count you mean make the compiler list the line numbers, and if so how do i do that in Visual C++)
  17. Replies
    11
    Views
    1,671

    lol Thantos... more problems, fixed old...

    lol Thantos...

    more problems, fixed old problems, but got new ones (also added error detection and what-not for menus, possibly slow down processing, and could be more efficient, but it's a...
  18. Replies
    11
    Views
    1,671

    Thankyou ALL!!! perfect help!

    Thankyou ALL!!! perfect help! <3 u Thantos.
  19. Replies
    11
    Views
    1,671

    Game Code Messed Up (Mainly struct{};)

    Here's the code:



    #include <iostream.h>
    #include <string.h>
    int newgame();
    int loadgame();
    struct player_stats
    {
  20. Replies
    6
    Views
    1,246

    um, you might like the dowhile statement if you...

    um, you might like the dowhile statement if you came from VB (like me) because dowhile comes with VB too.

    the syntax of dowhile is:

    do{

    'code'...

    }
  21. Replies
    8
    Views
    1,556

    1) Read the section on file Input/Output at...

    1) Read the section on file Input/Output at http://www.cprogramming.com (tutorials section)

    2) Use strcmp() for example compare strcmp(1st String, 2nd String) and it will return a non 0 number if...
  22. Replies
    116
    Views
    28,419

    actually, i just got this book last night "C++...

    actually, i just got this book last night "C++ From the Ground Up" written by a guy on the ANSI C++ board. I read about the history of C and C++, and really C++ is just a superset of C and any C++...
  23. Replies
    116
    Views
    28,419

    I thought C++ included C, but just a different...

    I thought C++ included C, but just a different method of using it, and that the only real difference was the new OOP capability. Am I wrong? Please someone clearify the difference between C and C++.
  24. Replies
    116
    Views
    28,419

    Contradiction? :p I dunno, maybe we just see...

    Contradiction? :p
    I dunno, maybe we just see it different ways, and I respect your opinion of the language, but I would rather stay with a well founded language that is very flexible. (like c++)
  25. Thread: Addictions

    by CodeNinja
    Replies
    45
    Views
    10,553

    Addictions

    Isn't it interesting how the human body jumps from one adiction to another.

    When I quit wanking I started coding/doing drugs to get my mind off of it.

    Also, when I made myself quit playing...
Results 1 to 25 of 38
Page 1 of 2 1 2