My ini load code.

This is a discussion on My ini load code. within the C Programming forums, part of the General Programming Boards category; >> First: my signature is an abstract Joke at pie and not part of this discusion. You're right, it's a ...

  1. #16
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,707
    >> First: my signature is an abstract Joke at pie and not part of this discusion.

    You're right, it's a joke.

    >> I have no clue what you guys are talking about. I learned most of my stuff from youtube and google.

    YouTube? For programming? Get a book!
    Code:
    #include <cmath>
    #include <complex>
    bool flip(bool value)
    {
           return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0)*(1 << (value + 2)))
        ).real() < 0;
    }

  2. #17
    Registered User
    Join Date
    Jun 2009
    Location
    My Laptop
    Posts
    14
    Youtube has some university level stuff on it. I found some Uni class from Australia on there and thats how I learned most of my code.
    Code:
    void main(void){
       char pie[20];
       gets(pie);
       switch(pie){
          case1: (!strcmp(pie,"Apple");
          printf("All is Good");
          break;
          case2: (!strcmp(pie,"Cherry");
          printf("Mmm");
          break;
          case3: (!strcmp(pie,"3.14");
          printf("Thats math not pie");
          break;
          default:
          printf("Give Me Pie");
       }
    }

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

Similar Threads

  1. Replies: 1
    Last Post: 03-21-2006, 06:52 AM
  2. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-02-2003, 03:28 AM
  3. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  4. How to write a C code to load an image file.
    By dv007 in forum C Programming
    Replies: 4
    Last Post: 05-25-2002, 05:27 PM
  5. How-To: Load Pictures in MFC. Code Inside.
    By Xei in forum C++ Programming
    Replies: 1
    Last Post: 05-16-2002, 09:17 PM

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