Like Tree1Likes
  • 1 Post By AndrewHunter

scan 2 d array for match using strcmp

This is a discussion on scan 2 d array for match using strcmp within the C++ Programming forums, part of the General Programming Boards category; just trying to maximize the amount of help considering how slow this boord is....

  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    2

    scan 2 d array for match using strcmp

    just trying to maximize the amount of help considering how slow this boord is.
    Last edited by elipse; 09-19-2011 at 02:07 AM.

  2. #2
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,866
    Step 1: Don't use C strings in C++, or if you intended this for the C board you should tell us.
    Elysia likes this.
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,499
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,866
    Quote Originally Posted by Salem View Post
    LOL....brilliant. You should link that to the ongoing discussion in GD. Clearly a case of 'spamming' just to get the correct answer. In this case, I do not believe the OP actually put any effort in.
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 11-01-2010, 08:22 PM
  2. how to scan an int dinamic 2d array..
    By transgalactic2 in forum C Programming
    Replies: 21
    Last Post: 07-01-2009, 04:04 PM
  3. Help with character array pointer and strcmp
    By axe in forum C Programming
    Replies: 2
    Last Post: 11-13-2007, 07:47 PM
  4. 2 array match
    By ajastru2000 in forum C++ Programming
    Replies: 5
    Last Post: 07-18-2003, 07:58 AM
  5. scan multiple items in multidimensional array
    By requiem in forum C Programming
    Replies: 1
    Last Post: 04-17-2003, 03:02 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21