Beginners - November 2011 (Page 32)

by moot1
Caesars cipher
 
Can u guys explain to me how to make a caesars cipher. I've only been doing c++ for a couple days but ire ally want to do a cipher.and can you help me make It a...
[1 reply] : I know someone already posted about ceasers cipher but I want help wit... (by moot1)
by Athayr
How to record the coordinates of a mouse click as a variable?
 
Intro: I'm very new to C++ programming, but I hope I'm not a noob at it for too long, I'm really trying to learn. I'm trying to create my first program from a...
[no replies]
by moot1
help
 
umm i need help with this.. can u just explain it to me please gather a character password (string) from the user encrypt the entered string by shifting eac...
[no replies]
Endless Loop and other Issues
 
This program is supposed to get the computer to guess a number that the user inputs. There are a couple of bugs: 1 - the computer generates "random" numbers i...
[2 replies] Last: Thanks! Man, I feel like a moron! I should have caught that error in... (by nerd1981)
by lirik
Quick if statement help!
 
if ((( Year % 4 == 0) && (! ( Year % 100 == 0))) || (( Year % 4 == 0) && (! ( Year % 100 == 0))&&( Year % 400 == 0))) { cout<<"The Year "<<Y...
[2 replies] Last: Thank You! That worked. One more question, if I wanted to make it so ... (by lirik)
convoluted definitions
 
I have two classes which contain references to each other. Node refers to info and info contains pointer to Node i tself. Both have been declared friend ...
[1 reply] : Incomplete class definition class info; // Incomplete class defi... (by binarybob350)
Outputting Issue
 
Hello, I wrote a hangman game but it won't output what the user entered. At the beginning the display array is filled with underscores and as the user enters l...
[no replies]
Boolean basics
 
I cannot get the boolean <hasPremium> to display. I want it to display 9.99 if <H> is input, otherwise it should not output anything. double id...
[9 replies] Last: Everything is clear to me except <string input = "";> , does this assi... (by jesse1221)
Linked list node
 
Hi guys, I was just wondering why I kept getting the error message: Error: identifier "curr1" is undefined. my header: class llist{ private: struct Node{ ...
[6 replies] Last: You will need to look at deleting the nodes in the list when you have ... (by closed account 1vRz3TCk)
by lirik
Simple for loop question
 
for(c=-150;c<300;c+5) { //k=c+273.15; cout<<c<<" "<<endl; } For some reason, when I do this my compiler s...
[2 replies] Last: What a silly mistake :( Thank you! (by lirik)
by moot1
What next?
 
Hi guys.I just wanted to know what I should learn next.I can already do cout,cin,basic calculators" really basic",if and if else statement,I can do 2 functions ...
[5 replies] Last: What is Stl and inheritance By asking that question, I think you'r... (by dpan)
Problem with dynamic memory
 
The following program #include <iostream> #include <stdlib.h> using namespace std; class IntStack { int INITIAL_SIZE; int i; int* st_arr;...
[1 reply] : You don't initialise the stack size i . (by kbw)
Creating new node using nested class? HELP CONFUSION
 
Hi im trying to create a circular linked list in which after the first entries all subsequent entries are inputed after the first. Compiler errors are occuring ...
[5 replies] Last: cheers andy. Much appreiciated. (by Ramzi89)
Why doesn't my SFML program work?
 
I'm trying to make a program that draws d circles onto the screen randomly with random color, radius, etc. All it does is glitch up when I try it, help please! ...
[no replies]
Radix Sort Without Queues/Vectors
 
I need help implementing the next step of Radix Sort. As of now, I have every individual digit for every number. The next step would be placing each digit (0-9)...
[2 replies] Last: Thanks for the help guys!... But I just got it for negatives and posit... (by novablows)
The Game of Life, What'd I do wrong
 
#include <iostream> #include <cctype> #include <string> #include <fstream> using namespace std; const int ROWS = 20; const int COLUMNS = 40; vo...
[no replies]
putting words in alphabetical order
 
Im having a real hard time trying to figure out how to put words in alphabetical order. My assignment was to take in student names, and 5 exam scores, and then ...
[no replies]
Help With Linked List Please
 
I have to create a linked list overloading the << and >> operators and output the list, I then have to sort it, but I keep having issues creating the list. t...
[9 replies] Last: I got it to work like so: istream& operator>>(istream& inFile, bubbl... (by lVlAtlZiX)
Guidance needed in Concatenation of LinkedList program
 
I need to create a function that takes two lists as parameters and creates a new list by concatenating the first list with the second list. So far I have ...
[3 replies] Last: After the statement executes list1 and list 2 should be empty So so ... (by nomdaweb)
by Taino
Help please! Prime Numbers
 
Hi this is my program. (Prime Numbers Application) Where I take limits of two numbers an upper and lower and define the primes with that scope of numbers. f...
[1 reply] : Error 1 - error C2601: 'testValue' : local function definitions are i... (by Stewbond)
November 2011 Pages: 1... 3031323334... 65
  Archived months: [oct2011] [dec2011]

This is an archived page. To post a new message, go to the current page.