Thread: almost there.... please help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by MacGyver View Post
    You should be waterboarded for not properly using code tags.
    Perhaps you think this is an idle threat.

    << !! Posting Code? Read this First !! >>

    You can combine
    Code:
    int i;
    i = output;
    into "int i = output;". Where is "charge" defined/declared?

    ps. next time hold your breath
    Last edited by MK27; 06-11-2009 at 11:57 AM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  2. #2
    Registered User
    Join Date
    Jun 2009
    Posts
    7
    Code tag box wasn't there, thanks for your concern Ace.

  3. #3
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by TommyBoy View Post
    Code tag box wasn't there, thanks for your concern Ace.
    Hey Mr. Attentive! I did edit my post to include some useful info, I think. I didn't expect you to be so fast.

    Isn't the potentiometer the main ingredient of the WAH_WAH pedal?

    ps. you are suppose to add the code tag box dufus. It's not hard. Get used to it.
    Last edited by MK27; 06-11-2009 at 12:02 PM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  4. #4
    Registered User
    Join Date
    Oct 2008
    Location
    TX
    Posts
    2,059
    You might wanna return something other than 0 when max value is exceeded to differentiate a normal return from an abnormal one.

Popular pages Recent additions subscribe to a feed

Tags for this Thread