Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~4K People Reached
Member Avatar for Obsidian_496

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, …

Member Avatar for aspproject
0
323
Member Avatar for Obsidian_496

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 …

Member Avatar for JemB
0
141
Member Avatar for Obsidian_496

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 …

Member Avatar for macobex
0
127
Member Avatar for Obsidian_496

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 …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for Obsidian_496

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 …

Member Avatar for mike_2000_17
0
686
Member Avatar for Obsidian_496

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 …

Member Avatar for Narue
0
99
Member Avatar for Obsidian_496

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 …

Member Avatar for Obsidian_496
0
96
Member Avatar for Obsidian_496

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 …

Member Avatar for hag++
0
152
Member Avatar for Obsidian_496

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 …

Member Avatar for pcs365_4
0
120
Member Avatar for zaharaandfarah

hi. 2 all anyone can tell what is the wrong with this code? the result of this program is : cos(60)=-0.952413 sin(60)=-0.304811 [code]#include <iostream.h> #include <math.h> main() { float x,y,z; y=cos(60); z=sin(60); cout<<"cos(60)="<<y<<endl; cout<<"sin(60)="<<z<<endl; }[/code] cheers

Member Avatar for n.utiu
0
82
Member Avatar for Obsidian_496

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 …

Member Avatar for Fbody
0
180