Posts by Thais Mayara • 77 points
6 posts
-
1
votes1
answer1672
viewsQ: Show current date and time (real-time clock)
I want to display on the system screen the current/current date and time, which shows the clock incrementing seconds in real time. I’ve tried using the datetime.now (shows the date and time, however…
-
-1
votes1
answer31
viewsQ: Message when net core exception occurs
I have 1 to 1 relationship between company and user but when the user has already registered 1 company and try to register another I want to show a message other than how can I do?…
-
1
votes1
answer40
viewsQ: refer to the logged in user’s id if missing
I’m doing a Net Core MVC point card project, in which I have user, company and employee registration. To register the company I need to get the id of the logged in user, I already have a function…
-
1
votes0
answers40
viewsQ: Get a company record
I am new in c#, I would like help to pick up and registered company by user X, what I need is the function Businessman Functioncontroller public async Task<IActionResult> Create() {…
-
0
votes2
answers1281
viewsQ: How to pass a vector class vector as a function parameter?
The contents of my vector are the data I wish to place in the matrix: int main() { vector<int> dados; int valores[4]; string val; ifstream arq ("matriz.txt"); if(arq.is_open()) { while(!…
-
1
votes3
answers211
viewsQ: How to take data from an object and do mathematical operation with another object in C++?
I have to calculate the distance between two points in C++ (Object Oriented) Here’s the code I got: Ponto p1(2,-3); Ponto p2(4,5); class Ponto { public: Ponto(int x1, int y1) : x(x1), y(y1) {}…
c++asked Thais Mayara 77