|
Welcome to Code Project
This is the C++/CLI forum and is for asking questions about managed and mixed-mode C++ ONLY.
jossie wrote: looking for a XML parser that will compile without any error's.
jossie wrote: My XML looks like this:
Compiling an XML parser would have nothing to do with your XML. I suggest you need to spend a bit of time thinking about your problem and how to state it correctly so that people might be able to assist you. Post your improved question in the Visual C++ / MFC forum, it is what passes for a general C++ questions forum here on CodeProject. When you go to that forum read the first post in it titled, "how to get an answer to your question".
led mike
|
|
|
|
|
After complete the window application i hope to convert it to become web appication for remote access using web browser. Heard that .net can easily do that but how this exacly can be done? I need to rewrite it as web application or there are some wizard or ways to do that? Thank.
|
|
|
|
|
Am using bloodshed dev. C++ for a compiler/IDE
How do you prototype
InfoC *getNext()
{<br />
<br />
return next;<br />
}
I have tried
InfoC::InfoC *getNext()<br />
{<br />
<br />
return next;<br />
}
InfoC InfoC::*getNext()<br />
{<br />
<br />
return next;<br />
}
and
InfoC *InfoC::getNext()<br />
{<br />
<br />
return next;<br />
} .
In the main class I have.
InfoC *InfoC::getNext();
My memory problems are caused by chemo and it's driving me craze. My dr. told me to try Ginseng and Ginkgo to see if it helps.
|
|
|
|
|
What specific error(s) are you getting from the compiler?
Just guessing from what you've shown, it should be something like this:
class InfoC
{
private:
InfoC *next;
...
public:
InfoC *getNext();
...
};
InfoC *InfoC::getNext()
{
return next;
}
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
This is the C++/CLI forum. You should ask .NET questions here, and C++ question in the Visual C++ forum.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks Mark.
Sorry wrong forum.
I called it InfoC because it is holding my information for each number. ie the values and if it has been used.
Thats it.
|
|
|
|
|
WELL I HOPE ALL USERS ARE IN GOOD SPIRITS...FOR TOMORROW IS A FRIDAY AND RELIEF TO A WEEK.
I'M A FRIENDLY NEWBIE POWERUSER WITH AN OPEN MIND AND WEAK HEART.
I have a project for c++ and I need help for the first time. Source CODE IN C++
the word problem:
the department of motor vehicles administers a written driver's exam consisting of 20 multiple choice questions. an applicant for the drivers license exam answers these questions electronically and the answers are stored in a file named xxxxyyy.dat (where xxxx are the last four digits of the ID number, and the yyy are the first three letters of their last name) in other words, each applicants file will be uniquely named. the file containing the correct answers to questions is named ANSWERS.DAT
write a program that will read the contents of the ANSWERS.DAT file into an array (with the size of 20). program should read the applicants answer file into a second array (also 20) the logic of the program should the 'check' the applicants answer to a question and compare it to the 'correct' answer. the program should keep a tally of the number of questions correctly answerd, and the tally of incorrect answers. Finally the program should cout whether or not the applicant 'passed' or 'failed' the exam. they must answer at least 15 questions correctly to pass. program should indicate "PASS" or "FAIL" along with the number of INCORRECT and CORRECT.
following layout for program centered:
Department of Motor Vehicles
Driver's Exam
answered 99 questions correctly.
answered 99 questions incorrectly.
results for this portion of exam: XXXX
AND THATS ALL ALSO FOR AN EXAMPLE .DAT FILE '1278BOB.DAT' AND MULTIPLE CHOICE a,b,c,d
|
|
|
|
|
Unless you're going to use managed C++, you're in the wrong forum.
Aside from that, what are you asking?
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Sorry I'm new in this forum. I'll get it right. I need help with an array that compares character contents in two files and outputs results #correct \ #incorrect with total & pass \ fail grade.
|
|
|
|
|
Cross-poster who wants us to do his homework.
|
|
|
|
|
you are an ugly person who is sick and needs help. must be all the meds.
|
|
|
|
|
Wow--like I really care what you think of me. How about playing by the forum rules and you won't get flamed?
|
|
|
|
|
well I never intended for you to show any concern, I know as well as anyone else who visits your pessimistically crap web page, that 'you' feel like your acomplishing some need for others. In all factuality its people like you that gives others a reason to break an ethical code in computing. Instead of lending a helpful insight, you show true characteristics of an unhappy person. So remove my name from your list.
Sincerely,
John
|
|
|
|
|
Sorry, you just made the top of the list!
|
|
|
|
|
Dear all ,
Will it possible to add the run time created dll to install in GAC.
If yes Pl Explain me.
In My Project i used third party Active x control so i add
that reference into the project. then try to provide the strong key
Strong key is attached then i try to add it in assembly info file
then try to build but it is giving me error
Error creating assembly manifest
|
|
|
|
|
Hi,
I'm using Visual Studio 2005 C++/CLI. I have an application that I would like to create a new version of. Obviously I don't want to recreate a bunch of dialog boxes, etc., so I copied my application from c:/Visual Studio 2005 Applications/myAppVersion1/myApp to c:/Visual Studio 2005 Applications/myAppVersion2/myApp. Here is my problem... I click on c:/Visual Studio 2005 Applications/myAppVersion2/myApp.sln to bring up Visual Studio 2005. Then I clean and rebuild the solution but when I run myApp there is a line that gets the current directory System::IO::Directory::GetCurrentDirectory() and it uses the directory for myAppVersion1. If I am running the solution from myAppVersion2 directory then why does GetCurrentDirectory() return the myAppVersion1 directory?
Thanks,
Buck
|
|
|
|
|
In the project's debugger settings, do you have a working directory specified?
In general, your app should set the working directory and not assume a certain
location
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
this is for a chat application...
I have to serialize an object from server and it has to be sent to client...
from client i have to deserialize it....
I successfully searialized the object and sent to client...
but when I am deserializing from client it is showing error...
"Unable to find assembly 'chatServerIDE, Version=1.0.3035.35765, Culture=neutral, PublicKeyToken=null'.""
please help me...
|
|
|
|
|
|
ohh thank you very much...
it is an superb tutorial...
Thanks Giorgi
Regards
Simnesh
|
|
|
|
|
Glad to help you
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
is there a way to convert an 'int __gc *' to 'int *' ?
thanks
|
|
|
|
|
never mind, I found the solution
int __pin *pinp = &i;
|
|
|
|
|
Hello Dear Friends,
I've one problem.
Suppose I've a list of open files that is opened by the application using
ShellExecute API.
How can I determine that a particular file is Open Or Close in managed c++ code?
ritz1234
|
|
|
|
|
hello
i want to open ports like 21,23,80,8080,56326 or any unknown ports
how can i do this using c++ ??
plzzz help me
|
|
|
|