I used this class and nodeType struct some time back, use this for a comparison for your problem and it should reveal where you're having issues.
#ifndef H_LinkedListType
#define...
Type: Posts; User: Fyodorox
I used this class and nodeType struct some time back, use this for a comparison for your problem and it should reveal where you're having issues.
#ifndef H_LinkedListType
#define...
Add a second constructor
not exact to your syntax, but...
linkedListNode()
{
headPtr = NULL;
tailPtr = NULL;
Now you've opened a can of worms....
I was using Partition Magic (7.0), this is part of my problem. I formatted the unnecessary partition, however, the boot process still prompts me for a choice...
Thank you.
How do you remove a dual boot configuration for Windows XP?
I used to run 2 Win XP Pro OS's on one HDD, got rid of one and its partition as well....However, when I boot up it still prompts for...
First of all....don't confuse me with Fyodor. No offense to him, but what a strange similarity in names...
Anyway, as a "former" Mormon who did serve a mission, I respect your ability to commit to...
13? Impressive! Keep it up.
6 foot, 185-195 pounds. I quit smoking and jumped up 30 pounds, it's now on a roller coaster ride and I'm praying for the day when my metabolism will recover! I'm usually 170-175 lbs...for those who...
Good idea (looking for feedback....), however, always keep your programs. I can't count the number of times that I'll find myself in need of something that I had coded (even halfway) before and...
As I went to visit Ground Zero in February, no, I'm not afraid. It was probably one of the more solemn experiences of my meager 29 years.
As a quick side note...I was in Newark NJ about to take...
Good job, how long did it take you to complete this?
As much as I hate to take food out of Bill Gates' mouth, ahem...You can go to your local university book store (or out of town if you have to) and find Visual Studio 6.0 for a lot less than you would...
There have been many posts concerning this issue. I would advise first using the "search" feature, then narrowing down your questions to specifics.
The only time that you can use the single quote marks ( ' ) is when you are initializing a char variable. When using the iostreams (cout), you must use the double quotes ( " ) for it to display. You...
If it is possible to get away with....simply make the array a float array. It will accept both int and float variables. Either way you're going to have to truncate the variables to be sorted....
http://www.smartdraw.com/downloads/download.asp?id=6741
Haven't downloaded it (running Linux and this one is for windows...), but I hope this helps.
You can use the "time.h" header file to utilize the system clock to generate random numbers. It's worked for me every time.
Although it's been a while since I've used Dev....there are a couple of things that I think might help your malaise...
First, try using namespace std;...
Second, append a '.h' to the end of your...
Thanks for the info/references....
There must be some people in Washington State that feel the Universe orbits around them, and if not they'll buy the gravitational fields to make it so!
In the new VS.net...people have referred to Visual C++ as a "managed" C++, I have some suspicions as to what "managed" actually refers to. However, perhaps somebody could point me towards a good...
I've always liked the O'Reilly books for the theoretical, they grasp the concept of the language well and utilize key terms in a way that are not overwhelming to beginners. As simpleton as this may...
I usually use a preprocessor macro to save keystrokes later on....
i.e.
#define CLEAR system("clear") //you can name clear anything, but it's usually good advice to with the actual system name.
I've always typed 'clear' at the command line. Hope this is the answer that you're looking for.
Hello all,
I have MS VC++ 6.0, I love programming in its environment. Will this work in a Linux environment? (Mandrake 8.2 Personal)
Thanks.
I bought one of those Sam's "Teach yourself C++ in 24 hours", though note entirely comprehensive, it goes through 24 lessons outlining the key points of C++. It covers Structs, classes and other...