void function in c -> c++

This is a discussion on void function in c -> c++ within the C++ Programming forums, part of the General Programming Boards category; > yes but this is why I ask....it's a c snippet which I would like to port to c++ Actually, ...

  1. #16
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,824
    > yes but this is why I ask....it's a c snippet which I would like to port to c++
    Actually, no it isn't.
    It's just as invalid in C as it is in C++.
    Just because your broken compiler happens to compile it doesn't change that.
    Fix the return types and move on.
    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.

  2. #17
    Banned
    Join Date
    Jun 2005
    Posts
    594
    Quote Originally Posted by ahluka
    ROFL
    so it true, you can be a dumbass and still program. sigh

  3. #18
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Quote Originally Posted by ILoveVectors
    so it true, you can be a dumbass and still program. sigh
    Yep.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  4. #19
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    If someone has something constructive they would like to add, PM me or another moderator / administrator and they'll open the thread for you.

    Oh god not again... started an 'argument' with someone possessing the mental intelligence of a 12 year old

    I'm going to be a good boy this time mods
    Stop showing off how smart you like to think you are. If I had to guess your age, I would seriously guess 12 because of how immature you're acting. You have added nothing useful to this thread. Consider this a friendly warning to change your attitude on the board.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  2. Undefined Reference Compiling Error
    By AlakaAlaki in forum C++ Programming
    Replies: 1
    Last Post: 06-27-2008, 12:45 PM
  3. getting a headache
    By sreetvert83 in forum C++ Programming
    Replies: 41
    Last Post: 09-30-2005, 06:20 AM
  4. Replies: 5
    Last Post: 02-08-2003, 07:42 PM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 06:06 PM

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