Anonymous
hi colleagues, I need visual basic program. Any one with it please help me
Manuele
Anonymous
compiler
Dima
perhaps visual studio?
Anonymous
yees you got
Anonymous
visual studio
Manuele
visual studio
it's free. you can download it from their website
Anonymous
okay thanks. am learning c++ and need to do practicals
Anonymous
thamks#Manuele lUCCHI
Dima
people these days dont know where to get vs
Dima
.....
Hello friends i got pinned message,
I am a civil engineer so not good in C/C++ but i have some ideas to develop some civil engineering related apps and software so need some help in C and python from basics to advanced.
So plz tell me about books to start with
Thank you
Anonymous
Anonymous
.....
Thank you
Onur
what is the use of '::' without any prefix?
Anonymous
Onur
global variable?
Oh I never used global variables so I didn't know. Thank you
Anonymous
olli
what is the use of '::' without any prefix?
When prepending the double colon :: you make sure resolution occurs from the global namespace instead of your current namespace
class C {}; // #1
namespace App {
class C {}; // #2
void bar() {
C::func(); // results to call in #2
::C::func(); // results to call in #1
}
}
TushaR
Hi all..
Anonymous
Salom
Anonymous
☺
TushaR
I want to find all the words that begin with 'i' in a txt file and print them in reverse order... Like ...
Contents of file:
i am an indian
So the output is :
indian
i
.........
I just cant get the basic logic....
TushaR
However i wrote something...
https://pastebin.com/EwryKcr8
TushaR
Little help?
Igor🇺🇦
Little help?
Why can't you store all words starting with I in vector and then print that in reverse?
TushaR
Vector..?
Igor🇺🇦
Yes std::vector.
Sharmarke
Thankz👍👍
TushaR
2d array?
Sharmarke
Sorry robot admin😂😂😂
TushaR
I dont know about vector..
Igor🇺🇦
http://www.cplusplus.com/reference/vector/vector/
TushaR
Im still studying c/c++ at school.. i dont know about this at all..
Igor🇺🇦
That's the most basic and default dynamically allocated container in c++
Anonymous
TushaR
And why is this 'std::' thing used in codes... We are never made to use it there...
Anonymous
idk why they have shitloads of restrictions
Anonymous
Anonymous
right?
TushaR
Yes
TushaR
They dont use any other compiler
Anonymous
thats what i hate about school
Anonymous
i was denied to use database and vectors etc for my project
Dima
apple developer conference is now live if someones curious
TushaR
Do these things work in TC
Anonymous
Anonymous
after seeing that they are using turbo c++ lol
TushaR
One more thing .. will the turbo c codes .. like one i wrote above .. will they work in others like codeblocks?
Anonymous
with a few tweaks yes
TushaR
Okay...
TushaR
Ty for info...
Anonymous
Anonymous
Send me something
Anonymous
Please
Anonymous
Igor🇺🇦
C++98 ig
There were vectors c++98.
Anonymous
Anonymous
but school won't accept it
Anonymous
i've faced it
Anonymous
lol
Igor🇺🇦
It's only there 20 years. I understand that it's too new for schools 😉
Anonymous
rekt
Igor🇺🇦
Anyway, same logic applies to arrays. Store all values in array, increasing it as necessary and then print in reverse
Anonymous
yeah but size
Anonymous
he can use stack though
Anonymous
thats there in school syllabus
Anonymous
but towards the end
Onur
TushaR
They wont allow me to use that too..
TushaR
Im talking about stack..
Anonymous
yeah ik
Igor🇺🇦
So what are you allowed to use?