Beginners - May 2012 (Page 22)

editing saved records in a text file
 
hie evry1. so i have this program that i am undertaking.....this project needs to store customer d...
[no replies]
How to restart my game?
 
I have a little guessing game from 1 - 100 and you have to guess the right number, but problem is, m...
[5 replies] Last: The problem is on line 89, the while statement is only true if ans is ... (by Ghost Slayer)
Determine prime number
 
Can someone tell me whats wrong with my code?? No matter what number i put in, the number is not pri...
[4 replies] Last: For example you may do the following way int x; bool is_prime = true... (by vlad from moscow)
by shangy
I need to find the find the highest final mark from 5
 
//trying to find the highest final mark #include <iostream> #include <string> using namespace std; ...
[4 replies] Last: I corrected the mistakes in my code but it still not doing nothing...p... (by shangy)
by craigw
Reading from file (into char arrays)
 
Hey all, I've been trying to figure out my problem for the past few days and haven't gotten any cl...
[2 replies] Last: Thanks a lot JLBorges!! Worked a charm!! (by craigw)
If statement inside of a do while loop to error check user input
 
I am having some major issues error checking user input inside a do while loop. I want to post the c...
[10 replies] Last: Ahh, I didn't look at the code closely enough. The error state would ... (by cire)
C++ Project Help
 
Hi , Im currently doin one mini project in C++ programming . My project concept as below :- Th...
[no replies]
Caesar Cipher, yes homework
 
I'll start simple how do I post in here so it shows my code lines?
[3 replies] Last: int largestLetter (int list ) { int index = 1; int maxIndex =0; i... (by blueberry)
cin and arrow keys
 
As far as I can tell cin>> can't take information from arrow keys on the keyboard, is there a way to...
[8 replies] Last: if (Keyboard::IsKeyPressed(Keyboard::KEYNAME)) Did you even look at... (by ModShop)
return independant variables in functions
 
Hi I'm trying to create a function that returns two values independent of each other, like float ...
[1 reply] : The code you've written is the same as: float inputInfo(int confNum)... (by cire)
off line content "like java did "
 
could you guys please make the content of the cplusplus web site available in one zip_download like ...
[1 reply] : You can download it as a PDF file: http://www.cplusplus.com/doc/tutor... (by Myrco)
by Ch1156
Why does my code keep doing this
 
I have a program and i am using getline(cin, scname); but it skips the first input and gos to the s...
[11 replies] Last: cin.peek() tells you what the next character in the stream cin is.... (by cire)
Having trouble with a template
 
Gosh, I'm about to sound like a total idiot. Why isn't this code working? #include <iostream> usi...
[5 replies] Last: Ahaanomegas, I'm correcting you because you're wrong. "s are used for... (by paulthepenguin)
by adijo
Fun projects in c++ (1,2)
 
I know the basics of C++ and I want to do some fun projects in c++. Could anyone suggest something f...
[20 replies] Last: Thank you for the help guys, I really appreciate it! (by adijo)
Interactions between two classes
 
Hello, I am a beginner in C++ and I am trying to implement a little game. I have a class maze ...
[7 replies] Last: +1 hanst. (by Disch)
Need help for code
 
Hey I was having some trouble on this code that requires me to write a program where a certain amoun...
[11 replies] Last: Its pretty good the program works and more importantly, I know how it ... (by randy825)
by Chryos
Trying to make a quicksort for a templated array
 
template <class DataType> void Array<DataType>::sort(int left, int right) { int i = left, j = ri...
[8 replies] Last: and.....I'm an idiot lol, I tried it before but it kept throwing error... (by Chryos)
Accessing and retrieving data from a website
 
I want my program to access Cleverbot.com, input something, take the response, and then tell me the ...
[1 reply] : http://curl.haxx.se/libcurl/ (by JLBorges)
Help understanding this code about pointers
 
Hi, I'm practicing with pointers and trying to have better understanding on how to use them but I'm...
[6 replies] Last: The way I understand it is that they will be basically pointing to the... (by fstigre)
SDL problem!
 
Hello. I have a big problem! I am making a "game" in SDL and the until i created a player object cla...
[4 replies] Last: Yes GetKetState can be inaccurate but so can your approach too. If th... (by stoffe1100)
May 2012 Pages: 1... 2021222324... 59
  Archived months: [apr2012] [jun2012]

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