No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
11 Posted Topics
Hello. I am 2 days old in asp.NET. I had the option to do one of my home assignments in asp.NET and I thought it would be fun. It's not been as scary as I thought. Still, I have troubles debugging my queries. I can catch errors with try-catch block, … | |
Hi. I hope question fits in this section. I am looking to buy a laptop. Going to use it for studies and work. Specs I'm looking for are: [LIST] [*]procesor: core 2 due up to cheapest i3 [*]RAM: 3-4 GB DDR3 [*]HDD: 320 GB or more [*]videocard: doesn't really play … | |
There are function and class templates in C++. They can operate with generic data types. There's some ifnormation on it. [URL="http://www.cplusplus.com/doc/tutorial/templates/"]http://www.cplusplus.com/doc/tutori al/templates/[/URL] This is a compile-able example from the site linked above: [CODE] #include <iostream> #include <conio.h> template <class T> T GetMax (T a, T b) { T result; result … | |
Hello. I have a problem with one part of my homework. I'm not exactly sure how to say this in English. I want the constructor to build an object and assign string values to attribute1 and attribute2. I'm only posting the relevant part of my code. My class can be … | |
Hello. I've created a program which calculates points which belong to a specific graph, such as Archimedes spiral, Logarithmic spiral, Cardioid etc. The program generates an array with coordinates. Technically coordinates are polar, but I can convert them to cartesian by using polar() function. Question is - how do i … | |
Hello. I've been trying to understand an online material about Binary search trees posted there [URL="http://www.vias.org/cppcourse/chap21_10.html"]http://www.vias.org/cppcourse/chap21_10.html[/URL] I wonder if the code given for class is wrong, or does it use ideas I'm not familiar with? I'm not able to get it to work in my Borland compiler either. It seems … | |
Hi. I'm working on a binary tree home assignment and I have a problem. Initially my program used global variables. I decided to change that and declare variables inside functions (various reasons, you probably understand why). I want the program to run without using global variables. However, I can't figure … | |
My program has to open a text file. I want it to give an error message if the file does not exist (or has a diferent name, which is the same, really). I'm using a pretty old Borland compiler, because home assingnments are checked with it. Compiler shows me this … | |
OS on my laptop: Vista. To keep it short, my laptop does not turn on normally anymore. When I turn it on, screen stays black, and lights keep turning on/off every minute or so, as if it was restarting. I thought that taking out the battery and putting it back … | |
Re: I don't see a problem there. I've been using Borland C++ for my home assignments, and your code compiled on it without errors. Then again, it is an outdated compiler, and you are probably using a different one. Maybe you want to put [B]getch()[/B] in the end, so that window … | |
Hello. I have a small problem in my home assignment. A neverending loop occurs, if user enters everything but digits, when I expect him to enter only digits. How do I allow only int type variables to be entered by user? The value user enters is the index number of … |
The End.