Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #1K
~10.0K People Reached
PC Specs
Ubuntu 9.10 is my primary OS.
Favorite Forums
Favorite Tags
Member Avatar for Kontained

I'm in the process of writing a knights tour algorithm for a homework. I believe my algorithm is a good one and don't see anything wrong with it, but for some reason my program keeps throwing a stack overflow error. I don't see any reason why it would be throwing …

Member Avatar for Kontained
0
537
Member Avatar for demigodz24

can you help me to fix my program? how can i non-repeat the numbers i don't know the code..and how can i generate a numbers for bingo?...i need to generate until i win.. [CODE]#include <iostream> #include <cstdlib> #include <ctime> using namespace std; const int ROWS = 5; const int COLUMNS …

Member Avatar for daviddoria
0
99
Member Avatar for hq1

Hi, so I wrote this program to find the GCD of two numbers, the program runs just fine its that I also need it to display how many times it loops, I cant get it to do that. Can some one please tell me what I'm doing wrong, Thanks! [CODE] …

Member Avatar for hq1
0
86
Member Avatar for stephanie7

can someone tell me how to create magic square on c++ that something like this: 816 357 492 i need to create a program to prove the numbers that i will insert is magic square or not.. :'( i really need it.. my brain blank when i want to do …

Member Avatar for stephanie7
0
84
Member Avatar for NoMoreKawasaki

help me with this problem: to develop a C++ program that generates three random numbers within the range of numbers specified by the user. The program will then determine the largest and the smallest numbers among those three numbers.:'(

Member Avatar for NoMoreKawasaki
0
213
Member Avatar for Violet_82

Hi guys, I have a problem with a program: #include <iostream> #include <string> using namespace std ; // Uses a class with "public" member variables, so directly accessible class Student { public : string name ; int reg ; } ; int main( ) { const char NL = '\n' …

Member Avatar for Violet_82
0
126
Member Avatar for burcin erek

I want to generate 10 random numbers. but all numbers will be different. so I tried to use bool first make all false. and each generate, assign that argument with bool but someting is wrong. because outcome is not correct. [CODE]#include <cstdlib> #include <iostream> #include <ctime> #include <windows.h> using namespace …

Member Avatar for burcin erek
0
177
Member Avatar for stvnddich

I have to write a C++ program that finds all the perfect numbers between 1 to 10,000 and print out the factors after the code finds them. I have written the code to find the numbers, but cant seem to wrack my brain on how to make the factors print …

Member Avatar for Kontained
0
701
Member Avatar for Kontained

Hi all, I'm currently working on a RC4 project for my computer security class. I have looked at the [URL="http://en.wikipedia.org/wiki/RC4"]wikipedia page[/URL] for RC4, and I'm trying to adapt that algorithm to my problem. I can get the correct encrypted text when I just cout the values. However, when I try …

Member Avatar for Kontained
0
3K
Member Avatar for hina hasan

plxxxxxxxxxxx help me thts ma java assg for mean median and mode i have calculated some part of it for group data can any 1 help me to find out the rest offfffffff [code]String ans; int total=0,small=0,large=0; int numEntries=0; float range=0.0f; float wid = 0; // user enters number String …

Member Avatar for KirkPatrick
-5
395
Member Avatar for msr

Hello, I would like to declare a class atribute so I wrote something like this: [CODE] class Xpto{ private static int value; }[/CODE] However, once is private, I cant access it like Xpto.value nor a.value ("a" is a Xpto instance) Declaring it protected I can access it through class and …

Member Avatar for BestJewSinceJC
0
73
Member Avatar for maverick405

I am trying to find the average for the 10 different integer input from user and then to fine numbers above the average and below the average, I dont know what is wrong the code below executes and i am able to input 10 different integer but after that the …

Member Avatar for maverick405
0
95
Member Avatar for tkud

Hey,everyone.. pls I need a very exhaustive example of a typical linked list for better understanding .Any help will be appreciated..Thanks

Member Avatar for tkud
0
102
Member Avatar for college.guy

Hey all, first off, I'm NOT looking for answers to my homework by any means. I am rather looking for guidance. I want to understand the material rather than just have the solution handed to me. Therefore, here's my problem: I have a project where I have to read info …

Member Avatar for mrnutty
0
100
Member Avatar for lotrsimp12345

