Beginners - May 2014 (Page 47)

Word Challenge game, need help.
 
I am working on a Word Challenge program and I am having some trouble understanding and getting arrays to work correctly. I do not expect a full range answer, ...
[1 reply] : Well, I have figured out the part I was having so much trouble with. I... (by Inuikoneo)
Use of Templates in Binary Search
 
Hey guys, Once again, I need help from you guys regarding an assignment that I have. The assignment is about using templates in C++ for binary search of specifi...
[8 replies] Last: template<class T> void search(const T a , int first , int last, T ke... (by JLBorges)
Is this bad?
 
Designing a game where a player can navigate a map, is this "bad form" and getting too complex? #include <iostream> #include "board.h" #include "player....
[2 replies] Last: :) (by closed account 3R5fjE8b)
Problem with case calling a function
 
i'm having an error with a switch error: jump to case label error: crosses initialization of 'medico datos' #include <iostream> using namespace std; class...
[1 reply] : try braces case 1: { medico datos; // i can't cal... (by Yanson)
by lafo
Database/SQL Programm for C++?
 
Hey guys, so I am programming at the moment with VS13 and want to use a database. So the question is whether there is any recommended DB Programm for VS13? Th...
[no replies]
cant get GetAsyncKeyState to work properly
 
Help deadline is tomorrow!! this is the only thing stopping my project from working. It compiles fine but just doesn't work as it should. I'm creating a basic ...
[no replies]
the c++ programming language book
 
hi, i just came across an old book in my closet that i was wondering if it is still okay to relearn from? i know it is awesome and i read it years ago but since...
[3 replies] Last: yeah the 4th would be nice but it wasnt in my closet when i looked.... (by rikd1977)
15 Square Puzzle
 
I have a great deal of trouble trying to figure out how to use bool move according to this assignment: http://www.cs.hunter.cuny.edu/~saad/courses/c++/hw/hw8.pd...
[7 replies] Last: I have tried that and it still crashes or it never performs the task. ... (by Junishi)
Returning values to main
 
Help! I have to write a program that reads and array and computes the average. My problem is that it's not returning the correct value. It always comes back wit...
[7 replies] Last: You're welcome - glad it's working for you now :) (by wildblue)
Voting machine
 
I made a voting machine, but it doesn't work right. Can you help me find whats wrong? Thanks. Here is how it works: You type in 10 letters in a row that are ...
[3 replies] Last: Thank you, there is no error, it doesn't count right. Now it does! Th... (by bobthezealot)
not fully filling a 2 dimensional array
 
Out of curiosity. Is there a way to fill a 5x5 array with only 5 characters? #include <iostream> #include <ctime> using namespace std; void fill(char ar , ...
[1 reply] : You could make the other 20 positions null, or 0... (by rssair)
Compiler error on line 12?
 
How can I fix my compiler error on line 12 of me code? It's not working for some reason. May I have feedback please? This is the problem: Your country is ...
[1 reply] : You're getting a compiler error because you have not defined message ... (by rssair)
Array Elements
 
How do you see what is the first, second, third... element of an int array? After, how do you delete an element of an array. int a ={3,567,23,64,13,235,65...
[7 replies] Last: thanks (by bobthezealot)
problem with Delete nodes From Doubly linked List
 
i Had wrote a program that deletes a node from a Doubly liked list. it dose not work. please help #include<iostream> using namespace std; struct node...
[1 reply] : There are some optimisations you should consider: // If you perform a... (by JockX)
Open a random file
 
I am trying to write a program to choose a file at random from a number of files (named "recipe1.txt", "recipe2.txt", ect) and display it's contents. #inc...
[2 replies] Last: Something like this.. #include <iostream> #include <fstream> usin... (by Codermik)
Passing an array by reference
 
I have a program that is supposed to calculate a person's weight on a new planet and the time it takes to get to the planet. The problem is that I want to try ...
[9 replies] Last: Glad it worked out! (by xismn)
by Steal0
Game objects accessing map tiles.
 
I have 2 classes. 1st class is World class which contains array of map tiles (Uint8 WorldMap ) and some functions(Draw, getTile(x,y)...). Second class is Entit...
[3 replies] Last: Thank you both for your suggestions! I'm sorry i didn't give enough i... (by Steal0)
by vRltwE
How to compute CRC of "05 08" to get "9e 17"?
 
Using the function below to compute the crc of unsigned char tmp = {0x05, 0x08}, I got "b6 bb". But someone told me the correct result is "9e 17". Who is right...
[1 reply] : There are many online CRC calculators such as this one: http://www.l... (by Codermik)
can anyone give me some advice or feedback on this function'
 
Hi everyone, so this function is meant to get the users word and reverse it, that way it would compare itself to see if is a palindrome or not. Im having t...
[2 replies] Last: thank you cire, (by Droopy7)
Need assistance with my display of my output?
 
How can I get my output to display the message on single lines rather than in a huge chunk? I want to display the encrypted message one by on, but I am getting ...
[1 reply] : Also, can someone please tell me why this isn't working? I want to dis... (by Kernmaster34)
May 2014 Pages: 1... 4546474849... 55
  Archived months: [apr2014] [jun2014]

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