MᏫᎻᎯᎷᎷᎬᎠ
Hi, how do I call a function that follows after the current one?
What do you mean by "follows after the current one"?
Nils
Invoking it? 🤣
does not work, because it is after the current one
Nils
Wait I send the source code and show you my problem
Григорий
Nils
Because it depends on the calling function
Nils
https://hastebin.com/ozoyoxuyal.cpp Line 199
Григорий
No, you can. I mean only declaration, without describing.
Nils
execline calls cmd_eval, cmd_eval calls execline…
Григорий
int a(int n); int b(){ return a(5); } int a(int n){ return n*n: } Will work.
Nils
ahhh yep
Nils
thx
Anonymous
Anonymous
Its looms amazing😊👍
Nils
:D it is an interpreter
Anonymous
I still print only hello world program😂
Nils
Everone has to learn first 😉
Anonymous
https://hastebin.com/ozoyoxuyal.cpp Line 199
line 43: the start != s.size() test is unnecessary. the bug was not doing start = finish + 1;
Anonymous
Everone has to learn first 😉
Will you help from where you learned ,is there online platform for learning please help!!
Anonymous
Everone has to learn first 😉
btw in almost a bazillion other places you are using std::vector<std::string> parameters which can easily be replaced by const std::vector<std::string>&
Nils
Nils
okay.
Nils
oh.
Nils
@tuxifan
solved
Anonymous
Quinn R
I learned it by using it. 😉 I did not follow any guides.
As i am just a beginner i am having some curiosity so how much time did it took to reach where you are now?
Nils
less than that I think
Quinn R
🤔
Quinn R
Leave it. I think i did a mistake by asking
Quinn R
🤔
Sasuke
is it possible to build a single CLI based software which can work on all the major operating systems like linux, windows, mac?
Anonymous
You are not alone i am also biginner
klimi
build or code?
Nils
as long as you mean code
klimi
build no, code yes
Sasuke
build or code?
single code base or minimal native code variation. build can be differ I dont care about that
klimi
yes
Sasuke
sure
how?
Nils
how?
use libs available for multiple plattforms
Sasuke
use libs available for multiple plattforms
if such lib doesn't exist?
Sasuke
it does
a single lib can do all things i want? or do i need multiple for each functionality?
Nils
a single lib can do all things i want? or do i need multiple for each functionality?
multiple for sure, but many are completely platform independent anyways
Sasuke
multiple for sure, but many are completely platform independent anyways
and if some are dependent I have to write native code for that?
Mar!o
But really always make sure they are cross platform and well written. Iv´e see libraries with very ugly and platform dependend code (inline assembly) marked as cross platform. They often compiled with GCC or Clang but not with MSVC
klimi
it depends on the lib really
Mar!o
Is also really sucks that MSVC´s inline assembler is so different than GCC´s!
Sasuke
oh alright i done a little googling and found a thing called CMake it can help?]
Mar!o
Yeah of course! It can generate project and make/build files!
Mar!o
It´s like you have one script with your files. And it generates projects for many many IDE´s like Visual Studio, Code Blocks etc... so you can easly have you projects anywhere and you are not IDE dependent
Mar!o
That´s also why I use QtCreator on Linux. It just uses CMake as build system, which makes it so easy to port the projects to other IDE´s
Mar!o
am newbie.... I am only one working on the project so I guess i dont need it.
I depends - the syntax is really easy - and if you want to make your project open source like on Github I would reommend to use it - then the users can build it with EZ!
Mar!o
Look - it is really easy!
Anonymous
Hello, friends. 🙏🙂 I am a beginner in C programing. I have made a program which takes a positive integer as input from keyboard and displays every number with status of being a prime number or not. It is working fine but misbehaving at some cases. 1) It is not giving status of 1 and 3 , it states giving status from 3 onwards. 2) as i give input more than 296 it starts skipping starting numbers. Like for 296 it will not show the prime status of 3 , for 297 it will not show prime status of 3 & 4 , same behaviour continuous as the upper limit increases.
Mar!o
You define the langauge, the version, the project name and then if you want a lib or an exe and your file - thats it!
Sasuke
Mar!o
i just do * xD
I cannot :D I want to exclude some files
klimi
new folder xD
Mar!o
manjaro or arch?
Manjaro but Manjaro is based on Arch
Anonymous
I use ubuntu
Mar!o
new folder xD
Yeah maybe that would be an idea 😆but I have a python script which generates these for me cuz I´m too lazy
Anonymous
Is qt creator available there
Sasuke
Manjaro but Manjaro is based on Arch
yes it is but still a different distro from arch linux