Anonymous
I am a stdent
Igor🇺🇦
This one https://www.w3schools.com/cpp/default.asp will provide you with basic knowledge of C++ to get you started if you have no prior knowledge of the language or any programming background
Anonymous
GeeksForGeeks for learning and practice also HackerRank HackerEarth And Codechef for problem solving
Doriush
/get cppbookguide
CALVIN
Is it possible to manipulate the font/font size on a document using c++ file manipulation library....?
MᏫᎻᎯᎷᎷᎬᎠ
I think the C++ committee is burning right now
MᏫᎻᎯᎷᎷᎬᎠ
I think the C++ committee is burning right now
https://twitter.com/bruxisma/status/1477135466663079937?s=19
Anonymous
what?
MᏫᎻᎯᎷᎷᎬᎠ
https://twitter.com/bruxisma/status/1477135466663079937?s=19
This one as well https://twitter.com/blelbach/status/1476756754331488290?s=19
MᏫᎻᎯᎷᎷᎬᎠ
This one as well https://twitter.com/blelbach/status/1476756754331488290?s=19
https://twitter.com/Cor3ntin/status/1476838157266132992?s=19 https://twitter.com/__phantomderp/status/1476777407264829442?s=19
MᏫᎻᎯᎷᎷᎬᎠ
I never thought the standardization process is so painful
MᏫᎻᎯᎷᎷᎬᎠ
The bottom line for all those tweets Is that committee members who have some cool ideas that has a good direction for the language, their papers remained unseen for years And the accepted ones are mostly for profits reasons
Anonymous
and maybe it's the reason why the network library has not been accepted into cxx17
Anonymous
yes sir
Stanislav
with revision more > 0
Anonymous
I am using window and I think I should convert in Linux
Anonymous
That will better for me
Anonymous
good luck
Thanks dude
Anonymous
Can anyone guide which topic is more important in c++ language we should want to focus on this
Dr
That may or may not be true. The standard leaves that unspecified and compilers can or cannot optimize recursion and tail-call recursion
Yes brother but the question posted was for some huge input data and to solve em super fast and someone had posted to use recursion i was just insisting its better to iterate (since input was large)
moni
// Output is // Please enter the value of n // 12 #include <iostream> using namespace std; int main() { int second[30] = {12, 13}; int n; cout << "Please enter the value of n " << endl; cin >> n; int i; for (i = 1; i == n; i++) { cout << second[i] << endl; } return 0; } // The output is // 0 #include<iostream> using namespace std; int main(){ int second[30] = {12, 13}; cout<<second[12]<<endl; return 0; }
moni
Both programs different output why ?
Pavel
Both programs different output why ?
You need to learn how array indexing and initialization works You doning very strange things in this code
Pavel
And also for loop condition
Anonymous
CALVIN
Depending on document type
On which type should I try it..... Csv/doc/txt.......?
I use Arch
On which type should I try it..... Csv/doc/txt.......?
Txt doesn't provide ability to change font editor-independently, as I know. Other types should be explored by yourself and then you can change any properties of the text document. Document is just a text (or binary, depending on type) file and C++ can manipulate file streams and I am sure that there are many libraries for specific file types (or you can create one btw). I just can't understand what are you exactly looking for if you don't even know what format you would like to use.
I use Arch
I want to print a .csv report using file manipulation in c++.... So I'm want to beauty the report using a simple c++ code
Print to a console or to paper? If console, you can't change font for specific text fragments. If you want to print your report to paper you should use some file type that allows you to format text with different fonts and convert .csv to it. Search about text file types that allow to change text formatting in Internet, select one that fits you the best and than program something that will convert your data with necessary formatting to this file type (using some libraries if needed). You can also print file using libraries for printing but it can be a lot more complicated. Summary you can search every step of task in the Internet and this will allow you to create anything.
I use Arch
C++ isn't the best choice for this type of task btw.
Eyal
What is the best c++ sdk for work with json formats ?
Anonymous
mingw64/mingw-w64-x86_64-jansson C library for encoding, decoding and manipulating JSON data (mingw-w64)
lol
/get cbook
Anonymous
why you want to know it?
Anonymous
you want to make your own Programming language?
Eyal
What about openApi ? It’s better to work with json ?
Dhe Reckah Dator
Any good coder here should DM
Anonymous
try me?
Anonymous
coal
1. neural networks are based on top of learning, a language which must offer a consistent grammar wouldnt be of any use for an AI 2. this exists already and its called github copilot, it learns from existing github repositories and suggests code
coal
an ai as the interpreter for a programming language would cause a lot of inconsistent code and ambiguities, not to mention the inability to debug properly because everything would be implicit
coal
when you write programming languages, you need to write what is called a (context-free) grammar
coal
most languages use EBNF (Extended Backus-Naus form) to define their grammar and write the parser on top of these rules
coal
which is what allows them to debug ambiguities in the parsing process
coal
some others use ANTLR which takes your grammar and passes it through a compiler-compiler
Anonymous
Dude , for it I just wanna to say there's a will there's a way. For your request, there the group maybe no one could really help you. Implement a program language from scratch needs alot of effects that just one guy seems no possibly.
coal
i know a person that has singlehandedly done 5
coal
1 of them being Retina which is a regex based programming language
coal
developing a programming language is not complicated at all
(maybe this is relative, but what i mean is that once you know the theory and the steps you just need to implement them, what defines a good implementation is also subjective, but a "working" implementation is enough)
Anonymous
Alright, I got it, what I really want to point out is that an industry program langugae needs alot effects.
coal
wow
coal
i've been working on one for 5 months now
coal
and it hasnt even seen the light outside of the reference paper
coal
most of programming concepts are based in mathematics
coal
most of programming concepts are based in mathematics
for example, the "for" loop in programming is the equivalent of a quantifier in mathematics
coal
sometimes you can read a proposition like if it was literal code
coal
i.e, ∀n ∈ N is literally read as "for all n in natural numbers"
coal
the upside-down A is called a quantifier
coal
this is a complicated question
coal
it depends in the field
coal
if you're into game programming for example, you'd find the need to learn about trigonometry
coal
this reminds me that there's a nice free course from the MIT that is called "Mathematics for computer science"
coal
if you're interested i can give you a reference
coal
https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-042j-mathematics-for-computer-science-spring-2015/
coal
the lectures are also available in youtube, if you feel more comfortable watching it there
coal
you're welcome
Prometheus
This is just my opinion but in all honesty I don't think you need to take classes on anything too high level. You just need to be able to understand the concepts required for your specific task. It helps to have a general understanding behind the algorithms but really that's all I've needed. For reference, the highest mathmatics I've taken is about half a semester of calc and took precalc twice. Took precalc twice because the college didn't accept my high school precalc as passing because it wasn't college level.
coal
they will be useful for you in the long term
coal
mathematics allow you to do logical reasoning over numbers