.
Hmm cool 👍
Артём
Hello everyone, could you help me please. I'm trying to execute an existing program rec and pass array of strings arr as an argument. All works as needed, but not always: when I enter only '\n', the execv returns -1 and error 14 Bad address. int main(int argc, char ** argv) { vector<string> vMessage; char ch; string tmps; while (ch != '\n') { ch = getchar(); if (((ch == ' ') || (ch == '\n')) && (tmps != "")) { vMessage.push_back(tmps); tmps = ""; } else tmps += ch; } char * arr[] = {"QWE11", "Asd22"}; cerr << endl << execv("rec", arr) << endl; perror(""); } I have no idea, how variables ch, vMessage, tmps are related to the function execv with array arr I initialized in my code. Why does thic error occur only in that case?
Anonymous
Justin, you are only a "C programmer"?
Ive tried other languages but C has shown to be the best so far
Fox
Or the way \n needs to be written
Fox
Some languages you got to add escape characters
Артём
Anonymous
Hello All ☺️
Anonymous
Hello All ☺️
hellow.. 🙂
Anonymous
I am sorry if I am going untopic
Anonymous
I am going to start a huge project. Related to macros/ bots in some games. I need a good programmer, are you able to create bot software for a game like : Clash of Kings? Send me a message please!
Anonymous
Ok
Samrat
Ok
That's a bot
Anonymous
I know😅
Anonymous
Whatever it's also a member
Anonymous
Anyone have AutoCAD 2016 crack
Anonymous
U from Uzbekistan?
Anonymous
Yes I am
Anonymous
How did u reveal it?
Anonymous
What?
Anonymous
How did you get known about it?
Dima
Lol
Rounak
Cam anyone say some projects on c and c++
Dima
C++: Doom 3 bfg / Unreal engine at github C: quake 3 at github
klimi
Hello
Anonymous
Hello
nibu
Anybody know about icu.h library
Anonymous
Can anyone tell me what all we can build with c++?
klimi
everything?
Anonymous
Can u suggest with projects I can start with
klimi
hello world
Anonymous
😂
Anonymous
Not that project
klimi
hm
Anonymous
Big projects
klimi
have you done it?
klimi
big project?
klimi
operating system
Anonymous
No
Anonymous
Still learning
Anonymous
Doing with functions
Anonymous
hello world
😃
klimi
mhm
klimi
so what project?
klimi
big project?
klimi
k
Onur
after that linked lists maybe
Isc
İmplement vector
concurrent, with move semantics etc
Anonymous
Help
Dima
> making a photo of display in 2018
Dima
you need to link the library
Dima
I forgot the name of that library
Dima
wait
Dima
Ws2_32
Anonymous
ok i'm trying thanks
Anonymous
I don't know how to do it on Visual
Mat
If there's something wrong, just /report it
Anonymous
Anyone has a github?
klimi
i think everybody who takes programing seriously does...
klimi
or some other platform
Anonymous
Im still new so I still dont aha only first year Computer science
Anonymous
Anyone has a github?
Who doesn't have the best way to store and control your code?
Anonymous
I don't like it, i Just keep my code in my hard disk
klimi
Im still new so I still dont aha only first year Computer science
i havent started xD so what do you need with github? ^^
Roxifλsz 🇱🇹
Who doesn't have the best way to store and control your code?
Eh, GitHub is closed source and now owned by Microsoft
Kalpesh
Help me to solve this doubt
Kalpesh
Help me to solve this doubt
In the above question i declared p as a pointer to constant char.Then value of *p can't be changed as per theory.If i changed *p with explicit type casting then compiler is not generating any error why??
Roxifλsz 🇱🇹
I don't like it, i Just keep my code in my hard disk
I'd recommend to have some sort of off-site backups of your code, either with free git hosts or trough some other way
Roxifλsz 🇱🇹
What's the bother?
Well, it's closed source, which is a con in my mind and I wouldn't trust Microsoft with anything
Anonymous
I don't have serious projects
Of course I wouldn't store hello world's in my github