Hello
Can someone help me with this?
Nader Should
i have made an app ( kayboard shortcuts ) and I wanna put it in Google play ( Google developer console ) And it need credit card And 25$ . I don't have the credit card . And the money case I'm jest a beginner . Is there any way to put my app in Google play without the credit card ? Please chat with me .
toytta
Hello there. I'm doing a cache simulator in C. Could someone tell me how do I simulate the access using an associative cache with write-throught. Check if the address is in the cache (separate file) and if not, update the cache. Update hit or miss counters. Hit =on chace, MISS = not in cache
AL
https://www.youtube.com/channel/UCJYAXPO91iPFpY-62NjzdKA
AL
i think no. Sorry
Bishal
Thanks
Dima
i think no. Sorry
looks good, gotta leave it:D
Anonymous
looks good, gotta leave it:D
His tutorials use old-style Qt
Dima
His tutorials use old-style Qt
still better than the most of content posted here
Dima
Anonymous
https://www.youtube.com/channel/UCJYAXPO91iPFpY-62NjzdKA
The only advice to you is upload source codes of the tutorials and provide links in description
Dima
@K11M1 answer me in pm:<
Anonymous
:)
Emir
what is the difference two function call? scanf(“%c”, &ch); scanf(“ %c”, &ch);
Emir
what is the difference two function call? scanf(“%c”, &ch); scanf(“ %c”, &ch);
The first call is need to fflush(stdin) before i call, the other one is don’t need to fflush stdin, why is that?
Anonymous
Hello
Anonymous
I want to know how I can embed a python file into c/c++ program. I just want the file to exist in the c/c++, it can be transferred to other devices as well.
Emir
So i want to get string from file, etc the string is : blabla\n how can i that string include new line character
Emir
fscanf is just getting blabla not New line character
Emir
But i dont know which index has \n char, i have a dynamic string array(each string maks 40 byte) and im reading file to dynamic array, when i do that \n chars are gone
Anonymous
I don't think that's a problem
Emir
bla bla bla2 bla3 ->bla bla bla2 bla3
Emir
I don't think that's a problem
This is a problem, im print dynamic array to file
Anonymous
std::string str; std::getline(std::cin, str); str += '\n';
Emir
how can i do that? how include \n to string that i dont know which string has \n char
Anonymous
I know
Emir
std::string str; std::getline(std::cin, str); str += '\n';
i dont want read line by line, i want word by word, my base question is change a string in the file another string file is bla bla bla bla input bla, aaaaa output file aaaaa aaaaa aaaaa aaaaa
Emir
So i have to read word by word
Emir
i want to change original file, wait a second i will send my algorithm
Emir
https://paste.ubuntu.com/p/xccTxv8TWF/ Here is my algorithm, dizi iz an dynamic array that each elements are 40 bytes string
Emir
fscanf(fptr, "%s", &kelime); if right byte of str is a new line character i want to include that
Emir
i think that is not the important point because this is first class homework, it still wrong i know but i can each string 100 bytes, it will not problem for me. The problem is how i can (if there is) include the new line character
Emir
okay i will try this, thanks a lot
Nameful
Would the instructions be cached if I repeatedly called the function in a simple loop?
Nameful
Okay, thank you. I'm very new to taking cache into consideration when writing code, but it's very interesting.
klimi
@K11M1 answer me in pm:<
well i had you in "blocked"
Abdul Hannan
Biology Olympiad Preparation: https://dahakib.blogspot.com/2020/05/blog-post.html
klimi
Biology Olympiad Preparation: https://dahakib.blogspot.com/2020/05/blog-post.html
if i were you i would send such thing in here. but it is your choice
Anonymous
oh
Sid_Cr7
i5 4th generation vs i3 7th generation . which one is good ?
Sid_Cr7
but I need laptop for Programming so I am just asking a question man
Anonymous
but I need laptop for Programming so I am just asking a question man
It's not related to C++ in any way This group is not about choosing a laptop for programming
Anonymous
but I need laptop for Programming so I am just asking a question man
Join the offtop chat There's a person that willing to help you
Chaki
Hi, I was trying to use C++ library in my project. I used Cmake gui. First I clicked configuration, then generate and opened project in Visual Studio. Then I builded that project idk why exactly. But it takes a lot of time and haven't done yet and the file that project located is exponentially growing. So, my question is why is that happening and is there any resource that I can read in order to know what's happening. I'm new at C++
Harsh
make -j$(nproc --all)
Harsh
It'll show the object files being made
Chaki
Try compiling via terminal
I'm currently using Windows 10
Harsh
I'm currently using Windows 10
VSCode has a terminal right
Anonymous
VSCode has a terminal right
It's Visual Studio, not vscode..
Emir
Emir
What is the issue with that? I want to how linker work
Chaki
I was trying to use ensmallen : https://www.ensmallen.org/
Dima
the error goes away too fast
Emir
the error goes away too fast
ld: dynamic main executables must link with libSystem.dylib for architecture x86_64 The error is this
Anonymous
Emir
So what exactly don't you understand?
my code is just main function it doesn’t need any object file int main() { } My code is this why isnt that linking?
Dima
referenceless
Chaki
Use vcpkg to manage your dependencies
oh thank you, I was struggling with this for hours.
Dima
/blue_text_must_click
Anonymous
oh thank you, I was struggling with this for hours.
There are two popular package managers for C++ — conan and vcpkg. Your library is hosted at vcpkg.
Anonymous
/blue_text_must_click
Chaki
There are two popular package managers for C++ — conan and vcpkg. Your library is hosted at vcpkg.
From where can I learn about these packages generally like how to include libraries famous package managers similar things for software development. Because books I read currenty doesn't mention about these things
Emir
what is the crt0.o ?
Emir
okay thanks a lot, i will search that for mac os c runtime libraries
Anonymous
Roses are red, violets are blue, unexpected ; at line 32
Anonymous
when are static member functions of class templates instantiated? when the class itself is instantiated? or when the function is called?