42 Exclusive — Exam 01 Piscine

Random articles from a puzzled DBA

42 Exclusive — Exam 01 Piscine

: Iterating through strings and basic comparisons or replacements. Standard Functions : Typically, only the function is allowed for output. Common Exercise Types

When the exam command launches the environment, most students panic and type vim ft_putstr.c . exam 01 piscine 42 exclusive

Write a program that takes a string and repeats each alphabetical character as many times as its alphabet index. : Iterating through strings and basic comparisons or

Print numbers 0 to 9.

Typical exercises: ft_atoi_base , ft_strjoin , ft_split , ft_strcspn , ft_range . unsigned char b)

unsigned char ft_exclusive(unsigned char a, unsigned char b)

6 thoughts on “Saving and Extracting BLOB Data – Basic Examples

  1. Jill Goodman's avatar Jill Goodman says:

    Thanks to this response – I’ve solved an outstanding problem. I’m using powershell to export the blobs, one at a time. Thanks for these examples, they were excellent.

  2. Megan Haynes's avatar Megan Haynes says:

    I am not sure what is happening but the text on this page gets bigger and bigger until you can’t see what is written. Please help

    1. Steve Hall's avatar Steve Hall says:

      I’m away from a decent connection for the next couple of days. I’ll have a look as soon as I can. WordPress changed all kinds of things a while ago and some of my older articles aren’t quite as they were.

  3. Lee's avatar Lee says:

    Thank you for the code samples, I had two tweaks that gave me a 10 fold increase:
    # Looping through records
    While ($rd.Read())
    {
    Write-Output (“Exporting: {0}” -f $rd.GetString(0));

    $fs = [System.IO.File]::OpenWrite(($Dest + $rd.GetString(0)))
    $rd.GetStream(1).CopyTo($fs)
    $fs.Close()
    }

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.