Initial commit with cleaned history
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// Implicitly casts chars to ints
|
||||
|
||||
#include <cs50.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
string s = get_string("String: ");
|
||||
for (int i = 0; i < strlen(s); i++)
|
||||
{
|
||||
printf("%c %i\n", s[i], s[i]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user