1>c:\users\...\documents\visual studio 2008\projects\generic bst container\generic bst container\my_bst.h(80) : warning C4717: 'my_bst<int,int>::insert_sub' : recursive on all control paths, function will cause runtime stack overflow TEST.CPP #include <iostream> #include "my_bst.h" using namespace std; int main() { my_bst<int,int> ab; ab.insert(5,10); return 0; } MY_BST_NODE.H #ifndef MY_BST_NODE_H #define MY_BST_NODE_H #include <iostream> using namespace std; …

Member Avatar for Kontained
0
194
Member Avatar for dmitriylm

Hey guys, I'm having a bit of trouble with an assignment that has been racking my brain. I'm taking a number from the user, using a function to print its reverse order, checking to see if it is a palindrome in the main program and also removing any leading zero's …

Member Avatar for Kontained
0
164
Member Avatar for reese27

i need help with removing "s" and "tion" properly if i want to input "composition" it should leave me with "composi" but it leaves me with "compo" and if i were to enter a word that starts with an s and doesnt end with an s the word would not …

Member Avatar for VernonDozier
0
102
Member Avatar for gretty

Hello I am not sure if my function below will completely delete a linked list. I am worried it will delete every element of the list except for the head(first node)? For example; If I have this linked list below [QUOTE] L -> 1 -> 2 -> 3 -> 4 …

Member Avatar for mrnutty
0
85
Member Avatar for alizee67

Hi guys! I have an assignment for my C++ programming course. The deadline is 2009/11/1 ! (I know it's too late, but plzzzz!!) I would really appreciate it if you could help me. The problem is: Write a program which calculates and prints the area and circumference of a circle …

Member Avatar for jonsca
0
145
Member Avatar for tkud

Since i am learning c++ myself and only have access to ebooks(no credit card to buy books), i ask a lot of questions so please bear with me. Take a look at the following code:[CODE] //: C04:Cppcheck.cpp // Configures .h & .cpp files to conform to style // standard. Tests …

Member Avatar for tkud
0
125
Member Avatar for chaybird001

I am doing a homework assignment for c++. I am able to get my program to run, but I don't know how to modify it for my next assignment. Here is the question. Modify the program so that various comments are printed for each correct answer and each incorrect answer …

Member Avatar for chaybird001
0
200
Member Avatar for itzaaron

This program collects 3 numbers from the user and then simple adds the total and spits out a response. problem is the final output is blank, it just says 'The total is: '_____ but nothing there. Whats wrong?? [CODE]#include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int …

Member Avatar for itzaaron
0
168
Member Avatar for power_computer

I was given a template class code here and I have to add the code to a insert function in there, I have no real experience with templates, how would I go about doing this ? here is the template class code.cpp [code] // Implementation of the templated version of …

Member Avatar for power_computer
0
134
Member Avatar for Ace1.0.1.

Just picked up a beginners book on C++ so i'm pretty new at this. trying to write a program to test what i have learned so far, but it's not coming out as i had hoped so i'm hoping someone can help me out constructive criticism welcomed Here it is: …

Member Avatar for Ace1.0.1.
0
106
Member Avatar for soffie

Need to make a random size (x = rows, y = columns) matrix which is filled with random numbers (only 0 or 1). So, if I don't know the size of the matrix, I use dynamic array. So far I have made this far, but obviously it isn't quite correct... …

Member Avatar for soffie
0
2K
Member Avatar for new programer

Dear all, There is some errors in the code that I can’t seem to spot. The code is [CODE]# include <iostream> using namespace std; int main () { int N; // Declaring and initializing variables int n=0; int i=0; int fact=1; cout << "Please Enter an Integer" << endl; // …

Member Avatar for Grn Xtrm
0
238
Member Avatar for ragnarok511

I am trying to learn how to design a gui for a linux kernal. Is there any tutorials on how a gui works on an operating system? I am not completely sure where to start. The only other thing is that I can think of doing is getting the source …

Member Avatar for jonsca
0
140
Member Avatar for fza.h

#include <iostream.h> #include <conio.h> void main() { clrscr(); int high=0; int low=0; int number; cout<<"Enter in the number"<<endl; cin>>number; high=number; low=number; for (int count=0;count<4;count++) { cout<<"Enter in the number"<<endl; cin>>number; if(number>high) high=number; if(number<low) low=number; } cout<<"\nThe highest number is:"<<high; cout<<"\nThe lowest number is:"<<low; getch(); } i cant understand this code …

Member Avatar for kekz0r
-1
101