I have installed a bash terminal and visual studio code. I'm using some code examples such as
#include <stdio.h> int main(void){ char characteName[7] = "George"; char str1[12] = "Hello"; int characterAge = 70; printf("there once was a man named %s\n", characteName ); printf("he was %d years old\n", characterAge); printf("He liked the name george but he didnt like being %d years old\n", characterAge); return 0; }
Whenever I try to run the code however I get
$ cd "i:\code practice\" && gcc c practice.c -o c practice && "i:\code practice\"c practice bash: cd: too many arguments
https://stackoverflow.com/questions/66608499/bash-cd-too-many-arguments March 13, 2021 at 07:22AM
没有评论:
发表评论