Need Help on Zoo program
Hi, I just got this assignment and am struggling a little bit. I am getting multiple errors. The errors are: Line Error 1 error C2660: 'calcAmph' : function does not take 2 arguments 27 Error 2 error...
View Article[RESOLVED] Debug Assertion Failed:vector subscript out of range
I am experiencing a problem : 'Debug Assertion Failed : vector subscript out of range : line:1234'. I have used call stack to locate the line in my code with the error. The following is my code:-(i...
View ArticleProblem !! PLZ HELP !
Question 1: The algorithm of the converting kilometers (km) to meters is Step 1: input Km Step 2: meters←Km x 1000 Step 3: Print meters And for converting meters into kilometer we can use the formula...
View ArticleWhat value would MessageBox returns if I push the next button
What value would MessageBox returns if I push the next button on the dialog box. Not sure if it is a dialog or messagebox though.... If dialog box, what should be returned? I think not IDOK, IDYES or...
View ArticleWinSock listen() method seems to be blocked only after a reboot
I'm not sure what's causing it. I'm developing a server/client type applications that communicate via TCP protocol using WinSock. All connections are done on a local network using IP addresses via...
View ArticleWNetAddConnection2 - Crzy
Hi guys I've been problem with WNetAddConnection2 if i don't inform nr.lpProvider= NULL; Windows API return invalid password. Why??? Look below my code Original code: Code:...
View Article[RESOLVED] WinSock listen() method seems to be blocked only after a reboot
I'm not sure what's causing it. I'm developing a server/client type applications that communicate via TCP protocol using WinSock. All connections are done on a local network using IP addresses via...
View ArticleIssue with c++ code
Hey! I am having issue with my code, the calculations and cout won't come out correct. Any help is much appreciated. The following formula gives the distance between two points, (x1, y1) and (x2, y2)...
View ArticleNeed to complete insert function
Need to create the insert function all other code is complete and cant be changed, struggling to get this to work at all, have tried creating a node however got no further, any help would be great, the...
View ArticleExtended data with ODA library
Hi! I have read about extended data for some time and I am currently trying to store the value of the attributes of a block (the block used is the standard that opens with the CAD, a block to make the...
View Article.exe window
Ok,I have written my code,I compiled it,it works fine.The exe file appears.Now,every time I want to open the exe file,I have to go to my compiler, debug the code again and I get the exe file.What I...
View Article__restrict (keyword)
I've just been sent some code which uses the __restrict keyword. I looked it up at MSDN which gives the following example: Code: // __restrict_keyword.c // compile with: /LD // In the following...
View ArticleDebug error when the terminal opens
Problem: You are given a file consisting of students names in the following form: lastName, firstName middleName. (Note that a student may not have a middle name.) Write a program that converts each...
View ArticleCTabView problem
For days I am struggling to solve a drawing issue on CTabView derived. Might be simple to solve this, but I didn't make it yet, and I decided to put this here, hoping to get some help. I even reproduce...
View ArticleEdit Duplicate Records
Hi guys, I am working with a database that contains multiple duplicate records, and my task is to find a way to edit certain fields in these records all at once. The relevant Code: short xyz;...
View Articlereceive in tcp client c++
in my client side in receive function if (buffer[i] == work[i] ) write 1 in pin until (c < 13) and when program in while,if socket receive stop to write 0 in pin,it doesn't work until while ends ,I...
View Articlehelp with homework
Hey can anyone please let me know what is wrong with this program?? pleaseeeeee In a tire store has been established tire promotion for the brand "Firestone", this promotion is as follows depending of...
View ArticleInfinite printing of hash table bug?
So the point of this code is to generate 200 random integers in the range of 0-9999. These random integers are placed into a hash table of size 551 and placed in random locations. If there are...
View ArticleAutomate Excel
Hello. I new am these forum. Please help provide if can. I want automate Excel from c++. I confidant am with c++. I have example code open Excel spreadsheet read/write cells. This work good. I find not...
View ArticlexxHash slow
Hello , i'm very new to C++ so please be tolerate if I slow to understand. I just found an open source library called 'xxHash' ( https://github.com/Cyan4973/xxHash ). As the project said it's an...
View Article