Pavel
Hi, Excuse me everyone, I have a project on C++ about creating an application for a hotel system. I finished my project, but I have small errors that I could not solve. Can I send you the code and help me solve these errors?
You can send your code (e.g using pastebin or link to github), but you'll need to describe what kind of errors you mean (e.g. if it's a logical error, then what is the desired and current behaviors, if it's compilation error, then what is the error message, etc.)
/
every time i want to build something i get a lot of errors
/
and i cant find the download for that ida sdk
Anonymous
hello, is there a way I can print out the vector without having to do a nested for loop? https://bpa.st/2IPO4
Anonymous
oh by the way, ignore my unused stack, I was gonna use that for later
Pavel
https://github.com/Hissah2/desktop-tutorial.git Here is the code, I have syntax errors
You need to prefix ofstream and other C++ library classes with std:: or add using namespace std; somewhere before usage
Pavel
For what I see just looking at it
🥀
Write a program that reads data into an array from a file “ input.dat”. The first value to be read from the file is an integer that represents the number of floating-point values that will be stored in the float array (assume that the array has a maximum of 100 elements). Compute the mean and standard deviation of the array of data, then display on the screen and write into the output file “ output.dat” the difference between each data value and the mean.
/
Buy IDA Pro
i have it
\Device\NUL
i have it
Then you have skill issue
\Device\NUL
> Having IDA Pro > Didn't know Assembly > Compile error etc
/
i know arm and x86 assembly
\Device\NUL
I Know assembly
Didn't IDA Pro included IDA sdks ?
\Device\NUL
Contact hexrays for the SDk
\Device\NUL
I don't know if i'm stupid enough to continue this conversation
\Device\NUL
There's technology called search engine
\Device\NUL
There's no Professional reverse engineer asks meta generic question like this
\Device\NUL
Well then, I'm stupid enough to continue this talks.
/
professionist
/
i dont do it for work
Chat Boss
Ортонормированная Жаба 🍪 sent a huge message, it has been re-uploaded as a file static_lib.h #pragma once #include <stdio.h> void hello_from_static_lib(); static_lib.c #includ..
𝐇𝐢𝐬𝐬𝐚𝐡 | حصہ
https://github.com/Hissah2/desktop-tutorial.git Here is the code, I have syntax errors
Hi, Excuse me, everyone, I have a project on C++ about creating an application for a hotel system. I finished my project, but I have small errors that I could not solve it. Can you have a look at the code and help me solve these errors?
Sulistyo
excuse me, I want to ask how to prevent the user from selecting the same menu in c language?
Chat Boss
Igor ☕️ sent a code, it has been re-uploaded as a file
● Igor
https://pastebin.com/4nUwiBvG
● Igor
I am trying to read keyboard inputs using X11 Xlib, but I am getting the following error: X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 33 (X_GrabKey) Serial number of failed request: 7 Current serial number in output stream: 7
● Igor
which is funny because the snippet I saw the guy says it works: https://gist.github.com/jouyouyun/669726de58df8d333666
● Igor
https://pastebin.com/4nUwiBvG
ignore this mod variable, it was just a test
Mohsen
my friend told me "You'll never be a real programmer" Also me: "Someone who uses Paper as their favorite IDE, has nothing to lose" - Me, 3 hours into Data Structures
AlanCcE
Use paper as favorite IDE? Sounds good. How do you transfer and compile the code? Pencil?
To compile the code you can just use the voices of your head
Anonymous
I have a problem with std::string_view. I pass a string to function Foo1(string_view srv_v) which accepts string_view as a parameter than make 2 string_view vectors from this passed parameter and than I pass it again to another function Foo2(string_view str_v) which is inside the Foo1 and there string_view parameter lose its sequence. Somebody give me a hint, I dont change passed parameter in others places
Anonymous
also I don't need to store a data which contains string_view, so manipulate it to find some values from a map
Sulistyo
what menu? what selecting?
Menus are like class codes in the form of letters and numbers And how do you compare it if the user has entered or retrieved the class code that is already available
Hritik
https://pastebin.com/dWSh334L
Hritik
https://pastebin.com/dWSh334L
can this code be optimized using dp?
JamesBond
I want the detail discussion on how to create update remove and view record in array of c++
JamesBond
Suggest me video lecture
JamesBond
Or handwritten notes
klimi
i'll pass
JamesBond
Ok I'll wait
klimi
Ok I'll wait
i meant, I won't send any of those; I'll pass upon that offer
JamesBond
Suggest me some other channel where i can fund them
JamesBond
Ok
Anonymous
no
😂😂
klimi
Ok
you have been given enough materials for that
JamesBond
Where
klimi
Where
you accepted the rules, you know where
klimi
Send me again
._____. https://t.me/programminginc/453966
Ricardo
I'm going to change my job from automation to embedded programming, i have an information that they will test me on C/Cpp to test my logical thinking, especially on OOP, via yours C/Cpp experience, could you guys suggest me some sample that they can ask me in the interview ? thanks
Ricardo
Sumitra
ok
Camaro
It seems to me we still get a memory leak if we use dynamic memory allocation when implementing stack data structures. Let's say the stack, which is implemented using an array, size is 5 and it is full. Lets call this array values[5]. If we want to push a new element, we create a new array in the memory with a double size of the old array (lets call it new_values[10]) and copy the values into the new array from the old array. After copying values, we deallocate the memory for the old array and point the "values" pointer to the same place in memory that the "new_values" is pointing to. If we deallocate the "values" at the end of our class implementation,in the destructor, do we get to delete the new_values and values pointers from the memory even though they are not pointing to anything anymore? It is just the pointers take some memory too. Can we delete them so the memory is fully freed or do they get deleted automatically if we delete the memory space they were pointing to?
K
I'm going to change my job from automation to embedded programming, i have an information that they will test me on C/Cpp to test my logical thinking, especially on OOP, via yours C/Cpp experience, could you guys suggest me some sample that they can ask me in the interview ? thanks
Must of the time they ask you about easy to intermediate problems. They ask about the use of data structures and simple concepts like pointers or arrays. In my case they told me to use the heap and the stack in a basic problem and in cpp the use of the std library
Mohsen
could you advise me some interview test topic ?
My interview had questions like: Why do we use classes, or they give you big array containing a lot of data and tell you to convert it to struct (or vise versa) and headers don't really have much to offer, there could be questions about their properties maybe and yeah, oh btw I highly recommend watching "Data Structures" helps a lot in problem solving and memory management (if you want to use Pointers)