changing directory in different programming languages.
in this thread, show us how to change directory in your preferred programming language
>example:
from os import *
curdir = getcwd()
comdir = (curdir + "\example folder")
chdir(comdir)
changing directory in different programming languages.
in this thread, show us how to change directory in your preferred programming language
>example:
from os import *
curdir = getcwd()
comdir = (curdir + "\example folder")
chdir(comdir)
cd %userprofile%
cd /example/folder
isn't that the same thing as
its not
This code is misleading in so many ways, it's great.
import System.Posix.Directory
main = getWorkingDirectory >>= changeWorkingDirectory . (++ "/test")
why do you want to over complicate things? it's much more simpler and easier to use
you foot gays are the worst. all you perverts will be stuffed back into the closet by the time the decade ends. this is the truth.
>you foot gays are the worst
What the frick does this thread has to do with gnome???
Your opinion is less popular than you think.
Really?
please don't step on him
/example/folder
>example/folder
That's just a directory you dumbfrick
wut shell?
nta but it looks like zsh
>nta
What's nta?
nta, but not that anon I presume
yeah, i know that. what i want to know is want "nta" means
It's not a code dammit. It's just a command that changes directory
>us
Not doing your homework
>Not doing your homework
It's a request, not a homework
system("cd blabla/");
>system("cd blabla/");
Isn't that a python code that uses cmd to change directory?
(uiop:chdir "exampledir")
What programming language is this?
Lisp
hot
>hot
....Really
yes
(chdir "/home/op/gay_porn/")
why do these two replies use brackets instead of just typing the code?
that's the code newbie-kun
>that's the code newbie-kun
Read
>use brackets
The parentheses are part of the code, it won't work otherwise
It's Lisp
#include <unistd.h>
syscall(80, "example folder");
ahhh fellow C++/C chad
based basedtan poster SOOT come here
>based basedtan poster SOOT come here
oh please frick off back to soijak website you fricking worthless basedjak-spamming subhumans
>he hates jakkie chan
are you the homosexual who reported the libbie VN thread FRICK YOU seagull
back to the sharty
>>>/qa/
OH wait, /qa/ lost lmaooooo
std::env::set_current_dir("/new/path")?;
Is this line of code is C or C++
It's Rust, you can tell by the postfix question mark (which makes the function return an error on failure).
C doesn't have ::.
import "directoryChanger"
import "directoryGetter"
if main == "___main___/"
changeDir($pwd,"/folder").then(floor()).style