Thank you for your kind words, Indeed, I seem to have found a kindred spirit :)
I don't know about my code quality, but I do like taking my time to ponder over a complicated problem. It is a...
Type: Posts; User: skyliner
Thank you for your kind words, Indeed, I seem to have found a kindred spirit :)
I don't know about my code quality, but I do like taking my time to ponder over a complicated problem. It is a...
I had a test this Tuesday; I failed. Three problems, all array related. A 45 minute time limit.
The first one asked in some fancy wording to basically return the range of consecutive indexes of...
I agree wholeheartedly.
Pertaining to the use of std::string, do you agree with Elysia? Why would its use be preferable over this approach?
void displayMessage ( unsigned messageCode )
{ ...
0.o. That's simple and brilliant, or: "simply brilliant" haha, Thanks. I went ahead with it.
Thank you, the operator overload is a great idea. I just wanted to simplify things for my class users by avoiding calling a method on the object.It looks neater that way.
I want to create an unsigned arithmetic type that can hold a maximum size of 360. Without having to create a method.
It should be in such a manner that:
typedef uint8_t radius;
radius...
Yep, you certainly do. No, I'm serious.
Ubuntu still recommends the 32bit version regardless of what your browser headers report.
If I'm not to late I'd recommend you to get Kubuntu 12.10 instead. You get all the benefits of the *buntu...
Never mind. I ended up separating one of the drives from the array, restoring the OS image into the drive and booting into windows to install the raid controller drivers. After which I made a new OS...
I recently bought a raid controller card and set up a 3 disk raid5 raid.
Before that, I made a clone image of my windows partition. Once the raid was set up I copied the image to my new raid drive. ...
As grumpy said, this question is language agnostic. As it is referring to OS redirection of the standard input/output.
The solution is simple; in windows, you can run the program like this:
...
I'm translating a small python script into C++, for a fellow internaut.
Though the script is less than 100 lines long, I haven't finished it. In fact I'm stuck a the very beginning.
This snippet...
Thank you very much guys. I greatly appreciate all your help and feedback.
Well, my new IDE has many options under the "Compiler and Debugger" setting. I enabled -Wall, -Wextra and -pedantic. I also found optimization options. It's astonishing how many features I can...
Thank you all for your replies.
That is a VERY VERY useful compiler you have. I got none of such warnings,
The professor specifically asked for the ┴ symbol to be used. According to the...
This is the final assignment for my introductory c++ class. I decided to continue learning on my own, so I'm gonna start by rewritting my project. I would greatly appreciate any feedback/constructive...
Ryan500;
Think of it this way:
A boolean variable, or bool for short, is nothing more than a special integer variable that can only hold two values: 1 or 0.
It's not a matter of true or false,...
Dully noted ;)
Though I really was kinda targeting a specific audience, I thought maybe one of you noble and gracious folks, that have diligently answered my questions would have a hint or two....
Thank you all very much for your answers.
Please, allow me to clarify that I have absolutely no problems with performance. At this point my limited skills allow me to write little more than simple...
I apologize for resurrecting this thread, but I figured it'd be better writting here than making a new one.
I have a few more questions:
1- Sould non void functions always return a value ?...
Thank you very much.
I meant definition. fixed it.
Edited OP to reflect my question with more clarity.
I recently finished an introductory course to c++ at my college. The course covered the basics, it started with variables, data types, control structures, functions and ended with a brief glimpse...