Beginners - August 2014 (Page 33)

by Joe96
Repeating code
 
Hey, i made a code, and i would like to know how to repeat it without exiting, if i say M stating that i am a male, the script should answer properly, and then ...
[10 replies] Last: I might add a message to the user that they can stop the repeated ques... (by wildblue)
Singly Linked List, Loading An array
 
I wrote this class and struct to create a singly linked list. The data is stored in a binary file that I've opened and read, but I am unsure of the syntax to l...
[2 replies] Last: Thank you! (by jynx678)
by PBYGuk
positioning a servo-if else loops
 
hello. my project is such- i have a flat surface fitted with sensors and i need to move the surface with the help of the servo such that the sensor reading give...
[2 replies] Last: thanks for the reply. infact my main problem is that for each increase... (by PBYGuk)
Hangman game error
 
the program works perfects but i cant figured out how to make it remember the correct letter the user enter. #include <iostream> // main function #include <f...
[2 replies] Last: ty soo much for pointing out my super big mistakes, now my code works ... (by ranger1233shyt)
Store output of a function into a string
 
Hi I found a function online that generates a random string of characters and outputs them. How can I store them in a string rather than outputting them. Sorry ...
[8 replies] Last: That will assign a character to the string, wiping out whatever was in... (by AbstractionAnon)
by SVcpp
Challenge!!
 
Hello, I have to create a program that has user defined functions in it. The functions should be able to do the following. Uppercase the first letter of a s...
[no replies]
Input Validation
 
I'm supposed to reproduce the function isValidInt to validate the format for an integer which has been entered using the keyboard. Test your function using ...
[2 replies] Last: Can you explain what you mean by " and outside of the function it isn'... (by Undefined95)
Simple programs to start with
 
Just started playing around with c++, know a few things and just was wondering if anyone had good suggestions on simple and easy programs to make that would get...
[2 replies] Last: Thanks :) (by wahlysadventures)
FPS: What is it? How to use it?
 
Hello Guys I know it doesn't really fit in here but I'd like to ask a few questions about the FPS in Video games: 1) What is the FPS for? What is it's J...
[3 replies] Last: You perfectly helped me out :DDD Thanks a lot Cheers HalfNOob (by HalfNOoB)
Tic Tac Toe 4x4 grid help
 
Hello i am trying to create tic tac toe game as normal rules but with a 4x4 grid. i have come up with the following and cannot figure out what my problem is! pl...
[3 replies] Last: Did you read what I posted in your previous thread? http://www.cplusp... (by AbstractionAnon)
by akif13
Search the data in the linked list
 
How can I search the data? I want to get the output like this. Anyone can explain to me? Thanks in advance. ============================== Enter a data to sea...
[3 replies] Last: That code is searching all the elements of an array (assuming that the... (by wildblue)
by jld
Temporal Aliasing
 
I've created a bouncing square animation using OpenGL, but I need to use an aliasing approach to add motion blur to it. If anyone has any information or could p...
[1 reply] : It's a bit space-inefficient, but a simple solution could be to have a... (by helios)
by danzal
HELP PROJECT .. SORRY FOR SPAM ..
 
sadly only my option 3 works , when i try to wrtie they put stack around Datetime is corrupted . and if i read it gives me an error .. and puts information req...
[5 replies] Last: What format are you entering the for datetime? If you're including a ... (by AbstractionAnon)
climits USHRT_MAX not working
 
I'm trying to have the user input a value into an unsigned short , and if they input a value that's greater than the maximum value for that data type, then the...
[3 replies] Last: And you're not understanding what coder777 is telling you. Since yo... (by AbstractionAnon)
C++ Primer exercise 9.52, std::stack
 
Before I start I would like to put out there that this is not my homework, I`m learning c++ myself So I have the following exercise but have no way on doing ...
[14 replies] Last: @cire Oh thank you for the code, I`ll run it but I cannot understand s... (by closed account EwCjE3v7)
by danzal
illegal else if statement
 
Write your question here. #include <iostream> #include <stdlib.h> #include <fstream> #include <iomanip> using namespace std; int write(void); i...
[5 replies] Last: Move the prototypes at line 46 and line 78 to before the main function... (by wildblue)
by danzal
Text file error
 
\users\y410p\desktop\c++ programs\chapter 3\chapter 8\asds\project eye\appointments.cpp(1): fatal error C1083: Cannot open include file: 'iostream.h': No such f...
[3 replies] Last: In function 'int write()': 16:5: error: expected unqualified-id befor... (by wildblue)
enums
 
I still do not know about where I can use enums,please give me advice or teach me..I always think that why I have to use enums if I could declare many variables...
[14 replies] Last: sorry i just want to see the difference.... but now i gained more idea... (by xenovia12)
Convert console to windows gui application
 
Hi I am beginner in c++ , I have a console project and want to convert it to windows application , after 6-7 days trying I couldn't convert it and when I compi...
[1 reply] : It doesn't make sense to just 'convert' a console application to a GUI... (by ResidentBiscuit)
Where to Start
 
So I have learned very basic about c++ and really want to learn the language fully. I am just wondering if I should go through the whole tutorial on here or whe...
[5 replies] Last: Thank you guys! Appreciate the feedback. (by wahlysadventures)
August 2014 Pages: 1... 3132333435... 40
  Archived months: [jul2014] [sep2014]

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