TEST FOR GURU's , actually for newbies / anyone!

This is a discussion on TEST FOR GURU's , actually for newbies / anyone! within the C++ Programming forums, part of the General Programming Boards category; lets say u have the array [ 1 3 4 5 7 ] and u wanted to turn the first ...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    18

    Post TEST FOR GURU's , actually for newbies / anyone!

    lets say u have the array
    [ 1 3 4 5 7 ]
    and u wanted to turn the first int into a number higher
    [ 2 3 4 5 7 ]
    and
    [ 3 5 6 ]
    [ 4 5 6 ]???
    If possible use only if statements
    keep functions to a minimum...
    HACKERS MANIFESTO (NOTE MOST WAS CUT OFF) (PEOPLE SAID IT WAS TOO LONG)
    This is our world now... the world of the electron and the switch, the beauty of the baud.
    We make use of a service already existing withoutpaying for what could be dirt-cheap if it wasn't run by profiteering gluttons, and you call us criminals.
    We explore... and you call us criminals.
    We seek after knowledge... and you call us criminals.
    We exist without skin color, without nationality, without religious bias... and you call us criminals.
    You build atomic bombs, you wage wars, you murder, cheat, and lie to us and try to make us believe it's for our own good, yet we're the criminals.

    Yes, I am a criminal. My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive me for.

    I am a hacker, and this is my manifesto. You may stop this individual,but you can't stop us all... after all, we're all alike.
    +++The Mentor+++

  2. #2
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    Time for a signature change. Most have read it....

    As far as your test. What are you saying here ->

    and
    [ 3 5 6 ]
    [ 4 5 6 ]???


    You lost me...
    Blue

  3. #3
    Unregistered
    Guest
    This is probably your homework, so I'm not going to post a working program for you.

    ++My_array_of_numbers[0];

    There, have fun.

  4. #4
    /dev/null
    Guest
    you retard the mentor was a freaking hohm... hes a damn lamer... ya right your a hacker your just a script kiddie that thinks hes cool because of his sig... dude i bet you dont even know what a ****ing proxy is or waht linux is...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Integer Emulation
    By Elysia in forum C++ Programming
    Replies: 31
    Last Post: 03-18-2008, 02:03 PM
  2. undefined reference
    By 3saul in forum Linux Programming
    Replies: 12
    Last Post: 08-23-2006, 06:28 PM
  3. C++ Operator Overloading help
    By Bartosz in forum C++ Programming
    Replies: 2
    Last Post: 08-17-2005, 01:55 PM
  4. MSVC Template Constructor/Assignment Errors
    By LuckY in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 03:57 PM
  5. Why is my program freezing?
    By ShadowMetis in forum Windows Programming
    Replies: 8
    Last Post: 08-20-2004, 04:20 PM

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