Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #22.5K
Ranked #3K
~9K People Reached
Favorite Tags
Member Avatar for turntomyleft

One of my first programs was coded on paper tape. Another was via punched cards. I foresaw amazing stuff, e.g., artificial intelligence, models for weather, space travel, etc., but never imagined we would come this far in only 60 years. I now have a programmer son who wants me to …

Member Avatar for vegaseat
0
689
Member Avatar for CodeWarrior14

Hello. I am was doing research on cryptography and found a simple algorithm (One time pad algorithm) that interests me. I was able to create a simple version of this that only works with capital letters. The problem however is that the encrypted contents doesn't only contain capital letters. It …

Member Avatar for vegaseat
0
369
Member Avatar for DuduGuy

write a program that takes a three digit/two digit/one digit number as an input and displays the number in words

Member Avatar for davidnelson4911
0
272
Member Avatar for Larry_6

#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> int main() { char buf[15]; char *buf1 = "CE_and_IST"; char buf2 = 'z'; int fd = open("myfile", O_RDWR); lseek(fd, 10, SEEK_SET); int n = read(fd, buf, 10); printf("%d\n", n); n = write(fd, (const void *)buf1, 10); printf("%s\n", buf); …

Member Avatar for davidnelson4911
0
319
Member Avatar for mark103

Hi guys, I'm creating the width size for the buttons when I'm getting a list of arrays so I can store the buttons size in a database. The types of arrays that I stored for the buttons and the buttons width size is a list. I have stored a list …

Member Avatar for TrustyTony
0
245
Member Avatar for kkk122

Hello, I am trying to pass file path as command line argument. If the path without spaces it works fine. with spaces it is not. Please find my code below. string scriptFilePath = "@" + Directory.GetCurrentDirectory() + "\\" + scriptFile; // exact path string scriptPath= " \"" + scriptFilePath + …

Member Avatar for tinstaafl
0
7K
Member Avatar for lewashby

I need to use the tar command to unpack a .tar.gz file and I need to do it from root but when the files unpack I want them to be owned by a specific user, not the root user. Can someone give me a hand?. I found the man pages …

Member Avatar for rubberman
0
607
Member Avatar for itsthewendigo1111

I want this to keep track of each players turn including the AI. Not the numer of rolls but for each turn till the game ends. For example your turn ends when a 1 is rolled on either dice or both. import sys from random import randint def game(): playercount …

Member Avatar for davidnelson4911
0
308