newb q

This is a discussion on newb q within the C++ Programming forums, part of the General Programming Boards category; a frine dsaid my entire code for my hex code finder program shouldnt be under main();. he never told me ...

  1. #1
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608

    newb q

    a frine dsaid my entire code for my hex code finder program shouldnt be under main();. he never told me whta he meant, then i saw how people did stuff like
    Code:
    <header>
    
    main();
    
    {
    
    some code
    
      {
    
              more code
      }
    
    maybe some more
    
     return 0;
    }
    i think he means doning stuff liek that, but wut does it do and how do i use it correctly?
    Email: Klinerr1@nc.rr.com || AIM: MisterSako || MSN: sakotheinsane@hotmail.com

    -the shroom has spoken

  2. #2
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161
    in fact i think u should ask ur friend what did he mean by this beacause i dont think that anyone here can figure it out
    Programming is a high logical enjoyable art for both programer and user !!

  3. #3
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    i think he meant use functions.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  4. #4
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608
    uuuuuuuuuuuuuuuhhhhhhhhhhhh.. functions?
    Email: Klinerr1@nc.rr.com || AIM: MisterSako || MSN: sakotheinsane@hotmail.com

    -the shroom has spoken

  5. #5
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newb Question Character Counting
    By Wilder in forum C Programming
    Replies: 13
    Last Post: 06-22-2008, 11:37 PM
  2. Dogpile the newb!
    By lindy in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 05-23-2008, 08:17 AM
  3. Total newb directx invisable geometry question
    By -pete- in forum Game Programming
    Replies: 5
    Last Post: 08-13-2006, 01:45 PM
  4. Newb C++ Programmer
    By Philandrew in forum C++ Programming
    Replies: 8
    Last Post: 10-19-2004, 08:44 PM
  5. if your not newb you can help me
    By Klinerr1 in forum C++ Programming
    Replies: 6
    Last Post: 05-05-2002, 12:09 AM

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