If you're doing a course that has no course materials, I hope you didn't pay for it.
You need to buy a book, like 'teach yourself C++ in 24 hours' or something. Until you get to a point of basic understanding, you're going to have trouble finding help online. Stuff like how structs work, and iostreams, are widely documented on the web, if you're unable to use google to solve the question you asked, you're probably not at a level of being able to understand the sort of brief answers you will get on these forums.
Have you written any code at all ? What do you know how to write ? I'm trying to establish what I could tell you, and that you'd be able to follow.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
I am a newbie to C++ programming and I need to do some hex addition with VC++ and then output the result as ASCII.
Here is my problem:
hex1(5A 30 35 30 30) which is equal to decimal(387355848752), I want to add hex(100) to hex1 which is hex2(5A 30 35 31 30) equal to decimal(387355849008). This is exactly equal to adding 256 to the first decimal.
I know unsigned int data type can only support 4294967295 which is still not enough for my case, and I would like to know how to convert these hex to ASCII with C++?
I think the forum name must be changed. People see "C++/CLI" and think they can post questions on plain C++ or CLI, cause they are not aware of "C++/CLI". It's really confusing for beginners. I think the forum should be named "Managed C++", and Visual C++ forum should be named "C++ & Visual C++"
Although the discussion forum is (Managed) C++/CLI, from the drop down menu of "Message Boards" it is written "C++/CLI", and that's what is confusing people.
I have noticed that even bookstores such as Borders inconsistantly shelve C++/CLI books with C/C++ or C# or VB or even by itself (all this in the same store at times). I guess C++/CLI is just a bad name since it is causing so much caos. Anyway, Microsoft is also responsible for OLE, COM, COM+, ActiveX, etc.
I think that the naming is one its greatest disasters. I am currently looking for a new job and would prefer if there was an element of C++/CLI, but it is virtually impossible to find a job spec that contains it. If you search for Managed you get back specs to do with being a manager and if you use the CLI keyword you often get Command Line Interface and other such acronyms.
There are vast Swathes of C Sharp jobs because C# is a really simple keyword to find that does not get confused for something else.
How is the use of C++/CLI meant to grow if programmers can't find jobs where it is being used!
"messageListeners" is a gcroot template instance and does not have an operator . You need to use the conversion operator ( operator T ) to get at the CLR List object before you can get to the indexer ().
Now that software is good in that when a fax is coming, it transfer it to the correct card (tha card that is specified for the recipt)... But, when we send a fax, it handles tha job to the next available card in the Queu (not nesesarly to be the card that is specified for the sender).
If anybody knows how to enhance this software so it sends the fax correctly(using the sender card) I will appreciate his/her help.
Or if you have an alternative solution that not expensive to use. I will also appreciate that.
Then you can't possibly modify it using C++/CLI. If you want to know how to change this code, your best bet is the Visual C++ forum, although even that is a long shot. You probalby want forums dedicated to users of this particular software.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
I am using visual c++ 6.0. I wish to use the COleVariant::GetByteArrayFromVariantArray member function
but the compiler generates error message : GetByteArrayFromVariantArray is not a member function of COleVariant. Why could this happen?? Is this function available only in VC++ 2005??
Is there any way to retrieve a byte array from variant array??
Thanks. I will appreciate any help from you.
Last Visit: 31-Dec-99 19:00 Last Update: 1-Dec-23 5:49