Giri
I too would suggest string
Bro string datatype is not in C..it's a form of character array
Sher
Yeah you are right, I thought it was c++ code
Ludovic 'Archivist'
Bro string datatype is not in C..it's a form of character array
me: *hiding my tcl parser* yep, can't make string in C
Ludovic 'Archivist'
What u says ,I nothing understand😳
TCL (Toolkit Command Language) is a homoiconic programming language centered around the string type. It makes use of a very clever construction to store character strings in C in its standard implementation
Sher
I have question: How to make a Linux GUI package in Linux? I have searched google but I didn't find any. In windows it gets compiled to exe file and I can create self extracing software but I don't how to perform same in Linux. I want help in this situation
Ludovic 'Archivist'
I have question: How to make a Linux GUI package in Linux? I have searched google but I didn't find any. In windows it gets compiled to exe file and I can create self extracing software but I don't how to perform same in Linux. I want help in this situation
Linux is not an operating system but a kernel. You will need to adapt your packaging depending on the package manager and distribution you are targeting. The most common target for that are apt/dpkg (used by Debian and Ubuntu for example), dnf/rpm (used by Fedora and OpenSUSE...) and pacman
Sher
I want to create C++ software for Linux so this may be too board, But a little guide could help.
Ludovic 'Archivist'
yes yyou are right, but I don't know where to start
Take what I have written, Google things until you learn more, rince and repeat
Sher
But do I add my software in any package manager? I don't know what to look for in google
Ludovic 'Archivist'
But do I add my software in any package manager? I don't know what to look for in google
Ask the maintainers of the OS, there is a mailing list for each of those
Sher
I thought of that but it would take time and luck for them to see and read my mail. Still I will try. I was aiming for Linux Mint
Sher
True
Jesus
Hi guys I got a question If I use switch and let's say a case comes up true and AFTER that case is default and after that is another case and after that is break; When does the program stop and why?
Anonymous
/warn xlsx offtop
Anonymous
it goes through everything after the case it matched up to either a break or the end of the switch block whichever is first.
Anonymous
like if i just write make its follows one instructions for the build but if i add a keyword like make valgrind it will run the program in valgrind
Anonymous
i gonna try this ifneq "$(findstring Valgrind, $(MAKECMDGOALS))" "" Valgrind: Valgrind --leak-check=full ./ArraySorter endif
Anonymous
oh you mean how to add a make target
Anonymous
just stop wrapping that in ifneq...endif then it should work
Dima
Anonymous
ok i will try now
ifneq "$(findstring valgrind, $(MAKECMDGOALS))" "" valgrind: valgrind --leak-check=full ./ArraySorter endif ifneq "$(findstring Runit, $(MAKECMDGOALS))" "" Runit: ./ArraySorter endif @jeslow
Anonymous
so if i run make valgrind it runs the program through valgrind after compiling and make alone just compiles and make runit compiles and runs it normally
Anonymous
can you pass a function as a parameter in a do while loop
Anonymous
just valgrind: valgrind --leak-check=full ./ArraySorter runit: ./ArraySorter there's no need for the if blocks around them
Dima
Dima
/warn Ad
Aminu Saminu Khamees
This is tech related article not spamming or ad
Dima
it’s not related here
Aminu Saminu Khamees
it’s not related here
Admin please remove warn
Aminu Saminu Khamees
Ok
Dima
No, read the rulessss
Dima
Aminu Saminu Khamees
/rules
Aminu Saminu Khamees
Read thanks please remove the warn
Dima
no
Dima
this is so ungraceful posting such stuff or whatever without reading the local rules
rex
dont use namespace std; in turbo c compiler
LastPahlawan
I am new to c but how to display 2 string in 1 variable?in java we can do like string a= "hello" + "world"; but in c how?
MengShu
how about strcat? https://en.cppreference.com/w/c/string/byte/strcat
LastPahlawan
how about strcat? https://en.cppreference.com/w/c/string/byte/strcat
if can ,i dont want to use it. if there is no other choice surely i will use it
LastPahlawan
how about strcat? https://en.cppreference.com/w/c/string/byte/strcat
before this i have problem using strcat for string. i need to use snprintf() .
Anonymous
You can implement strcat for yourself
Anonymous
Another choice
Anonymous
NEVER use it
I fixed the issue buddy
Pete
Do you guys have any recommendations for sites to use to plot down a bunch of points? I mainly wanna make a graph of time complexity
Mathur
MengShu
1.You have to modify no1 and no2 of scanf_s to &no1 and &no2. 2.int calculate() is a function declaration instead of the way to call a function.
Ilya
I am not sure, as I said before I am trying out for the first time, before it was paid and closed source, recently it became free and open source
I tried to index a rel. small and simple C++ project using BOOST, it failed to "digest" the boost itself, do you have some tips to make boost "parsable" ?
Francisco
I tried to index a rel. small and simple C++ project using BOOST, it failed to "digest" the boost itself, do you have some tips to make boost "parsable" ?
What? Using boost is quite easy. Building it is another story, but I can give you a script to build the latest version in Linux
Subodh
Can anyone have a project in c topic is class management system
MengShu
I would recommend to download SourceTrail binary directly because build llvm will take a lot of time... If you want to enable C/C++ for SourceTrail, llvm is needed. If you use Linux, please ignore me@@
MengShu
I've installed it
I can try it when I go to my office tommorow...
Mathur
https://paste.ubuntu.com/p/TBfYBcpWPD/
Mathur
Hello anyone could help on my coding
Mathur
Mathur
Joesph
Do your homework yourself
Mathur
Im new to programming ,so please dont go hard on me😅
Joesph
The future you see ny copying is trust me Its worse